dsh-diff-card
Manifest valid★ 2Per-turn file-change card for DSH Desktop: +N −M badges, aligned diffs, and Mac/Windows file open (system app, Finder/Explorer, VS Code).
dsh-diff-card
中文 | English
给 DSH Desktop 用的改动卡。智能体改完文件后,工具行显示 +N −M,轮末列出本轮改过的文件,点开就能审 diff。macOS 和 Windows 都能用系统应用、文件夹或 VS Code 打开文件。
功能
- 编辑 / 写入行显示 +N −M
- 轮末卡片「已编辑 N 个文件」,默认预览 3 条,标题带合计
+xx −xx - 点某一行:展开或收起这份 diff
- 查看更改:展开全部文件并打开 diff,再点一次收起
- 审核:展开本轮全部 diff
- 撤销:把本轮文件恢复到改之前(文件若已被别处改过会拒绝);成功后按钮变成 恢复,再点一次把撤销掉的改动写回。撤销和恢复都会弹出轻量确认
- 行上的 ▾:系统打开、在文件夹中显示、VS Code、复制绝对 / 相对路径
- 覆盖
edit、write、str_replace_editor和 Code Dispatch 子调用 - 文案跟随界面语言(中 / 英)
安装
dsh plugin --profile desktop add dsh-diff-card
装完刷新 Web GUI,或重启 DSH Desktop。需要 DeepSeek Harness >= 0.1.2-rc.1。
从源码:
git clone https://github.com/WongYuYe/dsh-diff-card.git
cd dsh-diff-card
pnpm install
dsh plugin --profile desktop add .
开发
pnpm install
pnpm build
pnpm typecheck
pnpm check:align
pnpm check:join
License
MIT
Compatibility
Versions
| Latest version | Published | Size |
|---|---|---|
| 0.1.0 | — | — |
| 0.1.3 | — | — |
| 0.1.4 | — | — |
| 0.1.2 | — | — |
| 0.1.1 | — | — |
Comments
Loading…
Similar plugins
by HaoyueQin
DeepSeek Harness web plugin: inline +N −M diff badges on edit/write tool rows and a per-turn file change summary card. Scroll-windowed diffs, PTC/code-dispatch fallback, undo — no git required.
★ 7
↓ 187/wk
MIT
TypeScript
Sep 26, 2026
dsh plugin --profile web add dsh-diff-statby senyayume
DSH 插件:在文件变更工具卡片上重绘行级 diff(相同行只渲染一次 + 行内字符高亮),覆盖 run_code(PTC) 与 str_replace_editor,轮末给出改动汇总卡,并可在资源管理器中定位或复制路径。
★ 0
MIT
JavaScript
Sep 22, 2026
dsh plugin --profile web add dsh-edit-diffby joao-paulo-santos
DSH plugin: replace file-change approval prompts with a real diff review (line diffs, word highlights, disk-sourced context, one file per card)
★ 0
MIT
JavaScript
Oct 1, 2026
dsh plugin --profile web add dsh-approval-diffTurns each produced-file chip into a per-file menu: open the file, copy its path, reveal it in the native file browser, or open a terminal cd-ed into its directory.
★ 0
dsh plugin --profile web add dsh-reveal-filesClick a delivered-file card to open the file with the system default application instead of DSH's built-in sidebar preview; hold Shift to keep the original preview.
★ 0
dsh plugin --profile web add dsh-open-nativeby antnesswcm
Replaces the stock bash/pwsh terminal rows in the DSH web UI with shell command cards: long commands soft-wrap with line numbers instead of truncating, plus separate copy-command and copy-output butto
★ 1
↓ 82/wk
MIT
TypeScript
Sep 9, 2026
dsh plugin --profile web add dsh-shell-card-plus