mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-18 07:50:13 +00:00
* fix(cli): commands that open a composition honor PRODUCER_RESTRICT_PAGE_NETWORK check, snapshot, compare, grade-compare, layout, validate and the motion shot launched Chrome with no page-network restriction, so a composition page could reach loopback, the LAN and link-local addresses even when the caller set PRODUCER_RESTRICT_PAGE_NETWORK=true, as a render honors it. Every composition browser now launches through launchWithPageNetwork. When the flag is on, it starts the engine's public-only capture proxy and profile, the same ones a render uses. The page server is the only direct host, and the proxy and profile live as long as the browser. The prelaunch path, which starts Chrome before the page server exists, is skipped when the network is restricted. A restricted launch without a page URL throws instead of running unrestricted. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(cli): keep the page-network change inside the package's comment share Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>