chore: 更新本地 Claude Code 权限配置

This commit is contained in:
2026-07-09 13:36:08 -07:00
parent ab327f5118
commit ea4f6799e9
+20 -3
View File
@@ -68,9 +68,26 @@
"Read(//Users/Apple/.claude/**)",
"Bash(2)",
"Bash(claude mcp:*)",
"Bash(mysql:*)"
"Bash(mysql:*)",
"Bash(curl *)",
"mcp__mysql-ppanel__mysql_query",
"Read(//Users/Apple/code_vpn/vpn/**)",
"Read(//Users/Apple/code_vpn/**)",
"Bash(perl -0pi -e 's/onValueChange=\\\\{\\\\\\(value\\\\\\) =>\\\\n\\( +\\)field\\\\.onChange\\\\\\(value === \"\" \\\\? undefined : value\\\\\\)\\\\n\\( +\\)\\\\}/onValueChange={\\(value\\) => field.onChange\\(value\\)}/g' apps/admin/src/sections/lottery/rule-editor.tsx apps/admin/src/sections/lottery/grant-dialog.tsx)",
"Bash(pnpm --filter ppanel-admin-web exec vite build)",
"Bash(echo \"EXIT:$?\")",
"Read(//tmp/**)",
"Bash(git -C /Users/Apple/code_vpn/vpn/frontend status --short apps/admin/dist apps/admin/src/routeTree.gen.ts)",
"Bash(bun x *)",
"Bash(git *)",
"Bash(echo \"tsc exit: $?\")",
"Bash(echo \"biome exit: $?\")",
"Bash(unzip -l apps/admin/dist.zip)",
"Bash(awk '/^@@ -3297/{exit} {print}' /tmp/typings-full.patch)"
]
},
"enabledMcpjsonServers": ["mysql"],
"enableAllProjectMcpServers": true
"enableAllProjectMcpServers": true,
"enabledMcpjsonServers": [
"mysql"
]
}