feat(core): add scout agent for repo research (#24149)

Co-authored-by: Dax Raad <d@ironbay.co>
This commit is contained in:
Shoubhit Dash
2026-05-08 20:20:08 +00:00
committed by GitHub
co-authored by Dax Raad
parent 6e47ae769e
commit 40d5ea1cf1
44 changed files with 1622 additions and 66 deletions
+10 -2
View File
@@ -35,13 +35,13 @@ OpenCode 內建了兩個主代理:**Build** 和 **Plan**。我們將在下面
子代理是主代理可以呼叫來執行特定任務的專業助手。您也可以透過在訊息中 **@ 提及**它們來手動呼叫。
OpenCode 內建了兩個子代理:**General** 和 **Explore**。我們將在下面介紹它們。
OpenCode 內建了三個子代理:**General**、**Explore** 和 **Scout**。我們將在下面介紹它們。
---
## 內建代理
OpenCode 內建了兩個主代理和兩個子代理。
OpenCode 內建了兩個主代理和三個子代理。
---
@@ -83,6 +83,14 @@ _模式_:`subagent`
---
### 使用 Scout
_模式_:`subagent`
一個用於外部文件與依賴研究的唯讀代理。當您需要將某個依賴儲存庫 clone 到 OpenCode 的託管快取中、檢查函式庫的原始碼,或在不修改工作區的情況下將本機程式碼與 upstream 實作交叉比對時,請使用此代理。
---
### 使用 Compaction
_模式_:`primary`