-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopencode.json
More file actions
80 lines (80 loc) · 2 KB
/
opencode.json
File metadata and controls
80 lines (80 loc) · 2 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
{
"$schema": "https://opencode.ai/config.json",
"autoupdate": "notify",
"permission": {
"*": "ask",
"bash": {
"*": "ask",
"yarn build": "allow",
"yarn lint *": "allow",
"yarn test *": "allow",
"pnpm build": "allow",
"pnpm lint *": "allow",
"pnpm test *": "allow"
}
},
"plugin": ["@mohak34/opencode-notifier@latest"],
"model": "github-copilot/claude-sonnet-4.6",
"mode": {
"plan": { "model": "github-copilot/claude-opus-4.6" },
"build": { "model": "github-copilot/gpt-5.3-codex" }
},
"tools": {
"lsp": true
},
"mcp": {
"context7": {
"type": "local",
"command": ["npx", "-y", "@upstash/context7-mcp"],
"environment": {
"CONTEXT7_API_KEY": "${CONTEXT7_API_KEY}"
},
"enabled": true
},
"chrome-devtools": {
"type": "local",
"command": [
"bunx",
"chrome-devtools-mcp@latest",
"--autoConnect",
"--channel=beta"
],
"enabled": true
}
},
"provider": {
"ollama": {
"npm": "@ai-sdk/openai-compatible",
"name": "Ollama (local)",
"options": {
"baseURL": "http://localhost:11434/v1"
},
"models": {
"qwen2.5-coder:7b": { "name": "Qwen2.5 Coder 7B (local)" },
"qwen2.5-coder:1.5b": { "name": "Qwen2.5 Coder 1.5B (local)" }
}
}
},
"agent": {
"tiny": {
"description": "Very fast local model for text-only tasks, summaries, explanations",
"mode": "subagent",
"model": "ollama/qwen2.5-coder:1.5b"
},
"fast": {
"description": "Fast local helper for boilerplate, quick refactors, tiny questions",
"mode": "subagent",
"model": "github-copilot/gpt-5-mini"
},
"deep": {
"description": "Long-context planning, specs, edge-case analysis",
"mode": "subagent",
"model": "github-copilot/claude-opus-4.6",
"permission": {
"bash": "allow",
"edit": "allow",
"skill": { "*": "allow" }
}
}
}
}