Skip to content

fix(coding-agent): keep spinner active while subagents run - #329

Merged
Pepps233 merged 2 commits into
mainfrom
fix/subagent-wait-spinner
Nov 18, 2026
Merged

Pepps233 merged 2 commits into
mainfrom
fix/subagent-wait-spinner

Conversation

@Pepps233

Copy link
Copy Markdown
Contributor

Summary

Keep the spinner visible when the parent ends a response with delegated work still in progress.

Reasoning

The runtime can resume the parent with child results or queued input after agent_end.
The TUI can clear the working indicator when agent_settled arrives and the session is idle.

Changes

  • Keep per-response transcript and usage updates at agent_end.
  • Clear the working spinner on settlement and keep terminal progress active when the parent resumes after a child wait.
  • Exercise the rendered status through a delayed child and the parent's final response in regular and fullscreen modes.

Testing

  • Reproduced the blank status line in both modes before the fix and verified both regression cases pass afterward.
  • Passed npm run check and the focused TUI and subagent tests.
  • Ran the source TUI in tmux with a faux provider and confirmed the wait indicator stayed visible until the child returned and the spinner cleared after the parent's final response.

- Keep delegated work visible between parent responses.
- Preserve terminal progress as the parent resumes after a child wait.
- Exercise a delayed child and automatic parent resumption in both TUI modes.
- Check the rendered status at response boundaries and after settlement.
@Pepps233 Pepps233 self-assigned this Nov 18, 2026
@Pepps233 Pepps233 changed the title Keep the spinner active while subagents run fix(coding-agent): keep spinner active while subagents run Nov 18, 2026
@Pepps233
Pepps233 merged commit f7500cb into main Nov 18, 2026
27 of 28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant