WIP: boostrapping opencode for use with at least GLM agents
This commit is contained in:
61
opencode.json
Normal file
61
opencode.json
Normal file
@@ -0,0 +1,61 @@
|
||||
{
|
||||
"$schema": "https://opencode.ai/config.json",
|
||||
"model": "zai/glm-5",
|
||||
"small_model": "zai/glm-4-flash",
|
||||
"provider": {
|
||||
"zai": {
|
||||
"options": {
|
||||
"timeout": 300000
|
||||
}
|
||||
}
|
||||
},
|
||||
"instructions": [
|
||||
"CLAUDE.md",
|
||||
"conductor/workflow.md",
|
||||
"conductor/tech-stack.md"
|
||||
],
|
||||
"default_agent": "tier2-tech-lead",
|
||||
"agent": {
|
||||
"build": {
|
||||
"model": "zai/glm-5",
|
||||
"permission": {
|
||||
"edit": "ask",
|
||||
"bash": "ask"
|
||||
}
|
||||
},
|
||||
"plan": {
|
||||
"model": "zai/glm-5",
|
||||
"permission": {
|
||||
"edit": "deny",
|
||||
"bash": {
|
||||
"*": "ask",
|
||||
"git status*": "allow",
|
||||
"git diff*": "allow",
|
||||
"git log*": "allow"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"permission": {
|
||||
"edit": "ask",
|
||||
"bash": "ask"
|
||||
},
|
||||
"share": "manual",
|
||||
"autoupdate": true,
|
||||
"compaction": {
|
||||
"auto": true,
|
||||
"prune": true,
|
||||
"reserved": 10000
|
||||
},
|
||||
"watcher": {
|
||||
"ignore": [
|
||||
"node_modules/**",
|
||||
".venv/**",
|
||||
"__pycache__/**",
|
||||
"*.pyc",
|
||||
".git/**",
|
||||
"logs/**",
|
||||
"*.log"
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user