{ "$schema": "https://opencode.ai/config.json", "plugin": [ "@franlol/opencode-md-table-formatter@latest", "opencode-pty@latest", "@tarquinen/opencode-dcp@latest", // too aggressive for now. wait for PR or do it myself // "opencode-snip@latest", "opencode-vibeguard@latest", "@gotgenes/opencode-agent-identity@latest", "@ramarivera/opencode-model-announcer@latest", "@mohak34/opencode-notifier@latest", "opencode-snippets@latest", "~/Workspace/opencode-chef" ], "watcher": { "ignore": [ "node_modules/**", "dist/**", ".git/**", "target/**", "output/**", ".trash/**" ] }, "username": "bugabinga", "permission": { "websearch": "allow", "bash": { // "*": "ask", // temp fake yolo "*": "allow", "* Cargo.toml *": "ask", "* clippy.toml *": "ask", "* .dictate.toml *": "ask", "rm *": "deny", // use rm tool instead "echo *>*": "deny", "nsenter *": "deny", "base64 *": "deny", "dd *": "deny", "mkfs*": "deny", "fdisk *": "deny", "parted *": "deny", "wipefs *": "deny", "shred *": "deny", "* /dev/tcp/*": "deny", "* /dev/udp/*": "deny", "* */id_rsa*": "deny", "* */id_ed25519*": "deny", "* *.env": "deny", "* .env*": "deny", "curl *localhost*": "allow", "ls *": "allow", "true *": "allow", "snip *": "allow", "d2 *": "allow", "cat *": "allow", "grep *": "allow", "rg *": "allow", "sed *": "allow", "awk *": "allow", "lsof *": "allow", "git *": "allow", "fd *": "allow", "bat *": "allow", "cp *": "allow", "head *": "allow", "nvim *": "allow", "luacheck *": "allow", "stylua *": "allow", "selene *": "allow", "tail *": "allow", "find *": "allow", "xargs *": "allow", "sort *": "allow", "uniq *": "allow", "date *": "allow", "timeout *": "allow", "cut *": "allow", "which *": "allow", "pwd *": "allow", "pastel *": "allow", "read *": "allow", "whoami *": "allow", "hexdump *": "allow", "lua-language-server *": "allow", "diff *": "allow", "mkdir *": "allow", "type *": "allow", "sleep *": "allow", "touch *": "allow", "ps *": "allow", "test *": "allow", "ss *": "allow", "netstat *": "allow", "wc *": "allow", "jq *": "allow", "just *": "allow", "time *": "allow", "rustc *": "allow", "zig *": "allow", "javac *": "allow", "cargo *": "allow", "cargo x *": "allow", "cargo clippy *": "allow", "echo *": "allow", "sqlite3 *": "allow", "npm run *": "allow", "npm test *": "allow", "npm build *": "allow", "deno run *": "allow", "deno test *": "allow", "deno build *": "allow", "./target *": "allow", "chmod *": "allow" }, "edit": { "*": "allow", "Cargo.toml": "ask", "clippy.toml": "ask" } }, "default_agent": "plan", "agent": { "plan": { "color": "#50af70", "model": "zai-coding-plan/glm-5.1", "permission": { "mcp-*": "deny", "mcp-context7_*": "allow", "mcp-github_search_*": "allow", "mcp-github_get_*": "allow", "mcp-github_list_*": "allow", "mcp-github_fetch_*": "allow", "mcp-github_lookup_*": "allow", "mcp-minimax_*": "allow" } }, "build": { "color": "#FF1769", "model": "minimax-coding-plan/MiniMax-M2.7-highspeed", "permission": { "mcp-*": "deny", "mcp-context7_*": "allow" } } }, "autoupdate": true, "formatter": { "deno": { "command": [ "deno", "fmt", "$FILE" ], "extensions": [ ".md", ".json", ".jsonc", ".js", ".ts", ".jsx", ".tsx" ] }, "just": { "command": [ "just", "--fmt" ], "extensions": [ "justfile", "Justfile" ] }, "superhtml": { "command": [ "superhtml", "fmt", "$FILE" ], "extensions": [ ".html", ".superhtml", ".shtml" ] }, "taplo": { "command": [ "taplo", "fmt", "$FILE" ], "extensions": [ ".toml" ] }, "tofu": { "command": [ "tofu", "fmt", "$FILE" ], "extensions": [ ".tf", ".tfvar" ] } }, "lsp": { "marksman": { "command": [ "marksman", "server" ], "extensions": [ ".md", ".markdown", ".mdx" ] }, "just": { "command": [ "just-lsp", "--timeout", "5000" ], "extensions": [ "justfile", "Justfile" ] }, "nu-lsp": { "command": [ "nu", "--lsp" ], "extensions": [ ".nu", ".nuon" ] }, "sqls": { "command": [ "sqls", "lsp" ], "extensions": [ ".sql" ] }, "superhtml": { "command": [ "superhtml", "lsp", "--syntax-only" ], "extensions": [ ".html", ".superhtml", ".shtml" ] }, "systemd-lsp": { "command": [ "systemd-lsp" ], "extensions": [ "*.service", "*.socket", "*.timer", "*.mount", "*.automount", "*.swap", "*.target", "*.path", "*.slice", "*.scope", "*.device", "*.container", "*.volume", "*.network", "*.kube", "*.pod", "*.build", "*.image" ] }, "taplo": { "command": [ "taplo", "lsp", "stdio" ], "extensions": [ ".toml" ] }, "tofu-ls": { "command": [ "tofu-ls", "serve" ], "extensions": [ ".tf", ".tfvar" ] } }, "mcp": { "mcp-todo-md": { "type": "local", "command": [ "npx", "@danjdewhurst/todo-md-mcp@latest" ], "environment": { "TODO_FILE_PATH": "./TODO.md" } }, "mcp-nu": { "type": "local", "command": [ "nu", "--mcp" ] }, "mcp-youtube-transcript": { "type": "local", "command": [ "uvx", "--from", "git+https://github.com/jkawamoto/mcp-youtube-transcript", "mcp-youtube-transcript", "--response-limit", "15000" ] }, "mcp-minimax": { "type": "local", "command": [ "uvx", "minimax-coding-plan-mcp", "-y" ], "environment": { "MINIMAX_API_HOST": "https://api.minimax.io", "MINIMAX_API_KEY": "{env:MINIMAX_USAGE_API_KEY}" }, "enabled": true }, "mcp-maven": { "enabled": false, "type": "local", "command": [ "podman", "run", "-i", "--rm", "arvindand/maven-tools-mcp:latest" ] }, "mcp-jvminsight": { "enabled": false, "type": "local", "command": [ "jbang", "--java", "25", "jvminsight@quarkiverse/quarkus-mcp-servers" ] }, "mcp-chrome": { "type": "local", "command": [ "npx", "-y", "chrome-devtools-mcp@latest", "--no-usage-statistics" ] }, "mcp-firefox": { "type": "local", "command": [ "npx", "-y", "firefox-devtools-mcp@latest" ] }, "mcp-context7": { "headers": { "CONTEXT7_API_KEY": "{env:CONTEXT7_TOKEN}" }, "type": "remote", "url": "https://mcp.context7.com/mcp" }, "mcp-github": { "headers": { "Authorization": "bearer {env:GITHUB_PAT_TOKEN_LLM}" }, "type": "remote", "url": "https://api.githubcopilot.com/mcp" } } }