pub fn launch_session(
staged: StagedSession,
on_url: impl FnOnce(&str),
) -> Result<LaunchResult, RuntimeError>Expand description
Instantiates the staged capsule and executes it.
Agent capsules (inference configured) run the built-in Rust agent loop.
Script capsules (WASM component present) instantiate and call murmur:capsule/run#run().
Leaves the process’s SIGTERM disposition alone: a caller that runs several sessions in one
process, or does more work after this returns, keeps the default of ending at once. A caller
whose process is the session uses launch_session_handling_sigterm instead.