55 lines
1.6 KiB
JSON
55 lines
1.6 KiB
JSON
{
|
|
"$schema": "https://opencode.ai/config.json",
|
|
"autoupdate": false,
|
|
"share": "disabled",
|
|
"subagent_depth": 1,
|
|
"instructions": ["/etc/opencode/AGENTS.md"],
|
|
"permission": "allow",
|
|
"agent": {
|
|
"build": {
|
|
"permission": "allow"
|
|
},
|
|
"plan": {
|
|
"permission": "allow"
|
|
},
|
|
"general": {
|
|
"permission": "allow"
|
|
},
|
|
"explore": {
|
|
"permission": "allow"
|
|
},
|
|
"research": {
|
|
"description": "Research current documentation, web evidence, and public code examples.",
|
|
"mode": "subagent",
|
|
"model": "{env:AGENTCI_RESEARCH_MODEL}",
|
|
"variant": "{env:AGENTCI_RESEARCH_VARIANT}",
|
|
"permission": "allow",
|
|
"prompt": "Research external, current, or unfamiliar technical facts for the parent agent. Use Context7 for library documentation, gh_grep for public-code examples, and web search for primary sources or broader verification. Prefer authoritative sources, report links, distinguish facts from inference, and return a concise evidence-focused summary. Do not include secrets or proprietary source in external queries."
|
|
}
|
|
},
|
|
"mcp": {
|
|
"codegraph": {
|
|
"type": "local",
|
|
"command": ["codegraph", "serve", "--mcp"],
|
|
"environment": {
|
|
"CODEGRAPH_TELEMETRY": "0"
|
|
},
|
|
"enabled": true,
|
|
"timeout": 60000
|
|
},
|
|
"context7": {
|
|
"type": "remote",
|
|
"url": "https://mcp.context7.com/mcp",
|
|
"headers": {
|
|
"CONTEXT7_API_KEY": "{env:CONTEXT7_API_KEY}"
|
|
},
|
|
"enabled": true
|
|
},
|
|
"gh_grep": {
|
|
"type": "remote",
|
|
"url": "https://mcp.grep.app",
|
|
"enabled": true
|
|
}
|
|
}
|
|
}
|