feat: Connect Mission Control dashboard to OpenClaw Gateway API

- Add OpenClawGatewayClient (HTTP polling every 30s)
- Add useOpenClaw hook for React integration
- Update MissionControlDashboard to use live agent data
- Update StatusBar to show gateway health, sessions, connection status
- Update AgentDetailPanel to accept live events
- Add .env.example for gateway configuration
- Remove dist/ from git (build artifact)
This commit is contained in:
Erwin
2026-03-27 18:53:27 +00:00
parent a8fb4d4555
commit 1acf1c4ff5
12 changed files with 601 additions and 91 deletions

4
.env.example Normal file
View File

@@ -0,0 +1,4 @@
# OpenClaw Gateway Connection
# El gateway debe estar accesible desde el browser
VITE_OPENCLAW_GATEWAY_URL=ws://127.0.0.1:18789
VITE_OPENCLAW_GATEWAY_TOKEN=tu_token_del_gateway