Checkpointing documentation (#1321)

Co-authored-by: matt korwel <matt.korwel@gmail.com>
This commit is contained in:
Louis Jimenez
2025-06-24 18:31:32 -04:00
committed by GitHub
parent db57d38d92
commit 7421bf681b
4 changed files with 80 additions and 2 deletions

View File

@@ -68,7 +68,7 @@ Slash commands provide meta-level control over the CLI itself.
- **Description:** Restores the project files to the state they were in just before a tool was executed. This is particularly useful for undoing file edits made by a tool. If run without a tool call ID, it will list available checkpoints to restore from.
- **Usage:** `/restore [tool_call_id]`
- **Note:** Only available if the CLI is invoked with the `--checkpointing` option or configured via [settings](./configuration.md).
- **Note:** Only available if the CLI is invoked with the `--checkpointing` option or configured via [settings](./configuration.md). See [Checkpointing documentation](../checkpointing.md) for more details.
- **`/stats`**

View File

@@ -150,7 +150,7 @@ In addition to a project settings file, a project's `.gemini` directory can cont
- **`checkpointing`** (object):
- **Description:** Configures the checkpointing feature, which allows you to save and restore conversation and file states. See the [Checkpointing Commands](./commands.md#checkpointing-commands) for more details.
- **Description:** Configures the checkpointing feature, which allows you to save and restore conversation and file states. See the [Checkpointing documentation](../checkpointing.md) for more details.
- **Default:** `{"enabled": false}`
- **Properties:**
- **`enabled`** (boolean): When `true`, the `/restore` command is available.