# Backend build artifacts
/cdrop
/cdropd
/dist/

# Go test / coverage / profile output
coverage.out
coverage.html
*.test
*.prof

# SQLite runtime files
*.db
*.db-shm
*.db-wal

# Frontend
/web/node_modules/
/web/dist/
/web/.vite/
/web/*.tsbuildinfo
/web/vite.config.js
/web/vite.config.d.ts
/web/src/routeTree.gen.ts

# Embedded frontend bundle (Dockerfile populates this)
/internal/webui/dist/*
!/internal/webui/dist/.gitkeep

# Editor / OS
**/.DS_Store
.idea/
.vscode/
*.swp
*.swo
*~
*.orig
*.bak

# Env files — track only the .example templates
/.env*
!/.env.example
/web/.env*
!/web/.env.example
/data/

# Deploy mirror (M13 pull-before-modify baseline；never入库)
/docker/.remote/

# Desktop client (Wails) 产物
/desktop/build/bin/
/desktop/frontend/node_modules/
/desktop/frontend/dist/
/desktop/frontend/wailsjs/

# Scratch / ad-hoc artifacts
/.scratch/
