- Inicio
- Plugins
- Mejoras de UI
- dsh-diff-card
W
dsh-diff-card
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).
Instalar
dsh plugin --profile web add github:wongyuye/dsh-diff-cardREADME
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
Plugins relacionados
Z
dsh-web (dsh-task-board)
zhu1090093659/dsh-web
7.9khace 15 horasMejoras de UIApache-2.0
Z
dsh-web (dsh-web-all)
zhu1090093659/dsh-web
7.9khace 15 horasMejoras de UIApache-2.0
Z
dsh-web-ui (dsh-task-board)
zhu1090093659/dsh-web-ui
6.3khace 25 díasMejoras de UIApache-2.0
Z
dsh-web-ui (dsh-web-ui-all)
zhu1090093659/dsh-web-ui
6.2khace 25 díasMejoras de UIApache-2.0