dsh-diff-view
Run the following command in DeepSeek Harness:
dsh plugin install joao-paulo-santos/dsh-diff-view
Paste the following prompt into your AI chat to install this plugin:
In a terminal with DeepSeek Harness configured, run dsh plugin install joao-paulo-santos/dsh-diff-view and restart the harness; the source is available at https://github.com/joao-paulo-santos/dsh-diff-view
About this plugin
Across the DSH ecosystem, every client plugin that needs to render a before/after text diff used to ship its own engine, its own line-number math, and its own stylesheet, which meant line numbers drifting after context collapse, inconsistent styling, and duplicated code scattered everywhere. dsh-diff-view consolidates all of that into a single zero-dependency shared service: install the adf-* stylesheet once, and every consuming plugin renders diffs through the diffView client service without writing a line of CSS or diff logic of its own. The engine performs line-level LCS with intra-line word highlights, computes true line numbers before any context collapse so they stay accurate across ellipsis bands, and lets each component instance toggle between split and unified views independently. There is no persistence, no approval coupling, and no standalone UI; the host side is a stub. Plugins inject the service and render immediately. It is built for DSH plugin authors who need reliable, visually consistent diff rendering without reinventing the wheel.
Use Cases
- Rendering before/after code change hunks in approval review cards
- Powering a diff mode in a scratchpad plugin with line-level and word-level highlights
- Displaying GitHub commit patches in split or unified layout with word highlights
- Switching view modes independently across multiple diff panels on the same screen
Best For
- DSH client plugin authors who need to render text diffs in their UI
- Plugin developers building approval or review workflow interfaces
- Plugin creators making scratchpad, GitHub integration, or similar tools with diff panels
- Maintainers who want consistent diff styling and accurate line numbers across the DSH ecosystem
Related Plugins
A service-oriented sidebar framework for DSH, offering a full workbench with file explorer, embedded browser, real terminal, Git panel, and extensible plugin services.
A beautiful, practical Claude Code-style TUI plugin with pixel whale top bar, flowing glow title, real-time status line, streaming thought expansion, time rewind, context progress bar and TPS gauge — zero core changes.
The plugin market for DeepSeek Harness: browse/search/one-click install community plugins and themes, with updates, backup/restore, hot disable, diagnostics, and AI fix.
A persistent whale widget on the DSH web UI that shows DeepSeek balance, today's usage, and per-turn cost, with drag-and-snap and sound effects.