rust-kgdb 0.6.52 → 0.6.53
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/CHANGELOG.md +19 -0
- package/README.md +13 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,25 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to the rust-kgdb TypeScript SDK will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## [0.6.53] - 2025-12-17
|
|
6
|
+
|
|
7
|
+
### Scalability & Deep Flashback Memory
|
|
8
|
+
|
|
9
|
+
#### Added Rust Core Scalability Numbers
|
|
10
|
+
Verified benchmark results:
|
|
11
|
+
| Operation | 1 Worker | 16 Workers | Scaling |
|
|
12
|
+
|-----------|----------|------------|---------|
|
|
13
|
+
| Concurrent Writes | 66K ops/sec | 132K ops/sec | 2.0x |
|
|
14
|
+
| GraphFrame Analytics | 6.0K ops/sec | 6.5K ops/sec | Thread-safe |
|
|
15
|
+
| Memory per Triple | 24 bytes | 24 bytes | Constant |
|
|
16
|
+
|
|
17
|
+
#### Clarified "Deep Flashback" Memory Advantage
|
|
18
|
+
- **Why it matters**: We can retrieve relevant past queries from 10,000+ history entries
|
|
19
|
+
- **Performance**: 94% Recall@10 accuracy in 16.7ms
|
|
20
|
+
- **Advantage**: Built-in vs requiring external vector DB (Pinecone, Chroma, etc.)
|
|
21
|
+
|
|
22
|
+
---
|
|
23
|
+
|
|
5
24
|
## [0.6.52] - 2025-12-17
|
|
6
25
|
|
|
7
26
|
### Added W3C Standards Support
|
package/README.md
CHANGED
|
@@ -65,6 +65,16 @@
|
|
|
65
65
|
| **ARCADE Cache** | 1-hop neighbor pre-caching | O(1) context |
|
|
66
66
|
| **Storage** | InMemory, RocksDB, LMDB backends | 24 bytes/triple |
|
|
67
67
|
|
|
68
|
+
**Scalability Numbers (Verified Benchmark)**:
|
|
69
|
+
|
|
70
|
+
| Operation | 1 Worker | 16 Workers | Scaling |
|
|
71
|
+
|-----------|----------|------------|---------|
|
|
72
|
+
| Concurrent Writes | 66K ops/sec | 132K ops/sec | 2.0x |
|
|
73
|
+
| GraphFrame Analytics | 6.0K ops/sec | 6.5K ops/sec | Thread-safe |
|
|
74
|
+
| Memory per Triple | 24 bytes | 24 bytes | Constant |
|
|
75
|
+
|
|
76
|
+
Reproduce: `node concurrency-benchmark.js`
|
|
77
|
+
|
|
68
78
|
### Layer 2: HyperMind Agent Framework (JavaScript)
|
|
69
79
|
|
|
70
80
|
| Component | What It Does |
|
|
@@ -158,7 +168,9 @@
|
|
|
158
168
|
| **Data Storage** | Built-in QuadStore | None (BYODB) |
|
|
159
169
|
| **Query Execution** | Native SPARQL/Datalog | External DB needed |
|
|
160
170
|
| **Agent Memory** | Built-in (Working + Episodic + KG-backed) | External vector DB needed |
|
|
161
|
-
| **
|
|
171
|
+
| **Deep Flashback** | 94% Recall@10 at 10K query depth (16.7ms) | Limited by external provider |
|
|
172
|
+
|
|
173
|
+
**Why Agent Memory Matters**: We can retrieve relevant past queries from 10,000+ history entries with 94% accuracy in 16.7ms. This enables "flashback" to any past interaction - LangChain/DSPy require external vector DBs for this capability.
|
|
162
174
|
|
|
163
175
|
**Built-in Capabilities (No External Dependencies)**:
|
|
164
176
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rust-kgdb",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.53",
|
|
4
4
|
"description": "High-performance RDF/SPARQL database with AI agent framework. GraphDB (449ns lookups, 35x faster than RDFox), GraphFrames analytics (PageRank, motifs), Datalog reasoning, HNSW vector embeddings. HyperMindAgent for schema-aware query generation with audit trails. W3C SPARQL 1.1 compliant. Native performance via Rust + NAPI-RS.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|