parley-cli 0.1.0

Terminal-first review tool for AI-generated code changes
Documentation
# Keybindings

## Navigation

- `h/l`: previous/next file
- `j/k`: down/up line
- `PgUp/PgDn`: page scroll
- `Ctrl+u/Ctrl+d`: half-page scroll
- `g/G`: top/bottom
- `zz`: center active line

## Search and jump

- `:<line>`: go to line
- `/query`: set search query
- `n/p`: next/previous search match

## Threads

- `m` or `c`: create thread on selected line
- `r`: reply to selected thread
- `N/P`: next/previous thread
- `[/]`: previous/next selected thread in file
- `e`: toggle selected thread expansion
- `Shift+E`: cycle thread density
- `a`: mark addressed
- `o`: mark open
- `f`: force-address selected thread
- `u`: re-anchor selected thread to the currently selected diff line

### File references inside the comment box

- Type `@` in the comment or reply box to open the file reference picker.
- `↑/↓` or `PgUp/PgDn`: move through file matches
- `Enter` or `Tab`: accept the selected file and enter line-picker mode
- While line-picker mode is active, Parley opens that file in the current diff pane and tells you to select a diff line in the editor itself.
- `↑/↓`, `j/k`, `PgUp/PgDn`, `g/G`: move to the target diff line
- `Enter` or `Tab`: insert `@path:line` for the currently selected line
- Mouse: click a diff line while line-picker mode is active to insert that line immediately
- After inserting the reference, Parley returns to the file and diff line where you started writing the draft.
- `Esc`: cancel the picker; if the file is already inserted, it leaves the bare `@path` in place

### Comment editor word motions

- `Alt+b`: move backward one whitespace-delimited word in the draft
- `Alt+d`: delete forward through the next whitespace-delimited word in the draft

## Review state

- `s`: set review state `open`
- `w`: set review state `under_review`
- `d`: set review state `done` (guarded)
- `Shift+D`: force set `done`

## AI

- `x`: AI refactor selected thread
- `X`: AI reply selected thread
- `A`: AI refactor review
- `K`: cancel active AI run
- `H`: toggle AI stream popup
- `L`: open logs in `less`

## Layout and tools

- `?`: open help docs
- `Ctrl+k`: command palette
- Command palette `Open Commit Picker`: open recent commits, filter by message or SHA, and apply the selected commit as the active diff source
- Command palette `Open Review Picker`: open reviews, filter by name or state, and apply the selected review as the active comment context
- Command palette `Create Review`: create a new review context and switch to it
- `Ctrl+f`: file filter input
- `Shift+U`: edit user name
- `V`: toggle split diff
- `S`: toggle side-by-side diff
- `Tab`: switch active diff pane
- `</>`: resize files pane
- `b`: toggle thread navigator

## Help pane

- `Tab` / `Shift+Tab` or `h/l`: switch help doc tab
- `1-9`: direct tab select
- `j/k`, `PgUp/PgDn`, `g/G`: scroll help content
- `</>`: zoom help pane
- `Esc` or `?`: close help pane