docs: add pathAppend option to exec config docs

This commit is contained in:
aiguozhi123456
2026-02-25 01:49:56 +00:00
parent 07ae82583b
commit e959b13926

View File

@@ -804,6 +804,7 @@ MCP tools are automatically discovered and registered on startup. The LLM can us
| Option | Default | Description |
|--------|---------|-------------|
| `tools.restrictToWorkspace` | `false` | When `true`, restricts **all** agent tools (shell, file read/write/edit, list) to the workspace directory. Prevents path traversal and out-of-scope access. |
| `tools.exec.pathAppend` | `""` | Additional paths to append to `PATH` when executing shell commands. Useful for commands in non-standard locations (e.g., `/usr/sbin` for `ufw`). Use `":"` as separator (e.g., `"/usr/sbin:/usr/local/sbin"`). |
| `channels.*.allowFrom` | `[]` (allow all) | Whitelist of user IDs. Empty = allow everyone; non-empty = only listed users can interact. |