feat(protocol): wire contract, canonical reducer and golden fixtures
- v1 envelope across browser/daemon/plugin - SessionState model + reducer rules (pi events + pi2:* derived events) - fixtures for basic turn, queue/todo/attention and abort/exit - 9 conformance tests pinning the reducer
This commit is contained in:
commit
9d817f35b7
19 files changed
+2922
No files matched your search
@@ -0,0 +1,35 @@
|
||||
{
|
||||
"name": "pi2d",
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"description": "pi2 web console daemon: HTTP/WS gateway, workspace registry and instance supervisor for pi2.nvim",
|
||||
"engines": {
|
||||
"node": ">=22"
|
||||
},
|
||||
"bin": {
|
||||
"pi2d": "./dist/cli/pi2d.js",
|
||||
"pi2": "./dist/cli/pi2.js"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "tsx watch src/cli/pi2d.ts",
|
||||
"build": "tsc -p tsconfig.json",
|
||||
"typecheck": "tsc -p tsconfig.json --noEmit",
|
||||
"test": "vitest run",
|
||||
"test:watch": "vitest",
|
||||
"lint": "tsc -p tsconfig.json --noEmit"
|
||||
},
|
||||
"dependencies": {
|
||||
"@hono/node-server": "^1.13.7",
|
||||
"hono": "^4.6.14",
|
||||
"ws": "^8.18.0",
|
||||
"zod": "^3.24.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^22.10.2",
|
||||
"@types/ws": "^8.5.13",
|
||||
"tsx": "^4.19.2",
|
||||
"typescript": "^5.7.2",
|
||||
"vitest": "^2.1.8"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user