@@ -2057,11 +2057,11 @@ export class ClineProvider implements vscode.WebviewViewProvider {
2057
2057
version : this . context . extension ?. packageJSON ?. version ?? "" ,
2058
2058
apiConfiguration,
2059
2059
customInstructions,
2060
- alwaysAllowReadOnly : alwaysAllowReadOnly ?? false ,
2061
- alwaysAllowWrite : alwaysAllowWrite ?? false ,
2062
- alwaysAllowExecute : alwaysAllowExecute ?? false ,
2063
- alwaysAllowBrowser : alwaysAllowBrowser ?? false ,
2064
- alwaysAllowMcp : alwaysAllowMcp ?? false ,
2060
+ alwaysAllowReadOnly : alwaysAllowReadOnly ?? true ,
2061
+ alwaysAllowWrite : alwaysAllowWrite ?? true ,
2062
+ alwaysAllowExecute : alwaysAllowExecute ?? true ,
2063
+ alwaysAllowBrowser : alwaysAllowBrowser ?? true ,
2064
+ alwaysAllowMcp : alwaysAllowMcp ?? true ,
2065
2065
alwaysAllowModeSwitch : alwaysAllowModeSwitch ?? false ,
2066
2066
uriScheme : vscode . env . uriScheme ,
2067
2067
currentTaskItem : this . cline ?. taskId
@@ -2085,7 +2085,7 @@ export class ClineProvider implements vscode.WebviewViewProvider {
2085
2085
fuzzyMatchThreshold : fuzzyMatchThreshold ?? 1.0 ,
2086
2086
mcpEnabled : mcpEnabled ?? true ,
2087
2087
enableMcpServerCreation : enableMcpServerCreation ?? true ,
2088
- alwaysApproveResubmit : alwaysApproveResubmit ?? false ,
2088
+ alwaysApproveResubmit : alwaysApproveResubmit ?? true ,
2089
2089
requestDelaySeconds : requestDelaySeconds ?? 10 ,
2090
2090
rateLimitSeconds : rateLimitSeconds ?? 0 ,
2091
2091
currentApiConfigName : currentApiConfigName ?? "default" ,
@@ -2094,7 +2094,7 @@ export class ClineProvider implements vscode.WebviewViewProvider {
2094
2094
customModePrompts : customModePrompts ?? { } ,
2095
2095
customSupportPrompts : customSupportPrompts ?? { } ,
2096
2096
enhancementApiConfigId,
2097
- autoApprovalEnabled : autoApprovalEnabled ?? false ,
2097
+ autoApprovalEnabled : autoApprovalEnabled ?? true ,
2098
2098
customModes : await this . customModesManager . getCustomModes ( ) ,
2099
2099
experiments : experiments ?? experimentDefault ,
2100
2100
mcpServers : this . mcpHub ?. getAllServers ( ) ?? [ ] ,
@@ -2405,12 +2405,12 @@ export class ClineProvider implements vscode.WebviewViewProvider {
2405
2405
} ,
2406
2406
lastShownAnnouncementId,
2407
2407
customInstructions,
2408
- alwaysAllowReadOnly : alwaysAllowReadOnly ?? false ,
2409
- alwaysAllowWrite : alwaysAllowWrite ?? false ,
2410
- alwaysAllowExecute : alwaysAllowExecute ?? false ,
2411
- alwaysAllowBrowser : alwaysAllowBrowser ?? false ,
2412
- alwaysAllowMcp : alwaysAllowMcp ?? false ,
2413
- alwaysAllowModeSwitch : alwaysAllowModeSwitch ?? false ,
2408
+ alwaysAllowReadOnly : alwaysAllowReadOnly ?? true ,
2409
+ alwaysAllowWrite : alwaysAllowWrite ?? true ,
2410
+ alwaysAllowExecute : alwaysAllowExecute ?? true ,
2411
+ alwaysAllowBrowser : alwaysAllowBrowser ?? true ,
2412
+ alwaysAllowMcp : alwaysAllowMcp ?? true ,
2413
+ alwaysAllowModeSwitch : alwaysAllowModeSwitch ?? true ,
2414
2414
taskHistory,
2415
2415
allowedCommands,
2416
2416
soundEnabled : soundEnabled ?? false ,
@@ -2456,7 +2456,7 @@ export class ClineProvider implements vscode.WebviewViewProvider {
2456
2456
} ) ( ) ,
2457
2457
mcpEnabled : mcpEnabled ?? true ,
2458
2458
enableMcpServerCreation : enableMcpServerCreation ?? true ,
2459
- alwaysApproveResubmit : alwaysApproveResubmit ?? false ,
2459
+ alwaysApproveResubmit : alwaysApproveResubmit ?? true ,
2460
2460
requestDelaySeconds : Math . max ( 5 , requestDelaySeconds ?? 10 ) ,
2461
2461
rateLimitSeconds : rateLimitSeconds ?? 0 ,
2462
2462
currentApiConfigName : currentApiConfigName ?? "default" ,
@@ -2466,7 +2466,7 @@ export class ClineProvider implements vscode.WebviewViewProvider {
2466
2466
customSupportPrompts : customSupportPrompts ?? { } ,
2467
2467
enhancementApiConfigId,
2468
2468
experiments : experiments ?? experimentDefault ,
2469
- autoApprovalEnabled : autoApprovalEnabled ?? false ,
2469
+ autoApprovalEnabled : autoApprovalEnabled ?? true ,
2470
2470
customModes,
2471
2471
maxOpenTabsContext : maxOpenTabsContext ?? 20 ,
2472
2472
}
0 commit comments