Skip to content

Commit 1b25660

Browse files
chore: update opencode perms
1 parent ce36348 commit 1b25660

1 file changed

Lines changed: 49 additions & 0 deletions

File tree

opencode.jsonc

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
{
2+
"$schema": "https://opencode.ai/config.json",
3+
"permission": {
4+
"edit": "allow",
5+
"webfetch": "allow",
6+
"bash": {
7+
"*": "ask",
8+
"backlog *": "allow",
9+
"cargo *": "allow",
10+
"cat *": "allow",
11+
"cp *": "allow",
12+
"date *": "allow",
13+
"deno fmt *": "allow",
14+
"deno lint *": "allow",
15+
"echo *": "allow",
16+
"fd *": "allow",
17+
"find *": "allow",
18+
"git add *": "allow",
19+
"git commit *": "allow",
20+
"git diff *": "allow",
21+
"git log *": "allow",
22+
"git push *": "allow",
23+
"git push --force*": "ask",
24+
"git rev-parse *": "allow",
25+
"git reset --hard*": "ask",
26+
"git show *": "allow",
27+
"git status *": "allow",
28+
"grep *": "allow",
29+
"head *": "allow",
30+
"jq *": "allow",
31+
"ls *": "allow",
32+
"mkdir *": "allow",
33+
"mise *": "allow",
34+
"mv *": "allow",
35+
"npm *": "allow",
36+
"npx *": "allow",
37+
"prek *": "allow",
38+
"rg *": "allow",
39+
"rm *": "ask",
40+
"sudo *": "ask",
41+
"tail *": "allow",
42+
"task *": "allow",
43+
"touch *": "allow",
44+
"tree *": "allow",
45+
"wc *": "allow",
46+
"yq *": "allow"
47+
}
48+
}
49+
}

0 commit comments

Comments
 (0)