Repository navigation
Restore the last local chat and place on startup - #1785
Draft
ZeroPoint95 wants to merge 4 commits into
Draft
ZeroPoint95 wants to merge 4 commits into
ZeroPoint95 wants to merge 4 commits into
Conversation
ZeroPoint95
marked this pull request as draft
October 6, 2026 21:00
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.
Ordinary local
codeafandcodeaf chatlaunches now reopen the active conversation and main place last left from the same launch directory, instead of choosing a recent chat and deciding a fresh greeting. The bookmark is scoped by profile and launch directory, written atomically on navigation and shutdown, and used by both the local engine and in-process startup paths.Explicit session, picker, headless, and remote launches retain their startup behavior. Missing chats/workspaces and unreadable bookmarks fall back to ordinary startup; setup and takeover screens take precedence. Temporary dialogs, searches, scrolling, task drill-ins, and additional tabs reset. The chat manual and CLI help describe these limits.
The existing completion concurrency tests also needed their command harness updated for the pinned Bubble Tea 2.0.8
compactCmdsbatch implementation. Their failure reproduced on untouched dev; the repaired harness now actually drives the scheduled readers and the original assertions pass.Validation:
make build; focused persistence/startup/restart and completion regression tests;make pr-ready(all fresh touched packages, including all eight tui3 shards, passed). Real tmux launches against an isolated seeded home restored chat, settings, and home through both the local engine and--no-host, including terminal closure.