lvy-jsd/dsh-tool-manager--packages-dsh-tool-manager-risk-gate ↗★ 0
dsh-tool-manager-risk-gate
Risk gate for dsh-tool-manager: confirm loading high-risk tools through the DSH approval channel, with a per-session allowlist. 适合需要在加载高风险工具前进行审批的用户,支持按会话设置允许加载的白名单。
インストール
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:lvy-jsd/dsh-tool-manager#7b37565ac428824a61f82534240b14374f0f5378&path:packages/dsh-tool-manager-risk-gateドキュメント
README 全文を読む ↗Configuration
- id: tool-manager-risk-gate
name: dsh-tool-manager-risk-gate
config:
enabled: true
highRisk: [my_dangerous_tool]
defaultHighRisk: true
allow:
# An unattended session that must load these without a prompt.
sess_abc123: [merge_pull_request]
sess_def456: true # every high-risk tool in this session
allow keys are session ids. Use true or "*" for all high-risk tools in
that session, or a list of tool names. Without an entry, every high-risk load
asks — and is denied when the session has no approval channel.