n8n/docs
Robin Braumann 3fbb249e4f
feat(editor): Show and edit queued messages in the agent preview chat
A message sent while the thread runs a turn becomes an `agent_execution`
row with status `queued`. The row is visible in every tab, survives a
reload, and runs after the current turn ends.

- Migration adds the `queued` status and an `agent_execution.resourceId`
  column that records the sender of a queued turn.
- `AgentChatQueueService` stores, edits, removes, and drains queued rows.
  Draining runs oldest-first through `executeForQueued`, before any
  background wake; the sweeper drains as a fallback.
- New routes: `POST /chat/queue`, `PATCH /chat/queue/:executionId`,
  `DELETE /chat/queue/:executionId`.
- The transcript carries `executionStatus: 'queued'`; the sessions list
  and the LangSmith export ignore queued rows.
- The composer stays live while a turn runs: it enqueues instead of
  waiting. Queued bubbles show inline edit and remove actions.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-14 11:58:36 +02:00
..
generated feat(editor): Show and edit queued messages in the agent preview chat 2026-09-14 11:58:36 +02:00
db.md feat(core): Add auto-generated database schema documentation (no-changelog) (#32069) 2026-06-12 07:44:01 +00:00