From 79b343c094af25e9abc90ff1a43ec876b22294d8 Mon Sep 17 00:00:00 2001 From: Ashwin Bhat Date: Fri, 12 Dec 2025 13:55:16 -0800 Subject: [PATCH] feat: Make Agent SDK the default execution path (#738) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change USE_AGENT_SDK to default to true instead of false. The Agent SDK path is now used by default; set USE_AGENT_SDK=false to use the CLI path. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude --- base-action/src/run-claude.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/base-action/src/run-claude.ts b/base-action/src/run-claude.ts index b2fc99f..90e84f1 100644 --- a/base-action/src/run-claude.ts +++ b/base-action/src/run-claude.ts @@ -167,8 +167,8 @@ export async function parseAndSetStructuredOutputs( } export async function runClaude(promptPath: string, options: ClaudeOptions) { - // Feature flag: use SDK path when USE_AGENT_SDK=true - const useAgentSdk = process.env.USE_AGENT_SDK === "true"; + // Feature flag: use SDK path by default, set USE_AGENT_SDK=false to use CLI + const useAgentSdk = process.env.USE_AGENT_SDK !== "false"; console.log( `Using ${useAgentSdk ? "Agent SDK" : "CLI"} path (USE_AGENT_SDK=${process.env.USE_AGENT_SDK ?? "unset"})`, );