simplify opencode.json again

This commit is contained in:
2026-04-10 21:40:00 +02:00
parent 9172645dbb
commit ed9abcd1f1
3 changed files with 27 additions and 189 deletions
+27 -21
View File
@@ -1,27 +1,8 @@
{
"$schema": "https://opencode.ai/config.json",
"default_agent": "plan",
"agent": {
"local-build": {
"description": "Build agent optimized for local LM Studio models with explicit tool awareness",
"mode": "primary",
"prompt": "{file:./prompts/local-build.md}",
"steps": 40,
"permission": {
"edit": "ask",
"bash": "allow"
}
},
"local-plan": {
"description": "Plan agent for local LM Studio models - tool aware, no file writes without approval",
"mode": "primary",
"prompt": "{file:./prompts/local-plan.md}",
"steps": 20,
"permission": {
"edit": "deny"
}
}
},
"provider": {
"lmstudio": {
"npm": "@ai-sdk/openai-compatible",
@@ -38,8 +19,33 @@
},
"mistralai/ministral-3-14b-reasoning": {
"name": "mistralai/ministral-3-14b-reasoning"
},
"openai/gpt-oss-20b": {
"name": "openai/gpt-oss-20b"
}
}
}
},
"permission": {
"bash": "allow",
"read": "allow",
"write": "ask",
"edit": "ask",
"glob": "allow",
"grep": "allow",
"list": "allow",
"webfetch": "allow",
"websearch": "allow",
"question": "allow",
"todoread": "allow",
"todowrite": "allow",
"skill": "allow",
"patch": "allow",
"lsp": "allow"
},
"experimental": {
"lsp": true
}
}