DeepSeek Harness plugin

dsh-approval-mode

Approval mode control for DeepSeek Harness: default approval (ask) or bypass approval (auto-approve every tool call), next to the permission selector. DSH 审批模式插件。

Jump to install

Source facts

Repository
NEVSTOP-LAB/dsh-approval-mode
Latest update
Aug 16, 2026
Category
Tools & Capabilities
GitHub stars
1
Format
plugin
Catalog evidence
Upstream dsh.bundle evidence
Evidence path
package.json#dsh.bundle
Checked against
0.1.0-rc.8
Upstream check date
2026-08-20

This evidence comes from the upstream catalog. This site has not installed, run, or security-reviewed the plugin.

Install

Start with a prompt that asks an agent to review the GitHub repository and source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to review the GitHub repository and source first.

Do not install or run any commands yet. Read this plugin's GitHub repository, README, and relevant source code. Then answer the questions below clearly and directly so I can decide whether it fits my needs:

1. What is this plugin, and what problem does it solve?
2. Who is it for, and what are its typical use cases?
3. How is it used after installation? Include one minimal example.
4. What known limitations or privacy, security, compatibility, or maintenance risks does it have?
5. Give a clear recommendation: recommend, conditionally recommend, or do not recommend, with reasons.

Distinguish statements documented by the repository, inferences from source code, and unknowns. If evidence is insufficient, say so explicitly. Do not guess or simply repeat the README.

GitHub: https://github.com/NEVSTOP-LAB/dsh-approval-mode
Plugin: dsh-approval-mode
Author: NEVSTOP-LAB

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer3 files
README.mdSource · read only

DSH-Approval-Mode

DSH 审批模式插件。在 DSH 窗口的权限下拉框(Read Only / Workspace Write / Full Access)旁边加一个「审批模式」按钮,权限可以保持 Workspace Write,审批模式选「绕过审批」——工具调用自动放行,但文件操作仍被沙箱限制在工作区内,比切到 Full Access 更安全、更方便。

> [!IMPORTANT] > 「绕过审批」会自动批准所有工具调用,包括文件修改、外部命令等敏感操作,全程没有确认提示。 > 只在完全信任当前任务时使用,用完记得切回「默认审批」。 > 当会话权限为 Full Access 时,DSH 本身不会发起审批请求,此模式不生效。

<img width="998" height="169" alt="image" src="https://github.com/user-attachments/assets/76763839-e8c1-4dcf-9a4f-00d94b5110b3" />

功能

  • 按钮在输入框工具栏、权限选择旁边,样式和权限控件一致
  • 默认审批:和 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.0.tgz

安装后确认组合层里出现该插件:

dsh --profile web --dump-config

启动后,输入框工具栏权限下拉框旁边会出现「默认审批」按钮。

卸载:

dsh plugin --profile web remove dsh-approval-mode

License

MIT