Skip to main content

omni_dev/browser/
mod.rs

1//! Browser bridge: drive HTTP requests through an authenticated browser tab.
2//!
3//! The bridge runs two planes — a WebSocket plane the browser connects to (via
4//! a pasted DevTools snippet) and an HTTP control plane the operator drives —
5//! joined by an `id`-keyed correlator. It deliberately lets a local process
6//! borrow the browser's authenticated session (a confused-deputy by design), so
7//! both planes are authenticated and default-closed. See
8//! [docs/browser-bridge.md](../../docs/browser-bridge.md) and
9//! [ADR-0036](../../docs/adrs/adr-0036.md).
10
11pub mod auth;
12pub mod bridge;
13pub mod client;
14pub mod harvest;
15pub mod protocol;
16pub mod snippet;
17
18pub use bridge::{run, BridgeConfig, BridgeServer};