At a glance
What it does
A DeepSeek Harness Review tab for inspecting workspace changes and performing confirmation-gated Git operations.
Web Profile
DeepSeek Harness 0.1.2-rc.1 through 0.1.6-alpha.1; Node >=23.6
Evidence-verified
Checked Sep 15, 2026, 2:19 PM UTC
Code-evidenced contributions
What it adds to DSH
Adds a session Review tab for workspace diffs, commit history, comments, file previews, and confirmation-gated Git actions.
Mechanism evidence ↗Before you choose it
DSH Git Review adds a Review tab beside Chat and Trajectory in the web session view. It presents workspace changes against HEAD or two selected refs with a filterable tree, file diffs, a commit graph, history, line comments, and previews. It also exposes guarded Git actions in the same tab, including staging, commits, pushes, branch work, tags, stashes, and conflict handling.
Best for
DeepSeek Harness web users who review agent changes in a local Git workspace and want to inspect or manage them without leaving the session.
Common tasks
- Review changed files with unified, side-by-side, or full-file diffs and search.
- Inspect commit history, blame, file history, and per-commit diffs.
- Add a comment to a changed line and send it to the composer draft.
- Stage selected hunks, commit, push, manage branches or stashes, and resolve merge conflicts after confirmations.
- Preview Markdown, images, SVG, HTML, PDFs, and image diffs from the file tree.
Permissions and data
Operates on the Git repository in the current session workspace through an in-host fenced Git API.
Permissions- Reads workspace files, Git refs, diffs, history, and file versions.
- Can perform Git writes such as staging, discarding, commits, pushes, branch changes, resets, reverts, tags, stashes, and conflict resolution after explicit confirmations.
- May launch external applications for Office document previews.
- Keeps comment drafts per workspace.
- The documented host routes are fenced inside the session workspace repository and re-resolve refs server-side.
- Git must be available on the host PATH.
- Push, fetch, pull, and remote tracking may communicate with the repository's configured Git remotes.
- No credential requirement is declared; Git remote operations may use the host's existing Git authentication.
Limitations
- Requires DeepSeek Harness 0.1.2-rc.1 through 0.1.6-alpha.1, Node >=23.6, and Git on the host PATH.
- Outside a Git repository, it offers file browsing and a one-click Git initialization option rather than the full review workbench.
- The package declares a prepare lifecycle script that builds it.
- Large views are capped or truncated, including a 20,000-row render cap, 2 MiB per-file diff cap, and 8 MiB caps for large Git answers and previews.
What DSHub checked
- The pinned source contains a structurally verified DSH bundle manifest and Cordis patch.
- The manifest declares a web client and the documented DeepSeek Harness peer-dependency range.
- The README documents the Review tab, fenced Git API, confirmation behavior, supported actions, and installation command.
What DSHub did not check
- Installation and runtime behavior were not executed for this curation record.
- Registry package contents were not audited.
- No successful compatibility test against a specific Harness build or Git remote was supplied.
Pinned install
Install DSH Git Review
This plugin bundle does not have a DSH Plugin install action. Use its source documentation for the delivery method.
Maintainer source
Project README
DSH Git Review
<p align="center">English | <a href="README.zh.md">中文文档</a></p><p align="center"> <a href="https://www.npmjs.com/package/dsh-git-review"><img src="https://img.shields.io/npm/v/dsh-git-review?style=flat-square" alt="npm version"></a> <a href="https://www.npmjs.com/package/dsh-git-review"><img src="https://img.shields.io/npm/dt/dsh-git-review?style=flat-square" alt="npm downloads"></a> <img src="https://img.shields.io/badge/dsh-plugin-4D6BFE?style=flat-square&logo=deepseek&logoColor=white" alt="dsh plugin"> <img src="https://img.shields.io/badge/dsh-0.1.2--rc.1..0.1.6--alpha.1-4D6BFE?style=flat-square" alt="harness 0.1.2-rc.1 through 0.1.6-alpha.1"> <img src="https://img.shields.io/badge/platform-web-8A9CF5?style=flat-square" alt="platform: web"> <a href="LICENSE"><img src="https://img.shields.io/badge/License-MIT-yellow.svg?style=flat-square" alt="License: MIT"></a> <img src="https://img.shields.io/badge/i18n-zh%20%7C%20en-success?style=flat-square" alt="i18n: zh | en"> <a href="https://awesome-dsh-plugin.com"><img src="https://awesome-dsh-plugin.com/badge.svg" alt="Awesome DSH Plugin"></a> <a href="https://github.com/HaoyueQin/dsh-git-review/graphs/commit-activity"><img src="https://img.shields.io/github/commit-activity/t/HaoyueQin/dsh-git-review?style=flat-square" alt="Commit activity"></a> <a href="https://github.com/HaoyueQin/dsh-git-review/commits"><img src="https://img.shields.io/github/last-commit/HaoyueQin/dsh-git-review?style=flat-square" alt="Last commit"></a> </p>A Review tab plus fenced git workbench for DeepSeek Harness: everything an agent changed, laid out for a decision — file tree, diffs, commit graph — with guarded git operations in the same place.
<p align="center"> <img src="docs/demo.svg" alt="DSH Git Review demo" width="720"> </p>Screenshots
<p align="center"> <img src="docs/review-changes.png" alt="Changes view: syntax-highlighted file with the filterable tree" width="720"> <br> <em>Changes view — syntax-highlighted file with the filterable tree</em> </p><p align="center"> <img src="docs/review-graph.png" alt="Graph view: commit detail with side-by-side diff and word highlights" width="720"> <br> <em>Graph view — commit detail with side-by-side diff and word highlights</em> </p>What it does
DSH Git Review registers a Review tab next to Chat and Trajectory in the session view. It shows the workspace repository against HEAD — or any two refs — and lets you act on what you see without leaving the tab:
- Review first: filterable file tree with status badges, side-by-side / unified / full-file diffs, hunk folding, word-level change highlights, syntax coloring, and diff search across file names, diff text, and file content. Keyboard-first:
j/kmove between files,/focuses search. - Decide with history: a lane commit graph with per-commit files and diffs, blame gutters, per-file history, and reading any file version from history.
- Act under guard: stage / unstage / discard per file or per hunk, commit (plus amend, Ctrl+Enter), commit-and-push, and push; branches (create / switch / rename / delete / merge / track remotes) with fetch and pull; history operations (reset / revert / cherry-pick, per-commit actions from the graph); lightweight tags (create / delete / push); stash; and merge-conflict resolution (ours / theirs, continue / abort). Every write needs explicit confirmation, destructive ones ask twice, and everything locks while the agent is running.
- Close the loop: comment on any diff line and drop it into the composer draft, mark files reviewed (auto-cleared when the file changes again), and keep comment drafts per workspace.
- Preview files: markdown renders with the shell's own Markdown engine, HTML / images / SVG show inline, PDFs open sandboxed — a script-dependent HTML page gets a notice strip with an open-in-browser shortcut instead of sitting black — every preview has a source view toggle, and office documents open in your external apps from the tree's right-click menu.
- Picture diffs: image changes (PNG / JPG / GIF / WebP / BMP / AVIF / ICO / SVG) render as pictures right inside the diff view — 2-up (side by side, or stacked in unified), swipe, onion skin and a difference blend, with the source diff one click away.
Preferences (diff layout, default search scope, graph shape, matching, whitespace, syntax) live in the harness settings Plugins tab and sync instantly with the Review tab.
Install
From npm:
dsh plugin --profile web add dsh-git-review
dsh web
Or from a local tarball:
pnpm install
pnpm build
pnpm pack
dsh plugin --profile web add ./dsh-git-review-<version>.tgz # the exact filename pnpm pack prints
dsh web
Requires DeepSeek Harness 0.1.2-rc.1 through 0.1.6-alpha.1 (prerelease series are pinned one by one in peerDependencies) and git on the host PATH. Outside a git repository the tab offers file browsing with one-click git init instead of the review workbench — never a blank screen.
Checks
pnpm typecheck # strict, noEmit
pnpm check:parse # pure-function regression (Node >= 23.6 native TS stripping)
pnpm check:git # real-git fixture integration (repositories under .tmp-check-git/)
pnpm build # lib/index.js (node) + lib/client.js (browser factory bundle)
How it works
- Host half: an in-process cordis plugin serving a fenced prefix route for versioned API actions over JSON (non-JSON bodies get 415, which also closes the classic no-cors write vectors). Every path is fenced inside the session workspace repository, every ref is re-resolved server-side, commit ids only travel as 40-hex, and GIT_DIR-style environment hijacks are scrubbed.
- Client half: a conversation-view slot component; the host route is optional — without it the tab says so instead of erroring.
- Scale guards: 20k-row render cap, 2 MiB per-file diff cap, 500-commit graph pages with load-more, an 8 MiB streaming byte cap on the largest git answers plus a separate 8 MiB preview cap (both truncate instead of buffering whole), and exact-count probing within a 32 MiB per-status budget.
- Interface languages: Simplified Chinese and English, following the harness locale; dark and light themes via semantic tokens.
Activity
<p align="center"> <a href="https://gitstock.org/HaoyueQin/dsh-git-review"><img src="https://gitstock.org/HaoyueQin/dsh-git-review/stock.svg" alt="HaoyueQin/dsh-git-review GitStock K-Line Chart"></a> </p>MIT © HaoyueQin
Operate deliberately
Install and manage
Prerequisites and target Profile
Target: Web Profile
Delivery: Dsh Bundle Git — HaoyueQin/dsh-git-review#a99344b6c2f8c6504d9783ae9510452925a5cfe7。
Verify, update, and remove
Show lifecycle commands
dsh plugin --profile web listCompatibility and access
DeepSeek Harness web plugin; requires Git on the host PATH: DeepSeek Harness 0.1.2-rc.1 through 0.1.6-alpha.1; Node >=23.6。
Review compatibility evidence ↗
Risk facts
Can stage, discard, commit, push, change branches, reset, revert, cherry-pick, tag, stash, and resolve conflicts in the workspace repository.
Evidence ↗Can open office documents in external applications from the file-tree context menu.
Evidence ↗Evidence and editorial reviewManifest, Bundle patch, distribution and freshness
Immutable evidence
Review status and source activity
Review Git-write permissions before installing, especially if the session workspace has a configured remote.
AI reviewed Sep 15, 2026, 2:20 PM UTC。GitHub facts last checked Sep 15, 2026, 2:20 PM UTC。
No material source change has been recorded since this evidence baseline.