feat: add local agent chat history panel - #106
Merged
Merged
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
Add an opt-in chat history panel so users can find an earlier agent conversation and continue it in CanvasTTY without opening a CLI session picker. Selecting an already open conversation focuses its existing terminal; selecting an exited conversation resumes it in the same card.
XDG_DATA_HOME, OMP's active profile and migrated XDG directories, and Pi's session-directory override. Qwen usesQWEN_RUNTIME_DIR/QWEN_HOMEand reads both currentprojectsand legacytmplayouts without duplicate sessions. Windows environment names are case-insensitive and UNC paths are preserved. Hermes reuses the same platform-specific home resolver as terminal launch.The panel is disabled by default. Enable it in Settings.
Verification
npm test: 1,253 passed, 0 failed, 2 skipped (1,255 total), on macOS arm64.npm run test:even: 47 passed, 0 failed.npm run build: passed, including Node and renderer TypeScript checks.npm run audit:secrets: passed for repository source and the built application bundle.codesign --verify --deep --strict; its DMG passedhdiutil verify. R12 contains the additional Cursor adapter and the JSONL boundary correction, verified by fixtures/build rather than a new installed-GUI run. The later data-location, collapsed-active-row and OMP lifecycle fixes have source/test/build validation and are not included in that DMG.Limitations
.envfiles or per-project settings are not automatically discovered. Local history does not scan remote/WSL/container stores.