Add the incremental_tools feature flag (#50464)

Register `incremental_tools` as an under-development feature that is disabled by default, and expose it in the configuration schema for top-level and profile feature settings.

GitOrigin-RevId: 9579822c745e9fce598085bdc5ef8da6aabb06d7
This commit is contained in:
pakrym-oai
2026-10-02 23:49:14 +00:00
committed by copyberry
parent 09bced5ad9
commit a0bfaac70c
2 changed files with 14 additions and 0 deletions
+6
View File
@@ -956,6 +956,9 @@
"in_app_voice": {
"type": "boolean"
},
"incremental_tools": {
"type": "boolean"
},
"instant_interrupt": {
"type": "boolean"
},
@@ -7108,6 +7111,9 @@
"in_app_voice": {
"type": "boolean"
},
"incremental_tools": {
"type": "boolean"
},
"instant_interrupt": {
"type": "boolean"
},
+8
View File
@@ -248,6 +248,8 @@ pub enum Feature {
ToolSearchAlwaysDeferMcpTools,
/// Describe deferred tool namespaces in the model-visible world state.
DeferredToolWorldState,
/// Track top-level tool definitions in world state and emit incremental context updates.
IncrementalTools,
/// Expose MCP model-visible namespaces without the legacy `mcp__` prefix.
NonPrefixedMcpToolNames,
/// Enable discoverable tool suggestions for apps.
@@ -1478,6 +1480,12 @@ pub const FEATURES: &[FeatureSpec] = &[
stage: Stage::UnderDevelopment,
default_enabled: false,
},
FeatureSpec {
id: Feature::IncrementalTools,
key: "incremental_tools",
stage: Stage::UnderDevelopment,
default_enabled: false,
},
FeatureSpec {
id: Feature::NonPrefixedMcpToolNames,
key: "non_prefixed_mcp_tool_names",