feat: rename server package to hub

Rename the `server/` directory to `hub/` and update all references
across CLI, docs, web, and workspace configuration.
This commit is contained in:
weishu
2026-01-27 19:51:21 +08:00
parent 10fe9f0cd9
commit 37e10a831b
125 changed files with 301 additions and 285 deletions
+35
View File
@@ -0,0 +1,35 @@
{
"name": "hapi-hub",
"private": true,
"version": "0.1.0",
"description": "Telegram Bot client for HAPI - control Claude Code sessions",
"author": "weishu",
"license": "AGPL-3.0-only",
"type": "module",
"scripts": {
"start": "bun run src/index.ts",
"dev": "bun --watch run src/index.ts",
"test": "bun test",
"typecheck": "tsc --noEmit",
"build": "bun build src/index.ts --outdir dist --target bun",
"generate:embedded-web-assets": "bun run scripts/generate-embedded-web-assets.ts"
},
"dependencies": {
"@hapi/protocol": "workspace:*",
"@socket.io/bun-engine": "^0.1.0",
"grammy": "^1.38.4",
"hono": "^4.11.2",
"jose": "^6.1.3",
"qrcode": "^1.5.4",
"socket.io": "^4.8.3",
"web-push": "^3.6.7",
"zod": "^4.2.1"
},
"devDependencies": {
"@types/node": ">=25",
"@types/qrcode": "^1.5.6",
"@types/web-push": "^3.6.4",
"bun-types": "^1.3.5",
"typescript": "^5"
}
}