context-forge
Version:
AI orchestration platform with autonomous teams, enhancement planning, migration tools, 25+ slash commands, checkpoints & hooks. Multi-IDE: Claude, Cursor, Windsurf, Cline, Copilot
31 lines • 999 B
TypeScript
import { ProjectConfig } from '../types';
export interface ErrorContext {
command: string;
operation: string;
projectPath: string;
config?: ProjectConfig | Record<string, unknown>;
stackTrace?: string;
}
export interface RecoveryAction {
id: string;
title: string;
description: string;
action: () => Promise<boolean>;
priority: 'critical' | 'high' | 'medium' | 'low';
automated: boolean;
}
export declare class ErrorRecoveryService {
private aiService;
constructor();
handleError(error: Error, context: ErrorContext): Promise<void>;
private getRecoverySuggestions;
private generateRecoveryActions;
private fixPermissions;
private createMissingDirectories;
private installDependencies;
private resetConfiguration;
private getPriorityColor;
private showAdditionalHelp;
executeWithRecovery<T>(operation: () => Promise<T>, context: ErrorContext): Promise<T>;
}
//# sourceMappingURL=errorRecoveryService.d.ts.map