Repository navigation
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Make local CLI sessions responsive and inspectable. Cache unchanged Claude/Codex transcript summaries, share concurrent Claude refreshes, and serve the cached snapshot during refresh. Honor Codex completion/abort events and show readable conversation names, last prompts, working directories, and actual activity timestamps. Sidebar session rows now open their conversation. Transcript lookup reads the requested session rather than unrelated full logs and excludes developer/system instructions from chat messages.
Risk Level
Medium: filesystem-derived session summaries can become stale if files change without a size or mtime change. The optional read-only Codex SQLite title index falls back to JSONL metadata if unavailable or incompatible. Session history, authentication, command execution, and persisted schemas are unchanged.
Evidence
pnpm lintandpnpm typecheck: pass.Contribution Checklist
pnpm lint,pnpm typecheck, and relevant tests passNotes
The first Claude snapshot refreshes asynchronously; an initially empty snapshot fills on the next poll. The cache retains parsed summaries rather than full transcript contents. Legacy arbitrarily named transcript files use bounded header inspection. Existing age-based scan optimization work such as #979 remains complementary.
End-to-end suite with Chromium installed: 513 pass / 1 fail. The remaining test is OpenCode continuation returning HTTP 500 on this Windows host; that handler is unchanged. No public screenshot is included because the available installation contains private conversations; sidebar interaction is covered by a synthetic-fixture regression test.
Closes #992