agentic-flow 2.0.1-alpha.13 → 2.0.1-alpha.14
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 +28 -0
- package/dist/.tsbuildinfo +1 -1
- package/dist/intelligence/EmbeddingService.d.ts +95 -0
- package/dist/intelligence/EmbeddingService.d.ts.map +1 -0
- package/dist/intelligence/EmbeddingService.js +297 -0
- package/dist/intelligence/EmbeddingService.js.map +1 -0
- package/dist/intelligence/embedding-benchmark.d.ts +7 -0
- package/dist/intelligence/embedding-benchmark.d.ts.map +1 -0
- package/dist/intelligence/embedding-benchmark.js +151 -0
- package/dist/intelligence/embedding-benchmark.js.map +1 -0
- package/dist/mcp/fastmcp/tools/hooks/intelligence-bridge.d.ts.map +1 -1
- package/dist/mcp/fastmcp/tools/hooks/intelligence-bridge.js +13 -17
- package/dist/mcp/fastmcp/tools/hooks/intelligence-bridge.js.map +1 -1
- package/package.json +3 -1
- package/wasm/reasoningbank/reasoningbank_wasm_bg.js +2 -2
- package/wasm/reasoningbank/reasoningbank_wasm_bg.wasm +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,34 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## [2.0.1-alpha.14] - 2025-12-31
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
- **ONNX Embeddings with SIMD**: Real semantic embeddings via ruvector-onnx-embeddings-wasm
|
|
9
|
+
- SIMD128 enabled for 6x faster embedding generation
|
|
10
|
+
- 100% semantic accuracy (correctly identifies related/unrelated texts)
|
|
11
|
+
- all-MiniLM-L6-v2 model (384 dimensions)
|
|
12
|
+
- Configure with `AGENTIC_FLOW_EMBEDDINGS=onnx`
|
|
13
|
+
|
|
14
|
+
- **EmbeddingService**: Unified embedding interface
|
|
15
|
+
- Simple backend: ~0.04ms (hash-based, fast but not semantic)
|
|
16
|
+
- ONNX backend: ~400ms with SIMD (true semantic similarity)
|
|
17
|
+
- LRU cache for repeated embeddings
|
|
18
|
+
- Auto-fallback to simple if ONNX fails
|
|
19
|
+
|
|
20
|
+
- **Embedding Benchmark**: Compare simple vs ONNX embeddings
|
|
21
|
+
- Run with: `node --experimental-wasm-modules dist/intelligence/embedding-benchmark.js`
|
|
22
|
+
- Shows latency, accuracy, and semantic similarity comparisons
|
|
23
|
+
|
|
24
|
+
### Changed
|
|
25
|
+
- Updated intelligence-bridge.ts to use EmbeddingService
|
|
26
|
+
- Added onnxruntime-node and ruvector-onnx-embeddings-wasm dependencies
|
|
27
|
+
|
|
28
|
+
### Performance (SIMD enabled)
|
|
29
|
+
- Cold start: ~1.5s (includes model download)
|
|
30
|
+
- Warm embedding: ~400ms per text
|
|
31
|
+
- Batch embedding: ~400ms per text (sequential)
|
|
32
|
+
|
|
5
33
|
## [2.0.1-alpha.13] - 2025-12-31
|
|
6
34
|
|
|
7
35
|
### Added
|