bvcvb/dsh-baize-rules0

dsh-baize-rules

User-set session/global must-do and must-not requirements injected at conversation start (Baize).

包名
dsh-baize-rules
版本
0.1.2
许可证
MIT
最近更新
2026年9月1日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:bvcvb/dsh-baize-rules

Configuration (Config)

On startup the plugin validates Config with @deepseek-ai/schemastery; an invalid value makes the plugin fail to load.

ConfigDefaultDescription
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.jsonOverride the global rules file path
injectAtEveryStepfalseForce 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.