Root cause: camoufox-browser@0.1.0 bundles camoufox-js@0.9.3 which downloads a BROKEN alpha binary (v150.0.2-alpha.26, missing libmozglue.dylib) on macOS. The newer camoufox-js@0.11.0 (Jun 4 2026) downloads STABLE builds. Changes: 1. PINNED VERSIONS (constants at top of file): - CAMOUFOX_JS_VERSION = "0.11.0" — for fetching browser binary - CAMOUFOX_BROWSER_VERSION = "0.1.0" — for daemon IPC protocol 2. run_fetch() — uses 'npx --yes camoufox-js@0.11.0 fetch' instead of 'camoufox-browser@latest install' (which called old camoufox-js) 3. Both packages share ~/Library/Caches/camoufox/ — fetch writes correct binary + version.json, daemon reads same cache 4. Removed Docker HTTP transport — no longer needed, daemon works on macOS 5. Removed reqwest dep from gyandoot-agent + gyandoot-browser 6. install.sh updated: uses camoufox-js@0.11.0 fetch + pinned npm package 7. install.sh verifies version.json exists, not just binary Clean build: 0 errors, 0 warnings No Docker dependency. No @latest. Pinned and stable.
12 KiB
Executable File
12 KiB
Executable File