threadlines 0.1.36 → 0.1.37
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/dist/commands/check.js +10 -5
- package/package.json +1 -1
package/dist/commands/check.js
CHANGED
|
@@ -422,18 +422,23 @@ function displayResults(response, showFull) {
|
|
|
422
422
|
// Show attention items
|
|
423
423
|
if (attentionItems.length > 0) {
|
|
424
424
|
for (const item of attentionItems) {
|
|
425
|
-
console.log(chalk_1.default.yellow(
|
|
425
|
+
console.log(chalk_1.default.yellow(`[attention] ${item.expertId}`));
|
|
426
426
|
if (item.fileReferences && item.fileReferences.length > 0) {
|
|
427
|
+
// List all files as bullet points
|
|
427
428
|
for (const fileRef of item.fileReferences) {
|
|
428
429
|
const lineRef = item.lineReferences?.[item.fileReferences.indexOf(fileRef)];
|
|
429
430
|
const lineStr = lineRef ? `:${lineRef}` : '';
|
|
430
|
-
console.log(chalk_1.default.gray(
|
|
431
|
+
console.log(chalk_1.default.gray(`* ${fileRef}${lineStr}`));
|
|
431
432
|
}
|
|
432
433
|
}
|
|
433
|
-
|
|
434
|
-
|
|
434
|
+
// Show reasoning once at the end (if available)
|
|
435
|
+
if (item.reasoning) {
|
|
436
|
+
console.log(chalk_1.default.gray(item.reasoning));
|
|
435
437
|
}
|
|
438
|
+
else if (!item.fileReferences || item.fileReferences.length === 0) {
|
|
439
|
+
console.log(chalk_1.default.gray('Needs attention'));
|
|
440
|
+
}
|
|
441
|
+
console.log(''); // Empty line between threadlines
|
|
436
442
|
}
|
|
437
|
-
console.log('');
|
|
438
443
|
}
|
|
439
444
|
}
|