agent: Add ability to queue messages#46019
Merged
danilo-leal merged 9 commits intomainfrom Jan 4, 2026
Merged
Conversation
rtfeldman
pushed a commit
that referenced
this pull request
Jan 5, 2026
Closes #37905 Closes #42338 Closes #33501 Closes #41414 This PR introduces a way to queue messages in the agent panel through the `cmd-shift-enter` keybinding. Queued up messages get sent as soon as the current generation wraps up. It's also possible to send a queued message before time, effectively interrupting the ongoing generation. You can also clean up the entire queue through another keybinding. Then, if you normally interrupt the thread and if there are queued up messages, those will get sent as soon as the interruption generation wraps up. Lastly, if you queue up a message with an idle thread, that's sent immediately, given that there can never exist a "stuck queue" with this implementation. https://github.com/user-attachments/assets/54e68d95-5abb-477c-aecb-9325dcb99175 Release Notes: - agent: Added the ability to queue messages in the agent panel.
LivioGama
pushed a commit
to LivioGama/zed
that referenced
this pull request
Jan 20, 2026
Closes zed-industries#37905 Closes zed-industries#42338 Closes zed-industries#33501 Closes zed-industries#41414 This PR introduces a way to queue messages in the agent panel through the `cmd-shift-enter` keybinding. Queued up messages get sent as soon as the current generation wraps up. It's also possible to send a queued message before time, effectively interrupting the ongoing generation. You can also clean up the entire queue through another keybinding. Then, if you normally interrupt the thread and if there are queued up messages, those will get sent as soon as the interruption generation wraps up. Lastly, if you queue up a message with an idle thread, that's sent immediately, given that there can never exist a "stuck queue" with this implementation. https://github.com/user-attachments/assets/54e68d95-5abb-477c-aecb-9325dcb99175 Release Notes: - agent: Added the ability to queue messages in the agent panel.
LivioGama
pushed a commit
to LivioGama/zed
that referenced
this pull request
Jan 20, 2026
Closes zed-industries#37905 Closes zed-industries#42338 Closes zed-industries#33501 Closes zed-industries#41414 This PR introduces a way to queue messages in the agent panel through the `cmd-shift-enter` keybinding. Queued up messages get sent as soon as the current generation wraps up. It's also possible to send a queued message before time, effectively interrupting the ongoing generation. You can also clean up the entire queue through another keybinding. Then, if you normally interrupt the thread and if there are queued up messages, those will get sent as soon as the interruption generation wraps up. Lastly, if you queue up a message with an idle thread, that's sent immediately, given that there can never exist a "stuck queue" with this implementation. https://github.com/user-attachments/assets/54e68d95-5abb-477c-aecb-9325dcb99175 Release Notes: - agent: Added the ability to queue messages in the agent panel.
LivioGama
pushed a commit
to LivioGama/zed
that referenced
this pull request
Feb 15, 2026
Closes zed-industries#37905 Closes zed-industries#42338 Closes zed-industries#33501 Closes zed-industries#41414 This PR introduces a way to queue messages in the agent panel through the `cmd-shift-enter` keybinding. Queued up messages get sent as soon as the current generation wraps up. It's also possible to send a queued message before time, effectively interrupting the ongoing generation. You can also clean up the entire queue through another keybinding. Then, if you normally interrupt the thread and if there are queued up messages, those will get sent as soon as the interruption generation wraps up. Lastly, if you queue up a message with an idle thread, that's sent immediately, given that there can never exist a "stuck queue" with this implementation. https://github.com/user-attachments/assets/54e68d95-5abb-477c-aecb-9325dcb99175 Release Notes: - agent: Added the ability to queue messages in the agent panel.
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 #37905
Closes #42338
Closes #33501
Closes #41414
This PR introduces a way to queue messages in the agent panel through the
cmd-shift-enterkeybinding. Queued up messages get sent as soon as the current generation wraps up. It's also possible to send a queued message before time, effectively interrupting the ongoing generation. You can also clean up the entire queue through another keybinding. Then, if you normally interrupt the thread and if there are queued up messages, those will get sent as soon as the interruption generation wraps up. Lastly, if you queue up a message with an idle thread, that's sent immediately, given that there can never exist a "stuck queue" with this implementation.Screenshot.2026-01-04.at.9.51.mp4
Release Notes: