WIP: boostrapping opencode for use with at least GLM agents

This commit is contained in:
2026-03-04 15:56:00 -05:00
parent 01b3c26653
commit c17698ed31
17 changed files with 1087 additions and 0 deletions

61
opencode.json Normal file
View 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"
]
}
}