Ndsanes/dsh-rules ↗★ 3

@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 适合需要对模型输出进行实时合规性拦截、注入全局特定规则的用户。

Package
@ndsanes/dsh-rules
Compatibility
Unverified
Harness peer range
0.2.0-rc.2
Cordis peer range
^4.0.1
Version
0.2.1
License
NOASSERTION
Last updated
Oct 3, 2026

Install

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