# ─────────────────────────────────────────────────────────────
# Python — Virtualenvs, bytecode, caches
# ─────────────────────────────────────────────────────────────
.venv/
venv/
ENV/
env/
.s2s-venv/
*/.venv/
*/venv/
__pycache__/
*.py[cod]
*$py.class
*.egg-info/
.dist-info/
*.egg
.Python
build/
dist/
pip-wheel-metadata/
.eggs/
.mypy_cache/
.pytest_cache/
.ruff_cache/
.pyre/
.pytype/
.ipynb_checkpoints/
.cache/

# ─────────────────────────────────────────────────────────────
# Node.js / npm / Taro / frontend build caches
# ─────────────────────────────────────────────────────────────
node_modules/
*/node_modules/
.pnpm-store/
.yarn-cache/
.yarn/
.npm/
package-lock.json
!speech_to_speech/package-lock.json
yarn-error.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.npm-debug.log
.yarn-integrity
.svelte-kit/
.next/
.nuxt/
.output/
.parcel-cache/
.cache/
.turbo/
.rpt2_cache/

# ─────────────────────────────────────────────────────────────
# Environment / secrets
# ─────────────────────────────────────────────────────────────
.env
.env.*
!.env.example
secrets/
*.key
*.pem
*.p12
*.crt
*.csr
credentials.json
token.json
service-account.json
id_rsa*

# ─────────────────────────────────────────────────────────────
# Logs & databases & runtime data
# ─────────────────────────────────────────────────────────────
*.log
*.log.*
logs/
log/
*.db
*.sqlite
*.sqlite3
*.journal
*.db-journal
*.db-wal
*.db-shm
data/
dumps/
uploads/
static/uploads/
tmp/
temp/
.DS_Store
Thumbs.db

# ─────────────────────────────────────────────────────────────
# IDE / OS / editors
# ─────────────────────────────────────────────────────────────
.idea/
.vscode/
!.vscode/extensions.json
!.vscode/launch.json
*.swp
*.swo
*~
.project
.classpath
.settings/
*.sublime-workspace
*.sublime-project
.history/
.hg/
.svn/
CVS/

# ─────────────────────────────────────────────────────────────
# Trae IDE specific
# ─────────────────────────────────────────────────────────────
.dbg/
*.trae
.trae/

# ─────────────────────────────────────────────────────────────
# Reasoning engine (Node-RED) local state
# ─────────────────────────────────────────────────────────────
s2s-reasoning-engine/node_modules/
s2s-reasoning-engine/.node-red/
s2s-reasoning-engine/lib/flows_cred.json
s2s-reasoning-engine/.config.*

# ─────────────────────────────────────────────────────────────
# Demo static artifacts generated at runtime by browser / proxy logs
# ─────────────────────────────────────────────────────────────
demo/.cache/
demo/uploads/
demo/sessions/
demo/*.log
speech_to_speech/*.log
speech_to_speech/sessions/
speech_to_speech/.cache/
s2s-reasoning-engine/*.log
