theniceboy/opencode/opencode.json
2025-12-03 11:57:31 -08:00

92 lines
2 KiB
JSON

{
"$schema": "https://opencode.ai/config.json",
"small_model": "zai-coding-plan/glm-4.6",
"model": "cliproxyapi/gpt-5.1-codex-max",
"lsp": {
"dart": {
"command": [
"dart",
"language-server"
],
"extensions": [
".dart"
]
}
},
"permission": {
"edit": "allow",
"bash": "allow",
"webfetch": "allow",
"doom_loop": "allow",
"external_directory": "allow"
},
"mcp": {
"web": {
"type": "local",
"command": [
"mctrl-mcp",
"web"
],
"enabled": true
}
},
"keybinds": {
"messages_half_page_up": "ctrl+alt+u",
"messages_half_page_down": "ctrl+alt+e"
},
"provider": {
"cliproxyapi": {
"npm": "@ai-sdk/openai",
"name": "CLIProxyAPI (Local)",
"options": {
"baseURL": "http://127.0.0.1:8317/v1",
"apiKey": "sk-dummy"
},
"models": {
"gpt-5.1-codex-max": {
"name": "GPT-5.1 Codex Max (High)",
"options": {
"reasoningEffort": "high"
}
},
"gpt-5.1-codex-max-xhigh": {
"id": "gpt-5.1-codex-max",
"name": "GPT-5.1 Codex Max (Extra High)",
"options": {
"reasoningEffort": "xhigh"
}
}
}
},
"cliproxyapi-google": {
"npm": "@ai-sdk/google",
"name": "CLIProxyAPI (Google)",
"options": {
"baseURL": "http://127.0.0.1:8317/v1beta",
"apiKey": "sk-dummy"
},
"models": {
"gemini-3-pro-preview": {
"name": "Gemini 3 Pro Preview (Google OAuth)"
}
}
}
},
"agent": {
"Search": {
"model": "zai-coding-plan/glm-4.6",
"description": "Read-only agent for web searches",
"prompt": "You are Jeff, a research specialist. Use only read/online tools to gather information, summarize briefly with sources, and avoid edits or speculation. When researching information on the internet, use the google_search tool to conduct searches, and then follow up with website_fetch tool calls to gather detailed content from relevant pages.",
"permission": {
"edit": "deny",
"bash": "deny",
"webfetch": "deny"
},
"tools": {
"edit": false,
"bash": false,
"webfetch": false
}
}
}
}