Session change-review for DeepSeek Harness: tracks write/edit tool calls and renders VS Code-style side-by-side diffs via diff2html, auto-following the theme, with subagent aggregation and one-click revert.
Install
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:xwh5/dsh-change-review
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
DeepSeek Harness (DSH) session change review plugin — tracks write/edit tool calls and shows side-by-side diffs in the "Review" tab. Read-only review with one-click revert; no external editor required.
✨ Features
| Feature | Description |
|---|---|
| Auto tracking | Listens to write/edit tool calls, records before/after content and timestamps |
| Side-by-Side Diff | Powered by diff2html |
| Theme following | Automatically adapts to DSH dark/light theme |
| Syntax highlighting | Code syntax highlighting in diffs |
| Session isolation | Each session only shows its own changes |
| Subagent aggregation | Subagent changes aggregate into the root parent session |
| Real-time updates | SSE live push of change state |
| One-click revert | Revert a single change or an entire file |
| Per-turn review card | Shows this turn's changes after each turn; native produced-file previews stay untouched |
📦 Install
dsh plugin --profile web add github:xwh5/dsh-diff-review
Refresh the web page after installing.
🚀 Usage
- Open the DSH Web UI
- After the AI modifies files via write/edit tools
- Click the "Review" tab above the conversation
- Switch between "This session" and "Latest turn" views
📁 Layout
dsh-diff-review/
├── lib/
│ ├── index.js # host: tool tracking, HTTP routes, revert logic
│ ├── client.js # client: React components, diff2html rendering
│ └── vendor/
│ ├── diff2html.min.js
│ ├── diff2html-ui.min.js
│ └── diff2html.min.css
├── cordis.patch.yml
├── package.json
└── README.md
🙏 Credits
- Diff library: diff2html by rtfpessoa
📄 License
MIT
Links
More in this category
zhu1090093659/dsh-web#packages/dsh-task-board★ 6885
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★ 6885
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.
omdsh-dev/DSH-better-sidebar★ 3338
Full sidebar workbench with file rendering and editing, terminal, Git, and subagents; third-party plugins can register new tabs.
ccch1mneyyy/dsh-TUI★ 2837
Claude Code-style full-screen terminal UI: pixel-whale header, live status line, and streaming thought expansion.
MeteorNOX/DeepSeek-Balance-Whale-Widget★ 1726
A fixed-corner whale widget showing DeepSeek balance, today usage, per-turn cost and random talk lines, with sound effects and a menu.
Devin-AXIS/deepseek-design#deepseek-idesign★ 722
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.