2026-03-16 17:58:57 +08:00
|
|
|
{
|
|
|
|
|
"permissions": {
|
2026-03-18 16:32:27 +08:00
|
|
|
"defaultMode": "acceptEdits",
|
2026-03-16 17:58:57 +08:00
|
|
|
"allow": [
|
2026-03-18 16:32:27 +08:00
|
|
|
"Read(./)",
|
|
|
|
|
"Edit(./)",
|
|
|
|
|
"Write(./)",
|
|
|
|
|
|
|
|
|
|
"Bash(npm run *)",
|
|
|
|
|
"Bash(npm test *)",
|
|
|
|
|
"Bash(npm run build *)",
|
|
|
|
|
"Bash(npm view *)",
|
|
|
|
|
"Bash(npm list *)",
|
2026-04-20 17:54:26 +08:00
|
|
|
"Bash(pnpm install *)",
|
|
|
|
|
"Bash(pnpm add *)",
|
|
|
|
|
"Bash(pnpm build *)",
|
2026-03-18 16:32:27 +08:00
|
|
|
"Bash(pnpm run *)",
|
|
|
|
|
"Bash(pnpm test *)",
|
|
|
|
|
"Bash(pnpm run build *)",
|
|
|
|
|
"Bash(pnpm view *)",
|
|
|
|
|
"Bash(pnpm list *)",
|
|
|
|
|
"Bash(git diff *)",
|
|
|
|
|
"Bash(git status *)",
|
|
|
|
|
"Bash(git log *)",
|
|
|
|
|
"Bash(grep *)",
|
|
|
|
|
|
|
|
|
|
"Bash(pnpm --filter @r-utils/vue3 add vue)",
|
2026-03-16 17:58:57 +08:00
|
|
|
"Bash(printf 'npm run lint-staged\\\\nnpm test\\\\n')",
|
2026-03-17 14:42:03 +08:00
|
|
|
"Bash(printf 'npx commitlint --edit \"\"$1\"\"\\\\n')",
|
2026-03-18 16:32:27 +08:00
|
|
|
"Bash(pnpm update typescript)"
|
|
|
|
|
],
|
|
|
|
|
"ask": ["Read(./.env)", "Read(./.env.*)", "Read(./secrets/**)", "Bash(git push *)", "Bash(rm -rf *)"]
|
2026-03-16 17:58:57 +08:00
|
|
|
}
|
|
|
|
|
}
|