@aiready/cli 0.12.3 → 0.12.8

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.
@@ -164,7 +164,7 @@ export async function scanAction(directory: string, options: ScanOptions) {
164
164
  }
165
165
 
166
166
  // Handle tool completion
167
- process.stdout.write('\n'); // Clear the progress line
167
+ process.stdout.write('\r\x1b[K'); // Clear the progress line
168
168
  console.log(chalk.cyan(`--- ${event.tool.toUpperCase()} RESULTS ---`));
169
169
  const res = event.data;
170
170
  if (res && res.summary) {
@@ -182,12 +182,7 @@ export async function scanAction(directory: string, options: ScanOptions) {
182
182
  const results = await analyzeUnified({
183
183
  ...finalOptions,
184
184
  progressCallback,
185
- onProgress: (processed: number, total: number, message: string) => {
186
- process.stdout.write(
187
- `\r\x1b[K [${processed}/${total}] ${message}...`
188
- );
189
- if (processed === total) process.stdout.write('\n');
190
- },
185
+ onProgress: () => {},
191
186
  suppressToolConfig: true,
192
187
  });
193
188
 
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