Add interactive TUI dashboard (Milestone 11)

- Lightweight TUI using Node.js readline (no extra deps)
- Browse nodes with vim-style navigation (j/k/arrows)
- Real-time search with / key
- Detail view with connections
- Filter by kind (1-4 keys)
- CLI: cortex tui, cortex ui
This commit is contained in:
2026-02-03 11:30:44 +01:00
parent f891f37bde
commit b1c62c5da9
3 changed files with 433 additions and 0 deletions

View File

@@ -24,6 +24,7 @@ import { importCommand } from './commands/import';
import { backupCommand, restoreDbCommand, listBackupsCommand } from './commands/backup-cmd';
import { graphsCommand, useCommand, initCommand } from './commands/graphs';
import { smartSearchCommand, ssCommand, whatCommand, contextAwareCommand } from './commands/smart';
import { tuiCommand, uiCommand } from './commands/tui';
import { closeDb } from '../core/db';
import { migrateOldDatabase } from '../core/db';
@@ -72,6 +73,8 @@ program.addCommand(smartSearchCommand);
program.addCommand(ssCommand);
program.addCommand(whatCommand);
program.addCommand(contextAwareCommand);
program.addCommand(tuiCommand);
program.addCommand(uiCommand);
// Check for old database migration
migrateOldDatabase();