79 lines
1.6 KiB
JSON
79 lines
1.6 KiB
JSON
{
|
|
"$schema": "https://opencode.ai/config.json",
|
|
"default_agent": "lardon-orchestrator",
|
|
"model": "opencode/mimo-v2.5-free",
|
|
"subagent_depth": 1,
|
|
"instructions": [
|
|
"AGENTS.md",
|
|
".opencode/context.md",
|
|
"docs/architecture/overview.md"
|
|
],
|
|
"permission": {
|
|
"*": "ask",
|
|
"read": "allow",
|
|
"glob": "allow",
|
|
"grep": "allow",
|
|
"lsp": "allow",
|
|
"external_directory": "deny",
|
|
"edit": {
|
|
"*": "allow",
|
|
"scan3d/**": "deny",
|
|
"scan3d/tri_photos.py": "deny"
|
|
},
|
|
"bash": {
|
|
"*": "ask",
|
|
"git status*": "allow",
|
|
"git diff*": "allow",
|
|
"git log*": "allow",
|
|
"git commit*": "deny",
|
|
"git push*": "deny",
|
|
"git add -A*": "deny",
|
|
"git clean*": "deny",
|
|
"git reset*": "deny",
|
|
"rm *": "deny",
|
|
"sudo *": "deny"
|
|
}
|
|
},
|
|
"watcher": {
|
|
"ignore": [
|
|
".git/**",
|
|
"build*/**",
|
|
".opencode/work/**",
|
|
"scan3d/**"
|
|
]
|
|
},
|
|
"provider": {
|
|
"kilo": {
|
|
"npm": "@ai-sdk/openai-compatible",
|
|
"name": "Kilo Gateway",
|
|
"options": {
|
|
"baseURL": "https://api.kilo.ai/api/gateway"
|
|
},
|
|
"models": {
|
|
"tencent/hy3:free": {
|
|
"name": "Hy3 Free",
|
|
"limit": {
|
|
"context": 262144,
|
|
"output": 128000
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"lsp": {
|
|
"clangd": {
|
|
"command": [
|
|
"clangd",
|
|
"--background-index",
|
|
"--compile-commands-dir=build"
|
|
],
|
|
"extensions": [
|
|
".c",
|
|
".h",
|
|
".cc",
|
|
".cpp",
|
|
".hpp"
|
|
]
|
|
}
|
|
}
|
|
}
|