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,
StreamlinedExecutionMode,
// Augmentation factory exports
createSenseAugmentation,
addWebSocketSupport,
executeAugmentation,
loadAugmentationModule
// Augmentation factory exports (REMOVED in 2.0 - Use BrainyAugmentation interface)
// createSenseAugmentation, // → Use BaseAugmentation class
// addWebSocketSupport, // → Use APIServerAugmentation
// executeAugmentation, // → Use brain.augmentations.execute()
// loadAugmentationModule // → Use dynamic imports
}
export type {
PipelineOptions,
PipelineResult,
StreamlinedPipelineOptions,
StreamlinedPipelineResult,
AugmentationOptions
StreamlinedPipelineResult
// AugmentationOptions - REMOVED in 2.0 (use BaseAugmentation config)
}
// Export augmentation registry for build-time loading