Expand description
Session and transport bridge over realize/EvalFabric for the
Intent/Scene bus.
The bridge connects the browser shell to any runtime, location-transparently,
by targeting realize_events/realize_final rather than a transport-specific
API. Four interchangeable transports sit behind one trait: in-browser wasm,
local server, remote server, and fixture/cassette sessions for deterministic
tests. Both a human (through the browser) and an agent (through the agent
runner) are peers on this same bus.
This crate provides the transport contract and session status, the
deterministic fixture transport, the network remote transports, and
the session bus with per-pane subscriptions and Scene-diff streaming.
Re-exports§
pub use cookbook::session_fixture_demo;pub use fabric::FabricTransport;pub use fabric::operation_to_request;pub use fixture::FixtureTransport;pub use glasses::GlassesViewport;pub use glasses::HaloPreviewClient;pub use glasses::VitureSceneClient;pub use glasses_session::GlassesCoUseSession;pub use glasses_session::glasses_surface;pub use history::History;pub use history::SessionLog;pub use history::Snapshots;pub use history::annotate;pub use host::DesktopHost;pub use host::PHONE_PANE;pub use host::PhoneHost;pub use placement::BrowserBridgeLane;pub use placement::BrowserPlacementReport;pub use placement::BrowserPlacementRequest;pub use placement::BrowserWasmEngine;pub use placement::BrowserWasmEntryPoints;pub use placement::browser_audio_worklet_entry_symbol;pub use placement::browser_server_only_refusal_diagnostic;pub use placement::browser_wasm_engine_entry_symbol;pub use placement::browser_wasm_site_symbol;pub use remote::RemoteTransport;pub use session::SceneUpdate;pub use session::Session;pub use sync::Broadcast;pub use sync::EditRow;pub use sync::SurfaceBinding;pub use sync::SurfaceHub;pub use sync::SurfaceRole;pub use sync::replay;pub use transport::BrowserStreamStatus;pub use transport::ChangeEvent;pub use transport::SessionStatus;pub use transport::StreamInspectorRecord;pub use transport::Transport;pub use transport::TransportKind;pub use transport::WebStreamOperation;pub use transport::web_stream_operation_capability_names;pub use transport::web_stream_operation_symbols;
Modules§
- cookbook
- Deterministic cookbook builders for web bridge recipes.
- fabric
- The fabric transport: a session as a
realizetarget on anEvalFabric. - fixture
- The fixture transport: a deterministic in-memory runtime.
- glasses
- Browser/native clients for glasses Scene adaptation.
- glasses_
session - Dual-glasses co-use over one synchronized surface hub.
- history
- History, snapshots, the session log, and review primitives – all as values.
- host
- Phone and desktop host wrappers over the session bus.
- placement
- Browser-local wasm placement descriptors and headless execution harness.
- remote
- Network transports (wasm, local server, remote server).
- session
- The session: the Intent/Scene bus with per-pane subscriptions.
- sync
- Multi-surface synchronized edit sessions: broadcast, handoff, and replay.
- transport
- The transport trait and session status.
Enums§
- Glasses
Peer - A glasses peer inside one worn co-use session.
Constants§
- SESSION_
CLASS - Stable symbol for the session value carried on the bus.
Statics§
- RECIPES
- Embedded cookbook recipe books shipped with this library.
Functions§
- device_
peer_ surface - Returns the hub surface id used for a device edge session.
- register_
device_ peer - Registers a device edge session as a peer surface on
hub. - register_
device_ peer_ with_ role - Registers a device edge session as a surface with an explicit hub role.