mirror of
https://github.com/ruvnet/RuVector.git
synced 2026-05-23 12:55:26 +00:00
- core.test.js: rename VectorDB → VectorDb (matches native export), add
storagePath: tmpDbPath() to prevent persisted-config dimension conflicts,
update dimensions 128 → 384 to match published binary default
- cli.test.js: fix CLI_PATH and cwd to point at npm/packages/ruvector instead
of non-existent npm/ruvector, handle non-zero exit code from help command,
accept 'Implementation' as a valid backend-info keyword
- cross-package.test.js: fix TypeScript type-definition paths, case-insensitive
dimension-mismatch check ('Dimension' → .toLowerCase().includes)
- ruvector/src/index.ts: add VectorIndex, getBackendInfo, isNativeAvailable,
Utils compat exports used by test suite; VectorIndex uses unique tmp path
per instance and throws on dimension ≤ 0
- npm/core/platforms/linux-x64-gnu/ruvector.node: replace published 0.1.29
binary (hardcoded 384-dim bug) with locally built 2.2.2 that respects the
dimensions constructor option
Co-Authored-By: claude-flow <ruv@ruv.net>
|
||
|---|---|---|
| .. | ||
| cli.test.js | ||
| core.test.js | ||
| ruvector.test.js | ||
| wasm.test.js | ||