spatial-office/packages/frontend
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
..
src build: add Nix flake and NixOS module for reproducible builds 2026-05-19 16:25:24 -07:00
package-lock.json feat(backend): WebSocket server wiring bridge to frontend 2026-05-19 18:14:57 -07:00
package.json build: add Nix flake and NixOS module for reproducible builds 2026-05-19 16:25:24 -07:00