feat: implement zero-config system with Node.js 22 compatibility
- Add comprehensive zero-config preset system (production, development, minimal) - Implement intelligent auto-configuration for models and storage - Add Node.js version enforcement for ONNX Runtime stability - Force single-threaded ONNX operations to prevent V8 HandleScope crashes - Create extensible configuration architecture - Add 14 distributed system presets for enterprise deployments - Include detailed documentation and migration guides BREAKING CHANGE: Now requires Node.js 22.x LTS for optimal stability
This commit is contained in:
parent
4d60384755
commit
5f862bad98
20 changed files with 3718 additions and 71 deletions
28
src/index.ts
28
src/index.ts
|
|
@ -15,6 +15,34 @@ import { BrainyData, BrainyDataConfig } from './brainyData.js'
|
|||
export { BrainyData }
|
||||
export type { BrainyDataConfig }
|
||||
|
||||
// Export zero-configuration types and enums
|
||||
export {
|
||||
// Preset names
|
||||
PresetName,
|
||||
// Model configuration
|
||||
ModelPrecision,
|
||||
// Storage configuration
|
||||
StorageOption,
|
||||
// Feature configuration
|
||||
FeatureSet,
|
||||
// Distributed roles
|
||||
DistributedRole,
|
||||
// Categories
|
||||
PresetCategory,
|
||||
// Config type
|
||||
BrainyZeroConfig,
|
||||
// Extensibility
|
||||
StorageProvider,
|
||||
registerStorageAugmentation,
|
||||
registerPresetAugmentation,
|
||||
// Preset utilities
|
||||
getPreset,
|
||||
isValidPreset,
|
||||
getPresetsByCategory,
|
||||
getAllPresetNames,
|
||||
getPresetDescription
|
||||
} from './config/index.js'
|
||||
|
||||
// Export Cortex (the orchestrator)
|
||||
export {
|
||||
Cortex,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue