roder_ext_chrome/lib.rs
1//! Roder Chrome browser-control extension.
2//!
3//! Registers the model-facing `chrome_*` tools and a policy contributor that
4//! gates protected and prohibited browser actions. The tools are generic over an
5//! injected [`roder_api::chrome::ChromeController`] (defaulting to the live
6//! process bridge), so they can be unit-tested against a fake bridge without a
7//! real browser.
8//!
9//! This crate deliberately depends only on `roder-api` (not `roder-core`): the
10//! shared browser-bridge contract lives in [`roder_api::chrome`].
11
12mod artifacts;
13mod desktop_cdp;
14mod extension;
15mod policy;
16mod session;
17mod tools;
18
19pub use artifacts::{ChromeArtifact, ChromeArtifactKind};
20pub use extension::ChromeExtension;
21pub use policy::{ChromeActionClass, classify_action};
22pub use tools::{ChromeToolContributor, chrome_tool_specs};