Skip to content

The open source coding agent.

TypeScript

docs: Update plan mode restrictions (#8290)

Eduard Voiculescuf4a28b265958
diff --git a/packages/web/src/content/docs/modes.mdx b/packages/web/src/content/docs/modes.mdx
index ae14c2f32b5..a31a8223b07 100644
--- a/packages/web/src/content/docs/modes.mdx
+++ b/packages/web/src/content/docs/modes.mdx
@@ -34,7 +34,7 @@ Build is the **default** mode with all tools enabled. This is the standard mode
A restricted mode designed for planning and analysis. In plan mode, the following tools are disabled by default:
- `write` - Cannot create new files
-- `edit` - Cannot modify existing files
+- `edit` - Cannot modify existing files, except for files located at `.opencode/plans/*.md` to detail the plan itself
- `patch` - Cannot apply patches
- `bash` - Cannot execute shell commands