Skip to content

Conversation

@aweis89
Copy link
Contributor

@aweis89 aweis89 commented Jan 11, 2026

Summary

  • Display agent type in task description (e.g., @explore)
  • Show task summary items with status icons (completed/running/pending/error)
  • Strip task_metadata tags from output for cleaner display
  • Fix metadata.summary structure handling (items have {id, tool, state} not full parts)
  • Add TaskToolSummaryItem type definition

Problem

The task tool output was not displaying correctly because the code expected metadata.summary to contain full message parts but it actually contains a simpler structure with {id, tool, state} causing the UI to hang.

Solution

Updated the formatter to properly handle the actual summary structure and display tool names with their titles for better context.

- Display agent type in task description (e.g., @explore)
- Show task summary items with status icons (completed/running/pending/error)
- Strip task_metadata tags from output for cleaner display
- Fix metadata.summary structure handling (items have {id, tool, state} not full parts)
- Add TaskToolSummaryItem type definition
@sudo-tee
Copy link
Owner

Thanks for the PR.

Look great to me

@sudo-tee sudo-tee merged commit 53a762a into sudo-tee:main Jan 12, 2026
5 checks passed
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