From 2ac49fea58b1a54b136236ff6963c3518a11f5f8 Mon Sep 17 00:00:00 2001 From: Owen Lin Date: Mon, 10 Nov 2025 12:24:36 -0800 Subject: [PATCH] [app-server] chore: move initialize out of deprecated API section (#6468) Self-explanatory - `initialize` is not a deprecated API and works equally well with the v2 APIs. --- codex-rs/app-server-protocol/src/protocol/common.rs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/codex-rs/app-server-protocol/src/protocol/common.rs b/codex-rs/app-server-protocol/src/protocol/common.rs index 2c52067b..b4cde110 100644 --- a/codex-rs/app-server-protocol/src/protocol/common.rs +++ b/codex-rs/app-server-protocol/src/protocol/common.rs @@ -101,6 +101,11 @@ macro_rules! client_request_definitions { } client_request_definitions! { + Initialize { + params: v1::InitializeParams, + response: v1::InitializeResponse, + }, + /// NEW APIs // Thread lifecycle #[serde(rename = "thread/start")] @@ -196,10 +201,6 @@ client_request_definitions! { }, /// DEPRECATED APIs below - Initialize { - params: v1::InitializeParams, - response: v1::InitializeResponse, - }, NewConversation { params: v1::NewConversationParams, response: v1::NewConversationResponse,