-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathopencode.jsonc
More file actions
50 lines (46 loc) · 1.18 KB
/
Copy pathopencode.jsonc
File metadata and controls
50 lines (46 loc) · 1.18 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
{
"$schema": "https://opencode.ai/config.json",
"permission": {
"edit": "ask",
"task": "allow",
"todowrite": "allow",
"lsp": "allow",
"webfetch": "allow",
"websearch": "allow",
"read": "allow",
"glob": "allow",
"grep": "allow",
"list": "allow",
"bash": {
"git status*": "allow",
"git log*": "allow",
"git diff*": "allow",
"git show*": "allow",
"git branch*": "allow",
"git remote -v": "allow",
"git config --get*": "allow",
"ls*": "allow",
"cat*": "allow",
"pwd": "allow",
"echo*": "allow",
"find*": "allow",
"grep*": "allow",
"head*": "allow",
"tail*": "allow",
"which*": "allow",
"*": "ask",
},
},
"lsp": true,
"plugin": ["@dietrichgebert/ponytail", "opencode-cmd-provider"],
// Context7 works without a key (lower rate limits). For higher limits, register once
// via OAuth with `npx ctx7 setup --opencode`, then add:
// "headers": { "CONTEXT7_API_KEY": "{file:~/.config/opencode/context7.key}" }
"mcp": {
"context7": {
"type": "remote",
"url": "https://mcp.context7.com/mcp",
"enabled": true,
},
},
}