Allow removing/canceling a queued message without interrupting the active run
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 48/100
- Issue 類型
- 功能
- 描述清晰度
- 基本清楚
- 活躍度
- 活躍
- 領域
- cli
研究方向
Start by inspecting the Command Code TUI handling for queued messages and the Esc/Ctrl+C interrupt action. Define the queue-management behavior and verify that removing a queued message leaves the active agent run untouched; the issue does not name specific files or tests.
由索引模型根據 Issue 內容生成。
描述
Feature Description
Add a way in the Command Code TUI to remove/cancel a queued user message without interrupting the currently active agent run.
Today, while Command Code is working, a new prompt can appear as Queued (1). If I change my mind and no longer want that queued instruction to run, there does not appear to be a non-destructive way to remove it. Esc / Ctrl+C interrupts the active run, which is much more disruptive than simply deleting the queued message.
This is especially noticeable during long-running tasks: the foreground agent may have been working for 10–20+ minutes, and cancelling one accidental or obsolete queued prompt should not require stopping that work.
Use Case
Example workflow:
- Start a long-running task.
- While it is still running, type a follow-up such as "check all sub-agent statuses".
- The prompt is shown as
Queued (1). - Realize that the follow-up is unnecessary or would be better asked later.
- Want to remove only that queued message while leaving the active run completely untouched.
Current options are poor:
- Wait for the active run to finish and let the unwanted queued message execute.
- Press
Esc/Ctrl+C, which interrupts the active run too.
Expected Behavior
Provide a non-destructive queue-management action, for example one or more of:
- Select/click a queued message and choose Remove from queue.
- A shortcut such as
Alt+Backspace/Ctrl+Shift+Backspacefor the most recently queued message. - A small queue panel where pending messages can be viewed, reordered, edited, or deleted.
- A command such as
/queuewithremove,clear, oreditactions.
Important semantic requirement: removing a queued message must not interrupt, steer, cancel, or restart the active agent run.
Actual Behavior
The TUI shows that a message is queued (Queued (1)), but there is no obvious way to remove only that queued message. The available interrupt action (Esc / Ctrl+C) affects the active run instead of just the queued input.
Additional Context
Related to #627 ("Edit Queued Messages"), but this request is specifically about cancelling/removing queued messages without touching the active run. Editing support would be useful too, but deletion/unqueue is important on its own because it provides a safe way to undo accidental queued prompts.
Also related historically to #356, whose report explicitly mentioned being unable to unqueue a message, although that issue focused on queued-message behavior after /compact.
Environment where this was observed: Windows, Command Code TUI in Windows Terminal / PowerShell.
How important is this to you?
Important for my workflow
- 主要語言
- 沒有語言資料
- 星號
- 4k
- 分支
- 350
- PR 合併指標
- 30 天內沒有已合併 PR
貢獻指南
這個儲存庫沒有索引到貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
CommandCodeAI/command-code 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 68/100
CommandCodeAI/command-code#903 · 2 則留言 ·
-
難度 2/5 1-3 小時 新手友好度 68/100
CommandCodeAI/command-code#855 ·
-
難度 2/5 1-3 小時 新手友好度 78/100
CommandCodeAI/command-code#841 · 1 則留言 ·
-
難度 2/5 1-3 小時 新手友好度 68/100
CommandCodeAI/command-code#655 · 1 則留言 ·
-
難度 2/5 1-3 小時 新手友好度 68/100
CommandCodeAI/command-code#608 ·
查看 CommandCodeAI/command-code 的全部 Issue
相似的 Issue
-
難度 1/5 1 小時以內 新手友好度 85/100
-
難度 2/5 1-3 小時 新手友好度 75/100
elastic/gradle-plugins#156 ·
-
難度 2/5 1-3 小時 新手友好度 70/100
Fission-AI/OpenSpec#1960 ·
-
area/config comp/tools P2 type/bug
難度 2/5 1-3 小時 新手友好度 70/100
NousResearch/hermes-agent#119942 ·
-
難度 2/5 1-3 小時 新手友好度 75/100