Node-based terminal manager for AI coding agents — tmux-backed terminals and parallel agent sessions as draggable nodes on an infinite pan/zoom canvas. macOS, Linux, and a browser Server Edition.
TypeScript adhdagent-orchestrationai-agentscanvasclaude-codecodexcoding-agentsdeveloper-toolselectrongeminilinuxmacosmultiplexeropencodeparallel-agentsterminalterminal-emulatorterminal-multiplexertmuxworkspace-manager
fix(tmux-banner): stop polling when dismissed mid-install
enes77b9207d325f
diff --git a/src/renderer/components/TmuxBanner.tsx b/src/renderer/components/TmuxBanner.tsxindex c80df6355..f0a3a1499 100644--- a/src/renderer/components/TmuxBanner.tsx+++ b/src/renderer/components/TmuxBanner.tsx@@ -48,18 +48,23 @@ export function TmuxBanner({ onInstall }: { onInstall: (command: string) => void// While installing, poll tmuxStatus. The raw install output is visible in the spawned// terminal node either way — the banner only reports the outcome.useEffect(() => {- if (phase !== 'installing') return+ if (phase !== 'installing' || dismissed) return+ let cancelled = falseconst t = setInterval(() => {localSession.api.pty.tmuxStatus().then((s) => {+ if (cancelled) returnconst next = pollOutcome(s.available, Date.now() - startedAtRef.current)if (next !== 'installing') setPhase(next)}).catch(() => {})}, INSTALL_POLL_MS)- return () => clearInterval(t)- }, [phase])+ return () => {+ cancelled = true+ clearInterval(t)+ }+ }, [phase, dismissed])// The success note has said what it needed to — take itself down.useEffect(() => {