dsh-bz
Zero-dependency rule injector for DeepSeek Harness: three-scope rules (global/project/session) published as system-reminder at conversation start, with loop-breaker, dedupe, session persistence, /bz commands, and a settings-panel editor.
설치
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Mzgnk/dsh-bz配置
cordis.patch.yml 的 config:
- insert:
- id: bz-rules
name: 'dsh-bz'
config:
maxBytes: 8192 # 注入正文的字节预算(超了就丢最外层规则)
refreshAfterSteps: 20 # 多少步后重发一次
injectAtEveryStep: false # true = 每步都发(调试用,烧 token)
预算行为:超预算时整条丢弃(⛔ 不截断内容 —— 截断的规则比没有更危险)。 丢弃顺序:全局先丢(越具体越该保留)。