DSH Plugin dsh-code-diff-viewer: Transform edit/write tool calls into a collapsible code comparison panel
dsh-code-diff-viewer is a third-party plugin developed specifically for the DeepSeek Harness (DSH) Web interface, designed to optimize the visualization experience of `edit` and `write` tool calls. It is not an official DSH component but rather injects into the conversation stream in a purely visual manner, rendering code changes as collapsible "before/after" comparison panels, without creating a new mode or saving files to disk. Its core functions include automatically selecting a two-column or single-column display format based on the type of change—mixed additions and deletions, pure additions, or pure deletions; displaying absolute line numbers inferred from the Host side to facilitate positioning; featuring a built-in lightweight tokenizer to support syntax highlighting for languages such as JavaScript/TypeScript and Python; and providing intelligent card collapsing, which automatically expands the latest changes while collapsing historical records. Installation requires having the DSH CLI installed and...
Read More