Files
dotfiles/.config/opencode/opencode.jsonc
2026-03-12 12:14:33 +00:00

64 lines
1.2 KiB
JSON

{
"$schema": "https://opencode.ai/config.json",
"autoupdate": true,
"default_agent": "lead",
"plugin": ["@tarquinen/opencode-dcp", "./plugins/tmux-panes.ts"],
"agent": {
"general": {
"disable": true
},
"explore": {
"disable": true
},
"plan": { "permission": { "write": "allow" } }
},
"permission": {
"websearch": "allow",
"question": "allow",
"external_directory": "deny"
},
"mcp": {
"context7": {
"type": "remote",
"url": "https://mcp.context7.com/mcp",
"enabled": true
},
"gh_grep": {
"type": "remote",
"url": "https://mcp.grep.app",
"enabled": true
},
"playwright": {
"type": "local",
"command": [
"bunx",
"@playwright/mcp@latest",
"--headless",
"--browser",
"chromium"
],
"enabled": true
},
"basic-memory": {
"type": "local",
"command": ["uvx", "basic-memory", "mcp"],
"enabled": true
},
"ast-grep": {
"type": "local",
"command": [
"uvx",
"--from",
"git+https://github.com/ast-grep/ast-grep-mcp",
"ast-grep-server"
],
"enabled": true
},
"codebase-memory": {
"type": "local",
"command": ["codebase-memory-mcp", "mcp"],
"enabled": true
}
}
}