-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopencode.jsonc
More file actions
120 lines (120 loc) · 2.75 KB
/
Copy pathopencode.jsonc
File metadata and controls
120 lines (120 loc) · 2.75 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
{
"$schema": "https://opencode.ai/config.json",
"model": "ollama/deepseek-v4-flash: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:cloud": {
"name": "deepseek-v4-flash: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": {
".hubs/**": "allow",
".opencode/**": "allow"
},
"websearch": "allow",
"webfetch": "allow",
"lsp": "allow",
"bash": "allow",
"read": "allow",
"grep": "allow",
"glob": "allow",
"skill": "allow",
"todowrite": "allow",
"question": "allow"
},
"mcp": {
"context7": {
"type": "remote",
"url": "https://mcp.context7.com/mcp",
"headers": {
"CONTEXT7_API_KEY": "{env:CONTEXT7_API_KEY}"
},
"enabled": true
}
},
"plugin": [
"./plugins/core/hooks.ts",
"./plugins/hubs-tui/index.js",
"@opencode-plugins/env-protection",
"@franlol/opencode-md-table-formatter@0.0.3"
],
"instructions": [
"AGENTS.md",
"./rules/shell_strategy.md",
"./rules/context-strategy.md",
"./rules/artifact-placement.md",
"./rules/security.md",
"./rules/karpathy-guidelines.md",
"./rules/hub-description-directive.md",
"./rules/script-elimination.md"
]
}