Files
pi/packages/durable/package.json
Mario Zechner 445770e032 feat(durable): first coding-agent tool turn (Package 16)
Generation offers active registered tools through positional system entries and
hands a tool-calling answer to parallel or sequential pi.tool tasks and a
pi.post-tools task that applies addTools/terminate and continues the run. Tool
tasks validate, run beforeTool/afterTool, record intent with the replay policy,
publish bounded, sanitized, adaptively throttled progress in pi.live.tools, and
write results with a rendered diagnostics block. Hook dispatch with conversation
and subtree scopes, prepareArguments, HarnessOptions.env, and read/bash/edit/write
tools in pi-durable/tools. The env shell now streams raw output and spills past
thresholds; its bounded capture and publisher are removed.
2026-09-29 21:24:32 +02:00

103 lines
2.7 KiB
JSON

{
"name": "@earendil-works/pi-durable",
"version": "0.99.1",
"description": "Durable conversation, task, and document runtime for Pi",
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"source": "./src/index.ts",
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./env": {
"source": "./src/env/index.ts",
"types": "./dist/env/index.d.ts",
"import": "./dist/env/index.js"
},
"./env/node": {
"source": "./src/env/node.ts",
"types": "./dist/env/node.d.ts",
"import": "./dist/env/node.js"
},
"./tools": {
"source": "./src/tools/index.ts",
"types": "./dist/tools/index.d.ts",
"import": "./dist/tools/index.js"
},
"./storage/memory": {
"source": "./src/storage/memory.ts",
"types": "./dist/storage/memory.d.ts",
"import": "./dist/storage/memory.js"
},
"./storage/jsonl": {
"source": "./src/storage/jsonl/index.ts",
"types": "./dist/storage/jsonl/index.d.ts",
"import": "./dist/storage/jsonl/index.js"
},
"./storage/jsonl/node": {
"source": "./src/storage/jsonl/node.ts",
"types": "./dist/storage/jsonl/node.d.ts",
"import": "./dist/storage/jsonl/node.js"
},
"./storage/sqlite": {
"source": "./src/storage/sqlite/index.ts",
"types": "./dist/storage/sqlite/index.d.ts",
"import": "./dist/storage/sqlite/index.js"
},
"./storage/sqlite/node": {
"source": "./src/storage/sqlite/node.ts",
"types": "./dist/storage/sqlite/node.d.ts",
"import": "./dist/storage/sqlite/node.js"
},
"./testing": {
"source": "./src/testing/index.ts",
"types": "./dist/testing/index.d.ts",
"import": "./dist/testing/index.js"
},
"./package.json": "./package.json"
},
"sideEffects": false,
"files": [
"dist",
"docs",
"README.md"
],
"scripts": {
"clean": "shx rm -rf dist",
"build": "tsc -p tsconfig.build.json",
"test": "vitest --run",
"bench:storage": "vitest bench --config vitest.benchmark.config.ts",
"bench:storage:memory": "node --conditions=source --experimental-strip-types test/storage-memory.ts",
"bench:tool-output": "node --conditions=source --experimental-strip-types --expose-gc test/tool-output-bench.ts",
"prepublishOnly": "npm run clean && npm run build"
},
"keywords": [
"durable-execution",
"agents",
"conversations",
"tasks"
],
"author": "Earendil Works",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/earendil-works/pi.git",
"directory": "packages/durable"
},
"engines": {
"node": ">=22.19.0"
},
"dependencies": {
"@earendil-works/chord": "^0.99.1",
"@earendil-works/pi-ai": "^0.99.1",
"diff": "8.0.4",
"typebox": "1.3.27"
},
"devDependencies": {
"shx": "0.4.0",
"vitest": "4.1.11"
}
}