feat: single app-server bootstrap in TUI (#16582)

Before this, the TUI was starting 2 app-server. One to check the login
status and one to actually start the session

This PR make only one app-server startup and defer the login check in
async, outside of the frame rendering path

---------

Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
jif-oaiandCodex authored and GitHub committed 2026-04-08 13:49:06 +01:00
1 parent d47b755aa2
commit 2bbab7d8f9
7 files changed
+86 -106

No files matched your search

@@ -455,7 +455,10 @@ impl ChatComposer {
realtime_conversation_enabled: false,
audio_device_selection_enabled: false,
windows_degraded_sandbox_active: false,
is_zellij: codex_terminal_detection::terminal_info().is_zellij(),
is_zellij: matches!(
codex_terminal_detection::terminal_info().multiplexer,
Some(codex_terminal_detection::Multiplexer::Zellij {})
),
status_line_value: None,
status_line_enabled: false,
active_agent_label: None,