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`
一个用于外部文档和依赖研究的只读代理。当您需要将某个依赖仓库克隆到 OpenCode 的托管缓存中、检查库的源代码,或在不修改工作区的情况下将本地代码与 upstream 实现进行交叉对照时,请使用此代理。
---
### 使用 Compaction
_模式_:`primary`