Files
codex/codex-rs/app-server-protocol/schema/json/v2/ExternalAgentConfigImportProgressNotification.json
T

104 lines
2.2 KiB
JSON
Generated

{
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"ExternalAgentConfigImportItemResult": {
"properties": {
"cwd": {
"type": [
"string",
"null"
]
},
"description": {
"type": "string"
},
"errorCount": {
"format": "uint32",
"minimum": 0.0,
"type": "integer"
},
"itemType": {
"$ref": "#/definitions/ExternalAgentConfigMigrationItemType"
},
"rawErrors": {
"items": {
"$ref": "#/definitions/ExternalAgentConfigImportRawError"
},
"type": "array"
},
"successCount": {
"format": "uint32",
"minimum": 0.0,
"type": "integer"
}
},
"required": [
"description",
"errorCount",
"itemType",
"rawErrors",
"successCount"
],
"type": "object"
},
"ExternalAgentConfigImportRawError": {
"properties": {
"cwd": {
"type": [
"string",
"null"
]
},
"failureStage": {
"type": "string"
},
"itemType": {
"$ref": "#/definitions/ExternalAgentConfigMigrationItemType"
},
"message": {
"type": "string"
},
"source": {
"type": [
"string",
"null"
]
}
},
"required": [
"failureStage",
"itemType",
"message"
],
"type": "object"
},
"ExternalAgentConfigMigrationItemType": {
"enum": [
"AGENTS_MD",
"CONFIG",
"SKILLS",
"PLUGINS",
"MCP_SERVER_CONFIG",
"SUBAGENTS",
"HOOKS",
"COMMANDS",
"SESSIONS"
],
"type": "string"
}
},
"properties": {
"importId": {
"type": "string"
},
"itemResult": {
"$ref": "#/definitions/ExternalAgentConfigImportItemResult"
}
},
"required": [
"importId",
"itemResult"
],
"title": "ExternalAgentConfigImportProgressNotification",
"type": "object"
}