mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-23 20:21:11 +00:00
* fix(acpx): migrate codex adapter to maintained @agentclientprotocol/codex-acp The bundled codex ACP adapter pinned the npm-deprecated @zed-industries/codex-acp@0.16.0, which embeds codex crates from the rust-v0.137.0 era: GPT-5.6-era models are unknown to it and sessions fail with 'requires a newer version of Codex'. Migrate to the maintained @agentclientprotocol/codex-acp@1.1.4 (Node CLI, depends on @openai/codex ^0.144.4 matching the codex plugin pin): - Wrapper generation resolves the adapter bin from its package manifest and delivers startup config via CODEX_CONFIG; OpenClaw-owned wrapper args are stripped before launch. Explicit new-adapter commands keep their own -c/--config args untouched; only retired Zed commands migrate, with their -c TOML overrides (dotted/quoted keys, attached forms, MCP config) faithfully converted. - Model overrides emit the bare model id plus a separate model_reasoning_effort; composite model/effort ids are accepted as parse input but never emitted. - Process reaper recognizes the maintained adapter tree and packaged codex app-server children without claiming native codex plugin processes. Live proof: direct adapter smoke with local subscription auth initialized 1.1.4, advertised model gpt-5.6-sol with separate medium effort, and completed a turn. Fixes #108664 * fix(acpx): pin codex-acp 1.1.2 to satisfy the lockfile release-age gate 1.1.4 is under the 48-hour minimumReleaseAge and fails lockfile verification repo-wide. 1.1.2 (2026-07-09) passes the gate, carries the same CODEX_CONFIG startup contract, and its ^0.144.0 codex dependency resolves to the same 0.144.4 the codex plugin pins. Lockfile re-resolved from main without any release-age bypass; shrinkwrap regenerated. * chore(acpx): split oversized auth-bridge test file, register adapter as CLI-resolved dep codex-auth-bridge.test.ts crossed the max-lines gate after the migration regressions; the command-migration cluster moves to codex-auth-bridge.migration.test.ts. knip's CLI-resolved dependency list swaps the retired zed adapter for @agentclientprotocol/codex-acp (invoked via generated wrapper/npx, never imported).
52 lines
1.2 KiB
JSON
52 lines
1.2 KiB
JSON
{
|
|
"name": "@openclaw/acpx",
|
|
"version": "2026.7.2",
|
|
"description": "OpenClaw ACP runtime backend with plugin-owned session and transport management.",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/openclaw/openclaw"
|
|
},
|
|
"type": "module",
|
|
"dependencies": {
|
|
"@agentclientprotocol/claude-agent-acp": "0.55.0",
|
|
"@agentclientprotocol/codex-acp": "1.1.2",
|
|
"acpx": "0.11.2",
|
|
"smol-toml": "1.7.0",
|
|
"zod": "4.4.3"
|
|
},
|
|
"devDependencies": {
|
|
"@openclaw/plugin-sdk": "workspace:*"
|
|
},
|
|
"openclaw": {
|
|
"extensions": [
|
|
"./index.ts"
|
|
],
|
|
"install": {
|
|
"npmSpec": "@openclaw/acpx",
|
|
"defaultChoice": "npm",
|
|
"minHostVersion": ">=2026.4.25"
|
|
},
|
|
"compat": {
|
|
"pluginApi": ">=2026.7.2"
|
|
},
|
|
"build": {
|
|
"openclawVersion": "2026.7.2",
|
|
"staticAssets": [
|
|
{
|
|
"source": "./src/runtime-internals/mcp-proxy.mjs",
|
|
"output": "mcp-proxy.mjs"
|
|
},
|
|
{
|
|
"source": "./src/runtime-internals/mcp-command-line.mjs",
|
|
"output": "mcp-command-line.mjs"
|
|
}
|
|
]
|
|
},
|
|
"release": {
|
|
"publishToClawHub": true,
|
|
"publishToNpm": true,
|
|
"bundleRuntimeDependencies": false
|
|
}
|
|
}
|
|
}
|