Luis Pater
d946c4fba6
feat(codex): ignore use_siwc and enforce non-SIWC credentials for Codex client requests
- Add request-aware helper functions (`IsCodexClientRequest`, `IsCodexUseSIWCForRequest`, `codexCredsForRequest`, etc.) to detect Codex client user agents and bypass `use_siwc` settings accordingly.
- Update Codex HTTP, streaming, WebSocket, and conductor execution flows to evaluate credentials and routing rules against the incoming request context and headers.
- Add comprehensive regression tests (`TestCodexExecutorCodexClientIgnoresUseSIWC`) covering client identification, credential isolation, default URL resolution, and WebSocket session reuse.
Closes: #6833
2026-10-23 08:09:28 +08:00
..
2026-10-23 01:07:20 +08:00
2026-10-11 14:08:49 +08:00
2026-10-14 12:08:35 +08:00
2026-10-14 12:08:35 +08:00
2026-10-02 15:21:46 +08:00
2026-10-08 03:00:04 +08:00
2026-10-20 18:46:02 +08:00
2026-10-02 22:13:24 +08:00
2026-10-20 18:46:02 +08:00
2026-09-27 14:42:26 +08:00
2026-10-20 18:46:02 +08:00
2026-10-20 18:46:02 +08:00
2026-09-27 14:42:26 +08:00
2026-10-22 21:05:27 +08:00
2026-10-05 04:32:35 +08:00
2026-10-14 10:17:01 +08:00
2026-09-27 14:42:26 +08:00
2026-10-20 18:46:02 +08:00
2026-10-11 17:58:34 +08:00
2026-10-02 10:58:36 +08:00
2026-10-22 21:05:27 +08:00
2026-10-05 06:25:53 +08:00
2026-10-08 02:11:20 +08:00
2026-10-11 20:45:18 +08:00
2026-10-02 15:36:10 +08:00
2026-10-08 02:11:20 +08:00
2026-10-19 02:35:21 +08:00
2026-09-27 14:42:26 +08:00
2026-10-21 18:16:58 +08:00
2026-09-27 14:42:26 +08:00
2026-09-27 14:42:26 +08:00
2026-09-27 14:42:26 +08:00
2026-10-05 13:24:20 +08:00
2026-09-27 14:42:26 +08:00
2026-09-27 14:42:26 +08:00
2026-10-21 18:16:58 +08:00
2026-10-20 18:46:02 +08:00
2026-09-30 06:57:24 +08:00
2026-10-18 02:50:03 +08:00
2026-10-13 13:01:12 +08:00
2026-10-02 05:34:30 +08:00
2026-10-02 03:49:51 +08:00
2026-10-02 03:49:51 +08:00
2026-10-07 09:31:03 +08:00
2026-10-02 03:49:51 +08:00
2026-10-02 03:49:51 +08:00
2026-10-21 08:44:10 +08:00
2026-10-07 08:40:41 +08:00
2026-10-16 22:53:30 +08:00
2026-10-09 17:43:09 +08:00
2026-09-27 14:42:26 +08:00
2026-09-27 14:42:26 +08:00
2026-09-27 14:42:26 +08:00
2026-09-27 14:42:26 +08:00
2026-10-17 02:56:09 +08:00
2026-09-24 15:26:39 +08:00
2026-10-21 08:44:10 +08:00
2026-10-09 03:24:45 +08:00
2026-10-19 22:07:14 +08:00
2026-09-27 14:42:26 +08:00
2026-10-17 20:42:18 +08:00
2026-10-22 17:21:21 +08:00
2026-09-27 14:42:26 +08:00
2026-09-27 14:42:26 +08:00
2026-10-18 10:50:40 +08:00
2026-09-27 14:42:26 +08:00
2026-09-27 14:42:26 +08:00
2026-08-03 14:47:26 +08:00
2026-10-12 11:53:16 +09:00
2026-10-22 18:33:39 +08:00
2026-10-22 17:21:21 +08:00
2026-09-27 14:42:26 +08:00
2026-10-17 20:42:18 +08:00
2026-10-21 01:11:27 +08:00
2026-09-27 14:42:26 +08:00
2026-10-22 18:33:39 +08:00
2026-09-27 14:42:26 +08:00
2026-10-21 01:11:27 +08:00
2026-10-06 05:45:17 +08:00
2026-10-12 10:26:17 +02:00
2026-10-12 20:28:18 +02:00
2026-10-07 23:32:21 +08:00
2026-10-21 00:23:55 +08:00
2026-09-27 14:42:26 +08:00
2026-10-21 00:23:55 +08:00
2026-10-19 12:59:13 +08:00
2026-10-15 00:57:02 +08:00
2026-10-15 00:57:18 +08:00
2026-09-27 14:42:26 +08:00
2026-09-29 21:21:58 +08:00
2026-10-17 13:56:34 +08:00
2026-09-27 14:42:26 +08:00
2026-10-07 08:40:41 +08:00
2026-10-07 20:52:17 +08:00
2026-10-18 10:50:40 +08:00
2026-08-18 18:06:40 +08:00
2026-09-27 14:42:26 +08:00
2026-10-18 20:57:01 +08:00
2026-09-27 14:42:26 +08:00
2026-10-14 20:59:02 +08:00
2026-10-23 08:09:28 +08:00
2026-10-23 08:09:28 +08:00
2026-09-28 10:46:32 +08:00
2026-10-21 20:19:05 +08:00
2026-10-19 19:00:41 +08:00
2026-10-05 17:08:02 +08:00
2026-10-23 08:09:28 +08:00
2026-09-27 14:42:26 +08:00
2026-09-27 14:42:26 +08:00
2026-09-27 14:42:26 +08:00
2026-09-27 14:42:26 +08:00
2026-09-27 14:42:26 +08:00
2026-10-18 20:57:01 +08:00
2026-10-23 08:09:28 +08:00
2026-09-09 11:57:58 +08:00
2026-09-27 14:42:26 +08:00
2026-10-21 23:04:23 +08:00
2026-09-27 14:42:26 +08:00
2026-10-16 12:04:22 +08:00
2026-10-02 05:34:30 +08:00
2026-10-14 02:54:02 +08:00
2026-09-27 14:42:26 +08:00
2026-09-27 14:42:26 +08:00
2026-10-23 08:09:28 +08:00
2026-10-22 11:55:16 +08:00
2026-10-01 03:06:59 +08:00
2026-10-07 19:21:32 +09:00
2026-10-01 02:04:49 +08:00
2026-10-08 03:00:04 +08:00
2026-10-02 03:49:51 +08:00
2026-09-27 14:42:26 +08:00
2026-10-09 10:10:50 +08:00
2026-10-23 08:09:28 +08:00
2026-10-02 22:36:37 +08:00
2026-09-27 14:42:26 +08:00
2026-10-22 11:55:16 +08:00
2026-10-04 03:01:34 +08:00
2026-09-27 14:42:26 +08:00
2026-09-27 14:42:26 +08:00
2026-09-27 14:42:26 +08:00
2026-09-27 14:42:26 +08:00
2026-09-28 10:46:32 +08:00
2026-09-28 10:46:32 +08:00
2026-10-16 12:04:22 +08:00
2026-10-23 08:09:28 +08:00
2026-09-27 14:42:26 +08:00
2026-10-23 08:09:28 +08:00
2026-10-12 19:42:54 +08:00
2026-09-28 10:46:32 +08:00
2026-10-12 19:42:54 +08:00
2026-10-08 21:32:26 +08:00
2026-10-09 21:35:40 +08:00
2026-10-23 08:09:28 +08:00
2026-09-27 14:42:26 +08:00
2026-10-23 08:09:28 +08:00
2026-10-02 05:34:30 +08:00
2026-10-23 08:09:28 +08:00
2026-10-20 17:05:03 +08:00
2026-10-10 21:48:20 +08:00
2026-10-18 20:57:01 +08:00
2026-10-17 02:18:41 +08:00
2026-10-03 15:53:39 +08:00
2026-10-08 02:11:20 +08:00
2026-09-27 14:42:26 +08:00
2026-10-21 10:33:05 +08:00
2026-10-14 12:08:35 +08:00
2026-10-22 21:05:27 +08:00
2026-10-04 04:23:31 +08:00
2026-10-04 04:23:31 +08:00
2026-10-08 03:00:04 +08:00
2026-10-08 12:39:31 +08:00
2026-10-21 02:19:42 +08:00
2026-10-21 02:19:42 +08:00
2026-10-07 08:16:52 +08:00
2026-10-22 19:26:31 +08:00
2026-10-15 08:05:58 +08:00
2026-10-22 21:05:27 +08:00
2026-09-27 14:42:26 +08:00
2026-10-02 15:21:46 +08:00
2026-10-05 15:55:38 +08:00
2026-10-09 19:44:24 +08:00
2026-10-09 19:44:24 +08:00
2026-10-19 22:07:14 +08:00
2026-10-22 21:05:27 +08:00
2026-09-27 14:42:26 +08:00
2026-09-27 14:42:26 +08:00
2026-09-27 14:42:26 +08:00
2026-10-19 22:07:14 +08:00
2026-10-20 16:57:14 +08:00
2026-10-16 23:23:33 +08:00
2026-10-19 22:07:14 +08:00
2026-10-20 17:17:41 +08:00
2026-10-02 03:49:51 +08:00
2026-09-27 14:42:26 +08:00
2026-10-02 22:36:35 +08:00
2026-09-27 14:42:26 +08:00
2026-09-29 22:44:33 +08:00
2026-09-27 14:42:26 +08:00
2026-09-27 14:42:26 +08:00
2026-09-27 14:42:26 +08:00
2026-09-27 14:42:26 +08:00
2026-10-09 19:00:58 +08:00
2026-09-27 14:42:26 +08:00
2026-10-22 21:05:27 +08:00
2026-09-28 20:40:10 +08:00
2026-10-18 20:57:01 +08:00
2026-10-18 20:57:01 +08:00
2026-10-22 21:05:27 +08:00
2026-10-04 03:01:34 +08:00
2026-09-27 14:42:26 +08:00
2026-09-27 14:42:26 +08:00
2026-10-08 02:11:20 +08:00
2026-09-27 14:42:26 +08:00
2026-09-27 14:42:26 +08:00
2026-09-22 03:54:34 +08:00
2026-09-27 14:42:26 +08:00
2026-10-05 04:05:41 +08:00
2026-10-08 02:39:32 +08:00
2026-09-27 14:42:26 +08:00
2026-09-27 14:42:26 +08:00
2026-09-27 14:42:26 +08:00
2026-10-22 21:05:27 +08:00
2026-10-22 21:05:27 +08:00
2026-10-20 17:05:03 +08:00
2026-10-18 20:57:01 +08:00
2026-10-07 13:46:58 +08:00
2026-10-22 21:05:27 +08:00
2026-10-22 21:05:27 +08:00
2026-10-20 17:05:03 +08:00
2026-10-04 03:01:34 +08:00
2026-10-20 17:05:03 +08:00
2026-10-18 20:57:01 +08:00
2026-08-07 06:48:09 +08:00
2026-10-20 17:05:03 +08:00
2026-10-22 21:05:27 +08:00