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.
@@ -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(`⚠️ ${item.expertId}`));
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(` ${fileRef}${lineStr} - ${item.reasoning || 'Needs attention'}`));
431
+ console.log(chalk_1.default.gray(`* ${fileRef}${lineStr}`));
431
432
  }
432
433
  }
433
- else if (item.reasoning) {
434
- console.log(chalk_1.default.gray(` ${item.reasoning}`));
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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "threadlines",
3
- "version": "0.1.36",
3
+ "version": "0.1.37",
4
4
  "description": "Threadline CLI - AI-powered linter based on your natural language documentation",
5
5
  "main": "dist/index.js",
6
6
  "bin": {