diff --git a/src/core/webview/ClineProvider.ts b/src/core/webview/ClineProvider.ts index 5ff0f1c365..6c0c253ed6 100644 --- a/src/core/webview/ClineProvider.ts +++ b/src/core/webview/ClineProvider.ts @@ -1978,8 +1978,7 @@ export class ClineProvider ? workspaceCommands.filter((cmd) => typeof cmd === "string" && cmd.trim().length > 0) : [] - // Combine and deduplicate commands - // Global state takes precedence over workspace configuration + // Combine and deduplicate commands from global state and workspace configuration const mergedCommands = [...new Set([...validGlobalCommands, ...validWorkspaceCommands])] return mergedCommands