dsh-zcode-breaker
自动压缩的 rapid-refill 熔断器。当上下文在连续 M 次压缩中、每次都于不足 N 个工具轮次内又满时,拒绝这次徒劳的压缩——无上限的步压力触发检测不到这种情形——并且不做「每一步都白烧一次摘要调用」的事,而是把情况连同建议一起报告出来,通常是一次读取或一份工具输出过大。用 /compaction-breaker 查看状态与重新武装,并注入一个 prompt 段让模型把它转述给用户。宿主平面会话由 profile bundle 覆盖;普通会话需要在 agent preset 里替换一行。
Rapid-refill circuit breaker for DeepSeek Harness automatic compaction. It refuses a compaction that would be futile — the context refilled within fewer than N tool turns M times in a row, which the unbounded step-pressure trigger cannot detect — and instead of burning a summarization call on every step it reports the situation with advice, usually that a single read or tool output was too large. Shows state and re-arms through /compaction-breaker, and injects one prompt section so the model relays it to the user. Covers host-plane sessions through its profile bundle; ordinary sessions need one row replaced inside an agent preset.
怎么安装
dsh plugin add github:BOWLUNA/dsh-zcode-breaker 简介
dsh-zcode-breaker English | 中文 A rapid-refill circuit breaker for DeepSeek Harness automatic compaction: it stops the futile compact-refill-compact loop and tells the user which oversized read or tool output caused it. Derived from the ZCode implementation of the same idea. bash dsh plugin --profile web add dsh-zcode-breaker **Node:** the harness this plugin hooks does not install on node 20 — npm install @deepseek-ai/dsh brings in 10 packages and no dsh binary there, against 488 on node 24. package.json still declares >=20; the badge says what has been measured. Raising the declared floor is …
推荐参考
信息
- 协议
- MIT
- 语言
- JavaScript
- GitHub 星标
- 0
- 月下载
- –
- 最近更新
- 2026-09-24
- 创建于
- 2026-09-17
基础安全检查
- 检查结果
- curated 收录但无 npm 包/安装命令
- 收录来源
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- 主题标签
- agent, circuit-breaker, compaction, compaction-breaker, context-window, cordis, deepseek-harness, dsh, dsh-plugin, plugin, rapid-refill, zcode
同类推荐
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 在多机之间同步会话与设置。