Skip to main content

Module wire

Module wire 

Source
Expand description

Mirrored caliband IPC wire types.

These mirror caliban-supervisor’s proto.rs. The wire format is the only contract between Prospero and caliban — we deliberately do not depend on the caliban crate. If caliban’s protocol changes, these types (and the golden tests) are where the drift surfaces.

Structs§

AgentRecord
Snapshot describing a registered sub-agent (caliband AgentRecord).
DaemonStatus
Daemon status (caliband DaemonStatus).
SpawnSpec
Parameters for a new sub-agent spawn (caliband SpawnSpec).

Enums§

AgentStatus
Lifecycle state of an agent. Mirrors caliban’s AgentStatus wire enum exactly so the same value round-trips through both protocols.
AttachInbound
Inbound control frames written to an interactive agent’s per-agent socket. Mirrors caliban AttachInbound (caliban/src/attach.rs); the outbound stream stays caliban stream-json, so the two never share a direction.
CtlReply
Control-plane replies.
CtlRequest
Control-plane requests sent to the daemon.
Endpoint
Where a caliband socket lives, independent of transport family. Mirrors caliban-supervisor::transport::Endpoint byte-for-byte on the wire (ADR 0051).
SupervisorError
Errors the supervisor reports to clients.