From 0c4374199a44b8147b04f4a3819c409ce6249fe2 Mon Sep 17 00:00:00 2001 From: Ashwin Bhat Date: Sat, 6 Dec 2025 16:20:33 -0800 Subject: [PATCH] Add settingSources to SDK options to load plugins MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Without settingSources, the SDK doesn't load any filesystem settings, which means plugins installed via CLI aren't available. Adding settingSources: ['user', 'project', 'local'] ensures CLI-installed plugins and CLAUDE.md files are loaded. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- base-action/src/parse-sdk-options.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/base-action/src/parse-sdk-options.ts b/base-action/src/parse-sdk-options.ts index f101383..c7d2550 100644 --- a/base-action/src/parse-sdk-options.ts +++ b/base-action/src/parse-sdk-options.ts @@ -130,6 +130,9 @@ export function parseSdkOptions(options: ClaudeOptions): ParsedSdkOptions { // Note: allowedTools and disallowedTools have been removed from extraArgs to prevent duplicates extraArgs, env, + + // Load settings from all sources to pick up CLI-installed plugins, CLAUDE.md, etc. + settingSources: ["user", "project", "local"], }; return {