Skip to content

fix(react): display interactive tool activities in TUI#433

Merged
FL4TLiN3 merged 1 commit intomainfrom
fix/interactive-tool-display
Jan 19, 2026
Merged

fix(react): display interactive tool activities in TUI#433
FL4TLiN3 merged 1 commit intomainfrom
fix/interactive-tool-display

Conversation

@FL4TLiN3
Copy link
Contributor

Summary

  • Added handler for stopRunByInteractiveTool events in processRunEventToActivity
  • Converts these events to interactiveTool activities for display in the TUI

Problem

When using perstack start with interactive tools, the TUI did not display any indication that an interactive tool was called. The user would just see "Stopped" status without understanding why.

Solution

Added isStopRunByInteractiveToolEvent type guard and corresponding handler in processRunEventToActivity to convert stopRunByInteractiveTool events to interactiveTool activities, which are then rendered in the TUI.

Test plan

  • TypeCheck passes
  • Tests pass
  • Manual testing with interactive tools

🤖 Generated with Claude Code

Added handler for `stopRunByInteractiveTool` events in `processRunEventToActivity`
to convert them to `interactiveTool` activities. Previously these events were not
processed, so interactive tool calls were invisible in the TUI.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@codecov-commenter
Copy link

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@FL4TLiN3 FL4TLiN3 merged commit c0f4dcc into main Jan 19, 2026
9 checks passed
@FL4TLiN3 FL4TLiN3 mentioned this pull request Jan 19, 2026
@FL4TLiN3 FL4TLiN3 deleted the fix/interactive-tool-display branch February 25, 2026 13:37
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