-
Notifications
You must be signed in to change notification settings - Fork 30
Expand file tree
/
Copy pathopencode.json
More file actions
92 lines (92 loc) · 2.06 KB
/
opencode.json
File metadata and controls
92 lines (92 loc) · 2.06 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
{
"$schema": "https://opencode.ai/config.json",
"plugin": [
"@franlol/opencode-md-table-formatter@0.0.3",
"@mohak34/opencode-notifier@latest"
],
"default_agent": "build",
"mcp": {
"context7": {
"type": "remote",
"url": "https://mcp.context7.com/mcp",
"enabled": true
},
"exa": {
"type": "remote",
"url": "https://mcp.exa.ai/mcp",
"enabled": true,
"headers": {
"Authorization": "Bearer ${EXA_API_KEY}"
}
},
"figma-mcp-desktop": {
"type": "remote",
"url": "http://127.0.0.1:3845/mcp"
}
},
"permission": {
"*": "allow",
"bash": {
"*": "allow",
"touch *": "ask",
"mkdir *": "ask",
"rm *": "ask",
"cp *": "ask",
"mv *": "ask",
"dd *": "ask",
"sudo *": "ask",
"chmod *": "ask",
"chown *": "ask",
"curl *": "ask",
"wget *": "ask",
"npm install *": "ask",
"pip install *": "ask",
"git push": "ask",
"git reset --hard *": "ask",
"git clean *": "ask",
"reboot": "ask",
"shutdown": "ask",
"kill *": "ask",
"killall *": "ask",
"docker *": "ask",
"mkfs *": "ask",
"fdisk *": "ask",
"parted *": "ask",
"format *": "ask",
"git branch -d *": "ask",
"git branch -D *": "ask",
"git rebase *": "ask",
"npm run publish": "ask",
"brew install *": "ask",
"brew upgrade *": "ask",
"ssh *": "ask",
"scp *": "ask",
"rsync *": "ask"
},
"doom_loop": "ask",
"external_directory": "ask"
},
"provider": {
"ollama": {
"npm": "@ai-sdk/openai-compatible",
"name": "Ollama",
"options": {
"baseURL": "http://localhost:11434/v1"
},
"models": {
"glm-5.1:cloud": {
"name": "glm-5.1:cloud"
},
"glm-5:cloud": {
"name": "glm-5:cloud"
},
"glm-4.7:cloud": {
"name": "glm-4.7:cloud"
},
"gemma4:31b-cloud": {
"name": "gemma4:31b-cloud"
}
}
}
}
}