diff --git a/mcp_tools.toml b/mcp_tools.toml new file mode 100644 index 00000000..b6469eda --- /dev/null +++ b/mcp_tools.toml @@ -0,0 +1,4 @@ +[allowed_paths] +extra_dirs = [ + "C:/projects/gencpp", +] diff --git a/opencode.json b/opencode.json new file mode 100644 index 00000000..62aa4d66 --- /dev/null +++ b/opencode.json @@ -0,0 +1,86 @@ +{ + "$schema": "https://opencode.ai/config.json", + "model": "zai/glm-5", + "small_model": "zai/glm-4-flash", + "provider": { + "zai": { + "options": { + "timeout": 300000 + } + } + }, + "instructions": [ + "CLAUDE.md", + "conductor/product.md", + "conductor/product-guidelines.md", + "conductor/workflow.md", + "conductor/tech-stack.md" + ], + "default_agent": "tier2-tech-lead", + "mcp": { + "manual-slop": { + "type": "local", + "command": [ + "C:\\Users\\Ed\\scoop\\apps\\uv\\current\\uv.exe", + "run", + "python", + "C:\\projects\\manual_slop\\scripts\\mcp_server.py" + ], + "enabled": true, + "timeout": 30000, + "environment": { + "PYTHONPATH": "C:\\projects\\manual_slop\\src", + "GIT_TERMINAL_PROMPT": "0", + "GCM_INTERACTIVE": "never", + "GIT_ASKPASS": "echo", + "HOME": "C:\\Users\\Ed" + } + } + }, + "agent": { + "build": { + "model": "zai/glm-5", + "permission": { + "edit": "ask", + "bash": "ask" + } + }, + "plan": { + "model": "zai/glm-5", + "permission": { + "edit": "deny", + "bash": { + "*": "ask", + "git status*": "allow", + "git diff*": "allow", + "git log*": "allow" + } + } + } + }, + "permission": { + "edit": "ask", + "bash": "ask" + }, + "share": "manual", + "autoupdate": true, + "compaction": { + "auto": false, + "prune": false, + "reserved": 10000 + }, + "watcher": { + "ignore": [ + "node_modules/**", + ".venv/**", + "__pycache__/**", + "*.pyc", + ".git/**", + "logs/**", + "*.log" + ] + }, + "plugin": [ + "superpowers@git+https://github.com/obra/superpowers.git" + ] +}