pub type BoxAgentRunner = Arc<dyn Fn(Value) -> Pin<Box<dyn Future<Output = Result<Value, CruxErr>> + Send>> + Send + Sync>;Expand description
Type-erased agent runner: runs a registered agent with Value input, returns Value output. The function receives the input and returns a future that resolves to the output. Delegation is handled by the runner creating a child CruxCtx internally.
Aliased Typeยง
pub struct BoxAgentRunner { /* private fields */ }