mirror of
https://github.com/openai/codex.git
synced 2026-10-28 16:06:15 +00:00
## Why The TUI reads the account to determine login status, then bootstrap reads the same account again during startup. ## What changed - Preserve the login-status account response and pass it to app-server bootstrap, avoiding the second account request. - Discard the prefetched response when onboarding or a resume-directory prompt allows authentication to change, when a picker replaces the app-server session, or when the model provider changes. ## Testing - Verify bootstrap reuses a prefetched account without issuing another account request and retains its account metadata. - Verify normal bootstrap still reads the account when none was prefetched. - Verify matching resume directories skip the interactive prompt. GitOrigin-RevId: 8da1b9104b9e7f048c4254399b126116798d641a