dsh-baize-rules
User-set session/global must-do and must-not requirements injected at conversation start (Baize).
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:bvcvb/dsh-baize-rules说明文档
阅读完整 README ↗Configuration (Config)
On startup the plugin validates Config with @deepseek-ai/schemastery; an invalid value makes the plugin fail to load.
| Config | Default | Description |
|---|---|---|
scope | — (required) | Default scope, used when /baize-rules doesn't specify one; only global/session allowed |
maxBytes | — (required) | Byte cap visible to the model; trimmed with specificity-wins when exceeded |
globalRulesPath | $DSH_HOME/rules/global.json | Override the global rules file path |
injectAtEveryStep | false | Force re-render on every step (debugging); default only patches on change |
Mount metadata (cordis.patch.yml)
The published npm package ships dsh.bundle.patch, wired up automatically by dsh when you install dsh-baize-rules@:
cordis.patch.yml inserts a single plugin line with default scope: session and maxBytes: 8192. To adjust the default scope / budget, change it there.