billion-context-dsh
模型驱动的上下文压缩(Active Context Pruning):由模型决定何时压缩、压缩什么。
Model-driven context compression (Active Context Pruning) for DeepSeek Harness: the model decides when and what to compress.
怎么安装
dsh plugin add billion-context-dsh 简介
billion-context-dsh 中文 | English **⚠️ 测试版声明——请勿用于生产环境** 本项目(**v0.2.2**)仍处于开发中的测试版。DeepSeek Harness 本身也处于**公开测试版**阶段。**请勿将两者用于工程化 / 生产环境**——预期会有破坏性变更与粗糙之处。 由模型决定<em>何时</em>压缩、<em>压缩什么</em>——而不是一个硬性上限。 --- --- 为什么? 当对话变长,模型会耗尽上下文。多数工具直接硬截断——悄悄丢弃早期消息。**billion-context-dsh** 给模型一个 compress 工具:由 LLM 决定**何时**、**压缩什么**,写成高保真摘要,保留关键细节(文件路径、决策、错误信息)的同时回收上下文空间。 与 DSH 内置的自动压缩(用自动生成的摘要替换一段范围)不同,billion-context-dsh: **模型驱动** —— 摘要由模型自己书写,没有第二次 LLM 摘要调用(ACP 的成本优势) **只建议、不强令** —— 自动策略只 *nudge*(提醒),是否压缩、何时压缩由模型决定 **持久且可恢复** —— 压缩范围成为 checkpoint 节点,原文保留在 append-only 会话日志中;decompress 可恢复,search_context 可在块内查找 *…
推荐参考
信息
- 协议
- MIT
- 语言
- TypeScript
- GitHub 星标
- 107
- 月下载
- 5.7K
- 最近更新
- 2026-09-24
- 创建于
- 2026-08-13
基础安全检查
- 检查结果
- 无
- 收录来源
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin, curated:0xsline/awesome-deepseek-harness
- 主题标签
- acp, billion-context, context-management, dsh-plugin
同类推荐
hindsight
vectorize-io/hindsight/tree/main/hindsight-integrations/coding-agents
Hindsight:会学习的 Agent 长期记忆系统,自动召回/保存、知识页、深度反思与按仓库隔离的记忆银行。
firecrawl-mcp-server
firecrawl/firecrawl-mcp-server
🔥 官方Firecrawl MCP服务器 - 为Cursor、Claude及任何其他LLM客户端添加强大的网页抓取和搜索功能。
dsh-mnemon
omdsh-dev/dsh-mnemon
由 Mnemon 驱动的 DeepSeek Harness(DSH)跨 Agent、本地优先的持久记忆插件。它可在支持 Mnemon 的 Agent 之间共享长期记忆,并提供运行时记忆、可检索项目档案、语义召回、知识图谱和 Sidebar UI。
get-shit-done
gsd-build/get-shit-done
由 TÂCHES 开发的轻量且强大的元提示、上下文工程和规格驱动开发系统,适用于 Claude Code。