mirror of
https://github.com/n8n-io/n8n.git
synced 2026-10-17 13:39:44 +02:00
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> |
||
|---|---|---|
| .. | ||
| postgres-schema | ||
| sqlite-schema | ||