Skip to main content
Defined in shared/protocol.ts (protocol version 1). Transport: a WebSocket from the extension’s service worker to ws://127.0.0.1:<port>. The first message must be hello with the pairing token; anything else, or a frame that is not a JSON object, closes the socket.

Message shapes

Requests (companion → extension)

Events

TabInfo

unsupportedReason(url) marks chrome:, chrome-extension:, devtools:, edge:, brave:, about: (except about:blank) and view-source: URLs and the Chrome Web Store. isNewTab(url) recognises the New Tab page, which may be shared and navigated but not inspected.

HTTP routes on the same port