mirror of
https://github.com/anomalyco/opencode.git
synced 2026-04-30 17:56:44 +00:00
chore: kill unused tool (#23701)
This commit is contained in:
@@ -130,7 +130,7 @@ OpenCode 使用 `permission` 設定來決定某個操作是否應自動執行、
|
||||
OpenCode 的權限以工具名稱為鍵,外加幾個安全防護項:
|
||||
|
||||
- `read` — 讀取檔案(比對檔案路徑)
|
||||
- `edit` — 所有檔案修改(涵蓋 `edit`、`write`、`patch`、`multiedit`)
|
||||
- `edit` — 所有檔案修改(涵蓋 `edit`、`write`、`patch`)
|
||||
- `glob` — 檔案萬用字元比對(比對萬用字元模式)
|
||||
- `grep` — 內容搜尋(比對正規表示式模式)
|
||||
- `bash` — 執行 shell 指令(比對解析後的指令,如 `git status --porcelain`)
|
||||
|
||||
Reference in New Issue
Block a user