fix(agents): pass Claude system prompt via file

This commit is contained in:
skylee-01
2026-04-20 13:34:23 +08:00
committed by Ayaan Zaidi
parent ed650b652f
commit f7b71abf48
13 changed files with 107 additions and 40 deletions

View File

@@ -62,7 +62,7 @@ export function buildAnthropicCliBackend(): CliBackendPlugin {
sessionArg: "--session-id",
sessionMode: "always",
sessionIdFields: [...CLAUDE_CLI_SESSION_ID_FIELDS],
systemPromptArg: "--append-system-prompt",
systemPromptFileArg: "--append-system-prompt-file",
systemPromptMode: "append",
systemPromptWhen: "first",
clearEnv: [...CLAUDE_CLI_CLEAR_ENV],