Skip to main content

Crate atm_protocol

Crate atm_protocol 

Source
Expand description

ATM Protocol - Wire protocol for daemon communication

This crate provides vendor-neutral message types and parsing for communication between hook/extension scripts and the daemon, and between the daemon and TUI clients. Vendor-specific wire payloads (Claude RawHookEvent, pi RawPiEvent) live in their respective adapter crates.

Re-exports§

pub use message::ClientMessage;
pub use message::DaemonMessage;
pub use message::MessageType;
pub use parse::RawContextWindow;
pub use parse::RawCost;
pub use parse::RawModel;
pub use parse::RawStatusLine;
pub use parse::RawWorkspace;
pub use version::ProtocolVersion;

Modules§

message
Protocol message types for daemon communication.
parse
Parsing of vendor-shaped wire payloads carried by MessageType envelopes.
version
Protocol versioning for safe upgrades.