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-09 01:50:08 +05:30 committed by GitHub
commit 40d5ea1cf1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
44 changed files with 1622 additions and 66 deletions

View file

@ -36,13 +36,13 @@ OpenCode มีเอเจนต์หลักในตัวได้แก
Subagent คือผู้ช่วยเฉพาะทางที่ Primary Agent สามารถเรียกใช้งานได้ หรือคุณสามารถเรียกใช้โดยตรงโดยพิมพ์ **@** ตามด้วยชื่อเอเจนต์ในข้อความของคุณ
OpenCode มี subagent ในตัวได้แก่ **General** และ **Explore**
OpenCode มี subagent ในตัวได้แก่ **General**, **Explore** และ **Scout** ดูรายละเอียดด้านล่าง
---
## บิวท์อิน
OpenCode มาพร้อมกับเอเจนต์หลักและ subagent ในตัวดังนี้
OpenCode มาพร้อมกับเอเจนต์หลัก 2 ตัวและ subagent ในตัว 3 ตัว
---
@ -84,6 +84,14 @@ _Mode_: `subagent`
---
### Scout
_Mode_: `subagent`
เอเจนต์แบบอ่านอย่างเดียวสำหรับค้นคว้าเอกสารภายนอกและ dependency ใช้สิ่งนี้เมื่อคุณต้องการ clone repository ของ dependency เข้าไปใน cache ที่ OpenCode จัดการให้, ตรวจสอบ source code ของไลบรารี, หรือเทียบโค้ดในเครื่องกับ implementation จาก upstream โดยไม่แก้ไข workspace ของคุณ
---
### Compact
_Mode_: `primary`