UNPKG

@snapspecter/mcp-meta-mind

Version:

Meta Mind MCP Server - Advanced Model Context Protocol server for intelligent task management, workflow orchestration, and automatic archiving with hierarchical structures and agent specialization

55 lines (54 loc) 1.42 kB
export declare class MigrationUtility { private taskRepository; constructor(); /** * Check if migration is needed (old JSON files exist) */ isMigrationNeeded(): Promise<boolean>; /** * Perform complete migration from JSON files to SQLite */ performMigration(): Promise<{ success: boolean; migratedRequests: number; migratedTasks: number; migratedArchivedTasks: number; errors: string[]; }>; /** * Migrate active tasks from JSON file to SQLite */ private _migrateActiveTasks; /** * Migrate completed/archived tasks from JSON file to SQLite */ private _migrateCompletedTasks; /** * Migrate a single task to the database */ private _migrateTask; /** * Migrate a single archived task to the database */ private _migrateArchivedTask; /** * Backup original JSON files */ private _backupOriginalFiles; /** * Clean up original JSON files after successful migration */ cleanupOriginalFiles(): Promise<void>; /** * Get migration status */ getMigrationStatus(): Promise<{ hasOldFiles: boolean; hasSqliteDatabase: boolean; needsMigration: boolean; }>; } /** * Standalone migration function that can be called from command line */ export declare function runMigration(): Promise<void>;