feat: add opencode.json project configuration

Sets paper-director as default agent with subagent definitions.
This commit is contained in:
hc 2026-03-31 17:45:16 +08:00
parent 3372b76f6d
commit 1f8e2a15a1

21
opencode.json Normal file
View File

@ -0,0 +1,21 @@
{
"$schema": "https://opencode.ai/config.json",
"default_agent": "paper-director",
"agent": {
"paper-director": {
"mode": "primary"
},
"paper-analyzer": {
"mode": "subagent"
},
"paper-image-extractor": {
"mode": "subagent"
},
"code-writer": {
"mode": "subagent"
},
"test-runner": {
"mode": "subagent"
}
}
}