feat(composer): queue follow-up messages while task is running (#608) - #641
Open
cagdasyurekli wants to merge 2 commits into
Open
cagdasyurekli wants to merge 2 commits into
cagdasyurekli wants to merge 2 commits into
Conversation
…wyng#608) - Define QueuedMessage in types.ts - Allow composing and queueing follow-ups via button or Enter while running - Display queued messages strip above composer with count and remove action - Automatically drain queue and send next message sequentially when task finishes - Add i18n translations in English and Chinese
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.
Closes #608
Changes
Allow follow-up messages to queue while a turn is running. Keep queues scoped to their originating session, display removable items, and send one item at a time after that session reports ready and idle. Optional request IDs are echoed by the server on acceptance or rejection, so attachments and skill messages are acknowledged correctly. Keep a rejected or disconnected pending item visible with an error; remove accepted items only on turn_start. An awaiting acknowledgement does not claim a running agent turn.
Verification
pytest tests -q— 1,956 passed, 1 skipped (macOS, Python 3.14).tsc --noEmitpassed.