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,
|
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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue