The draft browser
Layout, navigation, and visual states
pcr show and pcr bundle (no args) open the same three-pane TUI. It's the main place you'll spend time after the watcher is running — inspecting drafts, multi-selecting them, naming bundles, and pushing.
Layout
┌─ HEADER ────────────────────────────────────────────────────────────┐ │ DRAFTS ▼ · ✓ 2 selected │ Detail · #67 of 100 │ │ 1 fix the bug │ ❯ PROMPT │ │ ▶ 2 add reset link │ "fix the auth bug" │ │ ✓ 3 wire up redux │ RESPONSE │ │ 4 refactor api │ Done — applied 2 edits. │ │ 5 bundle name prompt │ METADATA │ │ │ source · cursor │ │ │ branch · main │ │ │ project · pcr-dev │ │ │ │ ┌─ Changed files ─┐ │ │ │ │ src/auth.ts │ │ │ │ │ src/middle.ts │ └─────────────────────────────────────────────────────────────────────┘ └─────────────────┘ j/k move · enter/space select · J/K range · : 1-5,8 · a all · b bundle · q quit
Three panes
- –Drafts list — every captured draft for the current scope, newest at the bottom. The title shows total + selection count.
- –Detail — full prompt, response (truncated at 800 chars), and metadata for the focused draft.
- –Sidebar — changed files and tool calls. Hidden automatically when both would be empty so the detail pane gets the column.
Visual states
Selection and focus are orthogonal — both can apply to the same row.
| State | Index color | Preview | Row background |
|---|---|---|---|
| idle | muted gray | normal | — |
| focused (cursor here) | muted gray | normal | dark blue |
| selected (will be bundled) | green bold | bold white | — |
| focused + selected | green bold | bold white | dark blue |
✦
The drafts pane title always shows what b will bundle: Drafts · 100 · ✓ 3 selected.
Recency cap
By default the list shows the most recent 100 drafts. The footer tells you when older drafts are hidden:
j/k move · enter select · b bundle · q quit (364 older hidden — --all to view)
Pass --all to widen the view, or pcr gc --drafts-older-than 14d to permanently prune old drafts. When pcr show <n> lands in the hidden tail, the browser auto-expands so the requested draft stays reachable.