Skip to content

feat(app): enable follow-up queue mode with per-message override#35369

Open
IlayBacil1999 wants to merge 10 commits into
anomalyco:devfrom
IlayBacil1999:queue-tool
Open

feat(app): enable follow-up queue mode with per-message override#35369
IlayBacil1999 wants to merge 10 commits into
anomalyco:devfrom
IlayBacil1999:queue-tool

Conversation

@IlayBacil1999

@IlayBacil1999 IlayBacil1999 commented Jul 4, 2026

Copy link
Copy Markdown

Issue for this PR

N/A

Type of change

  • New feature

What does this PR do?

Two things:

  1. Enables the queue setting that was already there but neutered. The settings.tsx store had guards that forced "queue" back to "steer". Removed those, added the dropdown to Settings V2.

  2. Adds a per-message steer/queue toggle in the composer. When the model is busy, a small clickable text (→ Steer / 📥 Queue) appears in the toolbar. Overrides the default for that one message, then resets. Also improved the queue dock: collapsed by default, remove button, undo toast, progress bar + count during drain, 2s countdown before auto-send.

New in this update:

  • Editing a queued item shows "Editing queued message · ← Cancel" in the toolbar
  • Canceling restores the item to its original position in the queue
  • Stale edit state is cleared when switching sessions

How did you verify your code works?

  • bun run build from packages/app passes
  • Tested locally with electron-vite dev

Screenshots / recordings

image

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

Add a /queue <message> command that lets users queue messages while
the agent is working. Queued messages are processed one at a time
after the current turn finishes, preserving the same session context.

- Add delivery field ('steer' | 'queue') to RunPrompt and PromptInput
- Wire delivery through stream transport to the server prompt handler
- Skip AI loop when delivery='queue' (defer until next non-queued prompt)
- Add /queue slash command with autocomplete in footer
- Show queue count in footer status bar
- Add isQueueCommand/parseQueueCommand helpers in prompt.shared
@github-actions github-actions Bot added the needs:compliance This means the issue will auto-close after 2 hours. label Jul 4, 2026
@github-actions

github-actions Bot commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

The following comment was made by an LLM, it may be inaccurate:

Related PR Found

PR #33247: feat: Add queued message editing, wrap & steer, and halt & steer
#33247

This PR is related to PR #35369 because it addresses queued message editing and steer/wrap functionality, which overlaps with the per-message queue/steer toggle and queue position preservation features in the current PR. Both involve queue management and message mode toggling in the app.

@IlayBacil1999 IlayBacil1999 changed the title feat(app): add follow-up queue mode with per-message override feat(app): enable follow-up queue mode with per-message override Jul 4, 2026
@github-actions github-actions Bot removed the needs:compliance This means the issue will auto-close after 2 hours. label Jul 4, 2026
@github-actions

github-actions Bot commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

Thanks for updating your PR! It now meets our contributing guidelines. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant