Files
hapi/server/package.json
T
weishu 18e6310451 feat: implement web terminal feature with xterm.js and Socket.IO proxy
- Add CLI-side terminal management via Bun.Terminal with TerminalManager
- Implement server-side Socket.IO proxy for terminal I/O between web and CLI
- Create web terminal UI component with xterm.js and support for resize/reconnect
- Add terminal route and navigation button in session chat
- Include comprehensive terminal implementation plan and architecture docs
2025-12-25 21:57:18 +08:00

31 lines
894 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.31.3",
"hono": "^4.8.0",
"jose": "^5.10.0",
"socket.io": "^4.8.1",
"zod": "^3.23.8"
},
"devDependencies": {
"@types/node": ">=20",
"bun-types": "^1.3.5",
"typescript": "^5"
}
}