Files
.dotfiles/.config/opencode/opencode.jsonc

58 lines
1.5 KiB
JSON

{
"$schema": "https://opencode.ai/config.json",
"permission": {
"edit": "ask",
"bash": {
"*": "ask",
"ctx7 *": "allow",
"tvly *": "allow",
"which *": "allow",
"ls *": "allow"
},
"webfetch": "ask",
"read": {
"*": "ask",
"/home/jojo/.config/fish/config.fish": "allow",
"**/compose.yml": "allow",
"**/compose.yaml": "allow",
"**/SKILL.md": "allow",
"**/PLAN.md": "allow",
"/home/jojo/.config/opencode/opencode.jsonc": "allow"
},
"grep": "ask",
"glob": "allow",
"list": "ask",
"skill": {
"*": "ask",
"context7-cli": "allow"
},
"todowrite": "allow",
"todoread": "allow",
"websearch": "ask"
},
"agent": {
"plan": {
"permission": {
"edit": "deny",
"bash": {
"*": "ask",
"cat *>*": "deny",
"sed *": "deny",
"ctx7 *": "allow"
}
}
}
},
// "mcp": {
// "exa": {
// "type": "remote",
// "url": "https://mcp.exa.ai/mcp?exaApiKey={env:EXA_API_KEY}",
// "enabled": true,
// },
// },
"instructions": [
"/home/jojo/.config/opencode/rules/*.md"
],
"plugin": ["superpowers@git+https://github.com/obra/superpowers.git"]
}