-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathopencode.json
More file actions
48 lines (48 loc) · 1.01 KB
/
opencode.json
File metadata and controls
48 lines (48 loc) · 1.01 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
{
"$schema": "https://opencode.ai/config.json",
"theme": "gruvbox",
"model": "anthropic/claude-sonnet-4-5",
"autoupdate": true,
"mcp": {
"treesitter-mcp": {
"type": "local",
"command": [
"/Users/christophmaier/Projects/treesitter-mcp/target/release/treesitter-mcp"
],
"enabled": true
},
},
"plugin": [
"opencode-gemini-auth@latest",
"@tarquinen/opencode-dcp@latest"
],
"formatter": {
"rustfmt": {
"command": [
"rustfmt",
"$FILE"
],
"extensions": [
".rs"
],
"environment": {
"RUSTUP_TOOLCHAIN": "stable"
}
},
},
"permission": {
"bash": {
"git *": "deny",
"git": "deny",
"git diff": "allow",
"git diff --staged": "allow",
"git diff --cached": "allow",
"git status": "allow",
"git status --short": "allow",
"git log --oneline -n 10": "allow",
"git log --oneline -n *": "allow",
"git show *": "allow",
"*": "allow"
}
},
}