mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-07-12 21:02:17 +02:00
code_agent_run failed with a misleading "spawn <Electron> ENOENT" that
read as "Codex isn't installed". Two stacked causes:
1. cwd wasn't expanded/validated: a `~` or non-existent path was passed
straight to child_process.spawn, which reports ENOENT against the
command (Electron) rather than the missing directory. Now expandHome +
resolve + existence-check with a clear error.
2. Apple revoked the signing cert on the pinned @openai/codex@0.128.0, so
macOS Gatekeeper trashed the binary on launch and the ACP adapter died
mid-handshake. Bump the ACP stack off the revoked build:
codex-acp 0.0.44 -> 1.1.0, claude-agent-acp 0.39 -> 0.55, sdk 0.22 ->
1.1, regen engine-manifest (codex 0.142.5 / claude 0.3.198). Removed the
two now-obsolete patches (contextCompaction upstreamed; the codex
windowsHide patch targeted bin/codex.js, which we bypass via CODEX_PATH).
Bump fallout handled:
- client.ts setModel: sdk 1.x dropped unstable_setSessionModel; model is now
a config option -> setSessionConfigOption({configId:'model'}).
- engine-provisioner: codex 0.142 moved its binary (codex/ -> bin/) and rg
(path/ -> codex-path/); probe both layouts.
- pnpm override vscode-jsonrpc to 8.2.0: codex-acp 1.1 pulls jsonrpc 9.x
whose restrictive exports break langium's deep import in the renderer
(blank screen). codex-acp is the only 9.x consumer and works on 8.x
(handshake verified), so pin the workspace to 8.x.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
64 lines
1.8 KiB
JSON
64 lines
1.8 KiB
JSON
{
|
|
"name": "@x/core",
|
|
"private": true,
|
|
"type": "module",
|
|
"main": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"scripts": {
|
|
"build": "rm -rf dist && tsc -p tsconfig.build.json",
|
|
"dev": "tsc -w -p tsconfig.build.json",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"inspect-turn": "node dist/turns/inspect-cli.js",
|
|
"inspect": "node dist/turns/inspect-cli.js"
|
|
},
|
|
"dependencies": {
|
|
"@agentclientprotocol/claude-agent-acp": "^0.55.0",
|
|
"@agentclientprotocol/codex-acp": "^1.1.0",
|
|
"@agentclientprotocol/sdk": "^1.1.0",
|
|
"@ai-sdk/anthropic": "^2.0.63",
|
|
"@ai-sdk/google": "^2.0.53",
|
|
"@ai-sdk/openai": "^2.0.91",
|
|
"@ai-sdk/openai-compatible": "^1.0.33",
|
|
"@ai-sdk/provider": "^2.0.1",
|
|
"@composio/core": "^0.6.0",
|
|
"@google-cloud/local-auth": "^3.0.1",
|
|
"@modelcontextprotocol/sdk": "^1.25.1",
|
|
"@openrouter/ai-sdk-provider": "^1.2.6",
|
|
"@react-pdf/renderer": "^4.3.2",
|
|
"@types/react": "^19.2.7",
|
|
"@x/shared": "workspace:*",
|
|
"ai": "^5.0.133",
|
|
"awilix": "^12.0.5",
|
|
"baileys": "7.0.0-rc13",
|
|
"chokidar": "^4.0.3",
|
|
"cors": "^2.8.6",
|
|
"cron-parser": "^5.5.0",
|
|
"express": "^5.2.1",
|
|
"glob": "^13.0.0",
|
|
"google-auth-library": "^10.5.0",
|
|
"googleapis": "^169.0.0",
|
|
"isomorphic-git": "^1.29.0",
|
|
"mammoth": "^1.11.0",
|
|
"node-html-markdown": "^2.0.0",
|
|
"ollama-ai-provider-v2": "^1.5.4",
|
|
"openid-client": "^6.8.1",
|
|
"papaparse": "^5.5.3",
|
|
"pdf-parse": "^2.4.5",
|
|
"posthog-node": "^4.18.0",
|
|
"qrcode": "^1.5.4",
|
|
"react": "^19.2.3",
|
|
"xlsx": "^0.18.5",
|
|
"yaml": "^2.8.2",
|
|
"zod": "^4.2.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/cors": "^2.8.19",
|
|
"@types/express": "^5.0.6",
|
|
"@types/node": "^25.0.3",
|
|
"@types/papaparse": "^5.5.2",
|
|
"@types/pdf-parse": "^1.1.5",
|
|
"@types/qrcode": "^1.5.6",
|
|
"vitest": "catalog:"
|
|
}
|
|
}
|