{ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "ExternalAgentConfigMigrationItem": { "properties": { "cwd": { "description": "Null or empty means home-scoped migration; non-empty means repo-scoped migration.", "type": [ "string", "null" ] }, "description": { "type": "string" }, "details": { "anyOf": [ { "$ref": "#/definitions/MigrationDetails" }, { "type": "null" } ] }, "itemType": { "$ref": "#/definitions/ExternalAgentConfigMigrationItemType" } }, "required": [ "description", "itemType" ], "type": "object" }, "ExternalAgentConfigMigrationItemType": { "enum": [ "AGENTS_MD", "CONFIG", "SKILLS", "PLUGINS", "MCP_SERVER_CONFIG" ], "type": "string" }, "MigrationDetails": { "properties": { "plugins": { "items": { "$ref": "#/definitions/PluginsMigration" }, "type": "array" } }, "required": [ "plugins" ], "type": "object" }, "PluginsMigration": { "properties": { "marketplaceName": { "type": "string" }, "pluginNames": { "items": { "type": "string" }, "type": "array" } }, "required": [ "marketplaceName", "pluginNames" ], "type": "object" } }, "properties": { "items": { "items": { "$ref": "#/definitions/ExternalAgentConfigMigrationItem" }, "type": "array" } }, "required": [ "items" ], "title": "ExternalAgentConfigDetectResponse", "type": "object" }