docs: expand OpenCode 2 beta guides

This commit is contained in:
Dax Raad 2026-07-09 18:00:30 -04:00
commit 1004fbb2f5
24 changed files with 889 additions and 359 deletions

View file

@ -1,6 +1,6 @@
---
title: "Snapshots and undo"
description: "Understand filesystem snapshots, undo, redo, and message reverts in OpenCode V2."
title: "Undo"
description: ""
---
OpenCode snapshots let the default interactive TUI roll back conversation history and related file changes. They are a
@ -104,6 +104,5 @@ Review the staged file summary and your Git diff before continuing. Commit or ba
using undo on a dirty worktree.
<Note>
`/undo` and `/redo` are interactive commands in the default V2 TUI. The non-interactive `run` command and the minimal
interactive interface do not provide these slash commands.
`/undo` and `/redo` are interactive TUI commands. The non-interactive `run` command does not provide them.
</Note>