dotfiles/opencode/.config/opencode-team/opencode.jsonc
2026-08-25 18:02:29 +08:00

43 lines
870 B
JSON

{
"$schema": "https://opencode.ai/config.json",
"model": "deepseek-v4-pro",
"autoupdate": true,
"mcp": {
"riscv-udb": {
"type": "local",
"command": ["riscv-udb-mcp"],
"enabled": true
}
},
// Activating the full team layer ONLY inside this profile directory
"plugin": [
"oh-my-openagent",
"opencode-canvas"
],
"permission": {
"read": {
"**/build/**": "deny",
"**/.verilator/**": "deny",
"**/*.vcd": "deny",
"**/*.fst": "deny",
"**/*.o": "deny",
"**/*.a": "deny",
"*": "allow"
},
"edit": {
"**/build/**": "deny",
"*": "allow"
},
"bash": "allow",
"lsp" : "allow"
},
"lsp": {
"clangd": {
"command": ["clangd", "--background-index", "--clang-tidy"],
"extensions": [".c", ".cpp", ".cc", ".cxx", ".h", ".hpp"]
}
}
}