DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

Approval Diff — DSH Plugin for DeepSeek Harness
← Plugins
A

dsh-approval-diff

Approval Diff

In-chat approval review: when the model asks to change a file, a composer takeover replaces the native approval card with a true diff review. Line diffs with word-level highlights, disk-sourced context with line numbers, one-sided green creates, red deletion reviews. One file per card (consecutive s

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add github:joao-paulo-santos/dsh-approval-diff#b6128abc45a8e7de53aa1dba1cd67ed88db01a5a
READMECompatibilityVersions
Plugin screenshot

Description

In-chat approval review: when the model asks to change a file, a composer takeover replaces the native approval card with a true diff review. Line diffs with word-level highlights, disk-sourced context with line numbers, one-sided green creates, red deletion reviews. One file per card (consecutive same-file calls merge into one diff with two file-scoped buttons); everything that is not a file-changing approval falls through to the native card.

Compatibility and provenance

Approval Diff is published as dsh-approval-diff and currently resolves to version 0.24.1. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
web
Release source
github
Registry updated
8/31/2026

Versions

0.24.1stable
8/31/2026
0.24.0stable
8/31/2026
0.23.0stable
8/30/2026
Show 4 more versionsCollapse versions
0.21.0stable
8/30/2026
0.20.0stable
8/29/2026
0.19.2stable
8/26/2026
0.17.1stable
8/26/2026

Related plugins

Loading related plugins…

Latest
0.24.1
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
Unavailable
Files
Unavailable
Surface
web
License
MIT
Source
github
GitHub
★ 0
Weekly downloads
0
Last push
8/31/2026
View source ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in

Related plugins

More verified plugins in developer-tools.

Web App@deepseek-ai/dsh-web-appThe dsh browser-surface bundle: the web patch layer over dsh-base plus the runtime glue plugin (frontend dist serving, web-surface prompt, bash runtime variables, URL line)Sdk Minimal@deepseek-ai/dsh-sdk-minimalThe standalone minimal SDK profile bundle: JSON-RPC, one DeepSeek adapter, persistent shell, and JSONL sessionsSdk App@deepseek-ai/dsh-sdk-appThe dsh SDK profile bundle: stdio JSON-RPC serving and process lifecycle over dsh-baseSubagent Codex@deepseek-ai/dsh-subagent-codexOne-shot Codex subagent provider over the official app-server protocol

README

dsh-approval-diff

A DeepSeek Harness (DSH) plugin: install it into a profile alongside your own plugins.

See what you approve. When the model asks permission to change a file, the native card shows the tool arguments: old_string and new_string as raw text, no file context, no line numbers. This plugin replaces that ask with a real diff review: red and green lines side by side, word-level highlights inside changed lines, surrounding file content with true line numbers, and exactly two buttons.

Plugin value proposition

image
alternativefalls short
the native approval cardraw tool arguments; you reconstruct the diff in your head, every ask
reading the file yourselfyou become the diff engine, and the model already read it once
auto-approve and hopeno review at all

What you get

  • The pending edit rendered as a real diff INSIDE the native approval card, through the card's own conversation.approval.detail seat: disk- anchored line numbers, a context window around the change, and word-level highlights (via dsh-diff-view)
  • Split or Unified views (GitHub-style toggle, choice remembered); split pairs removals left with additions right, unified groups each change run as all removed lines then all added
  • write shows the new content as additions, merged against the current file when one exists; deletion commands (rm and friends) render a review notice so the command text gets read before allowing
  • The diff is anchored to DISK TRUTH fetched at ask time from this package's host route; when the file cannot be read, the operands still render as an aligned diff with blank numbers, never lying numbers
  • Stale-operand warning: when the edit's old text is no longer in the file, the card says so instead of showing a diff that cannot apply
  • ARMING: "Auto-allow edits to this file" answers the current request and every later same-file request for the session (allowed-once only, never wider), with a visible armed state and one-click disarm
  • QUEUED SAME-FILE EDITS ARE ONE REVIEW: every pending (unsettled) edit to the same file that the model has already emitted joins one merged review. The card shows "N edits merged", the grid renders all changes merged against the disk copy (sequential anchors), and the native card's answer applies to the whole group — later same-file asks auto-answer with the outcome the user already saw
  • The decision itself stays on the native card's own buttons (group decisions automate that exact answer, never wider)

How to install

Requires a DeepSeek Harness checkout and a profile, here web. Clone the plugin into a plugins folder:

mkdir -p ~/dsh-plugins && cd ~/dsh-plugins
git clone https://github.com/joao-paulo-santos/dsh-approval-diff.git

# from the harness checkout
pnpm dsh plugin --profile web add ~/dsh-plugins/dsh-approval-diff

# verify the profile still composes
pnpm dsh --profile web --dump-config

Restart the harness after installing: the host half loads at boot. The client half hot-reloads once installed.

Limitations

  • File-changing approvals only (edit, write, deletion-only bash). Everything else renders no detail and stays fully native.
  • Deletion review shows the command text, not the deleted content.
  • Requires dsh 0.1.2+ (the pending-interaction approval model). The v0.20 composer takeover and its per-card buttons are retired: the native card owns the chrome and the buttons. Approvals arrive one at a time (the session queues them internally); arming replaces the old batch decision workflow for repeated edits to the same file.

Dependencies

  • dsh-diff-view owns the diff engine and stylesheet this plugin renders its review cards with (required; the plugin does not activate without it)

Plugins dependent on this

(none yet)