devibe
Version:
Intelligent repository cleanup with auto mode, AI learning, markdown consolidation, auto-consolidate workflow, context-aware classification, and cost optimization
48 lines • 1.27 kB
TypeScript
/**
* Project Structure Analyzer
*
* Analyzes the entire project structure to understand:
* - Monorepo vs single repo
* - Framework (NX, Turborepo, Lerna, etc.)
* - Technologies used (React, Node.js, iOS, etc.)
* - Test strategy
*
* This context helps AI make smarter decisions.
*/
import type { GitRepository } from './types.js';
import type { ProjectStructure } from './ai-learning-database.js';
export declare class ProjectStructureAnalyzer {
/**
* Analyze project structure
*/
analyze(rootPath: string, repositories: GitRepository[]): Promise<ProjectStructure>;
/**
* Detect monorepo framework
*/
private detectFramework;
/**
* Detect technology stack for a repository
*/
private detectTechnology;
/**
* Detect test strategy
*/
private detectTestStrategy;
/**
* Check if directory has test files
*/
private hasTestFilesInDirectory;
/**
* Check if file exists
*/
private fileExists;
/**
* Check if directory exists
*/
private directoryExists;
/**
* Get project context as a prompt string for AI
*/
buildContextPrompt(structure: ProjectStructure): string;
}
//# sourceMappingURL=project-structure-analyzer.d.ts.map