- Replace better-sqlite3 with bun:sqlite (native, no native addon build)
- Change all spawn('node') to spawn('bun') for agent processes
- Update package.json scripts: node→bun, tsx→bun, npm→bun
- Add bun-types for tsc compatibility
- Add bun:sqlite→better-sqlite3 shim for vitest (tests run on Node.js)
- Update Dockerfile: install bun alongside Node.js (CLIs need Node)
- Update setup/platform.ts: getNodePath() resolves bun binary
- Remove better-sqlite3 from production dependencies (devDep only for tests)
19 lines
376 B
JSON
19 lines
376 B
JSON
{
|
|
"name": "ejclaw-codex-runner",
|
|
"version": "1.0.0",
|
|
"type": "module",
|
|
"description": "Codex app-server runner for EJClaw",
|
|
"main": "dist/index.js",
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"start": "bun dist/index.js"
|
|
},
|
|
"dependencies": {
|
|
"@openai/codex": "^0.115.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.10.7",
|
|
"typescript": "^5.7.3"
|
|
}
|
|
}
|