fix: clarify loop status empty output

This commit is contained in:
Affaan Mustafa
2026-04-30 06:21:21 -04:00
committed by Affaan Mustafa
parent 9aace2e6fe
commit 708a8fd715
2 changed files with 14 additions and 1 deletions

View File

@@ -551,7 +551,9 @@ function formatText(payload) {
if (payload.sessions.length === 0) {
const lines = [
`ECC loop status (${payload.generatedAt})`,
`No Claude transcript JSONL files found under ${payload.source.transcriptRoot}.`,
skippedLines.length > 0
? 'No readable Claude transcript JSONL files were found.'
: `No Claude transcript JSONL files found under ${payload.source.transcriptRoot}.`,
];
if (skippedLines.length > 0) {
lines.push('Skipped transcript errors:');