feat: Add functionality to locate Claude Code executable
- Implemented `findClaudePath` function to determine the path of the Claude executable using environment variables or system commands (`which` for Unix/Mac and `where` for Windows). - Integrated the `findClaudePath` function into the SDK worker and worker service to ensure the correct executable path is used when running the SDK agent. - Enhanced error handling and logging for better debugging and user feedback regarding the executable path.
This commit is contained in:
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user