- composition root wiring config/auth/workspaces/instances/http - singleton lock + daemon.json + port retry + local cli.token (admin scope) - pi2 attach/status/doctor/pairing/install-service - systemd user unit + launchd plist rendering (never auto-enabled) - smoke.sh boots the real daemon on an ephemeral port and asserts auth/static/lifecycle - 93 new tests (263 total), tsc + build + smoke green
38 lines
939 B
JSON
38 lines
939 B
JSON
{
|
|
"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",
|
|
"start": "node dist/cli/pi2d.js --foreground",
|
|
"smoke": "bash scripts/smoke.sh"
|
|
},
|
|
"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"
|
|
}
|
|
}
|