Skip to content

fix(session-ui): expand tool error cards to full input and error - #53816

Open
Hona wants to merge 1 commit into
anomalyco:v2from
Hona:tool-error-expand
Open

Hona wants to merge 1 commit into
anomalyco:v2from
Hona:tool-error-expand

Conversation

@Hona

@Hona Hona commented Oct 7, 2026 •

Copy link
Copy Markdown
Member

Failed tool cards toggled their arrow but showed nothing. The card only expanded the text after the first ": " in the error, and it never showed the tool input. Real Code Mode errors such as Invalid browser URL. … have no ": ", so the expanded view was empty.

Before (both cards clicked) After (both cards clicked)
  • When open, the error card now shows the full input and the full error message in the same two-tone console block as a normal Execute or Shell card.
    • execute: the code. shell: the command. Other tools: input JSON. Question tools: no input block.
  • When the card is open, the header hides the truncated summary and subtitle (subagent links stay visible).
  • Errors with no input (for example, direct shell exit notices) show the full error text, not only the part after the colon.
  • Adds the Terminal / Execute failed story with the exact calls from the bug report, plus a component test.

Copilot AI balanced review requested due to automatic review settings October 7, 2026 21:32

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

This branch has not been deployed

No deployments
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