Per-turn file-change card for DSH Desktop: +N −M badges, aligned diffs, and Mac/Windows file open (system app, Finder/Explorer, VS Code).
Install
# from npm (prebuilt)
dsh plugin --profile web add dsh-diff-card
# from a prebuilt release tarball
dsh plugin --profile web add "https://github.com/WongYuYe/dsh-diff-card/releases/latest/download/dsh-diff-card.tgz"
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:WongYuYe/dsh-diff-card
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
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
Links
More in this category
zhu1090093659/dsh-web#packages/dsh-task-board★ 9673
Task board for the dsh web GUI: a sidebar multi-column kanban whose cards run in real DSH agent sessions and can also be scheduled with cron expressions, executed host-side even with the browser closed.
zhu1090093659/dsh-web#packages/dsh-web-all★ 9673
Plugin and skin collection for the DSH Web UI: task board, Git graph, right-side panel, remote mobile UI, pet, live token stats, and a skin center.
MeteorNOX/DeepSeek-Balance-Whale-Widget★ 6324
A fixed-corner whale widget for the DSH web GUI — balance, today's usage and per-turn cost with peak/off-peak pricing, editable balance-alert and daily-budget bubbles, a module-based custom bubble queue with A/B weighted choices and random lines or images, 30+ vendor templates (OpenAI, OpenRouter, Kimi, SiliconFlow, Ark, Zhipu, MiniMax and more) with per-model balance and subscription quota, plus task-end sound, imported audio, custom roles and a resource manager. Local-only, no telemetry.
ccch1mneyyy/dsh-TUI★ 6018
Claude Code-style full-screen terminal UI: pixel-whale header, live status line, and streaming thought expansion.
omdsh-dev/DSH-better-sidebar★ 4645
Full sidebar workbench with file rendering and editing, terminal, Git, and subagents; third-party plugins can register new tabs.
Devin-AXIS/deepseek-design#deepseek-idesign★ 1607
Visual design studio for websites, app prototypes, posters, cards, reports, and magazines, with templates, direct element editing, selection-aware AI draft handoff, and export.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.