From 50a038edf799627d7af3df254f5ebed16077a7cf Mon Sep 17 00:00:00 2001 From: Rockford lhotka Date: Tue, 31 Mar 2026 11:22:27 -0500 Subject: [PATCH 1/2] Fix stale subagent/task indicators persisting in header after completion MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subagent, A2A, and scheduled-task activity log entries were never removed from _activeActivityLogs when their final reply arrived — only PrimaryFinal cleaned up its PrimaryProgress entry. This left phantom header icons and spinning activity-log bubbles until the user sent the next message. Co-Authored-By: Claude Opus 4.6 (1M context) --- src/RockBot.UserProxy.Blazor/Services/ChatStateService.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/RockBot.UserProxy.Blazor/Services/ChatStateService.cs b/src/RockBot.UserProxy.Blazor/Services/ChatStateService.cs index 4153b19..bb6cb1d 100644 --- a/src/RockBot.UserProxy.Blazor/Services/ChatStateService.cs +++ b/src/RockBot.UserProxy.Blazor/Services/ChatStateService.cs @@ -133,9 +133,13 @@ public void AddAgentReply(AgentReply reply, MessageCategory category = MessageCa { lock (_lock) { - // When a PrimaryFinal message arrives, close the primary activity log + // Close the activity log for the source that just finished. + // PrimaryFinal closes the PrimaryProgress log (different category names); + // subagent / A2A / scheduled final replies close their own category's log. if (category == MessageCategory.PrimaryFinal) _activeActivityLogs.Remove(ActivityLogKey(MessageCategory.PrimaryProgress, null)); + else + _activeActivityLogs.Remove(ActivityLogKey(category, reply.AgentName)); _messages.Add(new ChatMessage { From d6da8a912aa6484367ff7e2aa8097f4dc9eba53f Mon Sep 17 00:00:00 2001 From: Rockford lhotka Date: Tue, 31 Mar 2026 11:23:31 -0500 Subject: [PATCH 2/2] Move connection-status dot to far right of header Co-Authored-By: Claude Opus 4.6 (1M context) --- src/RockBot.UserProxy.Blazor/Pages/Chat.razor | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/RockBot.UserProxy.Blazor/Pages/Chat.razor b/src/RockBot.UserProxy.Blazor/Pages/Chat.razor index 6d02b48..2e43d23 100644 --- a/src/RockBot.UserProxy.Blazor/Pages/Chat.razor +++ b/src/RockBot.UserProxy.Blazor/Pages/Chat.razor @@ -20,8 +20,6 @@ }
- @if (ChatState.IsProcessing) { @(IsDarkMode ? "☀️" : "🌙") +