Skip to content

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.

fix(update-ux): flush subscription through the session api; gate the update-card spinner

review1fea75376566
diff --git a/src/renderer/canvas/Canvas.tsx b/src/renderer/canvas/Canvas.tsx
index ca97139c1..233036561 100644
--- a/src/renderer/canvas/Canvas.tsx
+++ b/src/renderer/canvas/Canvas.tsx
@@ -4111,10 +4111,10 @@ export function Canvas() {
// changes were lost on every ⌘Q and every update restart. Same conflict rule as the autosave.
useEffect(
() =>
- window.nodeTerminal.workspace.onFlushRequest(async () => {
+ api.workspace.onFlushRequest(async () => {
if (shouldFlushOnQuit(dirtyRef.current, !!conflictRef.current)) await persist()
}),
- [persist]
+ [api, persist]
)
// Debounced auto-save for canvas edits. Suppressed while a conflict bar is up: the bar only ever
diff --git a/src/renderer/styles.css b/src/renderer/styles.css
index 94f548ff2..ba652f1b8 100644
--- a/src/renderer/styles.css
+++ b/src/renderer/styles.css
@@ -5251,6 +5251,7 @@ body,
border-top-color: #fff;
border-radius: 50%;
animation: nt-spin 0.8s linear infinite;
+ animation-play-state: var(--nt-anim-state);
}
.update-card__actions {