-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathopencode.json
More file actions
60 lines (60 loc) · 1.26 KB
/
opencode.json
File metadata and controls
60 lines (60 loc) · 1.26 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
{
"$schema": "https://opencode.ai/config.json",
"agent": {
"plan": {
"tools": {
"context7*": true,
"effect_docs*": true
}
}
},
"experimental": {
"hook": {
"file_edited": {
"*.js": [
{
"command": ["bun", "biome", "format", "--write", "{file}"]
}
],
"*.json": [
{
"command": ["bun", "biome", "format", "--write", "{file}"]
}
],
"*.jsx": [
{
"command": ["bun", "biome", "format", "--write", "{file}"]
}
],
"*.ts": [
{
"command": ["bun", "biome", "format", "--write", "{file}"]
}
],
"*.tsx": [
{
"command": ["bun", "biome", "format", "--write", "{file}"]
}
]
},
"session_completed": [
{
"command": ["afplay", "/System/Library/Sounds/Glass.aiff"]
}
]
}
},
"layout": "stretch",
"mcp": {
"context7": {
"command": ["bunx", "-y", "@upstash/context7-mcp@latest"],
"enabled": true,
"type": "local"
},
"effect-docs": {
"command": ["bunx", "-y", "effect-mcp"],
"enabled": true,
"type": "local"
}
}
}