Files
claude-mnemonic/.gitignore
T
lukaszraczylo 1a4fea5c17 refactor: replace Git LFS with runtime model download from Hugging Face
Remove ~170MB of model files from the repository (LFS + committed).
Models are now downloaded at runtime from Hugging Face on first use
and cached to the OS cache directory with progress reporting and retries.

- Add internal/models/download.go: runtime downloader with retry, progress bar, checksums
- Remove go:embed for ONNX models (keep tokenizers embedded)
- Use file-based ONNX session loading instead of byte-slice
- Add scripts/download-models.sh for dev/CI model setup
- Update Makefile with setup-models target
- Update workflow-prepare.sh to download models in CI
- Set lfs: false in all CI workflows
- SHA256: bge=828e14..., cross-encoder=5d3e70...
2026-05-26 17:53:30 +01:00

98 lines
1.2 KiB
Plaintext

# Binaries
bin/
/mcp
/worker
*.exe
*.exe~
*.dll
*.so
*.dylib
# Go
*.test
*.out
coverage.out
coverage.html
*.prof
# Vendor (if not committing)
# vendor/
# IDE
.idea/
.vscode/
.claude/
*.swp
*.swo
*~
.DS_Store
# Node.js / Vue
ui/node_modules/
ui/dist/
ui/.vite/
ui/package.json
docs/node_modules/
docs/dist/
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Build artifacts
dist/
build/
*.tar.gz
*.zip
# Embedded static files (built from ui/dist)
internal/worker/static/*
!internal/worker/static/placeholder.html
# Environment and secrets
.env
.env.local
.env.*.local
*.pem
*.key
credentials.json
# Local development
*.local
.claude-mnemonic/
tmp/
temp/
# Test artifacts
__debug_bin*
.test/
# OS generated
Thumbs.db
ehthumbs.db
Desktop.ini
# Logs
logs/
*.log
# Database files (local dev)
*.db
*.db-wal
*.db-shm
# Model files (downloaded at runtime from GitHub Releases)
# Test model data (downloaded from Hugging Face)
testdata/models/
internal/embedding/assets/model.onnx
internal/reranking/assets/model.onnx
# goreleaser
dist/
docs/dist
# Non-template plugin configs (keep only .tpl files in plugin/ dir)
plugin/.claude-plugin/plugin.json
plugin/.claude-plugin/marketplace.json
user-prompt