Expand description
ClawBro server library target. Exposes modules and test helpers for integration tests.
Re-exports§
pub use gateway_process::run as run_gateway_process;pub use config::GatewayConfig;pub use state::AppState;pub use state::BrokerApprovalResolver;
Modules§
- agent_
core - agent_
sdk_ internal - Reusable ClawBro execution core shared by library and shell runtimes.
- channel_
registry - channels_
internal - cli
- config
- delivery_
resolver - diagnostics
- embedded_
agent - gateway
- gateway_
process - im_sink
- progress_
presentation - protocol
- Host-neutral runtime contract for ClawBro runtimes, shells, and gateway adapters.
- runtime
- scheduler
- scheduler_
runtime - session
- skills_
internal - state
- team_
contract - team_
runtime
Functions§
- build_
test_ state_ with_ config - start_
test_ gateway - Start a gateway instance for testing.
The server runs until the tokio runtime shuts down (end of
#[tokio::test]).agent_binary: path to the ACP agent binary (e.g.clawbro-rust-agent). Returns the bound SocketAddr (port 0 = OS-assigned). - start_
test_ gateway_ with_ backend - Start a gateway instance for testing with an explicit runtime backend. Returns the bound SocketAddr (port 0 = OS-assigned).
- start_
test_ gateway_ with_ config - Start a gateway instance for testing with an explicit
GatewayConfig. Returns the bound SocketAddr (port 0 = OS-assigned).