summaryrefslogtreecommitdiffhomepage
path: root/packages/web/src/content/docs/permissions.mdx
diff options
context:
space:
mode:
authorAriane Emory <[email protected]>2026-04-15 18:44:53 -0400
committerGitHub <[email protected]>2026-04-15 17:44:53 -0500
commitd2ea6700aa2e6bdf5d04fe70ba893afbb320adbd (patch)
tree6f9b1305ea626daee3d48f1585315ea399bb8575 /packages/web/src/content/docs/permissions.mdx
parent6bed7d469d8f6a18d5543cc668d951d0d1e09776 (diff)
downloadopencode-d2ea6700aa2e6bdf5d04fe70ba893afbb320adbd.tar.gz
opencode-d2ea6700aa2e6bdf5d04fe70ba893afbb320adbd.zip
fix(core): Remove dead code and documentation related to the obsolete list tool. (#22672)
Diffstat (limited to 'packages/web/src/content/docs/permissions.mdx')
-rw-r--r--packages/web/src/content/docs/permissions.mdx3
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/web/src/content/docs/permissions.mdx b/packages/web/src/content/docs/permissions.mdx
index a470fddd7..6383b2a3f 100644
--- a/packages/web/src/content/docs/permissions.mdx
+++ b/packages/web/src/content/docs/permissions.mdx
@@ -88,7 +88,7 @@ You can use `~` or `$HOME` at the start of a pattern to reference your home dire
### External Directories
-Use `external_directory` to allow tool calls that touch paths outside the working directory where OpenCode was started. This applies to any tool that takes a path as input (for example `read`, `edit`, `list`, `glob`, `grep`, and many `bash` commands).
+Use `external_directory` to allow tool calls that touch paths outside the working directory where OpenCode was started. This applies to any tool that takes a path as input (for example `read`, `edit`, `glob`, `grep`, and many `bash` commands).
Home expansion (like `~/...`) only affects how a pattern is written. It does not make an external path part of the current workspace, so paths outside the working directory must still be allowed via `external_directory`.
@@ -133,7 +133,6 @@ OpenCode permissions are keyed by tool name, plus a couple of safety guards:
- `edit` — all file modifications (covers `edit`, `write`, `patch`, `multiedit`)
- `glob` — file globbing (matches the glob pattern)
- `grep` — content search (matches the regex pattern)
-- `list` — listing files in a directory (matches the directory path)
- `bash` — running shell commands (matches parsed commands like `git status --porcelain`)
- `task` — launching subagents (matches the subagent type)
- `skill` — loading a skill (matches the skill name)