opencode riscv mcp
This commit is contained in:
parent
aa57f34011
commit
e64a4c0f86
3 changed files with 37 additions and 2 deletions
|
|
@ -2,6 +2,14 @@
|
|||
"$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": [
|
||||
|
|
@ -23,6 +31,13 @@
|
|||
"**/build/**": "deny",
|
||||
"*": "allow"
|
||||
},
|
||||
"bash": "allow"
|
||||
"bash": "allow",
|
||||
"lsp" : "allow"
|
||||
},
|
||||
"lsp": {
|
||||
"clangd": {
|
||||
"command": ["clangd", "--background-index", "--clang-tidy"],
|
||||
"extensions": [".c", ".cpp", ".cc", ".cxx", ".h", ".hpp"]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
5
opencode/.config/opencode-team/tui.json
Normal file
5
opencode/.config/opencode-team/tui.json
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"plugin": [
|
||||
"oh-my-openagent"
|
||||
]
|
||||
}
|
||||
|
|
@ -2,6 +2,14 @@
|
|||
"$schema": "https://opencode.ai/config.json",
|
||||
"autoupdate": true,
|
||||
|
||||
"mcp": {
|
||||
"riscv-udb": {
|
||||
"type": "local",
|
||||
"command": ["riscv-udb-mcp"],
|
||||
"enabled": true
|
||||
}
|
||||
},
|
||||
|
||||
"plugin": [],
|
||||
|
||||
"permission": {
|
||||
|
|
@ -18,6 +26,13 @@
|
|||
"**/build/**": "deny",
|
||||
"*": "allow"
|
||||
},
|
||||
"bash": "allow"
|
||||
"bash": "allow",
|
||||
"lsp" : "allow"
|
||||
},
|
||||
"lsp" : {
|
||||
"clangd": {
|
||||
"command": ["clangd", "--background-index", "--clang-tidy"],
|
||||
"extensions": [".c", ".cpp", ".cc", ".cxx", ".h", ".hpp"]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue