Plugin directory / Developer / dsh-approval-mode
dsh-approval-mode
Unverified NEVSTOP-LAB
What it does
DSH 审批模式插件,在 DSH 窗口的权限下拉框(Read Only / Workspace Write / Full Access)旁边加一个「审批模式」按钮,在 Workspace Write 模式下工具调用自动放行
Unverified — not yet verified
DSH 审批模式插件,在 DSH 窗口的权限下拉框(Read Only / Workspace Write / Full Access)旁边加一个「审批模式」按钮,在 Workspace Write 模式下工具调用自动放行 Not yet verified — install and test it yourself.
“Unverified” means our automated CI has not yet installed this plugin. Feature descriptions and version compatibility are the author’s claims. This is not a security audit and not an endorsement of third-party code.
README
DSH-Approval-Mode
DSH 审批模式插件。在 DSH 窗口的权限下拉框(Read Only / Workspace Write / Full Access)旁边加一个「审批模式」按钮,权限可以保持 Workspace Write,审批模式选「绕过审批」——工具调用自动放行,但文件操作仍被沙箱限制在工作区内,比切到 Full Access 更安全、更方便。
[!IMPORTANT]
「绕过审批」会自动批准所有工具调用,包括文件修改、外部命令等敏感操作,全程没有确认提示。
只在完全信任当前任务时使用,用完记得切回「默认审批」。
当会话权限为 Full Access 时,DSH 本身不会发起审批请求,此模式不生效。
功能
- 按钮在输入框工具栏、权限选择旁边,样式和权限控件一致
- 默认审批:和 DSH 原有行为一样,工具调用需要点击批准
- 绕过审批:所有工具调用自动批准,不用点击
- 切换立即生效,重启后保持
- 绕过审批时按钮显示为橙色
- 权限为 Full Access 时,按钮置灰并显示「绕过审批」:DSH 不再发起审批请求,模式不可切换
- 切换模式会通知当前会话的代理
安装
需要 dsh CLI(0.1.0-rc.6 及以上)。
从 GitHub 仓库安装:
dsh plugin --profile web add github:NEVSTOP-LAB/dsh-approval-mode
[!NOTE]
--profile web是默认 profile。桌面版(DSH Desktop)用--profile desktop;其他 profile 把web换成对应名字即可。
建议锁定提交,避免后续更新改变实际内容:
dsh plugin --profile web add github:NEVSTOP-LAB/dsh-approval-mode#<commit-sha>
也可以从 Releases 下载 tarball 安装:
dsh plugin --profile web add ./dsh-approval-mode-0.1.1-rc.2.tgz
安装后确认组合层里出现该插件:
dsh --profile web --dump-config
启动后,输入框工具栏权限下拉框旁边会出现「默认审批」按钮。
卸载:
dsh plugin --profile web remove dsh-approval-mode
License
MIT
Install
Install the catalog once, then DeepSeek Harness can find and install any plugin from this site automatically:
dsh plugin add dshbase-catalog Then say "install dsh-approval-mode for me" — your agent finds it in the directory and installs it. Docs: dshbase-catalog · verified packs.
This plugin is GitHub source (not published to npm) — install it straight from the repo:
Web profile:
dsh plugin --profile web add github:NEVSTOP-LAB/dsh-approval-mode Headless (CLI) profile:
dsh plugin --profile headless add github:NEVSTOP-LAB/dsh-approval-mode Test report
Not yet L3-verified — see failure note below if we already ran it.
2026-08-26 · flagged webonly Note: 验证: web-only;待 L4 web CDP;L4 web CDP runtime-fail on dsh 0.1.0-rc.8. Browse all pending failures →