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 authored and GitHub committed 2026-04-06 15:47:26 -07:00
1 parent 54faa76960
commit e88c2cf4d7
5 files changed
+322 -434

No files matched your search

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