chore(claude): 补充允许的工具调用白名单

This commit is contained in:
TianyangZhang 2026-03-31 08:47:42 +08:00
parent 1385285a6b
commit 7f4a3b4b67
1 changed files with 15 additions and 1 deletions

View File

@ -54,7 +54,21 @@
"Bash(\"/c/Program Files/PostgreSQL/16/bin/psql.exe\" -U postgres -c \"SELECT version\\(\\);\" 2>&1)",
"Bash(PGPASSWORD=zcDsj@2024 \"/c/Program Files/PostgreSQL/16/bin/psql.exe\" -U postgres -c \"SELECT version\\(\\);\" 2>&1)",
"Bash(PGPASSWORD=zcDsj@2024 \"/c/Program Files/PostgreSQL/16/bin/psql.exe\" -U postgres -c \"CREATE DATABASE offer_db;\" 2>&1)",
"Bash(/c/software/python3_10/python manage.py migrate)"
"Bash(/c/software/python3_10/python manage.py migrate)",
"Bash(python manage.py shell -c \"from django.contrib.auth import get_user_model; User = get_user_model\\(\\); u = User.objects.filter\\(role=''superadmin''\\).first\\(\\); print\\(u.username if u else ''No superadmin found''\\)\")",
"Bash(python manage.py shell -c \":*)",
"Bash(python manage.py makemigrations jobs)",
"Bash(python manage.py migrate jobs)",
"Bash(source .venv/Scripts/activate)",
"Bash(python manage.py shell -c \"from apps.jobs.models import Job; count = Job.objects.count\\(\\); Job.objects.all\\(\\).delete\\(\\); print\\(f''已删除 {count} 条岗位记录''\\)\")",
"Bash(python -c \":*)",
"Bash(python -c \"import sys; sys.stdout.buffer.write\\(sys.stdin.buffer.read\\(\\)\\)\")",
"WebFetch(domain:www.iguopin.com)",
"mcp__chrome-devtools__navigate_page",
"mcp__chrome-devtools__take_snapshot",
"mcp__chrome-devtools__click",
"Bash(python import_jobs.py)",
"Bash(claude plugin:*)"
]
}
}