BrambleXu/dsh-revdiff
Native interactive diff review for DeepSeek Harness: reads a Git unified diff, parses it into files, hunks and line locations, and presents its own terminal review interface where you add annotations (issue / suggestion / question / praise) that are queued as the Agent's next durable follow-up turn. Commands: /revdiff (all tracked working-tree changes vs HEAD), --staged, --unstaged, a base revision, and path filters after --. Navigation: ↑/↓ or k/j move between diff lines, n/p between hunks, ]/[ or →/← between files, a adds an annotation, e toggles edit. Configurable git execution, diff context, size and time limits, terminal grace period and comment length.
Install
dsh plugin --profile demo add ./dsh-revdiffAdd this checkout to a Harness profile: dsh plugin --profile demo add ./dsh-revdiff (local checkout install; no npm package — npm 404 verified 2026-08-30). The only external runtime requirement is Git in the same execution world as Harness. The Harness process must own an interactive terminal.
Compatibility
DSH web/TUI profile; Node.js ^22.19 or >=24; TypeScript 5.9; Vitest tests; requires git CLI; MIT.
Details
- Repo: BrambleXu/dsh-revdiff
- Category: Coding & Development
- Stars: 2
- Version: GitHub source / local checkout (no npm package)
- Last push: 2026-08-14
- First seen: 2026-08-14
Recent updates
Terminal interactive diff review; file/hunk/line parsing; annotations queued as the agent's next turn; /revdiff with --staged/--unstaged/base/path filters; vim-style navigation.
FAQ
- What does /revdiff review by default?
- All tracked working-tree changes against HEAD, including staged and unstaged changes; --staged reviews the index and --unstaged reviews only worktree changes.
- Where do my annotations go?
- Submitted annotations are queued as the Agent's next durable follow-up turn — the review becomes actionable work.
- What are the requirements?
- Git in the same execution world as Harness, and the Harness process must own an interactive terminal.
Alternatives
PerryLink/dsh-auto-review · CanglongCl/dsh-web-review · left0ver/dsh-file-review