@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.
- package/.turbo/turbo-build.log +8 -10
- package/.turbo/turbo-test.log +18 -18
- package/dist/chunk-7K3CNS6C.mjs +234 -0
- package/dist/cli.js +7 -6
- package/dist/cli.mjs +3 -7
- package/dist/index.js +5 -0
- package/dist/index.mjs +1 -1
- package/package.json +12 -12
- package/src/.aiready/aiready-report-20260307-111255.json +51969 -0
- package/src/.aiready/aiready-report-20260307-112758.json +52041 -0
- package/src/.aiready/aiready-report-20260307-113438.json +52041 -0
- package/src/.aiready/aiready-report-20260307-114116.json +52041 -0
- package/src/.aiready/aiready-report-20260307-131618.json +52041 -0
- package/src/commands/scan.ts +2 -7
- package/src/index.ts +8 -0
package/src/commands/scan.ts
CHANGED
|
@@ -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('\
|
|
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: (
|
|
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
|