-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdotfile.opencode.json
More file actions
105 lines (105 loc) · 2.16 KB
/
dotfile.opencode.json
File metadata and controls
105 lines (105 loc) · 2.16 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
93
94
95
96
97
98
99
100
101
102
103
104
105
{
"$schema": "https://opencode.ai/config.json",
"autoupdate": true,
"server": {
"hostname": "127.0.0.1",
"mdns": false
},
"permission": {
"external_directory": {
"*": "deny",
"~/workspace/**": "allow",
"~/src/**": "allow",
"~/.local/share/mise/**:": "allow"
},
"read": {
"*.env": "deny",
"*.env.*": "deny",
"~/.ssh/*": "deny",
"~/.aws/*": "deny",
"~/.gnupg/*": "deny",
"~/.netrc": "deny"
},
"bash": {
"*": "ask",
"echo *": "allow",
"find *": "allow",
"grep *": "allow",
"git checkout *": "allow",
"git status *": "allow",
"git branch *": "allow",
"git add *": "allow",
"git commit *": "allow",
"cat *": "allow",
"git log *": "allow",
"head *": "allow",
"awk *": "allow",
"sleep *": "allow",
"glab mr view *": "allow",
"git diff *": "allow",
"git show *": "allow",
"sed *": "allow",
"ls *": "allow",
"bundle *": "allow",
"which *": "allow",
"rg *": "allow",
"sort *": "allow",
"git rebase *": "allow"
},
"edit": "ask",
"webfetch": "allow"
},
"provider": {
"gitlab": {
"models": {
"duo-chat-haiku-4-5": {
"cost": {
"input": 0.8,
"output": 4
}
},
"duo-chat-sonnet-4-5": {
"cost": {
"input": 3,
"output": 15
}
},
"duo-chat-opus-4-5": {
"cost": {
"input": 15,
"output": 75
}
},
"duo-chat-sonnet-4-6": {
"cost": {
"input": 3,
"output": 15
}
},
"duo-chat-opus-4-6": {
"cost": {
"input": 15,
"output": 75
}
}
}
}
},
"share": "disabled",
"model": "gitlab/duo-chat",
"plugin": [
"@gitlab/opencode-gitlab-plugin"
],
"mcp": {
"lazy-mcp": {
"type": "local",
"command": [
"npx",
"lazy-mcp@latest",
"--config",
"~/.config/lazy-mcp/servers.json"
],
"enabled": true
}
}
}