You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Headless run prints the answer again inside the finish block for multi-paragraph results #690
In headless run, when the final answer has more than one paragraph, the CLI prints the full answer during streaming and then prints it again inside the finish block. The finish-block deduplication compares only the first paragraph of the previously printed text, so a multi-paragraph result is not recognized as already printed.
Reproduced on dev-vibecoded (d6107cf): the finish block repeats both paragraphs of the answer; the status line (effort/review/validation) is what the finish block should add on top.
Expected
The finish block omits text that was already printed (comparing the full previously printed text, not only its first paragraph), keeps new finish details and the effort/review status, avoids stripping a mere prefix of a different result, and leaves raw JSON events unchanged.
Activity
fix(cli): deduplicate multiline finish results (#697)