Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Allow removing/canceling a queued message without interrupting the active run

未关闭
#897 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 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 内容生成。

描述

windows
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:

  1. Start a long-running task.
  2. While it is still running, type a follow-up such as "check all sub-agent statuses".
  3. The prompt is shown as Queued (1).
  4. Realize that the follow-up is unnecessary or would be better asked later.
  5. 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+Backspace for the most recently queued message.
  • A small queue panel where pending messages can be viewed, reordered, edited, or deleted.
  • A command such as /queue with remove, clear, or edit actions.

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

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

CommandCodeAI/command-code 的其他 Issue

查看 CommandCodeAI/command-code 的全部 Issue

相似的 Issue

更多 CLI Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。