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(worktree): open a new worktree group big enough to hold a terminal
enesa734222df3df
diff --git a/src/renderer/canvas/Canvas.tsx b/src/renderer/canvas/Canvas.tsxindex 439cf8d4a..b5816ff94 100644--- a/src/renderer/canvas/Canvas.tsx+++ b/src/renderer/canvas/Canvas.tsx@@ -173,6 +173,7 @@ import {createDiffNode,createEditorNode,createGroupNode,+ WORKTREE_GROUP_SIZE,createSshTerminalNode,createStickyNode,createTerminalNode,@@ -2585,7 +2586,7 @@ export function Canvas() {} else {const group = createGroupNode(target.at ?? viewCenter() ?? { x: 0, y: 0 },- undefined,+ WORKTREE_GROUP_SIZE,nodesRef.current.length)group.data = { ...group.data, title: wt.branch, worktree: wt }diff --git a/src/renderer/state/workspace.ts b/src/renderer/state/workspace.tsindex c713eaf6e..20f12c854 100644--- a/src/renderer/state/workspace.ts+++ b/src/renderer/state/workspace.ts@@ -25,6 +25,10 @@ export const NODE_COLORS = [const TERMINAL_SIZE = { width: 600, height: 400 }const STICKY_SIZE = { width: 240, height: 200 }const GROUP_SIZE = { width: 520, height: 360 }+/** A fresh worktree group starts empty but exists to HOLD terminals/agents, and the default+ * GROUP_SIZE (520×360) is smaller than a single terminal (600×400) — a dropped-in terminal would+ * overflow the frame. Open it large enough for one terminal with margin, and room to add another. */+export const WORKTREE_GROUP_SIZE = { width: 760, height: 540 }const EDITOR_SIZE = { width: 660, height: 460 }const DIFF_SIZE = { width: 860, height: 500 }const DINO_SIZE = { width: 600, height: 200 }