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:
Alex Newman
2025-10-25 14:53:59 -04:00
parent 81f8aa7eef
commit a3b0b70a98
4 changed files with 94 additions and 287 deletions
File diff suppressed because one or more lines are too long