Standalone
WebAssistantRuntime(settings, preflight=None, shared=None) creates its own:
- Conversation.
- Complexity scorer.
- Browser session.
- Approval manager.
- Tool registry.
- Connector registry.
- Durable job store.
- Trigger store.
- Background task manager.
Shared
Whenshared is provided, the Web runtime reuses terminal-owned objects:
- Conversation.
- Browser session.
- Approvals.
- Tool registry.
- Connector registry.
- Job store.
- Trigger store.
- Task manager.
runtime.scope as shared or standalone.
Events
The browser subscribes to/api/events through server-sent events. Task events update the UI without polling.