diff --git a/CHANGELOG.md b/CHANGELOG.md index 90d5570c6e3..cef3bcc85b4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -64,7 +64,7 @@ Docs: https://docs.openclaw.ai - Restrict chat sender allowlist matching [AI]. (#80898) Thanks @pgondhi987. - Update: suppress the false newer-config warning during restart health probing after an update handoff, while keeping future-version mutation guards intact. (#78652) - Sessions: redact persisted tool result detail metadata before writing transcripts so diagnostic secrets do not survive tool output redaction. (#80444) Thanks @nimbleenigma. -- Codex runtime: allow the official installed `@openclaw/codex` package to use its private task-runtime SDK helper, fixing `MODULE_NOT_FOUND` during migrated OpenAI/Codex beta runs. +- Codex runtime: allow the official installed `@openclaw/codex` package to use its private task-runtime and MCP projection SDK helpers, fixing `MODULE_NOT_FOUND` during migrated OpenAI/Codex beta runs. - Codex migration: make Enter activate the highlighted checkbox row before continuing, so `Skip for now` and bulk-selection rows work even when planned items start preselected. - Link understanding: fetch page content through the SSRF guard before running configured CLI summarizers, preventing curl/wget-style link fetchers from reaching private redirect or DNS-rebound targets. - fix: harden safe-bin argument validation [AI]. (#80999) Thanks @pgondhi987. diff --git a/package.json b/package.json index 14df1396fda..267464646d6 100644 --- a/package.json +++ b/package.json @@ -487,6 +487,14 @@ "types": "./dist/plugin-sdk/cli-backend.d.ts", "default": "./dist/plugin-sdk/cli-backend.js" }, + "./plugin-sdk/codex-mcp-projection": { + "types": "./dist/plugin-sdk/codex-mcp-projection.d.ts", + "default": "./dist/plugin-sdk/codex-mcp-projection.js" + }, + "./plugin-sdk/codex-native-task-runtime": { + "types": "./dist/plugin-sdk/codex-native-task-runtime.d.ts", + "default": "./dist/plugin-sdk/codex-native-task-runtime.js" + }, "./plugin-sdk/agent-harness": { "types": "./dist/plugin-sdk/agent-harness.d.ts", "default": "./dist/plugin-sdk/agent-harness.js" diff --git a/scripts/lib/plugin-sdk-entrypoints.json b/scripts/lib/plugin-sdk-entrypoints.json index f431425019c..3905724768e 100644 --- a/scripts/lib/plugin-sdk-entrypoints.json +++ b/scripts/lib/plugin-sdk-entrypoints.json @@ -98,6 +98,8 @@ "gateway-runtime", "cli-runtime", "cli-backend", + "codex-mcp-projection", + "codex-native-task-runtime", "agent-harness", "agent-harness-runtime", "hook-runtime", diff --git a/scripts/lib/plugin-sdk-private-local-only-subpaths.json b/scripts/lib/plugin-sdk-private-local-only-subpaths.json index 55c63a7a928..0c6ea22241f 100644 --- a/scripts/lib/plugin-sdk-private-local-only-subpaths.json +++ b/scripts/lib/plugin-sdk-private-local-only-subpaths.json @@ -1,6 +1,4 @@ [ - "codex-mcp-projection", - "codex-native-task-runtime", "qa-channel", "qa-channel-protocol", "qa-lab", diff --git a/src/plugin-sdk/entrypoints.ts b/src/plugin-sdk/entrypoints.ts index 36c46cec513..a4eb32defad 100644 --- a/src/plugin-sdk/entrypoints.ts +++ b/src/plugin-sdk/entrypoints.ts @@ -35,7 +35,10 @@ export const deprecatedBarrelPluginSdkEntrypoints = pluginSdkSubpaths.filter((en // Transitional compatibility/helper surfaces owned by their matching bundled plugin. // Cross-owner extension imports are blocked by the package contract guardrails. -export const reservedBundledPluginSdkEntrypoints = [] as const; +export const reservedBundledPluginSdkEntrypoints = [ + "codex-mcp-projection", + "codex-native-task-runtime", +] as const; // Supported SDK facades backed by bundled plugins. These are intentionally public // until they move to generic, plugin-neutral contracts.