Files
dotfiles/config/opencode/opencode.json

69 lines
2.1 KiB
JSON

{
"mcp": {
"MCP_DOCKER": {
"type": "local",
"command": [
"docker",
"mcp",
"gateway",
"run"
],
"enabled": true
}
},
"$schema": "https://opencode.ai/config.json",
"agent": {
"devops": {
"description": "Expert DevOps engineer specializing in infrastructure automation, CI/CD pipeline development, and cloud operations"
},
"security-engineer": {
"description": "Expert application security engineer specializing in threat modeling, vulnerability assessment, secure code review, and security architecture design for modern web and cloud-native applications."
},
"code-reviewer": {
"description": "Expert code reviewer who provides constructive, actionable feedback focused on correctness, maintainability, security, and performance — not style preferences."
},
"engineering-backend-architect": {
"description": "Senior backend architect specializing in scalable system design, database architecture, API development, and cloud infrastructure. Builds robust, secure, performant server-side applications and microservices"
},
"engineering-frontend-developer": {
"description": "Expert frontend developer specializing in modern web technologies, React/Vue/Angular frameworks, UI implementation, and performance optimization"
}
},
"provider": {
"LM-Studio": {
"npm": "@ai-sdk/openai-compatible",
"name": "LM Studio",
"options": {
"baseURL": "http://192.168.10.64:1234/v1",
"apiKey": "sk-lm-DcjpJf69:R5NmEIEoJWJjUDvM306y"
},
"models": {
"nvidia/nemotron-3-nano": {
"name": "Nanotron 3",
"limit": {
"context": 200000,
"output": 65536
}
}
}
}
},
"share": "disabled",
"autoupdate": "notify",
"permission": {
"bash": {
"*": "ask",
"git *": "allow",
"npm *": "allow",
"rm *": "deny",
"grep *": "allow"
},
"read": {
"*": "allow",
"*.env": "deny",
"*.env.*": "deny",
"*.env.example": "allow"
},
}
}