feat(plan): add experimental 'plan' approval mode (#16753)

This commit is contained in:
Jerop Kipruto
2026-01-15 17:00:19 -05:00
committed by GitHub
parent 1e8f87fbdf
commit 655ab21d8b
4 changed files with 82 additions and 4 deletions
+4
View File
@@ -1346,6 +1346,10 @@ for that specific session.
- `auto_edit`: Automatically approve edit tools (replace, write_file) while
prompting for others
- `yolo`: Automatically approve all tool calls (equivalent to `--yolo`)
- `plan`: Read-only mode for tool calls (requires experimental planning to
be enabled).
> **Note:** This mode is currently under development and not yet fully
> functional.
- Cannot be used together with `--yolo`. Use `--approval-mode=yolo` instead of
`--yolo` for the new unified approach.
- Example: `gemini --approval-mode auto_edit`