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
refactor(terminal): float the copy pill over the terminal, not in the header
enesa4a657cb2828
diff --git a/src/renderer/components/kanban/ModalTerminal.tsx b/src/renderer/components/kanban/ModalTerminal.tsxindex d50cb84f6..11e39ae4a 100644--- a/src/renderer/components/kanban/ModalTerminal.tsx+++ b/src/renderer/components/kanban/ModalTerminal.tsx@@ -418,8 +418,10 @@ export function ModalTerminal({ nodeId, spawn, searchOpen, onCloseSearch }: ModaonPasteCapture={onPaste}>{uploading && <div className="kanban-modal__upload">Uploading…</div>}+ {/* Same pill, same class, same corner as the canvas node — one session seen twice should+ not speak in two different voices. */}{copy.feedback && (- <div className={`kanban-modal__copied kanban-modal__copied--${copy.feedback.kind}`}>+ <div className={`term-copy-pill term-copy-pill--${copy.feedback.kind}`}>{copy.feedback.label}</div>)}diff --git a/src/renderer/nodes/TerminalNode.tsx b/src/renderer/nodes/TerminalNode.tsxindex bdbdf7a24..a69dae0bb 100644--- a/src/renderer/nodes/TerminalNode.tsx+++ b/src/renderer/nodes/TerminalNode.tsx@@ -3122,11 +3122,6 @@ export function TerminalNode({RUNNING</span>)}- {copy.feedback && (- <span className={`term-node__status term-node__status--${copy.feedback.kind}`}>- {copy.feedback.label}- </span>- )}{showLoop && status?.loop && (<spanclassName="term-node__status term-node__status--loop"@@ -3333,6 +3328,16 @@ export function TerminalNode({{uploadNote.text}</div>)}+ {/* Copy receipt / selection hint — floated over the terminal's bottom-right rather than+ worn as a header chip. It belongs where the user's eyes just were (the drag they+ finished), and the header cannot hold it: on a narrow node with the SSH chip and+ RUNNING already there, one more chip pushes the × under `.term-node`'s overflow.+ Bottom-RIGHT specifically — every agent CLI writes its input line bottom-LEFT. */}+ {copy.feedback && (+ <div className={`term-copy-pill term-copy-pill--${copy.feedback.kind}`}>+ {copy.feedback.label}+ </div>+ )}{co.closed && (<div className="term-node__closed nodrag">Closed by {closedName} — this session was ended.diff --git a/src/renderer/styles.css b/src/renderer/styles.cssindex 55af779d6..f09981bb1 100644--- a/src/renderer/styles.css+++ b/src/renderer/styles.css@@ -1410,20 +1410,6 @@ body,/* Copy receipt (1.6 s) — green like the base chip, and deliberately quieter than RUNNING /NEEDS YOU: this is a receipt, not an alert. */-.term-node__status--copied {- color: var(--success);- letter-spacing: 0.04em;-}--/* The one-time "hold ⌥ to select text" hint. Sentence case, muted: it is instruction, not status,- and the header's other chips are SHOUTED status words. */-.term-node__status--hint {- color: var(--muted);- font-weight: 600;- letter-spacing: 0;- text-transform: none;-}-.term-node__queued-run {background: none;border: none;@@ -1754,6 +1740,51 @@ body,pointer-events: none;}+/* Copy receipt / selection hint, shared by BOTH terminal surfaces (the canvas node's+ `.term-node__body` and the kanban card modal's `.kanban-modal__termwrap`, which are both+ `position: relative`). One class, so a session seen twice cannot speak in two voices.++ Bottom-RIGHT is deliberate: every agent CLI writes its input line bottom-LEFT, and this used to+ live in the node header, where one more chip pushed the × under `.term-node`'s overflow on a+ narrow node.++ `pointer-events: none` is load-bearing here in a way it was not in the header: the receipt now+ sits ON the terminal and fires on EVERY copy, so without it each copy would eat clicks in that+ corner for its whole dwell. */+.term-copy-pill {+ position: absolute;+ right: 10px;+ bottom: 8px;+ z-index: 5;+ pointer-events: none;+ font-size: 11px;+ font-weight: 600;+ line-height: 1;+ padding: 5px 9px;+ border-radius: 7px;+ color: var(--success);+ background: color-mix(in srgb, var(--bg) 82%, transparent);+ border: 1px solid color-mix(in srgb, var(--success) 35%, transparent);+ animation: nt-copy-pill-in 120ms ease-out;+}++/* The hint is instruction, not status: quieter border, neutral text. */+.term-copy-pill--hint {+ color: var(--text);+ border-color: var(--border);+}++@keyframes nt-copy-pill-in {+ from {+ opacity: 0;+ transform: translateY(3px);+ }+ to {+ opacity: 1;+ transform: none;+ }+}+.term-node__upload.failed {color: var(--danger);}@@ -9638,11 +9669,7 @@ body,pointer-events: none;z-index: 3;}-/* The floating notices over the modal terminal: the upload spinner, and the copy receipt /- selection hint. One placement contract, one rule — the modal's header belongs to CardModal, so- transient per-terminal state stays inside the terminal. */-.kanban-modal__upload,-.kanban-modal__copied {+.kanban-modal__upload {position: absolute;left: 50%;bottom: 14px;@@ -9656,10 +9683,6 @@ body,padding: 6px 12px;}-.kanban-modal__copied--copied {- color: var(--success);-}-/* Shared browser surface (canvas node + kanban card modal): toolbar on top, webview fills. */.browser-surface {flex: 1;