feat(dashboard): show real agent activity instead of always "Idle"#787
Open
fank wants to merge 1 commit into
Open
feat(dashboard): show real agent activity instead of always "Idle"#787fank wants to merge 1 commit into
fank wants to merge 1 commit into
Conversation
The agent panel showed "Idle" whenever no action was executing — which also covers bots that are chatting, deciding their next move, or whose self-prompter has stopped. getFullState() now derives a real status from the conversation manager and self-prompter state, exposed as action.kind, and the dashboard color-codes it. States: Acting (action label) / Chatting with <name> / Thinking / Stopped (self-prompter off, won't act on its own) / Idle.
Sweaterdog
approved these changes
Jun 5, 2026
Contributor
Sweaterdog
left a comment
There was a problem hiding this comment.
I like this change! Looks good to me.
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.
What
The dashboard's per-agent panel showed Idle whenever no action was executing. But an agent counts as idle (
!actions.executing) even while it's chatting, deciding its next move, or has its self-prompter stopped — so very different states all looked identical.This derives a real status in
getFullState()and color-codes it in the dashboard.States
<action label>Chatting with <name>ThinkingStoppedIdleWhy "Stopped" matters
A stopped self-prompter is a state an agent can't leave on its own (e.g. after
!stfu/!endGoal). It previously looked identical to a momentary "Idle", making a silently-dormant agent hard to spot. Surfacing it in red makes that obvious at a glance.Changes
src/agent/library/full_state.js— computeaction.current+ newaction.kindfrom conversation / self-prompter state.src/mindcraft/public/index.html— color the status line byaction.kind.Backward compatible:
action.current/action.isIdlekeep their meaning;action.kindis additive and the UI falls back gracefully when it's absent.