Expand description
Protocol types for CLI <-> Backend communication
Defines the message format for the remote control WebSocket connection.
Structs§
- Negotiated
Protocol - Negotiated protocol state after handshake
- OrgPolicies
- Organization-level policies that override user settings.
- Prioritized
Command - Wrapper for prioritized commands
- Protocol
Accept - Protocol accept message sent by backend in response
- Protocol
Hello - Protocol hello message sent by CLI during registration
- Remote
Agent Info - Information about a remote agent
- Retry
Policy - Retry policy for failed commands
Enums§
- Agent
Event Type - Types of agent events
- Backend
Command - Messages FROM Backend TO CLI
- Command
Priority - Priority level for commands
- Compression
Algorithm - Compression algorithms supported for attachments
- Device
Status - Device allowlist status returned by backend during authentication.
- Protocol
Capability - Capabilities that can be negotiated between CLI and backend
- Remote
Message - Messages FROM CLI TO Backend
- Stream
Chunk Type - Types of stream chunks
Constants§
- MIN_
PROTOCOL_ VERSION - Minimum supported protocol version
- PROTOCOL_
VERSION - Current protocol version
- SUPPORTED_
VERSIONS - All supported protocol versions (newest first)
Functions§
- compute_
device_ fingerprint - Compute a stable device fingerprint: SHA-256(machine_id || hostname || os).