dsh-hitl
Human-in-the-loop gate for DSH tool calls: mount any tool behind an approve / modify / reject decision card in the DSH Web UI, with an optional countdown. 适合需要严格控制AI行为的用户,可在敏感工具(如bash)执行前弹出确认、修改或拒绝卡片。
インストール
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:YunpengDon/dsh-hitlドキュメント
README 全文を読む ↗2.1 Option 1: through configuration (the target tool keeps its code)
cordis.patch.yml:
- id: hitl
name: 'dsh-hitl'
config:
protect:
- tool: bash # tool name; patterns like 'mcp__*' work too
title: Confirm before running # panel title (bold, wraps)
countdown: { seconds: 30, action: reject }
reject: { feedback: true } # show the feedback box on reject
A patch that overrides a row replaces its whole config: restate every key you still want.