Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
address review (codex): reset SSE closed/open state on disable
Adam Eivyaceb6cf34521
diff --git a/client/src/hooks/useSseProgress.js b/client/src/hooks/useSseProgress.jsindex 614893c37e..ef51dec42d 100644--- a/client/src/hooks/useSseProgress.js+++ b/client/src/hooks/useSseProgress.js@@ -25,7 +25,15 @@ export function useSseProgress(url, { enabled = true } = {}) {const esRef = useRef(null);useEffect(() => {- if (!url || !enabled) return undefined;+ if (!url || !enabled) {+ // Clear terminal/open state when disabled so a later re-enable starts+ // clean. Without this, a stale `closed=true` from a finished run makes a+ // consumer's "is the stream over?" check fire immediately on the NEXT+ // subscribe, tearing down the new stream before it can deliver progress.+ setIsOpen(false);+ setClosed(false);+ return undefined;+ }setFrames([]);setLatest(null);setIsOpen(false);