UNPKG

memory-engineering-mcp

Version:

🧠 AI Memory System powered by MongoDB Atlas & Voyage AI - Autonomous memory management with zero manual work

17 lines • 842 B
/** * Auto Index Manager - Ensures all indexes are created automatically * This runs in the background to guarantee users have all indexes without manual setup */ import { Collection } from 'mongodb'; import type { MemoryDocument, CodeChunk } from '../types/memory-v5.js'; /** * Automatically ensures all required indexes exist * Called during init and periodically in background */ export declare function ensureAllIndexes(memoryCollection: Collection<MemoryDocument>, codeCollection: Collection<CodeChunk>): Promise<void>; /** * Background task to ensure indexes after a delay * This catches any indexes that might have failed during init */ export declare function startIndexBackgroundTask(memoryCollection: Collection<MemoryDocument>, codeCollection: Collection<CodeChunk>): void; //# sourceMappingURL=auto-index-manager.d.ts.map