Repository navigation
Releases
Releases · adisagar2003/diffotator
diffotator 2.1.0 — install with npm on any OS
diffotator 2.1.0 — install with npm, on any OS
diffotator is now on npm. Install is the same on macOS, Linux and Windows:
npm install -g diffotator
diffotator setupThen ask your agent: use diffotator to review <pull request link>
New
npm install -g diffotator— no moregit clone+ln -sf+ editing your PATH. Just trying it?npx diffotator.diffotator setup— installs the/diffotatorcommand for Claude Code and prints the instructions file to add to any other agent's rules. Run it again after upgrading.- From source still works:
git clone … && cd diffotator && npm link && diffotator setup.
Fixed
- Windows: the browser now opens.
startis built into cmd.exe, so it is run throughcmd /c start. - Windows: Full file and domain docs load again. 2.0's "stay inside the repo" check compared git's
C:/…paths with WindowsC:\…paths and refused every file; both are now normalised first.
Other
- MIT
LICENSEfile and full npm package details.
diffotator 2.0 — walkthrough mode
diffotator 2.0 — review a change as a walkthrough
Big changes are hard to review because a file list has no shape. diffotator now opens every review on a walkthrough.
What's new
- Home page — What this change does (summary, key changes, decisions, the one place to look hardest) beside Know this first (the domain background, linked to the docs it came from).
- The map — the change grouped into blocks by behaviour, drawn with React Flow and laid out by ELK, so arrows route around boxes. Blocks hold sub-blocks or files; files hold their tests. Labelled arrows between blocks, dashed arrows for file-to-file calls, and hovering a box lights its own arrows.
- Drill in like a website — blocks, files, commits and domain docs open in the same spot, with a breadcrumb, ← Back and browser Back.
- Keyboard first —
←↑→↓move between boxes,⏎opens,1–9jump,⌫/Escback,j/kwalk files in walkthrough order (tests right after their file),⇧Tfile ↔ tests,/or⌘Kgo to any file,⇧CClassic,?for all keys. - Classic — the full git client is one click away.
/diffotator <MR or PR link>— checks the change out into a temporary worktree, reads the diff, the ticket and your repo's own docs, writes the walkthrough, and opens it. On someone else's change it never edits their branch:question:comments are answered in chat, the rest come back as draft review comments posted only when you say so.- No walkthrough? The map groups the change by folder.
- Stronger diff and syntax colours in both views.
Upgrade
cd diffotator && git pull
cp claude/diffotator.md ~/.claude/commands/diffotator.mdStill no npm install: React, React Flow and ELK ship prebuilt in web/vendor/.
Under the hood
--walkthrough <path>andGET /api/walkthrough; the walkthrough is repaired against the scope's changed files so every file appears exactly once.- Hardening from review: block ids can no longer hang the server, term sources must stay inside the repo, and
/api/filerefuses paths outside it.
