kaiarvin/dsh-show-diff

kaiarvin★ 0TypeScript最后同步: 2026-08-15

在 GitHub 打开

Expanded color-coded diff tool cards for the edit/write tools — DeepSeek Harness client plugin with per-file line numbers

README 摘要

dsh-show-diff English 中文 Installable plugin package. dsh-show-diff is the standalone, installable package name for the diff-viewer client plugin. Its canonical upstream home is the deepseek-harness monorepo at packages/client/ui-diff-viewer/ (there it is published as @deepseek-ai/dsh-client-ui-diff-viewer ); this repository is the independently installable copy under the dsh-show-diff name. Expanded color-coded diff tool cards, browser half: registers the edit and write wire names in ui-tool 's keyed tool.call.toolview slot. Each file mutation renders as an expanded diff card directly in the conversation flow — a header naming the mutation ( Edit / Write ) and its path, then the applied hunks through the package's line-aligned DiffLines surface, which draws the removed and added sides with the error/success colors, shows the old and new file line numbers per row (rebased onto each hunk's start line, so numbers are true file coordinates), collapses a long body at a height cap, and carries a copy affordance and a └ +A -R · N file(s) footer. The old and new sides are aligned per line via a bounded LCS, so each row shows both its old-file and new-file line where the sides agree, the ol…

在 GitHub 查看完整 README →
终端/TUIdsh-plugindsh-plugins

分类