context-crystallizer
Version:
AI Crystallization Engineering for Large Repositories - Transform massive repositories into crystallized, AI-consumable knowledge through systematic analysis and optimization. Crystallization extracts meaningful context from any readable files.
18 lines • 765 B
TypeScript
import { ContextTemplate, CrystallizedContext } from '../types/index.js';
export declare class TemplateManager {
private templates;
constructor();
private initializeTemplates;
getTemplate(name: string): ContextTemplate | null;
generateContextMarkdown(context: CrystallizedContext): string;
private generateSection;
private getSectionData;
private getSectionTitle;
private formatSectionContent;
determineTemplateForFile(complexity: 'low' | 'medium' | 'high', category: 'config' | 'source' | 'test' | 'docs' | 'other', estimatedTokens: number): 'short' | 'extended';
validateContext(context: CrystallizedContext): {
isValid: boolean;
errors: string[];
};
}
//# sourceMappingURL=template-manager.d.ts.map