diff options
| author | Aiden Cline <[email protected]> | 2025-08-23 14:52:02 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-08-23 14:52:02 -0500 |
| commit | 0fd312346bc172782ea7e45160deb8851d894dbc (patch) | |
| tree | 366baa19a51ae1f9f38259f7be7576716dd4afc7 | |
| parent | b80046120c9674d3c717dd426997606feeb52eb2 (diff) | |
| download | opencode-0fd312346bc172782ea7e45160deb8851d894dbc.tar.gz opencode-0fd312346bc172782ea7e45160deb8851d894dbc.zip | |
docs: fix plan agent docs (#2215)
| -rw-r--r-- | packages/web/src/content/docs/docs/agents.mdx | 9 |
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. |
