-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathopencode.json
More file actions
43 lines (43 loc) · 995 Bytes
/
Copy pathopencode.json
File metadata and controls
43 lines (43 loc) · 995 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
43
{
"$schema": "https://opencode.ai/config.json",
"model": "anthropic/claude-sonnet-5",
"share": "manual",
"autoupdate": "notify",
"instructions": ["AGENTS.md", "CONTRIBUTING.md"],
"permission": {
"edit": "ask",
"bash": {
"*": "ask",
"ls *": "allow",
"ls": "allow",
"cat *": "allow",
"git status*": "allow",
"git diff*": "allow",
"git log*": "allow",
"git show*": "allow",
"grep *": "allow",
"rg *": "allow",
"find . *": "allow",
"wc *": "allow",
"head *": "allow",
"tail *": "allow",
"curl *": "ask",
"rm *": "ask",
"rm -rf*": "deny",
"git push --force*": "deny",
"git reset --hard*": "deny",
"npm publish*": "deny"
},
"webfetch": "ask",
"websearch": "ask",
"external_directory": "deny"
},
"agent": {
"build": {
"model": "anthropic/claude-sonnet-5"
},
"plan": {
"model": "anthropic/claude-haiku-4-5"
}
}
}