mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-15 10:05:14 +00:00
Since version 0.9.0, RPC mode (--mode rpc) was not saving messages to session files. The agent.subscribe() call with session management logic was only present in the TUI renderer after it was refactored. RPC mode now properly saves sessions just like interactive mode. Added test for RPC mode session management to prevent regression. Fixes #83 Thanks @kiliman for reporting this issue!
56 lines
1.3 KiB
JSON
56 lines
1.3 KiB
JSON
{
|
|
"name": "@mariozechner/pi-coding-agent",
|
|
"version": "0.11.2",
|
|
"description": "Coding agent CLI with read, bash, edit, write tools and session management",
|
|
"type": "module",
|
|
"bin": {
|
|
"pi": "dist/cli.js"
|
|
},
|
|
"main": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"files": [
|
|
"dist",
|
|
"CHANGELOG.md"
|
|
],
|
|
"scripts": {
|
|
"clean": "rm -rf dist",
|
|
"build": "tsgo -p tsconfig.build.json && chmod +x dist/cli.js && npm run copy-theme-assets",
|
|
"copy-theme-assets": "cp src/theme/*.json dist/theme/",
|
|
"dev": "tsgo -p tsconfig.build.json --watch --preserveWatchOutput",
|
|
"check": "tsgo --noEmit",
|
|
"test": "vitest --run",
|
|
"prepublishOnly": "npm run clean && npm run build"
|
|
},
|
|
"dependencies": {
|
|
"@mariozechner/pi-agent-core": "^0.11.2",
|
|
"@mariozechner/pi-ai": "^0.11.2",
|
|
"@mariozechner/pi-tui": "^0.11.2",
|
|
"chalk": "^5.5.0",
|
|
"diff": "^8.0.2",
|
|
"glob": "^11.0.3"
|
|
},
|
|
"devDependencies": {
|
|
"@types/diff": "^7.0.2",
|
|
"@types/node": "^24.3.0",
|
|
"typescript": "^5.7.3",
|
|
"vitest": "^3.2.4"
|
|
},
|
|
"keywords": [
|
|
"coding-agent",
|
|
"ai",
|
|
"llm",
|
|
"cli",
|
|
"tui",
|
|
"agent"
|
|
],
|
|
"author": "Mario Zechner",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/badlogic/pi-mono.git",
|
|
"directory": "packages/coding-agent"
|
|
},
|
|
"engines": {
|
|
"node": ">=20.0.0"
|
|
}
|
|
}
|