open-brainy/src
David Snelling d18a5a6c22 refactor(worker-threads): pass functions as strings to resolve Promise cloning issues
- Updated worker execution logic to pass functions as stringified versions instead of reference types to avoid cloning issues in worker threads.
- Refactored utility functions in `workerUtils` to accept serialized function strings.
- Adjusted embedding and augmentation pipeline workflows to align with the updated worker handling mechanism.
- Enhanced parallel distance calculator to support structured arguments with stringified distance functions for better compatibility.
2025-06-24 10:38:05 -07:00
..
augmentations Initial commit 2025-06-24 10:16:12 -07:00
examples Initial commit 2025-06-24 10:16:12 -07:00
hnsw refactor(worker-threads): pass functions as strings to resolve Promise cloning issues 2025-06-24 10:38:05 -07:00
mcp Initial commit 2025-06-24 10:16:12 -07:00
storage Initial commit 2025-06-24 10:16:12 -07:00
types Initial commit 2025-06-24 10:16:12 -07:00
utils refactor(worker-threads): pass functions as strings to resolve Promise cloning issues 2025-06-24 10:38:05 -07:00
augmentationFactory.ts Initial commit 2025-06-24 10:16:12 -07:00
augmentationPipeline.ts refactor(worker-threads): pass functions as strings to resolve Promise cloning issues 2025-06-24 10:38:05 -07:00
augmentationRegistry.ts Initial commit 2025-06-24 10:16:12 -07:00
augmentationRegistryLoader.ts Initial commit 2025-06-24 10:16:12 -07:00
brainyData.ts Initial commit 2025-06-24 10:16:12 -07:00
cli.ts Initial commit 2025-06-24 10:16:12 -07:00
coreTypes.ts Initial commit 2025-06-24 10:16:12 -07:00
global.d.ts Initial commit 2025-06-24 10:16:12 -07:00
index.ts Initial commit 2025-06-24 10:16:12 -07:00
pipeline.ts refactor(worker-threads): pass functions as strings to resolve Promise cloning issues 2025-06-24 10:38:05 -07:00
sequentialPipeline.ts Initial commit 2025-06-24 10:16:12 -07:00
unified.ts Initial commit 2025-06-24 10:16:12 -07:00