-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopencode_config_file.json
More file actions
114 lines (114 loc) · 2.75 KB
/
opencode_config_file.json
File metadata and controls
114 lines (114 loc) · 2.75 KB
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
{
"__comment": "Put me in ~/.config/opencode/opencode.json",
"$schema": "https://opencode.ai/config.json",
"mcp": {
},
"plugin": [
"@plannotator/opencode@latest"
],
"permission": {
"*": "ask",
"bash": {
"*": "ask",
"bundle exec rspec *": "allow",
"bundle exec rubocop *": "allow",
"bundle info *": "allow",
"bundle list *": "allow",
"cat *": "allow",
"echo $?": "allow",
"env *": "ask",
"find *": "allow",
"gh api *": "allow",
"gh pr checks *": "allow",
"gh pr diff *": "allow",
"gh pr view *": "allow",
"gh release list *": "allow",
"gh release view *": "allow",
"gh run view *": "allow",
"git branch --show-current": "allow",
"git diff *": "allow",
"git diff": "allow",
"git grep *": "allow",
"git log *": "allow",
"git log": "allow",
"git show *": "allow",
"git status *": "allow",
"git status": "allow",
"git symbolic-ref refs/remotes/origin/HEAD": "allow",
"grep *": "allow",
"head *": "allow",
"head": "allow",
"ls *": "allow",
"mix compile *": "allow",
"mix compile": "allow",
"mix credo *": "allow",
"mix deps.get": "allow",
"mix ecto.gen.migration *": "allow",
"mix format *": "allow",
"mix format": "allow",
"mix help *": "allow",
"mix static_analysis *": "allow",
"mix test *": "allow",
"mkdir *": "allow",
"osascript -e 'display notification *": "allow",
"pip show *": "allow",
"pip3 --version": "allow",
"podman volume inspect *": "allow",
"python --version": "allow",
"python -m pytest *": "allow",
"python3 --version": "allow",
"rg *": "allow",
"sed *": "ask",
"sort *": "allow",
"tail *": "allow",
"tilt version *": "allow",
"uniq": "allow",
"wc *": "allow",
"xargs grep *": "allow"
},
"edit": {
"~/dev/": "ask",
"../": "ask",
".env": "ask",
".envrc": "ask",
"./": "allow"
},
"external_directory": {
"~/dev/": "allow",
"../": "allow"
},
"glob": {
"*": "allow",
".env": "ask",
".envrc": "ask",
".mise.toml": "ask",
"mise.toml": "ask"
},
"grep": {
"*": "allow",
".env": "ask",
".envrc": "ask",
".mise.toml": "ask",
"mise.toml": "ask"
},
"list": {
"*": "allow"
},
"read": {
"*": "ask",
"./*": "allow",
"../*": "allow",
"~/dev/*": "allow",
".env": "deny",
".envrc": "deny",
".mise.toml": "deny",
"mise.toml": "deny"
},
"task": {
"*": "ask",
"explore": "allow"
},
"todowrite": "allow",
"webfetch": "allow"
}
}