diff --git a/opencode/.config/opencode-team/opencode.jsonc b/opencode/.config/opencode-team/opencode.jsonc index 5ba0d07..79340c3 100644 --- a/opencode/.config/opencode-team/opencode.jsonc +++ b/opencode/.config/opencode-team/opencode.jsonc @@ -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"] + } } } diff --git a/opencode/.config/opencode-team/tui.json b/opencode/.config/opencode-team/tui.json new file mode 100644 index 0000000..67f9e0f --- /dev/null +++ b/opencode/.config/opencode-team/tui.json @@ -0,0 +1,5 @@ +{ + "plugin": [ + "oh-my-openagent" + ] +} diff --git a/opencode/.config/opencode/opencode.jsonc b/opencode/.config/opencode/opencode.jsonc index a6e7340..6042f2f 100644 --- a/opencode/.config/opencode/opencode.jsonc +++ b/opencode/.config/opencode/opencode.jsonc @@ -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"] + } } }