Replace raw JSON-RPC app-server protocol with @openai/codex-sdk. The SDK wraps `codex exec` which ensures complete task execution per turn, fixing the issue where app-server mode ended turns prematurely (agent saying "하겠습니다" without doing the work). Also fix AGENTS.md copy in agent-runner (was copying instructions.md which Codex CLI doesn't read).
19 lines
393 B
JSON
19 lines
393 B
JSON
{
|
|
"name": "nanoclaw-codex-runner",
|
|
"version": "1.0.0",
|
|
"type": "module",
|
|
"description": "Container-side Codex CLI runner for NanoClaw",
|
|
"main": "dist/index.js",
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"start": "node dist/index.js"
|
|
},
|
|
"dependencies": {
|
|
"@openai/codex-sdk": "^0.114.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.10.7",
|
|
"typescript": "^5.7.3"
|
|
}
|
|
}
|