settings.local.json 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. {
  2. "permissions": {
  3. "allow": [
  4. "Bash(mv:*)",
  5. "Bash(ls:*)",
  6. "Bash(grep:*)",
  7. "Bash(rm:*)",
  8. "Bash(find:*)",
  9. "Bash(mkdir:*)",
  10. "Bash(git init:*)",
  11. "Bash(git add:*)",
  12. "Bash(git commit:*)",
  13. "Bash(git remote add:*)",
  14. "Bash(git branch:*)",
  15. "Bash(git push:*)",
  16. "Bash(git fetch:*)",
  17. "Bash(git pull:*)",
  18. "Bash(python3:*)",
  19. "Bash(bash:*)",
  20. "Bash(chmod:*)",
  21. "Bash(./check_project.sh:*)",
  22. "Bash(timeout:*)",
  23. "Bash(gtimeout:*)",
  24. "Bash(# 移动生成脚本\nmv generate_all_sourcecode.py scripts/generators/\nmv generate_all_sourcecode.sh scripts/generators/\nmv generate_frontend_sourcecode.py scripts/generators/\nmv generate_frontend_sourcecode.sh scripts/generators/\nmv generate_backend_sourcecode.py scripts/generators/\nmv generate_backend_sourcecode.sh scripts/generators/\n\n# 移动验证脚本\nmv check_project.py scripts/validators/\nmv check_project.sh scripts/validators/\nmv run_tests.py scripts/validators/\nmv validate_frontend_pages.py scripts/validators/\n\n# 移动初始化脚本\nmv init_project.py scripts/init/\nmv init_project.sh scripts/init/\n\n# 移动配置文件\nmv ai-copyright-config.json config/ai-copyright-config.json.template)",
  25. "Bash(./ai-copyright.sh status:*)",
  26. "Bash(cp:*)",
  27. "Bash(for i in {1..5})",
  28. "Bash(do cp output_sourcecode/front/large_page.html \"output_sourcecode/front/page_$i.html\")",
  29. "Bash(done)",
  30. "Bash(true)",
  31. "Bash(./scripts/generators/merge_frontend_simple.sh:*)",
  32. "Bash(./scripts/generators/merge_backend_simple.sh:*)",
  33. "Bash(echo:*)",
  34. "Bash(for:*)",
  35. "Bash(do echo \"检查: $script\")",
  36. "Bash(rg:*)",
  37. "Bash(sed:*)"
  38. ],
  39. "deny": []
  40. }
  41. }