AI Agent Hub
Back to plugins
🖥️

dsh-code-diff-viewer

Client Updated 2026.08.18

Run the following command in DeepSeek Harness:

dsh plugin install kelai141/dsh-code-diff-viewer

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

Please install the dsh-code-diff-viewer plugin in DeepSeek Harness by executing the command dsh plugin install kelai141/dsh-code-diff-viewer, with full source code located at https://github.com/kelai141/dsh-code-diff-viewer.

About this plugin

When using DeepSeek Harness for code generation, the default tool cards provide basic diff previews lacking precise line numbers and clear visual contrast, often leading to misunderstandings. dsh-code-diff-viewer is designed to address this by transforming the Web interface's edit and write tool calls into professional code comparison panels, allowing developers to intuitively see code additions and deletions.

Its core strengths lie in "Absolute Line Numbers" and "Intelligent Layout." By using the Host-side interface to accurately reverse-engineer the real starting line of a hunk in the file, it solves the inaccuracy issues of the default context lines. Furthermore, it automatically switches between single-column (pure additions/deletions) and dual-column layouts based on change types, featuring built-in syntax highlighting for mainstream languages like JS/TS and Python, making every change crystal clear.

This plugin is ideal for developers who frequently use AI for code generation, particularly those using the DeepSeek Harness Web profile. It activates seamlessly with the process startup and provides high-quality code review experiences directly within the conversation flow, serving as an excellent visual enhancement tool to boost AI coding efficiency.

Use Cases

  • View details of AI-generated code changes
  • Quickly compare code differences before and after editing
  • Assist in code review and debugging

Best For

  • DeepSeek Harness Web profile users
  • Developers needing precise code line location
  • Programmers valuing code review experience