Skip to content

feat(tui): show pending command resolution#36341

Open
H-TTTTT wants to merge 1 commit into
anomalyco:v2from
H-TTTTT:fix/v2-command-pending-ui
Open

feat(tui): show pending command resolution#36341
H-TTTTT wants to merge 1 commit into
anomalyco:v2from
H-TTTTT:fix/v2-command-pending-ui

Conversation

@H-TTTTT

@H-TTTTT H-TTTTT commented Jul 11, 2026

Copy link
Copy Markdown

Issue for this PR

Closes #34860

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

MCP-backed slash commands clear the composer before prompt resolution finishes, which leaves the TUI looking idle. This tracks outstanding command requests in the persistent prompt context and shows a spinner until they settle. Separate request IDs keep the indicator correct when commands overlap, and failure handling still uses the existing toast.

How did you verify your code works?

  • Focused pending-command tests: 4 passed
  • Full TUI suite: 231 passed, 1 skipped
  • Monorepo typecheck: 31 packages passed
  • Prettier, Oxlint (0 errors), and git diff --check

Screenshots / recordings

New TUI state: Resolving command...

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

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.

1 participant