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
219 lines
4.3 KiB
JSON
Generated
219 lines
4.3 KiB
JSON
Generated
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"definitions": {
|
|
"CommandMigration": {
|
|
"properties": {
|
|
"name": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"name"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"ExternalAgentConfigMigrationItem": {
|
|
"properties": {
|
|
"cwd": {
|
|
"description": "Null or empty means home-scoped migration; non-empty means repo-scoped migration.",
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"description": {
|
|
"type": "string"
|
|
},
|
|
"details": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/definitions/MigrationDetails"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"itemType": {
|
|
"$ref": "#/definitions/ExternalAgentConfigMigrationItemType"
|
|
}
|
|
},
|
|
"required": [
|
|
"description",
|
|
"itemType"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"ExternalAgentConfigMigrationItemType": {
|
|
"enum": [
|
|
"AGENTS_MD",
|
|
"CONFIG",
|
|
"SKILLS",
|
|
"PLUGINS",
|
|
"MCP_SERVER_CONFIG",
|
|
"SUBAGENTS",
|
|
"HOOKS",
|
|
"COMMANDS",
|
|
"MEMORY",
|
|
"SESSIONS"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"HookMigration": {
|
|
"properties": {
|
|
"name": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"name"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"McpServerMigration": {
|
|
"properties": {
|
|
"name": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"name"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"MigrationDetails": {
|
|
"properties": {
|
|
"commands": {
|
|
"default": [],
|
|
"items": {
|
|
"$ref": "#/definitions/CommandMigration"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"hooks": {
|
|
"default": [],
|
|
"items": {
|
|
"$ref": "#/definitions/HookMigration"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"mcpServers": {
|
|
"default": [],
|
|
"items": {
|
|
"$ref": "#/definitions/McpServerMigration"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"memory": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"plugins": {
|
|
"default": [],
|
|
"items": {
|
|
"$ref": "#/definitions/PluginsMigration"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"sessions": {
|
|
"default": [],
|
|
"items": {
|
|
"$ref": "#/definitions/SessionMigration"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"skills": {
|
|
"default": [],
|
|
"items": {
|
|
"$ref": "#/definitions/SkillMigration"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"subagents": {
|
|
"default": [],
|
|
"items": {
|
|
"$ref": "#/definitions/SubagentMigration"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"PluginsMigration": {
|
|
"properties": {
|
|
"marketplaceName": {
|
|
"type": "string"
|
|
},
|
|
"pluginNames": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"required": [
|
|
"marketplaceName",
|
|
"pluginNames"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"SessionMigration": {
|
|
"properties": {
|
|
"cwd": {
|
|
"type": "string"
|
|
},
|
|
"path": {
|
|
"type": "string"
|
|
},
|
|
"title": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"cwd",
|
|
"path"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"SkillMigration": {
|
|
"properties": {
|
|
"name": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"name"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"SubagentMigration": {
|
|
"properties": {
|
|
"name": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"name"
|
|
],
|
|
"type": "object"
|
|
}
|
|
},
|
|
"properties": {
|
|
"items": {
|
|
"items": {
|
|
"$ref": "#/definitions/ExternalAgentConfigMigrationItem"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"required": [
|
|
"items"
|
|
],
|
|
"title": "ExternalAgentConfigDetectResponse",
|
|
"type": "object"
|
|
} |