AI Agent Hub
Back to plugins
🖥️

dsh-diff-vis

Client Updated 2026.08.20

Run the following command in DeepSeek Harness:

dsh plugin install roushanyyzz/dsh-diff-vis

Paste the following prompt into your AI chat to install this plugin:

Run dsh plugin install roushanyyzz/dsh-diff-vis in your DeepSeek Harness terminal to install; the source code is available at https://github.com/roushanyyzz/dsh-diff-vis . Restart the GUI after installation for persistent loading.

About this plugin

Every time your AI edits a file, see exactly what changed, right where it happened. The default DSH conversation stream only shows a single line of tool-call log; to understand the actual modifications you have to open an editor and diff manually. dsh-diff-vis intercepts every write and edit call and renders a git-style diff card inline in the conversation, so you can review each change line by line without leaving the chat.

Each card offers two view modes. The unified view follows the familiar layout: deleted lines in red, added lines in green, context in gray with hunk header line numbers. The side-by-side view places old and new text in parallel columns, aligning changed lines on the same horizontal axis. Word-level highlights in yellow pinpoint the exact terms that changed. Your preferred view is remembered across sessions, and clicking the filename in the card header opens the file directly in the workspace. All diff computation is handled by a custom line-level algorithm in pure JavaScript, with zero git dependency, and oversized diffs are automatically downgraded to a full-replacement view to keep the process responsive.

If you work in novel writing, technical documentation, or code collaboration and frequently ask your AI to revise files while needing to track every precise change, this plugin is built for you.

Use Cases

  • Reviewing every word change when AI revises novel chapters
  • Confirming AI has not accidentally altered or missed key paragraphs in docs
  • Tracking exact line deletions and additions when AI modifies existing code

Best For

  • Writers who frequently ask AI to revise files and need line-by-line verification
  • Developers who prefer reviewing diffs inline without switching editors
  • DSH users who want a zero-dependency out-of-the-box diff experience