run_service_call

Function run_service_call 

Source
pub(crate) async fn run_service_call(
    state: &AppState,
    call: &WebCallType,
) -> WebReturnType
Expand description

Dispatch a service call and broadcast any resulting WaveObjUpdates to the event bus — the shared core of handle_service. Factored out so the typed first-class agent-API verbs (e.g. /api/v1/window/name) get byte-identical persistence + broadcast to a raw /agentmux/service call without re-implementing it. See SPEC_AGENT_API_FIRST_CLASS_SURFACE_2026_06_17.md.