Primo commit - Prompt 02 — WebSocket endpoints /agent e /client + parsing robusto

This commit is contained in:
Michele Proietto
2026-01-08 17:10:47 +01:00
parent c9391dda7b
commit bb69e51ef1
19 changed files with 1991 additions and 0 deletions

25
server/package.json Normal file
View File

@@ -0,0 +1,25 @@
{
"name": "@assistenza/server",
"version": "0.1.0",
"private": true,
"type": "commonjs",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"dev": "tsx watch src/index.ts",
"build": "tsc -p tsconfig.json",
"start": "node dist/index.js"
},
"dependencies": {
"@assistenza/protocol": "workspace:*",
"dotenv": "^16.4.5",
"fastify": "^4.28.1",
"pino": "^9.3.2",
"ws": "^8.17.1"
},
"devDependencies": {
"@types/node": "^20.12.12",
"tsx": "^4.15.6",
"typescript": "^5.4.5"
}
}