Ndsanes/dsh-rules ↗★ 3

@ndsanes/dsh-rules

提供规则书、总是应用注入及流式规则拦截 适合需要对模型输出进行实时合规性拦截、注入全局特定规则的用户。

包名
@ndsanes/dsh-rules
兼容性
待验证
Harness 依赖范围
0.2.0-rc.2
Cordis 依赖范围
^4.0.1
版本
0.2.1
许可证
NOASSERTION
最近更新
2026年10月3日

安装

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

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.