mirror of
https://github.com/openai/codex.git
synced 2026-11-30 00:10:49 +00:00
feat(mcp): propagate client UI capabilities
This commit is contained in:
@@ -1124,6 +1124,17 @@
|
||||
"description": "Opt into receiving experimental API methods and fields.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"mcpClientCapabilities": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/McpClientCapabilities"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"description": "Passive MCP capabilities supported by this app-server client."
|
||||
},
|
||||
"optOutNotificationMethods": {
|
||||
"description": "Exact notification method names that should be suppressed for this connection (for example `thread/started`).",
|
||||
"items": {
|
||||
@@ -1406,6 +1417,30 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"McpAppUiCapability": {
|
||||
"description": "Passive MCP App presentation features supported by the active host.",
|
||||
"enum": [
|
||||
"webView",
|
||||
"declarativeUi"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"McpClientCapabilities": {
|
||||
"description": "Passive MCP capabilities supplied by the active Codex host.",
|
||||
"properties": {
|
||||
"appUi": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/McpAppUiCapability"
|
||||
},
|
||||
"type": "array",
|
||||
"uniqueItems": true
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"appUi"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"McpResourceReadParams": {
|
||||
"properties": {
|
||||
"server": {
|
||||
|
||||
Reference in New Issue
Block a user