# ==============================================================================
# Build outputs
# ==============================================================================
build/
build_cef/
build_node/
build-*/
cmake-build-*/
out/
compile_commands.json

# ==============================================================================
# LLM models (large .gguf files, downloaded separately)
# ==============================================================================
/models/

# ==============================================================================
# Third-party dependencies (CEF binaries, GeoIP, etc.)
# ==============================================================================
third_party/

# ==============================================================================
# Node modules (all directories)
# ==============================================================================
node_modules/

# ==============================================================================
# Chromium source (downloaded by chromium-src/setup.sh, ~25 GB)
# ==============================================================================
chromium-src/chromium/
chromium-src/depot_tools/

# ==============================================================================
# System fonts (downloaded for profile generation)
# ==============================================================================
/system-fonts/

# ==============================================================================
# Tools / dev utilities (chrome extensions, bridges)
# ==============================================================================
tools/

# ==============================================================================
# Fingerprint checker (dev/test utility)
# ==============================================================================
enterprise/fingerprint-checker/

# ==============================================================================
# Profile database files (generated, contain VM profiles)
# ==============================================================================
data/profiles/*.sql
data/profiles/*.db
data/profiles/backup/
data/profiles/backup/*
data/cloudflare.html

# ==============================================================================
# CMake generated files
# ==============================================================================
CMakeCache.txt
CMakeFiles/
cmake_install.cmake
Makefile
*.cmake
!CMakeLists.txt

# Auto-generated version header
enterprise/http-server/include/version.h

# ==============================================================================
# C++ build artifacts
# ==============================================================================
*.o
*.obj
*.a
*.lib
*.so
*.dylib
*.dll
*.exe
*.app
*.out
*.node
*.d
*.dSYM/

# ==============================================================================
# IDE / Editor
# ==============================================================================
.vscode/
.idea/
.clangd
*.swp
*.swo
*~
\#*\#
.\#*

# ==============================================================================
# AI assistant configs (per-user, not shared)
# ==============================================================================
.gemini/
.claude/

# ==============================================================================
# Node / npm / TypeScript
# ==============================================================================
npm-debug.log*
yarn-debug.log*
yarn-error.log*
package-lock.json
yarn.lock
pnpm-lock.yaml
*.tsbuildinfo
.turbo/
.next/
.vite/
.parcel-cache/
.svelte-kit/
.eslintcache
.pnpm-store/
.yarn/cache/
.yarn/install-state.gz
*.tgz
coverage/
.nyc_output/

# ==============================================================================
# Python
# ==============================================================================
__pycache__/
*.py[cod]
*$py.class
.Python
*.egg-info/
.eggs/
*.egg
.pytest_cache/
.mypy_cache/
.ruff_cache/
venv/
.venv/
htmlcov/
.coverage
*.cover

# ==============================================================================
# Logs and temporary files
# ==============================================================================
logs/
*.log
/tmp/
*.tmp
*.temp
*.bak
*.cache

# ==============================================================================
# Environment and secrets
# ==============================================================================
.env
.env.local
.env.*.local
secrets/
*.pem

# ==============================================================================
# macOS
# ==============================================================================
.DS_Store
.AppleDouble
.LSOverride
._*

# ==============================================================================
# Windows
# ==============================================================================
Thumbs.db
ehthumbs.db
desktop.ini
$RECYCLE.BIN/

# ==============================================================================
# Docker
# ==============================================================================
enterprise/docker/certs/*.pem
enterprise/docker/certs/*.key
enterprise/docker/certs/*.crt

# ==============================================================================
# CEF runtime
# ==============================================================================
/tmp/olib_browser_cache/
/tmp/olib_browser_userdata/
/tmp/olib_browser_debug.log

# ==============================================================================
# Test artifacts
# ==============================================================================
/tests/
test_*.cjs
run_browser.sh
screenshot_*.png

# ==============================================================================
# License files
# ==============================================================================
*.olic
enterprise/license-server/data/
enterprise/license-server/licenses/
enterprise/license-server/keys/

# ==============================================================================
# Database files
# ==============================================================================
*.db
*.sqlite
*.sqlite3

# ==============================================================================
# Legacy/moved directories
# ==============================================================================
python-sdk/
semantic-dataset-generator/
fingerprint_results
enterprise/http-server/data

# ==============================================================================
# Standalone scripts (dev-only, not part of codebase)
# ==============================================================================
compare_real_chrome.py
investigate_fingerprints.py

# ==============================================================================
# Owl-light build artifacts and generated files
# ==============================================================================
light/build*/
light/dist/
light/data/profiles/vm_profiles.db
light/data/profiles/profiles.sql
light/include/stealth/light_vm_db_key.h
light/profile-generator/**/__pycache__/
light/profile-generator/**/*.egg-info/
light/.DS_Store

# Owl Light Docker build secrets — never commit
light/docker/secrets/
light/docker/cef/*.tar.gz
# but keep the empty placeholder directories so the layout is captured
!light/docker/secrets/.gitkeep
!light/docker/cef/.gitkeep

# ==============================================================================
# E2E test runners (Node + Playwright outputs)
# ==============================================================================
light/tests/e2e/test-results/
light/tests/e2e/playwright-report/
light/tests/e2e/blob-report/
light/tests/e2e/*.png

# ==============================================================================
# Misc Python build/dev outputs that can appear under any sub-project
# ==============================================================================
**/__pycache__/
**/*.egg-info/
**/.pytest_cache/
**/.mypy_cache/
**/.ruff_cache/
**/.tox/
**/build-*/
**/dist-*/

# ==============================================================================
# Misc archive / install artifacts
# ==============================================================================
*.whl
*.zip
!light/docker/Dockerfile
enterprise/docker/frontend/dist
enterprise/python-sdk-v2/dist
enterprise/mcp-server/dist
enterprise/test-flows/agent-render-bench/accuracy/results
enterprise/test-flows/agent-render-bench/perf/results
