H.1: Product registration - Added 12 clawcowork feature flags to platform-service flags/seed.ts (sandbox, plugins, mcp, scheduling, computer_use, parallel_agents, marketplace, wasm, llm_multi_model, audit, platform_auth, dispatch_api) H.2: cowork-service scaffold (services/cowork-service/) - @lysnrai/cowork-service on port 4009, productId clawcowork - createServiceApp + startService from @bytelyst/fastify-core - Modules: health (dependency check), tasks (submit/list/get/cancel) - Zod-validated config, Swagger, readiness endpoint - 8 tests passing (1 bootstrap + 7 task routes), typecheck clean
31 lines
827 B
JSON
31 lines
827 B
JSON
{
|
|
"name": "@lysnrai/cowork-service",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"description": "Cowork Service — Fastify bridge between Tauri desktop / clients and Rust agent runtime + platform-service",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "tsx watch src/server.ts",
|
|
"build": "tsc",
|
|
"start": "node dist/server.js",
|
|
"test": "vitest run --pool forks",
|
|
"test:watch": "vitest",
|
|
"typecheck": "tsc --noEmit",
|
|
"lint": "eslint src/"
|
|
},
|
|
"dependencies": {
|
|
"@bytelyst/config": "workspace:*",
|
|
"@bytelyst/errors": "workspace:*",
|
|
"@bytelyst/fastify-core": "workspace:*",
|
|
"@fastify/cors": "^10.0.2",
|
|
"fastify": "^5.2.1",
|
|
"zod": "^3.24.2"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.12.0",
|
|
"tsx": "^4.19.2",
|
|
"typescript": "^5.7.3",
|
|
"vitest": "^3.0.5"
|
|
}
|
|
}
|