Repository navigation
feat(sessions): live-only filter, click to open, copy resume cmd, fitted layout - #60
Conversation
…ted layout - ^l in the picker and --live (list, query, picker) show only sessions running in a terminal now; SearchOpts.IDs restricts every query path - a single click opens the session (left-click:accept) - ^y copies `cd '<cwd>' && claude --resume '<id>'` for the highlighted row - rows size their title/project columns from FZF_COLUMNS to fit the list pane; header split into a status line and a key line that fit - fix the preview-window threshold: fzf compares it to the preview width, so the side-by-side split now switches at 140 terminal columns (50/50) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
WalkthroughThe sessions command now supports live-only filtering across discovery and indexed search. Search queries accept session-ID restrictions. The picker adds a live-only toggle, copy-resume command, and terminal-width-based row layout. ChangesSession Search and Picker
Priority: ⬇️ Low Estimated code review effort: 3 (Moderate) | ~25 minutes Change: Feature Sequence Diagram(s)sequenceDiagram
participant SessionsCommand
participant CurrentLiveIDs
participant SearchService
participant SearchIndex
SessionsCommand->>CurrentLiveIDs: Get live session IDs
CurrentLiveIDs-->>SessionsCommand: Return IDs
SessionsCommand->>SearchService: Query with session IDs
SearchService->>SearchIndex: Search with session ID scope
SearchIndex-->>SearchService: Return restricted results
Suggested labels: Merge Risk | ⚪ Minimal · up to
|
Summary
^lin the picker and--liveonaimux sessions(list, query, picker) show only sessions running in a terminal now.SearchOpts.IDsrestricts every query path (keyword, semantic, hybrid, browse); an empty live set shows nothing rather than everything.left-click:accept), same as Enter.^ycopiescd '<cwd>' && claude --resume '<id>'for the highlighted session and confirms on its own header line.FZF_COLUMNSto fit the list pane; the header is split into a status line and a key line that both fit.Test plan
go test ./...(44 packages ok),golangci-lint0 issues--livelist/query, click and^ybindings, row/header widths, threshold🤖 Generated with Claude Code
Summary by CodeRabbit