Support external agent config detect and import

This commit is contained in:
alexsong-oai
2026-02-24 00:46:07 -08:00
parent 68a7d98363
commit db43e64d0f
19 changed files with 1092 additions and 1 deletions

View File

@@ -376,6 +376,28 @@
},
"type": "object"
},
"ExternalAgentConfigImportParams": {
"properties": {
"migrationTypes": {
"items": {
"$ref": "#/definitions/ExternalAgentConfigMigrationType"
},
"type": "array"
}
},
"required": [
"migrationTypes"
],
"type": "object"
},
"ExternalAgentConfigMigrationType": {
"enum": [
"AGENTS_MD",
"CONFIG",
"SKILLS"
],
"type": "string"
},
"FeedbackUploadParams": {
"properties": {
"classification": {
@@ -3390,6 +3412,53 @@
"title": "Config/readRequest",
"type": "object"
},
{
"properties": {
"id": {
"$ref": "#/definitions/RequestId"
},
"method": {
"enum": [
"externalAgentConfig/detect"
],
"title": "ExternalAgentConfig/detectRequestMethod",
"type": "string"
},
"params": {
"type": "null"
}
},
"required": [
"id",
"method"
],
"title": "ExternalAgentConfig/detectRequest",
"type": "object"
},
{
"properties": {
"id": {
"$ref": "#/definitions/RequestId"
},
"method": {
"enum": [
"externalAgentConfig/import"
],
"title": "ExternalAgentConfig/importRequestMethod",
"type": "string"
},
"params": {
"$ref": "#/definitions/ExternalAgentConfigImportParams"
}
},
"required": [
"id",
"method",
"params"
],
"title": "ExternalAgentConfig/importRequest",
"type": "object"
},
{
"properties": {
"id": {