YunpengDon/dsh-hitl ↗★ 0

dsh-hitl

为工具调用添加人工确认与拦截网关 适合需要严格控制AI行为的用户,可在敏感工具(如bash)执行前弹出确认、修改或拒绝卡片。

套件
dsh-hitl
相容性
待驗證
版本
0.1.2
授權
MIT
最近更新
2026年10月4日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:YunpengDon/dsh-hitl

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.