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
polish(relay): route ConsentNotice label through the view-model; style the grant callout
enesc6b9739badcd
diff --git a/src/renderer/canvas/Canvas.tsx b/src/renderer/canvas/Canvas.tsxindex d6ac023e4..3824131a3 100644--- a/src/renderer/canvas/Canvas.tsx+++ b/src/renderer/canvas/Canvas.tsx@@ -5536,7 +5536,9 @@ export function Canvas() {<ConfirmDialog// ConsentNotice → describeGrant: the human reads WHAT they grant ("<peer> will be able to// run commands on this Mac — the same as SSH") above the SAS body, before confirming.- body={<ConsentNotice peerLabel={pendingPeer.label ?? 'This device'} />}+ // Everything the dialog needs (label, SAS body, confirm id) comes from the ONE pure+ // view-model, so the peer label the user reads is the same field the test guards.+ body={<ConsentNotice peerLabel={peerApprovalView(pendingPeer).peerLabel} />}message={peerApprovalView(pendingPeer).message}confirmLabel="Allow"cancelLabel="Deny"diff --git a/src/renderer/styles.css b/src/renderer/styles.cssindex 7a3affb99..add65f452 100644--- a/src/renderer/styles.css+++ b/src/renderer/styles.css@@ -3380,6 +3380,21 @@ body,white-space: pre-line;}+/* The grant disclosure (`ConsentNotice` → describeGrant) shown ABOVE the SAS body in the host+ approval dialog: the human reads that they are handing the peer shell access before they Allow.+ Styled as a distinct callout — accent-tinted panel — so a load-bearing security sentence does+ not read as an unstyled default paragraph. */+.remote-consent {+ margin: 0 0 16px;+ padding: 10px 12px;+ border-radius: 8px;+ background: color-mix(in srgb, var(--accent) 12%, transparent);+ border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);+ font-size: 13px;+ line-height: 1.5;+ color: var(--text);+}+/* Explicit opt-in inside a confirm dialog (e.g. "also delete the directory from disk"). */.confirm__option {display: flex;