Skip to main content

Crate roder_ext_chrome

Crate roder_ext_chrome 

Source
Expand description

Roder Chrome browser-control extension.

Registers the model-facing chrome_* tools and a policy contributor that gates protected and prohibited browser actions. The tools are generic over an injected roder_api::chrome::ChromeController (defaulting to the live process bridge), so they can be unit-tested against a fake bridge without a real browser.

This crate deliberately depends only on roder-api (not roder-core): the shared browser-bridge contract lives in roder_api::chrome.

Structs§

ChromeArtifact
A browser artifact stored under a Roder artifact root.
ChromeExtension
The Roder Chrome browser-control extension. Registers the model-facing chrome_* tools, bound to the live process browser bridge.
ChromeToolContributor
Contributes the chrome_* tools, each bound to a shared controller.

Enums§

ChromeActionClass
How a browser command is treated by Roder policy.
ChromeArtifactKind

Functions§

chrome_tool_specs
ToolSpecs for every chrome tool (used by manifests and tests).
classify_action
Classify a wire command kind (e.g. "page/click").