Checkpoint: File edits

Automatic checkpoint created by Claude Code
- Branch: v3
- Timestamp: 2026-01-07T15:04:24Z
- Changes: 1 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
rUvandClaude Opus 4.5 committed 2026-01-07 15:04:24 +00:00
1 parent bdd230cc77
commit bfef09d55e
1 file changed
+12 -2
@@ -1026,7 +1026,7 @@ function findCommonPrefix(strings: string[]): string {
}
/**
* Full graph analysis
* Full graph analysis (with caching)
*/
export async function analyzeGraph(
rootDir: string,
@@ -1034,9 +1034,19 @@ export async function analyzeGraph(
includeBoundaries?: boolean;
includeModules?: boolean;
numPartitions?: number;
skipCache?: boolean;
} = {}
): Promise<GraphAnalysisResult> {
const graph = await buildDependencyGraph(rootDir);
// Check cache first
const cacheKey = `analysis:${rootDir}:${JSON.stringify(options)}`;
if (!options.skipCache) {
const cached = analysisResultCache.get(cacheKey);
if (cached && Date.now() - cached.timestamp < ANALYSIS_CACHE_TTL_MS) {
return cached.result;
}
}
const graph = await buildDependencyGraph(rootDir, { skipCache: options.skipCache });
// Calculate statistics
const nodeCount = graph.nodes.size;