Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

770 B
Raw Blame
//! Socket domain — persistent Socket.IO client connection to the backend.
//!
//! Provides the `SocketManager` for WebSocket-based communication with
//! automatic reconnection, MCP tool dispatch, webhook routing, and channel
//! inbound message handling.

mod event_handlers;
pub mod manager;
pub mod models;
mod ops;
mod schemas;
pub(crate) mod token_provider;
pub mod types;
pub mod url;
pub(crate) mod ws_loop;

pub use manager::{global_socket_manager, set_global_socket_manager, SocketManager};
pub use schemas::{
    all_controller_schemas as all_socket_controller_schemas,
    all_registered_controllers as all_socket_registered_controllers,
};

pub(crate) use schemas::all_controller_entries;

#[cfg(test)]
pub(crate) use schemas::socket_parameter_contracts;