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(security): the peer-approval dialog can no longer be confirmed by a stray Enter
eneseceaf4a5cb74
diff --git a/src/renderer/canvas/Canvas.tsx b/src/renderer/canvas/Canvas.tsxindex 658064363..8221f4ef2 100644--- a/src/renderer/canvas/Canvas.tsx+++ b/src/renderer/canvas/Canvas.tsx@@ -5408,7 +5408,13 @@ export function Canvas() {}confirmLabel="Allow"cancelLabel="Deny"- danger={false}+ // A REMOTE device raised this — the far side completing the pairing handshake pops it+ // under the user's hands. So it is answered by an explicit click, never by a stray Enter+ // aimed at a terminal: a keystroke must not confirm approval and bypass the SAS+ // match-check that is the whole MITM protection. `danger` also keeps autofocus off the+ // consenting "Allow" button (it lands on "Deny" instead). See components/confirm-key.+ enterConfirms={false}+ dangeronConfirm={() => {window.nodeTerminal.remoteHost.approve(pendingPeer.id)setPendingPeer(null)