# ===== Environment / Secrets =====
# 环境变量（含密钥，切勿提交）
.env
.env.*
!.env.example

# ===== Python (backend) =====
__pycache__/
*.py[cod]
*$py.class
*.so
*.egg-info/
.eggs/
build/
dist/
htmlcov/
.venv/
venv/
env/
ENV/
.python-version
.mypy_cache/
.pytest_cache/
.ruff_cache/
.coverage
.tox/
*.egg

# ===== Node (frontend) =====
node_modules/
frontend/node_modules/
frontend/dist/
*.tsbuildinfo
frontend/tsconfig.tsbuildinfo

# ===== Logs =====
*.log
logs/
*.log.*
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*

# ===== 运行时 / 生成文件 =====
gateway_restart.log
gateway_restart_err.log
frontend/frontend.err.log
frontend/frontend.log
frontend/vite.log
backend/backend.err.log
backend/backend.log
backend/gateway_restart.err.log
backend/gateway_restart.log

# ===== IDE / 编辑器 =====
.idea/
.vscode/
*.swp
*.swo
*~
.DS_Store
Thumbs.db

# ===== 项目工具数据 =====
.codebuddy/

# ===== 构建产物与压缩包 =====
*.tar.gz
*.zip
*.tgz