Manage queued chat messages and steer active work

Open
#6,269 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
electron, typescript

Research direction

Start by reading the draft Proof of Concept and the related issue #4622, which investigates queued follow-up lifecycle races. Trace the shared runtime/session protocol through host transports and the graphical and terminal entry points; the issue names these areas but no specific files or tests. Done means queue editing, ordering, steering, pause/stop, retry, delivery reconciliation, and terminal management work across supported Desktop and browser/Cloud transports, with live-provider and app validation.

Written by the indexing model from the issue text.

Description

Queued follow-ups in WordPress Studio need clear controls for editing, ordering and delivery. People should be able to keep adding instructions while the agent works and deliberately choose whether an input waits for the next task or steers the current one.

  • Keep Enter as queue while work is active. Offer explicit Steer and Cmd+Enter on Mac / Ctrl+Enter elsewhere; the terminal uses Ctrl+Enter where supported, with /queue management as a fallback.
  • Show each submitted input as one reorderable queue entry, preserving its annotations, images, files and reply context. Editing should use the composer and restore the separate unsent draft afterward.
  • Pause holds queued work while the current task continues. Stop interrupts the task and holds the queue until Resume. Failed starts should retain queued inputs and their order until Retry.
  • Keep pending delivery readable, persist consumed steering inputs in the transcript and reconcile uncertain acknowledgements without duplicating or dropping work.
  • Cover Desktop and browser/Cloud transports, hiding unsupported controls for older servers, and equivalent queue management in the terminal.

This accompanies a draft Proof of Concept for product and architecture review. It spans the shared runtime/session protocol, host transports and graphical/terminal entry points; live-provider and app validation remain part of review.

Related: #4622 investigates queued-follow-up lifecycle races. This proposal deliberately holds queued work after Stop until Resume instead of automatically starting the next input. Conversation branching (#6254) remains separate.

Dominant language
TypeScript
Stars
568
Forks
116
Avg merge
12h 38m
Merged PRs (30d)
498

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Automattic/studio

All issues in Automattic/studio

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.