Adam Perry @ OpenAI and GitHub
31372078d1
auth: move domain mode below app wire types ( #29721 )
...
## Why
Authentication mode is a domain concept used by login, model selection,
telemetry, and transports. Keeping the canonical type in app-server
protocol forces those lower-level crates to depend on an unrelated wire
API.
## What changed
- Added canonical `codex_protocol::auth::AuthMode` domain values.
- Kept the app-server wire DTO unchanged and added an explicit app-side
conversion.
- Removed production app-server-protocol dependencies from login,
model-provider-info, models-manager, and otel call paths.
## Stack
This is PR 2 of 6, stacked on [PR
#29714 ](https://github.com/openai/codex/pull/29714 ). Review only the
delta from `codex/split-json-rpc-protocols`. Next: [PR
#29722 ](https://github.com/openai/codex/pull/29722 ).
## Validation
- Auth and login coverage passed in the focused protocol/domain test
run.
- App-server account and auth conversion coverage passed.
2026-06-24 03:10:20 +00:00
..
2026-06-08 11:39:08 +02:00
2026-06-09 12:48:04 -07:00
2026-05-26 20:59:47 -07:00
2026-06-11 18:16:39 -07:00
2026-06-22 13:19:40 -07:00
2026-06-23 17:23:38 -07:00
2026-05-07 15:44:17 -07:00
2026-06-24 03:10:20 +00:00
2026-06-18 11:54:49 -07:00
2026-06-11 21:28:52 -07:00
2026-06-23 16:49:13 -07:00
2026-06-23 12:27:14 -07:00
2026-06-24 03:10:20 +00:00
2026-06-23 00:02:33 +00:00
2026-06-18 19:31:19 +00:00
2026-06-11 18:16:39 -07:00
2026-05-08 04:07:59 +00:00
2026-06-22 04:25:07 -07:00
2026-06-13 21:43:39 -07:00
2026-06-18 20:29:01 +00:00
2026-06-24 03:10:20 +00:00
2026-06-22 13:19:40 -07:00
2026-06-22 13:03:11 -07:00
2026-06-11 18:16:39 -07:00
2026-06-11 18:16:39 -07:00
2026-06-23 15:14:13 -07:00
2026-06-11 22:37:26 -07:00
2026-06-23 15:14:13 -07:00
2026-06-22 23:56:16 -07:00
2026-06-01 21:25:42 -07:00
2026-06-22 17:56:04 -07:00
2026-05-07 15:44:17 -07:00
2026-06-15 20:10:53 -07:00
2026-06-23 17:46:54 -07:00
2026-06-21 13:35:25 -07:00
2026-06-23 19:42:13 -07:00
2026-06-18 20:29:01 +00:00
2026-06-22 11:11:25 -07:00
2026-06-24 03:10:20 +00:00
2026-06-17 17:20:53 -07:00
2026-06-24 03:10:20 +00:00
2026-06-23 23:26:06 +01:00
2026-06-05 15:41:13 -07:00
2026-06-23 19:15:59 +00:00
2026-06-24 01:06:29 +00:00
2026-06-23 22:37:31 +00:00
2026-06-15 21:53:47 -07:00
2026-06-13 21:43:39 -07:00
2026-06-23 18:51:49 -07:00
2026-06-19 12:47:53 -07:00
2026-06-22 11:11:25 -07:00
2026-06-23 10:13:27 -07:00
2026-05-26 15:59:25 -07:00
2026-05-07 15:44:17 -07:00
2026-06-17 10:00:42 -07:00
2026-05-28 23:09:55 -07:00
2026-06-12 16:58:42 -07:00
2026-06-15 15:12:26 -07:00
2026-06-03 19:08:19 -07:00
2026-06-12 19:52:49 +00:00
2026-06-18 14:09:38 +02:00
2026-05-07 15:44:17 -07:00
2026-06-24 03:10:20 +00:00
2026-06-23 12:13:54 -07:00
2026-06-23 17:23:38 -07:00
2026-06-04 09:53:08 -04:00
2026-06-23 00:53:09 +00:00
2026-06-24 03:10:20 +00:00
2026-06-24 03:10:20 +00:00
2026-06-23 12:20:51 -07:00
2026-06-04 09:53:08 -04:00
2026-06-24 03:10:20 +00:00
2026-06-23 22:51:19 +01:00
2026-05-25 17:26:10 -03:00
2026-06-23 12:13:54 -07:00
2026-06-24 03:10:20 +00:00
2026-05-07 15:44:17 -07:00
2026-04-22 22:24:12 -07:00
2026-05-07 15:44:17 -07:00
2026-06-23 17:46:54 -07:00
2026-06-23 17:23:38 -07:00
2026-06-22 23:56:16 -07:00
2026-06-23 12:29:46 -07:00
2026-05-26 20:59:47 -07:00
2026-06-12 19:52:49 +00:00
2026-06-23 03:09:20 +00:00
2026-06-11 18:16:39 -07:00
2026-06-23 19:36:17 -07:00
2026-06-23 21:50:50 +00:00
2026-05-07 15:44:17 -07:00
2026-05-13 21:23:19 +00:00
2026-05-07 15:44:17 -07:00
2026-06-20 19:13:42 -07:00
2026-06-23 17:23:38 -07:00
2026-06-23 18:51:49 -07:00
2026-06-24 03:10:20 +00:00
2026-05-07 15:44:17 -07:00
2026-06-23 23:26:06 +01:00
2026-06-13 21:43:39 -07:00
2026-06-13 21:43:39 -07:00
2026-06-23 12:29:46 -07:00
2025-10-19 20:41:55 -04:00
2026-04-24 17:49:29 -07:00
2026-06-24 03:10:20 +00:00
2026-06-23 22:37:31 +00:00
2026-04-20 22:41:54 -07:00
2025-10-17 14:58:27 -07:00
2026-02-20 19:32:15 -08:00
2026-06-11 18:16:39 -07:00
2026-06-04 09:16:03 -07:00
2026-05-26 20:59:47 -07:00