Expand description
Protocol-facing DTOs for the chrome/* app-server methods.
The shared browser-bridge contract lives in roder_api::chrome; the status
and tab/browser/permission record types are re-exported here so SDK clients
and the app-server handlers share one definition. The request param structs
below describe the JSON-RPC payloads accepted by AppServer.
Browser page content, console output, and network metadata forwarded through
these methods are untrusted: dispatch results are passed through verbatim
as opaque serde_json::Value and must not be treated as instructions.
Structs§
- Chrome
Browser - A browser the extension can drive (Chrome is P0, Edge is P1).
- Chrome
Command - A command Roder asks the extension to run.
kindis the wiretype(e.g."page/snapshot");paramsis merged into the outgoing frame. - Chrome
Debug Read Params - Params for
chrome/debug/consoleandchrome/debug/network. - Chrome
Enable Params - Params for
chrome/enable. Optionally sets the permission mode. - Chrome
Navigate Params - Params for
chrome/tabs/navigate. - Chrome
Page Action Params - Params for
chrome/page/action. - Chrome
Page Snapshot Params - Params for
chrome/page/snapshot. - Chrome
Permissions List Params - Params for
chrome/permissions/list. - Chrome
Permissions Update Params - Params for
chrome/permissions/update. - Chrome
SetMode Params - Params for
chrome/setMode. - Chrome
Site Permission - Per-origin site permission record stored by the extension.
- Chrome
Status - Snapshot of the connection, mirrored to TUI/CLI/SDK clients via
chrome/status. - Chrome
Tab - A tab visible to the extension.
- Chrome
TabActivate Params - Params for
chrome/tabs/activate.
Enums§
- Chrome
Error - Failure surface for browser commands.
- Chrome
Permission Mode - How aggressively Roder may act in the browser on the user’s behalf.