mirror of https://github.com/garrytan/gstack.git
The headed path (launchPersistentContext) already passes executablePath from GSTACK_CHROMIUM_PATH, but the headless chromium.launch() ignored it, so a custom Chromium was used in headed mode only. setup's ensure_playwright_browser self-test had the same gap — it always launched Playwright's bundled Chromium. On NixOS the bundled chrome-headless-shell can't run (it expects /lib64/ld-linux-x86-64.so.2, absent on a Nix filesystem), so ./setup bails before registering sub-skills and headless browsing fails even when GSTACK_CHROMIUM_PATH points at a working system Chromium. Pass executablePath on the headless launch, and teach ensure_playwright_browser to use the same binary. No-op when the env var is unset — zero impact on normal installs. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| bin | ||
| scripts | ||
| src | ||
| test | ||
| PLAN-snapshot-dropdown-interactive.md | ||
| SKILL.md | ||
| SKILL.md.tmpl | ||