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

패키지
@ndsanes/dsh-rules
호환성
미검증
Harness peer 범위
0.2.0-rc.2
Cordis peer 범위
^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.