{ "$schema": "https://opencode.ai/config.json", "default_agent": "pragent", "model": "headroom/MiniMax-M2.7", "small_model": "headroom/MiniMax-M2.7", "provider": { "headroom": { "npm": "@ai-sdk/anthropic", "name": "Headroom (MiniMax passthrough)", "options": { "baseURL": "http://model-proxy.internal:8789/v1", "apiKey": "ollama" }, "models": { "MiniMax-M2.7": { "name": "MiniMax M2.7", "limit": { "context": 200000, "output": 16000 } } } }, "local": { "npm": "@ai-sdk/openai-compatible", "name": "Local AI workstation (qwen3.8-27b)", "options": { "baseURL": "http://192.168.1.79:18020/v1", "apiKey": "PLACEHOLDER_REPLACED_AT_RUNTIME" }, "models": { "qwen3.8-27b": { "name": "Qwen 3.8 27B (local)", "limit": { "context": 57344, "output": 8192 } } } } }, "lsp": {}, "permission": { "*": "allow", "edit": "deny", "write": "deny", "apply_patch": "deny", "bash": { "*": "allow", "rm -rf *": "deny", "rm -fr *": "deny", "git push *": "deny", "git commit *": "deny", "git reset --hard*": "deny", "sudo *": "deny" }, "external_directory": "allow", "doom_loop": "deny" } }