vibe-coder-mcp
Version:
Production-ready MCP server with complete agent integration, multi-transport support, and comprehensive development automation tools for AI-assisted workflows.
31 lines • 1.2 kB
TypeScript
export declare class ImportCycleBreaker {
private static importStack;
private static importHistory;
private static readonly IMPORT_TIMEOUT;
private static readonly HISTORY_CLEANUP_INTERVAL;
private static cleanupTimer?;
static safeImport<T>(modulePath: string, importName?: string): Promise<T | null>;
private static performImport;
private static recordImportAttempt;
private static startCleanupTimer;
private static cleanupImportHistory;
static getCurrentImportStack(): string[];
static getImportHistory(): Record<string, {
timestamp: number;
success: boolean;
}>;
static clearAll(): void;
static isImportInProgress(modulePath: string, importName?: string): boolean;
static getStatistics(): {
currentImports: number;
historyEntries: number;
successfulImports: number;
failedImports: number;
};
static createModuleImporter(modulePath: string): <T>(importName?: string) => Promise<T | null>;
static safeBatchImport<T>(imports: Array<{
modulePath: string;
importName?: string;
}>): Promise<Array<T | null>>;
}
//# sourceMappingURL=import-cycle-breaker.d.ts.map