dsh-hitl
为工具调用添加人工确认与拦截网关 适合需要严格控制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.