Releases: jhochenbaum/herdr-hunk-diff
Release list
v0.3.0
- Review targets:
autonow shows uncommitted changes first. When the working tree is clean and the branch is ahead of its base, it shows the branch diff. Setreview.default_target = "branch"to always review the branch diff. (#22) - Configurable base: set
review.base, for example"origin/develop", to choose the branch comparison base. Invalid refs produce a warning and fall back to detection. (#22) - Pane titles: review titles identify the active target and stay accurate across reloads, automatic reviews, and comment delivery. (#22)
- pnpm support: plugin installation falls back to pnpm when npm is unavailable. Set
HUNKDIFF_PACKAGE_MANAGERtonpmorpnpmto choose explicitly. (#23)
Requires Herdr 0.8.0+, Node 22.12+, and npm 10+ or pnpm 10+. Bundles Hunk 0.20.1. Supports macOS, Linux, and Windows; bundled Windows binaries support x64 only.
v0.2.1
hunk 0.20.1. The pinned hunkdiff dependency moves from 0.19.0 to 0.20.1. This is primarily a security patch: hunk now rejects option-like Git ranges and refs in session reloads, closing a path where a caller could inject Git flags and write diff output to arbitrary paths. It also carries hunk 0.20 — a checksum-verified curl installer and hunk update, a searchable directory of community extensions, exact selected-line context and immutable snapshots for integrations, clickable exact diff lines including blank ones, and --fast offloading syntax highlighting for eligible files of 40 or more lines. This plugin drives hunk through its CLI, so the upgrade needs no changes on your side.
No changes to the plugin's own actions, keybindings or configuration in this release.
Requires herdr 0.8.0 or newer, Node 22.12 or newer, macOS, Linux or Windows. The pinned hunkdiff 0.20.1 dependency installs automatically.
Full Changelog: v0.2.0...v0.2.1
v0.2.0
Windows support. Reviews, panes, event hooks and keybindings now work on Windows alongside macOS and Linux. Panes launch through cmd /c so %HERDR_PLUGIN_ROOT% expands, and the pager, worktree and keybinding paths all handle Windows path separators. hunk ships prebuilt binaries for x64 only, so reviews cannot open on Windows on ARM.
Event hooks are more reliable. Manifest event hooks run as direct argv instead of through sh, so they no longer depend on a POSIX shell being present or on shell quoting surviving the round trip.
hunk 0.19.0. The pinned hunkdiff dependency moves from 0.18.1 to 0.19.0, bringing faster diffs in repositories with many untracked files, syntax caches that follow the active review, and provenance-attested release archives. This plugin drives hunk through its CLI, so the upgrade needs no changes on your side.
Requires herdr 0.8.0 or newer, Node 22.12 or newer, macOS, Linux or Windows. The pinned hunkdiff 0.19.0 dependency installs automatically.
Full Changelog: v0.1.0...v0.2.0
v0.1.0
First release.
Review agent-authored changes in hunk without leaving herdr, and send your inline comments back to the agent that wrote them.
Reviewing — review opens the branch diff when you are ahead of base, otherwise the working tree. Dedicated actions cover staged, branch, last-commit and stash reviews. Ctrl-clicking a GitHub commit URL opens that commit, provided the object exists locally.
The round trip — send-review collects your inline hunk comments into one prompt and delivers it to the agent that owns the worktree. Delivered comments are recorded by note id, so the same comment is never sent twice.
Automation — opt in with auto_open to have a review open by itself when an agent finishes a turn. Off by default, because herdr already notifies you when an agent finishes.
Configuration — review target, pane placement, pane reuse, watch mode, untracked handling, prompt template, and hunk's own flags. Presentation stays in hunk's own config; this plugin decides only what to review and when.
Requires herdr 0.8.0 or newer, Node 22.12 or newer, macOS or Linux. The pinned hunkdiff 0.18.1 dependency installs automatically.