Conversation
…with a pending ask_user A session blocked on an ask_user question was indistinguishable in the sidebar from any other session with unread activity: the amber unread dot disappears as soon as the session is opened, even though the agent is still waiting for an answer. Only tool confirmations had a dedicated marker. - server: ask.ts tracks per-session awaiting state and notifies listeners on transitions (question asked / answered / cancelled) - server: broadcasts `session.awaiting_answer` to all clients, and exposes `awaitingAnswer` on session summaries (/api/sessions, /api/sessions/home) so the marker survives a reload - web: sidebar shows a pulsing amber marker "Waiting for your answer" that takes precedence over running/unread; homepage status dot treats a pending question like a pending confirmation
…iting-answer-marker # Conflicts: # web/src/components/HomePage.tsx
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.
feat: show a persistent "waiting for your answer" marker on sessions with a pending ask_user
A session blocked on an ask_user question was indistinguishable in the
sidebar from any other session with unread activity: the amber unread dot
disappears as soon as the session is opened, even though the agent is still
waiting for an answer. Only tool confirmations had a dedicated marker.
transitions (question asked / answered / cancelled)
session.awaiting_answerto all clients, and exposesawaitingAnsweron session summaries (/api/sessions, /api/sessions/home)so the marker survives a reload
takes precedence over running/unread; homepage status dot treats a pending
question like a pending confirmation