feat(chat): working/waiting activity dots on conductors - #396
Merged
Conversation
Mirror the Work tab's live status on the global-conductor rail: each conductor now shows a working/waiting dot + label, so you can see at a glance which one is mid-turn (including a background conductor that's still streaming). - ChatPanel gains an onBusyChange callback (fired on every turn busy↔idle flip via an effect on its existing `busy` state). - FirstRunChat passes it through. - GlobalConductors tracks a per-conductor busy map (all conductors stay mounted, so each reports live) and renders `work-dot running` (green pulse) when working, `idle` when waiting — reusing the Work tab's dot styles and capitalized status label. Verified with Playwright: both start "waiting"; sending a prompt flips the active conductor to "working" with one running dot; on turn_end it returns to "waiting". Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Like the Work tab shows working/waiting on its jobs, the global-conductor rail now shows the same live status per conductor — so you can tell at a glance which one is mid-turn (including a background conductor that's still streaming).
Change
ChatPanelgains anonBusyChangecallback (fired on every turn busy↔idle flip via an effect on its existingbusystate).FirstRunChatpasses it through.GlobalConductorstracks a per-conductor busy map (all conductors stay mounted, so each reports live) and renderswork-dot running(green pulse) when working,idlewhen waiting — reusing the Work tab's dot styles + capitalized status label.Verified
Playwright: both conductors start waiting; sending a prompt flips the active one to working with exactly one running dot; on
turn_endit returns to waiting. Typecheck + build pass.🤖 Generated with Claude Code