pub fn spawn_component_actor(
tool_provider: ToolProvider,
session_provider: Option<SessionProvider>,
store: Store<HostState>,
current_consent: Arc<CurrentConsentSink>,
audit: AuditContext,
) -> ComponentHandleExpand description
Spawn the component actor task. Owns the Store, the tool-provider guest,
and the optional SessionProvider (present iff the component supports
act:sessions/session-provider).
Returns a handle for sending requests.