93 lines
6.8 KiB
JSON
93 lines
6.8 KiB
JSON
{
|
|
"permissions": {
|
|
"allow": [
|
|
"Bash(pnpm add *)",
|
|
"WebSearch",
|
|
"Bash(pnpm dev:h5)",
|
|
"WebFetch(domain:localhost)",
|
|
"WebFetch(domain:nutui-uniapp.pages.dev)",
|
|
"Bash(sleep 5 && cat /tmp/dev-output.log 2>/dev/null | grep -E \"\\(ready|Deprecation|error\\)\" | head -20 || echo \"等待编译...\")",
|
|
"Read(//tmp/**)",
|
|
"Bash(tee /tmp/dev-full.log)",
|
|
"Bash(cat \"/c/Users/admin/AppData/Local/Temp/1/claude/d--project-company-rent/1d30d2db-5aa9-4b4d-b63c-d0b878c123c6/tasks/brj0kvxt2.output\" | grep -i \"deprecation\" | wc -l)",
|
|
"Read(//c/Users/admin/AppData/Local/Temp/1/claude/d--project-company-rent/1d30d2db-5aa9-4b4d-b63c-d0b878c123c6/tasks/**)",
|
|
"WebFetch(domain:www.uviewui.com)",
|
|
"Bash(pnpm search *)",
|
|
"Bash(pnpm remove *)",
|
|
"Bash(npm run *)",
|
|
"Bash(cd /d/project/company/rent/apps/miniapp && grep -n \"@import\" src/pages/index/index.vue src/components/*.vue src/App.vue)",
|
|
"Read(//d/d/project/company/rent/apps/miniapp/src/pages/index/**)",
|
|
"Bash(pnpm run *)",
|
|
"Bash(tee /tmp/dev-output.log)",
|
|
"WebFetch(domain:signin.hworld.com)",
|
|
"Bash(python3)",
|
|
"Bash(npm list *)",
|
|
"Bash(cat)",
|
|
"Bash(node create-icons.js)",
|
|
"Bash(curl -X POST http://localhost:3000/api/orders/1/pay -H \"Content-Type: application/json\" -H \"Authorization: Bearer test\" -d '{\"paymentMethod\":\"wechat\"}' -v)",
|
|
"Bash(curl -X POST http://localhost:3000/api/orders/1/pay -v)",
|
|
"Bash(xargs grep -l \"jwt\\\\|JWT\")",
|
|
"Bash(xargs grep -l \"invite\")",
|
|
"Bash(curl -s -X POST http://localhost:3000/api/auth/login/phone -H \"Content-Type: application/json\" -d '{\"phone\":\"13800138000\",\"code\":\"123456\"}')",
|
|
"Bash(python3 -c \"import sys, json; data=json.load\\(sys.stdin\\); token=data['data']['accessToken']; import jwt; decoded=jwt.decode\\(token, options={'verify_signature': False}\\); print\\(f\\\\\"iat: {decoded['iat']}, exp: {decoded['exp']}, duration: {decoded['exp']-decoded['iat']} seconds \\({\\(decoded['exp']-decoded['iat']\\)/3600} hours\\)\\\\\"\\)\")",
|
|
"Bash(curl -s -X GET http://localhost:3000/api/orders -H \"Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxIiwicGhvbmUiOiIxMzgwMDEzODAwMCIsImlhdCI6MTc3ODM4MTc2NywiZXhwIjoxNzc4Mzg4OTY3fQ.-jcY69afC6O6CtKtOj6tRaoiknypwDfvpXYhpz95rVE\")",
|
|
"Bash(pnpm install *)",
|
|
"Bash(pnpm dev:mp-weixin)",
|
|
"Read(//e/project/wb/**)",
|
|
"Bash(pnpm dev:server)",
|
|
"Bash(pnpm --filter @rent/server run build)",
|
|
"Bash(pnpm --filter @rent/server run dev)",
|
|
"Bash(curl -s http://localhost:3000/api/app/merchants)",
|
|
"Bash(awk '{print $5}')",
|
|
"Bash(xargs -I {} taskkill //PID {} //F)",
|
|
"Bash(curl -X GET \"http://localhost:3000/api/app/activity/list\" -H \"Content-Type: application/json\")",
|
|
"Bash(curl -X GET \"http://localhost:3000/api/app/activity/invite/config\" -H \"Content-Type: application/json\")",
|
|
"Bash(curl -X GET \"http://localhost:3000/api/app/finance/wallet\" -H \"Content-Type: application/json\" -H \"Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOjEsInR5cGUiOiJ1c2VyIiwiaWF0IjoxNzQ3MjMzNTMxLCJleHAiOjE3NDk4MjU1MzF9.Y7Ky8VGE5gqFN_SEZx-VvdVJhkန_example_token\")",
|
|
"Bash(curl -s -X GET \"http://localhost:3000/api/app/activity/invite/records?page=1&pageSize=20\" -H \"Content-Type: application/json\" -H \"Authorization: Bearer test\")",
|
|
"Bash(curl -X GET \"http://localhost:3000/api/admin/merchants/3\" -H \"Content-Type: application/json\")",
|
|
"Bash(curl -X GET \"http://localhost:3000/api/admin/finance/reports/overview\" -H \"Content-Type: application/json\")",
|
|
"Bash(curl -X GET \"http://localhost:3000/api/admin/reviews?page=1&pageSize=10\" -H \"Content-Type: application/json\")",
|
|
"Bash(curl -X GET \"http://localhost:3000/api/merchant/finance/wallet\" -H \"Content-Type: application/json\")",
|
|
"Bash(curl -X GET \"http://localhost:3000/api/admin/finance/reports/weekly\" -H \"Content-Type: application/json\")",
|
|
"Bash(xargs grep -l \"room\" -i)",
|
|
"Bash(mysql -h localhost -u root -p123456 -D rent -e \"DESCRIBE user_coupons;\")",
|
|
"Bash(docker exec *)",
|
|
"Bash(mysql -h localhost -P 3306 -u root -pquan131735 rent_platform -e \"DESC guests;\")",
|
|
"Bash(xargs grep -l \"Route.*orders\")",
|
|
"Bash(xargs grep -l \"Route.*orders/:id\")",
|
|
"Bash(netstat -ano)",
|
|
"Bash(findstr :3000)",
|
|
"Bash(curl -s http://localhost:3000/api/admin/finance/reports/overview)",
|
|
"Bash(curl -s http://localhost:5174)",
|
|
"Bash(awk '{print $2}')",
|
|
"Bash(cd /d/project/company/rent && grep -n \"handlePreviewWeekly\" apps/platform-admin/src/pages/finance/Settlements.tsx)",
|
|
"Read(//d/d/project/company/rent/apps/platform-admin/src/pages/finance/**)",
|
|
"Bash(taskkill /F /PID 5664)",
|
|
"Bash(taskkill //F //PID 5664)",
|
|
"Bash(grep -A 3 \"INSERT INTO \\\\`merchants\\\\`\" database/seeds/001_init_data.sql)",
|
|
"Bash(taskkill //F //PID 6944)",
|
|
"Bash(taskkill //F //PID 2968)",
|
|
"Bash(taskkill //F //PID 1964)",
|
|
"Bash(pnpm --filter @rent/server dev)",
|
|
"Bash(powershell -Command 'Get-NetTCPConnection -LocalPort 3000 -ErrorAction SilentlyContinue | Select-Object -ExpandProperty OwningProcess -Unique | ForEach-Object { Stop-Process -Id $_ -Force }')",
|
|
"Bash(sleep 5 && tail -50 /c/Users/admin/AppData/Local/Temp/1/claude/d--project-company-rent/949fb73a-e05f-4a74-a5a8-ad2ee982a5f4/tasks/b2lmg0egw.output)",
|
|
"Read(//c/Users/admin/AppData/Local/Temp/1/claude/d--project-company-rent/949fb73a-e05f-4a74-a5a8-ad2ee982a5f4/tasks/**)",
|
|
"Bash(powershell -Command 'Get-NetTCPConnection -LocalPort 3000 -ErrorAction SilentlyContinue | Select-Object -ExpandProperty OwningProcess -Unique | Where-Object { $_ -ne 0 } | ForEach-Object { Stop-Process -Id $_ -Force }')",
|
|
"Bash(npx tsc *)",
|
|
"Bash(curl -s http://localhost:3000/api/admin/finance/platform-accounts)",
|
|
"Bash(cd /d/project/company/rent && ls -la database/seeds/)",
|
|
"Read(//d/d/project/company/rent/database/**)",
|
|
"Bash(mysql -u root -p123456 -D rent_platform -e \"SELECT id, account_name, balance, total_income, total_refund, total_withdrawn FROM system_accounts;\")",
|
|
"Bash(mysql -h localhost -P 3306 -u root -pquan131735 rent_platform)",
|
|
"Bash(npx ts-node *)",
|
|
"Bash(mysql -uroot -proot rent_platform -e \"SELECT id, order_no, status, merchant_id, checkout_at, check_out_date FROM orders WHERE status = 'completed' LIMIT 5;\")",
|
|
"Bash(taskkill /F /PID 3664)",
|
|
"Bash(taskkill //F //PID 1716)",
|
|
"Bash(mysql -u root -p123456 rent_platform -e \"SELECT id, name, type, enabled, config FROM mkt_activities WHERE type='invite_cashback' LIMIT 1\")",
|
|
"Bash(node check-config.js)",
|
|
"Bash(node verify-fix.js)",
|
|
"Bash(ipconfig)"
|
|
]
|
|
}
|
|
}
|