mirror of
https://github.com/BradGroux/veritas-kanban.git
synced 2026-10-11 06:07:54 +00:00
- Create useRealtimeAgentStatus hook with WebSocket subscription - Subscribe to agent:status events as primary transport - Fall back to polling every 10s when WebSocket disconnects - Auto-reconnect on WebSocket disconnect (via useWebSocket) - Stale detection marks agent as idle after 5+ min without updates - Memoized return value to prevent unnecessary re-renders - Full TypeScript types for AgentStatusData, SubAgent, AgentStatusState - Maintain backwards compatibility with useGlobalAgentStatus (polling-only) |
||
|---|---|---|
| .. | ||
| emit-telemetry.sh | ||