brainy/src
David Snelling 5f0d9f4b0a **refactor: rename directories and variables for semantic clarity in OPFS storage**
### Changes:
- Renamed `nodes` to `nouns` and `edges` to `verbs` across `opfsStorage.ts`, improving code semantics:
  - Directory constants (e.g., `NODES_DIR` → `NOUNS_DIR`).
  - Class properties, method names, and variables updated accordingly.
- Introduced global type augmentation for `FileSystemDirectoryHandle` to support `entries()` method, improving compatibility.
- Updated directory management logic:
  - Adjusted initialization, recreation, and metadata retrieval methods to reflect new nomenclature.
  - Enhanced handling for directory entries in both `nouns` and `verbs` contexts.
- Refined comments, formatting, and TypeScript annotations for consistency.

### Purpose:
Improved the code's readability and semantic clarity by aligning directory and variable names with their conceptual purpose (`nouns` for entities, `verbs` for relationships). Enhanced maintainability and developer understanding of the storage implementation.
2025-06-19 15:03:06 -07:00
..
augmentations **remove: delete LLM augmentations implementation** 2025-06-19 15:00:26 -07:00
examples chore: remove examples/externalPlugins.js and pluginLoader.ts, update imports to .js 2025-05-29 09:52:30 -07:00
hnsw **feat: integrate optimized index functionality into BrainyData** 2025-06-19 15:02:25 -07:00
storage **refactor: rename directories and variables for semantic clarity in OPFS storage** 2025-06-19 15:03:06 -07:00
types **feat: introduce Optimized HNSW Index with product quantization and disk-based storage support** 2025-06-19 15:02:05 -07:00
utils **refactor: remove simple embedding model and enhance UniversalSentenceEncoder implementation** 2025-06-19 15:02:39 -07:00
augmentationPipeline.ts feat: implement SequentialPipeline with threading and WebSocket support 2025-06-04 10:01:46 -07:00
augmentationRegistry.ts chore: remove examples/externalPlugins.js and pluginLoader.ts, update imports to .js 2025-05-29 09:52:30 -07:00
augmentationRegistryLoader.ts chore: remove examples/externalPlugins.js and pluginLoader.ts, update imports to .js 2025-05-29 09:52:30 -07:00
brainyData.ts **feat: integrate optimized index functionality into BrainyData** 2025-06-19 15:02:25 -07:00
cli.ts **feat: add backup and restore commands for database operations** 2025-06-19 15:00:58 -07:00
coreTypes.ts **feat: introduce Optimized HNSW Index with product quantization and disk-based storage support** 2025-06-19 15:02:05 -07:00
index.ts **feat: add browser-compatible build configuration and environment detection** 2025-06-19 14:59:42 -07:00
sequentialPipeline.ts chore: update Node.js requirement to 23.11.0 and optimize pipelines and utilities 2025-06-05 14:51:21 -07:00
unified.ts **feat: add browser-compatible build configuration and environment detection** 2025-06-19 14:59:42 -07:00