ROADMAP · SYSTEM ARCHITECTURE

System
Roadmap

Architectural data flow diagram illustrating the secure connection paths between client and terminal hosts.

Data Flow

Step 1: Handshake
The CLI generates a pairing code. The mobile client inputs this code, fetching the E2E relay details from Hono manager.

Step 2: Tunneling
Both devices open outgoing WebSocket channels to the proxy relay, establishing control and data channels without open router ports.

Step 3: PTY Stream
The native Rust PTY spawner captures terminal sessions, streaming I/O frames securely to xterm.js in the Expo app.

Step 4: x402 Payments
Periodic bills are automatically sent over the control channel and settled in background USDC transaction ticks.