-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopencode.jsonc
More file actions
239 lines (239 loc) · 8.91 KB
/
Copy pathopencode.jsonc
File metadata and controls
239 lines (239 loc) · 8.91 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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
{
"$schema": "https://opencode.ai/config.json",
"model": "ollama/deepseek-v4-flash:0731-cloud",
"default_agent": "hubs",
"formatter": true,
"lsp": true,
"provider": {
"ollama": {
"name": "Ollama",
"npm": "@ai-sdk/openai-compatible",
"options": {
"baseURL": "http://127.0.0.1:11434/v1"
},
"models": {
"deepseek-v4-pro:cloud": {
"name": "deepseek-v4-pro:cloud",
"limit": {
"context": 1048576,
"output": 131072
}
},
"deepseek-v4-flash:0731-cloud": {
"name": "deepseek-v4-flash:0731-cloud",
"limit": {
"context": 1048576,
"output": 131072
}
},
"glm-5.2:cloud": {
"name": "glm-5.2:cloud",
"limit": {
"context": 202752,
"output": 131072
}
},
"nemotron-3-ultra:cloud": {
"name": "nemotron-3-ultra:cloud",
"limit": {
"context": 262144,
"output": 131072
}
}
}
},
"opencode-go": {
"models": {
"deepseek-v4-pro": {
"name": "deepseek-v4-pro",
"limit": {
"context": 1048576,
"output": 131072
}
},
"deepseek-v4-flash": {
"name": "deepseek-v4-flash",
"limit": {
"context": 1048576,
"output": 131072
}
},
"glm-5.2": {
"name": "glm-5.2",
"limit": {
"context": 202752,
"output": 131072
}
},
"nemotron-3-ultra": {
"name": "nemotron-3-ultra",
"limit": {
"context": 262144,
"output": 131072
}
}
}
}
},
"permission": {
"edit": {
".opencode/**": "allow"
},
"websearch": "allow",
"webfetch": "allow",
"lsp": "allow",
"bash": "allow",
"read": "allow",
"grep": "allow",
"glob": "allow",
"skill": "allow",
"task": "allow",
"todowrite": "allow",
"question": "allow"
},
"mcp": {
"context7": {
"enabled": true,
"headers": {
"CONTEXT7_API_KEY": "{env:CONTEXT7_API_KEY}"
},
"type": "remote",
"url": "https://mcp.context7.com/mcp"
},
"searxng": {
"args": [
"-y",
"mcp-searxng"
],
"command": "npx",
"enabled": true,
"env": {
"SEARXNG_URL": "https://localhost:8080"
},
"type": "stdio"
}
},
"plugin": [
"./plugins/hooks/hooks.ts",
"@opencode-plugins/env-protection",
"@franlol/opencode-md-table-formatter@0.0.3"
],
"instructions": [
"AGENTS.md",
"./rules/shell_strategy.md",
"./rules/context-strategy.md",
"./rules/file-operations.md",
"./rules/security.md",
"./rules/karpathy-guidelines.md",
"./rules/hub-description-directive.md",
"./rules/completion-guardrail.md",
"./rules/output-compression.md",
"./rules/anti-sycophancy.md"
],
"references": {
"context": {
"path": "./.opencode/context",
"description": "Durable project knowledge base — decisions, patterns, research, frameworks, and theory. Use when seeking project-specific context, ADRs, or discovered patterns."
},
"openhands": {
"repository": "All-Hands-AI/OpenHands",
"description": "OpenHands AI agent platform — reference for agent harness patterns and autonomous coding architectures",
"hidden": true
},
"caveman": {
"repository": "JuliusBrussee/caveman",
"description": "Caveman — OpenCode plugin for deterministic agent workflows. Reference for structured agent execution patterns",
"hidden": true
},
"opencode-dux": {
"repository": "bakhtiar-personal-work/opencode-dux",
"description": "opencode-dux — Agent orchestration plugin for OpenCode. Reference for orchestration architecture patterns",
"hidden": true
},
"opencode-deep-memory": {
"repository": "BD7PIL/opencode-deep-memory",
"description": "Persistent cross-session memory for OpenCode. Reference for durable memory implementations",
"hidden": true
},
"ponytail": {
"repository": "DietrichGebert/ponytail",
"description": "Ponytail — OpenCode plugin. Reference for plugin architecture and hook patterns",
"hidden": true
},
"opencode-websearch-cited": {
"repository": "ghoulr/opencode-websearch-cited",
"description": "LLM-grounded web search with citations for OpenCode. Reference for cited search integration",
"hidden": true
},
"opro": {
"repository": "google-deepmind/opro",
"description": "Optimization by PROmpting — Google DeepMind. Reference for prompt optimization research",
"hidden": true
},
"openloops": {
"repository": "hasna/loops",
"description": "OpenLoops — persistent loop and workflow runner. Reference for loop-based agent execution",
"hidden": true
},
"opencode-codebase-index": {
"repository": "Helweg/opencode-codebase-index",
"description": "Open Manifold — multi-agent development system. Reference for multi-agent architecture and persistent knowledge",
"hidden": true
},
"relearning-flow": {
"repository": "kedbin/relearning-flow",
"description": "Relearning Flow — OpenCode skills for AI-assisted content creation. Reference for skill workflow patterns",
"hidden": true
},
"lit-search-cite": {
"repository": "luffysolution-svg/lit-search-cite",
"description": "Multi-source academic literature search and citation skill. Reference for research skill patterns",
"hidden": true
},
"mastra": {
"repository": "mastra-ai/mastra",
"description": "Mastra — observational memory framework. Reference for agent memory and observation patterns",
"hidden": true
},
"karpathy-skills": {
"repository": "multica-ai/andrej-karpathy-skills",
"description": "Karpathy Guidelines skills collection. Reference for coding guideline patterns",
"hidden": true
},
"superpowers": {
"repository": "obra/superpowers",
"description": "Systematic debugging methodology. Reference for structured debugging approaches",
"hidden": true
},
"group-income": {
"repository": "okTurtles/group-income",
"description": "Short Leash AI coding method. Reference for constrained AI execution patterns",
"hidden": true
},
"agent-systems-handbook": {
"repository": "Prompthon-IO/agent-systems-handbook",
"description": "Agent Systems Handbook. Reference for agent architecture patterns and best practices",
"hidden": true
},
"arcanum": {
"repository": "runecraftai/arcanum",
"description": "Arcanum — Runecraft ecosystem monorepo. Reference for ecosystem architecture patterns",
"hidden": true
},
"bros-harness": {
"repository": "Thanhbinh1905/bros",
"description": "BROS Harness — OpenCode plugin for disciplined agent delivery. Reference for agent delivery workflows",
"hidden": true
},
"qmd": {
"repository": "tobi/qmd",
"description": "QMD — LLM Wiki pattern by Karpathy. Reference for wiki and knowledge base architecture",
"hidden": true
},
"opencode-memoir": {
"repository": "zhangfengcdt/memoir",
"description": "opencode-memoir — Git-versioned memory for OpenCode. Reference for persistent memory implementations",
"hidden": true
}
},
}