Files
absolute-dotfiles/.config/opencode/opencode.json
David Ibia 25d06b4ce4 feat(opencode): add oh-my-opencode plugin for enhanced agent capabilities
Adds curated agents (Oracle, Librarian, Explore, Frontend Engineer),
LSP/AST tools, background agents, Claude Code compatibility layer,
and built-in MCPs (context7, exa, grep.app)
2025-12-30 00:41:55 +01:00

125 lines
3.4 KiB
JSON

{
"$schema": "https://opencode.ai/config.json",
"autoupdate": true,
"share": "disabled",
"disabled_providers": [
"openai"
],
"plugin": [
"oh-my-opencode"
],
"instructions": [
"docs/guidelines.md",
"docs/development-standards.md",
"test/testing-guidelines.md",
"packages/*/AGENTS.md"
],
"agent": {
"build": {
"mode": "all"
},
"plan": {
"mode": "primary"
},
"setup": {
"mode": "subagent",
"description": "Generates project-specific documentation and guidelines through interactive discovery"
},
"review": {
"mode": "subagent",
"description": "Reviews code for best practices and potential issues"
},
"test": {
"mode": "subagent",
"description": "Runs tests and analyzes test results"
},
"docs": {
"mode": "subagent",
"description": "Generates and maintains documentation"
},
"refactor": {
"mode": "subagent",
"description": "Refactors code for better quality and maintainability"
},
"debug": {
"mode": "subagent",
"description": "Debugs issues and troubleshoots problems"
},
"security": {
"mode": "subagent",
"description": "Audits code for security vulnerabilities"
},
"webgen": {
"mode": "subagent",
"description": "Generates complete web pages from ideas using any framework"
}
},
"mcp": {
"time": {
"type": "local",
"command": [
"/Users/davidibia/.local/bin/uvx",
"mcp-server-time",
"--local-timezone=Africa/Lagos"
],
"enabled": true
},
"shadcn": {
"type": "local",
"command": [
"npx",
"shadcn@latest",
"mcp"
],
"enabled": false
},
"astro": {
"type": "remote",
"url": "https://mcp.docs.astro.build/mcp",
"enabled": false
},
"context7": {
"type": "remote",
"url": "https://mcp.context7.com/mcp",
"headers": {
"CONTEXT7_API_KEY": "env:CONTEXT7_API_KEY"
},
"enabled": false
},
"ast-grep": {
"type": "local",
"command": [
"uv",
"--directory",
"/Users/davidibia/Projects/MCP/ast-grep-mcp",
"run",
"main.py"
],
"enabled": true
},
"chrome-devtools": {
"type": "local",
"command": [
"npx",
"chrome-devtools-mcp@latest"
],
"enabled": false
},
"with-context": {
"type": "local",
"command": [
"npx",
"-y",
"with-context-mcp"
],
"environment": {
"OBSIDIAN_API_KEY": "env:OBSIDIAN_API_KEY",
"OBSIDIAN_API_URL": "env:OBSIDIAN_API_URL",
"OBSIDIAN_VAULT": "env:OBSIDIAN_VAULT",
"PROJECT_BASE_PATH": "env:PROJECT_BASE_PATH"
},
"enabled": false
}
}
}