# =======================
# Python相关
# =======================
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/
cover/

# Virtual environments
venv/
env/
ENV/
env.bak/
venv.bak/
.venv/

# mypy
.mypy_cache/
.dmypy.json
dmypy.json

# Pyre type checker
.pyre/

# =======================
# Node.js和前端相关
# =======================
node_modules/
**/node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
.pnpm-debug.log*

# Dependency directories
jspm_packages/

# TypeScript cache
*.tsbuildinfo

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# Next.js
.next/
out/

# Nuxt.js
.nuxt/
dist

# Gatsby files
.cache/
public

# Storybook build outputs
.out
.storybook-out

# =======================
# React和构建输出
# =======================
# React build output
build/
dist/

# Static files
*.js.map
*.css.map

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# =======================
# 环境变量和配置
# =======================
# dotenv environment variable files
.env
.env.*
!.env.example
!.env.template

# Local configuration files
config.local.*
*-local.json
local.json

# =======================
# 日志文件
# =======================
logs/
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
.pnpm-debug.log*

# Backend specific logs
backend_*.log
frontend_*.log
debug.log

# PID files
*.pid

# =======================
# IDE和编辑器
# =======================
# VSCode
.vscode/
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json

# IntelliJ IDEA
.idea/
*.iws
*.iml
*.ipr

# Eclipse
.project
.classpath
.c9/
*.launch
.settings/
.metadata

# Vim
*.swp
*.swo
*~

# Emacs
*~
\#*\#
/.emacs.desktop
/.emacs.desktop.lock
*.elc
auto-save-list
tramp
.\#*

# Sublime Text
*.tmlanguage.cache
*.tmPreferences.cache
*.stTheme.cache
*.sublime-workspace
*.sublime-project

# =======================
# 系统文件
# =======================
# macOS
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
.AppleDouble
.LSOverride

# Windows
ehthumbs.db
Thumbs.db
Desktop.ini
$RECYCLE.BIN/

# Linux
*~

# =======================
# Docker相关
# =======================
.dockerignore
docker-compose.override.yml
.docker/

# Docker volumes
docker-volumes/

# =======================
# 音频和媒体文件
# =======================
# Audio files (temporary and test)
*.wav
*.mp3
*.pcm
*.aac
*.ogg
*.flac
*.m4a
input.pcm
output.pcm
test_audio/
audio_samples/
recorded_audio/

# Video files
*.mp4
*.avi
*.mov
*.wmv
*.flv
*.webm

# Image files (temporary)
*.tmp.jpg
*.tmp.png
*.tmp.gif
*.tmp.svg

# =======================
# 测试相关
# =======================
# Test coverage
coverage/
.nyc_output
*.lcov

# Jest
.jest/

# Playwright
.playwright-mcp/
test-results/
playwright-report/

# Cypress
cypress/videos/
cypress/screenshots/
cypress/downloads/

# =======================
# 临时文件和备份
# =======================
# Temporary files
*.temp
*.tmp
*~
.tmp/
temp/

# Backup files
*.bak
*.backup
*.orig

# History and backup files
.history/

# Swap files
*.swap

# =======================
# 证书和安全文件
# =======================
# Certificate files
*.pem
*.key
*.crt
*.p12
*.pfx
ssl/
certs/

# Private keys
private/
secrets/

# =======================
# 数据库文件
# =======================
# SQLite
*.db
*.sqlite
*.sqlite3

# Database dumps
*.sql.gz
*.dump

# =======================
# 压缩文件
# =======================
*.7z
*.dmg
*.gz
*.iso
*.jar
*.rar
*.tar
*.zip
*.bz2
*.xz

# =======================
# 缓存和运行时
# =======================
# OS cache
.fscache

# Application cache
.cache/
.parcel-cache/

# Runtime data
pids/
*.pid
*.seed

# =======================
# 项目特定
# =======================
# Tolan specific
测试用例文件夹/temp/
tools/output/
scripts/logs/

# Service worker
sw.js

# Webpack
webpack-stats.json

# Bundle analyzer
bundle-report.html

# Profiling
*.prof

# Performance monitoring
.lighthouseci/

# =======================
# 部署相关
# =======================
# Production deployment
production/
staging/

# Terraform
*.tfstate
*.tfstate.backup
.terraform/

# Kubernetes
*.kubeconfig

# =======================
# 监控和分析
# =======================
# Sentry
.sentryclirc

# Monitoring
monitoring/
metrics/

# Analytics
analytics/