mirror of
https://github.com/openai/codex.git
synced 2026-10-22 17:58:46 +00:00
## What changed - Add `InitialBackendSessions` to carry the initial session and additional sessions into the TUI event loop. Existing launches continue to supply a single session. - Shut down all supplied sessions on startup errors, cancellation, and early exits. - Register the under-development `tui_multi_backend` feature flag, disabled by default, and expose it in the configuration schema. ## Testing Add a regression test that fails bootstrap and verifies that both initial backends receive shutdown requests. Update multi-source event polling coverage to use the new initialization path. GitOrigin-RevId: e5db439552de97594e6f13360b90be71256ab2f0