70 lines
3.5 KiB
JSON
70 lines
3.5 KiB
JSON
{
|
|
"permissions": {
|
|
"allow": [
|
|
"Bash(flutter build:*)",
|
|
"Bash(flutter clean:*)",
|
|
"Bash(git add:*)",
|
|
"Bash(flutter pub get:*)",
|
|
"Bash(flutter analyze:*)",
|
|
"Bash(git commit -m \"$(cat <<''EOF''\nfeat: 添加APK在线升级和遥测统计模块\n\nAPK升级模块 (lib/core/updater/):\n- 支持自建服务器和Google Play双渠道更新\n- 版本检测、APK下载、SHA-256校验、安装\n- 应用市场来源检测\n- 强制更新和普通更新对话框\n\n遥测模块 (lib/core/telemetry/):\n- 设备信息采集 (品牌、型号、系统版本、屏幕等)\n- 会话管理 (DAU日活统计)\n- 心跳服务 (实时在线人数统计)\n- 事件队列和批量上传\n- 远程配置热更新\n\nAndroid原生配置:\n- MainActivity.kt Platform Channel实现\n- FileProvider配置 (APK安装)\n- 权限配置 (INTERNET, REQUEST_INSTALL_PACKAGES)\n\n文档:\n- docs/backend_api_guide.md 后端API开发指南\n- docs/testing_guide.md 测试指南\n\n🤖 Generated with [Claude Code](https://claude.com/claude-code)\n\nCo-Authored-By: Claude <noreply@anthropic.com>\nEOF\n)\")",
|
|
"Bash(mkdir:*)",
|
|
"Bash(keytool:*)",
|
|
"Bash(flutter doctor:*)",
|
|
"Bash(flutter emulators:*)",
|
|
"Bash(c:Androidemulatoremulator -list-avds)",
|
|
"Bash(flutter devices:*)",
|
|
"Bash(c:Androidcmdline-toolslatestbinsdkmanager.bat --list)",
|
|
"Bash(findstr:*)",
|
|
"Bash(cmd /c \"c:\\Android\\cmdline-tools\\latest\\bin\\sdkmanager.bat --list\")",
|
|
"Bash(cmd /c \"dir c:\\Android\\cmdline-tools\\latest\\bin\")",
|
|
"Bash(cmd /c \"dir c:\\Android\")",
|
|
"Bash(dir:*)",
|
|
"Bash(powershell -Command:*)",
|
|
"Bash(Select-String \"system-images\")",
|
|
"Bash(Select-Object -First 10)",
|
|
"Bash(powershell:*)",
|
|
"Bash(c:/Android/platform-tools/adb.exe devices:*)",
|
|
"Bash(c:/Android/platform-tools/adb.exe kill-server)",
|
|
"Bash(c:/Android/platform-tools/adb.exe start-server:*)",
|
|
"Bash(flutter run:*)",
|
|
"Bash(git commit:*)",
|
|
"Bash(docker-compose config:*)",
|
|
"Bash(docker compose config:*)",
|
|
"Bash(node -e:*)",
|
|
"Bash(wsl -e bash -c \"cd /mnt/c/Users/dong/Desktop/rwadurian/backend/services/identity-service && docker compose config --quiet && echo ''Docker Compose config is valid''\")",
|
|
"Bash(ls:*)",
|
|
"Bash(find:*)",
|
|
"Bash(wsl --list --verbose)",
|
|
"Bash(wsl -d Ubuntu -- bash -c \"echo ''WSL Ubuntu is running'' && cat /etc/os-release | head -3\")",
|
|
"Bash(wsl:*)",
|
|
"Bash(git push)",
|
|
"Bash(cat:*)",
|
|
"Bash(done)",
|
|
"Bash(timeout:*)",
|
|
"Bash(npm run build:*)",
|
|
"Bash(test:*)",
|
|
"Bash(npx prisma migrate dev:*)",
|
|
"Bash(DATABASE_URL=\"postgresql://user:pass@localhost:5432/db\" npx prisma migrate:*)",
|
|
"Bash(npm install:*)",
|
|
"Bash(npm run prisma:generate:*)",
|
|
"Bash(echo:*)",
|
|
"Bash(git checkout:*)",
|
|
"Bash(git reset:*)",
|
|
"Bash(docker exec:*)",
|
|
"Bash(docker build:*)",
|
|
"Bash(if [ -f nul ])",
|
|
"Bash(then rm nul)",
|
|
"Bash(else echo \"nul file not found\")",
|
|
"Bash(fi)",
|
|
"Bash(docker-compose:*)",
|
|
"Bash(c:/Android/platform-tools/adb.exe shell ping:*)",
|
|
"Bash(curl:*)",
|
|
"Bash(DATABASE_URL=\"postgresql://postgres:password@localhost:5432/rwa_identity?schema=public\" npx prisma migrate:*)",
|
|
"Bash(del \"c:\\Users\\dong\\Desktop\\rwadurian\\frontend\\mobile-app\\lib\\core\\services\\mpc_share_service.dart\")",
|
|
"Bash(dart compile exe:*)"
|
|
],
|
|
"deny": [],
|
|
"ask": []
|
|
}
|
|
}
|