Skip to content

armgit / moli

Public Imported from GitHub
0

Best headless browser for AI agents. Lite, Fast, High-Compatibility. Built in Rust

1.0 KB
Raw Blame
//! Renderer-neutral SharedWorker matching and registry state.
//!
//! The crate intentionally stops at browser-model state: storage-key/script/name
//! matching, creation option compatibility, loading/running client state, and
//! partition-scoped registry actions. Embedders supply the actual worker runtime
//! handle and keep V8 wrappers, MessagePort endpoints, fetch policy, and wake
//! routing outside this crate.

mod client;
mod key;
mod options;
mod registry;

pub use client::{SharedWorkerClientId, SharedWorkerClientOwnerId, SharedWorkerInstanceId};
pub use key::SharedWorkerKey;
pub use options::{
    SharedWorkerCompatibilityError, SharedWorkerCreationContextType, SharedWorkerCredentialsMode,
    SharedWorkerDescriptor, SharedWorkerSameSiteCookies, SharedWorkerScriptType,
};
pub use registry::{
    SharedWorkerClientOwnerEvent, SharedWorkerClientRemoval, SharedWorkerConnectAction,
    SharedWorkerInstanceRemoval, SharedWorkerLoadFailure, SharedWorkerLoadReady,
    SharedWorkerObservedAction, SharedWorkerRegistry, SharedWorkerRegistryDiagnostics,
};