/** * Initial Repository Explorer * * Runs a mandatory deep exploration of the repository at session start. * Uses maximum parallelism within 128k context window constraints. * Displays each file being processed in real-time to users. * * After initial exploration, follow-up prompts leverage cached context * for dramatically faster and more accurate responses. */ export interface FileExplorationResult { path: string; relativePath: string; content: string; tokens: number; truncated: boolean; priority: number; } export interface ExplorationProgress { phase: 'scanning' | 'reading' | 'analyzing' | 'complete'; totalFiles: number; processedFiles: number; currentFiles: string[]; tokensUsed: number; tokenBudget: number; } export interface ExplorationResult { files: FileExplorationResult[]; totalTokens: number; skippedFiles: number; duration: number; contextSummary: string; } export type ProgressCallback = (progress: ExplorationProgress) => void; /** * Run initial repository exploration * * This is called at session start to deeply understand the codebase. * Uses maximum parallelism while staying within context budget. */ export declare function runInitialExploration(workingDir: string, onProgress?: ProgressCallback): Promise; /** * Format exploration results as context for the LLM */ export declare function formatExplorationContext(result: ExplorationResult): string; /** * Create a visual progress display for terminal output */ export declare function createProgressDisplay(): { update: (progress: ExplorationProgress) => string; complete: (result: ExplorationResult) => string; }; //# sourceMappingURL=initialExplorer.d.ts.map