dsh-edit-approval
Run the following command in DeepSeek Harness:
dsh plugin install SiriLee/dsh-edit-approval
Paste the following prompt into your AI chat to install this plugin:
To install this plugin in DeepSeek Harness, run the command `dsh plugin install https://github.com/SiriLee/dsh-edit-approval`.
About this plugin
DeepSeek Harness agents automate file edits and command executions, but unsupervised actions can lead to unintended changes or security risks. The dsh-edit-approval plugin addresses this by adding approval gates to every write, edit, or bash call, ensuring users review and approve before any file modification or command run.
At its core, the plugin offers two symmetric approval gates: edit approval and bash approval. Edit approval is on by default, intercepting write/edit/str_replace_editor calls with a red/green line-level diff preview—users can approve once or reject. Bash approval is off by default; when enabled, it prompts before each command with a description and the raw command text. These gates leverage DeepSeek Harness's service seams, requiring no UI changes to the host, and respect session policies like "never ask" for full-access sessions.
This plugin is ideal for developers using DeepSeek Harness for automated workflows who need fine-grained control, audit trails, or safety oversight. It suits personal projects or team environments where maintaining agent efficiency while granting final decision power is crucial, preventing errors and enhancing reliability.
Screenshots
Use Cases
- When the agent automatically modifies code files, show line-level diffs for review.
- Before running bash commands, require user confirmation to prevent mistakes.
- In automated workflows, ensure all changes are manually approved.
Best For
- Developers using DeepSeek Harness for automated development.
- DevOps engineers who need to oversee agent operations.
- Team leads who prioritize code security and auditing.
Related Plugins
A method pack that makes AI coding agents plan against your real baseline, prove completion with fresh evidence, and reduce reworks and unsafe changes.
Turns the DeepSeek Harness session into a captain that builds a durable sub-agent team, splits goals into dependency-aware tasks, and coordinates work via direct messages and a live Web UI.
Gives coding agents design judgment, letting Claude Code, Cursor, and 70+ agents generate and iterate high-quality UI, presentations, and graphics right from the terminal.
Run the Pi ecosystem's plugins on DeepSeek Harness, unmodified, via a compatibility layer that implements Pi's public extension ABI on DSH's native services.


