rowboat/apps/x/packages/core/package.json

70 lines
2 KiB
JSON
Raw Normal View History

2025-12-29 15:30:57 +05:30
{
"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",
"typecheck": "tsc --noEmit -p tsconfig.json",
"test": "vitest run",
"test:watch": "vitest",
"inspect-turn": "node dist/runtime/turns/inspect-cli.js",
"inspect": "node dist/runtime/turns/inspect-cli.js"
2025-12-29 15:30:57 +05:30
},
"dependencies": {
fix(x): unblock codex code-mode (bad cwd + revoked engine cert) 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>
2026-07-06 12:57:02 +05:30
"@agentclientprotocol/claude-agent-acp": "^0.55.0",
"@agentclientprotocol/codex-acp": "^1.1.0",
"@agentclientprotocol/sdk": "^1.1.0",
2026-02-14 12:16:28 +05:30
"@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",
2025-12-29 15:30:57 +05:30
"@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",
2025-12-29 15:30:57 +05:30
"@x/shared": "workspace:*",
2026-02-14 12:16:28 +05:30
"ai": "^5.0.133",
2025-12-29 15:30:57 +05:30
"awilix": "^12.0.5",
2026-07-03 19:25:06 +05:30
"baileys": "7.0.0-rc13",
2025-12-29 15:30:57 +05:30
"chokidar": "^4.0.3",
"cors": "^2.8.6",
"cron-parser": "^5.5.0",
"express": "^5.2.1",
2026-01-16 15:51:29 +05:30
"glob": "^13.0.0",
2025-12-29 15:30:57 +05:30
"google-auth-library": "^10.5.0",
"googleapis": "^169.0.0",
"isomorphic-git": "^1.29.0",
"mammoth": "^1.11.0",
2025-12-29 15:30:57 +05:30
"node-html-markdown": "^2.0.0",
"ollama-ai-provider-v2": "^1.5.4",
2026-01-07 12:29:20 +05:30
"openid-client": "^6.8.1",
"papaparse": "^5.5.3",
"pdf-parse": "^2.4.5",
"posthog-node": "^4.18.0",
2026-07-03 19:25:06 +05:30
"qrcode": "^1.5.4",
"react": "^19.2.3",
"xlsx": "^0.18.5",
2025-12-29 15:30:57 +05:30
"yaml": "^2.8.2",
"yauzl": "^3.4.0",
"yazl": "^3.3.1",
2025-12-29 15:30:57 +05:30
"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",
2026-07-03 19:25:06 +05:30
"@types/qrcode": "^1.5.6",
"@types/yauzl": "^3.4.0",
"@types/yazl": "^3.3.1",
"vitest": "catalog:"
2025-12-29 15:30:57 +05:30
}
}