mirror of
https://github.com/openai/codex.git
synced 2026-11-03 08:22:30 +00:00
Register the MCP 2026-07-28 feature flag (#34747)
## What changed - Add the disabled-by-default, under-development `mcp_2026_07_28` feature. - Include the feature in the configuration schema and app-server experimental feature enablement API. GitOrigin-RevId: 869835ee72f063d79ca2ecd9f2655d2efc457292
This commit is contained in:
1 parent
2ffe8cd579
commit
65ae4c26e0
3 files changed
+15
No files matched your search
@@ -50,6 +50,7 @@ use std::path::PathBuf;
|
|||||||
|
|
||||||
const SUPPORTED_EXPERIMENTAL_FEATURE_ENABLEMENT: &[&str] = &[
|
const SUPPORTED_EXPERIMENTAL_FEATURE_ENABLEMENT: &[&str] = &[
|
||||||
"auth_elicitation",
|
"auth_elicitation",
|
||||||
|
"mcp_2026_07_28",
|
||||||
"memories",
|
"memories",
|
||||||
"mentions_v2",
|
"mentions_v2",
|
||||||
"remote_control",
|
"remote_control",
|
||||||
|
|||||||
@@ -566,6 +566,9 @@
|
|||||||
"local_thread_store_compression": {
|
"local_thread_store_compression": {
|
||||||
"type": "boolean"
|
"type": "boolean"
|
||||||
},
|
},
|
||||||
|
"mcp_2026_07_28": {
|
||||||
|
"type": "boolean"
|
||||||
|
},
|
||||||
"memories": {
|
"memories": {
|
||||||
"type": "boolean"
|
"type": "boolean"
|
||||||
},
|
},
|
||||||
@@ -5039,6 +5042,9 @@
|
|||||||
"local_thread_store_compression": {
|
"local_thread_store_compression": {
|
||||||
"type": "boolean"
|
"type": "boolean"
|
||||||
},
|
},
|
||||||
|
"mcp_2026_07_28": {
|
||||||
|
"type": "boolean"
|
||||||
|
},
|
||||||
"memories": {
|
"memories": {
|
||||||
"type": "boolean"
|
"type": "boolean"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -160,6 +160,8 @@ pub enum Feature {
|
|||||||
Apps,
|
Apps,
|
||||||
/// Enable MCP apps.
|
/// Enable MCP apps.
|
||||||
EnableMcpApps,
|
EnableMcpApps,
|
||||||
|
/// Enable MCP protocol version 2026-07-28 support.
|
||||||
|
Mcp20260728,
|
||||||
/// Removed compatibility flag for the legacy Apps MCP path override.
|
/// Removed compatibility flag for the legacy Apps MCP path override.
|
||||||
AppsMcpPathOverride,
|
AppsMcpPathOverride,
|
||||||
/// Removed compatibility flag retained as a no-op now that tool_search is always enabled.
|
/// Removed compatibility flag retained as a no-op now that tool_search is always enabled.
|
||||||
@@ -1081,6 +1083,12 @@ pub const FEATURES: &[FeatureSpec] = &[
|
|||||||
stage: Stage::UnderDevelopment,
|
stage: Stage::UnderDevelopment,
|
||||||
default_enabled: false,
|
default_enabled: false,
|
||||||
},
|
},
|
||||||
|
FeatureSpec {
|
||||||
|
id: Feature::Mcp20260728,
|
||||||
|
key: "mcp_2026_07_28",
|
||||||
|
stage: Stage::UnderDevelopment,
|
||||||
|
default_enabled: false,
|
||||||
|
},
|
||||||
FeatureSpec {
|
FeatureSpec {
|
||||||
id: Feature::AppsMcpPathOverride,
|
id: Feature::AppsMcpPathOverride,
|
||||||
key: "apps_mcp_path_override",
|
key: "apps_mcp_path_override",
|
||||||
|
|||||||
Reference in new issue
Block a user