pub async fn dispatch_host_call_shared(
ctx: &HostCallContext<'_>,
call: HostCallPayload,
) -> HostResultPayloadExpand description
Dispatch a hostcall through the unified ABI surface.
This is the single source of truth for hostcall execution, usable by JS extensions, WASM components, and protocol-based runtimes alike.
- Resolves the required capability from the payload.
- Evaluates policy (allow / deny / prompt).
- Routes to the appropriate type-specific handler.
- Returns a taxonomy-compliant
HostResultPayload.