mirror of
https://github.com/openai/codex.git
synced 2026-12-06 01:10:58 +00:00
## Why Local daemons use a remote request handle even though their login callback is local, so the TUI skipped opening the browser. Login completion could also arrive while the browser was opening, before the TUI had recorded the active login. ## What changed - Use `AppServerTarget` to open the login URL for embedded servers and local daemons, while continuing to skip automatic browser opening for remote workspaces. - Set the pending login state and schedule a frame before opening the browser so completion notifications can match the active login. ## Testing Add regression tests for browser opening across embedded, local daemon, and remote targets, and for login completion during browser opening. GitOrigin-RevId: 3feceb877e6131bfd0671c3556314c6c7fd4a677