chore: bump versions and fix TS/README for npm publish

- ruvector 0.1.88 → 0.1.97 (match npm registry)
- rvlite 0.2.1 → 0.2.2
- @ruvector/rvf 0.1.0 → 0.1.1
- Fix MCP command in ruvector README (mcp-server → mcp start)
- Fix WASM type conflicts in rvlite index.ts (cast dynamic imports to any)

Co-Authored-By: claude-flow <ruv@ruv.net>
This commit is contained in:
rUv 2026-02-14 22:13:03 +00:00
parent de04713621
commit 4868043461
5 changed files with 9 additions and 8 deletions

View file

@ -60,7 +60,7 @@ RuVector includes an MCP server for Claude Code with 30+ tools:
```bash
# Add to Claude Code
claude mcp add ruvector-mcp -- npx ruvector mcp-server
claude mcp add ruvector -- npx ruvector mcp start
```
**Available MCP Tools:**

View file

@ -1,6 +1,6 @@
{
"name": "ruvector",
"version": "0.1.88",
"version": "0.1.97",
"description": "High-performance vector database for Node.js with automatic native/WASM fallback",
"main": "dist/index.js",
"types": "dist/index.d.ts",

View file

@ -1,6 +1,6 @@
{
"name": "@ruvector/rvf",
"version": "0.1.0",
"version": "0.1.1",
"description": "RuVector Format — unified TypeScript SDK for vector intelligence",
"main": "dist/index.js",
"module": "dist/index.js",

View file

@ -1,6 +1,6 @@
{
"name": "rvlite",
"version": "0.2.1",
"version": "0.2.2",
"type": "module",
"description": "Lightweight vector database with SQL, SPARQL, and Cypher - runs everywhere (Node.js, Browser, Edge)",
"main": "dist/index.js",

View file

@ -103,7 +103,8 @@ export class RvLite {
if (this.initialized) return;
// Dynamic import to support both Node.js and browser
const wasmModule = await import('../dist/wasm/rvlite.js');
// Use 'as any' for WASM interop: generated types conflict with SDK types
const wasmModule = await import('../dist/wasm/rvlite.js') as any;
await wasmModule.default();
this.wasm = new wasmModule.RvLite({
@ -280,8 +281,8 @@ export class RvLite {
const instance = new RvLite(config);
await instance.init();
// Dynamic import for WASM
const wasmModule = await import('../dist/wasm/rvlite.js');
// Dynamic import for WASM (cast to any: generated types conflict with SDK types)
const wasmModule = await import('../dist/wasm/rvlite.js') as any;
instance.wasm = await wasmModule.RvLite.load(config);
return instance;
@ -291,7 +292,7 @@ export class RvLite {
* Clear IndexedDB storage (browser only)
*/
static async clearStorage(): Promise<void> {
const wasmModule = await import('../dist/wasm/rvlite.js');
const wasmModule = await import('../dist/wasm/rvlite.js') as any;
return wasmModule.RvLite.clear_storage();
}