Files
pi-agent-config/extensions/pi-permission-system/config.json

60 lines
1.4 KiB
JSON

{
"$schema": "https://raw.githubusercontent.com/gotgenes/pi-packages/main/packages/pi-permission-system/schemas/permissions.schema.json",
"debugLog": false,
"permissionReviewLog": true,
"yoloMode": false,
"permission": {
"*": "ask",
"path": {
"*": "allow",
"*.env": "deny",
"*.env.*": "deny",
"*.env.example": "allow"
},
"read": "allow",
"glob": "allow",
"write": "allow",
"edit": "allow",
"lens_diagnostics": "allow",
"bash": {
"*": "ask",
"cat *": "allow",
"head *": "allow",
"tail *": "allow",
"less *": "allow",
"more *": "allow",
"ls *": "allow",
"tree *": "allow",
"stat *": "allow",
"file *": "allow",
"wc *": "allow",
"du *": "allow",
"df *": "allow",
"grep *": "allow",
"egrep *": "allow",
"fgrep *": "allow",
"rg *": "allow",
"find *": "allow",
"fd *": "allow",
"sort *": "allow",
"diff *": "allow",
"cmp *": "allow",
"comm *": "allow",
"md5sum *": "allow",
"sha1sum *": "allow",
"sha256sum *": "allow",
"cksum *": "allow",
"pwd": "allow",
"git status": "allow",
"git diff *": "allow",
"git log *": "allow",
"git show *": "allow",
"git blame *": "allow",
"git ls-files *": "allow",
"git branch": "allow",
"git remote -v": "allow"
},
"external_directory": "ask"
}
}