summaryrefslogtreecommitdiffhomepage
path: root/packages/web/src/content/docs/agents.mdx
diff options
context:
space:
mode:
authoropencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>2026-04-27 05:18:33 +0000
committeropencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>2026-04-27 05:18:33 +0000
commit17701628bd4370067a1e2613043a9da14f8e302f (patch)
treeea3b800db8b4d0429d5b38c25bf58a9b0c620450 /packages/web/src/content/docs/agents.mdx
parent0efc6163f1d58a529db327b94bea2ceab55e729b (diff)
downloadopencode-17701628bd4370067a1e2613043a9da14f8e302f.tar.gz
opencode-17701628bd4370067a1e2613043a9da14f8e302f.zip
chore: generate
Diffstat (limited to 'packages/web/src/content/docs/agents.mdx')
-rw-r--r--packages/web/src/content/docs/agents.mdx36
1 files changed, 18 insertions, 18 deletions
diff --git a/packages/web/src/content/docs/agents.mdx b/packages/web/src/content/docs/agents.mdx
index 47a3effd0..7c5f21787 100644
--- a/packages/web/src/content/docs/agents.mdx
+++ b/packages/web/src/content/docs/agents.mdx
@@ -421,24 +421,24 @@ You can configure permissions to manage what actions an agent can take. Each per
The available permission keys are:
-| Key | Tools it gates |
-| -------------------- | ----------------------------------------------------------------------------- |
-| `read` | `read` |
-| `edit` | `write`, `edit`, `apply_patch` |
-| `glob` | `glob` |
-| `grep` | `grep` |
-| `list` | `list` |
-| `bash` | `bash` |
-| `task` | `task` |
-| `external_directory` | Any tool that reads or writes files outside the project worktree |
-| `todowrite` | `todowrite`, `todoread` |
-| `webfetch` | `webfetch` |
-| `websearch` | `websearch` |
-| `codesearch` | `codesearch` |
-| `lsp` | `lsp` |
-| `skill` | `skill` |
-| `question` | `question` |
-| `doom_loop` | Recovery prompts when an agent appears stuck |
+| Key | Tools it gates |
+| -------------------- | ---------------------------------------------------------------- |
+| `read` | `read` |
+| `edit` | `write`, `edit`, `apply_patch` |
+| `glob` | `glob` |
+| `grep` | `grep` |
+| `list` | `list` |
+| `bash` | `bash` |
+| `task` | `task` |
+| `external_directory` | Any tool that reads or writes files outside the project worktree |
+| `todowrite` | `todowrite`, `todoread` |
+| `webfetch` | `webfetch` |
+| `websearch` | `websearch` |
+| `codesearch` | `codesearch` |
+| `lsp` | `lsp` |
+| `skill` | `skill` |
+| `question` | `question` |
+| `doom_loop` | Recovery prompts when an agent appears stuck |
`read`, `edit`, `glob`, `grep`, `list`, `bash`, `task`, `external_directory`, `lsp`, and `skill` accept either a shorthand action (`"allow" | "ask" | "deny"`) or an object of glob/pattern → action for fine-grained control. The remaining keys accept the shorthand action only.