tui: route device-code auth through app server (#16827)

Addresses #7646
Also enables device code auth for remote TUI sessions

Problem: TUI onboarding handled device-code login directly rather than
using the recently-added app server support for device auth. Also, auth
screens kept animating while users needed to copy login details.

Solution: Route device-code onboarding through app-server login APIs and
make the auth screens static while those copy-oriented flows are
visible.
This commit is contained in:
Eric Traut
2026-04-06 15:47:26 -07:00
committed by GitHub
parent 54faa76960
commit e88c2cf4d7
5 changed files with 322 additions and 434 deletions

View File

@@ -1,3 +1,5 @@
#![cfg(test)]
use std::path::Path;
use codex_app_server_protocol::AuthMode;