feat(ui): Put "Allow for all future sessions" behind a setting off by default. (#15322)

This commit is contained in:
Jacob Richman
2025-12-19 09:25:23 -08:00
committed by Abhi
parent 999516ddf7
commit f883f74ad5
8 changed files with 216 additions and 39 deletions
+10
View File
@@ -1164,6 +1164,16 @@ const SETTINGS_SCHEMA = {
description: 'Disable YOLO mode, even if enabled by a flag.',
showInDialog: true,
},
enablePermanentToolApproval: {
type: 'boolean',
label: 'Allow Permanent Tool Approval',
category: 'Security',
requiresRestart: false,
default: false,
description:
'Enable the "Allow for all future sessions" option in tool confirmation dialogs.',
showInDialog: true,
},
blockGitExtensions: {
type: 'boolean',
label: 'Blocks extensions from Git',