Hunk 0.13
May 18, 2026 – May 19, 2026 · 2 releases
Hunk 0.13 adds human-authored inline notes saved with c, an e shortcut to open the selected file in $EDITOR, and g/G jump navigation.
npm i -g hunkdiff@0.13.1Hunk 0.13 is no longer the current release. See the latest release or all install options.
Related documentation
Section titled “Related documentation”Releases in this series
Section titled “Releases in this series”0.13.1
Section titled “0.13.1”May 19, 2026
- Hid the inline add-note affordance while scrolling and only show it after deliberate pointer movement, so it no longer flickers during review navigation.
- Hardened the local session daemon against browser-originated requests by validating Host and Origin headers and requiring JSON content types for API posts.
- Disabled the generic broker HTTP API by default so Hunk's supported session API is the only app-daemon command surface.
- Bounded session daemon memory by capping HTTP request body and websocket message sizes and rejecting session registrations with oversized file, hunk, patch, comment, or note payloads.
0.13.0
Section titled “0.13.0”May 18, 2026
- Added an
eshortcut to open the selected diff file in$EDITOR. - Added
gandGkeyboard aliases for jump-to-top and jump-to-bottom review navigation. - Added session-persistent user-authored inline notes with
cto draft/save notes. - Added
hunk session comment list --type <live|all|ai|agent|user>so agents can read human-authored notes through the comment workflow.
Changed
Section titled “Changed”- Clarified inline note draft actions by labeling buttons as
Save (^S)andCancel (Esc).
- Fixed draft note focus handling so app shortcuts resume after the note textarea blurs without discarding the draft.
- Preserved the resolved auto theme across
--watchrefreshes instead of falling back to the default dark theme. - Fixed standalone release archive generation so staged npm package directories are not accidentally packaged as GitHub release assets.