mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-10 14:10:37 -07:00
fix(plan): update persistent approval mode setting (#18638)
Co-authored-by: Sandy Tao <sandytao520@icloud.com>
This commit is contained in:
@@ -42,6 +42,14 @@
|
||||
"default": false,
|
||||
"type": "boolean"
|
||||
},
|
||||
"defaultApprovalMode": {
|
||||
"title": "Default Approval Mode",
|
||||
"description": "The default approval mode for tool execution. 'default' prompts for approval, 'auto_edit' auto-approves edit tools, and 'plan' is read-only mode. 'yolo' is not supported yet.",
|
||||
"markdownDescription": "The default approval mode for tool execution. 'default' prompts for approval, 'auto_edit' auto-approves edit tools, and 'plan' is read-only mode. 'yolo' is not supported yet.\n\n- Category: `General`\n- Requires restart: `no`\n- Default: `default`",
|
||||
"default": "default",
|
||||
"type": "string",
|
||||
"enum": ["default", "auto_edit", "plan"]
|
||||
},
|
||||
"devtools": {
|
||||
"title": "DevTools",
|
||||
"description": "Enable DevTools inspector on launch.",
|
||||
@@ -1141,14 +1149,6 @@
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"approvalMode": {
|
||||
"title": "Approval Mode",
|
||||
"description": "The default approval mode for tool execution. 'default' prompts for approval, 'auto_edit' auto-approves edit tools, and 'plan' is read-only mode. 'yolo' is not supported yet.",
|
||||
"markdownDescription": "The default approval mode for tool execution. 'default' prompts for approval, 'auto_edit' auto-approves edit tools, and 'plan' is read-only mode. 'yolo' is not supported yet.\n\n- Category: `Tools`\n- Requires restart: `no`\n- Default: `default`",
|
||||
"default": "default",
|
||||
"type": "string",
|
||||
"enum": ["default", "auto_edit", "plan"]
|
||||
},
|
||||
"core": {
|
||||
"title": "Core Tools",
|
||||
"description": "Restrict the set of built-in tools with an allowlist. Match semantics mirror tools.allowed; see the built-in tools documentation for available names.",
|
||||
|
||||
Reference in New Issue
Block a user