@ndsanes/dsh-rules
OMP rules port for DeepSeek Harness: rulebook, always-apply injection, rule:// addressing, and time-traveling stream rules that interrupt violating model output 适合需要对模型输出进行实时合规性拦截、注入全局特定规则的用户。
インストール
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Ndsanes/dsh-rulesドキュメント
README 全文を読む ↗Configuration
- id: dsh-rules
name: '@ndsanes/dsh-rules'
config:
enabled: true
userRulesDir: ~/.omp/agent
pluginRoots: []
copilotInstructionDirs: []
ttsr:
enabled: true
interruptMode: always
contextMode: keep
repeatMode: once
repeatGap: 10
builtinRules: true
disabledRules: []
judge: auto
judgeProvider: ''
judgeModel: ''
The three path settings accept a leading ~ and expand it to the user's home
directory before discovery reads them; everything else is taken literally.