Mzgnk/dsh-bz ↗★ 0

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.

套件
dsh-bz
相容性
待驗證
版本
1.0.0
授權
MIT
最近更新
2026年10月27日

安裝

$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)

预算行为:超预算时整条丢弃(⛔ 不截断内容 —— 截断的规则比没有更危险)。 丢弃顺序:全局先丢(越具体越该保留)。