ruvector 0.1.10 → 0.1.12
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"startTime":
|
|
3
|
-
"sessionId": "session-
|
|
4
|
-
"lastActivity":
|
|
2
|
+
"startTime": 1764094641619,
|
|
3
|
+
"sessionId": "session-1764094641619",
|
|
4
|
+
"lastActivity": 1764094641619,
|
|
5
5
|
"sessionDuration": 0,
|
|
6
6
|
"totalTasks": 1,
|
|
7
7
|
"successfulTasks": 1,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
[
|
|
2
2
|
{
|
|
3
|
-
"id": "cmd-hooks-
|
|
3
|
+
"id": "cmd-hooks-1764094641764",
|
|
4
4
|
"type": "hooks",
|
|
5
5
|
"success": true,
|
|
6
|
-
"duration":
|
|
7
|
-
"timestamp":
|
|
6
|
+
"duration": 9.905156999999974,
|
|
7
|
+
"timestamp": 1764094641774,
|
|
8
8
|
"metadata": {}
|
|
9
9
|
}
|
|
10
10
|
]
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,SAAS,CAAC;AAExB,QAAA,IAAI,cAAc,EAAE,GAAG,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,SAAS,CAAC;AAExB,QAAA,IAAI,cAAc,EAAE,GAAG,CAAC;AA0BxB;;GAEG;AACH,wBAAgB,qBAAqB,IAAI,QAAQ,GAAG,MAAM,CAEzD;AAED;;GAEG;AACH,wBAAgB,QAAQ,IAAI,OAAO,CAElC;AAED;;GAEG;AACH,wBAAgB,MAAM,IAAI,OAAO,CAEhC;AAED;;GAEG;AACH,wBAAgB,UAAU,IAAI;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,cAAc,EAAE,MAAM,CAAA;CAAE,CAMxE;AAGD,eAAO,MAAM,QAAQ,KAA0B,CAAC;AAGhD,eAAe,cAAc,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -39,20 +39,15 @@ try {
|
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
catch (e) {
|
|
42
|
-
//
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
catch (wasmError) {
|
|
52
|
-
throw new Error(`Failed to load ruvector: Neither native nor WASM implementation available.\n` +
|
|
53
|
-
`Native error: ${e.message}\n` +
|
|
54
|
-
`WASM error: ${wasmError.message}`);
|
|
55
|
-
}
|
|
42
|
+
// No WASM fallback available yet
|
|
43
|
+
throw new Error(`Failed to load ruvector native module.\n` +
|
|
44
|
+
`Error: ${e.message}\n` +
|
|
45
|
+
`\nSupported platforms:\n` +
|
|
46
|
+
`- Linux x64/ARM64\n` +
|
|
47
|
+
`- macOS Intel/Apple Silicon\n` +
|
|
48
|
+
`- Windows x64\n` +
|
|
49
|
+
`\nIf you're on a supported platform, try:\n` +
|
|
50
|
+
` npm install --force @ruvector/core`);
|
|
56
51
|
}
|
|
57
52
|
/**
|
|
58
53
|
* Get the current implementation type
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ruvector",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.12",
|
|
4
4
|
"description": "High-performance vector database for Node.js with automatic native/WASM fallback",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -43,14 +43,11 @@
|
|
|
43
43
|
"directory": "npm/packages/ruvector"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@ruvector/core": "^0.1.
|
|
46
|
+
"@ruvector/core": "^0.1.6",
|
|
47
47
|
"commander": "^11.1.0",
|
|
48
48
|
"chalk": "^4.1.2",
|
|
49
49
|
"ora": "^5.4.1"
|
|
50
50
|
},
|
|
51
|
-
"optionalDependencies": {
|
|
52
|
-
"@ruvector/wasm": "^0.1.0"
|
|
53
|
-
},
|
|
54
51
|
"devDependencies": {
|
|
55
52
|
"@types/node": "^20.10.5",
|
|
56
53
|
"typescript": "^5.3.3"
|