Skip to content

Releases

diffotator 2.1.0 — install with npm on any OS

Choose a tag to compare

@adisagar2003 adisagar2003 released this 22 Oct 22:54

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 setup

Then ask your agent: use diffotator to review <pull request link>

New

  • npm install -g diffotator — no more git clone + ln -sf + editing your PATH. Just trying it? npx diffotator.
  • diffotator setup — installs the /diffotator command 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. start is built into cmd.exe, so it is run through cmd /c start.
  • Windows: Full file and domain docs load again. 2.0's "stay inside the repo" check compared git's C:/… paths with Windows C:\… paths and refused every file; both are now normalised first.

Other

  • MIT LICENSE file and full npm package details.

diffotator 2.0 — walkthrough mode

Choose a tag to compare

@adisagar2003 adisagar2003 released this 22 Oct 20:58

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.

diffotator's 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–9 jump, ⌫/Esc back, j/k walk files in walkthrough order (tests right after their file), ⇧T file ↔ tests, / or ⌘K go to any file, ⇧C Classic, ? 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.md

Still no npm install: React, React Flow and ELK ship prebuilt in web/vendor/.

Under the hood

  • --walkthrough <path> and GET /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/file refuses paths outside it.