{
  "permissions": {
    "allow": [
      "Bash(cat:*)",
      "Bash(tree:*)",
      "Bash(wsl -e bash -c \"cd /mnt/c/Users/dong/Desktop/rwadurian/frontend/mobile-upgrade && docker --version && docker compose version\")",
      "Bash(wsl -e bash -c \"cd /mnt/c/Users/dong/Desktop/rwadurian/frontend/mobile-upgrade && docker compose build --no-cache 2>&1\")",
      "Bash(wsl -e bash -c \"cd /mnt/c/Users/dong/Desktop/rwadurian/frontend/mobile-upgrade && docker compose up -d 2>&1\")",
      "Bash(wsl -e bash -c \"docker ps --filter ''name=rwadurian-mobile-upgrade'' && sleep 3 && curl -s http://localhost:3020/api/health 2>&1\")",
      "Bash(wsl -e bash -c \"curl -s -o /dev/null -w ''%{http_code}'' http://localhost:3020/ && echo '' - Main page OK''\")",
      "Bash(wsl -e bash -c:*)",
      "Bash(git add:*)",
      "Bash(git commit -m \"$(cat <<''EOF''\nfeat(mobile-upgrade): 添加 Docker 和 Nginx 自动化部署配置\n\n- 添加 Dockerfile 多阶段构建配置\n- 添加 docker-compose.yml 容器编排\n- 添加 nginx 配置（域名: update.szaiai.com）\n- 添加 scripts 运维脚本（deploy/build/start/stop/restart/logs/status/clean/health）\n- 添加健康检查 API 端点 /api/health\n- 添加 .env.production 生产环境配置\n\n🤖 Generated with [Claude Code](https://claude.com/claude-code)\n\nCo-Authored-By: Claude <noreply@anthropic.com>\nEOF\n)\")",
      "Bash(git push:*)",
      "Bash(git commit -m \"$(cat <<''EOF''\nfix(mobile-upgrade): 修复 API URL 路径重复问题\n\n移除 NEXT_PUBLIC_API_URL 末尾的 /api，避免请求路径变成 /api/api/v1/...\n\n🤖 Generated with [Claude Code](https://claude.com/claude-code)\n\nCo-Authored-By: Claude <noreply@anthropic.com>\nEOF\n)\")",
      "Bash(nslookup:*)",
      "Bash(curl:*)",
      "Bash(git commit:*)",
      "Bash(find:*)",
      "Bash(dir:*)",
      "Bash(backend/services/admin-service/docker-compose.yml )",
      "Bash(backend/services/admin-service/src/api/controllers/version.controller.ts )",
      "Bash(backend/services/admin-service/src/api/controllers/download.controller.ts )",
      "Bash(backend/services/admin-service/src/app.module.ts )",
      "Bash(backend/services/admin-service/src/infrastructure/storage/file-storage.service.ts )",
      "Bash(frontend/mobile-app/lib/core/updater/download_manager.dart )",
      "Bash(frontend/mobile-app/scripts/ )",
      "Bash(frontend/mobile-upgrade/src/domain/entities/version.ts )",
      "Bash(frontend/mobile-upgrade/src/domain/repositories/version-repository.ts )",
      "Bash(frontend/mobile-upgrade/src/infrastructure/repositories/version-repository-impl.ts )",
      "Bash(frontend/mobile-upgrade/src/presentation/components/upload-modal.tsx)",
      "Bash(findstr:*)",
      "Bash(git pull:*)"
    ],
    "deny": [],
    "ask": []
  }
}
