#1111 · Import Universal v1.0.0
gstack ships as a Claude Code workflow toolkit, currently macOS-only. This PR is the lift to universal support: Windows, macOS, and Linux, addressing three real blockers identified in CROSS_PLATFORM_ANALYSIS.md: (a) Mach-O-only binaries, (b) 100+ hardcoded ~/.gstack paths, (c) a Bash-only setup script.
The fix lands a new lib/paths.ts + lib/binary-locator.ts as the cross-platform shim, a setup.bat alongside the existing setup, and refactors make-pdf/src/pdftotext.ts to discover its dependency on PATH/Program Files/Snap rather than assuming Homebrew.
Takeaway
Solid, well-scoped lift. The two pieces that matter — lib/paths.ts as the cross-platform path resolver and lib/binary-locator.ts as the cross-platform binary discoverer — are shims in the good sense: they encapsulate platform divergence behind named functions so the rest of the codebase doesn't have to think about it.
One real blocker: resolvePdftotext went sync → async, which is a breaking change every caller has to absorb. The PR catches the local callers but it's worth grepping templates that ship to user-installed locations before merging.