release: v2.0.6 - Intelligence & UX Optimization (2026-05-14)

This commit is contained in:
g1nation
2026-05-14 00:13:54 +09:00
parent 39386f90b5
commit f1d5dbf031
18 changed files with 592 additions and 59 deletions
+10 -2
View File
@@ -115,6 +115,14 @@ export interface BuildResult {
created: boolean;
/** Result of the scan that fed this build. */
scan: ArchitectureScanResult;
/**
* What the underlying deep-scan actually did this run — how many files
* were freshly analysed vs. served from the on-disk cache, and whether
* any tracked files have disappeared. The sidebar surfaces these counts
* after every Refresh so users can trust the operation actually ran
* (instead of the previous mysterious "updated just now in 0.1s").
*/
refreshStats: RefreshStats;
}
/** Resolve the architecture doc path for a given project root. */
@@ -181,7 +189,7 @@ export function buildOrRefreshArchitectureDoc(
newlyAnalyzed: deep.refreshStats.newlyAnalyzed,
cached: deep.refreshStats.cached,
});
return { docPath, created: true, scan };
return { docPath, created: true, scan, refreshStats: deep.refreshStats };
}
// In-place refresh: rewrite the auto-managed block, keep user-owned sections.
@@ -196,7 +204,7 @@ export function buildOrRefreshArchitectureDoc(
deleted: deep.refreshStats.deleted.length,
});
}
return { docPath, created: false, scan };
return { docPath, created: false, scan, refreshStats: deep.refreshStats };
}
/**