Skip to content

Terminal and PTY system

node-pty backs both Antigravity's entire integration and the raw terminal drawer available for every session.

node-pty is the one native module every part of AgentDock's terminal-adjacent functionality depends on — it's a real pseudo-terminal, not a captured-output pipe, which matters for interactive CLI behavior like prompts and cursor control.

What it backs

  • Antigravity's entire transport — see Antigravity transport — since Antigravity has no SDK to integrate against.
  • The raw terminal drawer — see Raw terminal drawer — available as a diagnostic view regardless of which agent a session is running.

Native ABI concerns

node-pty is a native module and must be rebuilt against Electron's specific ABI, not just the host Node.js version — see Native modules. A mismatch here is one of the most common source-build startup failures; see node-pty failures.