settings.local.json 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. {
  2. "permissions": {
  3. "allow": [
  4. "Bash(uv run *)",
  5. "Bash(npx tsx *)",
  6. "Bash(python3 *)",
  7. "Bash(npx tsc *)",
  8. "Bash(echo \"server: $?\")",
  9. "Bash(echo \"client: $?\")",
  10. "Bash(echo \"shared: $?\")",
  11. "Bash(npx vite *)",
  12. "Skill(code-review)",
  13. "Bash(curl -s -X POST http://localhost:3000/api/play-again -H 'Content-Type: application/json' -d '{\"skillMetric\":3.0}')",
  14. "Bash(kill %1)",
  15. "Bash(pkill -f \"tsx.*server\")",
  16. "Bash(curl -s http://localhost:3000/api/daily)",
  17. "Bash(wait)",
  18. "Bash(pkill -f \"tsx\")",
  19. "Bash(pkill -f \"node.*server\")",
  20. "Read(//tmp/**)",
  21. "Bash(pkill -9 -f \"node\")",
  22. "Bash(curl -s -X POST http://localhost:3000/api/guess -H 'Content-Type: application/json' -d '{\"wordId\":4,\"guess\":\"style\",\"tryNo\":1}')",
  23. "Bash(fuser -k 3000/tcp)",
  24. "Bash(PORT=3001 npx tsx server/src/index.ts)",
  25. "Bash(curl -s -X POST http://localhost:3001/api/play-again -H 'Content-Type: application/json' -d '{\"skillMetric\":3.0}')",
  26. "Bash(curl -s -X POST http://localhost:3001/api/guess -H 'Content-Type: application/json' -d '{\"wordId\":4,\"guess\":\"hello\",\"tryNo\":1}')",
  27. "Bash(git rm *)",
  28. "Bash(git add *)",
  29. "Bash(git commit *)",
  30. "Bash(echo \"solver: $?\")",
  31. "Bash(fuser -k 3001/tcp)",
  32. "Bash(curl -s -X POST http://localhost:3001/api/guess -H 'Content-Type: application/json' -d '{\"wordId\":4,\"guess\":\"style\",\"tryNo\":1}')",
  33. "Bash(curl -s -X POST http://localhost:3001/api/guess -H 'Content-Type: application/json' -d '{\"wordId\":4,\"guess\":\"crane\",\"tryNo\":6}')",
  34. "Bash(npm run *)",
  35. "Bash(PORT=3001 STATIC_DIR=dist/client npx tsx server/src/index.ts)",
  36. "Bash(curl -s http://localhost:3001/)",
  37. "Bash(curl -s http://localhost:3001/api/daily)",
  38. "Bash(npm install *)",
  39. "Bash(STATIC_DIR=client PORT=3001 node --import tsx server/src/index.ts)",
  40. "Bash(STATIC_DIR=client PORT=3002 node --import tsx server/src/index.ts)",
  41. "Bash(curl -s http://localhost:3002/api/daily)",
  42. "Bash(curl -s http://localhost:3002/)",
  43. "Bash(curl -s -X POST http://localhost:3002/api/guess -H 'Content-Type: application/json' -d '{\"wordId\":4,\"guess\":\"style\",\"tryNo\":1}')",
  44. "Bash(curl -s http://localhost:3001/ru/api/daily)",
  45. "Bash(curl -s -X POST http://localhost:3001/ru/api/guess -H 'Content-Type: application/json' -d '{\"wordId\":1,\"guess\":\"аббат\",\"tryNo\":1}')"
  46. ]
  47. }
  48. }