Update CloakBrowser to 0.6.3 and Playwright Core to 1.64.1 (free binary)
Summary
Bump the CloakBrowser wrapper from ^0.5.5 to ^0.6.3 and Playwright Core from 1.62.1 to 1.64.1.
The skill uses the free CloakBrowser binary (Chromium 146 on Linux and Windows, 145 on macOS; no license key). That binary does not change: every binary release since 0.5.5 is Pro-only. What changes is the npm wrapper, and its fixes also apply to the free binary.
Note: with a 0.x version the caret range ^0.5.5 does not include 0.6.x, so new installs currently get 0.5.12.
Relevant changes for the free binary
- Binary and GeoIP download messages go to stderr instead of stdout (they could pollute the JSON that
smart-extract.mjsparses fromcloak-fetch.mjson first run). - Safe concurrent first downloads of the binary (previously could leave an incomplete cache).
launchPersistentContextkeeps one fingerprint seed per profile (--session/--persistentkeep a stable identity across launches), and the first page of the profile is humanized.- Humanize fixes: no invisible CAPTCHA triggered by clicks, correct target resolution,
selectOptionhang fixed, Playwright 1.64 compatibility. --geoipno longer fails the launch when the exit IP's country has no locale mapped.
Breaking changes checked
- Node.js 20.19+ or 22.12+ is now required (README badge and notes updated).
- Strict mode and explicit errors instead of fallbacks in humanized actions only affect custom scripts run with
cloak-script.mjs;cloak-fetch.mjsis not affected. - The README known issue about Windows with a Pro license (CloakHQ/cloakbrowser#479) was closed upstream and is removed. A note explains that a free key exists but is neither used nor required by the skill.
Verification
cloak-fetch.mjs (default, --format markdown, --scroll, --geoip, --session twice with the seed file saved), cloak-script.mjs with the screenshot script, smart-extract.mjs --fallback on two URLs and check.sh all pass. The binary stays on Chromium 146.0.7680.177.4.
Released in v3.2.0.