Fix critical export issues in index.ts

- Remove non-existent augmentation factory functions
- Comment out createSenseAugmentation, addWebSocketSupport, executeAugmentation
- Remove AugmentationOptions type export
- These were part of old augmentation system replaced by unified BrainyAugmentation

Tests should now be able to import from index.ts without expecting deprecated functions
This commit is contained in:
David Snelling 2025-08-25 11:38:49 -07:00
parent ca8eb5520e
commit a83edd0d16

View file

@ -194,18 +194,18 @@ export {
createStreamingPipeline, createStreamingPipeline,
StreamlinedExecutionMode, StreamlinedExecutionMode,
// Augmentation factory exports // Augmentation factory exports (REMOVED in 2.0 - Use BrainyAugmentation interface)
createSenseAugmentation, // createSenseAugmentation, // → Use BaseAugmentation class
addWebSocketSupport, // addWebSocketSupport, // → Use APIServerAugmentation
executeAugmentation, // executeAugmentation, // → Use brain.augmentations.execute()
loadAugmentationModule // loadAugmentationModule // → Use dynamic imports
} }
export type { export type {
PipelineOptions, PipelineOptions,
PipelineResult, PipelineResult,
StreamlinedPipelineOptions, StreamlinedPipelineOptions,
StreamlinedPipelineResult, StreamlinedPipelineResult
AugmentationOptions // AugmentationOptions - REMOVED in 2.0 (use BaseAugmentation config)
} }
// Export augmentation registry for build-time loading // Export augmentation registry for build-time loading