Add basic-memory as a global cross-project knowledge store alongside the existing per-project .memory/ system. Agents can now persist reusable patterns, conventions, and lessons learned across all projects via MCP tools (write_note, search_notes, build_context). Changes: - opencode.jsonc: add basic-memory MCP server config - AGENTS.md: rewrite Project Memory section for dual system with routing table (global vs per-project) - agents/lead.md: integrate basic-memory into phase transitions, CONSULT, PHASE-WRAP, escalation, and knowledge freshness - agents/sme.md: dual caching strategy (basic-memory for cross-project guidance, .memory/ for project-specific)
53 lines
891 B
JSON
53 lines
891 B
JSON
{
|
|
"$schema": "https://opencode.ai/config.json",
|
|
"autoupdate": true,
|
|
"default_agent": "lead",
|
|
"plugin": ["@tarquinen/opencode-dcp"],
|
|
"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": [
|
|
"npx",
|
|
"@playwright/mcp@latest",
|
|
"--headless",
|
|
"--browser",
|
|
"chromium"
|
|
],
|
|
"enabled": true
|
|
},
|
|
"basic-memory": {
|
|
"type": "local",
|
|
"command": [
|
|
"uvx",
|
|
"basic-memory",
|
|
"mcp"
|
|
],
|
|
"enabled": true
|
|
}
|
|
}
|
|
}
|