• Release v4.2.11: Cross-platform Claude path detection

    airkjw released this 2025-10-25 18:56:30 +00:00 | 1618 commits to main since this release

    Critical Bugfix:

    • Fixed SDK auto-detection failure by implementing explicit which/where commands
    • Unix/macOS: Uses 'which claude' command
    • Windows: Uses 'where claude' command (CMD and PowerShell compatible)
    • Fallback to CLAUDE_CODE_PATH environment variable
    • Handles Windows multiple results (takes first match)

    Impact:

    • Before: Worker failed with "path must be string, received undefined"
    • After: Worker correctly finds Claude executable on all platforms

    Technical changes:

    • Added findClaudePath() helper using child_process.execSync
    • Platform detection via process.platform === 'win32'
    • Updated src/sdk/worker.ts with explicit path detection
    • Updated src/services/worker-service.ts with explicit path detection
    • Bumped version to 4.2.11 in all metadata files
    • Updated CLAUDE.md with v4.2.11 release notes

    🤖 Generated with Claude Code

    Co-Authored-By: Claude noreply@anthropic.com

    Downloads