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:
parent
ca8eb5520e
commit
a83edd0d16
1 changed files with 7 additions and 7 deletions
14
src/index.ts
14
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue