What problem does it solve?
Interacts with live Hunk diff review sessions via CLI. Inspects review focus, navigates files and hunks, reloads session contents, and adds inline review comments. Use when the user has a Hunk session running or wants to review diffs interactively.
Core Features & Use Cases
- Inspect live sessions with commands like hunk session list, get, context, and review to understand the current state of diffs.
- Navigate to specific files and hunks using hunk session navigate with --repo, --file, and --hunk/--old-line/--new-line.
- Reload a session to swap contents or load a new patch or show command via hunk session reload.
- Add and apply inline comments with hunk session comment add and comment apply to document reviews, or manage existing comments with list and rm.
- Guiding a review: narrate and steer the user through the diffs, focusing on what's important and summarizing after actions.
Quick Start
Launch Hunk in your terminal and run hunk session review --repo . to inspect the active session and begin reviewing.