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
This commit is contained in:
weishu
2025-12-25 21:57:18 +08:00
parent 0762f0772f
commit 18e6310451
22 changed files with 1763 additions and 4 deletions
+3 -1
View File
@@ -16,7 +16,9 @@
"typecheck:cli": "cd cli && bun run typecheck",
"typecheck:server": "cd server && bun run typecheck",
"typecheck:web": "cd web && bun run typecheck",
"test": "cd cli && bun run test",
"test": "bun run test:cli && bun run test:server",
"test:cli": "cd cli && bun run test",
"test:server": "cd server && bun run test",
"clean-session": "bun run server/scripts/cleanup-sessions.ts",
"release-all": "cd cli && bun run release-all"
},