-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopencode.json
More file actions
34 lines (34 loc) · 917 Bytes
/
opencode.json
File metadata and controls
34 lines (34 loc) · 917 Bytes
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
{
"$schema": "https://opencode.ai/config.json",
"agent": {
"build": {
"permission": {
"bash": {
"rm -rf /": "ask",
"rm -rf /*": "ask",
"rm -rf .*": "ask",
"dd if=* of=/dev/sd*": "ask",
"mkfs* /dev/*": "ask",
"fdisk /dev/*": "ask",
"parted /dev/*": "ask",
"mount *": "ask",
"umount *": "ask",
"chown -R /": "ask",
"chmod -R 777 /": "ask",
"iptables -F": "ask",
"ufw disable": "ask",
"systemctl stop *": "ask",
"systemctl disable *": "ask",
"shutdown *": "ask",
"reboot": "ask",
"docker system prune -a": "ask",
"kubectl delete namespace *": "ask",
"git push --force": "ask",
"git push -f": "ask",
"git reset --hard": "ask",
"*": "allow"
}
}
}
}
}