| { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "definitions": { | |
| "ExternalAgentConfigImportItemTypeFailure": { | |
| "properties": { | |
| "cwd": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ] | |
| }, | |
| "errorType": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ] | |
| }, | |
| "failureStage": { | |
| "type": "string" | |
| }, | |
| "itemType": { | |
| "$ref": "#/definitions/ExternalAgentConfigMigrationItemType" | |
| }, | |
| "message": { | |
| "type": "string" | |
| }, | |
| "source": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ] | |
| }, | |
| "subErrorType": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ] | |
| } | |
| }, | |
| "required": [ | |
| "failureStage", | |
| "itemType", | |
| "message" | |
| ], | |
| "type": "object" | |
| }, | |
| "ExternalAgentConfigImportItemTypeSuccess": { | |
| "properties": { | |
| "cwd": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ] | |
| }, | |
| "itemType": { | |
| "$ref": "#/definitions/ExternalAgentConfigMigrationItemType" | |
| }, | |
| "source": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ] | |
| }, | |
| "target": { | |
| "type": [ | |
| "string", | |
| "null" | |
| ] | |
| }, | |
| "title": { | |
| "default": null, | |
| "description": "Original title for an imported session; null for other item types.", | |
| "type": [ | |
| "string", | |
| "null" | |
| ] | |
| } | |
| }, | |
| "required": [ | |
| "itemType" | |
| ], | |
| "type": "object" | |
| }, | |
| "ExternalAgentConfigImportTypeResult": { | |
| "properties": { | |
| "failures": { | |
| "items": { | |
| "$ref": "#/definitions/ExternalAgentConfigImportItemTypeFailure" | |
| }, | |
| "type": "array" | |
| }, | |
| "itemType": { | |
| "$ref": "#/definitions/ExternalAgentConfigMigrationItemType" | |
| }, | |
| "successes": { | |
| "items": { | |
| "$ref": "#/definitions/ExternalAgentConfigImportItemTypeSuccess" | |
| }, | |
| "type": "array" | |
| } | |
| }, | |
| "required": [ | |
| "failures", | |
| "itemType", | |
| "successes" | |
| ], | |
| "type": "object" | |
| }, | |
| "ExternalAgentConfigMigrationItemType": { | |
| "enum": [ | |
| "AGENTS_MD", | |
| "CONFIG", | |
| "SKILLS", | |
| "PLUGINS", | |
| "MCP_SERVER_CONFIG", | |
| "SUBAGENTS", | |
| "HOOKS", | |
| "COMMANDS", | |
| "MEMORY", | |
| "SESSIONS" | |
| ], | |
| "type": "string" | |
| } | |
| }, | |
| "properties": { | |
| "importId": { | |
| "type": "string" | |
| }, | |
| "itemTypeResults": { | |
| "items": { | |
| "$ref": "#/definitions/ExternalAgentConfigImportTypeResult" | |
| }, | |
| "type": "array" | |
| } | |
| }, | |
| "required": [ | |
| "importId", | |
| "itemTypeResults" | |
| ], | |
| "title": "ExternalAgentConfigImportCompletedNotification", | |
| "type": "object" | |
| } |