## Problem On Windows (with Git Bash), the `${CLAUDE_PLUGIN_ROOT}` environment variable is not resolved, causing the ralph-loop plugin to fail: ``` /usr/bin/bash: line 31: /scripts/setup-ralph-loop.sh: No such file or directory ``` ## Environment - OS: Windows 10/11 - Shell: Git Bash (via Claude Code) - Plugin: ralph-loop ## Root Cause The `${CLAUDE_PLUGIN_ROOT}` variable is not set/exported by Claude Code on Windows. ## Proposed Solution Replace external script call with inline bash script that doesn't depend on `${CLAUDE_PLUGIN_ROOT}`. Benefits: 1. Cross-platform (Windows, macOS, Linux) 2. No external dependencies 3. Self-contained 4. Also fixes #167 ($ARGUMENTS works in inline scripts) ## Related Issues - #112 - Add Windows support - #167 - Variable substitution in code blocks - #135 - Problems on WSL ## Willing to Submit PR I can submit a PR with the complete inline script fix.
Problem
On Windows (with Git Bash), the
${CLAUDE_PLUGIN_ROOT}environment variable is not resolved, causing the ralph-loop plugin to fail:Environment
Root Cause
The
${CLAUDE_PLUGIN_ROOT}variable is not set/exported by Claude Code on Windows.Proposed Solution
Replace external script call with inline bash script that doesn't depend on
${CLAUDE_PLUGIN_ROOT}.Benefits:
Related Issues
Willing to Submit PR
I can submit a PR with the complete inline script fix.