faf-cli
Version:
😽 TURBO-CAT: The Rapid Catalytic Converter • Project DNA ✨ for ANY AI • Fully Integrated with React, Next.js, Svelte, TypeScript, Vite & n8n • FREE FOREVER • 10,000+ developers • Championship Edition
76 lines • 2.1 kB
TypeScript
/**
* 😽 TURBO-CAT™ v2.0.0 - POWERED BY FAB-FORMATS ENGINE!
*
* The KILLER FEATURE from fafdev.tools - now in CLI!
* Two-stage blitz pattern for massive codebases
* 86% scores from just 2 files!
*/
export interface FabFormatsResult {
fileName: string;
formatType: string;
category: string;
intelligence: any;
priority: number;
grade?: string;
score?: number;
frameworks?: string[];
}
export interface FabFormatsAnalysis {
discoveredFormats: FabFormatsResult[];
totalIntelligenceScore: number;
stackSignature: string;
slotFillRecommendations: Record<string, any>;
extractedContext: {
projectName?: string;
projectGoal?: string;
mainLanguage?: string;
frameworks?: string[];
dependencies?: Record<string, string>;
hasTests?: boolean;
hasBuild?: boolean;
hasTypeScript?: boolean;
};
}
export declare class FabFormatsEngine {
private processedCategories;
/**
* STAGE 1: DISCOVER - Find all formats in directory (FAST)
*/
discoverFormats(projectDir: string): Promise<FabFormatsAnalysis>;
/**
* Find all format files (no content reading yet!)
*/
private findAllFormats;
private isKnownExtension;
/**
* STAGE 2: CATEGORIZE - Smart deduplication
*/
private categorizeAndDeduplicate;
/**
* Categorize files - STRAIGHT FROM FAB-FORMATS!
*/
private categorizeFile;
/**
* STAGE 3: EXTRACT - Deep intelligence extraction
*/
private extractIntelligence;
/**
* Process individual file with intelligence extraction
*/
private processFile;
/**
* Process package.json with FAB-FORMATS quality grading
*/
private processPackageJson;
/**
* Grade package.json quality - THE SECRET SAUCE!
*/
private gradePackageJsonQuality;
private getPriority;
private detectFrameworks;
/**
* STAGE 4: ANALYZE - Generate final intelligence report
*/
private analyzeResults;
}
//# sourceMappingURL=fab-formats-engine.d.ts.map