-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopencode.json
More file actions
105 lines (105 loc) · 2.84 KB
/
opencode.json
File metadata and controls
105 lines (105 loc) · 2.84 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
{
"$schema": "https://opencode.ai/config.json",
"agent": {
"code-reviewer": {
"description": "Reviews code for best practices and potential issues",
"mode": "subagent",
"prompt": "You are a code reviewer. Focus on security, performance, and maintainability.",
"tools": {
"write": false,
"edit": false
}
}
},
"permission": {
"bash": {
"*": "ask",
"bundle exec jekyll *": "allow",
"./scripts/convert_to_webp.sh": "allow",
"ls *": "allow",
"pwd": "allow",
"tree *": "allow",
"grep *": "allow",
"cat *": "allow",
"head *": "allow",
"tail *": "allow",
"wc *": "allow",
"which *": "allow",
"whoami": "allow",
"date": "allow",
"mkdir *": "allow",
"git status": "allow",
"git log*": "allow",
"git diff*": "allow",
"git branch*": "allow",
"git show*": "allow",
"git remote*": "allow",
"git stash*": "allow",
"rtk cargo build": "allow",
"rtk cargo check": "allow",
"rtk cargo clippy": "allow",
"rtk cargo test": "allow",
"rtk tsc": "allow",
"rtk lint": "allow",
"rtk prettier --check": "allow",
"rtk jest": "allow",
"rtk vitest": "allow",
"rtk pytest": "allow",
"rtk git status": "allow",
"rtk git remote *": "allow",
"rtk git log *": "allow",
"rtk git diff *": "allow",
"rtk git show *": "allow",
"rtk git branch *": "allow",
"rtk git fetch *": "allow",
"rtk git stash *": "allow",
"rtk gh pr view *": "allow",
"rtk gh pr checks *": "allow",
"rtk gh run list *": "allow",
"rtk git checkout *": "allow",
"rtk git add *": "allow",
"rtk git commit *": "allow",
"rtk git push *": "allow",
"rtk gh issue list": "allow",
"rtk pnpm list": "allow",
"rtk pnpm outdated": "allow",
"rtk ls *": "allow",
"rtk read *": "allow",
"rtk grep *": "allow",
"rtk find *": "allow",
"rtk err *": "allow",
"rtk log *": "allow",
"rtk json *": "allow",
"rtk deps": "allow",
"rtk env": "allow",
"rtk summary *": "allow",
"rtk diff": "allow",
"rtk gain*": "allow",
"rtk discover": "allow",
"npx skills find *": "allow",
"rtk openspec new change *": "allow",
"rtk openspec status *": "allow",
"rtk openspec instructions *": "allow",
"rtk openspec list *": "allow",
"openspec new change *": "allow",
"openspec status *": "allow",
"openspec instructions *": "allow",
"openspec list *": "allow",
"echo *": "allow"
}
},
"plugin": [
"opencode-browser"
],
"mcp": {
"browsermcp": {
"type": "local",
"command": [
"npx",
"-y",
"@browsermcp/mcp@0.1.3"
],
"enabled": true
}
}
}