fix: add backwards compatibility exports for augmentation system

- Added deprecated augmentation type exports for compatibility
- Added WebRTCConduitAugmentation stub (deprecated)
- Fixed createConduitAugmentation export
- Maintained backwards compatibility while using new unified system
This commit is contained in:
David Snelling 2025-08-25 10:20:50 -07:00
parent 994276f09f
commit a0dca5651f
4 changed files with 67 additions and 3 deletions

View file

@ -189,6 +189,27 @@ import {
AugmentationOptions
} from './augmentationFactory.js'
// Export factory functions for creating augmentations
import {
createSenseAugmentation,
createConduitAugmentation,
createCognitionAugmentation,
createMemoryAugmentation,
createPerceptionAugmentation,
createDialogAugmentation,
createActivationAugmentation
} from './augmentationFactory.js'
export {
createSenseAugmentation,
createConduitAugmentation,
createCognitionAugmentation,
createMemoryAugmentation,
createPerceptionAugmentation,
createDialogAugmentation,
createActivationAugmentation
}
export {
// Unified pipeline exports
Pipeline,
@ -268,8 +289,7 @@ import {
} from './augmentations/storageAugmentations.js'
import {
WebSocketConduitAugmentation,
WebRTCConduitAugmentation,
createConduitAugmentation
WebRTCConduitAugmentation
} from './augmentations/conduitAugmentations.js'
import {
ServerSearchConduitAugmentation,