UNPKG

mcp-adr-analysis-server

Version:

MCP server for analyzing Architectural Decision Records and project architecture

47 lines 1.29 kB
/** * Migration Utility for JSON-First TODO System * * Helps users transition from markdown-based TODO.md files to the new * JSON-first system with backup and validation. */ export interface MigrationOptions { projectPath?: string; backupOriginal?: boolean; preserveMarkdown?: boolean; validateAfterMigration?: boolean; dryRun?: boolean; } export interface MigrationResult { success: boolean; migratedTasks: number; backupPath?: string; errors: string[]; warnings: string[]; summary: string; } export declare class TodoMigrationUtility { private todoManager; private projectPath; private todoMdPath; private backupDir; constructor(projectPath?: string); /** * Migrate existing TODO.md to JSON format */ migrateToJsonFormat(options?: MigrationOptions): Promise<MigrationResult>; /** * Validate migration results */ private validateMigration; /** * Create a summary report of existing TODO.md */ generateMigrationReport(): Promise<string>; /** * Generate a comparison between old and new systems */ generateFeatureComparison(): Promise<string>; private fileExists; private ensureBackupDirectory; } //# sourceMappingURL=todo-migration.d.ts.map