Fixed
- Windows compatibility: Removed hardcoded macOS-specific Claude executable path that prevented worker service from running on Windows
Changes
- Removed hardcoded path:
/Users/alexnewman/.nvm/versions/node/v24.5.0/bin/claude - Removed
pathToClaudeCodeExecutableparameter from SDK query() calls - SDK now automatically detects Claude Code executable path on all platforms
- Improved cross-platform compatibility (Windows, macOS, Linux)
Technical Details
- Updated
src/sdk/worker.tsto remove hardcoded Claude path andpathToClaudeCodeExecutableparameter - Updated
src/services/worker-service.tsto remove hardcoded Claude path and parameter - Built
plugin/scripts/worker-service.cjsreflects changes - Affects all SDK agent initialization in worker service
Impact
- Before: Worker service failed on Windows due to hardcoded macOS path
- After: Worker service works correctly on all platforms
Files Changed
src/sdk/worker.tssrc/services/worker-service.tsplugin/scripts/worker-service.cjs(rebuilt)