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!
47 lines
1.0 KiB
JSON
47 lines
1.0 KiB
JSON
{
|
|
"name": "@mariozechner/pi-agent-core",
|
|
"version": "0.11.2",
|
|
"description": "General-purpose agent with transport abstraction, state management, and attachment support",
|
|
"type": "module",
|
|
"main": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"files": [
|
|
"dist",
|
|
"README.md"
|
|
],
|
|
"scripts": {
|
|
"clean": "rm -rf dist",
|
|
"build": "tsgo -p tsconfig.build.json",
|
|
"dev": "tsgo -p tsconfig.build.json --watch --preserveWatchOutput",
|
|
"check": "tsgo --noEmit",
|
|
"test": "vitest --run",
|
|
"prepublishOnly": "npm run clean && npm run build"
|
|
},
|
|
"dependencies": {
|
|
"@mariozechner/pi-ai": "^0.11.2",
|
|
"@mariozechner/pi-tui": "^0.11.2"
|
|
},
|
|
"keywords": [
|
|
"ai",
|
|
"agent",
|
|
"llm",
|
|
"transport",
|
|
"state-management"
|
|
],
|
|
"author": "Mario Zechner",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/badlogic/pi-mono.git",
|
|
"directory": "packages/agent"
|
|
},
|
|
"engines": {
|
|
"node": ">=20.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^24.3.0",
|
|
"typescript": "^5.7.3",
|
|
"vitest": "^3.2.4"
|
|
}
|
|
}
|