Thanks for helping improve gstack-windows.
This fork is focused on one practical goal: make gstack work well in real Windows + Codex environments, especially for authenticated browser automation.
- Windows install/setup fixes
- Codex-specific skill path fixes (
.codex/skills/gstack) - Chrome / Edge login-session improvements
- Better Windows browser-cookie diagnostics and fallbacks
- Better docs, examples, and repo polish
- New tests for Windows-specific behavior
git clone https://github.com/xiaoliangliang/gstack-windows.git
cd gstack-windows
bun installOn Windows, build the runtime shims with:
powershell -ExecutionPolicy Bypass -File .\setup.ps1For Codex-focused development, use the repo-local dev symlink flow:
bin/dev-setupThat creates:
.codex/skills/gstack -> <repo root>
So Codex reads skills straight from your working tree.
When you are done:
bin/dev-teardownThe preferred global install path for this fork is:
~/.codex/skills/gstack
.claude/skills/gstack is still supported as a compatibility fallback, but new docs and fixes should prefer .codex.
Do not edit generated SKILL.md files directly. Edit the .tmpl files, then regenerate:
bun run gen:skill-docs
bun run skill:checkIf you touch browse/src/*.ts, rebuild and rerun the relevant tests:
bun test browse/test/find-browse.test.ts browse/test/config.test.tsIf you need the runtime shims rebuilt on Windows:
powershell -ExecutionPolicy Bypass -File .\setup.ps1The main Windows flow to test is:
browse login-session headed https://target-site.comThen:
- Sign in manually in the opened Chrome window
- Switch to persistent headless reuse:
browse login-session headless- Verify ordinary
browsecommands still carry the login state
This matters more than default-profile cookie extraction, because Windows app-bound cookie encryption can block direct import from real Chrome / Edge profiles.
bun run gen:skill-docs
bun run skill:check
bun test browse/test/find-browse.test.ts browse/test/config.test.tsbun testIf Chromium is missing:
bun x playwright install chromiumThis fork uses the top-level VERSION file for update checks. Keep these aligned when making releases:
VERSIONpackage.jsonCHANGELOG.md
Good PRs for this repo usually include:
- a short explanation of the Windows/Codex problem
- the chosen fix
- how you tested it
- any limitation that still remains
If the change affects authenticated browsing, call that out explicitly.
If you want ideas, these areas are especially valuable:
setup.ps1browse/src/cookie-import-browser.tsbrowse/src/browser-manager.tsbrowse/src/find-browse.tsbrowse/bin/find-browsescripts/gen-skill-docs.tssetup-browser-cookies/
Please run:
bun run gen:skill-docs
bun run skill:checkAnd if relevant:
bun test browse/test/find-browse.test.ts browse/test/config.test.tsThis fork is not trying to bypass anti-bot systems or break site protections.
The goal is:
- use legitimate user-created browser sessions
- preserve them reliably for Codex automation
- explain clearly when Windows makes some cookie-import paths impossible