J0ss077/dsh-always-require-tools-approval0

@j0ss077/dsh-always-require-tools-approval

在配置的工具执行前强制进行单次用户审批的 DSH 插件

AI 分析

核心用途是为高风险工具(如bash、pwsh)强制引入执行前的人工审批步骤。适合对系统安全要求极高、需要严格限制Agent自主执行命令权限的用户。

包名
@j0ss077/dsh-always-require-tools-approval
版本
1.0.2
许可证
MIT
最近更新
2026年8月24日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:J0ss077/dsh-always-require-tools-approval

Configuration

There is exactly one option:

KeyTypeDefaultMeaning
toolsstring[]["bash", "pwsh"]Tool names that require approval before they run.

Changing the list at runtime

tools is registered as the user-settings namespace always-require-tools-approval, so you can override it without reinstalling. Edit $DSH_HOME/settings.yaml (defaults to ~/.dsh/settings.yaml when $DSH_HOME is unset):

always-require-tools-approval:
    tools: ["bash", "pwsh"]

Your settings file takes precedence over the value baked into the bundle.

Examples