Expand description
The seam between the merged agents__* family and the two engines
it drives. Every verb that takes a target resolves it here, so the
routing rule lives in one place rather than at each call site.
Re-exportsΒ§
use std::sync::Arc;πuse crate::SessionSlot;πuse crate::mcp::agents::target::AgentTarget;πuse crate::mcp::agents::target::LEAD_LABEL;πuse crate::mcp::peers::facade::DeliverError;πuse crate::mcp::peers::facade::WorkspaceFacade;πuse crate::mcp::peers::types::WrappedPrompt;πuse crate::mcp::workers::facade::WorkerDeliverError;πuse crate::mcp::workers::facade::WorkerFacade;πuse crate::mcp::workers::facade::WorkerLeadDeliverError;π
StructsΒ§
- Agent
Dispatcher - The two engines, both held: a target inside the callerβs project is served by the workers engine and one outside it by the peers engine. Keeping both is what makes this a dispatcher rather than a third implementation.
FunctionsΒ§
- lead_
deliver_ πmessage labelnaming a projectβs own agent is worker-only addressing: a lead has no lead above it to talk back to.- worker_
deliver_ πmessage