When a group of agent tool calls has a call still in progress, the collapsed header already counts it in the past tense, so it reads "Ran 1 command, Edited 2 files" while the command is still running. The header now uses the running form for each kind of call that is still in progress ("Running 1 command, Edited 2 files") and switches to the past tense once it finishes, the same way each row already does.
When a tool call failed, the short label the model gives each call was hidden, and one failed call also hid the labels of the other calls grouped with it. Failed calls now keep their label, on their own and in a group. The red cross still marks the failure, and calls without a label keep the text they showed before.
With Tool Call Labels on, several tool calls in a row are shown as one collapsible group, and its header listed the calls' labels only when every call had one. If the model left out the label for even one call, the header dropped all of them and showed the generic "Explored" summary instead, both while the calls were running and after they finished. The header now shows the labels that exist and the tool name for a call without one, the same as each call already shows when the group is expanded.
Fixes#33925
Nested Markdown is rendered by MarkdownTokens calling itself, and those
calls passed `preview` but not `onPreview`, so a code block inside a list
item, a quote or a details block showed a Preview button that called the
empty default. Pass `onPreview` down like `preview`.
Since 0.12.3, chat messages show a stray space at the start of every paragraph and inside every italic, bold, struck-through or linked span, so an em dash followed by italic text renders with a visible gap. The edit view has no such space; it only appears in the displayed message. The stray space is gone and formatted text sits flush against its neighbours again.
Fixes#32739
The embed flag defaults to off and is now forwarded through every markdown render path, including the standalone tool-call branch, colon fences and alerts, so embeds render only where a call site opts in. Assistant responses opt in for the viewer's own chat; channel messages pass it explicitly off.