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
feat(claude): subagent node expands while working too (task + status/result)
enes8d1b1c23a9d5
diff --git a/src/renderer/nodes/SubagentNode.tsx b/src/renderer/nodes/SubagentNode.tsxindex 8011208cb..df5c47fa2 100644--- a/src/renderer/nodes/SubagentNode.tsx+++ b/src/renderer/nodes/SubagentNode.tsx@@ -48,17 +48,28 @@ export function SubagentNode({ data }: NodeProps<CanvasNode>) {<Handle type="target" position={Position.Top} isConnectable={false} /><divclassName="subagent-node__head nodrag"- onClick={() => result && setExpanded((v) => !v)}- title={result ? (expanded ? 'Collapse' : 'Click to see what it did') : undefined}- style={{ cursor: result ? 'pointer' : 'default' }}+ onClick={() => setExpanded((v) => !v)}+ title={expanded ? 'Collapse' : 'Click to expand'}+ style={{ cursor: 'pointer' }}><span className="subagent-node__dot" /><span className="subagent-node__type">{(data.subagentType as string) || 'subagent'}</span><span className="subagent-node__state">{working ? 'working' : 'done'}</span></div>- {data.title && <div className="subagent-node__task">{data.title as string}</div>}+ {data.title && !expanded && (+ <div className="subagent-node__task">{data.title as string}</div>+ )}{meta && <div className="subagent-node__meta">{meta}</div>}- {expanded && result && <div className="subagent-node__result nodrag nowheel">{result}</div>}+ {expanded && (+ <div className="subagent-node__result nodrag nowheel">+ {data.title ? <div className="subagent-node__result-task">{data.title as string}</div> : null}+ {result+ ? result+ : working+ ? 'Working… the subagent runs inside Claude; its output appears here when it finishes.'+ : 'No output.'}+ </div>+ )}</div>)}diff --git a/src/renderer/styles.css b/src/renderer/styles.cssindex 1ed40c3c3..6edd38ea7 100644--- a/src/renderer/styles.css+++ b/src/renderer/styles.css@@ -2625,6 +2625,13 @@ body,word-break: break-word;}+.subagent-node__result-task {+ margin-bottom: 8px;+ padding-bottom: 8px;+ border-bottom: 1px solid var(--border);+ color: var(--muted);+}+/* ---- Minimap ---- */.minimap {background: rgba(40, 40, 42, 0.85) !important;