dsh-argp
Deterministic context compaction: prunes conversation atoms in reference-graph topological order with no LLM calls during compaction, and keeps pruned atoms recallable by marker.
确定性上下文压缩:按引用图拓扑序摘除对话原子,压缩阶段不调用 LLM;被摘除的原子保留 marker,可按需回拉。
How to install
dsh plugin add github:yoza10635/dsh-argp About
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 轮…
Recommendation signals
Meta
- License
- MIT
- Language
- TypeScript
- GitHub stars
- 1
- mo. downloads
- –
- Last push
- 2026-08-18
- Created
- 2026-08-17
Links
Basic safety check
- Findings
- curated 收录但无 npm 包/安装命令
- Sources
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- Topics
- agent, compaction, context-compression, cordis, deepseek-harness, dsh, dsh-plugin, llm
Related plugins
dsh-turn-rewind
Anionex/dsh-turn-rewind
Rewind conversation and workspace state, powered by a persistent Change Ledger.
dsh-chat-import
Nwflower/dsh-chat-import
Import full-fidelity chat histories from 13 coding agents (Claude Code, Codex, ChatGPT, Cursor, Gemini, opencode, and more) as resumable DeepSeek Harness sessions, with reverse export back to Claude Code.
dsh-recall-plugin
limbo947/dsh-recall-plugin
Recall any user message: rolls the conversation (official session fork) and workspace files (per-message shadow git snapshots) back to before it, with a diff-preview confirmation panel.
task-passport
dongsheng123132/task-passport
Carry durable task state across DeepSeek Harness, WorkBuddy, Claude Code and Codex with machine-readable checkpoints and optimistic locking.