Files
hapi/server/package.json
T
weishu 3765cc539b refactor: update dependencies and fix TypeScript instantiation depth issues
Updates ModelContextProtocol SDK and multiple dependent libraries to latest versions. Refactors TypeScript schemas to avoid instantiation depth issues by widening Zod types and using explicit type parameters.
2025-12-25 22:56:08 +08:00

31 lines
895 B
JSON

{
"name": "hapi-server",
"private": true,
"version": "0.1.0",
"description": "Telegram Bot client for HAPI - control Claude Code sessions",
"author": "weishu",
"license": "LGPL",
"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": {
"@socket.io/bun-engine": "^0.1.0",
"grammy": "^1.38.4",
"hono": "^4.11.2",
"jose": "^5.10.0",
"socket.io": "^4.8.3",
"zod": "^3.23.8"
},
"devDependencies": {
"@types/node": ">=20",
"bun-types": "^1.3.5",
"typescript": "^5"
}
}