UNPKG

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

53 lines 1.51 kB
import { ApiConfig } from './apiKeyManager'; export interface BasicAnalysis extends Record<string, unknown> { projectType: string; techStack: string[]; fileStats: { total: number; components: number; routes: number; tests: number; config: number; }; summary: string; existingDocs: string[]; packageManagers: string[]; frameworks: string[]; } export interface DetailedAnalysis { insights: string[]; recommendations: string[]; architecture: { patterns: string[]; structure: string; complexity: 'low' | 'medium' | 'high'; }; codeQuality: { score: number; issues: string[]; suggestions: string[]; }; } export declare class ProjectAnalyzer { private projectPath; constructor(projectPath: string); analyzeBasic(): Promise<BasicAnalysis>; shouldUseAI(): Promise<boolean>; analyzeDeep(_apiConfig: ApiConfig): Promise<DetailedAnalysis>; private getAllFiles; private readPackageJson; private detectProjectType; private detectTechStack; private calculateFileStats; private findExistingDocs; private detectPackageManagers; private detectFrameworks; private generateSummary; private detectArchitecturalPatterns; private analyzeStructure; private assessComplexity; private calculateQualityScore; private identifyIssues; private generateSuggestions; } //# sourceMappingURL=projectAnalyzer.d.ts.map