The installer only replaced ~/.claude/ (tilde form) when rewriting paths for OpenCode, Gemini, and Codex installs. Source files also use $HOME/.claude/ in bash code blocks (since ~ doesn't expand inside double-quoted strings), leaving ~175 unreplaced references that break gsd-tools.cjs invocations on non-Claude runtimes. Adds $HOME/.claude/ replacement to all 6 path-rewriting code paths, a toHomePrefix() utility to keep $HOME as a portable shell variable, and a post-install scan that warns if any .claude references leak through. Closes #905 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
86 KiB
Executable File
86 KiB
Executable File