@aiready/cli 0.12.3 → 0.12.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/index.ts CHANGED
@@ -99,6 +99,7 @@ export async function analyzeUnified(
99
99
  const result: UnifiedAnalysisResult = {
100
100
  summary: {
101
101
  totalIssues: 0,
102
+ totalFiles: 0,
102
103
  toolsRun: [],
103
104
  executionTime: 0,
104
105
  },
@@ -161,6 +162,13 @@ export async function analyzeUnified(
161
162
  result[provider.id] = output;
162
163
  result.summary.toolsRun.push(provider.id);
163
164
 
165
+ // Track total files analyzed across all tools
166
+ const toolFiles =
167
+ output.summary?.totalFiles || output.summary?.filesAnalyzed || 0;
168
+ if (toolFiles > result.summary.totalFiles) {
169
+ result.summary.totalFiles = toolFiles;
170
+ }
171
+
164
172
  const issueCount = output.results.reduce(
165
173
  (sum: number, file: any) => sum + (file.issues?.length || 0),
166
174
  0