dsh-approval-diff
Run the following command in DeepSeek Harness:
dsh plugin install joao-paulo-santos/dsh-approval-diff
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install joao-paulo-santos/dsh-approval-diff in your DeepSeek Harness profile; the source repository is https://github.com/joao-paulo-santos/dsh-approval-diff . Restart the harness after installing to load the host half at boot.
About this plugin
Every time the model asks to change a file, the native DSH approval card dumps raw tool arguments as plain text with no context and no line numbers. You end up reconstructing the diff in your head on every single ask. dsh-approval-diff replaces that mental gymnastics with a real, readable diff rendered inside the approval card: red and green lines side by side, word-level highlights inside changed lines, and genuine disk-anchored line numbers in the surrounding context. Toggle between split and unified views, just like on GitHub.
Every hunk is anchored to the file on disk at request time, so line numbers are never fabricated. If the file has moved on and the old text no longer matches, the card says so outright instead of presenting a diff that cannot apply. Multiple pending edits to the same file merge into one review: the card shows how many edits are bundled, one decision settles the group, and later same-file asks inherit the outcome you already saw. Deletion commands display the command text so you can read exactly what is about to run before pressing Allow. One-click arming lets you auto-allow edits to that file for the session, with a visible armed state and one-click disarm.
Built for developers who rely on DSH agents to edit, write, or clean up files and want the approval moment to be an actual code review rather than a decode-the-raw-text ritual. It removes the need to become a human diff engine and removes the temptation to auto-approve and hope.
Use Cases
- Review a visual diff instead of raw old_string and new_string when the model asks to edit a file
- Merge multiple pending same-file edits into a single unified review
- Auto-allow subsequent edits to one file for the session and disarm with one click
Best For
- Developers who rely on DSH agents to edit, write, or clean up files
- Engineers who need to verify exact changes before approving agent file operations
- DSH users who want the approval moment to feel like a real code review
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.