devibe
Version:
Intelligent repository cleanup with auto mode, AI learning, markdown consolidation, auto-consolidate workflow, context-aware classification, and cost optimization
39 lines • 1.15 kB
TypeScript
/**
* README AI Section Manager
*
* Manages the unified "AI Navigation Guide" section in README.md
* Both DocsIndexGenerator and ScriptsIndexGenerator coordinate through this
* to maintain a single, comprehensive AI instruction section.
*/
export interface IndexInfo {
docsIndex?: string;
scriptsIndex?: string;
}
export declare class ReadmeAISectionManager {
private readonly marker;
/**
* Update or create the unified AI navigation section
*/
updateReadme(rootPath: string, indexInfo: IndexInfo): Promise<void>;
/**
* Remove old separate AUTO-DOCS-INDEX and AUTO-SCRIPTS-INDEX sections
*/
private removeOldSections;
/**
* Get current index information from README
*/
getCurrentIndexInfo(rootPath: string): Promise<IndexInfo>;
/**
* Generate unified AI navigation section
*/
private generateUnifiedSection;
/**
* Create minimal README with index links
*/
private createMinimalReadme;
/**
* Insert section into README at appropriate location
*/
private insertSection;
}
//# sourceMappingURL=readme-ai-section-manager.d.ts.map