Add messages from the queue editor and pause dequeueing while it is open
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- Shell
- Star
- 11.2k
- Fork
- 1.9k
- Merge trung bình
- 14 giờ 16 phút
- Pull request đã merge (30 ngày)
- 6
Mô tả
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.
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Bắt đầu từ hộp thoại chỉnh sửa hàng đợi được mở bằng Ctrl+X, sau đó Q, rồi lần theo các entry point của trình soạn thư và quá trình xử lý dequeue của hộp thoại. Hoàn tất có nghĩa là hộp thoại có thể thêm hoặc hủy một thư, thư tiếp theo trong hàng đợi vẫn ở trạng thái chờ trong khi hộp thoại đang mở, và quá trình xử lý tiếp tục với thứ tự hàng đợi cuối cùng sau khi đóng hộp thoại.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- shell
- Lĩnh vực
- cli
- Loại issue
- Tính năng
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Sôi nổi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức phù hợp với người mới
- 55/100