brainy/src/storage
David Snelling 3b6496c0c3 fix: properly reconstruct GraphVerb objects in getVerbsWithPagination
- Fixed verb retrieval to include vector field from HNSWVerb
- Properly merge HNSWVerb data with metadata to create complete GraphVerb
- Skip verbs without metadata instead of returning incomplete objects
- Fix field mapping for sourceId/targetId and source/target
- Properly handle connections Map deserialization
- Fix filter logic to check correct fields

This fixes the issue where brain.getVerbs() returned empty array even
after successfully adding verbs. The problem was that verbs are stored
as HNSWVerb + metadata separately but weren't being properly
reconstructed when retrieved.
2025-09-02 15:18:36 -07:00
..
adapters fix: properly reconstruct GraphVerb objects in getVerbsWithPagination 2025-09-02 15:18:36 -07:00
backwardCompatibility.ts 🧠 Brainy 2.0.0 - Zero-Configuration AI Database with Triple Intelligence™ 2025-08-26 12:32:21 -07:00
baseStorage.ts feat: implement comprehensive type safety system with BrainyTypes API 2025-09-01 09:37:36 -07:00
cacheManager.ts 🧠 Brainy 2.0.0 - Zero-Configuration AI Database with Triple Intelligence™ 2025-08-26 12:32:21 -07:00
enhancedCacheManager.ts 🧠 Brainy 2.0.0 - Zero-Configuration AI Database with Triple Intelligence™ 2025-08-26 12:32:21 -07:00
enhancedClearOperations.ts 🧠 Brainy 2.0.0 - Zero-Configuration AI Database with Triple Intelligence™ 2025-08-26 12:32:21 -07:00
readOnlyOptimizations.ts 🧠 Brainy 2.0.0 - Zero-Configuration AI Database with Triple Intelligence™ 2025-08-26 12:32:21 -07:00
storageFactory.ts 🧠 Brainy 2.0.0 - Zero-Configuration AI Database with Triple Intelligence™ 2025-08-26 12:32:21 -07:00