[PR #11726] feat(tui): show expandable task output in session view #13911

Closed
opened 2026-02-16 18:18:44 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/11726

State: closed
Merged: No


Summary

Add expandable task output preview in the TUI session view, similar to how bash tool output is displayed.

Changes

  • Show up to 10 lines of the final assistant message text from task subagent sessions
  • Click to expand/collapse when output exceeds 10 lines
  • Gets text content from the last text part of the last assistant message in the subagent session
  • Uses stripAnsi to clean up any terminal formatting
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/11726 **State:** closed **Merged:** No --- ## Summary Add expandable task output preview in the TUI session view, similar to how bash tool output is displayed. ## Changes - Show up to 10 lines of the final assistant message text from task subagent sessions - Click to expand/collapse when output exceeds 10 lines - Gets text content from the last text part of the last assistant message in the subagent session - Uses stripAnsi to clean up any terminal formatting
yindo added the pull-request label 2026-02-16 18:18:44 -05:00
yindo closed this issue 2026-02-16 18:18:44 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#13911