6 Commits

Author SHA1 Message Date
74be39e0d5 fix(install): install camoufox-js@0.11.0 inside daemon package, not globally
Root cause: camoufox-browser@0.1.0 bundles camoufox-js@0.9.3.
When the daemon does 'import("camoufox-js")', Node.js resolves
the BUNDLED version (0.9.3) FIRST — not the global one.
Version 0.9.3 doesn't recognize the version.json format from
0.11.0, so it re-downloads the 298MB browser binary on EVERY
navigation command, causing timeout -> 'Empty response'.

Fix: instead of 'npm install -g camoufox-js@0.11.0' (which
Node ignores because bundled takes priority), use:
  npm install --prefix "$(npm root -g)/camoufox-browser" camoufox-js@0.11.0
This installs v0.11.0 INSIDE the daemon's own node_modules,
overriding the bundled 0.9.3.
2026-06-13 19:25:46 +05:30
05ec7d20b7 fix(install): redirect git clone and cargo build output to stderr
Even with info/ok/warn fixed to stderr, raw command output
from git clone and cargo build was still leaking to stdout
through 2>&1 | tail -5.

Fix: added >&2 after tail -5 so ALL intermediate command output
goes to stderr, leaving only the final echo  on stdout.
2026-06-13 19:05:32 +05:30
aec4209778 fix(install): info/ok/warn write to stderr 2026-06-13 18:58:06 +05:30
179e87dca5 fix(install): sync with release — three-tier binary resolution
Same fix as gyandoot-release: ensure_gyandoot_binary() detects
whether we're in source repo, binary repo, or need to clone.
install_binary() now takes a path parameter.
2026-06-13 18:47:12 +05:30
ff290a2915 fix(banner): corrected ASCII art — now spells GYANDOOT properly
The old banner was a handwritten ASCII art that didn't actually
spell 'GYANDOOT'. Replaced with proper figlet 'standard' font
output so the banner is readable and correct.
2026-06-13 18:42:10 +05:30
667336bcb9 release(v2.0.0): cross-platform release — Linux/macOS/Windows/WSL
Creates full release package with:
- release/install.sh (universal cross-platform installer)
- release/windows/install.bat (Git Bash/MSYS2)
- release/windows/install.ps1 (PowerShell)
- release/homebrew/gyandoot.rb (Homebrew formula)
- release/archives/ prebuilt binary archives
- release/README.md (platform-specific install guide)
- install.sh updated with same cross-platform logic
- README.md updated
2026-06-13 18:35:14 +05:30