-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathopencode.json
More file actions
127 lines (127 loc) · 3.57 KB
/
opencode.json
File metadata and controls
127 lines (127 loc) · 3.57 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
{
"$schema": "https://opencode.ai/config.json",
"plugin": [
"superpowers@git+https://github.com/obra/superpowers.git"
],
"instructions": [
".opencode/instructions/conventional-commits.md"
],
"model": "opencode/kimi-k2.6",
"small_model": "opencode/qwen3.5-plus",
"permission": {
"*": "ask",
"read": "allow",
"glob": "allow",
"grep": "allow",
"lsp": "allow",
"webfetch": "allow",
"websearch": "allow",
"codesearch": "allow",
"skill": {
"gh-issue": "allow",
"grill-me": "allow",
"ir-expert": "allow",
"spock-expert": "allow",
"systematic-debugging": "allow",
"todowrite": "allow"
},
"bash": {
"git branch *": "allow",
"git diff *": "allow",
"git show *": "allow",
"git status": "allow",
"head *": "allow",
"tail *": "allow",
"ls *": "allow",
"cat *": "allow"
}
},
"agent": {
"plan": {
"model": "opencode/claude-sonnet-4-6",
"description": "Architect: breaks down features, produces written plans, delegates implementation to build, tests to qa, and review to reviewer. Never writes code itself.",
"prompt": "{file:.opencode/prompts/architect.txt}",
"temperature": 0.2,
"steps": 40
},
"build": {
"model": "opencode/kimi-k2.6",
"description": "Implementer: executes concrete coding tasks across the repo — writing, editing, and running code. Always reads existing patterns via explore before writing anything new.",
"prompt": "{file:.opencode/prompts/build.txt}",
"temperature": 0.1,
"steps": 80,
"permission": {
"write": "allow",
"bash": {
"git add *": "allow",
"git branch *": "allow",
"git commit *": "allow",
"git diff *": "allow",
"git push *": "allow",
"git show *": "allow",
"git status *": "allow",
"head *": "allow",
"tail *": "allow",
"ls *": "allow",
"cat *": "allow",
"./gradlew *": "allow",
"gain *": "allow"
}
}
},
"qa": {
"model": "opencode/kimi-k2.5",
"description": "QA: writes tests, analyses test failures, and produces test plans. Use when code needs coverage or a test failure needs root cause analysis.",
"prompt": "{file:.opencode/prompts/qa.txt}",
"temperature": 0.1,
"steps": 60,
"permission": {
"write": "allow",
"bash": {
"git add *": "allow",
"git branch *": "allow",
"git commit *": "allow",
"git diff *": "allow",
"git push *": "allow",
"git show *": "allow",
"git status *": "allow",
"head *": "allow",
"tail *": "allow",
"ls *": "allow",
"cat *": "allow",
"./gradlew *": "allow",
"gain *": "allow"
}
}
},
"reviewer": {
"model": "opencode/minimax-m2.5-free",
"description": "Reviewer: code review and PR descriptions.",
"prompt": "{file:.opencode/prompts/reviewer.txt}",
"temperature": 0.2,
"steps": 30
},
"fast-loop": {
"model": "opencode/nemotron-3-super-free",
"description": "Fast loop: renames, formatting, repetitive edits.",
"prompt": "{file:.opencode/prompts/fast-loop.txt}",
"temperature": 0.1,
"steps": 20
}
},
"lsp": {
"kotlin-ls": {
"disabled": true
},
"kotlin-lsp": {
"command": [
"kotlin-lsp",
"--stdio"
],
"extensions": [
".kt",
".kts"
]
}
}
}