woaru
Version:
Universal Project Setup Autopilot - Analyze and automatically configure development tools for ANY programming language
67 lines • 2.19 kB
TypeScript
import { EventEmitter } from 'events';
import { SupervisorConfig, ProjectState, ToolRecommendation } from './types';
export declare class WOARUSupervisor extends EventEmitter {
private stateManager;
private fileWatcher;
private notificationManager;
private toolEngine;
private projectAnalyzer;
private languageDetector;
private qualityRunner;
private productionAuditor;
private databaseManager;
private config;
private isRunning;
private projectPath;
private lastRecommendationCheck;
private lastSecurityCheck;
private recommendationInterval?;
private securityInterval?;
private cleanupHandlers;
private lastSecurityFindings;
constructor(projectPath: string, config?: Partial<SupervisorConfig>);
private mergeConfig;
private setupEventListeners;
start(): Promise<void>;
stop(): Promise<void>;
private performInitialAnalysis;
private detectExistingTools;
private handleFileChanges;
private handleCriticalFileChange;
private checkRecommendations;
private autoSetupTools;
getStatus(): {
isRunning: boolean;
state: ProjectState;
watchedFiles: number;
config: SupervisorConfig;
};
getCurrentRecommendations(): Promise<ToolRecommendation[]>;
addIgnoredTool(tool: string): void;
removeIgnoredTool(tool: string): void;
private startRecommendationChecks;
private stopRecommendationChecks;
private startSecurityMonitoring;
private stopSecurityMonitoring;
private cleanupEventListeners;
private runProductionAudit;
private determineProjectType;
destroy(): Promise<void>;
/**
* Runs comprehensive security check in the background when files change
*/
private runBackgroundSecurityCheck;
/**
* Runs periodic security check (every 15 minutes)
*/
private runPeriodicSecurityCheck;
/**
* Compare current findings with previous ones to identify new critical issues
*/
private getNewCriticalFindings;
/**
* Helper to get all project files (for security analysis)
*/
private getAllProjectFiles;
}
//# sourceMappingURL=WAUSupervisor.d.ts.map