theniceboy/opencode/opencode.json
2026-06-25 15:49:03 +08:00

89 lines
1.4 KiB
JSON

{
"$schema": "https://opencode.ai/config.json",
"autoupdate": false,
"small_model": "zai-coding-plan/glm-4.7",
"agent": {
"build": {
"color": "#ff79c6"
},
"plan": {
"color": "#8be9fd"
}
},
"disabled_providers": [
"zen",
"cloudflare",
"cloudflare-ai-gateway",
"cloudflare-workers-ai",
"amazon-bedrock",
"ollama-cloud"
],
"compaction": {
"auto": false
},
"plugin": [
"opencode-anthropic-auth@0.0.13"
],
"lsp": {
"dart": {
"command": [
"dart",
"language-server"
],
"extensions": [
".dart"
]
},
"biome": {
"disabled": true
}
},
"permission": {
"edit": "allow",
"bash": "allow",
"webfetch": "deny",
"consult": "deny",
"doom_loop": "allow",
"external_directory": "allow"
},
"mcp": {
"web": {
"type": "remote",
"url": "http://127.0.0.1:8775/searcher/mcp",
"enabled": true
},
"rednote": {
"type": "remote",
"url": "http://127.0.0.1:8776/rednote-evidence/mcp",
"enabled": true
},
"pinchtab": {
"type": "local",
"command": [
"node",
"/Users/david/.config/opencode/tool/pinchtab-mcp.mjs"
],
"enabled": false
},
"sentry": {
"type": "local",
"command": [
"npx",
"-y",
"mcp-remote@latest",
"https://mcp.sentry.dev/mcp"
],
"enabled": false
},
"google-maps": {
"type": "local",
"command": [
"npx",
"-y",
"@cablate/mcp-google-map",
"--stdio"
],
"enabled": false
}
}
}