Add smart retrieval with git context (Milestone 10)
- Git context extraction: branch, commits, modified files - Smart search with context-based re-ranking - Time boosting for recently accessed nodes - File relevance boosting for modified files - Branch keyword matching - CLI: smart-search, ss, what, now commands - MCP tools: memory_smart_search, memory_what
This commit is contained in:
@@ -23,6 +23,7 @@ import { exportCommand, vizCommand } from './commands/export';
|
||||
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 { closeDb } from '../core/db';
|
||||
import { migrateOldDatabase } from '../core/db';
|
||||
|
||||
@@ -67,6 +68,10 @@ program.addCommand(listBackupsCommand);
|
||||
program.addCommand(graphsCommand);
|
||||
program.addCommand(useCommand);
|
||||
program.addCommand(initCommand);
|
||||
program.addCommand(smartSearchCommand);
|
||||
program.addCommand(ssCommand);
|
||||
program.addCommand(whatCommand);
|
||||
program.addCommand(contextAwareCommand);
|
||||
|
||||
// Check for old database migration
|
||||
migrateOldDatabase();
|
||||
|
||||
Reference in New Issue
Block a user