Skip to content

feat(ui): aggregate the subagent strip when several runs are active - #59

Merged
tt-a1i merged 1 commit into
mainfrom
feat/strip-aggregate-label
Aug 22, 2026
Merged

feat(ui): aggregate the subagent strip when several runs are active#59
tt-a1i merged 1 commit into
mainfrom
feat/strip-aggregate-label

Conversation

@tt-a1i

@tt-a1i tt-a1i commented Aug 22, 2026

Copy link
Copy Markdown
Collaborator

What

The below-editor strip showed one subagent's name while the right side said 3 running — reading as if the other two didn't exist.

Now:

 ⠇ subagents                    3 running · 41s · 3% ctx · ↓ to manage   ← several active
 ⠇ fix-bin-cache                      41s · 3% ctx · ↓ to manage         ← exactly one
 ✓ repo-structure                    1m20s · 3% ctx · ↓ to manage         ← one settled
  • A name only appears when it names the only active subagent; several collapse to an aggregate subagents label and the worded counts carry the detail.
  • A lone subagent also drops the now-redundant 1 running count — the spinner and the name already say it.

Verification

  • bun run check clean; bun run test: 755 node:test + 29 vitest passing
  • Tests updated for the single-run tail and a new multi-run aggregation case; strip rendered in all three states to verify layout

The strip named one subagent while reporting N running, which read as if
the others did not exist. Now a lone active subagent keeps its name (and
drops the redundant 1 running count — the glyph and name already say
it), while several collapse to an honest 'subagents' label with the
worded counts carrying the detail.
@tt-a1i
tt-a1i merged commit c5494f1 into main Aug 22, 2026
4 checks passed
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