dsh-edit-diff: Redraw Line-level Diff on DSH File Change Card

dsh-edit-diff is a DSH community workflow plugin that redraws line-level diffs on the tool cards of edit/write/insert/str_replace_editor and run_code (PTC) subcalls: identical context is rendered only once, changed lines are highlighted with red/green backgrounds and inline character-level highlighting. It compensates for the built-in diffCardModel's failure to display diffs for PTC and str_replace_editor, as well as the built-in DiffBlock's duplicate rendering of context. At the end of each turn, it provides a "N files changed" summary card that supports reviewing, opening, and right-clicking to locate files in the file explorer. The installation command is dsh plugin add github:senyayume/dsh-edit-diff --profile desktop; the host side needs to restart the harness for the changes to take effect.

Read More
DSH·Deduplication Diff Display Plugin

The DSH plugin `dsh-edit-diff` addresses the visual redundancy caused by DSH's native DiffBlock displaying unchanged lines. It leverages a near-linear algorithm to render only genuinely changed lines, supports inline character highlighting, collapsed-by-default display, and statistics, and takes over scenarios such as `edit`/`write` and remote file editing to provide a clearer diff viewing experience.

Read More