From ccf4191582523186df449725eed9492e368e945f Mon Sep 17 00:00:00 2001 From: rka-oai Date: Tue, 18 Aug 2026 21:23:37 +0000 Subject: [PATCH] Register the async message feature flag (#39288) ## What changed - Add the under-development `send_async_message` feature, disabled by default. - Expose the feature key in the generated configuration schema. GitOrigin-RevId: dd27483f2ef802dba49e47f3ce03146ee6a58f1e --- codex-rs/core/config.schema.json | 6 ++++++ codex-rs/features/src/lib.rs | 8 ++++++++ 2 files changed, 14 insertions(+) diff --git a/codex-rs/core/config.schema.json b/codex-rs/core/config.schema.json index c9711688ef..7c3c0edd75 100644 --- a/codex-rs/core/config.schema.json +++ b/codex-rs/core/config.schema.json @@ -723,6 +723,9 @@ "secret_auth_storage": { "type": "boolean" }, + "send_async_message": { + "type": "boolean" + }, "shell_snapshot": { "type": "boolean" }, @@ -5582,6 +5585,9 @@ "secret_auth_storage": { "type": "boolean" }, + "send_async_message": { + "type": "boolean" + }, "shell_snapshot": { "type": "boolean" }, diff --git a/codex-rs/features/src/lib.rs b/codex-rs/features/src/lib.rs index 7a25605246..61bbc3dd3e 100644 --- a/codex-rs/features/src/lib.rs +++ b/codex-rs/features/src/lib.rs @@ -262,6 +262,8 @@ pub enum Feature { MentionsV2, /// Allow request_user_input in Default collaboration mode. DefaultModeRequestUserInput, + /// Allow sending a user-visible message without ending the current turn. + SendAsyncMessage, /// Enable automatic review for approval prompts. GuardianApproval, /// Reuse encrypted parent compaction when restarting Guardian review sessions. @@ -1350,6 +1352,12 @@ pub const FEATURES: &[FeatureSpec] = &[ stage: Stage::UnderDevelopment, default_enabled: false, }, + FeatureSpec { + id: Feature::SendAsyncMessage, + key: "send_async_message", + stage: Stage::UnderDevelopment, + default_enabled: false, + }, FeatureSpec { id: Feature::TerminalVisualizationInstructions, key: "terminal_visualization_instructions",