Both sidecar runners (agent-runner.ts and agent-runner-deno.ts) now include findClaudeCli() which checks common paths (~/.local/bin/claude, ~/.claude/local/claude, /usr/local/bin/claude, /usr/bin/claude) and falls back to `which claude`. The resolved path is passed to the SDK query() options as pathToClaudeCodeExecutable. If the CLI is not found, an agent_error is emitted immediately instead of a cryptic SDK failure. |
||
|---|---|---|
| .. | ||
| agent-runner-deno.ts | ||
| agent-runner.ts | ||
| package-lock.json | ||
| package.json | ||