Skip to main content
Daemon mode (DaemonAgentConnection, DaemonClient) separates agent runtime from terminal/web clients. Protocol versions (DAEMON_PROTOCOL_VERSION, DAEMON_SCHEMA_REVISION) govern wire compatibility. Capabilities (packages/agent/src/protocol.ts) must be negotiated; clients check before sending commands or depending on events. Startup must not require new capabilities without a gate. Related: Session runtime, Daemon protocol
Last modified on August 17, 2026