Merge pull request #1884 from ssimeonov/fix/sdk-binary-resolution
fix(container): v2 -- point SDK to pnpm-installed Claude Code binary
This commit is contained in:
@@ -271,6 +271,7 @@ export class ClaudeProvider implements AgentProvider {
|
|||||||
cwd: input.cwd,
|
cwd: input.cwd,
|
||||||
additionalDirectories: this.additionalDirectories,
|
additionalDirectories: this.additionalDirectories,
|
||||||
resume: input.continuation,
|
resume: input.continuation,
|
||||||
|
pathToClaudeCodeExecutable: '/pnpm/claude',
|
||||||
systemPrompt: instructions ? { type: 'preset' as const, preset: 'claude_code' as const, append: instructions } : undefined,
|
systemPrompt: instructions ? { type: 'preset' as const, preset: 'claude_code' as const, append: instructions } : undefined,
|
||||||
allowedTools: TOOL_ALLOWLIST,
|
allowedTools: TOOL_ALLOWLIST,
|
||||||
disallowedTools: SDK_DISALLOWED_TOOLS,
|
disallowedTools: SDK_DISALLOWED_TOOLS,
|
||||||
|
|||||||
Reference in New Issue
Block a user