-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopencode.json
More file actions
78 lines (78 loc) · 1.83 KB
/
opencode.json
File metadata and controls
78 lines (78 loc) · 1.83 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
{
"$schema": "https://opencode.ai/config.json",
"model": "github-copilot/claude-sonnet-4",
"instructions": [
".opencode/docs/AGENT_WORKFLOW.md",
".opencode/docs/ARCHITECTURE.md",
".opencode/docs/DEV_COMMANDS.md",
".opencode/docs/DEVELOPMENT_GUIDELINES.md"
],
"agent": {
"plan": {
"model": "github-copilot/gpt-5.3-codex",
"permission": {
"bash": {
"git commit *": "deny",
"git push *": "deny"
}
}
},
"general": {
"model": "github-copilot/gemini-3.1-pro-preview",
"permission": {
"bash": {
"git commit *": "deny",
"git push *": "deny"
}
}
},
"explore": {
"model": "github-copilot/gemini-3-flash"
},
"title": {
"model": "github-copilot/gemini-3-flash"
},
"summary": {
"model": "github-copilot/gemini-3-flash"
},
"compaction": {
"model": "github-copilot/gemini-3-flash"
}
},
"permission": {
"bash": {
"*": "ask",
"git status *": "allow",
"git status": "allow",
"git diff *": "allow",
"git log *": "allow",
"git show *": "allow",
"git branch": "allow",
"git branch -v*": "allow",
"git branch --list*": "allow",
"git fetch *": "allow",
"gh pr checks*": "allow",
"gh run view*": "allow",
"gh run list*": "allow",
"git checkout *": "ask",
"git add *": "ask",
"git stash *": "ask",
"git reset *": "ask",
"git restore *": "ask",
"git merge *": "ask",
"git rebase *": "ask",
"git commit *": "deny",
"git push *": "deny",
"git push": "deny"
},
"edit": {
"*": "allow",
"opencode.json": "ask",
".opencode/**": "ask",
".husky/**": "ask"
},
"skill": {
"antivibe": "allow"
}
}
}