Preface¶
When running agent workflows in DeepSeek Harness (DSH), steps such as tool calls and command executions often trigger web-based approval windows. In the default flow, selecting “Deny” is often a simple veto; the model receives no specific explanation on why you blocked the action, leaving it to guess your intent in the next round. Claude Code CLI allows you to use “Tab to amend” to add an explanation when rejecting; without a similar capability on the DSH web side, the approval experience feels like a “hard switch.”
The following is an introduction to the community plugin dsh-approval-comment (maintained by rocketstar666). It supports entering a rejection reason (postscript) when selecting “Deny” in the default DSH approval flow and incorporates this postscript into the context of subsequent turns. The plugin is categorized as a workflow. For source code and documentation, see the GitHub repository; for the directory page, see SkillHub.
What is this¶
dsh-approval-comment is an approval enhancement plugin for DSH Web. Its package.json describes it as “seamlessly replacing the approval window to support ‘Deny with comment’; upon rejection, it terminates the current turn’s work and re-evaluates based on the postscript.” It is forked from MaYiFei1995/dsh-approval-comment. The maintainer notes that the original project failed to start on DSH 0.1.2-rc.1, and this repository includes fixes. According to the README, it runs normally on versions up to 0.1.7-rc.2, though higher versions have not yet been tested.
The plugin integrates via a Cordis patch (cordis.patch.yml) and client-side injection (depending on @deepseek-ai/dsh-client-ui-conversation) and is designed for the web platform. The current package version is 0.1.2, the license is MIT, and the environment requirement is Node.js >= 18.
Core Features¶
Based on the README and package.json, the verifiable capabilities are as follows:
- Deny with Comment: When selecting “Deny” in the approval flow, you can provide a reason for rejection. Behaviorally, this is similar to Claude Code CLI’s “Tab to amend”.
- Turn Semantics after Rejection: Rejection terminates the current turn’s work and “re-evaluates based on the postscript,” allowing the model to adjust subsequent behavior according to your instructions.
- Web Approval UI Enhancement: Enhances DSH Web approval interactions via a plugin, rather than modifying the DSH core source code.
This article does not cover configuration items, shortcuts, or UI screenshot details not found in the source materials.
Installation and Activation¶
The official README specifies packaging a local .tgz file and installing it using an absolute path to the web profile. A restart of DSH is required after installation. The materials do not include a one-click command like dsh plugin add github:owner/repo; please follow the steps below.
- Navigate to the plugin source directory (the root of the
dsh-approval-commentrepository you have cloned or downloaded). - Run
npm packto generate the package file (e.g.,dsh-approval-comment-0.1.2.tgz). - Use
dsh plugin --profile web addpointing to the absolute path of the.tgzfile. - Restart DSH to load the plugin.
PowerShell example (replace the path with your actual local location):
# Navigate to project directory
# Pack .tgz
npm pack
# Install (absolute path recommended)
dsh plugin --profile web add C:\path\to\dsh-approval-comment-0.1.2.tgz
# Restart DSH after installation
Uninstallation:
dsh plugin --profile web remove dsh-approval-comment
The DSH ecosystem emphasizes “everything is a plugin”; community directories like SkillHub are independent sites and have no official affiliation with DeepSeek or High-Flyer. The source of installation should be based on the repository and packaged artifacts you trust.
Typical Usage¶
The materials do not provide step-by-step screenshots, but the reproducible path is as follows:
- Install and restart DSH (web profile) as described in the previous section.
- Trigger an action requiring approval (e.g., tool or command approval) in a Web session.
- Select “Deny” in the approval window and enter the specific reason in the comment area (e.g., permission scope, command risks, or desired alternatives).
- After confirming, the current turn terminates according to the plugin’s semantics, and subsequent replies should be able to continue incorporating the comment you wrote.
If your DSH version is higher than the 0.1.7-rc.2 tested by the maintainer, the README does not guarantee consistent behavior; it is recommended to verify in a test environment before upgrading.
Use Cases and Notes¶
Who is it for
- Developers who frequently approve tool calls and command executions in DSH Web and want to clarify reasons when “Denying”.
- Agent workflow users who want the model to read the postscript upon rejection rather than receiving an empty rejection.
Precautions
- The plugin runs under the current DSH process permissions. Before installation, read the source code and the MIT License to ensure the patch and client injection scope are acceptable.
- Installation commands should follow the README; version numbers depend on the
.tgzfilename generated by yournpm pack(currently package version 0.1.2). - This repository is a fixed fork of the original project; if you are still using the original version by MaYiFei1995, you may encounter startup failures on DSH
0.1.2-rc.1. Evaluate whether to migrate to the branch maintained by rocketstar666.
Conclusion¶
dsh-approval-comment addresses the gap in Web approvals where you could “only deny, but not explain why”: it allows writing a postscript upon rejection and carries this explanation into subsequent turns. For installation packages and change logs, see GitHub: rocketstar666/dsh-approval-comment; for metadata browsing, see the SkillHub Plugin Page.