brainy/src
David Snelling abc17397b1 feat: Remove dangerous getAllNouns/getAllVerbs methods, add safe pagination
BREAKING CHANGE: Removed getAllNouns() and getAllVerbs() from StorageAdapter interface
These methods could cause expensive full scans on cloud storage (S3/R2) leading to
high costs and performance issues. Replaced with safe paginated methods.

Changes:
- Remove getAllNouns/getAllVerbs from StorageAdapter interface and implementations
- Add internal optimization methods for intelligent preloading when safe
- Fix OPFS storage file naming consistency (.json extension)
- Fix S3 high-volume mode detection thresholds (was too aggressive)
- Fix TypeScript compilation errors with async methods
- Update all tests to use paginated methods

Performance:
- Add smart dataset size detection for automatic optimization
- Maintain all internal performance optimizations through safe preloading
- Only preload data in read-only mode or when dataset is small (<10k entities)

Fixes:
- Fix intelligent verb scoring tests metadata structure
- Fix S3 storage getVerbsBySource/Target/Type methods
- Fix memory usage in search operations using pagination

Docs:
- Add comprehensive storage architecture documentation
- Document known bash redirection issue
- Update README with architecture doc link

All affected tests passing
2025-08-10 16:25:12 -07:00
..
augmentations feat: Remove dangerous getAllNouns/getAllVerbs methods, add safe pagination 2025-08-10 16:25:12 -07:00
chat feat: add Cortex CLI, augmentation system, and enterprise features 2025-08-07 19:33:03 -07:00
cli/commands fix: enhance universal fs interface with encoding and withFileTypes support 2025-08-09 14:42:20 -07:00
connectors feat: add 'brainy cloud' super command for simplified setup 2025-08-09 08:24:11 -07:00
cortex fix: enhance universal fs interface with encoding and withFileTypes support 2025-08-09 14:42:20 -07:00
distributed feat: add universal adapters for browser compatibility 2025-08-08 15:22:38 -07:00
errors **feat: implement robust error-handling and operation utilities for storage adapters** 2025-07-30 11:35:09 -07:00
examples refactor: clean up deprecated functions and unused code 2025-08-05 10:16:05 -07:00
hnsw fix: correct typo in README major updates section 2025-08-06 12:29:32 -07:00
mcp fix: enhance universal fs interface with encoding and withFileTypes support 2025-08-09 14:42:20 -07:00
shared feat: v0.57.0 - rename CLI to brainy and Neural Import to Cortex 2025-08-07 20:13:02 -07:00
storage feat: Remove dangerous getAllNouns/getAllVerbs methods, add safe pagination 2025-08-10 16:25:12 -07:00
types feat: release v0.56.0 - Cortex CLI complete implementation & TypeScript fixes 2025-08-07 19:59:19 -07:00
universal fix: enhance universal fs interface with encoding and withFileTypes support 2025-08-09 14:42:20 -07:00
utils feat: add comprehensive throttling detection and metrics collection 2025-08-08 07:14:10 -07:00
augmentationFactory.ts Initial commit 2025-06-24 11:41:30 -07:00
augmentationPipeline.ts fix(src/augmentationPipeline): remove unnecessary whitespace for formatting consistency 2025-06-30 09:39:25 -07:00
augmentationRegistry.ts Initial commit 2025-06-24 11:41:30 -07:00
augmentationRegistryLoader.ts Initial commit 2025-06-24 11:41:30 -07:00
brainyData.ts feat: Remove dangerous getAllNouns/getAllVerbs methods, add safe pagination 2025-08-10 16:25:12 -07:00
browserFramework.minimal.ts feat: add universal adapters for browser compatibility 2025-08-08 15:22:38 -07:00
browserFramework.ts refactor: simplify build system and improve model loading flexibility 2025-08-05 16:09:30 -07:00
coreTypes.ts feat: Remove dangerous getAllNouns/getAllVerbs methods, add safe pagination 2025-08-10 16:25:12 -07:00
demo.ts feat\!: migrate from TensorFlow.js to Transformers.js with ONNX Runtime 2025-08-05 19:29:59 -07:00
index.ts feat: add universal adapters for browser compatibility 2025-08-08 15:22:38 -07:00
pipeline.ts Initial commit 2025-06-24 11:41:30 -07:00
sequentialPipeline.ts Initial commit 2025-06-24 11:41:30 -07:00
setup.ts feat\!: migrate from TensorFlow.js to Transformers.js with ONNX Runtime 2025-08-05 19:29:59 -07:00
unified.ts **docs: remove outdated statistics-related documentation and add standards** 2025-07-28 16:00:05 -07:00
worker.js **feat(cli, workers): introduce text encoding patches and worker improvements** 2025-07-04 14:42:33 -07:00
worker.ts **feat(tests): add tests for TextEncoder, TensorFlow.js, and fallback mechanisms** 2025-07-11 11:11:56 -07:00