mirror of
https://github.com/openai/codex.git
synced 2026-11-26 23:40:43 +00:00
## Why Scrollback mode could switch between a parent conversation and a live side chat, but it could neither save side chats nor reopen them after resuming the parent. ## What changed - With the TUI workspace feature enabled and a compatible local backend, save new scrollback side chats as attached threads. Use `Ctrl+/` to discover saved chats and cycle from the parent through them and back. - Show the current side chat's position and loading status. Keep input in the source draft while a switch is pending, and let `Esc` cancel it. - Delete the parent and its saved side chats in one `thread/delete` request. The experimental `savedSideChatIds` parameter lets the server verify that each requested chat belongs to the parent and check for blocking attachments before deleting anything. ## Testing Add coverage for cycling after resume, preserving pasted drafts during a pending switch, and limiting parent deletion to verified saved side chats. GitOrigin-RevId: 7c797f1b69dff73ff0343eb73dd3c048e856b319
codex-protocol
This crate defines the "types" for the protocol used by Codex CLI, which includes both "internal types" for communication between codex-core and codex-tui, as well as "external types" used with codex app-server.
This crate should have minimal dependencies.
Ideally, we should avoid "material business logic" in this crate, as we can always introduce Ext-style traits to add functionality to types in other crates.