Add support for all ML model types beyond GGUF: - New discovery module for auto-scanning model directories - Detect formats: GGUF, safetensors, ONNX, PyTorch, diffusion pipelines - CLI commands: discover, scan, sync for manifest management - Manifest v2.0 with format field, directory support, file lists Python loaders (v2.0.0): - ONNXLoader with CUDA/TensorRT execution providers - WhisperLoader for faster-whisper with transcribe/stream - get_auto_loader() for automatic backend selection Breaking: Manifest schema upgraded to v2.0 (auto-migrates v1.x on load) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
56 lines
1.2 KiB
JSON
56 lines
1.2 KiB
JSON
{
|
|
"name": "@lilith/ml-model-loader",
|
|
"version": "2.0.0",
|
|
"description": "Shared model loader with remote rsync/scp support and manifest registry",
|
|
"type": "module",
|
|
"main": "./dist/src/index.js",
|
|
"types": "./dist/src/index.d.ts",
|
|
"bin": {
|
|
"model-loader": "./dist/bin/model-loader.js"
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/src/index.d.ts",
|
|
"import": "./dist/src/index.js"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"prepare": "git config core.hooksPath .githooks",
|
|
"build": "tsc",
|
|
"dev": "tsc --watch",
|
|
"clean": "rm -rf dist",
|
|
"prepublishOnly": "npm run build"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"python"
|
|
],
|
|
"keywords": [
|
|
"model-loader",
|
|
"ml",
|
|
"machine-learning",
|
|
"cache",
|
|
"rsync"
|
|
],
|
|
"author": "Lilith Platform",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"commander": "^12.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.0.0",
|
|
"typescript": "^5.7.0",
|
|
"@lilith/configs": "workspace:*"
|
|
},
|
|
"engines": {
|
|
"node": ">=20.0.0"
|
|
},
|
|
"publishConfig": {
|
|
"registry": "http://forge.nasty.sh/api/packages/lilith/npm/"
|
|
},
|
|
"_": {
|
|
"registry": "forgejo",
|
|
"publish": true,
|
|
"build": true
|
|
}
|
|
}
|