diff --git a/notes/fresh-workspace-handoff.md b/notes/fresh-workspace-handoff.md index d888ac26..1741055f 100644 --- a/notes/fresh-workspace-handoff.md +++ b/notes/fresh-workspace-handoff.md @@ -884,6 +884,13 @@ and no longer have test-client helper senders. The old `Plugin*` data structs remain only as inert protocol-shape residue for orphaned plugin crates such as `core-plugins`; they are not live routes. +The app-server marketplace JSON-RPC verbs are gone as well. `marketplace/add` +and `marketplace/remove` no longer exist as shared `ClientRequest` variants, +`codex_message_processor.rs` dispatch arms, disabled handlers, test-client +helpers, README claims, add/remove params/responses, or generated client schema +entries. Protocol schema regeneration also removed stale plugin request/response +schema files that had survived after the live plugin routes were cut. + The orphaned `codex-chatgpt` crate is deleted from the vendored workspace. Do not confuse that with ChatGPT auth itself: originator strings and login/model auth surfaces that preserve the user's Codex subscription compatibility remain diff --git a/state/ledgers.msgpack b/state/ledgers.msgpack index ad4ed45b..8ef88421 100644 Binary files a/state/ledgers.msgpack and b/state/ledgers.msgpack differ diff --git a/state/map.yaml b/state/map.yaml index a1580d45..85351372 100644 --- a/state/map.yaml +++ b/state/map.yaml @@ -325,6 +325,10 @@ current_status: stale plugin/marketplace tests were removed instead of preserving implementation fossils. The disabled CLI plugin marketplace parser was deleted as well: `codex plugin marketplace ...` no longer parses just to - reject itself. MCP remains JSON-RPC at the edge; user-declared MCP servers - are the only runtime MCP authority. + reject itself. App-server `marketplace/add` and `marketplace/remove` are + gone too: no shared `ClientRequest` variants, `codex_message_processor.rs` + dispatch arms, disabled handlers, test-client helpers, README claims, + add/remove params/responses, or generated client schemas remain. MCP remains + JSON-RPC at the edge; user-declared MCP servers are the only runtime MCP + authority. next_action: Continue starving coordinator/runtime execution and operator surfaces off app-server JSON-RPC and out of `codex_message_processor.rs`; keep the vestigial Codex organ narrowed to subscription auth/model transport. diff --git a/vendor/codex/codex-rs/app-server-protocol/schema/json/ClientRequest.json b/vendor/codex/codex-rs/app-server-protocol/schema/json/ClientRequest.json index d77e4d4a..0f9ba8fd 100644 --- a/vendor/codex/codex-rs/app-server-protocol/schema/json/ClientRequest.json +++ b/vendor/codex/codex-rs/app-server-protocol/schema/json/ClientRequest.json @@ -1363,12 +1363,19 @@ ], "type": "string" }, + "EpiphanyModeKind": { + "enum": [ + "plan", + "default" + ], + "type": "string" + }, "EpiphanyModeState": { "properties": { "kind": { "anyOf": [ { - "$ref": "#/definitions/ModeKind" + "$ref": "#/definitions/EpiphanyModeKind" }, { "type": "null" @@ -2896,43 +2903,6 @@ } ] }, - "MarketplaceAddParams": { - "properties": { - "refName": { - "type": [ - "string", - "null" - ] - }, - "source": { - "type": "string" - }, - "sparsePaths": { - "items": { - "type": "string" - }, - "type": [ - "array", - "null" - ] - } - }, - "required": [ - "source" - ], - "type": "object" - }, - "MarketplaceRemoveParams": { - "properties": { - "marketplaceName": { - "type": "string" - } - }, - "required": [ - "marketplaceName" - ], - "type": "object" - }, "McpResourceReadParams": { "properties": { "server": { @@ -3158,86 +3128,6 @@ ], "type": "string" }, - "PluginInstallParams": { - "properties": { - "marketplacePath": { - "anyOf": [ - { - "$ref": "#/definitions/AbsolutePathBuf" - }, - { - "type": "null" - } - ] - }, - "pluginName": { - "type": "string" - }, - "remoteMarketplaceName": { - "type": [ - "string", - "null" - ] - } - }, - "required": [ - "pluginName" - ], - "type": "object" - }, - "PluginListParams": { - "properties": { - "cwds": { - "description": "Optional working directories used to discover repo marketplaces. When omitted, only home-scoped marketplaces and the official curated marketplace are considered.", - "items": { - "$ref": "#/definitions/AbsolutePathBuf" - }, - "type": [ - "array", - "null" - ] - } - }, - "type": "object" - }, - "PluginReadParams": { - "properties": { - "marketplacePath": { - "anyOf": [ - { - "$ref": "#/definitions/AbsolutePathBuf" - }, - { - "type": "null" - } - ] - }, - "pluginName": { - "type": "string" - }, - "remoteMarketplaceName": { - "type": [ - "string", - "null" - ] - } - }, - "required": [ - "pluginName" - ], - "type": "object" - }, - "PluginUninstallParams": { - "properties": { - "pluginId": { - "type": "string" - } - }, - "required": [ - "pluginId" - ], - "type": "object" - }, "PluginsMigration": { "properties": { "marketplaceName": { @@ -4728,6 +4618,306 @@ ], "type": "string" }, + "ThreadEpiphanyWorkerLaunchDocument": { + "oneOf": [ + { + "properties": { + "activeGraphNodeIds": { + "items": { + "type": "string" + }, + "type": "array" + }, + "activeSubgoalId": { + "type": [ + "string", + "null" + ] + }, + "activeSubgoals": { + "items": { + "$ref": "#/definitions/EpiphanySubgoal" + }, + "type": "array" + }, + "churn": { + "anyOf": [ + { + "$ref": "#/definitions/EpiphanyChurnState" + }, + { + "type": "null" + } + ] + }, + "documentKind": { + "enum": [ + "role" + ], + "type": "string" + }, + "graphCheckpoint": { + "anyOf": [ + { + "$ref": "#/definitions/EpiphanyGraphCheckpoint" + }, + { + "type": "null" + } + ] + }, + "graphFrontier": { + "anyOf": [ + { + "$ref": "#/definitions/EpiphanyGraphFrontier" + }, + { + "type": "null" + } + ] + }, + "graphs": { + "anyOf": [ + { + "$ref": "#/definitions/EpiphanyGraphs" + }, + { + "type": "null" + } + ] + }, + "invariants": { + "items": { + "$ref": "#/definitions/EpiphanyInvariant" + }, + "type": "array" + }, + "investigationCheckpoint": { + "anyOf": [ + { + "$ref": "#/definitions/EpiphanyInvestigationCheckpoint" + }, + { + "type": "null" + } + ] + }, + "objective": { + "type": [ + "string", + "null" + ] + }, + "planning": { + "anyOf": [ + { + "$ref": "#/definitions/EpiphanyPlanningState" + }, + { + "type": "null" + } + ] + }, + "recentEvidence": { + "items": { + "$ref": "#/definitions/EpiphanyEvidenceRecord" + }, + "type": "array" + }, + "recentObservations": { + "items": { + "$ref": "#/definitions/EpiphanyObservation" + }, + "type": "array" + }, + "roleId": { + "type": "string" + }, + "scratch": { + "anyOf": [ + { + "$ref": "#/definitions/EpiphanyScratchPad" + }, + { + "type": "null" + } + ] + }, + "stateRevision": { + "format": "uint64", + "minimum": 0.0, + "type": "integer" + }, + "threadId": { + "type": "string" + } + }, + "required": [ + "documentKind", + "roleId", + "stateRevision", + "threadId" + ], + "type": "object" + }, + { + "properties": { + "activeFrontierNodeIds": { + "items": { + "type": "string" + }, + "type": "array" + }, + "checkpointChangedPaths": { + "items": { + "type": "string" + }, + "type": "array" + }, + "checkpointCodeRefs": { + "items": { + "$ref": "#/definitions/EpiphanyCodeRef" + }, + "type": "array" + }, + "checkpointDirtyPaths": { + "items": { + "type": "string" + }, + "type": "array" + }, + "checkpointDisposition": { + "type": "string" + }, + "checkpointEvidenceIds": { + "items": { + "type": "string" + }, + "type": "array" + }, + "checkpointFocus": { + "type": [ + "string", + "null" + ] + }, + "checkpointId": { + "type": "string" + }, + "checkpointKind": { + "type": "string" + }, + "checkpointNextAction": { + "type": "string" + }, + "checkpointOpenQuestions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "checkpointSummary": { + "type": [ + "string", + "null" + ] + }, + "decisionNote": { + "type": "string" + }, + "decisionReasons": { + "items": { + "type": "string" + }, + "type": "array" + }, + "documentKind": { + "enum": [ + "reorient" + ], + "type": "string" + }, + "graphStatus": { + "type": "string" + }, + "graphs": { + "anyOf": [ + { + "$ref": "#/definitions/EpiphanyGraphs" + }, + { + "type": "null" + } + ] + }, + "linkedGraphNodeIds": { + "items": { + "type": "string" + }, + "type": "array" + }, + "linkedSubgoalIds": { + "items": { + "type": "string" + }, + "type": "array" + }, + "mode": { + "type": "string" + }, + "pressureLevel": { + "type": "string" + }, + "recentEvidence": { + "items": { + "$ref": "#/definitions/EpiphanyEvidenceRecord" + }, + "type": "array" + }, + "recentObservations": { + "items": { + "$ref": "#/definitions/EpiphanyObservation" + }, + "type": "array" + }, + "retrievalStatus": { + "type": "string" + }, + "scratch": { + "anyOf": [ + { + "$ref": "#/definitions/EpiphanyScratchPad" + }, + { + "type": "null" + } + ] + }, + "threadId": { + "type": "string" + }, + "watcherStatus": { + "type": "string" + } + }, + "required": [ + "checkpointDisposition", + "checkpointId", + "checkpointKind", + "checkpointNextAction", + "decisionNote", + "documentKind", + "graphStatus", + "mode", + "pressureLevel", + "retrievalStatus", + "threadId", + "watcherStatus" + ], + "type": "object" + } + ] + }, "ThreadForkParams": { "description": "There are two ways to fork a thread: 1. By thread_id: load the thread from disk by thread_id and fork it into a new thread. 2. By path: load the thread from disk by path and fork it into a new thread.\n\nIf using path, the thread_id param will be ignored.\n\nPrefer using thread_id whenever possible.", "properties": { @@ -6316,102 +6506,6 @@ "title": "Skills/listRequest", "type": "object" }, - { - "properties": { - "id": { - "$ref": "#/definitions/RequestId" - }, - "method": { - "enum": [ - "marketplace/add" - ], - "title": "Marketplace/addRequestMethod", - "type": "string" - }, - "params": { - "$ref": "#/definitions/MarketplaceAddParams" - } - }, - "required": [ - "id", - "method", - "params" - ], - "title": "Marketplace/addRequest", - "type": "object" - }, - { - "properties": { - "id": { - "$ref": "#/definitions/RequestId" - }, - "method": { - "enum": [ - "marketplace/remove" - ], - "title": "Marketplace/removeRequestMethod", - "type": "string" - }, - "params": { - "$ref": "#/definitions/MarketplaceRemoveParams" - } - }, - "required": [ - "id", - "method", - "params" - ], - "title": "Marketplace/removeRequest", - "type": "object" - }, - { - "properties": { - "id": { - "$ref": "#/definitions/RequestId" - }, - "method": { - "enum": [ - "plugin/list" - ], - "title": "Plugin/listRequestMethod", - "type": "string" - }, - "params": { - "$ref": "#/definitions/PluginListParams" - } - }, - "required": [ - "id", - "method", - "params" - ], - "title": "Plugin/listRequest", - "type": "object" - }, - { - "properties": { - "id": { - "$ref": "#/definitions/RequestId" - }, - "method": { - "enum": [ - "plugin/read" - ], - "title": "Plugin/readRequestMethod", - "type": "string" - }, - "params": { - "$ref": "#/definitions/PluginReadParams" - } - }, - "required": [ - "id", - "method", - "params" - ], - "title": "Plugin/readRequest", - "type": "object" - }, { "properties": { "id": { @@ -6748,54 +6842,6 @@ "title": "Skills/config/writeRequest", "type": "object" }, - { - "properties": { - "id": { - "$ref": "#/definitions/RequestId" - }, - "method": { - "enum": [ - "plugin/install" - ], - "title": "Plugin/installRequestMethod", - "type": "string" - }, - "params": { - "$ref": "#/definitions/PluginInstallParams" - } - }, - "required": [ - "id", - "method", - "params" - ], - "title": "Plugin/installRequest", - "type": "object" - }, - { - "properties": { - "id": { - "$ref": "#/definitions/RequestId" - }, - "method": { - "enum": [ - "plugin/uninstall" - ], - "title": "Plugin/uninstallRequestMethod", - "type": "string" - }, - "params": { - "$ref": "#/definitions/PluginUninstallParams" - } - }, - "required": [ - "id", - "method", - "params" - ], - "title": "Plugin/uninstallRequest", - "type": "object" - }, { "properties": { "id": { diff --git a/vendor/codex/codex-rs/app-server-protocol/schema/json/ServerNotification.json b/vendor/codex/codex-rs/app-server-protocol/schema/json/ServerNotification.json index 87d5e064..f3157987 100644 --- a/vendor/codex/codex-rs/app-server-protocol/schema/json/ServerNotification.json +++ b/vendor/codex/codex-rs/app-server-protocol/schema/json/ServerNotification.json @@ -1623,12 +1623,19 @@ ], "type": "string" }, + "EpiphanyModeKind": { + "enum": [ + "plan", + "default" + ], + "type": "string" + }, "EpiphanyModeState": { "properties": { "kind": { "anyOf": [ { - "$ref": "#/definitions/ModeKind" + "$ref": "#/definitions/EpiphanyModeKind" }, { "type": "null" @@ -3716,14 +3723,6 @@ } ] }, - "ModeKind": { - "description": "Initial collaboration mode to use when the TUI starts.", - "enum": [ - "plan", - "default" - ], - "type": "string" - }, "ModelRerouteReason": { "enum": [ "highRiskCyberActivity" diff --git a/vendor/codex/codex-rs/app-server-protocol/schema/json/codex_app_server_protocol.schemas.json b/vendor/codex/codex-rs/app-server-protocol/schema/json/codex_app_server_protocol.schemas.json index 9078e724..c6b64d49 100644 --- a/vendor/codex/codex-rs/app-server-protocol/schema/json/codex_app_server_protocol.schemas.json +++ b/vendor/codex/codex-rs/app-server-protocol/schema/json/codex_app_server_protocol.schemas.json @@ -641,102 +641,6 @@ "title": "Skills/listRequest", "type": "object" }, - { - "properties": { - "id": { - "$ref": "#/definitions/v2/RequestId" - }, - "method": { - "enum": [ - "marketplace/add" - ], - "title": "Marketplace/addRequestMethod", - "type": "string" - }, - "params": { - "$ref": "#/definitions/v2/MarketplaceAddParams" - } - }, - "required": [ - "id", - "method", - "params" - ], - "title": "Marketplace/addRequest", - "type": "object" - }, - { - "properties": { - "id": { - "$ref": "#/definitions/v2/RequestId" - }, - "method": { - "enum": [ - "marketplace/remove" - ], - "title": "Marketplace/removeRequestMethod", - "type": "string" - }, - "params": { - "$ref": "#/definitions/v2/MarketplaceRemoveParams" - } - }, - "required": [ - "id", - "method", - "params" - ], - "title": "Marketplace/removeRequest", - "type": "object" - }, - { - "properties": { - "id": { - "$ref": "#/definitions/v2/RequestId" - }, - "method": { - "enum": [ - "plugin/list" - ], - "title": "Plugin/listRequestMethod", - "type": "string" - }, - "params": { - "$ref": "#/definitions/v2/PluginListParams" - } - }, - "required": [ - "id", - "method", - "params" - ], - "title": "Plugin/listRequest", - "type": "object" - }, - { - "properties": { - "id": { - "$ref": "#/definitions/v2/RequestId" - }, - "method": { - "enum": [ - "plugin/read" - ], - "title": "Plugin/readRequestMethod", - "type": "string" - }, - "params": { - "$ref": "#/definitions/v2/PluginReadParams" - } - }, - "required": [ - "id", - "method", - "params" - ], - "title": "Plugin/readRequest", - "type": "object" - }, { "properties": { "id": { @@ -1073,54 +977,6 @@ "title": "Skills/config/writeRequest", "type": "object" }, - { - "properties": { - "id": { - "$ref": "#/definitions/v2/RequestId" - }, - "method": { - "enum": [ - "plugin/install" - ], - "title": "Plugin/installRequestMethod", - "type": "string" - }, - "params": { - "$ref": "#/definitions/v2/PluginInstallParams" - } - }, - "required": [ - "id", - "method", - "params" - ], - "title": "Plugin/installRequest", - "type": "object" - }, - { - "properties": { - "id": { - "$ref": "#/definitions/v2/RequestId" - }, - "method": { - "enum": [ - "plugin/uninstall" - ], - "title": "Plugin/uninstallRequestMethod", - "type": "string" - }, - "params": { - "$ref": "#/definitions/v2/PluginUninstallParams" - } - }, - "required": [ - "id", - "method", - "params" - ], - "title": "Plugin/uninstallRequest", - "type": "object" - }, { "properties": { "id": { @@ -5710,38 +5566,6 @@ ], "type": "object" }, - "AppSummary": { - "description": "EXPERIMENTAL - app metadata summary for plugin responses.", - "properties": { - "description": { - "type": [ - "string", - "null" - ] - }, - "id": { - "type": "string" - }, - "installUrl": { - "type": [ - "string", - "null" - ] - }, - "name": { - "type": "string" - }, - "needsAuth": { - "type": "boolean" - } - }, - "required": [ - "id", - "name", - "needsAuth" - ], - "type": "object" - }, "AppToolApproval": { "enum": [ "auto", @@ -8492,12 +8316,19 @@ ], "type": "string" }, + "EpiphanyModeKind": { + "enum": [ + "plan", + "default" + ], + "type": "string" + }, "EpiphanyModeState": { "properties": { "kind": { "anyOf": [ { - "$ref": "#/definitions/v2/ModeKind" + "$ref": "#/definitions/v2/EpiphanyModeKind" }, { "type": "null" @@ -11547,117 +11378,6 @@ "title": "LogoutAccountResponse", "type": "object" }, - "MarketplaceAddParams": { - "$schema": "http://json-schema.org/draft-07/schema#", - "properties": { - "refName": { - "type": [ - "string", - "null" - ] - }, - "source": { - "type": "string" - }, - "sparsePaths": { - "items": { - "type": "string" - }, - "type": [ - "array", - "null" - ] - } - }, - "required": [ - "source" - ], - "title": "MarketplaceAddParams", - "type": "object" - }, - "MarketplaceAddResponse": { - "$schema": "http://json-schema.org/draft-07/schema#", - "properties": { - "alreadyAdded": { - "type": "boolean" - }, - "installedRoot": { - "$ref": "#/definitions/v2/AbsolutePathBuf" - }, - "marketplaceName": { - "type": "string" - } - }, - "required": [ - "alreadyAdded", - "installedRoot", - "marketplaceName" - ], - "title": "MarketplaceAddResponse", - "type": "object" - }, - "MarketplaceInterface": { - "properties": { - "displayName": { - "type": [ - "string", - "null" - ] - } - }, - "type": "object" - }, - "MarketplaceLoadErrorInfo": { - "properties": { - "marketplacePath": { - "$ref": "#/definitions/v2/AbsolutePathBuf" - }, - "message": { - "type": "string" - } - }, - "required": [ - "marketplacePath", - "message" - ], - "type": "object" - }, - "MarketplaceRemoveParams": { - "$schema": "http://json-schema.org/draft-07/schema#", - "properties": { - "marketplaceName": { - "type": "string" - } - }, - "required": [ - "marketplaceName" - ], - "title": "MarketplaceRemoveParams", - "type": "object" - }, - "MarketplaceRemoveResponse": { - "$schema": "http://json-schema.org/draft-07/schema#", - "properties": { - "installedRoot": { - "anyOf": [ - { - "$ref": "#/definitions/v2/AbsolutePathBuf" - }, - { - "type": "null" - } - ] - }, - "marketplaceName": { - "type": "string" - } - }, - "required": [ - "marketplaceName" - ], - "title": "MarketplaceRemoveResponse", - "type": "object" - }, "McpAuthStatus": { "enum": [ "unsupported", @@ -12605,522 +12325,6 @@ ], "type": "string" }, - "PluginAuthPolicy": { - "enum": [ - "ON_INSTALL", - "ON_USE" - ], - "type": "string" - }, - "PluginDetail": { - "properties": { - "apps": { - "items": { - "$ref": "#/definitions/v2/AppSummary" - }, - "type": "array" - }, - "description": { - "type": [ - "string", - "null" - ] - }, - "marketplaceName": { - "type": "string" - }, - "marketplacePath": { - "anyOf": [ - { - "$ref": "#/definitions/v2/AbsolutePathBuf" - }, - { - "type": "null" - } - ] - }, - "mcpServers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "skills": { - "items": { - "$ref": "#/definitions/v2/SkillSummary" - }, - "type": "array" - }, - "summary": { - "$ref": "#/definitions/v2/PluginSummary" - } - }, - "required": [ - "apps", - "marketplaceName", - "mcpServers", - "skills", - "summary" - ], - "type": "object" - }, - "PluginInstallParams": { - "$schema": "http://json-schema.org/draft-07/schema#", - "properties": { - "marketplacePath": { - "anyOf": [ - { - "$ref": "#/definitions/v2/AbsolutePathBuf" - }, - { - "type": "null" - } - ] - }, - "pluginName": { - "type": "string" - }, - "remoteMarketplaceName": { - "type": [ - "string", - "null" - ] - } - }, - "required": [ - "pluginName" - ], - "title": "PluginInstallParams", - "type": "object" - }, - "PluginInstallPolicy": { - "enum": [ - "NOT_AVAILABLE", - "AVAILABLE", - "INSTALLED_BY_DEFAULT" - ], - "type": "string" - }, - "PluginInstallResponse": { - "$schema": "http://json-schema.org/draft-07/schema#", - "properties": { - "appsNeedingAuth": { - "items": { - "$ref": "#/definitions/v2/AppSummary" - }, - "type": "array" - }, - "authPolicy": { - "$ref": "#/definitions/v2/PluginAuthPolicy" - } - }, - "required": [ - "appsNeedingAuth", - "authPolicy" - ], - "title": "PluginInstallResponse", - "type": "object" - }, - "PluginInterface": { - "properties": { - "brandColor": { - "type": [ - "string", - "null" - ] - }, - "capabilities": { - "items": { - "type": "string" - }, - "type": "array" - }, - "category": { - "type": [ - "string", - "null" - ] - }, - "composerIcon": { - "anyOf": [ - { - "$ref": "#/definitions/v2/AbsolutePathBuf" - }, - { - "type": "null" - } - ], - "description": "Local composer icon path, resolved from the installed plugin package." - }, - "composerIconUrl": { - "description": "Remote composer icon URL from the plugin catalog.", - "type": [ - "string", - "null" - ] - }, - "defaultPrompt": { - "description": "Starter prompts for the plugin. Capped at 3 entries with a maximum of 128 characters per entry.", - "items": { - "type": "string" - }, - "type": [ - "array", - "null" - ] - }, - "developerName": { - "type": [ - "string", - "null" - ] - }, - "displayName": { - "type": [ - "string", - "null" - ] - }, - "logo": { - "anyOf": [ - { - "$ref": "#/definitions/v2/AbsolutePathBuf" - }, - { - "type": "null" - } - ], - "description": "Local logo path, resolved from the installed plugin package." - }, - "logoUrl": { - "description": "Remote logo URL from the plugin catalog.", - "type": [ - "string", - "null" - ] - }, - "longDescription": { - "type": [ - "string", - "null" - ] - }, - "privacyPolicyUrl": { - "type": [ - "string", - "null" - ] - }, - "screenshotUrls": { - "description": "Remote screenshot URLs from the plugin catalog.", - "items": { - "type": "string" - }, - "type": "array" - }, - "screenshots": { - "description": "Local screenshot paths, resolved from the installed plugin package.", - "items": { - "$ref": "#/definitions/v2/AbsolutePathBuf" - }, - "type": "array" - }, - "shortDescription": { - "type": [ - "string", - "null" - ] - }, - "termsOfServiceUrl": { - "type": [ - "string", - "null" - ] - }, - "websiteUrl": { - "type": [ - "string", - "null" - ] - } - }, - "required": [ - "capabilities", - "screenshotUrls", - "screenshots" - ], - "type": "object" - }, - "PluginListParams": { - "$schema": "http://json-schema.org/draft-07/schema#", - "properties": { - "cwds": { - "description": "Optional working directories used to discover repo marketplaces. When omitted, only home-scoped marketplaces and the official curated marketplace are considered.", - "items": { - "$ref": "#/definitions/v2/AbsolutePathBuf" - }, - "type": [ - "array", - "null" - ] - } - }, - "title": "PluginListParams", - "type": "object" - }, - "PluginListResponse": { - "$schema": "http://json-schema.org/draft-07/schema#", - "properties": { - "featuredPluginIds": { - "default": [], - "items": { - "type": "string" - }, - "type": "array" - }, - "marketplaceLoadErrors": { - "default": [], - "items": { - "$ref": "#/definitions/v2/MarketplaceLoadErrorInfo" - }, - "type": "array" - }, - "marketplaces": { - "items": { - "$ref": "#/definitions/v2/PluginMarketplaceEntry" - }, - "type": "array" - } - }, - "required": [ - "marketplaces" - ], - "title": "PluginListResponse", - "type": "object" - }, - "PluginMarketplaceEntry": { - "properties": { - "interface": { - "anyOf": [ - { - "$ref": "#/definitions/v2/MarketplaceInterface" - }, - { - "type": "null" - } - ] - }, - "name": { - "type": "string" - }, - "path": { - "anyOf": [ - { - "$ref": "#/definitions/v2/AbsolutePathBuf" - }, - { - "type": "null" - } - ], - "description": "Local marketplace file path when the marketplace is backed by a local file. Remote-only catalog marketplaces do not have a local path." - }, - "plugins": { - "items": { - "$ref": "#/definitions/v2/PluginSummary" - }, - "type": "array" - } - }, - "required": [ - "name", - "plugins" - ], - "type": "object" - }, - "PluginReadParams": { - "$schema": "http://json-schema.org/draft-07/schema#", - "properties": { - "marketplacePath": { - "anyOf": [ - { - "$ref": "#/definitions/v2/AbsolutePathBuf" - }, - { - "type": "null" - } - ] - }, - "pluginName": { - "type": "string" - }, - "remoteMarketplaceName": { - "type": [ - "string", - "null" - ] - } - }, - "required": [ - "pluginName" - ], - "title": "PluginReadParams", - "type": "object" - }, - "PluginReadResponse": { - "$schema": "http://json-schema.org/draft-07/schema#", - "properties": { - "plugin": { - "$ref": "#/definitions/v2/PluginDetail" - } - }, - "required": [ - "plugin" - ], - "title": "PluginReadResponse", - "type": "object" - }, - "PluginSource": { - "oneOf": [ - { - "properties": { - "path": { - "$ref": "#/definitions/v2/AbsolutePathBuf" - }, - "type": { - "enum": [ - "local" - ], - "title": "LocalPluginSourceType", - "type": "string" - } - }, - "required": [ - "path", - "type" - ], - "title": "LocalPluginSource", - "type": "object" - }, - { - "properties": { - "path": { - "type": [ - "string", - "null" - ] - }, - "refName": { - "type": [ - "string", - "null" - ] - }, - "sha": { - "type": [ - "string", - "null" - ] - }, - "type": { - "enum": [ - "git" - ], - "title": "GitPluginSourceType", - "type": "string" - }, - "url": { - "type": "string" - } - }, - "required": [ - "type", - "url" - ], - "title": "GitPluginSource", - "type": "object" - }, - { - "description": "The plugin is available in the remote catalog. Download metadata is kept server-side and is not exposed through the app-server API.", - "properties": { - "type": { - "enum": [ - "remote" - ], - "title": "RemotePluginSourceType", - "type": "string" - } - }, - "required": [ - "type" - ], - "title": "RemotePluginSource", - "type": "object" - } - ] - }, - "PluginSummary": { - "properties": { - "authPolicy": { - "$ref": "#/definitions/v2/PluginAuthPolicy" - }, - "enabled": { - "type": "boolean" - }, - "id": { - "type": "string" - }, - "installPolicy": { - "$ref": "#/definitions/v2/PluginInstallPolicy" - }, - "installed": { - "type": "boolean" - }, - "interface": { - "anyOf": [ - { - "$ref": "#/definitions/v2/PluginInterface" - }, - { - "type": "null" - } - ] - }, - "name": { - "type": "string" - }, - "source": { - "$ref": "#/definitions/v2/PluginSource" - } - }, - "required": [ - "authPolicy", - "enabled", - "id", - "installPolicy", - "installed", - "name", - "source" - ], - "type": "object" - }, - "PluginUninstallParams": { - "$schema": "http://json-schema.org/draft-07/schema#", - "properties": { - "pluginId": { - "type": "string" - } - }, - "required": [ - "pluginId" - ], - "title": "PluginUninstallParams", - "type": "object" - }, - "PluginUninstallResponse": { - "$schema": "http://json-schema.org/draft-07/schema#", - "title": "PluginUninstallResponse", - "type": "object" - }, "PluginsMigration": { "properties": { "marketplaceName": { @@ -15005,51 +14209,6 @@ ], "type": "string" }, - "SkillSummary": { - "properties": { - "description": { - "type": "string" - }, - "enabled": { - "type": "boolean" - }, - "interface": { - "anyOf": [ - { - "$ref": "#/definitions/v2/SkillInterface" - }, - { - "type": "null" - } - ] - }, - "name": { - "type": "string" - }, - "path": { - "anyOf": [ - { - "$ref": "#/definitions/v2/AbsolutePathBuf" - }, - { - "type": "null" - } - ] - }, - "shortDescription": { - "type": [ - "string", - "null" - ] - } - }, - "required": [ - "description", - "enabled", - "name" - ], - "type": "object" - }, "SkillToolDependency": { "properties": { "command": { @@ -18041,6 +17200,306 @@ ], "type": "object" }, + "ThreadEpiphanyWorkerLaunchDocument": { + "oneOf": [ + { + "properties": { + "activeGraphNodeIds": { + "items": { + "type": "string" + }, + "type": "array" + }, + "activeSubgoalId": { + "type": [ + "string", + "null" + ] + }, + "activeSubgoals": { + "items": { + "$ref": "#/definitions/v2/EpiphanySubgoal" + }, + "type": "array" + }, + "churn": { + "anyOf": [ + { + "$ref": "#/definitions/v2/EpiphanyChurnState" + }, + { + "type": "null" + } + ] + }, + "documentKind": { + "enum": [ + "role" + ], + "type": "string" + }, + "graphCheckpoint": { + "anyOf": [ + { + "$ref": "#/definitions/v2/EpiphanyGraphCheckpoint" + }, + { + "type": "null" + } + ] + }, + "graphFrontier": { + "anyOf": [ + { + "$ref": "#/definitions/v2/EpiphanyGraphFrontier" + }, + { + "type": "null" + } + ] + }, + "graphs": { + "anyOf": [ + { + "$ref": "#/definitions/v2/EpiphanyGraphs" + }, + { + "type": "null" + } + ] + }, + "invariants": { + "items": { + "$ref": "#/definitions/v2/EpiphanyInvariant" + }, + "type": "array" + }, + "investigationCheckpoint": { + "anyOf": [ + { + "$ref": "#/definitions/v2/EpiphanyInvestigationCheckpoint" + }, + { + "type": "null" + } + ] + }, + "objective": { + "type": [ + "string", + "null" + ] + }, + "planning": { + "anyOf": [ + { + "$ref": "#/definitions/v2/EpiphanyPlanningState" + }, + { + "type": "null" + } + ] + }, + "recentEvidence": { + "items": { + "$ref": "#/definitions/v2/EpiphanyEvidenceRecord" + }, + "type": "array" + }, + "recentObservations": { + "items": { + "$ref": "#/definitions/v2/EpiphanyObservation" + }, + "type": "array" + }, + "roleId": { + "type": "string" + }, + "scratch": { + "anyOf": [ + { + "$ref": "#/definitions/v2/EpiphanyScratchPad" + }, + { + "type": "null" + } + ] + }, + "stateRevision": { + "format": "uint64", + "minimum": 0.0, + "type": "integer" + }, + "threadId": { + "type": "string" + } + }, + "required": [ + "documentKind", + "roleId", + "stateRevision", + "threadId" + ], + "type": "object" + }, + { + "properties": { + "activeFrontierNodeIds": { + "items": { + "type": "string" + }, + "type": "array" + }, + "checkpointChangedPaths": { + "items": { + "type": "string" + }, + "type": "array" + }, + "checkpointCodeRefs": { + "items": { + "$ref": "#/definitions/v2/EpiphanyCodeRef" + }, + "type": "array" + }, + "checkpointDirtyPaths": { + "items": { + "type": "string" + }, + "type": "array" + }, + "checkpointDisposition": { + "type": "string" + }, + "checkpointEvidenceIds": { + "items": { + "type": "string" + }, + "type": "array" + }, + "checkpointFocus": { + "type": [ + "string", + "null" + ] + }, + "checkpointId": { + "type": "string" + }, + "checkpointKind": { + "type": "string" + }, + "checkpointNextAction": { + "type": "string" + }, + "checkpointOpenQuestions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "checkpointSummary": { + "type": [ + "string", + "null" + ] + }, + "decisionNote": { + "type": "string" + }, + "decisionReasons": { + "items": { + "type": "string" + }, + "type": "array" + }, + "documentKind": { + "enum": [ + "reorient" + ], + "type": "string" + }, + "graphStatus": { + "type": "string" + }, + "graphs": { + "anyOf": [ + { + "$ref": "#/definitions/v2/EpiphanyGraphs" + }, + { + "type": "null" + } + ] + }, + "linkedGraphNodeIds": { + "items": { + "type": "string" + }, + "type": "array" + }, + "linkedSubgoalIds": { + "items": { + "type": "string" + }, + "type": "array" + }, + "mode": { + "type": "string" + }, + "pressureLevel": { + "type": "string" + }, + "recentEvidence": { + "items": { + "$ref": "#/definitions/v2/EpiphanyEvidenceRecord" + }, + "type": "array" + }, + "recentObservations": { + "items": { + "$ref": "#/definitions/v2/EpiphanyObservation" + }, + "type": "array" + }, + "retrievalStatus": { + "type": "string" + }, + "scratch": { + "anyOf": [ + { + "$ref": "#/definitions/v2/EpiphanyScratchPad" + }, + { + "type": "null" + } + ] + }, + "threadId": { + "type": "string" + }, + "watcherStatus": { + "type": "string" + } + }, + "required": [ + "checkpointDisposition", + "checkpointId", + "checkpointKind", + "checkpointNextAction", + "decisionNote", + "documentKind", + "graphStatus", + "mode", + "pressureLevel", + "retrievalStatus", + "threadId", + "watcherStatus" + ], + "type": "object" + } + ] + }, "ThreadForkParams": { "$schema": "http://json-schema.org/draft-07/schema#", "description": "There are two ways to fork a thread: 1. By thread_id: load the thread from disk by thread_id and fork it into a new thread. 2. By path: load the thread from disk by path and fork it into a new thread.\n\nIf using path, the thread_id param will be ignored.\n\nPrefer using thread_id whenever possible.", diff --git a/vendor/codex/codex-rs/app-server-protocol/schema/json/codex_app_server_protocol.v2.schemas.json b/vendor/codex/codex-rs/app-server-protocol/schema/json/codex_app_server_protocol.v2.schemas.json index d121fa60..d2374501 100644 --- a/vendor/codex/codex-rs/app-server-protocol/schema/json/codex_app_server_protocol.v2.schemas.json +++ b/vendor/codex/codex-rs/app-server-protocol/schema/json/codex_app_server_protocol.v2.schemas.json @@ -540,38 +540,6 @@ ], "type": "object" }, - "AppSummary": { - "description": "EXPERIMENTAL - app metadata summary for plugin responses.", - "properties": { - "description": { - "type": [ - "string", - "null" - ] - }, - "id": { - "type": "string" - }, - "installUrl": { - "type": [ - "string", - "null" - ] - }, - "name": { - "type": "string" - }, - "needsAuth": { - "type": "boolean" - } - }, - "required": [ - "id", - "name", - "needsAuth" - ], - "type": "object" - }, "AppToolApproval": { "enum": [ "auto", @@ -1330,102 +1298,6 @@ "title": "Skills/listRequest", "type": "object" }, - { - "properties": { - "id": { - "$ref": "#/definitions/RequestId" - }, - "method": { - "enum": [ - "marketplace/add" - ], - "title": "Marketplace/addRequestMethod", - "type": "string" - }, - "params": { - "$ref": "#/definitions/MarketplaceAddParams" - } - }, - "required": [ - "id", - "method", - "params" - ], - "title": "Marketplace/addRequest", - "type": "object" - }, - { - "properties": { - "id": { - "$ref": "#/definitions/RequestId" - }, - "method": { - "enum": [ - "marketplace/remove" - ], - "title": "Marketplace/removeRequestMethod", - "type": "string" - }, - "params": { - "$ref": "#/definitions/MarketplaceRemoveParams" - } - }, - "required": [ - "id", - "method", - "params" - ], - "title": "Marketplace/removeRequest", - "type": "object" - }, - { - "properties": { - "id": { - "$ref": "#/definitions/RequestId" - }, - "method": { - "enum": [ - "plugin/list" - ], - "title": "Plugin/listRequestMethod", - "type": "string" - }, - "params": { - "$ref": "#/definitions/PluginListParams" - } - }, - "required": [ - "id", - "method", - "params" - ], - "title": "Plugin/listRequest", - "type": "object" - }, - { - "properties": { - "id": { - "$ref": "#/definitions/RequestId" - }, - "method": { - "enum": [ - "plugin/read" - ], - "title": "Plugin/readRequestMethod", - "type": "string" - }, - "params": { - "$ref": "#/definitions/PluginReadParams" - } - }, - "required": [ - "id", - "method", - "params" - ], - "title": "Plugin/readRequest", - "type": "object" - }, { "properties": { "id": { @@ -1762,54 +1634,6 @@ "title": "Skills/config/writeRequest", "type": "object" }, - { - "properties": { - "id": { - "$ref": "#/definitions/RequestId" - }, - "method": { - "enum": [ - "plugin/install" - ], - "title": "Plugin/installRequestMethod", - "type": "string" - }, - "params": { - "$ref": "#/definitions/PluginInstallParams" - } - }, - "required": [ - "id", - "method", - "params" - ], - "title": "Plugin/installRequest", - "type": "object" - }, - { - "properties": { - "id": { - "$ref": "#/definitions/RequestId" - }, - "method": { - "enum": [ - "plugin/uninstall" - ], - "title": "Plugin/uninstallRequestMethod", - "type": "string" - }, - "params": { - "$ref": "#/definitions/PluginUninstallParams" - } - }, - "required": [ - "id", - "method", - "params" - ], - "title": "Plugin/uninstallRequest", - "type": "object" - }, { "properties": { "id": { @@ -5032,12 +4856,19 @@ ], "type": "string" }, + "EpiphanyModeKind": { + "enum": [ + "plan", + "default" + ], + "type": "string" + }, "EpiphanyModeState": { "properties": { "kind": { "anyOf": [ { - "$ref": "#/definitions/ModeKind" + "$ref": "#/definitions/EpiphanyModeKind" }, { "type": "null" @@ -8242,117 +8073,6 @@ "title": "LogoutAccountResponse", "type": "object" }, - "MarketplaceAddParams": { - "$schema": "http://json-schema.org/draft-07/schema#", - "properties": { - "refName": { - "type": [ - "string", - "null" - ] - }, - "source": { - "type": "string" - }, - "sparsePaths": { - "items": { - "type": "string" - }, - "type": [ - "array", - "null" - ] - } - }, - "required": [ - "source" - ], - "title": "MarketplaceAddParams", - "type": "object" - }, - "MarketplaceAddResponse": { - "$schema": "http://json-schema.org/draft-07/schema#", - "properties": { - "alreadyAdded": { - "type": "boolean" - }, - "installedRoot": { - "$ref": "#/definitions/AbsolutePathBuf" - }, - "marketplaceName": { - "type": "string" - } - }, - "required": [ - "alreadyAdded", - "installedRoot", - "marketplaceName" - ], - "title": "MarketplaceAddResponse", - "type": "object" - }, - "MarketplaceInterface": { - "properties": { - "displayName": { - "type": [ - "string", - "null" - ] - } - }, - "type": "object" - }, - "MarketplaceLoadErrorInfo": { - "properties": { - "marketplacePath": { - "$ref": "#/definitions/AbsolutePathBuf" - }, - "message": { - "type": "string" - } - }, - "required": [ - "marketplacePath", - "message" - ], - "type": "object" - }, - "MarketplaceRemoveParams": { - "$schema": "http://json-schema.org/draft-07/schema#", - "properties": { - "marketplaceName": { - "type": "string" - } - }, - "required": [ - "marketplaceName" - ], - "title": "MarketplaceRemoveParams", - "type": "object" - }, - "MarketplaceRemoveResponse": { - "$schema": "http://json-schema.org/draft-07/schema#", - "properties": { - "installedRoot": { - "anyOf": [ - { - "$ref": "#/definitions/AbsolutePathBuf" - }, - { - "type": "null" - } - ] - }, - "marketplaceName": { - "type": "string" - } - }, - "required": [ - "marketplaceName" - ], - "title": "MarketplaceRemoveResponse", - "type": "object" - }, "McpAuthStatus": { "enum": [ "unsupported", @@ -9300,522 +9020,6 @@ ], "type": "string" }, - "PluginAuthPolicy": { - "enum": [ - "ON_INSTALL", - "ON_USE" - ], - "type": "string" - }, - "PluginDetail": { - "properties": { - "apps": { - "items": { - "$ref": "#/definitions/AppSummary" - }, - "type": "array" - }, - "description": { - "type": [ - "string", - "null" - ] - }, - "marketplaceName": { - "type": "string" - }, - "marketplacePath": { - "anyOf": [ - { - "$ref": "#/definitions/AbsolutePathBuf" - }, - { - "type": "null" - } - ] - }, - "mcpServers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "skills": { - "items": { - "$ref": "#/definitions/SkillSummary" - }, - "type": "array" - }, - "summary": { - "$ref": "#/definitions/PluginSummary" - } - }, - "required": [ - "apps", - "marketplaceName", - "mcpServers", - "skills", - "summary" - ], - "type": "object" - }, - "PluginInstallParams": { - "$schema": "http://json-schema.org/draft-07/schema#", - "properties": { - "marketplacePath": { - "anyOf": [ - { - "$ref": "#/definitions/AbsolutePathBuf" - }, - { - "type": "null" - } - ] - }, - "pluginName": { - "type": "string" - }, - "remoteMarketplaceName": { - "type": [ - "string", - "null" - ] - } - }, - "required": [ - "pluginName" - ], - "title": "PluginInstallParams", - "type": "object" - }, - "PluginInstallPolicy": { - "enum": [ - "NOT_AVAILABLE", - "AVAILABLE", - "INSTALLED_BY_DEFAULT" - ], - "type": "string" - }, - "PluginInstallResponse": { - "$schema": "http://json-schema.org/draft-07/schema#", - "properties": { - "appsNeedingAuth": { - "items": { - "$ref": "#/definitions/AppSummary" - }, - "type": "array" - }, - "authPolicy": { - "$ref": "#/definitions/PluginAuthPolicy" - } - }, - "required": [ - "appsNeedingAuth", - "authPolicy" - ], - "title": "PluginInstallResponse", - "type": "object" - }, - "PluginInterface": { - "properties": { - "brandColor": { - "type": [ - "string", - "null" - ] - }, - "capabilities": { - "items": { - "type": "string" - }, - "type": "array" - }, - "category": { - "type": [ - "string", - "null" - ] - }, - "composerIcon": { - "anyOf": [ - { - "$ref": "#/definitions/AbsolutePathBuf" - }, - { - "type": "null" - } - ], - "description": "Local composer icon path, resolved from the installed plugin package." - }, - "composerIconUrl": { - "description": "Remote composer icon URL from the plugin catalog.", - "type": [ - "string", - "null" - ] - }, - "defaultPrompt": { - "description": "Starter prompts for the plugin. Capped at 3 entries with a maximum of 128 characters per entry.", - "items": { - "type": "string" - }, - "type": [ - "array", - "null" - ] - }, - "developerName": { - "type": [ - "string", - "null" - ] - }, - "displayName": { - "type": [ - "string", - "null" - ] - }, - "logo": { - "anyOf": [ - { - "$ref": "#/definitions/AbsolutePathBuf" - }, - { - "type": "null" - } - ], - "description": "Local logo path, resolved from the installed plugin package." - }, - "logoUrl": { - "description": "Remote logo URL from the plugin catalog.", - "type": [ - "string", - "null" - ] - }, - "longDescription": { - "type": [ - "string", - "null" - ] - }, - "privacyPolicyUrl": { - "type": [ - "string", - "null" - ] - }, - "screenshotUrls": { - "description": "Remote screenshot URLs from the plugin catalog.", - "items": { - "type": "string" - }, - "type": "array" - }, - "screenshots": { - "description": "Local screenshot paths, resolved from the installed plugin package.", - "items": { - "$ref": "#/definitions/AbsolutePathBuf" - }, - "type": "array" - }, - "shortDescription": { - "type": [ - "string", - "null" - ] - }, - "termsOfServiceUrl": { - "type": [ - "string", - "null" - ] - }, - "websiteUrl": { - "type": [ - "string", - "null" - ] - } - }, - "required": [ - "capabilities", - "screenshotUrls", - "screenshots" - ], - "type": "object" - }, - "PluginListParams": { - "$schema": "http://json-schema.org/draft-07/schema#", - "properties": { - "cwds": { - "description": "Optional working directories used to discover repo marketplaces. When omitted, only home-scoped marketplaces and the official curated marketplace are considered.", - "items": { - "$ref": "#/definitions/AbsolutePathBuf" - }, - "type": [ - "array", - "null" - ] - } - }, - "title": "PluginListParams", - "type": "object" - }, - "PluginListResponse": { - "$schema": "http://json-schema.org/draft-07/schema#", - "properties": { - "featuredPluginIds": { - "default": [], - "items": { - "type": "string" - }, - "type": "array" - }, - "marketplaceLoadErrors": { - "default": [], - "items": { - "$ref": "#/definitions/MarketplaceLoadErrorInfo" - }, - "type": "array" - }, - "marketplaces": { - "items": { - "$ref": "#/definitions/PluginMarketplaceEntry" - }, - "type": "array" - } - }, - "required": [ - "marketplaces" - ], - "title": "PluginListResponse", - "type": "object" - }, - "PluginMarketplaceEntry": { - "properties": { - "interface": { - "anyOf": [ - { - "$ref": "#/definitions/MarketplaceInterface" - }, - { - "type": "null" - } - ] - }, - "name": { - "type": "string" - }, - "path": { - "anyOf": [ - { - "$ref": "#/definitions/AbsolutePathBuf" - }, - { - "type": "null" - } - ], - "description": "Local marketplace file path when the marketplace is backed by a local file. Remote-only catalog marketplaces do not have a local path." - }, - "plugins": { - "items": { - "$ref": "#/definitions/PluginSummary" - }, - "type": "array" - } - }, - "required": [ - "name", - "plugins" - ], - "type": "object" - }, - "PluginReadParams": { - "$schema": "http://json-schema.org/draft-07/schema#", - "properties": { - "marketplacePath": { - "anyOf": [ - { - "$ref": "#/definitions/AbsolutePathBuf" - }, - { - "type": "null" - } - ] - }, - "pluginName": { - "type": "string" - }, - "remoteMarketplaceName": { - "type": [ - "string", - "null" - ] - } - }, - "required": [ - "pluginName" - ], - "title": "PluginReadParams", - "type": "object" - }, - "PluginReadResponse": { - "$schema": "http://json-schema.org/draft-07/schema#", - "properties": { - "plugin": { - "$ref": "#/definitions/PluginDetail" - } - }, - "required": [ - "plugin" - ], - "title": "PluginReadResponse", - "type": "object" - }, - "PluginSource": { - "oneOf": [ - { - "properties": { - "path": { - "$ref": "#/definitions/AbsolutePathBuf" - }, - "type": { - "enum": [ - "local" - ], - "title": "LocalPluginSourceType", - "type": "string" - } - }, - "required": [ - "path", - "type" - ], - "title": "LocalPluginSource", - "type": "object" - }, - { - "properties": { - "path": { - "type": [ - "string", - "null" - ] - }, - "refName": { - "type": [ - "string", - "null" - ] - }, - "sha": { - "type": [ - "string", - "null" - ] - }, - "type": { - "enum": [ - "git" - ], - "title": "GitPluginSourceType", - "type": "string" - }, - "url": { - "type": "string" - } - }, - "required": [ - "type", - "url" - ], - "title": "GitPluginSource", - "type": "object" - }, - { - "description": "The plugin is available in the remote catalog. Download metadata is kept server-side and is not exposed through the app-server API.", - "properties": { - "type": { - "enum": [ - "remote" - ], - "title": "RemotePluginSourceType", - "type": "string" - } - }, - "required": [ - "type" - ], - "title": "RemotePluginSource", - "type": "object" - } - ] - }, - "PluginSummary": { - "properties": { - "authPolicy": { - "$ref": "#/definitions/PluginAuthPolicy" - }, - "enabled": { - "type": "boolean" - }, - "id": { - "type": "string" - }, - "installPolicy": { - "$ref": "#/definitions/PluginInstallPolicy" - }, - "installed": { - "type": "boolean" - }, - "interface": { - "anyOf": [ - { - "$ref": "#/definitions/PluginInterface" - }, - { - "type": "null" - } - ] - }, - "name": { - "type": "string" - }, - "source": { - "$ref": "#/definitions/PluginSource" - } - }, - "required": [ - "authPolicy", - "enabled", - "id", - "installPolicy", - "installed", - "name", - "source" - ], - "type": "object" - }, - "PluginUninstallParams": { - "$schema": "http://json-schema.org/draft-07/schema#", - "properties": { - "pluginId": { - "type": "string" - } - }, - "required": [ - "pluginId" - ], - "title": "PluginUninstallParams", - "type": "object" - }, - "PluginUninstallResponse": { - "$schema": "http://json-schema.org/draft-07/schema#", - "title": "PluginUninstallResponse", - "type": "object" - }, "PluginsMigration": { "properties": { "marketplaceName": { @@ -12892,51 +12096,6 @@ ], "type": "string" }, - "SkillSummary": { - "properties": { - "description": { - "type": "string" - }, - "enabled": { - "type": "boolean" - }, - "interface": { - "anyOf": [ - { - "$ref": "#/definitions/SkillInterface" - }, - { - "type": "null" - } - ] - }, - "name": { - "type": "string" - }, - "path": { - "anyOf": [ - { - "$ref": "#/definitions/AbsolutePathBuf" - }, - { - "type": "null" - } - ] - }, - "shortDescription": { - "type": [ - "string", - "null" - ] - } - }, - "required": [ - "description", - "enabled", - "name" - ], - "type": "object" - }, "SkillToolDependency": { "properties": { "command": { @@ -15928,6 +15087,306 @@ ], "type": "object" }, + "ThreadEpiphanyWorkerLaunchDocument": { + "oneOf": [ + { + "properties": { + "activeGraphNodeIds": { + "items": { + "type": "string" + }, + "type": "array" + }, + "activeSubgoalId": { + "type": [ + "string", + "null" + ] + }, + "activeSubgoals": { + "items": { + "$ref": "#/definitions/EpiphanySubgoal" + }, + "type": "array" + }, + "churn": { + "anyOf": [ + { + "$ref": "#/definitions/EpiphanyChurnState" + }, + { + "type": "null" + } + ] + }, + "documentKind": { + "enum": [ + "role" + ], + "type": "string" + }, + "graphCheckpoint": { + "anyOf": [ + { + "$ref": "#/definitions/EpiphanyGraphCheckpoint" + }, + { + "type": "null" + } + ] + }, + "graphFrontier": { + "anyOf": [ + { + "$ref": "#/definitions/EpiphanyGraphFrontier" + }, + { + "type": "null" + } + ] + }, + "graphs": { + "anyOf": [ + { + "$ref": "#/definitions/EpiphanyGraphs" + }, + { + "type": "null" + } + ] + }, + "invariants": { + "items": { + "$ref": "#/definitions/EpiphanyInvariant" + }, + "type": "array" + }, + "investigationCheckpoint": { + "anyOf": [ + { + "$ref": "#/definitions/EpiphanyInvestigationCheckpoint" + }, + { + "type": "null" + } + ] + }, + "objective": { + "type": [ + "string", + "null" + ] + }, + "planning": { + "anyOf": [ + { + "$ref": "#/definitions/EpiphanyPlanningState" + }, + { + "type": "null" + } + ] + }, + "recentEvidence": { + "items": { + "$ref": "#/definitions/EpiphanyEvidenceRecord" + }, + "type": "array" + }, + "recentObservations": { + "items": { + "$ref": "#/definitions/EpiphanyObservation" + }, + "type": "array" + }, + "roleId": { + "type": "string" + }, + "scratch": { + "anyOf": [ + { + "$ref": "#/definitions/EpiphanyScratchPad" + }, + { + "type": "null" + } + ] + }, + "stateRevision": { + "format": "uint64", + "minimum": 0.0, + "type": "integer" + }, + "threadId": { + "type": "string" + } + }, + "required": [ + "documentKind", + "roleId", + "stateRevision", + "threadId" + ], + "type": "object" + }, + { + "properties": { + "activeFrontierNodeIds": { + "items": { + "type": "string" + }, + "type": "array" + }, + "checkpointChangedPaths": { + "items": { + "type": "string" + }, + "type": "array" + }, + "checkpointCodeRefs": { + "items": { + "$ref": "#/definitions/EpiphanyCodeRef" + }, + "type": "array" + }, + "checkpointDirtyPaths": { + "items": { + "type": "string" + }, + "type": "array" + }, + "checkpointDisposition": { + "type": "string" + }, + "checkpointEvidenceIds": { + "items": { + "type": "string" + }, + "type": "array" + }, + "checkpointFocus": { + "type": [ + "string", + "null" + ] + }, + "checkpointId": { + "type": "string" + }, + "checkpointKind": { + "type": "string" + }, + "checkpointNextAction": { + "type": "string" + }, + "checkpointOpenQuestions": { + "items": { + "type": "string" + }, + "type": "array" + }, + "checkpointSummary": { + "type": [ + "string", + "null" + ] + }, + "decisionNote": { + "type": "string" + }, + "decisionReasons": { + "items": { + "type": "string" + }, + "type": "array" + }, + "documentKind": { + "enum": [ + "reorient" + ], + "type": "string" + }, + "graphStatus": { + "type": "string" + }, + "graphs": { + "anyOf": [ + { + "$ref": "#/definitions/EpiphanyGraphs" + }, + { + "type": "null" + } + ] + }, + "linkedGraphNodeIds": { + "items": { + "type": "string" + }, + "type": "array" + }, + "linkedSubgoalIds": { + "items": { + "type": "string" + }, + "type": "array" + }, + "mode": { + "type": "string" + }, + "pressureLevel": { + "type": "string" + }, + "recentEvidence": { + "items": { + "$ref": "#/definitions/EpiphanyEvidenceRecord" + }, + "type": "array" + }, + "recentObservations": { + "items": { + "$ref": "#/definitions/EpiphanyObservation" + }, + "type": "array" + }, + "retrievalStatus": { + "type": "string" + }, + "scratch": { + "anyOf": [ + { + "$ref": "#/definitions/EpiphanyScratchPad" + }, + { + "type": "null" + } + ] + }, + "threadId": { + "type": "string" + }, + "watcherStatus": { + "type": "string" + } + }, + "required": [ + "checkpointDisposition", + "checkpointId", + "checkpointKind", + "checkpointNextAction", + "decisionNote", + "documentKind", + "graphStatus", + "mode", + "pressureLevel", + "retrievalStatus", + "threadId", + "watcherStatus" + ], + "type": "object" + } + ] + }, "ThreadForkParams": { "$schema": "http://json-schema.org/draft-07/schema#", "description": "There are two ways to fork a thread: 1. By thread_id: load the thread from disk by thread_id and fork it into a new thread. 2. By path: load the thread from disk by path and fork it into a new thread.\n\nIf using path, the thread_id param will be ignored.\n\nPrefer using thread_id whenever possible.", diff --git a/vendor/codex/codex-rs/app-server-protocol/schema/json/v2/MarketplaceAddParams.json b/vendor/codex/codex-rs/app-server-protocol/schema/json/v2/MarketplaceAddParams.json deleted file mode 100644 index 704e5bbc..00000000 --- a/vendor/codex/codex-rs/app-server-protocol/schema/json/v2/MarketplaceAddParams.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-07/schema#", - "properties": { - "refName": { - "type": [ - "string", - "null" - ] - }, - "source": { - "type": "string" - }, - "sparsePaths": { - "items": { - "type": "string" - }, - "type": [ - "array", - "null" - ] - } - }, - "required": [ - "source" - ], - "title": "MarketplaceAddParams", - "type": "object" -} \ No newline at end of file diff --git a/vendor/codex/codex-rs/app-server-protocol/schema/json/v2/MarketplaceAddResponse.json b/vendor/codex/codex-rs/app-server-protocol/schema/json/v2/MarketplaceAddResponse.json deleted file mode 100644 index d00db0d6..00000000 --- a/vendor/codex/codex-rs/app-server-protocol/schema/json/v2/MarketplaceAddResponse.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-07/schema#", - "definitions": { - "AbsolutePathBuf": { - "description": "A path that is guaranteed to be absolute and normalized (though it is not guaranteed to be canonicalized or exist on the filesystem).\n\nIMPORTANT: When deserializing an `AbsolutePathBuf`, a base path must be set using [AbsolutePathBufGuard::new]. If no base path is set, the deserialization will fail unless the path being deserialized is already absolute.", - "type": "string" - } - }, - "properties": { - "alreadyAdded": { - "type": "boolean" - }, - "installedRoot": { - "$ref": "#/definitions/AbsolutePathBuf" - }, - "marketplaceName": { - "type": "string" - } - }, - "required": [ - "alreadyAdded", - "installedRoot", - "marketplaceName" - ], - "title": "MarketplaceAddResponse", - "type": "object" -} \ No newline at end of file diff --git a/vendor/codex/codex-rs/app-server-protocol/schema/json/v2/MarketplaceRemoveParams.json b/vendor/codex/codex-rs/app-server-protocol/schema/json/v2/MarketplaceRemoveParams.json deleted file mode 100644 index 2c145686..00000000 --- a/vendor/codex/codex-rs/app-server-protocol/schema/json/v2/MarketplaceRemoveParams.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-07/schema#", - "properties": { - "marketplaceName": { - "type": "string" - } - }, - "required": [ - "marketplaceName" - ], - "title": "MarketplaceRemoveParams", - "type": "object" -} \ No newline at end of file diff --git a/vendor/codex/codex-rs/app-server-protocol/schema/json/v2/MarketplaceRemoveResponse.json b/vendor/codex/codex-rs/app-server-protocol/schema/json/v2/MarketplaceRemoveResponse.json deleted file mode 100644 index ae494507..00000000 --- a/vendor/codex/codex-rs/app-server-protocol/schema/json/v2/MarketplaceRemoveResponse.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-07/schema#", - "definitions": { - "AbsolutePathBuf": { - "description": "A path that is guaranteed to be absolute and normalized (though it is not guaranteed to be canonicalized or exist on the filesystem).\n\nIMPORTANT: When deserializing an `AbsolutePathBuf`, a base path must be set using [AbsolutePathBufGuard::new]. If no base path is set, the deserialization will fail unless the path being deserialized is already absolute.", - "type": "string" - } - }, - "properties": { - "installedRoot": { - "anyOf": [ - { - "$ref": "#/definitions/AbsolutePathBuf" - }, - { - "type": "null" - } - ] - }, - "marketplaceName": { - "type": "string" - } - }, - "required": [ - "marketplaceName" - ], - "title": "MarketplaceRemoveResponse", - "type": "object" -} \ No newline at end of file diff --git a/vendor/codex/codex-rs/app-server-protocol/schema/json/v2/PluginInstallParams.json b/vendor/codex/codex-rs/app-server-protocol/schema/json/v2/PluginInstallParams.json deleted file mode 100644 index ad3c0c10..00000000 --- a/vendor/codex/codex-rs/app-server-protocol/schema/json/v2/PluginInstallParams.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-07/schema#", - "definitions": { - "AbsolutePathBuf": { - "description": "A path that is guaranteed to be absolute and normalized (though it is not guaranteed to be canonicalized or exist on the filesystem).\n\nIMPORTANT: When deserializing an `AbsolutePathBuf`, a base path must be set using [AbsolutePathBufGuard::new]. If no base path is set, the deserialization will fail unless the path being deserialized is already absolute.", - "type": "string" - } - }, - "properties": { - "marketplacePath": { - "anyOf": [ - { - "$ref": "#/definitions/AbsolutePathBuf" - }, - { - "type": "null" - } - ] - }, - "pluginName": { - "type": "string" - }, - "remoteMarketplaceName": { - "type": [ - "string", - "null" - ] - } - }, - "required": [ - "pluginName" - ], - "title": "PluginInstallParams", - "type": "object" -} \ No newline at end of file diff --git a/vendor/codex/codex-rs/app-server-protocol/schema/json/v2/PluginInstallResponse.json b/vendor/codex/codex-rs/app-server-protocol/schema/json/v2/PluginInstallResponse.json deleted file mode 100644 index 2ca7fda4..00000000 --- a/vendor/codex/codex-rs/app-server-protocol/schema/json/v2/PluginInstallResponse.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-07/schema#", - "definitions": { - "AppSummary": { - "description": "EXPERIMENTAL - app metadata summary for plugin responses.", - "properties": { - "description": { - "type": [ - "string", - "null" - ] - }, - "id": { - "type": "string" - }, - "installUrl": { - "type": [ - "string", - "null" - ] - }, - "name": { - "type": "string" - }, - "needsAuth": { - "type": "boolean" - } - }, - "required": [ - "id", - "name", - "needsAuth" - ], - "type": "object" - }, - "PluginAuthPolicy": { - "enum": [ - "ON_INSTALL", - "ON_USE" - ], - "type": "string" - } - }, - "properties": { - "appsNeedingAuth": { - "items": { - "$ref": "#/definitions/AppSummary" - }, - "type": "array" - }, - "authPolicy": { - "$ref": "#/definitions/PluginAuthPolicy" - } - }, - "required": [ - "appsNeedingAuth", - "authPolicy" - ], - "title": "PluginInstallResponse", - "type": "object" -} \ No newline at end of file diff --git a/vendor/codex/codex-rs/app-server-protocol/schema/json/v2/PluginListParams.json b/vendor/codex/codex-rs/app-server-protocol/schema/json/v2/PluginListParams.json deleted file mode 100644 index 27ea8c4d..00000000 --- a/vendor/codex/codex-rs/app-server-protocol/schema/json/v2/PluginListParams.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-07/schema#", - "definitions": { - "AbsolutePathBuf": { - "description": "A path that is guaranteed to be absolute and normalized (though it is not guaranteed to be canonicalized or exist on the filesystem).\n\nIMPORTANT: When deserializing an `AbsolutePathBuf`, a base path must be set using [AbsolutePathBufGuard::new]. If no base path is set, the deserialization will fail unless the path being deserialized is already absolute.", - "type": "string" - } - }, - "properties": { - "cwds": { - "description": "Optional working directories used to discover repo marketplaces. When omitted, only home-scoped marketplaces and the official curated marketplace are considered.", - "items": { - "$ref": "#/definitions/AbsolutePathBuf" - }, - "type": [ - "array", - "null" - ] - } - }, - "title": "PluginListParams", - "type": "object" -} \ No newline at end of file diff --git a/vendor/codex/codex-rs/app-server-protocol/schema/json/v2/PluginListResponse.json b/vendor/codex/codex-rs/app-server-protocol/schema/json/v2/PluginListResponse.json deleted file mode 100644 index 72c941c4..00000000 --- a/vendor/codex/codex-rs/app-server-protocol/schema/json/v2/PluginListResponse.json +++ /dev/null @@ -1,370 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-07/schema#", - "definitions": { - "AbsolutePathBuf": { - "description": "A path that is guaranteed to be absolute and normalized (though it is not guaranteed to be canonicalized or exist on the filesystem).\n\nIMPORTANT: When deserializing an `AbsolutePathBuf`, a base path must be set using [AbsolutePathBufGuard::new]. If no base path is set, the deserialization will fail unless the path being deserialized is already absolute.", - "type": "string" - }, - "MarketplaceInterface": { - "properties": { - "displayName": { - "type": [ - "string", - "null" - ] - } - }, - "type": "object" - }, - "MarketplaceLoadErrorInfo": { - "properties": { - "marketplacePath": { - "$ref": "#/definitions/AbsolutePathBuf" - }, - "message": { - "type": "string" - } - }, - "required": [ - "marketplacePath", - "message" - ], - "type": "object" - }, - "PluginAuthPolicy": { - "enum": [ - "ON_INSTALL", - "ON_USE" - ], - "type": "string" - }, - "PluginInstallPolicy": { - "enum": [ - "NOT_AVAILABLE", - "AVAILABLE", - "INSTALLED_BY_DEFAULT" - ], - "type": "string" - }, - "PluginInterface": { - "properties": { - "brandColor": { - "type": [ - "string", - "null" - ] - }, - "capabilities": { - "items": { - "type": "string" - }, - "type": "array" - }, - "category": { - "type": [ - "string", - "null" - ] - }, - "composerIcon": { - "anyOf": [ - { - "$ref": "#/definitions/AbsolutePathBuf" - }, - { - "type": "null" - } - ], - "description": "Local composer icon path, resolved from the installed plugin package." - }, - "composerIconUrl": { - "description": "Remote composer icon URL from the plugin catalog.", - "type": [ - "string", - "null" - ] - }, - "defaultPrompt": { - "description": "Starter prompts for the plugin. Capped at 3 entries with a maximum of 128 characters per entry.", - "items": { - "type": "string" - }, - "type": [ - "array", - "null" - ] - }, - "developerName": { - "type": [ - "string", - "null" - ] - }, - "displayName": { - "type": [ - "string", - "null" - ] - }, - "logo": { - "anyOf": [ - { - "$ref": "#/definitions/AbsolutePathBuf" - }, - { - "type": "null" - } - ], - "description": "Local logo path, resolved from the installed plugin package." - }, - "logoUrl": { - "description": "Remote logo URL from the plugin catalog.", - "type": [ - "string", - "null" - ] - }, - "longDescription": { - "type": [ - "string", - "null" - ] - }, - "privacyPolicyUrl": { - "type": [ - "string", - "null" - ] - }, - "screenshotUrls": { - "description": "Remote screenshot URLs from the plugin catalog.", - "items": { - "type": "string" - }, - "type": "array" - }, - "screenshots": { - "description": "Local screenshot paths, resolved from the installed plugin package.", - "items": { - "$ref": "#/definitions/AbsolutePathBuf" - }, - "type": "array" - }, - "shortDescription": { - "type": [ - "string", - "null" - ] - }, - "termsOfServiceUrl": { - "type": [ - "string", - "null" - ] - }, - "websiteUrl": { - "type": [ - "string", - "null" - ] - } - }, - "required": [ - "capabilities", - "screenshotUrls", - "screenshots" - ], - "type": "object" - }, - "PluginMarketplaceEntry": { - "properties": { - "interface": { - "anyOf": [ - { - "$ref": "#/definitions/MarketplaceInterface" - }, - { - "type": "null" - } - ] - }, - "name": { - "type": "string" - }, - "path": { - "anyOf": [ - { - "$ref": "#/definitions/AbsolutePathBuf" - }, - { - "type": "null" - } - ], - "description": "Local marketplace file path when the marketplace is backed by a local file. Remote-only catalog marketplaces do not have a local path." - }, - "plugins": { - "items": { - "$ref": "#/definitions/PluginSummary" - }, - "type": "array" - } - }, - "required": [ - "name", - "plugins" - ], - "type": "object" - }, - "PluginSource": { - "oneOf": [ - { - "properties": { - "path": { - "$ref": "#/definitions/AbsolutePathBuf" - }, - "type": { - "enum": [ - "local" - ], - "title": "LocalPluginSourceType", - "type": "string" - } - }, - "required": [ - "path", - "type" - ], - "title": "LocalPluginSource", - "type": "object" - }, - { - "properties": { - "path": { - "type": [ - "string", - "null" - ] - }, - "refName": { - "type": [ - "string", - "null" - ] - }, - "sha": { - "type": [ - "string", - "null" - ] - }, - "type": { - "enum": [ - "git" - ], - "title": "GitPluginSourceType", - "type": "string" - }, - "url": { - "type": "string" - } - }, - "required": [ - "type", - "url" - ], - "title": "GitPluginSource", - "type": "object" - }, - { - "description": "The plugin is available in the remote catalog. Download metadata is kept server-side and is not exposed through the app-server API.", - "properties": { - "type": { - "enum": [ - "remote" - ], - "title": "RemotePluginSourceType", - "type": "string" - } - }, - "required": [ - "type" - ], - "title": "RemotePluginSource", - "type": "object" - } - ] - }, - "PluginSummary": { - "properties": { - "authPolicy": { - "$ref": "#/definitions/PluginAuthPolicy" - }, - "enabled": { - "type": "boolean" - }, - "id": { - "type": "string" - }, - "installPolicy": { - "$ref": "#/definitions/PluginInstallPolicy" - }, - "installed": { - "type": "boolean" - }, - "interface": { - "anyOf": [ - { - "$ref": "#/definitions/PluginInterface" - }, - { - "type": "null" - } - ] - }, - "name": { - "type": "string" - }, - "source": { - "$ref": "#/definitions/PluginSource" - } - }, - "required": [ - "authPolicy", - "enabled", - "id", - "installPolicy", - "installed", - "name", - "source" - ], - "type": "object" - } - }, - "properties": { - "featuredPluginIds": { - "default": [], - "items": { - "type": "string" - }, - "type": "array" - }, - "marketplaceLoadErrors": { - "default": [], - "items": { - "$ref": "#/definitions/MarketplaceLoadErrorInfo" - }, - "type": "array" - }, - "marketplaces": { - "items": { - "$ref": "#/definitions/PluginMarketplaceEntry" - }, - "type": "array" - } - }, - "required": [ - "marketplaces" - ], - "title": "PluginListResponse", - "type": "object" -} \ No newline at end of file diff --git a/vendor/codex/codex-rs/app-server-protocol/schema/json/v2/PluginReadParams.json b/vendor/codex/codex-rs/app-server-protocol/schema/json/v2/PluginReadParams.json deleted file mode 100644 index 5cc3e5ca..00000000 --- a/vendor/codex/codex-rs/app-server-protocol/schema/json/v2/PluginReadParams.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-07/schema#", - "definitions": { - "AbsolutePathBuf": { - "description": "A path that is guaranteed to be absolute and normalized (though it is not guaranteed to be canonicalized or exist on the filesystem).\n\nIMPORTANT: When deserializing an `AbsolutePathBuf`, a base path must be set using [AbsolutePathBufGuard::new]. If no base path is set, the deserialization will fail unless the path being deserialized is already absolute.", - "type": "string" - } - }, - "properties": { - "marketplacePath": { - "anyOf": [ - { - "$ref": "#/definitions/AbsolutePathBuf" - }, - { - "type": "null" - } - ] - }, - "pluginName": { - "type": "string" - }, - "remoteMarketplaceName": { - "type": [ - "string", - "null" - ] - } - }, - "required": [ - "pluginName" - ], - "title": "PluginReadParams", - "type": "object" -} \ No newline at end of file diff --git a/vendor/codex/codex-rs/app-server-protocol/schema/json/v2/PluginReadResponse.json b/vendor/codex/codex-rs/app-server-protocol/schema/json/v2/PluginReadResponse.json deleted file mode 100644 index 6e04ef74..00000000 --- a/vendor/codex/codex-rs/app-server-protocol/schema/json/v2/PluginReadResponse.json +++ /dev/null @@ -1,466 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-07/schema#", - "definitions": { - "AbsolutePathBuf": { - "description": "A path that is guaranteed to be absolute and normalized (though it is not guaranteed to be canonicalized or exist on the filesystem).\n\nIMPORTANT: When deserializing an `AbsolutePathBuf`, a base path must be set using [AbsolutePathBufGuard::new]. If no base path is set, the deserialization will fail unless the path being deserialized is already absolute.", - "type": "string" - }, - "AppSummary": { - "description": "EXPERIMENTAL - app metadata summary for plugin responses.", - "properties": { - "description": { - "type": [ - "string", - "null" - ] - }, - "id": { - "type": "string" - }, - "installUrl": { - "type": [ - "string", - "null" - ] - }, - "name": { - "type": "string" - }, - "needsAuth": { - "type": "boolean" - } - }, - "required": [ - "id", - "name", - "needsAuth" - ], - "type": "object" - }, - "PluginAuthPolicy": { - "enum": [ - "ON_INSTALL", - "ON_USE" - ], - "type": "string" - }, - "PluginDetail": { - "properties": { - "apps": { - "items": { - "$ref": "#/definitions/AppSummary" - }, - "type": "array" - }, - "description": { - "type": [ - "string", - "null" - ] - }, - "marketplaceName": { - "type": "string" - }, - "marketplacePath": { - "anyOf": [ - { - "$ref": "#/definitions/AbsolutePathBuf" - }, - { - "type": "null" - } - ] - }, - "mcpServers": { - "items": { - "type": "string" - }, - "type": "array" - }, - "skills": { - "items": { - "$ref": "#/definitions/SkillSummary" - }, - "type": "array" - }, - "summary": { - "$ref": "#/definitions/PluginSummary" - } - }, - "required": [ - "apps", - "marketplaceName", - "mcpServers", - "skills", - "summary" - ], - "type": "object" - }, - "PluginInstallPolicy": { - "enum": [ - "NOT_AVAILABLE", - "AVAILABLE", - "INSTALLED_BY_DEFAULT" - ], - "type": "string" - }, - "PluginInterface": { - "properties": { - "brandColor": { - "type": [ - "string", - "null" - ] - }, - "capabilities": { - "items": { - "type": "string" - }, - "type": "array" - }, - "category": { - "type": [ - "string", - "null" - ] - }, - "composerIcon": { - "anyOf": [ - { - "$ref": "#/definitions/AbsolutePathBuf" - }, - { - "type": "null" - } - ], - "description": "Local composer icon path, resolved from the installed plugin package." - }, - "composerIconUrl": { - "description": "Remote composer icon URL from the plugin catalog.", - "type": [ - "string", - "null" - ] - }, - "defaultPrompt": { - "description": "Starter prompts for the plugin. Capped at 3 entries with a maximum of 128 characters per entry.", - "items": { - "type": "string" - }, - "type": [ - "array", - "null" - ] - }, - "developerName": { - "type": [ - "string", - "null" - ] - }, - "displayName": { - "type": [ - "string", - "null" - ] - }, - "logo": { - "anyOf": [ - { - "$ref": "#/definitions/AbsolutePathBuf" - }, - { - "type": "null" - } - ], - "description": "Local logo path, resolved from the installed plugin package." - }, - "logoUrl": { - "description": "Remote logo URL from the plugin catalog.", - "type": [ - "string", - "null" - ] - }, - "longDescription": { - "type": [ - "string", - "null" - ] - }, - "privacyPolicyUrl": { - "type": [ - "string", - "null" - ] - }, - "screenshotUrls": { - "description": "Remote screenshot URLs from the plugin catalog.", - "items": { - "type": "string" - }, - "type": "array" - }, - "screenshots": { - "description": "Local screenshot paths, resolved from the installed plugin package.", - "items": { - "$ref": "#/definitions/AbsolutePathBuf" - }, - "type": "array" - }, - "shortDescription": { - "type": [ - "string", - "null" - ] - }, - "termsOfServiceUrl": { - "type": [ - "string", - "null" - ] - }, - "websiteUrl": { - "type": [ - "string", - "null" - ] - } - }, - "required": [ - "capabilities", - "screenshotUrls", - "screenshots" - ], - "type": "object" - }, - "PluginSource": { - "oneOf": [ - { - "properties": { - "path": { - "$ref": "#/definitions/AbsolutePathBuf" - }, - "type": { - "enum": [ - "local" - ], - "title": "LocalPluginSourceType", - "type": "string" - } - }, - "required": [ - "path", - "type" - ], - "title": "LocalPluginSource", - "type": "object" - }, - { - "properties": { - "path": { - "type": [ - "string", - "null" - ] - }, - "refName": { - "type": [ - "string", - "null" - ] - }, - "sha": { - "type": [ - "string", - "null" - ] - }, - "type": { - "enum": [ - "git" - ], - "title": "GitPluginSourceType", - "type": "string" - }, - "url": { - "type": "string" - } - }, - "required": [ - "type", - "url" - ], - "title": "GitPluginSource", - "type": "object" - }, - { - "description": "The plugin is available in the remote catalog. Download metadata is kept server-side and is not exposed through the app-server API.", - "properties": { - "type": { - "enum": [ - "remote" - ], - "title": "RemotePluginSourceType", - "type": "string" - } - }, - "required": [ - "type" - ], - "title": "RemotePluginSource", - "type": "object" - } - ] - }, - "PluginSummary": { - "properties": { - "authPolicy": { - "$ref": "#/definitions/PluginAuthPolicy" - }, - "enabled": { - "type": "boolean" - }, - "id": { - "type": "string" - }, - "installPolicy": { - "$ref": "#/definitions/PluginInstallPolicy" - }, - "installed": { - "type": "boolean" - }, - "interface": { - "anyOf": [ - { - "$ref": "#/definitions/PluginInterface" - }, - { - "type": "null" - } - ] - }, - "name": { - "type": "string" - }, - "source": { - "$ref": "#/definitions/PluginSource" - } - }, - "required": [ - "authPolicy", - "enabled", - "id", - "installPolicy", - "installed", - "name", - "source" - ], - "type": "object" - }, - "SkillInterface": { - "properties": { - "brandColor": { - "type": [ - "string", - "null" - ] - }, - "defaultPrompt": { - "type": [ - "string", - "null" - ] - }, - "displayName": { - "type": [ - "string", - "null" - ] - }, - "iconLarge": { - "anyOf": [ - { - "$ref": "#/definitions/AbsolutePathBuf" - }, - { - "type": "null" - } - ] - }, - "iconSmall": { - "anyOf": [ - { - "$ref": "#/definitions/AbsolutePathBuf" - }, - { - "type": "null" - } - ] - }, - "shortDescription": { - "type": [ - "string", - "null" - ] - } - }, - "type": "object" - }, - "SkillSummary": { - "properties": { - "description": { - "type": "string" - }, - "enabled": { - "type": "boolean" - }, - "interface": { - "anyOf": [ - { - "$ref": "#/definitions/SkillInterface" - }, - { - "type": "null" - } - ] - }, - "name": { - "type": "string" - }, - "path": { - "anyOf": [ - { - "$ref": "#/definitions/AbsolutePathBuf" - }, - { - "type": "null" - } - ] - }, - "shortDescription": { - "type": [ - "string", - "null" - ] - } - }, - "required": [ - "description", - "enabled", - "name" - ], - "type": "object" - } - }, - "properties": { - "plugin": { - "$ref": "#/definitions/PluginDetail" - } - }, - "required": [ - "plugin" - ], - "title": "PluginReadResponse", - "type": "object" -} \ No newline at end of file diff --git a/vendor/codex/codex-rs/app-server-protocol/schema/json/v2/PluginUninstallParams.json b/vendor/codex/codex-rs/app-server-protocol/schema/json/v2/PluginUninstallParams.json deleted file mode 100644 index 5b7e0a59..00000000 --- a/vendor/codex/codex-rs/app-server-protocol/schema/json/v2/PluginUninstallParams.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-07/schema#", - "properties": { - "pluginId": { - "type": "string" - } - }, - "required": [ - "pluginId" - ], - "title": "PluginUninstallParams", - "type": "object" -} \ No newline at end of file diff --git a/vendor/codex/codex-rs/app-server-protocol/schema/json/v2/PluginUninstallResponse.json b/vendor/codex/codex-rs/app-server-protocol/schema/json/v2/PluginUninstallResponse.json deleted file mode 100644 index 5c0e37bd..00000000 --- a/vendor/codex/codex-rs/app-server-protocol/schema/json/v2/PluginUninstallResponse.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-07/schema#", - "title": "PluginUninstallResponse", - "type": "object" -} \ No newline at end of file diff --git a/vendor/codex/codex-rs/app-server-protocol/schema/json/v2/ThreadEpiphanyStateUpdatedNotification.json b/vendor/codex/codex-rs/app-server-protocol/schema/json/v2/ThreadEpiphanyStateUpdatedNotification.json index afddb1f4..548fca40 100644 --- a/vendor/codex/codex-rs/app-server-protocol/schema/json/v2/ThreadEpiphanyStateUpdatedNotification.json +++ b/vendor/codex/codex-rs/app-server-protocol/schema/json/v2/ThreadEpiphanyStateUpdatedNotification.json @@ -622,12 +622,19 @@ ], "type": "string" }, + "EpiphanyModeKind": { + "enum": [ + "plan", + "default" + ], + "type": "string" + }, "EpiphanyModeState": { "properties": { "kind": { "anyOf": [ { - "$ref": "#/definitions/ModeKind" + "$ref": "#/definitions/EpiphanyModeKind" }, { "type": "null" @@ -1490,14 +1497,6 @@ ], "type": "object" }, - "ModeKind": { - "description": "Initial collaboration mode to use when the TUI starts.", - "enum": [ - "plan", - "default" - ], - "type": "string" - }, "ThreadEpiphanyStateUpdatedField": { "enum": [ "objective", diff --git a/vendor/codex/codex-rs/app-server-protocol/schema/json/v2/ThreadForkResponse.json b/vendor/codex/codex-rs/app-server-protocol/schema/json/v2/ThreadForkResponse.json index a40ec247..afcbde42 100644 --- a/vendor/codex/codex-rs/app-server-protocol/schema/json/v2/ThreadForkResponse.json +++ b/vendor/codex/codex-rs/app-server-protocol/schema/json/v2/ThreadForkResponse.json @@ -1070,12 +1070,19 @@ ], "type": "string" }, + "EpiphanyModeKind": { + "enum": [ + "plan", + "default" + ], + "type": "string" + }, "EpiphanyModeState": { "properties": { "kind": { "anyOf": [ { - "$ref": "#/definitions/ModeKind" + "$ref": "#/definitions/EpiphanyModeKind" }, { "type": "null" @@ -2306,14 +2313,6 @@ } ] }, - "ModeKind": { - "description": "Initial collaboration mode to use when the TUI starts.", - "enum": [ - "plan", - "default" - ], - "type": "string" - }, "NetworkAccess": { "enum": [ "restricted", diff --git a/vendor/codex/codex-rs/app-server-protocol/schema/json/v2/ThreadListResponse.json b/vendor/codex/codex-rs/app-server-protocol/schema/json/v2/ThreadListResponse.json index 1ff40245..35905637 100644 --- a/vendor/codex/codex-rs/app-server-protocol/schema/json/v2/ThreadListResponse.json +++ b/vendor/codex/codex-rs/app-server-protocol/schema/json/v2/ThreadListResponse.json @@ -1011,12 +1011,19 @@ ], "type": "string" }, + "EpiphanyModeKind": { + "enum": [ + "plan", + "default" + ], + "type": "string" + }, "EpiphanyModeState": { "properties": { "kind": { "anyOf": [ { - "$ref": "#/definitions/ModeKind" + "$ref": "#/definitions/EpiphanyModeKind" }, { "type": "null" @@ -2036,14 +2043,6 @@ } ] }, - "ModeKind": { - "description": "Initial collaboration mode to use when the TUI starts.", - "enum": [ - "plan", - "default" - ], - "type": "string" - }, "NonSteerableTurnKind": { "enum": [ "review", diff --git a/vendor/codex/codex-rs/app-server-protocol/schema/json/v2/ThreadMetadataUpdateResponse.json b/vendor/codex/codex-rs/app-server-protocol/schema/json/v2/ThreadMetadataUpdateResponse.json index 62438bd5..031f8973 100644 --- a/vendor/codex/codex-rs/app-server-protocol/schema/json/v2/ThreadMetadataUpdateResponse.json +++ b/vendor/codex/codex-rs/app-server-protocol/schema/json/v2/ThreadMetadataUpdateResponse.json @@ -1011,12 +1011,19 @@ ], "type": "string" }, + "EpiphanyModeKind": { + "enum": [ + "plan", + "default" + ], + "type": "string" + }, "EpiphanyModeState": { "properties": { "kind": { "anyOf": [ { - "$ref": "#/definitions/ModeKind" + "$ref": "#/definitions/EpiphanyModeKind" }, { "type": "null" @@ -2036,14 +2043,6 @@ } ] }, - "ModeKind": { - "description": "Initial collaboration mode to use when the TUI starts.", - "enum": [ - "plan", - "default" - ], - "type": "string" - }, "NonSteerableTurnKind": { "enum": [ "review", diff --git a/vendor/codex/codex-rs/app-server-protocol/schema/json/v2/ThreadReadResponse.json b/vendor/codex/codex-rs/app-server-protocol/schema/json/v2/ThreadReadResponse.json index af13e42d..791bdc4c 100644 --- a/vendor/codex/codex-rs/app-server-protocol/schema/json/v2/ThreadReadResponse.json +++ b/vendor/codex/codex-rs/app-server-protocol/schema/json/v2/ThreadReadResponse.json @@ -1011,12 +1011,19 @@ ], "type": "string" }, + "EpiphanyModeKind": { + "enum": [ + "plan", + "default" + ], + "type": "string" + }, "EpiphanyModeState": { "properties": { "kind": { "anyOf": [ { - "$ref": "#/definitions/ModeKind" + "$ref": "#/definitions/EpiphanyModeKind" }, { "type": "null" @@ -2036,14 +2043,6 @@ } ] }, - "ModeKind": { - "description": "Initial collaboration mode to use when the TUI starts.", - "enum": [ - "plan", - "default" - ], - "type": "string" - }, "NonSteerableTurnKind": { "enum": [ "review", diff --git a/vendor/codex/codex-rs/app-server-protocol/schema/json/v2/ThreadResumeResponse.json b/vendor/codex/codex-rs/app-server-protocol/schema/json/v2/ThreadResumeResponse.json index 52ca078a..1156b822 100644 --- a/vendor/codex/codex-rs/app-server-protocol/schema/json/v2/ThreadResumeResponse.json +++ b/vendor/codex/codex-rs/app-server-protocol/schema/json/v2/ThreadResumeResponse.json @@ -1070,12 +1070,19 @@ ], "type": "string" }, + "EpiphanyModeKind": { + "enum": [ + "plan", + "default" + ], + "type": "string" + }, "EpiphanyModeState": { "properties": { "kind": { "anyOf": [ { - "$ref": "#/definitions/ModeKind" + "$ref": "#/definitions/EpiphanyModeKind" }, { "type": "null" @@ -2306,14 +2313,6 @@ } ] }, - "ModeKind": { - "description": "Initial collaboration mode to use when the TUI starts.", - "enum": [ - "plan", - "default" - ], - "type": "string" - }, "NetworkAccess": { "enum": [ "restricted", diff --git a/vendor/codex/codex-rs/app-server-protocol/schema/json/v2/ThreadRollbackResponse.json b/vendor/codex/codex-rs/app-server-protocol/schema/json/v2/ThreadRollbackResponse.json index 2756f661..4104b77b 100644 --- a/vendor/codex/codex-rs/app-server-protocol/schema/json/v2/ThreadRollbackResponse.json +++ b/vendor/codex/codex-rs/app-server-protocol/schema/json/v2/ThreadRollbackResponse.json @@ -1011,12 +1011,19 @@ ], "type": "string" }, + "EpiphanyModeKind": { + "enum": [ + "plan", + "default" + ], + "type": "string" + }, "EpiphanyModeState": { "properties": { "kind": { "anyOf": [ { - "$ref": "#/definitions/ModeKind" + "$ref": "#/definitions/EpiphanyModeKind" }, { "type": "null" @@ -2036,14 +2043,6 @@ } ] }, - "ModeKind": { - "description": "Initial collaboration mode to use when the TUI starts.", - "enum": [ - "plan", - "default" - ], - "type": "string" - }, "NonSteerableTurnKind": { "enum": [ "review", diff --git a/vendor/codex/codex-rs/app-server-protocol/schema/json/v2/ThreadStartResponse.json b/vendor/codex/codex-rs/app-server-protocol/schema/json/v2/ThreadStartResponse.json index d8a1a101..76b4f218 100644 --- a/vendor/codex/codex-rs/app-server-protocol/schema/json/v2/ThreadStartResponse.json +++ b/vendor/codex/codex-rs/app-server-protocol/schema/json/v2/ThreadStartResponse.json @@ -1070,12 +1070,19 @@ ], "type": "string" }, + "EpiphanyModeKind": { + "enum": [ + "plan", + "default" + ], + "type": "string" + }, "EpiphanyModeState": { "properties": { "kind": { "anyOf": [ { - "$ref": "#/definitions/ModeKind" + "$ref": "#/definitions/EpiphanyModeKind" }, { "type": "null" @@ -2306,14 +2313,6 @@ } ] }, - "ModeKind": { - "description": "Initial collaboration mode to use when the TUI starts.", - "enum": [ - "plan", - "default" - ], - "type": "string" - }, "NetworkAccess": { "enum": [ "restricted", diff --git a/vendor/codex/codex-rs/app-server-protocol/schema/json/v2/ThreadStartedNotification.json b/vendor/codex/codex-rs/app-server-protocol/schema/json/v2/ThreadStartedNotification.json index dc6aa658..e55d27c2 100644 --- a/vendor/codex/codex-rs/app-server-protocol/schema/json/v2/ThreadStartedNotification.json +++ b/vendor/codex/codex-rs/app-server-protocol/schema/json/v2/ThreadStartedNotification.json @@ -1011,12 +1011,19 @@ ], "type": "string" }, + "EpiphanyModeKind": { + "enum": [ + "plan", + "default" + ], + "type": "string" + }, "EpiphanyModeState": { "properties": { "kind": { "anyOf": [ { - "$ref": "#/definitions/ModeKind" + "$ref": "#/definitions/EpiphanyModeKind" }, { "type": "null" @@ -2036,14 +2043,6 @@ } ] }, - "ModeKind": { - "description": "Initial collaboration mode to use when the TUI starts.", - "enum": [ - "plan", - "default" - ], - "type": "string" - }, "NonSteerableTurnKind": { "enum": [ "review", diff --git a/vendor/codex/codex-rs/app-server-protocol/schema/json/v2/ThreadUnarchiveResponse.json b/vendor/codex/codex-rs/app-server-protocol/schema/json/v2/ThreadUnarchiveResponse.json index 55dd9ce5..abdf046a 100644 --- a/vendor/codex/codex-rs/app-server-protocol/schema/json/v2/ThreadUnarchiveResponse.json +++ b/vendor/codex/codex-rs/app-server-protocol/schema/json/v2/ThreadUnarchiveResponse.json @@ -1011,12 +1011,19 @@ ], "type": "string" }, + "EpiphanyModeKind": { + "enum": [ + "plan", + "default" + ], + "type": "string" + }, "EpiphanyModeState": { "properties": { "kind": { "anyOf": [ { - "$ref": "#/definitions/ModeKind" + "$ref": "#/definitions/EpiphanyModeKind" }, { "type": "null" @@ -2036,14 +2043,6 @@ } ] }, - "ModeKind": { - "description": "Initial collaboration mode to use when the TUI starts.", - "enum": [ - "plan", - "default" - ], - "type": "string" - }, "NonSteerableTurnKind": { "enum": [ "review", diff --git a/vendor/codex/codex-rs/app-server-protocol/schema/typescript/ClientRequest.ts b/vendor/codex/codex-rs/app-server-protocol/schema/typescript/ClientRequest.ts index 3a65075b..162756ee 100644 --- a/vendor/codex/codex-rs/app-server-protocol/schema/typescript/ClientRequest.ts +++ b/vendor/codex/codex-rs/app-server-protocol/schema/typescript/ClientRequest.ts @@ -36,16 +36,10 @@ import type { FsWriteFileParams } from "./v2/FsWriteFileParams"; import type { GetAccountParams } from "./v2/GetAccountParams"; import type { ListMcpServerStatusParams } from "./v2/ListMcpServerStatusParams"; import type { LoginAccountParams } from "./v2/LoginAccountParams"; -import type { MarketplaceAddParams } from "./v2/MarketplaceAddParams"; -import type { MarketplaceRemoveParams } from "./v2/MarketplaceRemoveParams"; import type { McpResourceReadParams } from "./v2/McpResourceReadParams"; import type { McpServerOauthLoginParams } from "./v2/McpServerOauthLoginParams"; import type { McpServerToolCallParams } from "./v2/McpServerToolCallParams"; import type { ModelListParams } from "./v2/ModelListParams"; -import type { PluginInstallParams } from "./v2/PluginInstallParams"; -import type { PluginListParams } from "./v2/PluginListParams"; -import type { PluginReadParams } from "./v2/PluginReadParams"; -import type { PluginUninstallParams } from "./v2/PluginUninstallParams"; import type { ReviewStartParams } from "./v2/ReviewStartParams"; import type { SendAddCreditsNudgeEmailParams } from "./v2/SendAddCreditsNudgeEmailParams"; import type { SkillsConfigWriteParams } from "./v2/SkillsConfigWriteParams"; @@ -75,4 +69,4 @@ import type { WindowsSandboxSetupStartParams } from "./v2/WindowsSandboxSetupSta /** * Request from the client to the server. */ -export type ClientRequest ={ "method": "initialize", id: RequestId, params: InitializeParams, } | { "method": "thread/start", id: RequestId, params: ThreadStartParams, } | { "method": "thread/resume", id: RequestId, params: ThreadResumeParams, } | { "method": "thread/fork", id: RequestId, params: ThreadForkParams, } | { "method": "thread/archive", id: RequestId, params: ThreadArchiveParams, } | { "method": "thread/unsubscribe", id: RequestId, params: ThreadUnsubscribeParams, } | { "method": "thread/name/set", id: RequestId, params: ThreadSetNameParams, } | { "method": "thread/metadata/update", id: RequestId, params: ThreadMetadataUpdateParams, } | { "method": "thread/unarchive", id: RequestId, params: ThreadUnarchiveParams, } | { "method": "thread/compact/start", id: RequestId, params: ThreadCompactStartParams, } | { "method": "thread/shellCommand", id: RequestId, params: ThreadShellCommandParams, } | { "method": "thread/approveGuardianDeniedAction", id: RequestId, params: ThreadApproveGuardianDeniedActionParams, } | { "method": "thread/rollback", id: RequestId, params: ThreadRollbackParams, } | { "method": "thread/list", id: RequestId, params: ThreadListParams, } | { "method": "thread/loaded/list", id: RequestId, params: ThreadLoadedListParams, } | { "method": "thread/read", id: RequestId, params: ThreadReadParams, } | { "method": "thread/turns/list", id: RequestId, params: ThreadTurnsListParams, } | { "method": "thread/inject_items", id: RequestId, params: ThreadInjectItemsParams, } | { "method": "skills/list", id: RequestId, params: SkillsListParams, } | { "method": "marketplace/add", id: RequestId, params: MarketplaceAddParams, } | { "method": "marketplace/remove", id: RequestId, params: MarketplaceRemoveParams, } | { "method": "plugin/list", id: RequestId, params: PluginListParams, } | { "method": "plugin/read", id: RequestId, params: PluginReadParams, } | { "method": "app/list", id: RequestId, params: AppsListParams, } | { "method": "device/key/create", id: RequestId, params: DeviceKeyCreateParams, } | { "method": "device/key/public", id: RequestId, params: DeviceKeyPublicParams, } | { "method": "device/key/sign", id: RequestId, params: DeviceKeySignParams, } | { "method": "fs/readFile", id: RequestId, params: FsReadFileParams, } | { "method": "fs/writeFile", id: RequestId, params: FsWriteFileParams, } | { "method": "fs/createDirectory", id: RequestId, params: FsCreateDirectoryParams, } | { "method": "fs/getMetadata", id: RequestId, params: FsGetMetadataParams, } | { "method": "fs/readDirectory", id: RequestId, params: FsReadDirectoryParams, } | { "method": "fs/remove", id: RequestId, params: FsRemoveParams, } | { "method": "fs/copy", id: RequestId, params: FsCopyParams, } | { "method": "fs/watch", id: RequestId, params: FsWatchParams, } | { "method": "fs/unwatch", id: RequestId, params: FsUnwatchParams, } | { "method": "skills/config/write", id: RequestId, params: SkillsConfigWriteParams, } | { "method": "plugin/install", id: RequestId, params: PluginInstallParams, } | { "method": "plugin/uninstall", id: RequestId, params: PluginUninstallParams, } | { "method": "turn/start", id: RequestId, params: TurnStartParams, } | { "method": "turn/steer", id: RequestId, params: TurnSteerParams, } | { "method": "turn/interrupt", id: RequestId, params: TurnInterruptParams, } | { "method": "review/start", id: RequestId, params: ReviewStartParams, } | { "method": "model/list", id: RequestId, params: ModelListParams, } | { "method": "experimentalFeature/list", id: RequestId, params: ExperimentalFeatureListParams, } | { "method": "experimentalFeature/enablement/set", id: RequestId, params: ExperimentalFeatureEnablementSetParams, } | { "method": "mcpServer/oauth/login", id: RequestId, params: McpServerOauthLoginParams, } | { "method": "config/mcpServer/reload", id: RequestId, params: undefined, } | { "method": "mcpServerStatus/list", id: RequestId, params: ListMcpServerStatusParams, } | { "method": "mcpServer/resource/read", id: RequestId, params: McpResourceReadParams, } | { "method": "mcpServer/tool/call", id: RequestId, params: McpServerToolCallParams, } | { "method": "windowsSandbox/setupStart", id: RequestId, params: WindowsSandboxSetupStartParams, } | { "method": "account/login/start", id: RequestId, params: LoginAccountParams, } | { "method": "account/login/cancel", id: RequestId, params: CancelLoginAccountParams, } | { "method": "account/logout", id: RequestId, params: undefined, } | { "method": "account/rateLimits/read", id: RequestId, params: undefined, } | { "method": "account/sendAddCreditsNudgeEmail", id: RequestId, params: SendAddCreditsNudgeEmailParams, } | { "method": "feedback/upload", id: RequestId, params: FeedbackUploadParams, } | { "method": "command/exec", id: RequestId, params: CommandExecParams, } | { "method": "command/exec/write", id: RequestId, params: CommandExecWriteParams, } | { "method": "command/exec/terminate", id: RequestId, params: CommandExecTerminateParams, } | { "method": "command/exec/resize", id: RequestId, params: CommandExecResizeParams, } | { "method": "config/read", id: RequestId, params: ConfigReadParams, } | { "method": "externalAgentConfig/detect", id: RequestId, params: ExternalAgentConfigDetectParams, } | { "method": "externalAgentConfig/import", id: RequestId, params: ExternalAgentConfigImportParams, } | { "method": "config/value/write", id: RequestId, params: ConfigValueWriteParams, } | { "method": "config/batchWrite", id: RequestId, params: ConfigBatchWriteParams, } | { "method": "configRequirements/read", id: RequestId, params: undefined, } | { "method": "account/read", id: RequestId, params: GetAccountParams, } | { "method": "getConversationSummary", id: RequestId, params: GetConversationSummaryParams, } | { "method": "gitDiffToRemote", id: RequestId, params: GitDiffToRemoteParams, } | { "method": "getAuthStatus", id: RequestId, params: GetAuthStatusParams, } | { "method": "fuzzyFileSearch", id: RequestId, params: FuzzyFileSearchParams, }; +export type ClientRequest ={ "method": "initialize", id: RequestId, params: InitializeParams, } | { "method": "thread/start", id: RequestId, params: ThreadStartParams, } | { "method": "thread/resume", id: RequestId, params: ThreadResumeParams, } | { "method": "thread/fork", id: RequestId, params: ThreadForkParams, } | { "method": "thread/archive", id: RequestId, params: ThreadArchiveParams, } | { "method": "thread/unsubscribe", id: RequestId, params: ThreadUnsubscribeParams, } | { "method": "thread/name/set", id: RequestId, params: ThreadSetNameParams, } | { "method": "thread/metadata/update", id: RequestId, params: ThreadMetadataUpdateParams, } | { "method": "thread/unarchive", id: RequestId, params: ThreadUnarchiveParams, } | { "method": "thread/compact/start", id: RequestId, params: ThreadCompactStartParams, } | { "method": "thread/shellCommand", id: RequestId, params: ThreadShellCommandParams, } | { "method": "thread/approveGuardianDeniedAction", id: RequestId, params: ThreadApproveGuardianDeniedActionParams, } | { "method": "thread/rollback", id: RequestId, params: ThreadRollbackParams, } | { "method": "thread/list", id: RequestId, params: ThreadListParams, } | { "method": "thread/loaded/list", id: RequestId, params: ThreadLoadedListParams, } | { "method": "thread/read", id: RequestId, params: ThreadReadParams, } | { "method": "thread/turns/list", id: RequestId, params: ThreadTurnsListParams, } | { "method": "thread/inject_items", id: RequestId, params: ThreadInjectItemsParams, } | { "method": "skills/list", id: RequestId, params: SkillsListParams, } | { "method": "app/list", id: RequestId, params: AppsListParams, } | { "method": "device/key/create", id: RequestId, params: DeviceKeyCreateParams, } | { "method": "device/key/public", id: RequestId, params: DeviceKeyPublicParams, } | { "method": "device/key/sign", id: RequestId, params: DeviceKeySignParams, } | { "method": "fs/readFile", id: RequestId, params: FsReadFileParams, } | { "method": "fs/writeFile", id: RequestId, params: FsWriteFileParams, } | { "method": "fs/createDirectory", id: RequestId, params: FsCreateDirectoryParams, } | { "method": "fs/getMetadata", id: RequestId, params: FsGetMetadataParams, } | { "method": "fs/readDirectory", id: RequestId, params: FsReadDirectoryParams, } | { "method": "fs/remove", id: RequestId, params: FsRemoveParams, } | { "method": "fs/copy", id: RequestId, params: FsCopyParams, } | { "method": "fs/watch", id: RequestId, params: FsWatchParams, } | { "method": "fs/unwatch", id: RequestId, params: FsUnwatchParams, } | { "method": "skills/config/write", id: RequestId, params: SkillsConfigWriteParams, } | { "method": "turn/start", id: RequestId, params: TurnStartParams, } | { "method": "turn/steer", id: RequestId, params: TurnSteerParams, } | { "method": "turn/interrupt", id: RequestId, params: TurnInterruptParams, } | { "method": "review/start", id: RequestId, params: ReviewStartParams, } | { "method": "model/list", id: RequestId, params: ModelListParams, } | { "method": "experimentalFeature/list", id: RequestId, params: ExperimentalFeatureListParams, } | { "method": "experimentalFeature/enablement/set", id: RequestId, params: ExperimentalFeatureEnablementSetParams, } | { "method": "mcpServer/oauth/login", id: RequestId, params: McpServerOauthLoginParams, } | { "method": "config/mcpServer/reload", id: RequestId, params: undefined, } | { "method": "mcpServerStatus/list", id: RequestId, params: ListMcpServerStatusParams, } | { "method": "mcpServer/resource/read", id: RequestId, params: McpResourceReadParams, } | { "method": "mcpServer/tool/call", id: RequestId, params: McpServerToolCallParams, } | { "method": "windowsSandbox/setupStart", id: RequestId, params: WindowsSandboxSetupStartParams, } | { "method": "account/login/start", id: RequestId, params: LoginAccountParams, } | { "method": "account/login/cancel", id: RequestId, params: CancelLoginAccountParams, } | { "method": "account/logout", id: RequestId, params: undefined, } | { "method": "account/rateLimits/read", id: RequestId, params: undefined, } | { "method": "account/sendAddCreditsNudgeEmail", id: RequestId, params: SendAddCreditsNudgeEmailParams, } | { "method": "feedback/upload", id: RequestId, params: FeedbackUploadParams, } | { "method": "command/exec", id: RequestId, params: CommandExecParams, } | { "method": "command/exec/write", id: RequestId, params: CommandExecWriteParams, } | { "method": "command/exec/terminate", id: RequestId, params: CommandExecTerminateParams, } | { "method": "command/exec/resize", id: RequestId, params: CommandExecResizeParams, } | { "method": "config/read", id: RequestId, params: ConfigReadParams, } | { "method": "externalAgentConfig/detect", id: RequestId, params: ExternalAgentConfigDetectParams, } | { "method": "externalAgentConfig/import", id: RequestId, params: ExternalAgentConfigImportParams, } | { "method": "config/value/write", id: RequestId, params: ConfigValueWriteParams, } | { "method": "config/batchWrite", id: RequestId, params: ConfigBatchWriteParams, } | { "method": "configRequirements/read", id: RequestId, params: undefined, } | { "method": "account/read", id: RequestId, params: GetAccountParams, } | { "method": "getConversationSummary", id: RequestId, params: GetConversationSummaryParams, } | { "method": "gitDiffToRemote", id: RequestId, params: GitDiffToRemoteParams, } | { "method": "getAuthStatus", id: RequestId, params: GetAuthStatusParams, } | { "method": "fuzzyFileSearch", id: RequestId, params: FuzzyFileSearchParams, }; diff --git a/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/AppSummary.ts b/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/AppSummary.ts deleted file mode 100644 index 586c76f8..00000000 --- a/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/AppSummary.ts +++ /dev/null @@ -1,8 +0,0 @@ -// GENERATED CODE! DO NOT MODIFY BY HAND! - -// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. - -/** - * EXPERIMENTAL - app metadata summary for plugin responses. - */ -export type AppSummary = { id: string, name: string, description: string | null, installUrl: string | null, needsAuth: boolean, }; diff --git a/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/MarketplaceAddParams.ts b/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/MarketplaceAddParams.ts deleted file mode 100644 index 23d16048..00000000 --- a/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/MarketplaceAddParams.ts +++ /dev/null @@ -1,5 +0,0 @@ -// GENERATED CODE! DO NOT MODIFY BY HAND! - -// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. - -export type MarketplaceAddParams = { source: string, refName?: string | null, sparsePaths?: Array | null, }; diff --git a/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/MarketplaceAddResponse.ts b/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/MarketplaceAddResponse.ts deleted file mode 100644 index 8657d44c..00000000 --- a/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/MarketplaceAddResponse.ts +++ /dev/null @@ -1,6 +0,0 @@ -// GENERATED CODE! DO NOT MODIFY BY HAND! - -// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -import type { AbsolutePathBuf } from "../AbsolutePathBuf"; - -export type MarketplaceAddResponse = { marketplaceName: string, installedRoot: AbsolutePathBuf, alreadyAdded: boolean, }; diff --git a/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/MarketplaceInterface.ts b/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/MarketplaceInterface.ts deleted file mode 100644 index f82dc179..00000000 --- a/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/MarketplaceInterface.ts +++ /dev/null @@ -1,5 +0,0 @@ -// GENERATED CODE! DO NOT MODIFY BY HAND! - -// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. - -export type MarketplaceInterface = { displayName: string | null, }; diff --git a/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/MarketplaceLoadErrorInfo.ts b/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/MarketplaceLoadErrorInfo.ts deleted file mode 100644 index 3e60e214..00000000 --- a/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/MarketplaceLoadErrorInfo.ts +++ /dev/null @@ -1,6 +0,0 @@ -// GENERATED CODE! DO NOT MODIFY BY HAND! - -// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -import type { AbsolutePathBuf } from "../AbsolutePathBuf"; - -export type MarketplaceLoadErrorInfo = { marketplacePath: AbsolutePathBuf, message: string, }; diff --git a/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/MarketplaceRemoveParams.ts b/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/MarketplaceRemoveParams.ts deleted file mode 100644 index 086dd52a..00000000 --- a/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/MarketplaceRemoveParams.ts +++ /dev/null @@ -1,5 +0,0 @@ -// GENERATED CODE! DO NOT MODIFY BY HAND! - -// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. - -export type MarketplaceRemoveParams = { marketplaceName: string, }; diff --git a/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/MarketplaceRemoveResponse.ts b/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/MarketplaceRemoveResponse.ts deleted file mode 100644 index 68a04ecd..00000000 --- a/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/MarketplaceRemoveResponse.ts +++ /dev/null @@ -1,6 +0,0 @@ -// GENERATED CODE! DO NOT MODIFY BY HAND! - -// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -import type { AbsolutePathBuf } from "../AbsolutePathBuf"; - -export type MarketplaceRemoveResponse = { marketplaceName: string, installedRoot: AbsolutePathBuf | null, }; diff --git a/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/PluginAuthPolicy.ts b/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/PluginAuthPolicy.ts deleted file mode 100644 index 5b90e9c3..00000000 --- a/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/PluginAuthPolicy.ts +++ /dev/null @@ -1,5 +0,0 @@ -// GENERATED CODE! DO NOT MODIFY BY HAND! - -// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. - -export type PluginAuthPolicy = "ON_INSTALL" | "ON_USE"; diff --git a/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/PluginDetail.ts b/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/PluginDetail.ts deleted file mode 100644 index eb0f38ca..00000000 --- a/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/PluginDetail.ts +++ /dev/null @@ -1,9 +0,0 @@ -// GENERATED CODE! DO NOT MODIFY BY HAND! - -// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -import type { AbsolutePathBuf } from "../AbsolutePathBuf"; -import type { AppSummary } from "./AppSummary"; -import type { PluginSummary } from "./PluginSummary"; -import type { SkillSummary } from "./SkillSummary"; - -export type PluginDetail = { marketplaceName: string, marketplacePath: AbsolutePathBuf | null, summary: PluginSummary, description: string | null, skills: Array, apps: Array, mcpServers: Array, }; diff --git a/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/PluginInstallParams.ts b/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/PluginInstallParams.ts deleted file mode 100644 index 257dc47a..00000000 --- a/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/PluginInstallParams.ts +++ /dev/null @@ -1,6 +0,0 @@ -// GENERATED CODE! DO NOT MODIFY BY HAND! - -// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -import type { AbsolutePathBuf } from "../AbsolutePathBuf"; - -export type PluginInstallParams = { marketplacePath?: AbsolutePathBuf | null, remoteMarketplaceName?: string | null, pluginName: string, }; diff --git a/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/PluginInstallPolicy.ts b/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/PluginInstallPolicy.ts deleted file mode 100644 index d624f38e..00000000 --- a/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/PluginInstallPolicy.ts +++ /dev/null @@ -1,5 +0,0 @@ -// GENERATED CODE! DO NOT MODIFY BY HAND! - -// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. - -export type PluginInstallPolicy = "NOT_AVAILABLE" | "AVAILABLE" | "INSTALLED_BY_DEFAULT"; diff --git a/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/PluginInstallResponse.ts b/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/PluginInstallResponse.ts deleted file mode 100644 index b88119d4..00000000 --- a/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/PluginInstallResponse.ts +++ /dev/null @@ -1,7 +0,0 @@ -// GENERATED CODE! DO NOT MODIFY BY HAND! - -// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -import type { AppSummary } from "./AppSummary"; -import type { PluginAuthPolicy } from "./PluginAuthPolicy"; - -export type PluginInstallResponse = { authPolicy: PluginAuthPolicy, appsNeedingAuth: Array, }; diff --git a/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/PluginInterface.ts b/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/PluginInterface.ts deleted file mode 100644 index 4e97ee66..00000000 --- a/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/PluginInterface.ts +++ /dev/null @@ -1,35 +0,0 @@ -// GENERATED CODE! DO NOT MODIFY BY HAND! - -// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -import type { AbsolutePathBuf } from "../AbsolutePathBuf"; - -export type PluginInterface = { displayName: string | null, shortDescription: string | null, longDescription: string | null, developerName: string | null, category: string | null, capabilities: Array, websiteUrl: string | null, privacyPolicyUrl: string | null, termsOfServiceUrl: string | null, -/** - * Starter prompts for the plugin. Capped at 3 entries with a maximum of - * 128 characters per entry. - */ -defaultPrompt: Array | null, brandColor: string | null, -/** - * Local composer icon path, resolved from the installed plugin package. - */ -composerIcon: AbsolutePathBuf | null, -/** - * Remote composer icon URL from the plugin catalog. - */ -composerIconUrl: string | null, -/** - * Local logo path, resolved from the installed plugin package. - */ -logo: AbsolutePathBuf | null, -/** - * Remote logo URL from the plugin catalog. - */ -logoUrl: string | null, -/** - * Local screenshot paths, resolved from the installed plugin package. - */ -screenshots: Array, -/** - * Remote screenshot URLs from the plugin catalog. - */ -screenshotUrls: Array, }; diff --git a/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/PluginListParams.ts b/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/PluginListParams.ts deleted file mode 100644 index dcf23796..00000000 --- a/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/PluginListParams.ts +++ /dev/null @@ -1,11 +0,0 @@ -// GENERATED CODE! DO NOT MODIFY BY HAND! - -// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -import type { AbsolutePathBuf } from "../AbsolutePathBuf"; - -export type PluginListParams = { -/** - * Optional working directories used to discover repo marketplaces. When omitted, - * only home-scoped marketplaces and the official curated marketplace are considered. - */ -cwds?: Array | null, }; diff --git a/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/PluginListResponse.ts b/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/PluginListResponse.ts deleted file mode 100644 index d50200c9..00000000 --- a/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/PluginListResponse.ts +++ /dev/null @@ -1,7 +0,0 @@ -// GENERATED CODE! DO NOT MODIFY BY HAND! - -// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -import type { MarketplaceLoadErrorInfo } from "./MarketplaceLoadErrorInfo"; -import type { PluginMarketplaceEntry } from "./PluginMarketplaceEntry"; - -export type PluginListResponse = { marketplaces: Array, marketplaceLoadErrors: Array, featuredPluginIds: Array, }; diff --git a/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/PluginMarketplaceEntry.ts b/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/PluginMarketplaceEntry.ts deleted file mode 100644 index f9dcee27..00000000 --- a/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/PluginMarketplaceEntry.ts +++ /dev/null @@ -1,13 +0,0 @@ -// GENERATED CODE! DO NOT MODIFY BY HAND! - -// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -import type { AbsolutePathBuf } from "../AbsolutePathBuf"; -import type { MarketplaceInterface } from "./MarketplaceInterface"; -import type { PluginSummary } from "./PluginSummary"; - -export type PluginMarketplaceEntry = { name: string, -/** - * Local marketplace file path when the marketplace is backed by a local file. - * Remote-only catalog marketplaces do not have a local path. - */ -path: AbsolutePathBuf | null, interface: MarketplaceInterface | null, plugins: Array, }; diff --git a/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/PluginReadParams.ts b/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/PluginReadParams.ts deleted file mode 100644 index 8c4394f0..00000000 --- a/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/PluginReadParams.ts +++ /dev/null @@ -1,6 +0,0 @@ -// GENERATED CODE! DO NOT MODIFY BY HAND! - -// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -import type { AbsolutePathBuf } from "../AbsolutePathBuf"; - -export type PluginReadParams = { marketplacePath?: AbsolutePathBuf | null, remoteMarketplaceName?: string | null, pluginName: string, }; diff --git a/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/PluginReadResponse.ts b/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/PluginReadResponse.ts deleted file mode 100644 index 841b916e..00000000 --- a/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/PluginReadResponse.ts +++ /dev/null @@ -1,6 +0,0 @@ -// GENERATED CODE! DO NOT MODIFY BY HAND! - -// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -import type { PluginDetail } from "./PluginDetail"; - -export type PluginReadResponse = { plugin: PluginDetail, }; diff --git a/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/PluginSource.ts b/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/PluginSource.ts deleted file mode 100644 index f6e86719..00000000 --- a/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/PluginSource.ts +++ /dev/null @@ -1,6 +0,0 @@ -// GENERATED CODE! DO NOT MODIFY BY HAND! - -// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -import type { AbsolutePathBuf } from "../AbsolutePathBuf"; - -export type PluginSource = { "type": "local", path: AbsolutePathBuf, } | { "type": "git", url: string, path: string | null, refName: string | null, sha: string | null, } | { "type": "remote" }; diff --git a/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/PluginSummary.ts b/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/PluginSummary.ts deleted file mode 100644 index 1eb443c5..00000000 --- a/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/PluginSummary.ts +++ /dev/null @@ -1,9 +0,0 @@ -// GENERATED CODE! DO NOT MODIFY BY HAND! - -// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -import type { PluginAuthPolicy } from "./PluginAuthPolicy"; -import type { PluginInstallPolicy } from "./PluginInstallPolicy"; -import type { PluginInterface } from "./PluginInterface"; -import type { PluginSource } from "./PluginSource"; - -export type PluginSummary = { id: string, name: string, source: PluginSource, installed: boolean, enabled: boolean, installPolicy: PluginInstallPolicy, authPolicy: PluginAuthPolicy, interface: PluginInterface | null, }; diff --git a/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/PluginUninstallParams.ts b/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/PluginUninstallParams.ts deleted file mode 100644 index e7f52c0e..00000000 --- a/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/PluginUninstallParams.ts +++ /dev/null @@ -1,5 +0,0 @@ -// GENERATED CODE! DO NOT MODIFY BY HAND! - -// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. - -export type PluginUninstallParams = { pluginId: string, }; diff --git a/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/PluginUninstallResponse.ts b/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/PluginUninstallResponse.ts deleted file mode 100644 index 5d02c2f7..00000000 --- a/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/PluginUninstallResponse.ts +++ /dev/null @@ -1,5 +0,0 @@ -// GENERATED CODE! DO NOT MODIFY BY HAND! - -// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. - -export type PluginUninstallResponse = Record; diff --git a/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/SkillSummary.ts b/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/SkillSummary.ts deleted file mode 100644 index 4999a072..00000000 --- a/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/SkillSummary.ts +++ /dev/null @@ -1,7 +0,0 @@ -// GENERATED CODE! DO NOT MODIFY BY HAND! - -// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -import type { AbsolutePathBuf } from "../AbsolutePathBuf"; -import type { SkillInterface } from "./SkillInterface"; - -export type SkillSummary = { name: string, description: string, shortDescription: string | null, interface: SkillInterface | null, path: AbsolutePathBuf | null, enabled: boolean, }; diff --git a/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/ThreadEpiphanyReorientWorkerLaunchDocument.ts b/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/ThreadEpiphanyReorientWorkerLaunchDocument.ts new file mode 100644 index 00000000..0051c767 --- /dev/null +++ b/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/ThreadEpiphanyReorientWorkerLaunchDocument.ts @@ -0,0 +1,10 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. +import type { EpiphanyCodeRef } from "../EpiphanyCodeRef"; +import type { EpiphanyEvidenceRecord } from "../EpiphanyEvidenceRecord"; +import type { EpiphanyGraphs } from "../EpiphanyGraphs"; +import type { EpiphanyObservation } from "../EpiphanyObservation"; +import type { EpiphanyScratchPad } from "../EpiphanyScratchPad"; + +export type ThreadEpiphanyReorientWorkerLaunchDocument = { threadId: string, mode: string, checkpointId: string, checkpointKind: string, checkpointDisposition: string, checkpointFocus?: string | null, checkpointSummary?: string | null, checkpointNextAction: string, checkpointOpenQuestions?: Array, checkpointEvidenceIds?: Array, checkpointCodeRefs?: Array, decisionReasons?: Array, decisionNote: string, pressureLevel: string, retrievalStatus: string, graphStatus: string, watcherStatus: string, checkpointDirtyPaths?: Array, checkpointChangedPaths?: Array, scratch?: EpiphanyScratchPad | null, graphs?: EpiphanyGraphs | null, recentEvidence?: Array, recentObservations?: Array, activeFrontierNodeIds?: Array, linkedSubgoalIds?: Array, linkedGraphNodeIds?: Array, }; diff --git a/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/ThreadEpiphanyRoleWorkerLaunchDocument.ts b/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/ThreadEpiphanyRoleWorkerLaunchDocument.ts new file mode 100644 index 00000000..69f0fae0 --- /dev/null +++ b/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/ThreadEpiphanyRoleWorkerLaunchDocument.ts @@ -0,0 +1,16 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. +import type { EpiphanyChurnState } from "../EpiphanyChurnState"; +import type { EpiphanyEvidenceRecord } from "../EpiphanyEvidenceRecord"; +import type { EpiphanyGraphCheckpoint } from "../EpiphanyGraphCheckpoint"; +import type { EpiphanyGraphFrontier } from "../EpiphanyGraphFrontier"; +import type { EpiphanyGraphs } from "../EpiphanyGraphs"; +import type { EpiphanyInvariant } from "../EpiphanyInvariant"; +import type { EpiphanyInvestigationCheckpoint } from "../EpiphanyInvestigationCheckpoint"; +import type { EpiphanyObservation } from "../EpiphanyObservation"; +import type { EpiphanyPlanningState } from "../EpiphanyPlanningState"; +import type { EpiphanyScratchPad } from "../EpiphanyScratchPad"; +import type { EpiphanySubgoal } from "../EpiphanySubgoal"; + +export type ThreadEpiphanyRoleWorkerLaunchDocument = { threadId: string, roleId: string, stateRevision: bigint, objective?: string | null, activeSubgoalId?: string | null, activeSubgoals?: Array, activeGraphNodeIds?: Array, investigationCheckpoint?: EpiphanyInvestigationCheckpoint | null, scratch?: EpiphanyScratchPad | null, invariants?: Array, graphs?: EpiphanyGraphs | null, recentEvidence?: Array, recentObservations?: Array, graphFrontier?: EpiphanyGraphFrontier | null, graphCheckpoint?: EpiphanyGraphCheckpoint | null, planning?: EpiphanyPlanningState | null, churn?: EpiphanyChurnState | null, }; diff --git a/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/ThreadEpiphanyWorkerLaunchDocument.ts b/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/ThreadEpiphanyWorkerLaunchDocument.ts new file mode 100644 index 00000000..cafce5aa --- /dev/null +++ b/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/ThreadEpiphanyWorkerLaunchDocument.ts @@ -0,0 +1,7 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. +import type { ThreadEpiphanyReorientWorkerLaunchDocument } from "./ThreadEpiphanyReorientWorkerLaunchDocument"; +import type { ThreadEpiphanyRoleWorkerLaunchDocument } from "./ThreadEpiphanyRoleWorkerLaunchDocument"; + +export type ThreadEpiphanyWorkerLaunchDocument = { "documentKind": "role" } & ThreadEpiphanyRoleWorkerLaunchDocument | { "documentKind": "reorient" } & ThreadEpiphanyReorientWorkerLaunchDocument; diff --git a/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/index.ts b/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/index.ts index 8b2620b9..984eebf3 100644 --- a/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/index.ts +++ b/vendor/codex/codex-rs/app-server-protocol/schema/typescript/v2/index.ts @@ -17,7 +17,6 @@ export type { AppListUpdatedNotification } from "./AppListUpdatedNotification"; export type { AppMetadata } from "./AppMetadata"; export type { AppReview } from "./AppReview"; export type { AppScreenshot } from "./AppScreenshot"; -export type { AppSummary } from "./AppSummary"; export type { AppToolApproval } from "./AppToolApproval"; export type { AppToolsConfig } from "./AppToolsConfig"; export type { ApprovalsReviewer } from "./ApprovalsReviewer"; @@ -169,12 +168,6 @@ export type { ListMcpServerStatusResponse } from "./ListMcpServerStatusResponse" export type { LoginAccountParams } from "./LoginAccountParams"; export type { LoginAccountResponse } from "./LoginAccountResponse"; export type { LogoutAccountResponse } from "./LogoutAccountResponse"; -export type { MarketplaceAddParams } from "./MarketplaceAddParams"; -export type { MarketplaceAddResponse } from "./MarketplaceAddResponse"; -export type { MarketplaceInterface } from "./MarketplaceInterface"; -export type { MarketplaceLoadErrorInfo } from "./MarketplaceLoadErrorInfo"; -export type { MarketplaceRemoveParams } from "./MarketplaceRemoveParams"; -export type { MarketplaceRemoveResponse } from "./MarketplaceRemoveResponse"; export type { McpAuthStatus } from "./McpAuthStatus"; export type { McpElicitationArrayType } from "./McpElicitationArrayType"; export type { McpElicitationBooleanSchema } from "./McpElicitationBooleanSchema"; @@ -247,21 +240,6 @@ export type { PermissionProfileNetworkPermissions } from "./PermissionProfileNet export type { PermissionsRequestApprovalParams } from "./PermissionsRequestApprovalParams"; export type { PermissionsRequestApprovalResponse } from "./PermissionsRequestApprovalResponse"; export type { PlanDeltaNotification } from "./PlanDeltaNotification"; -export type { PluginAuthPolicy } from "./PluginAuthPolicy"; -export type { PluginDetail } from "./PluginDetail"; -export type { PluginInstallParams } from "./PluginInstallParams"; -export type { PluginInstallPolicy } from "./PluginInstallPolicy"; -export type { PluginInstallResponse } from "./PluginInstallResponse"; -export type { PluginInterface } from "./PluginInterface"; -export type { PluginListParams } from "./PluginListParams"; -export type { PluginListResponse } from "./PluginListResponse"; -export type { PluginMarketplaceEntry } from "./PluginMarketplaceEntry"; -export type { PluginReadParams } from "./PluginReadParams"; -export type { PluginReadResponse } from "./PluginReadResponse"; -export type { PluginSource } from "./PluginSource"; -export type { PluginSummary } from "./PluginSummary"; -export type { PluginUninstallParams } from "./PluginUninstallParams"; -export type { PluginUninstallResponse } from "./PluginUninstallResponse"; export type { PluginsMigration } from "./PluginsMigration"; export type { ProfileV2 } from "./ProfileV2"; export type { RateLimitReachedType } from "./RateLimitReachedType"; @@ -293,7 +271,6 @@ export type { SkillErrorInfo } from "./SkillErrorInfo"; export type { SkillInterface } from "./SkillInterface"; export type { SkillMetadata } from "./SkillMetadata"; export type { SkillScope } from "./SkillScope"; -export type { SkillSummary } from "./SkillSummary"; export type { SkillToolDependency } from "./SkillToolDependency"; export type { SkillsChangedNotification } from "./SkillsChangedNotification"; export type { SkillsConfigWriteParams } from "./SkillsConfigWriteParams"; @@ -354,6 +331,7 @@ export type { ThreadEpiphanyReorientReason } from "./ThreadEpiphanyReorientReaso export type { ThreadEpiphanyReorientResultStatus } from "./ThreadEpiphanyReorientResultStatus"; export type { ThreadEpiphanyReorientSource } from "./ThreadEpiphanyReorientSource"; export type { ThreadEpiphanyReorientStateStatus } from "./ThreadEpiphanyReorientStateStatus"; +export type { ThreadEpiphanyReorientWorkerLaunchDocument } from "./ThreadEpiphanyReorientWorkerLaunchDocument"; export type { ThreadEpiphanyRetrievalFreshness } from "./ThreadEpiphanyRetrievalFreshness"; export type { ThreadEpiphanyRetrievalFreshnessStatus } from "./ThreadEpiphanyRetrievalFreshnessStatus"; export type { ThreadEpiphanyRetrieveIndexSummary } from "./ThreadEpiphanyRetrieveIndexSummary"; @@ -367,6 +345,7 @@ export type { ThreadEpiphanyRoleResultStatus } from "./ThreadEpiphanyRoleResultS export type { ThreadEpiphanyRoleSelfPersistenceReview } from "./ThreadEpiphanyRoleSelfPersistenceReview"; export type { ThreadEpiphanyRoleSelfPersistenceStatus } from "./ThreadEpiphanyRoleSelfPersistenceStatus"; export type { ThreadEpiphanyRoleStatus } from "./ThreadEpiphanyRoleStatus"; +export type { ThreadEpiphanyRoleWorkerLaunchDocument } from "./ThreadEpiphanyRoleWorkerLaunchDocument"; export type { ThreadEpiphanyRolesSource } from "./ThreadEpiphanyRolesSource"; export type { ThreadEpiphanyScene } from "./ThreadEpiphanyScene"; export type { ThreadEpiphanySceneAction } from "./ThreadEpiphanySceneAction"; @@ -390,6 +369,7 @@ export type { ThreadEpiphanyViewLens } from "./ThreadEpiphanyViewLens"; export type { ThreadEpiphanyViewPlanning } from "./ThreadEpiphanyViewPlanning"; export type { ThreadEpiphanyViewReorient } from "./ThreadEpiphanyViewReorient"; export type { ThreadEpiphanyViewRoles } from "./ThreadEpiphanyViewRoles"; +export type { ThreadEpiphanyWorkerLaunchDocument } from "./ThreadEpiphanyWorkerLaunchDocument"; export type { ThreadForkParams } from "./ThreadForkParams"; export type { ThreadForkResponse } from "./ThreadForkResponse"; export type { ThreadInjectItemsParams } from "./ThreadInjectItemsParams"; diff --git a/vendor/codex/codex-rs/app-server-protocol/src/protocol/common.rs b/vendor/codex/codex-rs/app-server-protocol/src/protocol/common.rs index 805074b9..68fe513a 100644 --- a/vendor/codex/codex-rs/app-server-protocol/src/protocol/common.rs +++ b/vendor/codex/codex-rs/app-server-protocol/src/protocol/common.rs @@ -439,14 +439,6 @@ client_request_definitions! { params: v2::SkillsListParams, response: v2::SkillsListResponse, }, - MarketplaceAdd => "marketplace/add" { - params: v2::MarketplaceAddParams, - response: v2::MarketplaceAddResponse, - }, - MarketplaceRemove => "marketplace/remove" { - params: v2::MarketplaceRemoveParams, - response: v2::MarketplaceRemoveResponse, - }, AppsList => "app/list" { params: v2::AppsListParams, response: v2::AppsListResponse, @@ -3963,8 +3955,28 @@ mod tests { linked_subgoal_ids: vec!["phase6".to_string()], linked_graph_node_ids: vec!["job-surface".to_string()], instruction: "Summarize the bound specialist task.".to_string(), - input_json: json!({"task": "smoke"}), - output_schema_json: None, + launch_document: v2::ThreadEpiphanyWorkerLaunchDocument::Role( + v2::ThreadEpiphanyRoleWorkerLaunchDocument { + thread_id: "thr_123".to_string(), + role_id: "modeling".to_string(), + state_revision: 2, + objective: Some("Keep the map honest".to_string()), + active_subgoal_id: Some("phase6".to_string()), + active_subgoals: Vec::new(), + active_graph_node_ids: vec!["job-surface".to_string()], + investigation_checkpoint: None, + scratch: None, + invariants: Vec::new(), + graphs: None, + recent_evidence: Vec::new(), + recent_observations: Vec::new(), + graph_frontier: None, + graph_checkpoint: None, + planning: None, + churn: None, + }, + ), + output_contract_id: "epiphany.role_worker_result.v0".to_string(), max_runtime_seconds: Some(30), }, }; diff --git a/vendor/codex/codex-rs/app-server-protocol/src/protocol/v2.rs b/vendor/codex/codex-rs/app-server-protocol/src/protocol/v2.rs index 99bf2ee4..834272a8 100644 --- a/vendor/codex/codex-rs/app-server-protocol/src/protocol/v2.rs +++ b/vendor/codex/codex-rs/app-server-protocol/src/protocol/v2.rs @@ -5782,41 +5782,6 @@ pub struct SkillsListResponse { pub data: Vec, } -#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, JsonSchema, TS)] -#[serde(rename_all = "camelCase")] -#[ts(export_to = "v2/")] -pub struct MarketplaceAddParams { - pub source: String, - #[ts(optional = nullable)] - pub ref_name: Option, - #[ts(optional = nullable)] - pub sparse_paths: Option>, -} - -#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, JsonSchema, TS)] -#[serde(rename_all = "camelCase")] -#[ts(export_to = "v2/")] -pub struct MarketplaceAddResponse { - pub marketplace_name: String, - pub installed_root: AbsolutePathBuf, - pub already_added: bool, -} - -#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, JsonSchema, TS)] -#[serde(rename_all = "camelCase")] -#[ts(export_to = "v2/")] -pub struct MarketplaceRemoveParams { - pub marketplace_name: String, -} - -#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, JsonSchema, TS)] -#[serde(rename_all = "camelCase")] -#[ts(export_to = "v2/")] -pub struct MarketplaceRemoveResponse { - pub marketplace_name: String, - pub installed_root: Option, -} - #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, JsonSchema, TS)] #[serde(rename_all = "camelCase")] #[ts(export_to = "v2/")] @@ -11423,37 +11388,6 @@ mod tests { ); } - #[test] - fn marketplace_add_params_serialization_uses_optional_ref_name_and_sparse_paths() { - assert_eq!( - serde_json::to_value(MarketplaceAddParams { - source: "owner/repo".to_string(), - ref_name: None, - sparse_paths: None, - }) - .unwrap(), - json!({ - "source": "owner/repo", - "refName": null, - "sparsePaths": null, - }), - ); - - assert_eq!( - serde_json::to_value(MarketplaceAddParams { - source: "owner/repo".to_string(), - ref_name: Some("main".to_string()), - sparse_paths: Some(vec!["plugins/foo".to_string()]), - }) - .unwrap(), - json!({ - "source": "owner/repo", - "refName": "main", - "sparsePaths": ["plugins/foo"], - }), - ); - } - #[test] fn plugin_marketplace_entry_serializes_remote_only_path_as_null() { assert_eq!( @@ -11666,40 +11600,6 @@ mod tests { ); } - #[test] - fn marketplace_remove_response_serializes_nullable_installed_root() { - let installed_root = if cfg!(windows) { - r"C:\marketplaces\debug" - } else { - "/tmp/marketplaces/debug" - }; - let installed_root = AbsolutePathBuf::try_from(PathBuf::from(installed_root)).unwrap(); - let installed_root_json = installed_root.as_path().display().to_string(); - assert_eq!( - serde_json::to_value(MarketplaceRemoveResponse { - marketplace_name: "debug".to_string(), - installed_root: Some(installed_root), - }) - .unwrap(), - json!({ - "marketplaceName": "debug", - "installedRoot": installed_root_json, - }), - ); - - assert_eq!( - serde_json::to_value(MarketplaceRemoveResponse { - marketplace_name: "debug".to_string(), - installed_root: None, - }) - .unwrap(), - json!({ - "marketplaceName": "debug", - "installedRoot": null, - }), - ); - } - #[test] fn codex_error_info_serializes_http_status_code_in_camel_case() { let value = CodexErrorInfo::ResponseTooManyFailedAttempts { diff --git a/vendor/codex/codex-rs/app-server/README.md b/vendor/codex/codex-rs/app-server/README.md index 15f87f2a..56ab4fe6 100644 --- a/vendor/codex/codex-rs/app-server/README.md +++ b/vendor/codex/codex-rs/app-server/README.md @@ -201,8 +201,6 @@ Experimental Epiphany retrieval: - `experimentalFeature/enablement/set` — patch the in-memory process-wide runtime feature enablement for the currently supported feature keys (`apps`, `plugins`). For each feature, precedence is: cloud requirements > --enable > config.toml > experimentalFeature/enablement/set (new) > code default. - `collaborationMode/list` — list available collaboration mode presets (experimental, no pagination). This response omits built-in developer instructions; clients should either pass `settings.developer_instructions: null` when setting a mode to use Codex's built-in instructions, or provide their own instructions explicitly. - `skills/list` — list skills for one or more `cwd` values (optional `forceReload`). -- `marketplace/add` — add a remote plugin marketplace from an HTTP(S) Git URL, SSH Git URL, or GitHub `owner/repo` shorthand, then persist it into the user marketplace config. Returns the installed root path plus whether the marketplace was already present. -- `marketplace/remove` — remove a configured marketplace by name from the user marketplace config, and delete its installed marketplace root when one exists. - `plugin/list` — list discovered plugin marketplaces and plugin state, including effective marketplace install/auth policy metadata, fail-open `marketplaceLoadErrors` entries for marketplace files that could not be parsed or loaded, and best-effort `featuredPluginIds` for the official curated marketplace. `interface.category` uses the marketplace category when present; otherwise it falls back to the plugin manifest category (**under development; do not call from production clients yet**). - `plugin/read` — read one plugin by `marketplacePath` plus `pluginName`, returning marketplace info, a list-style `summary`, manifest descriptions/interface metadata, and bundled skills/apps/MCP server names. Returned plugin skills include their current `enabled` state after local config filtering. Plugin app summaries also include `needsAuth` when the server can determine connector accessibility (**under development; do not call from production clients yet**). - `skills/changed` — notification emitted when watched local skill files change. diff --git a/vendor/codex/codex-rs/app-server/src/codex_message_processor.rs b/vendor/codex/codex-rs/app-server/src/codex_message_processor.rs index d018d4b5..9c2f31ba 100644 --- a/vendor/codex/codex-rs/app-server/src/codex_message_processor.rs +++ b/vendor/codex/codex-rs/app-server/src/codex_message_processor.rs @@ -89,8 +89,6 @@ use codex_app_server_protocol::LoginAccountParams; use codex_app_server_protocol::LoginAccountResponse; use codex_app_server_protocol::LoginApiKeyParams; use codex_app_server_protocol::LogoutAccountResponse; -use codex_app_server_protocol::MarketplaceAddParams; -use codex_app_server_protocol::MarketplaceRemoveParams; use codex_app_server_protocol::McpResourceReadParams; use codex_app_server_protocol::McpResourceReadResponse; use codex_app_server_protocol::McpServerOauthLoginCompletedNotification; @@ -1002,14 +1000,6 @@ impl CodexMessageProcessor { self.skills_list(to_connection_request_id(request_id), params) .await; } - ClientRequest::MarketplaceAdd { request_id, params } => { - self.marketplace_add(to_connection_request_id(request_id), params) - .await; - } - ClientRequest::MarketplaceRemove { request_id, params } => { - self.marketplace_remove(to_connection_request_id(request_id), params) - .await; - } ClientRequest::AppsList { request_id, params } => { self.apps_list(to_connection_request_id(request_id), params) .await; @@ -6357,24 +6347,6 @@ impl CodexMessageProcessor { .await; } - async fn marketplace_remove( - &self, - request_id: ConnectionRequestId, - _params: MarketplaceRemoveParams, - ) { - self.send_codex_product_surface_disabled(request_id, "marketplace/remove") - .await; - } - - async fn marketplace_add( - &self, - request_id: ConnectionRequestId, - _params: MarketplaceAddParams, - ) { - self.send_codex_product_surface_disabled(request_id, "marketplace/add") - .await; - } - async fn skills_config_write( &self, request_id: ConnectionRequestId, diff --git a/vendor/codex/codex-rs/app-server/tests/common/mcp_process.rs b/vendor/codex/codex-rs/app-server/tests/common/mcp_process.rs index 497ebf3e..cdbd83c7 100644 --- a/vendor/codex/codex-rs/app-server/tests/common/mcp_process.rs +++ b/vendor/codex/codex-rs/app-server/tests/common/mcp_process.rs @@ -47,8 +47,6 @@ use codex_app_server_protocol::JSONRPCRequest; use codex_app_server_protocol::JSONRPCResponse; use codex_app_server_protocol::ListMcpServerStatusParams; use codex_app_server_protocol::LoginAccountParams; -use codex_app_server_protocol::MarketplaceAddParams; -use codex_app_server_protocol::MarketplaceRemoveParams; use codex_app_server_protocol::McpResourceReadParams; use codex_app_server_protocol::McpServerToolCallParams; use codex_app_server_protocol::MockExperimentalMethodParams; @@ -543,24 +541,6 @@ impl McpProcess { self.send_request("skills/list", params).await } - /// Send a `marketplace/add` JSON-RPC request. - pub async fn send_marketplace_add_request( - &mut self, - params: MarketplaceAddParams, - ) -> anyhow::Result { - let params = Some(serde_json::to_value(params)?); - self.send_request("marketplace/add", params).await - } - - /// Send a `marketplace/remove` JSON-RPC request. - pub async fn send_marketplace_remove_request( - &mut self, - params: MarketplaceRemoveParams, - ) -> anyhow::Result { - let params = Some(serde_json::to_value(params)?); - self.send_request("marketplace/remove", params).await - } - /// Send an `mcpServerStatus/list` JSON-RPC request. pub async fn send_list_mcp_server_status_request( &mut self,