From 832b93e4f8885e71ec23d00ef26ed78aae21084a Mon Sep 17 00:00:00 2001 From: Liang-Ting Jiang Date: Wed, 24 Jun 2026 17:33:47 +0000 Subject: [PATCH] [codex] Clarify host-provided auth docs --- .../app-server-protocol/schema/json/ServerNotification.json | 2 +- .../schema/json/codex_app_server_protocol.schemas.json | 2 +- .../schema/json/codex_app_server_protocol.v2.schemas.json | 2 +- .../schema/json/v2/AccountUpdatedNotification.json | 2 +- codex-rs/app-server-protocol/src/protocol/common.rs | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/codex-rs/app-server-protocol/schema/json/ServerNotification.json b/codex-rs/app-server-protocol/schema/json/ServerNotification.json index 0dab5a4c57..06d15391d2 100644 --- a/codex-rs/app-server-protocol/schema/json/ServerNotification.json +++ b/codex-rs/app-server-protocol/schema/json/ServerNotification.json @@ -537,7 +537,7 @@ "type": "string" }, { - "description": "[UNSTABLE] FOR OPENAI INTERNAL USE ONLY - DO NOT USE.\n\nCodex backend request headers supplied by the process embedding Codex.", + "description": "[UNSTABLE] Host-provided backend auth for embedded Codex runtimes.\n\nRequest headers are supplied by the process embedding Codex.", "enum": [ "hostProvided" ], diff --git a/codex-rs/app-server-protocol/schema/json/codex_app_server_protocol.schemas.json b/codex-rs/app-server-protocol/schema/json/codex_app_server_protocol.schemas.json index 4f56b6fc45..053c539b64 100644 --- a/codex-rs/app-server-protocol/schema/json/codex_app_server_protocol.schemas.json +++ b/codex-rs/app-server-protocol/schema/json/codex_app_server_protocol.schemas.json @@ -6951,7 +6951,7 @@ "type": "string" }, { - "description": "[UNSTABLE] FOR OPENAI INTERNAL USE ONLY - DO NOT USE.\n\nCodex backend request headers supplied by the process embedding Codex.", + "description": "[UNSTABLE] Host-provided backend auth for embedded Codex runtimes.\n\nRequest headers are supplied by the process embedding Codex.", "enum": [ "hostProvided" ], diff --git a/codex-rs/app-server-protocol/schema/json/codex_app_server_protocol.v2.schemas.json b/codex-rs/app-server-protocol/schema/json/codex_app_server_protocol.v2.schemas.json index 9db95a2c97..095e411c02 100644 --- a/codex-rs/app-server-protocol/schema/json/codex_app_server_protocol.v2.schemas.json +++ b/codex-rs/app-server-protocol/schema/json/codex_app_server_protocol.v2.schemas.json @@ -1077,7 +1077,7 @@ "type": "string" }, { - "description": "[UNSTABLE] FOR OPENAI INTERNAL USE ONLY - DO NOT USE.\n\nCodex backend request headers supplied by the process embedding Codex.", + "description": "[UNSTABLE] Host-provided backend auth for embedded Codex runtimes.\n\nRequest headers are supplied by the process embedding Codex.", "enum": [ "hostProvided" ], diff --git a/codex-rs/app-server-protocol/schema/json/v2/AccountUpdatedNotification.json b/codex-rs/app-server-protocol/schema/json/v2/AccountUpdatedNotification.json index cbbed1ce26..feacf6f99d 100644 --- a/codex-rs/app-server-protocol/schema/json/v2/AccountUpdatedNotification.json +++ b/codex-rs/app-server-protocol/schema/json/v2/AccountUpdatedNotification.json @@ -26,7 +26,7 @@ "type": "string" }, { - "description": "[UNSTABLE] FOR OPENAI INTERNAL USE ONLY - DO NOT USE.\n\nCodex backend request headers supplied by the process embedding Codex.", + "description": "[UNSTABLE] Host-provided backend auth for embedded Codex runtimes.\n\nRequest headers are supplied by the process embedding Codex.", "enum": [ "hostProvided" ], diff --git a/codex-rs/app-server-protocol/src/protocol/common.rs b/codex-rs/app-server-protocol/src/protocol/common.rs index fe629415d4..5ac959eff7 100644 --- a/codex-rs/app-server-protocol/src/protocol/common.rs +++ b/codex-rs/app-server-protocol/src/protocol/common.rs @@ -31,9 +31,9 @@ pub enum AuthMode { #[ts(rename = "chatgptAuthTokens")] #[strum(serialize = "chatgptAuthTokens")] ChatgptAuthTokens, - /// [UNSTABLE] FOR OPENAI INTERNAL USE ONLY - DO NOT USE. + /// [UNSTABLE] Host-provided backend auth for embedded Codex runtimes. /// - /// Codex backend request headers supplied by the process embedding Codex. + /// Request headers are supplied by the process embedding Codex. #[serde(rename = "hostProvided")] #[ts(rename = "hostProvided")] #[strum(serialize = "hostProvided")]