-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopencode.json
More file actions
83 lines (83 loc) · 1.54 KB
/
opencode.json
File metadata and controls
83 lines (83 loc) · 1.54 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
{
"$schema": "https://opencode.ai/config.json",
"default_agent": "plan",
"agent": {
"plan": {
"permission": {
"github_issue_write": "ask",
"github_projects_write": "ask",
"github_sub_issue_write": "ask"
}
}
},
"formatter": {
"prettier": {
"disabled": true
},
"oxfmt": {
"command": ["oxfmt", "$FILE"],
"extensions": [
".ts",
".tsx",
".js",
".jsx",
".json",
".md",
".jsonc",
".yaml",
".yml",
".toml",
".html"
]
}
},
"mcp": {
"tanstack": {
"type": "local",
"command": ["bunx", "--bun", "@tanstack/cli", "mcp"],
"enabled": true
},
"shadcn": {
"type": "local",
"command": ["bunx", "--bun", "shadcn@latest", "mcp"],
"enabled": true
},
"just": {
"type": "local",
"command": ["just-mcp", "--stdio"],
"enabled": true
},
"context7": {
"type": "remote",
"url": "https://mcp.context7.com/mcp",
"headers": {
"CONTEXT7_API_KEY": "{env:CONTEXT7_API_KEY}",
"Accept": "application/json, text/event-stream"
},
"enabled": true
},
"github": {
"type": "remote",
"url": "https://api.githubcopilot.com/mcp/",
"oauth": {
"clientId": "{env:GITHUB_CLIENT_ID}",
"clientSecret": "{env:GITHUB_CLIENT_SECRET}"
},
"headers": {
"X-MCP-Toolsets": "context,repos,issues,users,projects,pull_requests,labels"
}
}
},
"plugin": ["@tarquinen/opencode-dcp@latest"],
"watcher": {
"ignore": [
"node_modules/**",
"dist/**",
".git/**",
".tanstack/**",
".direnv/**",
".output/**",
"result/**"
]
}
}