- Create apps/server with package.json, tsconfig, tsup config - Copy codexAppServerManager, providerManager, fixPath from desktop (no Electron deps) - Add WebSocket message protocol schemas (WsRequest, WsResponse, WsPush) to @acme/contracts - Define WS_METHODS and WS_CHANNELS constants for type-safe routing Co-authored-by: Theo Browne <[email protected]>
29 lines
589 B
JSON
29 lines
589 B
JSON
{
|
|
"name": "t3",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"bin": {
|
|
"t3": "./dist/index.js"
|
|
},
|
|
"main": "./dist/index.js",
|
|
"scripts": {
|
|
"dev": "tsup --watch --onSuccess 'node dist/index.js'",
|
|
"build": "tsup",
|
|
"start": "node dist/index.js",
|
|
"typecheck": "tsc --noEmit",
|
|
"test": "vitest run"
|
|
},
|
|
"dependencies": {
|
|
"@acme/contracts": "workspace:*",
|
|
"open": "^10.1.0",
|
|
"ws": "^8.18.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.10.2",
|
|
"@types/ws": "^8.5.13",
|
|
"tsup": "^8.3.5",
|
|
"typescript": "^5.7.3"
|
|
}
|
|
}
|