From a83edd0d1606058de3016043a719ddf16fbdf72d Mon Sep 17 00:00:00 2001 From: David Snelling Date: Mon, 25 Aug 2025 11:38:49 -0700 Subject: [PATCH] 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 --- src/index.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/index.ts b/src/index.ts index 227b60a2..799999f1 100644 --- a/src/index.ts +++ b/src/index.ts @@ -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