spatial-office/packages
Engineering (agent-engineering) 17d8d21704 feat(backend): WebSocket server wiring bridge to frontend
Implements packages/backend/src/index.ts:
- Creates WebSocket server on port 18790 (configurable via WS_PORT)
- Instantiates OpenClawBridge and connects to OpenClaw GW
- Transforms bridge agentStateChanged events into frontend-compatible state.diff messages (agent.activity / agent.position ops)
- Sends state.full snapshot on new client connection
- Broadcasts heartbeat pings every 15 seconds
- Handles graceful shutdown on SIGINT/SIGTERM
2026-05-19 18:14:57 -07:00
..
backend feat(backend): WebSocket server wiring bridge to frontend 2026-05-19 18:14:57 -07:00
frontend feat(backend): WebSocket server wiring bridge to frontend 2026-05-19 18:14:57 -07:00