Commit 6003346
committed
Two-pane session browser for /resume with AI-naming hook
Replace the single-list autosave picker with a PROJECTS|sessions
browser: sessions grouped by scope_key (legacy scope-less sessions in
an '(unscoped)' bucket pinned last), date-bucketed two-line rows with
lazy title derivation cached back into the sidecar, global search
reachable from anywhere, sort cycling, d-then-y delete, and a message
preview overlay. Every composed row obeys a fit contract (left
truncates, right chrome drops whole units, never exceeds terminal
width) with an invariant test at 60-140 cols.
New session_browser_open callback hook fires with the browser's live
metadata dicts so plugins (session_namer) can enrich titles/tags in
the background and surface them on repaint.1 parent b19a0bf commit 6003346
6 files changed
Lines changed: 1630 additions & 701 deletions
File tree
- code_puppy
- command_line
- tests
- command_line
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| 74 | + | |
74 | 75 | | |
75 | 76 | | |
76 | 77 | | |
| |||
159 | 160 | | |
160 | 161 | | |
161 | 162 | | |
| 163 | + | |
162 | 164 | | |
163 | 165 | | |
164 | 166 | | |
| |||
590 | 592 | | |
591 | 593 | | |
592 | 594 | | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
593 | 607 | | |
594 | 608 | | |
595 | 609 | | |
| |||
0 commit comments