Skip to content

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.

Terminal window
npm i -g hunkdiff@0.13.1

Hunk 0.13 is no longer the current release. See the latest release or all install options.

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.

May 18, 2026

  • Added an e shortcut to open the selected diff file in $EDITOR.
  • Added g and G keyboard aliases for jump-to-top and jump-to-bottom review navigation.
  • Added session-persistent user-authored inline notes with c to 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.
  • Clarified inline note draft actions by labeling buttons as Save (^S) and Cancel (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 --watch refreshes 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.

Newer: Hunk 0.14 · Older: Hunk 0.12 · All releases