agentic-flow 2.0.1-alpha.19 → 2.0.1-alpha.20
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 +29 -0
- package/dist/.tsbuildinfo +1 -1
- package/dist/intelligence/EmbeddingCache.d.ts +36 -29
- package/dist/intelligence/EmbeddingCache.d.ts.map +1 -1
- package/dist/intelligence/EmbeddingCache.js +461 -90
- package/dist/intelligence/EmbeddingCache.js.map +1 -1
- package/package.json +5 -2
- 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,35 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## [2.0.1-alpha.20] - 2025-12-31
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
- **Windows Compatibility**: Full persistence without native module compilation
|
|
9
|
+
- `better-sqlite3` moved to optionalDependencies
|
|
10
|
+
- **sql.js (WASM SQLite)** fallback for Windows persistence
|
|
11
|
+
- Automatic backend selection: native → WASM → memory
|
|
12
|
+
- No Visual Studio Build Tools required
|
|
13
|
+
|
|
14
|
+
### Added
|
|
15
|
+
- **WASM SQLite Cache**: Cross-platform persistence via sql.js
|
|
16
|
+
- Stores embeddings in `~/.agentic-flow/embedding-cache-wasm.db`
|
|
17
|
+
- Debounced file writes (1s) for performance
|
|
18
|
+
- Same 9000x speedup on Windows
|
|
19
|
+
|
|
20
|
+
### Changed
|
|
21
|
+
- EmbeddingCache auto-selects backend (priority order):
|
|
22
|
+
1. Native SQLite (better-sqlite3) - Fastest, ~0.045ms
|
|
23
|
+
2. WASM SQLite (sql.js) - Cross-platform, ~0.1ms
|
|
24
|
+
3. In-memory LRU - No persistence, ~0.01ms
|
|
25
|
+
- New `getBackendType()` method: returns 'native' | 'wasm' | 'memory'
|
|
26
|
+
|
|
27
|
+
### Performance
|
|
28
|
+
| Backend | Time | Persistence | Platform |
|
|
29
|
+
|---------|------|-------------|----------|
|
|
30
|
+
| Native SQLite | ~0.045ms | ✓ | Linux/macOS |
|
|
31
|
+
| WASM SQLite | ~0.1ms | ✓ | Windows/All |
|
|
32
|
+
| Memory | ~0.01ms | ✗ | Fallback |
|
|
33
|
+
|
|
5
34
|
## [2.0.1-alpha.19] - 2025-12-31
|
|
6
35
|
|
|
7
36
|
### Added
|