mirror of
https://github.com/SikongJueluo/Mini-Nav.git
synced 2026-07-12 20:15:31 +08:00
chore(project): adjust safety rules
This commit is contained in:
@@ -1,20 +1,16 @@
|
||||
{
|
||||
"$schema": "https://opencode.ai/config.json",
|
||||
"permission": {
|
||||
"bash": {
|
||||
"python": "deny",
|
||||
"python *": "deny",
|
||||
"make": "deny",
|
||||
"make *": "deny",
|
||||
"just remote *": "ask",
|
||||
"verilator": "deny",
|
||||
"verilator *": "deny"
|
||||
},
|
||||
"read": {
|
||||
".env": "deny"
|
||||
},
|
||||
"edit": {
|
||||
".env": "deny"
|
||||
"$schema": "https://opencode.ai/config.json",
|
||||
"permission": {
|
||||
"bash": {
|
||||
"python": "deny",
|
||||
"python *": "deny",
|
||||
"just remote *": "ask"
|
||||
},
|
||||
"read": {
|
||||
".env": "deny"
|
||||
},
|
||||
"edit": {
|
||||
".env": "deny"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user