@wiscale/velesdb-sdk 1.7.0 → 1.8.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/README.md CHANGED
@@ -2,9 +2,9 @@
2
2
 
3
3
  Official TypeScript SDK for [VelesDB](https://github.com/cyberlife-coder/VelesDB) -- the local-first vector database for AI and RAG. Sub-millisecond semantic search in Browser and Node.js.
4
4
 
5
- **v1.7.0** | Node.js >= 18 | Browser (WASM) | MIT License
5
+ **v1.8.0** | Node.js >= 18 | Browser (WASM) | MIT License
6
6
 
7
- ## What's New in v1.7.0
7
+ ## What's New in v1.8.0
8
8
 
9
9
  - **Agent Memory API** -- semantic, episodic, and procedural memory for AI agents (REST only)
10
10
  - **Graph collections** -- dedicated `createGraphCollection()` for knowledge graphs (REST only)
@@ -672,6 +672,10 @@ import {
672
672
  // Query builder
673
673
  VelesQLBuilder,
674
674
  velesql,
675
+ type RelDirection,
676
+ type RelOptions,
677
+ type NearVectorOptions,
678
+ type FusionOptions,
675
679
 
676
680
  // Error classes
677
681
  VelesDBError,
package/dist/index.d.mts CHANGED
@@ -5,7 +5,7 @@
5
5
  /** Supported distance metrics for vector similarity */
6
6
  type DistanceMetric = 'cosine' | 'euclidean' | 'dot' | 'hamming' | 'jaccard';
7
7
  /** Storage mode for vector quantization */
8
- type StorageMode = 'full' | 'sq8' | 'binary';
8
+ type StorageMode = 'full' | 'sq8' | 'binary' | 'pq' | 'rabitq';
9
9
  /** Backend type for VelesDB connection */
10
10
  type BackendType = 'wasm' | 'rest';
11
11
  /** Numeric point ID required by velesdb-server REST API (`u64`). */
package/dist/index.d.ts CHANGED
@@ -5,7 +5,7 @@
5
5
  /** Supported distance metrics for vector similarity */
6
6
  type DistanceMetric = 'cosine' | 'euclidean' | 'dot' | 'hamming' | 'jaccard';
7
7
  /** Storage mode for vector quantization */
8
- type StorageMode = 'full' | 'sq8' | 'binary';
8
+ type StorageMode = 'full' | 'sq8' | 'binary' | 'pq' | 'rabitq';
9
9
  /** Backend type for VelesDB connection */
10
10
  type BackendType = 'wasm' | 'rest';
11
11
  /** Numeric point ID required by velesdb-server REST API (`u64`). */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wiscale/velesdb-sdk",
3
- "version": "1.7.0",
3
+ "version": "1.8.0",
4
4
  "description": "VelesDB TypeScript SDK: The Local Vector Database for AI & RAG. Microsecond semantic search in Browser & Node.js.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",