- Default AI Model Changed: The default AI model has been switched from
gpt-4otogemini-3-flash-previewto make the CLI more accessible out of the box (Google provides a free tier for Gemini API keys). If you previously relied on the defaultgpt-4oand only had anOPENAI_API_KEYset, you may need to pass--ai-model gpt-4oexplicitly.
- Improved
handleCookieConsent()precision to avoid accidentally hiding non-banner layout elements. - Fixed an issue where the Adblocker plugin would register multiples times during
BrowserEngineinitialization.
- Robust handling for Next.js image optimizer:
- Skip direct downloads of
/_next/imageto avoid HTTP 402. - Parse and download the original image from the
url=parameter. - Alias
/_next/imageURLs to the same local file as the original.
- Skip direct downloads of
- Runtime asset rewriter:
- Rewrites
src,href,poster,stylebackground-image, - Rewrites
srcsetandimagesrcset(critical for responsive images), - Observes DOM mutations to rewrite dynamic nodes (e.g., hover/popover content).
- Optional debug logging with
[MW rewrite]lines.
- Rewrites
- Microlink support:
- Captures Microlink images and follows JSON to the actual screenshot/image URL.
- Downloader resolves Microlink indirection and saves the final bytes offline.
- Hover simulation and computed asset capture:
- Triggers common hover/popover patterns so previews render during mirroring.
- Surfaces computed background and pseudo-element images into the DOM for capture.
- Blank hover/popover previews offline when
srcsetpointed to/_next/image. - 402 errors during image downloads caused by Next.js optimizer endpoints.
- The rewriter is automatically injected for Next.js/React pages.
- Use
--debugto view[MW rewrite]logs and verify asset rewriting at runtime.