-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopencode.jsonc
More file actions
85 lines (85 loc) · 2.35 KB
/
Copy pathopencode.jsonc
File metadata and controls
85 lines (85 loc) · 2.35 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
{
"$schema": "https://opencode.ai/config.json",
"model": "ollama/deepseek-v4-flash:cloud",
"default_agent": "hubs",
"formatter": true,
"lsp": true,
"provider": {
"opencode": {
"options": {}
},
"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.1:cloud": {
"name": "glm-5.1:cloud",
"limit": {
"context": 202752,
"output": 131072
}
},
"nemotron-3-ultra:cloud": {
"name": "nemotron-3-ultra:cloud",
"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/*"
]
}