fix: apply backend output transforms to commentary progress text

This commit is contained in:
Cameron Beeley
2026-06-08 21:13:22 +05:30
committed by Ayaan Zaidi
parent 3a04c9a4bb
commit 5fef91f1de
+5 -1
View File
@@ -497,6 +497,10 @@ export async function executePreparedCliRun(
let commentaryCounter = 0;
const emitCliCommentaryText = (text: string) => {
commentaryCounter += 1;
const transformedText = applyPluginTextReplacements(
text,
context.backendResolved.textTransforms?.output,
);
emitAgentEvent({
runId: params.runId,
stream: "item",
@@ -506,7 +510,7 @@ export async function executePreparedCliRun(
phase: "update",
title: "commentary",
status: "running",
progressText: text,
progressText: transformedText,
},
});
};