more always allow perms

This commit is contained in:
2026-04-04 13:44:36 +03:00
parent d955457f12
commit 33aae22e5b

View File

@@ -2,15 +2,29 @@
"$schema": "https://opencode.ai/config.json",
"permission": {
"edit": "ask",
"bash": "ask",
"bash": {
"*": "ask",
"ctx7 *": "allow"
},
"webfetch": "ask",
"read": "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": "ask",
"glob": "allow",
"list": "ask",
"skill": "ask",
"todowrite": "ask",
"todoread": "ask",
"skill": {
"*": "ask",
"context7-cli": "allow"
},
"todowrite": "allow",
"todoread": "allow",
"websearch": "ask"
},
"agent": {
@@ -19,18 +33,20 @@
"edit": "deny",
"bash": {
"*": "ask",
"cat *>*": "deny"
"cat *>*": "deny",
"sed *": "deny",
"ctx7 *": "allow"
}
}
}
},
"mcp": {
"exa": {
"type": "remote",
"url": "https://mcp.exa.ai/mcp?exaApiKey={env:EXA_API_KEY}",
"enabled": true,
},
},
// "mcp": {
// "exa": {
// "type": "remote",
// "url": "https://mcp.exa.ai/mcp?exaApiKey={env:EXA_API_KEY}",
// "enabled": true,
// },
// },
"instructions": [
"/home/jojo/.config/opencode/rules/*.md"
],