feat: chat interface with gateway WebSocket integration (HQ-21)

- GatewayClient class: WS connection, auto-reconnect, request/response, events
- ChatPage with thread list sidebar + message area
- Real-time streaming responses via chat events
- Thread management with localStorage persistence
- Message bubbles with user/assistant/system styles
- Build args for VITE_WS_URL and VITE_WS_TOKEN
- SPA routing already supported by nginx config
This commit is contained in:
2026-01-29 02:19:55 +00:00
parent 91bc69e178
commit ddaeb0c282
4 changed files with 647 additions and 17 deletions

View File

@@ -34,6 +34,9 @@ services:
build:
context: ./frontend
dockerfile: Dockerfile
args:
VITE_WS_URL: ${VITE_WS_URL:-wss://ws.hammer.donovankelly.xyz}
VITE_WS_TOKEN: ${VITE_WS_TOKEN}
ports:
- "80"
depends_on: