Extension Setup
- Connects to the local relay server (ws://127.0.0.1:<port>/extension). - Uses the Chrome Debugger API to forward CDP commands across attached tabs/targets (with a primary tab used for handshake/status). - Allows OpenDev
- Connects to the local relay server (
ws://127.0.0.1:<port>/extension). - Uses the Chrome Debugger API to forward CDP commands across attached tabs/targets (with a primary tab used for handshake/status).
- Allows OpenDevBrowser to control tabs without launching a new browser.
- Lets extension-backed sessions participate in manager-owned browser replay capture through the existing screenshot primitive; there is no separate extension screencast relay family.
- Supports multi-tab CDP routing with flat sessions (Chrome 125+).
- Exposes top-level tabs and auto-attached child targets (workers/OOPIF) through
Target.getTargets. - Hosts the dedicated design-canvas runtime used by
/canvasfor design-tab and overlay operations. - Preserves additive canvas session-summary metadata such as
availableInventoryCount,catalogKitIds,availableStarterCount, and the currently applied starter so the design tab stays in sync with starter and kit availability without introducing a second starter execution path in the extension. - Routes popup/canvas/in-page annotation
Sendactions through/annotationstore_agent_payloadso the active chat can receive repo-local shared inbox entries when scope is safe. - Launch defaults to extension relay when available; managed/CDPConnect require explicit user choice.
- Extension mode is headed-only; extension-intent headless launch/connect is rejected with
unsupported_mode. - Desktop observation is not an extension feature; the shipped desktop commands and tools stay daemon/core-owned, public, and observe-only.
- Generated help surfaces the exact lookup labels
screencast / browser replay,desktop observation, andcomputer use / browser-scoped computer use; the extension participates in relay-backed browser work, not the public read-only desktop plane. - When hub mode is enabled, the hub daemon is the sole relay owner and enforces FIFO leases (no local relay fallback).
command example
npx opendevbrowser serve