Add messages from the queue editor and pause dequeueing while it is open
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- Shell
- Estrellas
- 11.2k
- Forks
- 1.9k
- Merge medio
- 14 h 16 min
- PR fusionados (30 d)
- 6
Descripción
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.
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
Comienza en el diálogo de edición de la cola que se abre con Ctrl+X y después Q, y sigue sus puntos de entrada del compositor de mensajes y del procesamiento de extracción de la cola. El trabajo está terminado cuando el diálogo puede añadir o cancelar un mensaje, el siguiente mensaje en cola permanece pendiente mientras está abierto y el procesamiento se reanuda con el orden final de la cola después de cerrarlo.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- shell
- Área
- cli
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Activo
- Claridad
- Bien especificado
- Aptitud para principiantes
- 55/100