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