mirror of
https://github.com/openai/codex.git
synced 2026-09-08 15:50:34 +00:00
## What changed - Add `iconUrlDark`, `distributionChannel`, `installUrl`, and `pluginDisplayNames` to the experimental `app/read` connector metadata. - Populate plugin display names from enabled plugins without starting their MCP servers. - Accept both dark-icon field spellings from the batch API and keep the new upstream fields optional for compatibility with older responses. ## Testing - Cover the serialized response fields, legacy batch responses, and plugin display-name lookup without MCP startup. GitOrigin-RevId: 68601a104de839c0f4f4621d33b0e4d08ad88c64
110 lines
2.1 KiB
JSON
Generated
110 lines
2.1 KiB
JSON
Generated
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"definitions": {
|
|
"AppToolSummary": {
|
|
"description": "EXPERIMENTAL - metadata returned by app/read.",
|
|
"properties": {
|
|
"description": {
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"title": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"description",
|
|
"name"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"ConnectorMetadata": {
|
|
"description": "EXPERIMENTAL - metadata returned by app/read.",
|
|
"properties": {
|
|
"description": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"distributionChannel": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"iconUrl": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"iconUrlDark": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"id": {
|
|
"type": "string"
|
|
},
|
|
"installUrl": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"pluginDisplayNames": {
|
|
"default": [],
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"toolSummaries": {
|
|
"items": {
|
|
"$ref": "#/definitions/AppToolSummary"
|
|
},
|
|
"type": [
|
|
"array",
|
|
"null"
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"id",
|
|
"name"
|
|
],
|
|
"type": "object"
|
|
}
|
|
},
|
|
"description": "EXPERIMENTAL - app/read response.",
|
|
"properties": {
|
|
"apps": {
|
|
"items": {
|
|
"$ref": "#/definitions/ConnectorMetadata"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"missingAppIds": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"required": [
|
|
"apps",
|
|
"missingAppIds"
|
|
],
|
|
"title": "AppsReadResponse",
|
|
"type": "object"
|
|
} |