feat: complete CLI with VFS, data management, and Triple Intelligence search

Comprehensive CLI enhancements bringing full Brainy functionality to command line:

- Add complete VFS operations (read, write, ls, stat, mkdir, rm, search, similar, tree)
- Migrate VFS to clean subcommand pattern (brainy vfs read vs brainy vfs-read)
- Add backward compatibility with deprecation warnings for vfs-* commands
- Expose full Triple Intelligence™ search capabilities (vector + graph + field)
- Add simple "find" command mirroring code usage: brain.find("query")
- Add data management commands (backup, restore, detailed stats)
- Remove all fake/mock/stub code from CLI commands
- Fix VFS initialization (add await vfs.init() to all commands)
- Fix utility clean() to use real DataAPI.clear()
- Mark semantic path finding as coming in v3.21.0

CLI now covers 75%+ of Brainy capabilities with production-ready implementations.
This commit is contained in:
David Snelling 2025-09-29 16:57:14 -07:00
parent 028d37e216
commit 9d355649af
9 changed files with 1114 additions and 213 deletions

View file

@ -7,7 +7,7 @@
"types": "dist/index.d.ts",
"type": "module",
"bin": {
"brainy": "bin/brainy-minimal.js"
"brainy": "bin/brainy.js"
},
"sideEffects": [
"./dist/setup.js",