# Normalización de finales de línea.
# Los scripts de shell DEBEN viajar con LF o fallan en Linux/macOS con
# "bad interpreter: /usr/bin/env: bash^M".
* text=auto eol=lf

*.sh text eol=lf
*.py text eol=lf
*.md text eol=lf
*.toml text eol=lf
*.yml text eol=lf
*.yaml text eol=lf
*.json text eol=lf
*.svg text eol=lf
*.cfg text eol=lf

# Plano de control: código Rust y contrato Protobuf.
*.rs text eol=lf
*.proto text eol=lf
Cargo.lock text eol=lf
*.mermaid text eol=lf

# Los stubs generados se marcan como generados para que las forjas no los muestren
# en los diffs por defecto (se regeneran con scripts/gen-proto.sh).
python/hecate/mesh/v1/*_pb2.py linguist-generated=true
python/hecate/mesh/v1/*_pb2.pyi linguist-generated=true
python/hecate/mesh/v1/*_pb2_grpc.py linguist-generated=true

*.bat text eol=crlf
*.cmd text eol=crlf
*.ps1 text eol=crlf
*.cff text eol=lf
justfile text eol=lf

# Artefactos binarios: nunca normalizar.
*.ncm binary
*.vqvae binary
*.safetensors binary
*.gguf binary
*.pt binary
*.pth binary
*.png binary
*.jpg binary
*.zip binary
*.exe binary
