feat: add reference agent for searching external repositories

Add ability to configure external git repositories or local paths that
subagents can search across. References are configured in opencode.json
and automatically cloned/fetched to a cache directory.
This commit is contained in:
Dax Raad
2026-02-15 01:27:22 -05:00
parent d1482e1483
commit 6daf86dd6e
6 changed files with 203 additions and 1 deletions

View File

@@ -3,6 +3,7 @@
// "enterprise": {
// "url": "https://enterprise.dev.opencode.ai",
// },
"references": ["git@github.com:Effect-TS/effect.git"],
"provider": {
"opencode": {
"options": {},