Skip to content

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.

600 B
Raw Blame
// Minimal consent notice for the invite/approve flow. Presentational only — the load-bearing logic
// is the pure describeGrant (src/shared/remote/consent.ts, unit-tested). 4c places this in the actual
// invite/approve dialog. Kept tiny + prop-driven so it needs no store wiring.
import { describeGrant } from '@shared/remote/consent'
import { thisMachine } from '@renderer/lib/machineName'

export function ConsentNotice({ peerLabel }: { peerLabel: string }): JSX.Element {
  return (
    <p className="remote-consent" role="note">
      {describeGrant(peerLabel, thisMachine())}
    </p>
  )
}