Repository navigation
Expand file tree
/
Copy pathopencode.json
More file actions
65 lines (65 loc) · 1.81 KB
/
Copy pathopencode.json
File metadata and controls
65 lines (65 loc) · 1.81 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
{
"$schema": "https://opencode.ai/config.json",
"default_agent": "librarian",
"lsp": true,
"model": "opencode-go/glm-5.3-flash",
"permission": {
"read": "allow",
"glob": "allow",
"grep": "allow",
"external_directory": {
"*": "deny",
"/home/rudra/Projects/OpenCode-Vault/**": "allow",
"/home/rudra/Projects/OpenCode-Vault-tasks/**": "allow",
"/home/rudra/Projects/AndroidOS/**": "allow",
"/home/rudra/Projects/serp/**": "allow",
"/home/rudra/Projects/recruiting-hr/**": "allow",
"/home/rudra/dotfiles/**": "allow",
"/home/rudra/dotfiles-tasks/**": "allow",
"/home/rudra/.config/opencode/**": "allow",
"/home/rudra/Projects/ability-lab/**": "allow",
"/tmp/opencode/**": "allow",
"/home/rudra/.local/state/opencode/**": "allow",
"/home/rudra/.local/share/m-code-data/**": "allow",
"**/.env*": "deny",
"**/credentials.json": "deny",
"**/*.pem": "deny",
"**/*.key": "deny",
"**/id_rsa*": "deny",
"**/id_ed25519*": "deny"
},
"bash": {
"*": "allow",
"sudo *": "deny",
"chown *": "deny",
"chmod *": "deny",
"mkfs*": "deny",
"shutdown*": "deny",
"reboot*": "deny",
"systemctl stop*": "deny",
"systemctl disable*": "deny",
"systemctl mask*": "deny",
"git push --force*": "deny",
"git push -f*": "deny",
"git branch -D*": "deny",
"git tag -d*": "deny",
"git reset --hard*": "ask",
"git clean*": "ask",
"rm -rf*": "deny",
"rm -fr*": "deny",
"rm*": "ask",
"ssh*": "ask"
}
},
"agent": {
"general": {
"model": "opencode-go/deepseek-v4-pro"
},
"build": {
"model": "opencode-go/gpt-5.6-luna"
},
"explore": {
"model": "opencode-go/glm-5.3-flash"
}
}
}