summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAiden Cline <[email protected]>2025-08-23 14:52:02 -0500
committerGitHub <[email protected]>2025-08-23 14:52:02 -0500
commit0fd312346bc172782ea7e45160deb8851d894dbc (patch)
tree366baa19a51ae1f9f38259f7be7576716dd4afc7
parentb80046120c9674d3c717dd426997606feeb52eb2 (diff)
downloadopencode-0fd312346bc172782ea7e45160deb8851d894dbc.tar.gz
opencode-0fd312346bc172782ea7e45160deb8851d894dbc.zip
docs: fix plan agent docs (#2215)
-rw-r--r--packages/web/src/content/docs/docs/agents.mdx9
1 files changed, 4 insertions, 5 deletions
diff --git a/packages/web/src/content/docs/docs/agents.mdx b/packages/web/src/content/docs/docs/agents.mdx
index 51d835a6d..1527a1b08 100644
--- a/packages/web/src/content/docs/docs/agents.mdx
+++ b/packages/web/src/content/docs/docs/agents.mdx
@@ -58,12 +58,11 @@ Build is the **default** primary agent with all tools enabled. This is the stand
_Mode_: `primary`
-A restricted agent designed for planning and analysis. In the plan agent, the following tools are disabled by default:
+A restricted agent designed for planning and analysis. We use a permission system to give you more control and prevent unintended changes.
+By default, all of the following are set to `ask`:
-- `write` - Cannot create new files
-- `edit` - Cannot modify existing files
-- `patch` - Cannot apply patches
-- `bash` - Cannot execute shell commands
+- `file edits`: All writes, patches, and edits
+- `bash`: All bash commands
This agent is useful when you want the LLM to analyze code, suggest changes, or create plans without making any actual modifications to your codebase.