brainy/bin/brainy-ts.js
David Snelling 26c7d61185 CHECKPOINT: Brainy 2.0 API refactor - pre-fixes state
Current state:
- Unified augmentation system to BrainyAugmentation interface
- Changed methods to specific noun/verb naming (addNoun, getNoun, etc)
- Made old methods private
- Combined getNouns into single unified method
- Neural API exists and is complete
- Triple Intelligence uses correct Brainy operators (not MongoDB)

Issues identified:
- Documentation incorrectly shows MongoDB operators (code is correct)
- Need to ensure all features are properly exposed
- Need to verify nothing was lost in simplification

This commit serves as a rollback point before applying fixes.
2025-08-25 09:52:32 -07:00

18 lines
No EOL
479 B
JavaScript

#!/usr/bin/env node
/**
* Modern TypeScript CLI Runner
*
* This is the entry point after npm install @soulcraft/brainy
* It runs the compiled TypeScript CLI code
*/
// Use the compiled TypeScript CLI
import('../dist/cli/index.js').catch(err => {
// Fallback to legacy CLI if new one isn't built yet
import('./brainy.js').catch(() => {
console.error('Error: CLI not properly built. Please reinstall the package.')
console.error(err)
process.exit(1)
})
})