-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathopencode.jsonc
More file actions
99 lines (99 loc) · 2.45 KB
/
opencode.jsonc
File metadata and controls
99 lines (99 loc) · 2.45 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
{
"$schema": "https://opencode.ai/config.json",
"default_agent": "plan",
"share": "disabled",
"autoupdate": "notify",
"mcp": {
"context7": {
"type": "remote",
"url": "https://mcp.context7.com/mcp",
"enabled": false,
},
},
"model": "opencode-go/kimi-k2.5",
"permission": {
"read": {
"*": "allow",
"*.env": "deny",
"*.env.*": "deny",
"*.env.example": "allow",
"*.envrc.*": "deny",
"*.envrc.example": "allow",
},
"edit": "allow",
"glob": "allow",
"grep": "allow",
"list": "allow",
"lsp": "allow",
"todowrite": "allow",
"todoread": "allow",
"codesearch": "allow",
"bash": {
"*": "ask",
"cp *": "allow",
"file *": "allow",
"find *": "allow",
"git blame *": "allow",
"git diff *": "allow",
"git log *": "allow",
"git rev-parse *": "allow",
"git show *": "allow",
"git status *": "allow",
"go build *": "allow",
"go doc *": "allow",
"go env *": "allow",
"go fmt *": "allow",
"go test *": "allow",
"gofmt *": "allow",
"goimports *": "allow",
"grep *": "allow",
"head *": "allow",
"ls *": "allow",
"make dev *": "allow",
"make fmt *": "allow",
"make lint *": "allow",
"make test *": "allow",
"make vet *": "allow",
"mkdir *": "allow",
"mv *": "allow",
"pwd *": "allow",
"rg *": "allow",
"ripgrep *": "allow",
"shellcheck *": "allow",
"stat *": "allow",
"tail *": "allow",
"terraform init *": "allow",
"terraform plan *": "allow",
"terraform state list *": "allow",
"terraform validate *": "allow",
"wc *": "allow",
},
"skill": {
"*": "ask",
"ai-tdd": "allow",
"brainstorm": "ask", // some harnesses are too eager to use this one, so set to 'ask'
"docx": "allow",
"frontend-design": "allow",
"frontend-slides": "allow",
"opencode-config": "allow",
"opencode-plugin": "allow",
"pdf": "allow",
"prd": "allow",
"review-atodo": "allow",
"web-design-guidelines": "allow",
"writing-skills": "allow",
"xlsx": "allow",
},
"task": {
"*": "ask",
"explore": "allow",
"code-review": "allow",
},
"websearch": "ask",
"question": "allow",
"doom_loop": "ask",
"external_directory": "ask",
"context7*": "allow",
"webfetch": "ask",
},
}