feat: vendor permission auto-review source

This commit is contained in:
叶林立
2026-08-19 07:19:50 +08:00
parent 04ad87b54d
commit cf4fef10b8
42 changed files with 10311 additions and 103 deletions
+20
View File
@@ -4,6 +4,9 @@
"permissionReviewLog": true,
"yoloMode": false,
"doublePressToConfirm": true,
"authorizerChain": [
"auto-review"
],
"permission": {
"*": "allow",
"grep": "allow",
@@ -43,6 +46,7 @@
"grep*": "deny",
"find*": "deny",
"fd*": "deny",
"git *": "ask",
"git status*": "allow",
"git diff*": "allow",
"git log*": "allow",
@@ -54,6 +58,22 @@
"git branch --show-current*": "allow",
"git remote -v": "allow",
"git remote get-url*": "allow",
"npm install *": "ask",
"npm add *": "ask",
"npm uninstall *": "ask",
"npm update *": "ask",
"pnpm install *": "ask",
"pnpm add *": "ask",
"pnpm uninstall *": "ask",
"pnpm update *": "ask",
"bun install *": "ask",
"bun add *": "ask",
"bun uninstall *": "ask",
"bun update *": "ask",
"pip install *": "ask",
"pip3 install *": "ask",
"brew install *": "ask",
"brew uninstall *": "ask",
"rm *": "ask",
"/bin/rm *": "ask",
"rmdir *": "ask",