Skip to main content

Crate infinity_protocol

Crate infinity_protocol 

Source

Structs§

ModelInfo
ModelRef
Globally unique reference to a model: a provider id plus the model’s provider-scoped id.
RemoteInfo
SessionInfo
SubthreadInfo
TokenUsage

Enums§

ClientMessage
DaemonMessage
SessionStatus

Functions§

length_delimited_codec
Create a LengthDelimitedCodec configured with the project-wide maximum frame size. Use this instead of LengthDelimitedCodec::new() to ensure both client and daemon agree on the limit.
pid_path
Returns the path to the daemon PID file: ~/.infinity/daemon.pid.
remotes_config_path
Returns the path to the remotes config: ~/.infinity/remotes.json.
socket_path
Returns the path to the daemon unix socket: ~/.infinity/daemon.sock.
state_dir
Returns the base directory for daemon state: ~/.infinity/.