66 lines
1.4 KiB
JSON
66 lines
1.4 KiB
JSON
{
|
|
"$schema": "https://opencode.ai/config.json",
|
|
"plugin": ["superpowers@git+https://github.com/obra/superpowers.git"],
|
|
"default_agent": "safe-plan",
|
|
"permission": {
|
|
"write": "ask",
|
|
"edit": "ask",
|
|
"patch": "ask",
|
|
"webfetch": "ask",
|
|
"task": "ask",
|
|
"bash": {
|
|
"*": "ask",
|
|
"git push": "deny",
|
|
"git push *": "deny"
|
|
}
|
|
},
|
|
"mcp": {
|
|
"context7": {
|
|
"type": "remote",
|
|
"url": "https://mcp.context7.com/mcp",
|
|
"headers": {
|
|
"CONTEXT7_API_KEY": "${env:CONTEXT7_API_KEY}"
|
|
},
|
|
"enabled": true
|
|
},
|
|
"searxng": {
|
|
"type": "local",
|
|
"command": ["npx", "-y", "mcp-searxng"],
|
|
"environment": {
|
|
"SEARXNG_URL": "http://localhost:26745"
|
|
},
|
|
"enabled": true
|
|
},
|
|
"playwright": {
|
|
"type": "local",
|
|
"command": ["npx", "-y", "@playwright/mcp@latest"],
|
|
"enabled": false
|
|
},
|
|
"duckduckgo": {
|
|
"type": "local",
|
|
"command": ["uvx", "duckduckgo-mcp-server"],
|
|
"enabled": true
|
|
}
|
|
},
|
|
"provider": {
|
|
"zai": {
|
|
"npm": "@ai-sdk/openai-compatible",
|
|
"name": "GLM Coding Plan (custom)",
|
|
"options": {
|
|
"baseURL": "https://api.z.ai/api/coding/paas/v4",
|
|
"apiKey": "{env:ZAI_API_KEY}"
|
|
},
|
|
"models": {
|
|
"glm-5.1": {
|
|
"name": "GLM-5.1",
|
|
"limit": {
|
|
"context": 200000,
|
|
"output": 65536
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"share": "manual"
|
|
}
|