Easy Message Unqueue with /unqueue
Summary
Adds /unqueue slash command to remove queued messages without affecting the current assistant response.
Problem
Oftentimes after queueing a message, I decide I want to rewrite it or ask something else altogether. In these cases, I’d like to remove all queued messages from the queue.
Solution
The /unqueue command:
- Removes queued user messages
- Deletes them from persistent storage (clean conversation history)
- Rejects in-memory callbacks (messages never execute)
- Silent operation (no UI clutter)
Demo
https://github.com/user-attachments/assets/cff67730-dc3c-490e-917f-e8079e5af323
I experimented with introducing an interactable button in the TUI. (Imagine hovering over the QUEUED button and it prompts you to UNQUEUE) But this approach keeps the implementation simple and focused
Neat. There's no way I'm typing a long command name like that by hand, though, I would want the ability to bind it to a key (although the default bindings should be "none", allowing users to bind it to a key it they so choose). Likely only requires adding a couple of lines.
Neat. There's no way I'm typing a long command name like that by hand, though, I would want the ability to bind it to a key (although the default bindings should be
"none", allowing users to bind it to a key it they so choose). Likely only requires adding a couple of lines.
You're right, that should be supported. I've updated the PR.
this will fix #4821