Skip to content

armgit / moli

Public Imported from GitHub
0

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

4.2 KB
Raw Blame
mod clients;
pub(crate) mod diagnostics;
mod errors;
mod events;
mod functional_events;
mod host;
mod ids;
mod jobs;
mod matching;
mod owner_wake;
mod path_restriction;
mod pending_clear;
mod registration;
mod resource_store;
mod run_owner;
mod script_loading;
mod service;
mod service_lane;
mod snapshots;
mod start_completion;
mod state;
mod target_output_streams;
mod version;

pub(crate) use clients::{
    ServiceWorkerClientFrameType, ServiceWorkerClientQuery, ServiceWorkerClientQueryKind,
    ServiceWorkerClientQueryOptions, ServiceWorkerClientQueryResult, ServiceWorkerClientQueryType,
    ServiceWorkerClientSnapshot, ServiceWorkerClientType, service_worker_exposed_client_id,
};
pub(crate) use errors::{ServiceWorkerRegistrationError, ServiceWorkerRegistrationErrorKind};
#[cfg(test)]
pub(crate) use events::ServiceWorkerNotificationEventKind;
pub(crate) use events::{
    MaterializedServiceWorkerFetchResponseHead, ServiceWorkerClientFocus,
    ServiceWorkerClientFocusError, ServiceWorkerClientFocusResult, ServiceWorkerClientMessage,
    ServiceWorkerClientNavigate, ServiceWorkerClientNavigateError,
    ServiceWorkerClientNavigateResult, ServiceWorkerClientsOpenWindow,
    ServiceWorkerClientsOpenWindowError, ServiceWorkerClientsOpenWindowResult,
    ServiceWorkerCloseNotification, ServiceWorkerDirectFetchResponse,
    ServiceWorkerDirectFetchResult, ServiceWorkerFetchCompletion, ServiceWorkerFetchDispatch,
    ServiceWorkerFetchEvent, ServiceWorkerFetchRequest, ServiceWorkerFetchRequestMetadata,
    ServiceWorkerFetchResponse, ServiceWorkerFetchResult, ServiceWorkerFetchStreamChunk,
    ServiceWorkerFetchStreamStarted, ServiceWorkerGetNotifications,
    ServiceWorkerGetNotificationsResult, ServiceWorkerLifecycleCompletion,
    ServiceWorkerLifecycleEvent, ServiceWorkerLifecycleEventKind, ServiceWorkerMessageCompletion,
    ServiceWorkerMessageEvent, ServiceWorkerNavigationPreloadFailure,
    ServiceWorkerNavigationPreloadResponseStarted, ServiceWorkerNavigationPreloadStreamChunk,
    ServiceWorkerNavigationPreloadStreamFinished, ServiceWorkerNotificationAction,
    ServiceWorkerNotificationCompletion, ServiceWorkerNotificationEvent,
    ServiceWorkerNotificationMetadata, ServiceWorkerNotificationSnapshot,
    ServiceWorkerPeriodicSyncCompletion, ServiceWorkerPeriodicSyncEvent,
    ServiceWorkerPeriodicSyncGetTags, ServiceWorkerPeriodicSyncGetTagsResult,
    ServiceWorkerPeriodicSyncRegistration, ServiceWorkerPeriodicSyncRegistrationResult,
    ServiceWorkerPeriodicSyncUnregistration, ServiceWorkerPeriodicSyncUnregistrationResult,
    ServiceWorkerPushCompletion, ServiceWorkerPushEvent, ServiceWorkerPushGetSubscription,
    ServiceWorkerPushGetSubscriptionResult, ServiceWorkerPushSubscribe,
    ServiceWorkerPushSubscribeResult, ServiceWorkerPushSubscriptionSnapshot,
    ServiceWorkerPushUnsubscribe, ServiceWorkerPushUnsubscribeResult,
    ServiceWorkerRequestDestination, ServiceWorkerShowNotification,
    ServiceWorkerShowNotificationResult, ServiceWorkerSyncCompletion, ServiceWorkerSyncEvent,
    ServiceWorkerSyncGetTags, ServiceWorkerSyncGetTagsResult, ServiceWorkerSyncRegistration,
    ServiceWorkerSyncRegistrationResult, ServiceWorkerWorkerMessage,
    service_worker_fetch_request_metadata, service_worker_opaque_response_rejection,
};
pub(crate) use ids::{
    ServiceWorkerClientId, ServiceWorkerClientIdAllocator, ServiceWorkerEventId,
    ServiceWorkerRegistrationId, ServiceWorkerVersionId,
};
pub(crate) use jobs::ServiceWorkerUnregisterStart;
pub(crate) use owner_wake::{
    ServiceWorkerRuntimeOwnerWake, ServiceWorkerRuntimeOwnerWakeSender,
    service_worker_owner_wake_channel,
};
pub(crate) use registration::{
    ServiceWorkerNavigationPreloadState, ServiceWorkerNavigationPreloadStateError,
    ServiceWorkerUpdateViaCache,
};
pub use resource_store::{
    SharedServiceWorkerResourceStore, new_shared_json_service_worker_resource_store,
    new_shared_service_worker_resource_store,
};
pub(crate) use run_owner::ServiceWorkerRunOwner;
pub(crate) use service::{
    ServiceWorkerRuntimeService,
    new_service_worker_runtime_service_with_resource_store_and_browser_resource_runtime_binding,
};
pub(crate) use snapshots::{
    ServiceWorkerControlState, ServiceWorkerRegistrationSnapshot, ServiceWorkerVersionSnapshot,
};