Add messages from the queue editor and pause dequeueing while it is open
Nessuno ha ancora preso questa issue.
- Lingua principale
- Shell
- Stelle
- 11.2k
- Fork
- 1.9k
- Merge medio
- 14h 16m
- PR unite (30g)
- 6
Descrizione
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.
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia dalla finestra di dialogo per la modifica della coda aperta con Ctrl+X, quindi Q, e segui i relativi punti di ingresso per il compositore dei messaggi e l’elaborazione della rimozione dalla coda. Il lavoro è completato quando la finestra di dialogo può aggiungere o annullare un messaggio, il messaggio successivo in coda rimane in attesa mentre è aperta e l’elaborazione riprende con l’ordine finale della coda dopo la chiusura.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- shell
- Ambito
- cli
- Tipo di issue
- Funzionalità
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Attiva
- Chiarezza
- Specificata chiaramente
- Idoneità per principianti
- 55/100