-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopencode.json.example
More file actions
58 lines (58 loc) · 1.39 KB
/
Copy pathopencode.json.example
File metadata and controls
58 lines (58 loc) · 1.39 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
{
"$schema": "https://opencode.ai/config.json",
"model": "${MODEL_SMART}",
"small_model": "${MODEL_CHEAP}",
"autoupdate": true,
"instructions": [
"~/.config/opencode/rules/*.md"
],
"permission": {
"edit": "allow",
"write": "allow",
"read": "allow",
"glob": "allow",
"grep": "allow",
"webfetch": "allow",
"skill": {
"*": "allow"
},
"bash": {
"rm -rf /": "deny",
"rm -rf /*": "deny",
"sudo *": "deny",
"tail *": "allow",
"git commit*": "deny",
"git push*": "deny",
"git pull*": "deny",
"git add*": "deny",
"git merge*": "deny",
"git rebase*": "deny",
"git checkout*": "deny",
"git reset*": "deny",
"git stash*": "deny",
"git tag*": "deny",
"docker *": "deny",
"git diff*": "allow",
"git log*": "allow",
"git status*": "allow",
"git branch*": "allow",
"git show*": "allow",
"*": "allow"
}
},
"formatter": {
"phpcbf": {
"command": ["ssh", "web", "./vendor/bin/phpcbf", "--standard=Drupal,DrupalPractice", "$FILE"],
"extensions": [".php", ".module", ".inc", ".install", ".theme", ".profile"]
}
},
"mcp": {
"playwright": {
"type": "remote",
"url": "http://playwright-mcp:8931/mcp",
"enabled": true,
"timeout": 30000
}
},
"plugin": ["@mohak34/opencode-notifier@latest"]
}