{ "$schema": "http://json-schema.org/draft-07/schema#", "title": "ExternalAgentConfigImportProgressNotification", "type": "object", "required": [ "importId", "itemTypeResults" ], "properties": { "importId": { "type": "string" }, "itemTypeResults": { "type": "array", "items": { "$ref": "#/definitions/ExternalAgentConfigImportTypeResult" } } }, "definitions": { "ExternalAgentConfigImportItemTypeFailure": { "type": "object", "required": [ "failureStage", "itemType", "message" ], "properties": { "cwd": { "type": [ "string", "null" ] }, "errorType": { "type": [ "string", "null" ] }, "failureStage": { "type": "string" }, "itemType": { "$ref": "#/definitions/ExternalAgentConfigMigrationItemType" }, "message": { "type": "string" }, "source": { "type": [ "string", "null" ] } } }, "ExternalAgentConfigImportItemTypeSuccess": { "type": "object", "required": [ "itemType" ], "properties": { "cwd": { "type": [ "string", "null" ] }, "itemType": { "$ref": "#/definitions/ExternalAgentConfigMigrationItemType" }, "source": { "type": [ "string", "null" ] }, "target": { "type": [ "string", "null" ] } } }, "ExternalAgentConfigImportTypeResult": { "type": "object", "required": [ "failures", "itemType", "successes" ], "properties": { "failures": { "type": "array", "items": { "$ref": "#/definitions/ExternalAgentConfigImportItemTypeFailure" } }, "itemType": { "$ref": "#/definitions/ExternalAgentConfigMigrationItemType" }, "successes": { "type": "array", "items": { "$ref": "#/definitions/ExternalAgentConfigImportItemTypeSuccess" } } } }, "ExternalAgentConfigMigrationItemType": { "type": "string", "enum": [ "AGENTS_MD", "CONFIG", "SKILLS", "PLUGINS", "MCP_SERVER_CONFIG", "SUBAGENTS", "HOOKS", "COMMANDS", "SESSIONS" ] } } }