Expand description
Host-side typed handles for the generated act:sessions/session-provider
bindings.
act-world declares session-provider as an export, but it is opt-in:
stateless components do not export it. The host therefore binds it through
a per-interface GuestIndices::new lookup that is allowed to fail —
instantiate_component turns that failure into None, so components
without session-provider instantiate fine.
Session, Error and Metadata come straight from the generated
bindings (the same act:core/types records the tool-provider uses, shared
via the single act-world bindgen invocation).
Structs§
- Session
act:sessions/types.session— re-exported from the generated bindings so callers keep referring tosessions::Session. Component-side state container.- Session
Provider - Typed handles to the three session-provider functions of one component
instance, derived from the generated session
Guest.