Skip to content
This repository was archived by the owner on Nov 7, 2026. It is now read-only.

fix(recording): point tab-capture permission failures at click-free CDP recording - #106

Merged
kitlangton merged 1 commit into
mainfrom
fix/tab-capture-hint
Oct 25, 2026
Merged

kitlangton merged 1 commit into
mainfrom
fix/tab-capture-hint

Conversation

@kitlangton

Copy link
Copy Markdown
Collaborator

Why

An agent recording a Browser Control-owned preview tab forced --mode tab-capture and got Extension has not been invoked for the current page (see activeTab permission)… Click the Browser Control extension icon on this tab once before recording. The hint implied a person had to click before every recording, even though CDP recording works on any debugger-attached tab without a click (and --mode auto already picks it for relay-owned tabs).

What Changes

Before: …Click the Browser Control extension icon on this tab once before recording.

After: …Chrome only allows tab capture after you click the Browser Control extension icon on this tab. To record without a click, use --mode cdp (the auto default for Browser Control-owned tabs).

The skill's Recording section now says the click is a Chrome rule that no extension permission removes, and points agent-run recordings at CDP, noting its encode cost.

Scope

Message and docs only; capture behavior is unchanged.

Verification

./node_modules/.bin/tsc --noEmit -p .
./node_modules/.bin/tsx scripts/build-extension.ts --outdir <tmp>

The typecheck is clean, and the built background.js contains the new message. For the cost figure, I encoded 20s of 15 fps 1440x900 with the CDP pipeline's ffmpeg settings: x264 veryfast took 4.2s user CPU and libvpx 4.7s, about a quarter of one core while recording.

@kitlangton
kitlangton force-pushed the fix/tab-capture-hint branch from c8cfbdb to 80a3001 Compare October 25, 2026 22:37
@kitlangton
kitlangton merged commit c589d5c into main Oct 25, 2026
2 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant