mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-13 05:12:55 -07:00
docs: clarify policy requirement for general.plan.directory in settings schema (#23784)
This commit is contained in:
@@ -30,7 +30,7 @@ they appear in the UI.
|
|||||||
| Default Approval Mode | `general.defaultApprovalMode` | The default approval mode for tool execution. 'default' prompts for approval, 'auto_edit' auto-approves edit tools, and 'plan' is read-only mode. YOLO mode (auto-approve all actions) can only be enabled via command line (--yolo or --approval-mode=yolo). | `"default"` |
|
| Default Approval Mode | `general.defaultApprovalMode` | The default approval mode for tool execution. 'default' prompts for approval, 'auto_edit' auto-approves edit tools, and 'plan' is read-only mode. YOLO mode (auto-approve all actions) can only be enabled via command line (--yolo or --approval-mode=yolo). | `"default"` |
|
||||||
| Enable Auto Update | `general.enableAutoUpdate` | Enable automatic updates. | `true` |
|
| Enable Auto Update | `general.enableAutoUpdate` | Enable automatic updates. | `true` |
|
||||||
| Enable Notifications | `general.enableNotifications` | Enable run-event notifications for action-required prompts and session completion. Currently macOS only. | `false` |
|
| Enable Notifications | `general.enableNotifications` | Enable run-event notifications for action-required prompts and session completion. Currently macOS only. | `false` |
|
||||||
| Plan Directory | `general.plan.directory` | The directory where planning artifacts are stored. If not specified, defaults to the system temporary directory. | `undefined` |
|
| Plan Directory | `general.plan.directory` | The directory where planning artifacts are stored. If not specified, defaults to the system temporary directory. A custom directory requires a policy to allow write access in Plan Mode. | `undefined` |
|
||||||
| Plan Model Routing | `general.plan.modelRouting` | Automatically switch between Pro and Flash models based on Plan Mode status. Uses Pro for the planning phase and Flash for the implementation phase. | `true` |
|
| Plan Model Routing | `general.plan.modelRouting` | Automatically switch between Pro and Flash models based on Plan Mode status. Uses Pro for the planning phase and Flash for the implementation phase. | `true` |
|
||||||
| Retry Fetch Errors | `general.retryFetchErrors` | Retry on "exception TypeError: fetch failed sending request" errors. | `true` |
|
| Retry Fetch Errors | `general.retryFetchErrors` | Retry on "exception TypeError: fetch failed sending request" errors. | `true` |
|
||||||
| Max Chat Model Attempts | `general.maxAttempts` | Maximum number of attempts for requests to the main chat model. Cannot exceed 10. | `10` |
|
| Max Chat Model Attempts | `general.maxAttempts` | Maximum number of attempts for requests to the main chat model. Cannot exceed 10. | `10` |
|
||||||
|
|||||||
@@ -143,7 +143,8 @@ their corresponding top-level category object in your `settings.json` file.
|
|||||||
|
|
||||||
- **`general.plan.directory`** (string):
|
- **`general.plan.directory`** (string):
|
||||||
- **Description:** The directory where planning artifacts are stored. If not
|
- **Description:** The directory where planning artifacts are stored. If not
|
||||||
specified, defaults to the system temporary directory.
|
specified, defaults to the system temporary directory. A custom directory
|
||||||
|
requires a policy to allow write access in Plan Mode.
|
||||||
- **Default:** `undefined`
|
- **Default:** `undefined`
|
||||||
- **Requires restart:** Yes
|
- **Requires restart:** Yes
|
||||||
|
|
||||||
|
|||||||
@@ -300,7 +300,7 @@ const SETTINGS_SCHEMA = {
|
|||||||
requiresRestart: true,
|
requiresRestart: true,
|
||||||
default: undefined as string | undefined,
|
default: undefined as string | undefined,
|
||||||
description:
|
description:
|
||||||
'The directory where planning artifacts are stored. If not specified, defaults to the system temporary directory.',
|
'The directory where planning artifacts are stored. If not specified, defaults to the system temporary directory. A custom directory requires a policy to allow write access in Plan Mode.',
|
||||||
showInDialog: true,
|
showInDialog: true,
|
||||||
},
|
},
|
||||||
modelRouting: {
|
modelRouting: {
|
||||||
|
|||||||
@@ -124,8 +124,8 @@
|
|||||||
"properties": {
|
"properties": {
|
||||||
"directory": {
|
"directory": {
|
||||||
"title": "Plan Directory",
|
"title": "Plan Directory",
|
||||||
"description": "The directory where planning artifacts are stored. If not specified, defaults to the system temporary directory.",
|
"description": "The directory where planning artifacts are stored. If not specified, defaults to the system temporary directory. A custom directory requires a policy to allow write access in Plan Mode.",
|
||||||
"markdownDescription": "The directory where planning artifacts are stored. If not specified, defaults to the system temporary directory.\n\n- Category: `General`\n- Requires restart: `yes`",
|
"markdownDescription": "The directory where planning artifacts are stored. If not specified, defaults to the system temporary directory. A custom directory requires a policy to allow write access in Plan Mode.\n\n- Category: `General`\n- Requires restart: `yes`",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"modelRouting": {
|
"modelRouting": {
|
||||||
|
|||||||
Reference in New Issue
Block a user