xarleyn/dsh-plugins--plugins-dsh-prompt-firewall ↗★ 1

@yadsh/dsh-prompt-firewall

Prompt hygiene, observability, and policy middleware for DeepSeek Harness 适合需策略化治理提示内容的团队,先定义模式与规则再应用于会话

패키지
@yadsh/dsh-prompt-firewall
호환성
미검증
Harness peer 범위
catalog:dsh
Cordis peer 범위
catalog:dsh
버전
0.1.3
라이선스
MIT
최근 업데이트
2026. 9. 13.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:xarleyn/dsh-plugins#fd3cdd95651ec4eafe52d510751ba3aba3c9248d&path:plugins/dsh-prompt-firewall

Configuration

The bundle inserts the dsh-prompt-firewall Cordis row. Override its configuration in the profile patch when needed:

- id: dsh-prompt-firewall
  config:
    mode: blocklist
    preset: clean
    blockedSections:
      - plugin:another-noisy-plugin
    blockedPrefixes:
      - announcement:

Audit without changing the prompt:

- id: dsh-prompt-firewall
  config:
    mode: audit
    audit:
      enabled: true
      logAllowed: true
      includePreview: false

Strict allowlist:

- id: dsh-prompt-firewall
  config:
    mode: allowlist
    allowedSections:
      - plugin:my-important-plugin
    protectCoreSections: true

Rule priority is protected, exact allow, exact block, prefix allow, prefix block, glob allow, glob block, then the mode's default policy.