rag-lite-ts 2.0.4 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,105 +1,105 @@
1
- {
2
- "name": "rag-lite-ts",
3
- "version": "2.0.4",
4
- "description": "Local-first TypeScript retrieval engine with Chameleon Multimodal Architecture for semantic search over text and image content",
5
- "type": "module",
6
- "main": "./dist/index.js",
7
- "types": "./dist/index.d.ts",
8
- "bin": {
9
- "raglite": "./dist/cli.js",
10
- "raglite-mcp": "./dist/mcp-server.js"
11
- },
12
- "exports": {
13
- ".": {
14
- "import": "./dist/index.js",
15
- "types": "./dist/index.d.ts"
16
- },
17
- "./mcp": {
18
- "import": "./dist/mcp-server.js",
19
- "types": "./dist/mcp-server.d.ts"
20
- }
21
- },
22
- "files": [
23
- "dist/**/*.js",
24
- "dist/**/*.d.ts",
25
- "!dist/**/*.map",
26
- "README.md",
27
- "LICENSE"
28
- ],
29
- "scripts": {
30
- "build": "tsc",
31
- "build:test": "tsc --project tsconfig.test.json",
32
- "clean": "rimraf dist",
33
- "dev": "tsc --watch",
34
- "test": "npm run build:test && node --expose-gc --test --test-concurrency=1 dist/__tests__/core dist/__tests__/text dist/__tests__/preprocessors dist/__tests__/cli dist/__tests__/factories",
35
- "test:verbose": "npm run build:test && node --expose-gc --test --test-concurrency=1 --test-reporter=tap dist/__tests__/core dist/__tests__/text dist/__tests__/preprocessors dist/__tests__/cli dist/__tests__/factories",
36
- "test:core": "npm run build:test && node --expose-gc --test --test-concurrency=1 dist/__tests__/core",
37
- "test:core:verbose": "npm run build:test && node --expose-gc --test --test-concurrency=1 --test-reporter=tap dist/__tests__/core",
38
- "test:text": "npm run build:test && node --expose-gc --test --test-concurrency=1 dist/__tests__/text",
39
- "test:preprocessors": "npm run build:test && node --expose-gc --test --test-concurrency=1 dist/__tests__/preprocessors",
40
- "test:cli": "npm run build:test && node --expose-gc --test --test-concurrency=1 dist/__tests__/cli",
41
- "test:factories": "npm run build:test && node --expose-gc --test --test-concurrency=1 dist/__tests__/factories",
42
- "test:datasets": "npm run build:test && node --expose-gc --test --test-concurrency=1 dist/__tests__/datasets",
43
- "test:unit": "npm run build:test && node --expose-gc --test --test-concurrency=1 dist/__tests__/core dist/__tests__/text dist/__tests__/preprocessors dist/__tests__/cli dist/__tests__/factories",
44
- "test:integration": "npm run build && npm run build:test && node --expose-gc --test --test-concurrency=1 dist/__tests__/integration",
45
- "test:integration:verbose": "npm run build && npm run build:test && node --expose-gc --test --test-concurrency=1 --test-reporter=tap dist/__tests__/integration",
46
- "test:all": "npm run build:test && node --expose-gc --test --test-concurrency=1 dist/__tests__",
47
- "test:all:verbose": "npm run build:test && node --expose-gc --test --test-concurrency=1 --test-reporter=tap dist/__tests__",
48
- "prepublishOnly": "npm run clean && npm run build"
49
- },
50
- "keywords": [
51
- "rag",
52
- "retrieval",
53
- "semantic-search",
54
- "embeddings",
55
- "typescript",
56
- "local-first",
57
- "multimodal",
58
- "chameleon-architecture",
59
- "clip",
60
- "image-search",
61
- "polymorphic-runtime",
62
- "mdx",
63
- "mermaid",
64
- "preprocessing",
65
- "pdf",
66
- "docx",
67
- "document-processing"
68
- ],
69
- "repository": {
70
- "type": "git",
71
- "url": "https://github.com/raglite/rag-lite-ts.git"
72
- },
73
- "bugs": {
74
- "url": "https://github.com/raglite/rag-lite-ts/issues"
75
- },
76
- "homepage": "https://github.com/raglite/rag-lite-ts#readme",
77
- "author": "RAG-lite TS Contributors",
78
- "license": "MIT",
79
- "engines": {
80
- "node": ">=18.0.0"
81
- },
82
- "dependencies": {
83
- "@huggingface/transformers": "^3.7.5",
84
- "@modelcontextprotocol/sdk": "^1.18.2",
85
- "csv-parse": "^6.1.0",
86
- "hnswlib-wasm": "^0.8.2",
87
- "jsdom": "^27.0.0",
88
- "lru-cache": "^11.2.2",
89
- "mammoth": "^1.11.0",
90
- "pdf-parse": "^2.1.10",
91
- "sqlite3": "^5.1.6"
92
- },
93
- "devDependencies": {
94
- "@types/jsdom": "^21.1.7",
95
- "@types/lru-cache": "^7.10.9",
96
- "@types/node": "^20.11.0",
97
- "js-yaml": "^4.1.0",
98
- "rimraf": "^5.0.5",
99
- "tsx": "^4.20.6",
100
- "typescript": "^5.3.0"
101
- },
102
- "optionalDependencies": {
103
- "sharp": "^0.34.5"
104
- }
105
- }
1
+ {
2
+ "name": "rag-lite-ts",
3
+ "version": "2.1.0",
4
+ "description": "Local-first TypeScript retrieval engine with Chameleon Multimodal Architecture for semantic search over text and image content",
5
+ "type": "module",
6
+ "main": "./dist/index.js",
7
+ "types": "./dist/index.d.ts",
8
+ "bin": {
9
+ "raglite": "./dist/cli.js",
10
+ "raglite-mcp": "./dist/mcp-server.js"
11
+ },
12
+ "exports": {
13
+ ".": {
14
+ "import": "./dist/index.js",
15
+ "types": "./dist/index.d.ts"
16
+ },
17
+ "./mcp": {
18
+ "import": "./dist/mcp-server.js",
19
+ "types": "./dist/mcp-server.d.ts"
20
+ }
21
+ },
22
+ "files": [
23
+ "dist/**/*.js",
24
+ "dist/**/*.d.ts",
25
+ "!dist/**/*.map",
26
+ "README.md",
27
+ "LICENSE"
28
+ ],
29
+ "scripts": {
30
+ "build": "tsc",
31
+ "build:test": "tsc --project tsconfig.test.json",
32
+ "clean": "rimraf dist",
33
+ "dev": "tsc --watch",
34
+ "test": "npm run build:test && node --expose-gc --test --test-concurrency=1 dist/__tests__/core dist/__tests__/text dist/__tests__/preprocessors dist/__tests__/cli dist/__tests__/factories",
35
+ "test:verbose": "npm run build:test && node --expose-gc --test --test-concurrency=1 --test-reporter=tap dist/__tests__/core dist/__tests__/text dist/__tests__/preprocessors dist/__tests__/cli dist/__tests__/factories",
36
+ "test:core": "npm run build:test && node --expose-gc --test --test-concurrency=1 dist/__tests__/core",
37
+ "test:core:verbose": "npm run build:test && node --expose-gc --test --test-concurrency=1 --test-reporter=tap dist/__tests__/core",
38
+ "test:text": "npm run build:test && node --expose-gc --test --test-concurrency=1 dist/__tests__/text",
39
+ "test:preprocessors": "npm run build:test && node --expose-gc --test --test-concurrency=1 dist/__tests__/preprocessors",
40
+ "test:cli": "npm run build:test && node --expose-gc --test --test-concurrency=1 dist/__tests__/cli",
41
+ "test:factories": "npm run build:test && node --expose-gc --test --test-concurrency=1 dist/__tests__/factories",
42
+ "test:datasets": "npm run build:test && node --expose-gc --test --test-concurrency=1 dist/__tests__/datasets",
43
+ "test:unit": "npm run build:test && node --expose-gc --test --test-concurrency=1 dist/__tests__/core dist/__tests__/text dist/__tests__/preprocessors dist/__tests__/cli dist/__tests__/factories",
44
+ "test:integration": "npm run build && npm run build:test && node --expose-gc --test --test-concurrency=1 dist/__tests__/integration",
45
+ "test:integration:verbose": "npm run build && npm run build:test && node --expose-gc --test --test-concurrency=1 --test-reporter=tap dist/__tests__/integration",
46
+ "test:all": "npm run build:test && node --expose-gc --test --test-concurrency=1 dist/__tests__",
47
+ "test:all:verbose": "npm run build:test && node --expose-gc --test --test-concurrency=1 --test-reporter=tap dist/__tests__",
48
+ "prepublishOnly": "npm run clean && npm run build"
49
+ },
50
+ "keywords": [
51
+ "rag",
52
+ "retrieval",
53
+ "semantic-search",
54
+ "embeddings",
55
+ "typescript",
56
+ "local-first",
57
+ "multimodal",
58
+ "chameleon-architecture",
59
+ "clip",
60
+ "image-search",
61
+ "polymorphic-runtime",
62
+ "mdx",
63
+ "mermaid",
64
+ "preprocessing",
65
+ "pdf",
66
+ "docx",
67
+ "document-processing"
68
+ ],
69
+ "repository": {
70
+ "type": "git",
71
+ "url": "https://github.com/raglite/rag-lite-ts.git"
72
+ },
73
+ "bugs": {
74
+ "url": "https://github.com/raglite/rag-lite-ts/issues"
75
+ },
76
+ "homepage": "https://github.com/raglite/rag-lite-ts#readme",
77
+ "author": "RAG-lite TS Contributors",
78
+ "license": "MIT",
79
+ "engines": {
80
+ "node": ">=18.0.0"
81
+ },
82
+ "dependencies": {
83
+ "@huggingface/transformers": "^3.7.5",
84
+ "@modelcontextprotocol/sdk": "^1.18.2",
85
+ "csv-parse": "^6.1.0",
86
+ "hnswlib-wasm": "^0.8.2",
87
+ "jsdom": "^27.0.0",
88
+ "lru-cache": "^11.2.2",
89
+ "mammoth": "^1.11.0",
90
+ "pdf-parse": "^2.1.10",
91
+ "sqlite3": "^5.1.7"
92
+ },
93
+ "devDependencies": {
94
+ "@types/jsdom": "^21.1.7",
95
+ "@types/lru-cache": "^7.10.9",
96
+ "@types/node": "^20.11.0",
97
+ "js-yaml": "^4.1.0",
98
+ "rimraf": "^5.0.5",
99
+ "tsx": "^4.20.6",
100
+ "typescript": "^5.3.0"
101
+ },
102
+ "optionalDependencies": {
103
+ "sharp": "^0.34.5"
104
+ }
105
+ }