| ... | @@ -2873,6 +2873,7 @@ export const makeClaudeAdapter = Effect.fn("makeClaudeAdapter")(function* ( | ... | @@ -2873,6 +2873,7 @@ export const makeClaudeAdapter = Effect.fn("makeClaudeAdapter")(function* ( |
| 2873 | ...(input.cwd ? { cwd: input.cwd } : {}), | 2873 | ...(input.cwd ? { cwd: input.cwd } : {}), |
| 2874 | ...(apiModelId ? { model: apiModelId } : {}), | 2874 | ...(apiModelId ? { model: apiModelId } : {}), |
| 2875 | pathToClaudeCodeExecutable: claudeBinaryPath, | 2875 | pathToClaudeCodeExecutable: claudeBinaryPath, |
| | 2876 | systemPrompt: { type: "preset", preset: "claude_code" }, |
| 2876 | settingSources: [...CLAUDE_SETTING_SOURCES], | 2877 | settingSources: [...CLAUDE_SETTING_SOURCES], |
| 2877 | // The SDK type lags the CLI here: Opus 4.7 accepts `xhigh` even though | 2878 | // The SDK type lags the CLI here: Opus 4.7 accepts `xhigh` even though |
| 2878 | // the published `Options["effort"]` union currently stops at `max`. | 2879 | // the published `Options["effort"]` union currently stops at `max`. |