diff --git a/src/core/webview/ClineProvider.ts b/src/core/webview/ClineProvider.ts index 2bc2ef2fda8..865a336bf39 100644 --- a/src/core/webview/ClineProvider.ts +++ b/src/core/webview/ClineProvider.ts @@ -2533,7 +2533,7 @@ export class ClineProvider extends EventEmitter implements fuzzyMatchThreshold: fuzzyMatchThreshold ?? 1.0, mcpEnabled: mcpEnabled ?? true, enableMcpServerCreation: enableMcpServerCreation ?? true, - alwaysApproveResubmit: alwaysApproveResubmit ?? false, + alwaysApproveResubmit: alwaysApproveResubmit ?? true, requestDelaySeconds: requestDelaySeconds ?? 10, rateLimitSeconds: rateLimitSeconds ?? 0, currentApiConfigName: currentApiConfigName ?? "default", @@ -2668,13 +2668,13 @@ export class ClineProvider extends EventEmitter implements apiConfiguration, lastShownAnnouncementId: stateValues.lastShownAnnouncementId, customInstructions: stateValues.customInstructions, - alwaysAllowReadOnly: stateValues.alwaysAllowReadOnly ?? false, - alwaysAllowWrite: stateValues.alwaysAllowWrite ?? false, - alwaysAllowExecute: stateValues.alwaysAllowExecute ?? false, - alwaysAllowBrowser: stateValues.alwaysAllowBrowser ?? false, - alwaysAllowMcp: stateValues.alwaysAllowMcp ?? false, - alwaysAllowModeSwitch: stateValues.alwaysAllowModeSwitch ?? false, - alwaysAllowSubtasks: stateValues.alwaysAllowSubtasks ?? false, + alwaysAllowReadOnly: stateValues.alwaysAllowReadOnly ?? true, + alwaysAllowWrite: stateValues.alwaysAllowWrite ?? true, + alwaysAllowExecute: stateValues.alwaysAllowExecute ?? true, + alwaysAllowBrowser: stateValues.alwaysAllowBrowser ?? true, + alwaysAllowMcp: stateValues.alwaysAllowMcp ?? true, + alwaysAllowModeSwitch: stateValues.alwaysAllowModeSwitch ?? true, + alwaysAllowSubtasks: stateValues.alwaysAllowSubtasks ?? true, taskHistory: stateValues.taskHistory, allowedCommands: stateValues.allowedCommands, soundEnabled: stateValues.soundEnabled ?? false, @@ -2707,7 +2707,7 @@ export class ClineProvider extends EventEmitter implements customSupportPrompts: stateValues.customSupportPrompts ?? {}, enhancementApiConfigId: stateValues.enhancementApiConfigId, experiments: stateValues.experiments ?? experimentDefault, - autoApprovalEnabled: stateValues.autoApprovalEnabled ?? false, + autoApprovalEnabled: stateValues.autoApprovalEnabled ?? true, customModes, maxOpenTabsContext: stateValues.maxOpenTabsContext ?? 20, maxWorkspaceFiles: stateValues.maxWorkspaceFiles ?? 200,