mirror of
https://github.com/openai/codex.git
synced 2026-08-28 13:58:49 +00:00
## What changed - Add a feature-gated `MEMORY` migration item to the app-server protocol and TUI. - Discover project memory Markdown files, preserve their project scope, and copy selected projects into the Codex memory extension workspace. - Detect changed, renamed, and removed source projects, report per-project import failures, and enqueue memory consolidation after workspace changes. ## Testing - Cover memory discovery, selection, synchronization, scope validation, feature gating, protocol results, and TUI rendering. GitOrigin-RevId: 9b17b2e9a639a064dba8aaffbec6345ae419018e
169 lines
3.5 KiB
JSON
Generated
169 lines
3.5 KiB
JSON
Generated
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"definitions": {
|
|
"ExternalAgentConfigImportHistory": {
|
|
"properties": {
|
|
"completedAtMs": {
|
|
"format": "int64",
|
|
"type": "integer"
|
|
},
|
|
"failures": {
|
|
"items": {
|
|
"$ref": "#/definitions/ExternalAgentConfigImportItemTypeFailure"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"importId": {
|
|
"type": "string"
|
|
},
|
|
"successes": {
|
|
"items": {
|
|
"$ref": "#/definitions/ExternalAgentConfigImportItemTypeSuccess"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"required": [
|
|
"completedAtMs",
|
|
"failures",
|
|
"importId",
|
|
"successes"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"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"
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"itemType"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"ExternalAgentConfigMigrationItemType": {
|
|
"enum": [
|
|
"AGENTS_MD",
|
|
"CONFIG",
|
|
"SKILLS",
|
|
"PLUGINS",
|
|
"MCP_SERVER_CONFIG",
|
|
"SUBAGENTS",
|
|
"HOOKS",
|
|
"COMMANDS",
|
|
"MEMORY",
|
|
"SESSIONS"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"ExternalAgentImportedConnectorCandidate": {
|
|
"properties": {
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"sessionCount": {
|
|
"format": "uint32",
|
|
"minimum": 0.0,
|
|
"type": "integer"
|
|
},
|
|
"source": {
|
|
"$ref": "#/definitions/ExternalAgentImportedConnectorSource"
|
|
}
|
|
},
|
|
"required": [
|
|
"name",
|
|
"sessionCount",
|
|
"source"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"ExternalAgentImportedConnectorSource": {
|
|
"enum": [
|
|
"remoteMcpServersConfig"
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"properties": {
|
|
"connectors": {
|
|
"items": {
|
|
"$ref": "#/definitions/ExternalAgentImportedConnectorCandidate"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"data": {
|
|
"items": {
|
|
"$ref": "#/definitions/ExternalAgentConfigImportHistory"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"required": [
|
|
"connectors",
|
|
"data"
|
|
],
|
|
"title": "ExternalAgentConfigImportHistoriesReadResponse",
|
|
"type": "object"
|
|
} |