J0ss077/dsh-always-require-tools-approval0

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

Require a one-shot user approval before configured tools execute

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