Question
Hi, I am desperate.
I have my opencode.json permissions like this:
{
"permission": {
"*": "allow",
"bash": {
"*": "allow",
"mv": "allow",
"cp": "allow",
"rm": "allow",
"mkdir": "allow",
"touch": "allow",
"cd": "allow",
"bun": "allow",
"npm": "allow",
"npx": "allow",
"php": "allow",
"node": "allow",
"grep": "allow",
"cat": "allow"
},
"edit": "allow",
"read": {
"*": "allow",
"*.env": "allow",
"*.env.*": "allow"
},
"external_directory": "allow",
"doom_loop": "allow"
}
}
And it asks to execute tests, use cp, use mv,... like...
Even tried configure it according to documentation:
"permission": "allow" (also {"*": "allow"})
without any success. even if i use "allow for this session" 3 minutes later it asks for same permission again and again and again.
Anyone can guide me into right direction?
-- edit
Only way i managed to bypass it is using webui where in settings set autoapprove
Question
Hi, I am desperate.
I have my opencode.json permissions like this:
{ "permission": { "*": "allow", "bash": { "*": "allow", "mv": "allow", "cp": "allow", "rm": "allow", "mkdir": "allow", "touch": "allow", "cd": "allow", "bun": "allow", "npm": "allow", "npx": "allow", "php": "allow", "node": "allow", "grep": "allow", "cat": "allow" }, "edit": "allow", "read": { "*": "allow", "*.env": "allow", "*.env.*": "allow" }, "external_directory": "allow", "doom_loop": "allow" } }And it asks to execute tests, use cp, use mv,... like...
Even tried configure it according to documentation:
"permission": "allow" (also {"*": "allow"})
without any success. even if i use "allow for this session" 3 minutes later it asks for same permission again and again and again.
Anyone can guide me into right direction?
-- edit
Only way i managed to bypass it is using webui where in settings set autoapprove