Configure multi_agent_v2 spawn agent hints (#17071)

Allow multi_agent_v2 features to have its own temporary configuration
under `[features.multi_agent_v2]`

```
[features.multi_agent_v2]
enabled = true
usage_hint_enabled = false
usage_hint_text = "Custom delegation guidance."
hide_spawn_agent_metadata = true
```

Absent `usage_hint_text` means use the default hint.

```
[features]
multi_agent_v2 = true
```

still works as the boolean shorthand.
This commit is contained in:
pakrym-oai
2026-04-08 08:42:18 -07:00
committed by GitHub
parent 2250fdd54a
commit 4c07dd4d25
18 changed files with 501 additions and 62 deletions

View File

@@ -362,9 +362,6 @@
"connectors": {
"type": "boolean"
},
"debug_hide_spawn_agent_metadata": {
"type": "boolean"
},
"default_mode_request_user_input": {
"type": "boolean"
},
@@ -426,7 +423,7 @@
"type": "boolean"
},
"multi_agent_v2": {
"type": "boolean"
"$ref": "#/definitions/FeatureToml_for_MultiAgentV2ConfigToml"
},
"personality": {
"type": "boolean"
@@ -621,6 +618,16 @@
},
"type": "object"
},
"FeatureToml_for_MultiAgentV2ConfigToml": {
"anyOf": [
{
"type": "boolean"
},
{
"$ref": "#/definitions/MultiAgentV2ConfigToml"
}
]
},
"FeedbackConfigToml": {
"additionalProperties": false,
"properties": {
@@ -980,6 +987,24 @@
],
"type": "object"
},
"MultiAgentV2ConfigToml": {
"additionalProperties": false,
"properties": {
"enabled": {
"type": "boolean"
},
"hide_spawn_agent_metadata": {
"type": "boolean"
},
"usage_hint_enabled": {
"type": "boolean"
},
"usage_hint_text": {
"type": "string"
}
},
"type": "object"
},
"NetworkDomainPermissionToml": {
"enum": [
"allow",
@@ -2075,9 +2100,6 @@
"connectors": {
"type": "boolean"
},
"debug_hide_spawn_agent_metadata": {
"type": "boolean"
},
"default_mode_request_user_input": {
"type": "boolean"
},
@@ -2139,7 +2161,7 @@
"type": "boolean"
},
"multi_agent_v2": {
"type": "boolean"
"$ref": "#/definitions/FeatureToml_for_MultiAgentV2ConfigToml"
},
"personality": {
"type": "boolean"