-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathopencode.jsonc
More file actions
104 lines (88 loc) · 2.51 KB
/
Copy pathopencode.jsonc
File metadata and controls
104 lines (88 loc) · 2.51 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
{
"$schema": "https://opencode.ai/config.json",
"plugin": [
"@mohak34/opencode-notifier@latest",
// plan-post-approval is loaded explicitly with its options here (not auto-discovered),
// so the handoff knob never reaches a provider request body (fixes GLM/Vertex/Fireworks
// "Extra inputs are not permitted" errors).
["./plugin-src/plan-post-approval.ts", { "plan_post_approval_handoff_agent": "orchestrator" }],
],
"provider": {
"opencode": {},
"deepseek": {
"models": {
"deepseek-v4-pro": {
"reasoningEffort": "max",
},
"deepseek-v4-flash": {
"reasoningEffort": "max",
},
},
},
},
"default_agent": "orchestrator",
"share": "manual",
"autoupdate": true,
// Minimal workspace baseline; per-agent tool policy lives in agents/<id>.md frontmatter. If you want it more permissive you can copy to your project workspace ./opencode/opencode.jsonc with "allow" instead
"permission": {
"bash": {
"*": "ask",
},
"edit": "ask",
},
// Strong models for the primary agents
"agent": {
"build": {
"model": "opencode-go/deepseek-v4-pro",
},
"plan": {
"model": "opencode-go/deepseek-v4-pro",
},
"orchestrator": {
"model": "opencode-go/deepseek-v4-pro",
"temperature": 0.2,
},
"plan-runner": {
// stick with pro here aswell if you accept the speed vs quality tradeoff
"model": "opencode-go/deepseek-v4-flash",
"temperature": 0.2,
},
// Cheap model for subagents (defined in agents/<id>.md)
"code-explorer": {
"model": "opencode-go/deepseek-v4-flash",
"temperature": 0.2,
},
"code-executor": {
"model": "opencode-go/deepseek-v4-flash",
"temperature": 0.1,
},
"test-verifier": {
"model": "opencode-go/deepseek-v4-flash",
"temperature": 0.1,
},
"spec-critic": {
"model": "opencode-go/deepseek-v4-flash",
"temperature": 0.4,
},
"security-reviewer": {
"model": "opencode-go/deepseek-v4-flash",
"temperature": 0.1,
},
"docs-reviewer": {
"model": "opencode-go/deepseek-v4-flash",
"temperature": 0.1,
},
"code-reviewer": {
"model": "opencode-go/deepseek-v4-flash",
"temperature": 0.1,
},
"api-docs-researcher": {
"model": "opencode-go/deepseek-v4-flash",
"temperature": 0.1,
},
"host-security-investigator": {
"model": "opencode-go/deepseek-v4-flash",
"temperature": 0.1,
},
},
}