feat: remove legacy ImportManager, standardize getStats() API

- Removed ImportManager class and exports (use brain.import() instead)
- Fixed all documentation: getStatistics() → getStats()
- Updated 41 files across codebase for consistency
- Removed ImportManager section from API docs
- Added v3.30.0 migration guide to CHANGELOG

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
David Snelling 2025-10-09 11:40:31 -07:00
parent 68c989e4f7
commit 58daf09403
31 changed files with 87 additions and 481 deletions

View file

@ -50,7 +50,7 @@ async function testNoSearch() {
console.log(`✅ Found ${verbs.length} verb(s) from TypeScript`)
console.log('\n6. Checking statistics...')
const stats = await brain.getStatistics()
const stats = brain.getStats()
console.log(`✅ Stats: ${stats.nounCount} nouns, ${stats.verbCount} verbs`)
console.log('\n7. Memory check...')