# Build artifacts
target/
build/
dist/
# Ad-hoc PDF/image debug binaries
/check_pdf_oxide
/check_*
# Hand-authored WASM JS distribution files (intentionally committed)
!crates/kreuzberg-wasm/dist/index.js
!crates/kreuzberg-wasm/dist/extraction/files.js
!crates/kreuzberg-wasm/dist/ocr/enabler.js
.lycheecache
dist-musl/
*.so
*.dylib
*.dll
*.pdb
*.node
*.whl
*.tar.gz
*.gem
*.jar
wheels/
**/bin/
!**/src/bin/
**/obj/

# Rust
*.rs.bk
*.profraw
rust-coverage.lcov
rust_out

# Python
*.py[cod]
*$py.class
*.egg-info/
__pycache__/
.venv/
.mypy_cache/
.ruff_cache/
.pytest_cache/
.hypothesis/
.coverage
.coverage*
htmlcov/
share/python-wheels/
prompt_template.egg-info/
packages/python/kreuzberg/kreuzberg-cli

# Node.js / WASM
node_modules/
*.tsbuildinfo
npm-debug.log*
pnpm-debug.log*
yarn-debug.log*
yarn-error.log*
# NAPI-RS generated files (index.d.ts is committed for TypeScript type resolution)
crates/kreuzberg-node/index.js
crates/kreuzberg-node/*.tgz
.wrangler/
.pnpm-store/

# Ruby
packages/ruby/.bundle/
packages/ruby/vendor/
!packages/ruby/vendor/rb-sys/
!vendor/rb-sys/build/
!vendor/rb-sys/build/**
*.Cache

# PHP
vendor/
php-kreuzberg.ini
packages/php/php-kreuzberg.ini
packages/php/tests.xml
packages/php/var/
.php-cs-fixer.cache

# Java / C# / .NET
*.suo
*.user
*.cscfg
*.cobertura.xml
TestResults/

# Generated test apps (e2e-generator --mode published)
test_apps/

# R
packages/r/src/.cargo/
.Rhistory
.RData

# Elixir
.nox/

# Go
packages/go/v*/install

# C FFI
crates/kreuzberg-ffi/tests/c/test_*
!crates/kreuzberg-ffi/tests/c/test_*.c
crates/kreuzberg-ffi/tests/c/*.o
crates/kreuzberg-ffi/tests/c/*.dSYM/
e2e/c/test_*
!e2e/c/test_*.c
e2e/c/*.o
e2e/c/*.dSYM/

# Generated pkg-config
*.pc

# Coverage
coverage/
coverage.info
coverage.json
coverage.lcov
coverage.out
coverage.xml
packages/*/.coverage
packages/*/coverage.json
packages/*/coverage.out
packages/*/htmlcov/
packages/*/test-results/
packages/*/TestResults/

# IDE / Editor
.idea/
.vscode/
.run/
.DS_store

# CI / Tools
.cache/
.tmp/
*temp/
*.temp
*.tmp
*.log
.mvn/
.tox/
.artifacts/
.remote-cache/
.rumdl_cache/
docker-logs/

# Benchmarks
benchmark-results/
benchmark_results.json
benchmarks/results/
!benchmarks/baselines/
aggregated-results/
results/
reports/
tests/benchmarks/results/
profiling-results/
profiling-results-*/

# Local perf-iteration artifacts (flamegraphs/ is committed; intermediate outputs are not)
profile.json.gz
profile.pb.gz
*.heap
bench/

# Docs
docs/_build/
docs/build/
docs/benchmarks/charts/
site/

# Elixir build artifacts
packages/elixir/_build/
packages/elixir/deps/
packages/elixir/native/kreuzberg_nif/Cargo.lock
e2e/elixir/_build/
e2e/elixir/deps/
e2e/elixir/mix.lock
e2e/elixir/config/
test_documents/_build/
test_documents/deps/

# Maven plugin artifacts
*.versionsBackup

# Gradle (Kotlin e2e)
e2e/kotlin/.gradle/
e2e/kotlin/build/
e2e/kotlin_android/.gradle/
e2e/kotlin_android/build/

# Ruby native build artifacts
packages/ruby/lib/*.bundle
packages/ruby/tmp/

# Tests
test_report.json
tests/e2e/logs/
tests/e2e/test_report.json
temp-test-*
packages/csharp/test_html_debug.cs

# AI / MCP / Agent config
.claude/
.codex/
.gemini/
.kreuzberg/
.mcp.json
.playwright-mcp/
.fastembed_cache/
*/.fastembed_cache/
AGENTS.md
CLAUDE.md
GEMINI.md
.cursorrules
.windsurfrules
[Tt][Oo][Dd][Oo]*

# Git worktrees
.worktrees/

# Misc
.env
output.txt
examples.txt
requirements.txt
docker-compose.yaml
/tmp/kreuzberg-docker-test-results.json
tools/benchmark-harness/datasets/
tools/benchmark-harness/vendored/docling/md/iso_21111_10.md
visualizations/


# Additional generated artifacts
.alef/
*.pyd
.gems/
vendor/bundle/
*.h.bak
*.test
*.class
bin/
obj/
*.nupkg
pkg/


# Doc classifier output files
dokumenter_keywords.json
dokumenter_keywords.classified.csv
dokumenter_keywords.misplaced.csv
extract_all.log

# Local dev artifacts
docs/demo-dev.html
docs/serve.json
demo-loaded.png
scratch/


.php-cs-fixer.*

e2e/zig/.zig-cache/

# Swift e2e build artifacts (Swift Package Manager)
e2e/swift/.build/
e2e/swift/.swiftpm/
e2e/swift/Package.resolved
e2e/swift_e2e/.build/
e2e/swift_e2e/.swiftpm/
e2e/swift_e2e/Package.resolved

# Dart e2e build artifacts
e2e/dart/.dart_tool/
e2e/dart/build/
e2e/dart/pubspec.lock

# Dart FRB codegen cache (incremental build optimization)
packages/dart/rust/.frb_codegen_hash

# Go e2e build artifacts
e2e/go/vendor/

erl_crash.dump


.gradle/

packages/go/v5/.lib/

.build/

packages/r/src/*.o

# BEGIN ai-rulez (DO NOT EDIT - managed by ai-rulez)
.agents/
.cursor/
.github/agents/
.github/commands/
.github/copilot-instructions.md
.github/skills/
# END ai-rulez
