ruvector/docs/adr
Reuven 289567893a feat(npm): add automatic model download from HuggingFace
Add ModelDownloader module to @ruvector/ruvllm npm package with
automatic download capability for RuvLTRA models from HuggingFace.

New CLI commands:
- `ruvllm models list` - Show available models with download status
- `ruvllm models download <id>` - Download specific model
- `ruvllm models download --all` - Download all models
- `ruvllm models status` - Check which models are downloaded
- `ruvllm models delete <id>` - Remove downloaded model

Available models (from https://huggingface.co/ruv/ruvltra):
- claude-code (398 MB) - Optimized for Claude Code workflows
- small (398 MB) - Edge devices, IoT
- medium (669 MB) - General purpose

Features:
- Progress tracking with speed and ETA
- Automatic directory creation (~/.ruvllm/models)
- Resume support (skips already downloaded)
- Force re-download option
- JSON output for scripting
- Model aliases (cc, sm, med)

Also updates Rust registry to use consolidated HuggingFace repo.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-20 16:00:25 -05:00
..
ADR-001-ruvector-core-architecture.md fix(security): Apply 8 critical security fixes and update ADRs 2026-01-19 11:21:31 -05:00
ADR-002-ruvllm-integration.md docs(adr): Update ADRs with v2.1.1 performance optimizations 2026-01-19 12:03:43 -05:00
ADR-003-simd-optimization-strategy.md docs(adr): Update ADRs with v2.1.1 performance optimizations 2026-01-19 12:03:43 -05:00
ADR-004-kv-cache-management.md fix(security): Apply 8 critical security fixes and update ADRs 2026-01-19 11:21:31 -05:00
ADR-005-wasm-runtime-integration.md fix(security): Apply 8 critical security fixes and update ADRs 2026-01-19 11:21:31 -05:00
ADR-006-memory-management.md fix(security): Apply 8 critical security fixes and update ADRs 2026-01-19 11:21:31 -05:00
ADR-007-security-review-technical-debt.md fix(security): Apply 8 critical security fixes and update ADRs 2026-01-19 11:21:31 -05:00
ADR-008-mistral-rs-integration.md feat(ruvllm): mistral-rs backend integration for production-scale serving 2026-01-20 14:03:48 -05:00
ADR-009-structured-output.md docs(adr): add P0 SOTA feature ADRs - Structured Output, Function Calling, Prefix Caching 2026-01-20 15:02:07 -05:00
ADR-010-function-calling.md docs(adr): add P0 SOTA feature ADRs - Structured Output, Function Calling, Prefix Caching 2026-01-20 15:02:07 -05:00
ADR-011-prefix-caching.md docs(adr): add P0 SOTA feature ADRs - Structured Output, Function Calling, Prefix Caching 2026-01-20 15:02:07 -05:00
ADR-012-security-remediation.md security: comprehensive security hardening (ADR-012) 2026-01-20 15:48:47 -05:00
ADR-013-huggingface-publishing.md feat(npm): add automatic model download from HuggingFace 2026-01-20 16:00:25 -05:00