Skip to content

Restore agent-browser screencast rebinding on Windows - #1300

Merged
nedtwigg merged 1 commit into
mainfrom
audit-windows-screencast
Oct 21, 2026
Merged

nedtwigg merged 1 commit into
mainfrom
audit-windows-screencast

Conversation

@nedtwigg

@nedtwigg nedtwigg commented Oct 21, 2026 •

Copy link
Copy Markdown
Member

Windows browser panes skipped every screencast restart, so automatic tab changes and reconnects could leave them showing the previous page. The host assumed agent-browser had no Windows control endpoint, but both 0.27.0 and 0.31.1 publish their loopback TCP endpoint in <session>.port.

Read that port after proving the daemon live, and send the same bounded screencast actions used on Unix. Missing, stale, or invalid port metadata refuses the operation. Numeric state reads also reject malformed and out-of-range ports. Native Windows/macOS CI now runs the browser-host suite with the shell suite.

Validation: the real-transport-shape regression failed before the fix; 66 browser-host/shell tests pass with 3 platform skips. Four Windows endpoint refusal cases and malformed stream-port cases pass. Library types, spec/Markdown, outbound classification, and workflow lints pass. No native browser visual verification is claimed; protocol tests use a loopback daemon fixture.

Live Windows validation in the combined standalone harness also passes: with #1304 preserving a temporary browser configuration, the nested agent-browser pane renders its test page and the first script records 1440 x 900 at DPR 1. This exercises the real installed agent-browser 0.27.0 daemon through the TCP control endpoint.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying mouseterm with  Cloudflare Pages  Cloudflare Pages

Latest commit: e5169f9
Status: ✅  Deploy successful!
Preview URL: https://abc84eb0.mouseterm.pages.dev
Branch Preview URL: https://audit-windows-screencast.mouseterm.pages.dev

View logs

@nedtwigg
nedtwigg merged commit e11d6ec into main Oct 21, 2026
18 of 19 checks passed
@nedtwigg
nedtwigg deleted the audit-windows-screencast branch October 21, 2026 17:08

This branch was successfully deployed

No deployments
hosted-preview — e5169f9b Deployed Oct 21, 2026 by nedtwigg via deploy #1778
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants