roushanyyzz/dsh-diff-vis

DSH (DeepSeek Harness) plug-in: intercept write

dsh-diff-vis intercepts write / edit tool calls in DeepSeek Harness and renders a git-style file diff at the tool card: unified (top-bottom) and split (side-by-side) views, per-line highlights, zero git dependency (owns its own line-diff algorithm). The host half (src/index.ts) snapshots the file before write/edit runs, computes the line diff after the tool succeeds, and serves records at GET /dsh-diff-vis/rec?callId=... via the host webServer. The client half (src/client/index.tsx) registers a tool.call.toolview for write/edit, fetches the host record, and falls back to computing the diff locally from the tool arguments when the host route is unreachable.

uncategorized ★ 0 updated 2026-08-17
View on GitHub ↗

Install

dsh plugin --profile web add github:roushanyyzz/dsh-diff-vis

The README's primary form is 'dsh plugin --profile web add github:roushanyyzz/dsh-diff-vis'. No npm package named dsh-diff-vis exists on the public registry as of 2026-10-01. A local-clone dev-mode form ('dsh plugin --profile web add file:D:/Plugins/dsh-diff-vis') is also documented but is a development/local install, not distributable. Restart dsh web after installing.

Compatibility

DSH web UI. Zero git dependency (own line-diff algorithm). Written in TypeScript, built with esbuild. Intercepts write / edit tool calls.

Details

Recent updates

The README documents the two build artifacts (lib/index.js + lib/client.js via pnpm run build), the host/client split with the webServer route and toolview hook, and the local-fallback for when the host route is unreachable.

FAQ

How do I install dsh-diff-vis?
dsh plugin --profile web add github:roushanyyzz/dsh-diff-vis; no npm entry exists as of 2026-10-01.
Does it need git installed?
No — the README says it has zero git dependency and uses its own line-diff algorithm.
What view modes are available?
Unified (top-bottom) and split (side-by-side) with per-line highlights.

Alternatives

chenluyao680/dsh-plugin-control · Civitasv/dsh-plugin-diff-review · p2coder/dsh-task-control

More plugins in uncategorized

Browse more in uncategorized

Guides for uncategorized plugins