dsh-argp
DeepSeek Harness 守卫式上下文压缩——LLM 提议、确定性守卫裁决:逐原子缩放(verbatim 守卫下 extract/summary/false)+ 引用图延迟剪枝(0-LLM)+ append-only 日志逐字节精确召回。
Guarded context compaction for DeepSeek Harness (dsh): the LLM proposes, deterministic guards dispose — eager per-atom shrink (extract/summary/false under verbatim guards) + lazy reference-graph eviction (0-LLM) + byte-exact recall from an append-only log.
怎么安装
dsh plugin add dsh-argp 简介
English | 中文 dsh-argp — 基于逻辑链的原子引用图剪枝式上下文压缩引擎 dsh-argp(ARGP = **A**tomic **R**eference **G**raph **P**runing,原子引用图剪枝)是 DeepSeek Harness(dsh)的第三方 CompactionEngine:**基于逻辑链(引用依赖拓扑)的原子级选择性遗忘**——历史中"被依赖"的内容按引用图保留,"孤立"内容按反向拓扑序摘除,压缩阶段零 LLM 调用,不把历史重写为摘要。 **压缩阶段 0 次 LLM 调用**——纯图规则,确定性、可收敛 **基于逻辑链决策**——剪枝依据是引用依赖拓扑("谁被依赖"),不是新旧位置或模型偏好 **选择性遗忘而非重写**——被剪内容留在 append-only 会话日志,可通过内置 recall_pruned / recall 工具取回 **引擎无关的接缝**——通过标准 CompactionEngine 接口挂载,作为 compaction-basic 的替代后端 **压缩率精确兑现**——实测 200K 上下文 → 160K 触发 → 32K 保留,输出大小可控 状态:研究/验证阶段。全链路(挂载 → 剪枝 → recall,事务不变式)已在 dsh 0.1.0-rc.6 + DeepSeek v4-flash 上完成 50 轮…
推荐参考
信息
- 协议
- MIT
- 语言
- TypeScript
- GitHub 星标
- 9
- 月下载
- 372
- 最近更新
- 2026-09-23
- 创建于
- 2026-08-17
基础安全检查
- 检查结果
- 无
- 收录来源
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- 主题标签
- agent, compaction, context-compression, cordis, deepseek-harness, dsh, dsh-plugin, llm
同类推荐
DSH-EasyRewrite
Renzic-Stone/DSH-EasyRewrite
在 dsh web 中内联编辑与撤回自己的消息——惰性、无痕,带版本翻页器与会话级草稿持久化。
dsh-web
zhu1090093659/dsh-web-ui/tree/main/packages/dsh-chat-recovery
对话恢复插件:编辑最近一轮已结束的用户消息、显式重试失败轮次;两条路径都走 session fork 分支,原会话不被改动。
dsh-nested-followups
sluminositys/dsh-nested-followups
从任意层级的已完成回答持续创建隔离分支,主会话始终不受影响。
dsh-session-sync
PerryLink/dsh-session-sync
DeepSeek Harness 的跨设备会话同步:经 git 在多机之间同步会话与设置。