- Updated `storage-adapter-coverage.test` to handle different adapter behaviors: - Memory adapter: size remains 0 after restoration. - FileSystem adapter: size matches restored items. - Enhanced `delete` method in `brainyData.ts`: - Added handling for content text passed instead of ID. - Improved logging for better traceability during deletions. - Modified restoration logic to skip index rebuilding during test scenarios: - Clears index explicitly in test environments when performing a backup restoration for storage tests. - Refined logic in `specialized-scenarios.test`: - Validated database size changes after adding and deleting items. - Enhanced clarity and debugging |
||
|---|---|---|
| .. | ||
| augmentations | ||
| errors | ||
| examples | ||
| hnsw | ||
| mcp | ||
| storage | ||
| testing | ||
| types | ||
| utils | ||
| augmentationFactory.ts | ||
| augmentationPipeline.ts | ||
| augmentationRegistry.ts | ||
| augmentationRegistryLoader.ts | ||
| brainyData.ts | ||
| coreTypes.ts | ||
| index.ts | ||
| patched-platform-node.ts | ||
| pipeline.ts | ||
| sequentialPipeline.ts | ||
| setup.ts | ||
| unified.ts | ||
| worker.js | ||
| worker.ts | ||