LibreChat/client/src/store
Danny Avila 96cb5e757d
🫴 fix: Preserve Queued Follow-Ups Through Handoff (#15942)
* ⏱️ feat: Reveal Queued Follow-Up At Run Completion

In an agent conversation the server admits a queued follow-up on its own clock, and the client learned of that successor only through the receipt poll, the active-job poll and a resume attach, so the user's words appeared as the latest turn a second or more after the reply above them ended.

The queued follow-up is now drawn as the newest user turn the moment its predecessor completes cleanly, with its chip reduced to a remove action until the server admits it. The drawn turn is presentation intent only: it never enters the message cache, anchors no send, edit, fork or rerun, and shows only while the completed response it follows is the thread's tail. The intent ends once anything parents on that response, on a cancelled, dead or indeterminate receipt, or on the user's own removal. The composer queues behind it and the completed response offers no rerun while it stands.

The receipt poll also stays alive while the client holds a server-owned row the projection has not settled, so a successor that starts and finishes inside one active-job poll gap is no longer noticed only on the next focus.

* ⏱️ fix: Re-select the Reveal When Its Head Settles and Stop Polling Expired Rows

A revealed head that is cancelled or dies before admission leaves the server-owned queue non-empty and its terminal evidence outside the settled receipts, so nothing re-ran the drain for the row the backend moves on to; the drain now subscribes to the admissible head and the reveal itself. An uncertain row whose reconciliation window has expired is held for manual recovery only and no longer keeps the receipt poll alive.

* ⏱️ fix: Route Dictated Submissions Through the Composer's During-Run Path

A transcription completing while a queued follow-up was about to start called the send path directly and could race the turn the server already owed. The form's routing (answer mode, then steer or queue during a run or a pending reveal, then an ordinary send) now lives in one function that typed and dictated submissions share; a refused during-run submit keeps the text in the composer.

* fix: preserve queued turn ownership across admission handoff

* fix: preserve queued handoff lineage and ownership through recovery

* fix: delegate draft consumption and preserve refused prompts
2026-09-14 21:04:08 -04:00
..
__tests__ 🔙 fix: Stop Stacking History Entries on New-Chat Param Changes (#14891) 2026-08-16 11:05:07 -04:00
agents.ts 📌 fix: Preserve Ephemeral Agent Selections on Optimistic Hydration (#13433) 2026-05-31 16:32:45 -04:00
artifacts.ts 🚀 feat: Decouple File Attachment Persistence from Preview Rendering (#12957) 2026-05-06 03:04:19 -04:00
autoScroll.ts 🪂 fix: Land Navigation Auto-Scroll on the Rendered Thread (#15014) 2026-08-19 14:23:08 -04:00
clockFormat.ts 🕰️ feat: Clock Format and Week Start Preferences (#15121) 2026-08-23 18:41:14 -04:00
endpoints.ts
families.ts 🫴 fix: Preserve Queued Follow-Ups Through Handoff (#15942) 2026-09-14 21:04:08 -04:00
favorites.ts 📌 feat: Add Pin Support for Model Specs (#11219) 2026-04-09 18:37:25 -04:00
fontSize.ts
index.ts 🔌 refactor: Give the Subagent Surface a Host Seam and Its Own Jotai State (#15455) 2026-09-01 11:15:42 -04:00
jotai-utils.ts
language.ts ⚙️ refactor: Lazy load locale resources (#13640) 2026-06-10 08:48:58 -04:00
mcp.ts 🃏 fix: Attach Request-Scoped MCP Servers From the Builder via the mcp_all Wildcard (#14177) 2026-07-12 08:10:01 -04:00
misc.ts 🎛️ feat: Consistent Dialogs, Clearer Settings, and a Keyboard Shortcuts Switch (#14882) 2026-08-16 16:10:17 -04:00
preset.ts
prompts.ts
ptc.ts 🖥️ feat: Stream PTC Inner Tool Calls as a CLI-Style Trace (#15115) 2026-08-23 01:18:14 -04:00
sandbox.ts ♨️ feat: Prewarm Stateful Code Sandboxes with Cold-Boot UX Feedback (#14239) 2026-07-14 10:25:37 -04:00
search.ts
settings.ts 📋 feat: Copy Messages as Rich Text (#15087) 2026-09-05 13:36:07 +02:00
showThinking.ts
smoothStreaming.ts 🚣‍♀️ feat: Smooth Streaming Text Fade-In (#14757) 2026-08-12 13:21:52 -04:00
steer.ts 🫴 fix: Preserve Queued Follow-Ups Through Handoff (#15942) 2026-09-14 21:04:08 -04:00
submission.ts
temporary.ts
text.ts
toast.ts
usage.spec.ts 🪟 feat: Faithful Over-Window Context Estimate via Prune Mirror and Overhead Reserve (#13959) 2026-06-25 17:12:53 -04:00
usage.ts 🧮 feat: Surface Retained Tool-Message Context Usage (#15796) 2026-09-11 15:53:29 -04:00
user.ts
utils.ts 📱 feat: Give the Mobile Nav the Whole Screen (#14849) 2026-08-16 08:29:25 -04:00
weekStart.ts 🕰️ feat: Clock Format and Week Start Preferences (#15121) 2026-08-23 18:41:14 -04:00