[BUG] Agent Teams SendMessage renders teammate message bodies instead of compact summaries
Agent Teams SendMessage / teammate-message notifications are rendering full teammate message bodies in the main conversation UI instead of staying compact around the summary field.
Environment
Observed in both:
- Ubuntu 24.04 on WSL2, Claude Code
2.1.156 - Native Windows, Claude Code
2.1.158
Agent Teams is enabled in both environments.
Expected Behavior
A SendMessage with both summary and message body should render compactly by default, showing the summary preview. The full body should remain hidden unless explicitly expanded/opened.
Actual Behavior
The UI renders both the summary-style header and the full message body directly in the transcript.
Example received message:
@haiku-tester❯ Received test message, echoing PING-7F3A-OK token
Confirmed receipt of test message. Echo token: PING-7F3A-OK. Running on Haiku model.
Example sent message:
@team-lead❯ SendMessage round-trip test, please echo token
This is a SendMessage round-trip test. Please reply to team-lead now via SendMessage.
Your reply MUST include both:
1. summary field — a 5-10 word preview, and
2. message body — confirming receipt, echoing the token below, and stating your model.
ECHO TOKEN: PING-7F3A-OK
Reply via SendMessage to team-lead. Do not write local text output.
PreToolUse:SendMessage says: [2026-05-30T11:30:20Z] PreToolUse: SendMessage
PostToolUse:SendMessage says: [2026-05-30T11:30:20Z] PostToolUse: SendMessage
Notes
The message data has separate summary and body fields, so this appears to be a rendering/collapsing issue rather than missing source data.
Local config and inbox JSON are not attached here to avoid exposing private settings, but the relevant high-level setup is: Agent Teams enabled, WSL uses tmux teammate mode, and native Windows uses auto teammate mode.
Related Issues
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗