CRITICAL CHECKPOINT - DO NOT PUSH TO GITHUB Recovery Status: - Successfully recovered brainy.ts from compiled JavaScript - All core v3.0 API methods functional (add, get, update, delete, relate, find, etc.) - Neural subsystem intact (562KB embedded patterns, NLP working) - Augmentation pipeline operational (20+ augmentations) - HNSW clustering system complete - Triple Intelligence compiled (needs constructor fix) - Test suite validates functionality Changes preserved: - 898 files with changes from last 3 days - 144,475 insertions - All augmentation improvements - All test coverage enhancements - Complete v3.0 feature set This is a LOCAL checkpoint only - contains recovered work after corruption incident. Created backup in .backups/brainy-full-20250910-151314.tar.gz Branch: recovery-checkpoint-20250910-151433 Date: Wed Sep 10 03:18:04 PM PDT 2025
39 lines
No EOL
1.3 KiB
JavaScript
39 lines
No EOL
1.3 KiB
JavaScript
/**
|
|
* Augmentation Pipeline (Compatibility Layer)
|
|
*
|
|
* @deprecated This file provides backward compatibility for code that imports
|
|
* from augmentationPipeline. All new code should use AugmentationRegistry directly.
|
|
*
|
|
* This minimal implementation redirects to the new AugmentationRegistry system.
|
|
*/
|
|
/**
|
|
* Execution mode for pipeline operations
|
|
*/
|
|
export var ExecutionMode;
|
|
(function (ExecutionMode) {
|
|
ExecutionMode["SEQUENTIAL"] = "sequential";
|
|
ExecutionMode["PARALLEL"] = "parallel";
|
|
ExecutionMode["FIRST_SUCCESS"] = "firstSuccess";
|
|
ExecutionMode["FIRST_RESULT"] = "firstResult";
|
|
ExecutionMode["THREADED"] = "threaded";
|
|
})(ExecutionMode || (ExecutionMode = {}));
|
|
/**
|
|
* Minimal Cortex class for backward compatibility
|
|
* Redirects all operations to the new AugmentationRegistry system
|
|
*/
|
|
export class Cortex {
|
|
constructor() {
|
|
if (Cortex.instance) {
|
|
return Cortex.instance;
|
|
}
|
|
Cortex.instance = this;
|
|
}
|
|
}
|
|
// Create and export a default instance of the cortex
|
|
export const cortex = new Cortex();
|
|
// Backward compatibility exports
|
|
export const AugmentationPipeline = Cortex;
|
|
export const augmentationPipeline = cortex;
|
|
// Export types for compatibility (avoid duplicate export)
|
|
// PipelineOptions already exported above
|
|
//# sourceMappingURL=augmentationPipeline.js.map
|