-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopencode.json
More file actions
42 lines (42 loc) · 919 Bytes
/
Copy pathopencode.json
File metadata and controls
42 lines (42 loc) · 919 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{
"$schema": "https://opencode.ai/config.json",
"permission": {
"*": "ask",
"bash": {
"*": "ask",
"ls *": "allow",
"pwd": "allow",
"cat *": "allow",
"head *": "allow",
"tail *": "allow",
"wc *": "allow",
"grep *": "allow",
"find *": "allow",
"git status *": "allow",
"git diff *": "allow",
"git log *": "allow",
"git branch *": "allow",
"git remote *": "allow",
"python3 *": "ask",
"pip *": "deny",
"pip3 *": "deny",
"brew *": "deny",
"npm *": "deny",
"yarn *": "deny",
"rm *": "deny",
"sudo *": "deny",
"chmod *": "deny",
"chown *": "deny"
},
"read": {
"*": "allow",
"*.env": "deny",
"*.env.*": "deny",
"*.env.example": "allow"
},
"edit": "ask",
"write": "ask",
"webfetch": "allow",
"websearch": "allow"
}
}