Node.js compatibility, parallel embedding/reranking, flash attention, GPU auto-detection, and restructured test suite.
98 lines
3.1 KiB
JSON
98 lines
3.1 KiB
JSON
{
|
|
"name": "@tobilu/qmd",
|
|
"version": "1.0.0",
|
|
"description": "Query Markup Documents - On-device hybrid search for markdown files with BM25, vector search, and LLM reranking",
|
|
"type": "module",
|
|
"bin": {
|
|
"qmd": "qmd"
|
|
},
|
|
"files": [
|
|
"src/**/*.ts",
|
|
"!src/**/*.test.ts",
|
|
"!src/test-preload.ts",
|
|
"qmd",
|
|
"LICENSE",
|
|
"CHANGELOG.md"
|
|
],
|
|
"scripts": {
|
|
"test": "vitest run",
|
|
"test:unit": "vitest run --reporter=verbose src/*.test.ts",
|
|
"test:models": "vitest run --reporter=verbose src/models/*.test.ts",
|
|
"test:integration": "vitest run --reporter=verbose src/integration/*.test.ts",
|
|
"test:unit:bun": "bun run vitest run --reporter=verbose --testTimeout=120000 src/*.test.ts",
|
|
"test:models:bun": "bun run vitest run --reporter=verbose --testTimeout=120000 src/models/*.test.ts",
|
|
"test:integration:bun": "bun run vitest run --reporter=verbose --testTimeout=120000 src/integration/*.test.ts",
|
|
"test:unit:node": "npx vitest run --reporter=verbose --testTimeout=120000 src/*.test.ts",
|
|
"test:models:node": "npx vitest run --reporter=verbose --testTimeout=120000 src/models/*.test.ts",
|
|
"test:integration:node": "npx vitest run --reporter=verbose --testTimeout=120000 src/integration/*.test.ts",
|
|
"test:ci:bun": "npm run test:unit:bun && npm run test:models:bun && npm run test:integration:bun",
|
|
"test:ci:node": "npm run test:unit:node && npm run test:models:node && npm run test:integration:node",
|
|
"test:ci": "npm run test:unit && npm run test:models && npm run test:integration",
|
|
"qmd": "tsx src/qmd.ts",
|
|
"index": "tsx src/qmd.ts index",
|
|
"vector": "tsx src/qmd.ts vector",
|
|
"search": "tsx src/qmd.ts search",
|
|
"vsearch": "tsx src/qmd.ts vsearch",
|
|
"rerank": "tsx src/qmd.ts rerank",
|
|
"inspector": "npx @modelcontextprotocol/inspector tsx src/qmd.ts mcp",
|
|
"release": "./scripts/release.sh"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/tobi/qmd.git"
|
|
},
|
|
"homepage": "https://github.com/tobi/qmd#readme",
|
|
"bugs": {
|
|
"url": "https://github.com/tobi/qmd/issues"
|
|
},
|
|
"dependencies": {
|
|
"@modelcontextprotocol/sdk": "^1.25.1",
|
|
"better-sqlite3": "^11.0.0",
|
|
"fast-glob": "^3.3.0",
|
|
"node-llama-cpp": "^3.14.5",
|
|
"picomatch": "^4.0.0",
|
|
"sqlite-vec": "^0.1.7-alpha.2",
|
|
"yaml": "^2.8.2",
|
|
"zod": "^4.2.1"
|
|
},
|
|
"optionalDependencies": {
|
|
"sqlite-vec-darwin-arm64": "^0.1.7-alpha.2",
|
|
"sqlite-vec-darwin-x64": "^0.1.7-alpha.2",
|
|
"sqlite-vec-linux-x64": "^0.1.7-alpha.2",
|
|
"sqlite-vec-win32-x64": "^0.1.7-alpha.2"
|
|
},
|
|
"devDependencies": {
|
|
"@types/better-sqlite3": "^7.6.0",
|
|
"tsx": "^4.0.0",
|
|
"vitest": "^3.0.0"
|
|
},
|
|
"peerDependencies": {
|
|
"typescript": "^5.9.3"
|
|
},
|
|
"engines": {
|
|
"node": ">=22.0.0"
|
|
},
|
|
"keywords": [
|
|
"markdown",
|
|
"search",
|
|
"fts",
|
|
"full-text-search",
|
|
"vector",
|
|
"semantic-search",
|
|
"sqlite",
|
|
"bm25",
|
|
"embeddings",
|
|
"rag",
|
|
"mcp",
|
|
"reranking",
|
|
"knowledge-base",
|
|
"local-ai",
|
|
"llm"
|
|
],
|
|
"author": "Tobi Lutke <tobi@lutke.com>",
|
|
"license": "MIT"
|
|
}
|