Add messages from the queue editor and pause dequeueing while it is open
还没有人认领这个 Issue。
- 主要语言
- Shell
- 星标
- 11.2k
- 派生
- 1.9k
- 平均合并
- 14 小时 16 分钟
- 30 天内合并 PR
- 6
描述
Describe the feature or problem you'd like to solve
The queue editing dialog (Ctrl+X, then Q) should behave as a stable place to manage the pending queue. Two related gaps currently make that difficult:
- There is no Add action for composing and appending a new message without leaving the dialog.
- Queued messages can be delivered while the dialog is open, so an item may disappear while the user is trying to edit, reorder, or remove it.
Opening the dialog communicates an intent to modify the queue. Processing messages out from under that editing attempt makes the displayed queue a moving target and can cause the agent to act on a message before the user finishes changing it.
Proposed solution
Treat an open queue editing dialog as a temporary hold on dequeueing, and add an Add action to the dialog:
- Add opens a message composer. Submitting it appends the new message to the queue; cancelling leaves the queue unchanged.
- While the dialog is open, the agent may finish its current in-flight work, but it must not deliver the next queued message.
- Closing the dialog releases the hold and resumes queue processing in the resulting order.
These belong in one feature request because they define one UX contract: the queue remains stable and fully editable for the lifetime of the queue editing dialog.
Example prompts or workflows
- While the agent is working, open the queue dialog, choose Add, compose another follow-up, and append it without leaving the dialog.
- Open the dialog just before the current turn finishes; the next queued message remains pending instead of being delivered while it is being edited.
- Reorder, edit, or remove several queued messages while the current work completes; the visible list stays stable until the dialog closes.
- Add and rearrange messages, then close the dialog; processing resumes using the final queue contents and order.
Additional context
This is intentionally one request rather than two: adding messages and pausing dequeueing are complementary parts of making the queue dialog a reliable editing surface.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从使用 Ctrl+X,然后 Q 打开的队列编辑对话框开始,跟踪其消息编辑器和出队处理的入口点。完成条件是:对话框可以添加或取消消息,对话框打开期间下一条排队消息保持待处理状态,并且关闭后处理会按照最终队列顺序继续。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- shell
- 领域
- cli
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 活跃
- 描述清晰度
- 描述清楚
- 新手友好度
- 55/100