fix: use auto_edit instead of yolo for defaultApprovalMode

yolo mode requires patching settingsSchema.js (Target 9a2) which is
not included in the npm package. auto_edit is the most permissive
built-in mode that works without JS patching.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
delta-cloud-208e
2026-03-08 07:31:44 +00:00
parent 8717236f29
commit 9de65c2151
3 changed files with 5 additions and 5 deletions

View File

@@ -173,7 +173,7 @@ assert d.get('security',{}).get('auth',{}).get('selectedType') == 'gemini-api-ke
"folderTrust": { "enabled": false }
},
"telemetry": { "enabled": false, "logPrompts": false },
"general": { "defaultApprovalMode": "yolo" }
"general": { "defaultApprovalMode": "auto_edit" }
}
SETTINGS_EOF
# Trust common folders