fix: update all imports and references from BrainyData to Brainy

- Fixed imports in examples/tests/ to use correct Brainy import
- Fixed imports in tests/benchmarks/ to use correct paths
- Updated bin/brainy-interactive.js to use Brainy instead of BrainyData
- Corrected documentation references throughout codebase
- Removed duplicate imports in benchmark files
- All files now consistently use 'Brainy' class from dist/index.js
This commit is contained in:
David Snelling 2025-09-30 17:09:15 -07:00
parent 791fac54cd
commit 196690863d
77 changed files with 328 additions and 331 deletions

View file

@ -4,7 +4,7 @@
* 🚀 Focused Validation - Test Core Functionality with Timeout
*/
import { BrainyData } from './dist/index.js'
import { Brainy } from './dist/index.js'
console.log('🚀 Brainy 2.0 - Focused Production Test')
console.log('=' + '='.repeat(35))
@ -20,7 +20,7 @@ const TIMEOUT = 45000 // 45 seconds
const timeoutId = setTimeout(() => {
console.log(`\n⏰ TIMEOUT after ${timeElapsed()}s - Core systems initialized successfully!`)
console.log('🎯 Key Evidence:')
console.log('✅ BrainyData instantiated')
console.log('✅ Brainy instantiated')
console.log('✅ All augmentations loading')
console.log('✅ Storage systems operational')
console.log('✅ Models found in cache')
@ -30,7 +30,7 @@ const timeoutId = setTimeout(() => {
try {
console.log(`\n⏱️ [${timeElapsed()}s] Initializing brain...`)
const brain = new BrainyData({ storage: { type: 'memory' }, verbose: false })
const brain = new Brainy({ storage: { type: 'memory' }, verbose: false })
console.log(`⏱️ [${timeElapsed()}s] Starting init()...`)