Skip to content

fix(workbench): render a message another agent sent as Markdown - #6886

Merged
M4n5ter merged 1 commit into
rust-previewfrom
fix/agent-message-markdown
Nov 14, 2026
Merged

M4n5ter merged 1 commit into
rust-previewfrom
fix/agent-message-markdown

Conversation

@UncertaintyDeterminesYou4ndMe

Copy link
Copy Markdown
Contributor

What was wrong

A message that another conversation sent with SessionSend shows its Markdown source when it is opened: **The build passed.** with the asterisks. Agents write Markdown, and the collapsed preview of the same message already strips it.

Change

  • An opened message from another agent renders as Markdown, in the same size and color as before. This covers both cases: the row already holds the whole text, and the whole text is read separately.
  • An Automation's prompt shares this row. It is the user's own text, so it stays plain.
  • Copy still copies the original text.

MarkdownBody gets two optional props for this: text (the complete text, read apart from the row) and fullColor (compact size in the full text color).

AI use

Found in a screenshot pass over the desktop test suite and written with Claude Code (Claude Fable 5.2); a second model reviewed the change. I checked it with the existing desktop test desktop_previews_an_incoming_session_message, whose screenshot now shows the bold text.

@M4n5ter
M4n5ter merged commit f79d3a8 into rust-preview Nov 14, 2026
26 of 32 checks passed
@M4n5ter
M4n5ter deleted the fix/agent-message-markdown branch November 14, 2026 03:15
M4n5ter pushed a commit that referenced this pull request Nov 14, 2026
…h warning, Goal divider, empty provider list, diagram source block (#6887)

Align Retry and empty-provider text, show failed model discovery as a warning, normalize multiline Goal labels for their divider, and share reply code-block styling with diagram source views.

Validation: changed-file formatting and real MessageRow bundles, independently and combined with #6886, pass locally. Relevant provider, model-settings, Goal and Mermaid desktop cases pass in CI. CI retains other failures and full window interaction was not rerun locally.

Generated-by: Claude Code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants