Skip to content
dsh-market Browse plugins GitHub 中文

WongYuYe/dsh-diff-card

Per-turn file-change card for DSH Desktop: +N −M badges, aligned diffs, and Mac/Windows file open (system app, Finder/Explorer, VS Code).

Stars ★ 2 Category UI Enhancements Listed 2026-09-08 npm dsh-diff-card

Install

Inside DeepSeek Harness, with dsh-market

dsh plugin --profile web add dshmarket

Or from the command line

dsh plugin --profile web add dsh-diff-card

Installing runs third-party code with your own permissions — it can read your files, use your credentials and reach the network. Review the source first, and pin a commit (github:owner/repo#sha) when you can.

README

中文 | English

File-change card for DSH Desktop. After the agent edits files, tool rows show +N −M, a per-turn list appears, and you can review aligned diffs on click. Open files with the system app, Finder/Explorer, or VS Code on macOS and Windows.

Features

  • +N −M on edit / write rows
  • Per-turn card “Edited N files”, 3-file preview, header total +xx −xx
  • Click a row to expand or collapse that file’s diff
  • View changes: expand every file and its diff; click again to collapse
  • Review: expand every diff in the turn
  • Undo: restore this turn’s files (refuses if they changed elsewhere); the button then becomes Restore, which re-applies the undone changes. Undo and restore both open a lightweight confirm popover
  • Row ▾: open with system, show in folder, VS Code, copy absolute / relative path
  • Covers edit, write, str_replace_editor, and Code Dispatch sub-calls
  • Copy follows the UI language (zh / en)

Install

dsh plugin --profile desktop add dsh-diff-card

Refresh the web GUI or restart DSH Desktop. Requires DeepSeek Harness >= 0.1.2-rc.1.

From source:

git clone https://github.com/WongYuYe/dsh-diff-card.git
cd dsh-diff-card
pnpm install
dsh plugin --profile desktop add .

Development

pnpm install
pnpm build
pnpm typecheck
pnpm check:align
pnpm check:join

License

MIT

Content from the project README on GitHub ↗

Comments

Comments live in GitHub Discussions. Sign in with GitHub to post or react.