feat(progress): humanize subagent updates

This commit is contained in:
pi
2026-04-12 10:17:48 +01:00
parent a4e627084d
commit 86335c2971
8 changed files with 515 additions and 25 deletions

View File

@@ -117,8 +117,10 @@ async function runWrapper(meta, startedAt) {
await appendJsonLine(meta.eventsPath, normalized);
const rendered = renderEventLine(normalized);
await appendBestEffort(meta.transcriptPath, `${rendered}\n`);
console.log(rendered);
if (rendered !== null) {
await appendBestEffort(meta.transcriptPath, `${rendered}\n`);
console.log(rendered);
}
if (normalized.type === "assistant_text") {
finalText = normalized.text;