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(canvas): paint the wallpaper as background-image so large stills render
iceclatterWTbfb2b929112a
diff --git a/src/renderer/canvas/Canvas.tsx b/src/renderer/canvas/Canvas.tsxindex 548f97594..0b769d498 100644--- a/src/renderer/canvas/Canvas.tsx+++ b/src/renderer/canvas/Canvas.tsx@@ -14801,7 +14801,16 @@ export function Canvas() {<SessionProvider session={sessionForProject(activeProjectId || '')} key={sessionForProject(activeProjectId || '').id}><ReactFlowclassName={wallpaperBg ? 'has-wallpaper' : undefined}- style={wallpaperBg ? { background: `${wallpaperBg}, var(--canvas-bg)` } : undefined}+ style={+ wallpaperBg+ ? {+ backgroundImage: wallpaperBg,+ backgroundSize: 'cover',+ backgroundPosition: 'center',+ backgroundRepeat: 'no-repeat'+ }+ : undefined+ }nodes={allNodes}edges={displayEdges}nodeTypes={nodeTypes}diff --git a/src/renderer/state/wallpaper.ts b/src/renderer/state/wallpaper.tsindex ecab8a28d..66d2bbcb9 100644--- a/src/renderer/state/wallpaper.ts+++ b/src/renderer/state/wallpaper.ts@@ -3,8 +3,12 @@ import { gradientCss, normalizeWallpaper, type DesktopWallpaper } from '@shared/import { useSettings } from './settings'/**- * The canvas background for the current `desktopWallpaper` setting, as a CSS `background` value,- * or null for none (the canvas then draws exactly as before).+ * The canvas background for the current `desktopWallpaper` setting, as a CSS `background-image`+ * value, or null for none (the canvas then draws exactly as before).+ *+ * `background-image` only, never folded into a `background` shorthand next to `var(--canvas-bg)`:+ * Chromium drops any value that holds a var() once it passes ~2 MB, and a still's data: URL is+ * about 3 MB, so the shorthand silently resolved to nothing and the canvas stayed black.** A gradient preset is CSS and resolves synchronously. A still or an imported image is a data:* URL from core (`wallpaper.load`), cached here by value so a re-render or a round trip through@@ -26,7 +30,7 @@ function load(w: DesktopWallpaper): Promise<string | null> {loaded.clear()p = window.nodeTerminal.wallpaper.load(w)- .then((url) => (url ? `center / cover no-repeat url("${url}")` : null))+ .then((url) => (url ? `url("${url}")` : null)).catch(() => null)loaded.set(key, p)}