LibreChat/client/src
Danny Avila 1aa86a9cef
🛬 fix: Land Early Steers on the Live Placeholder (#15692)
* 🎯 fix: Land a Steer Applied Before the First Run Step on the Live Placeholder

An interrupt (steer + preempt) sent before the model has produced a token
is applied server-side at content index 0 and stamped with the response
id the server pre-allocated at job creation. The pane, however, still
renders the in-flight response under the `${userMessageId}_` placeholder
until the FIRST run step renames it, so the exact-id lookup missed, the
bounded next-frame retry ran out silently, and the interrupt vanished
from the live view until a refresh — while the spinner kept going.

`findResponseMessageIndex` now accepts the pane's OWN placeholder
identities as an explicit fallback (never a positional guess, per the
regenerate rule) and both the steer and activity-label resolvers
delegate to it. `useResumableSSE` passes the submission's placeholder id
and the padded user-message id, read at call time so the `created`
reassignment is honored. The rename copies placeholder content forward,
so the part rides into the renamed row.

* 🧭 fix: Carry an Early Steer Through the Rename for Regenerates and Edited Resubmissions

A regenerate seeds the renamed response from `submission.initialResponse`
rather than the store tail, and an edited resubmission seeds from that
object's content, so a steer landed on the placeholder only in the store
was dropped by the first run step's rename. `syncSubmissionPlaceholder`
keeps the submission the step handler receives in step with the
placeholder this pane mutated.

The steer also claims the server-local index space that run steps and
labels already shift past the retained edit prefix; it now shifts the
same way through one shared `editPrefixLength()` instead of landing
inside the kept content. Codex round 1 (P2) on #15692.
2026-09-07 00:17:12 -04:00
..
@types
__tests__ ♿ feat: High Contrast Light and Dark Appearance Modes (#15178) 2026-09-05 22:20:33 +02:00
a11y
common 🪪 feat: Add Per-Agent Git Identity (#15628) 2026-09-05 23:56:23 -04:00
components 🕹 fix: Keep Composer Focus Off Clicked Controls So Menus Can Close (#15669) 2026-09-06 17:31:16 -04:00
constants
data-provider 🗓️ fix: Refresh the Sidebar When a Scheduled Run Fires or Settles (#15631) 2026-09-06 15:28:11 -04:00
hooks 🛬 fix: Land Early Steers on the Live Placeholder (#15692) 2026-09-07 00:17:12 -04:00
lib/rum 🔭 feat: Tag Browser Diagnostics With Client Build IDs (#15656) 2026-09-06 12:47:34 -04:00
locales 📣 fix: Surface Skill Creation Feedback (#15649) 2026-09-06 17:24:37 -04:00
polyfills
Providers 🫥 fix: Clear Hidden MCP Chat Selections (#14159) 2026-09-01 18:38:14 -04:00
routes ♿ feat: High Contrast Light and Dark Appearance Modes (#15178) 2026-09-05 22:20:33 +02:00
store 🧶 feat: Flatten Active Message Threads Behind a Flag (#15633) 2026-09-06 14:30:50 -04:00
utils 🛬 fix: Land Early Steers on the Live Placeholder (#15692) 2026-09-07 00:17:12 -04:00
App.jsx
main.jsx
mobile.css
style.css 🧰 feat: Unify Tool Activity, Reasoning, Search, and Agent Workflows (#14546) 2026-09-06 14:56:50 -04:00
vite-env.d.ts 🧶 feat: Flatten Active Message Threads Behind a Flag (#15633) 2026-09-06 14:30:50 -04:00