* refactor: Move Message Scrolling Into @librechat/chat
* refactor: Run Message Scrolling in the Package Message List
* test: Pin the Scroll Throttle's Coalescing Window
* feat: Export Unstyled Popover Parts From @librechat/client
* feat: Give PopoverContent the Shared Panel Surface
* refactor: Move the Reasoning Budget Control Into @librechat/chat
* test: Cover the Reasoning Budget Control and Token Formatting in the Chat Package
* fix: Keep the Reasoning Popover Under the Panel Radius Guard
* refactor: Resolve the Turn Sender and Reasoning Override in @librechat/chat
* refactor: Publish the Turn Launch as a Package Atom and Cover the Moved Resolvers
* refactor: Move the History Revalidation Guard into @librechat/chat
* refactor: Let useTurns Own Response Binding, Regenerated Focus and the History Guard
* style: Restyle OAuth Success and Error Pages
* style: Render the OAuth Connected Server Badge With Chip
* test: Cover the OAuth Popup Pages With Playwright Scenarios
* test: Settle the OAuth Popup Close Race and Render the Error Page Shell
* test: Show a Settled Assistants Error Lost to New-Chat Recovery
* fix: Keep a Failed Assistants Run's Error on the New-Chat Pane
* fix: Skip New-Chat Recovery for Any Error Turn the Server Did Not Save
* refactor: Move the Assistants Stream Hook into @librechat/chat
* refactor: Stream Assistants Turns Through the Package Legacy Stream
* test: Cover Assistants Send, Stop and Failure Through the Legacy Stream
* test: Give the Test Stream Hosts the Legacy Services Member
* test: Keep the Assistants Failure Case for Its Own Fix
* test: Give the Consumer Spec Host the Legacy Services Member
* fix: Bind Role Delete Config Restore to the Role Identity and Audit the Members It Moved
* fix: Reassign Deleted Role Members With Per-Account Conditional Writes
* test: Type the Member Reassignment Race Spy With Mongoose Query Types
* perf: Reassign Deleted Role Members in Stamped Bulk Writes
* test: Type the Bulk Reassignment Race Spy Options
* fix: Attribute Role Deletion Reassignments by a Per-Batch Nonce
* fix: Keep a Role Whose Members Could Not All Be Reassigned and Audit Those Moved
* fix: Report a Reassignment Batch Whose Write Committed Before Rejecting
* fix: Audit Members Moved Before a Concurrent Role Deletion Won
* fix: Hold Role Deletion to Its Identity, Audit, Cache and Retry Invariants on Every Path
* fix: Recheck the Targeted Role Before Every Reassignment Batch
* fix: Resolve the Targeted Role Id When a Role Delete Names Only the Role
* fix: Report Each Reassigned Account Once and Retry a Config Restore Deferred by an Unreadable Role
* fix: Keep the Reassignment Tag When a Failed Batch Cannot Be Read Back
* fix: Keep Each Overlapping Role Deletion's Reassignment Tag on the Accounts It Moved
* refactor: Share One MessageFooter Between ContentRow and MessageRender
* test: Cover the Shared Message Footer Alignment and Sibling Order
* test: Add a User Prompt Footer Scenario to the Mock Harness
* test: Render the Real Elapsed Timer in the Footer Spec
* feat: Add the Composer Placement Transition Recipe
* refactor: Move the Composer Layout Into the Chat Package
* test: Expect No Refocus on a Coarse Pointer in the Composer Frame Scenario
* fix: Render No Context Rail for a Boolean Slot
* feat: Add a Composer Variant to TextareaAutosize
* refactor: Move the Composer Field and Action Slot Into the Chat Package
* test: Wait for the Collapse Transition in the Composer Field Scenario
* fix: Keep the Composer Touch Font Floor in the Shared Field Stylesheet
* test: Floor a Small Chat Font on the Composer Draft on Touch
* refactor: Draw Content and Thread Rows Through a ContentRow in @librechat/chat
* test: Cover ContentRow Against Fake Hosts and Register the App Hosts in Row Specs
* test: Add Structured Reply Row Scenarios to the Mock Harness
* refactor: Move the Author, Error Source and Message Surface Contexts into @librechat/chat
* refactor: Keep the Moved Message Contexts Importable From Their Client Paths
* refactor: Render Thread Rows Through MessagesHost Slots
* refactor: Move the Thread Renderers Into @librechat/chat as the Default MessagesView Thread
* test: Verify Sibling Switching, Activity Anchors and Editing on the Package Thread
* refactor: Move HoverButtons into @librechat/chat Behind Thread and Read-Aloud Host Members
* test: Cover HoverButtons Against a Fake Host and the App Read-Aloud Slot
* test: Add Hover Toolbar Scenarios to the Mock Harness
* test: Target the Edit Textarea by Test Id in the Hover Edit Scenario
* fix: Keep Module-Scope Atoms Out of the Components Entry by Reading HoverButtons State Through the Chat Contract and Host
* test: Render the Hover Toolbar Specs Through the Real English Bundle
* chore: Add framer-motion and react-dnd as @librechat/chat Peers
* refactor: Move the Composer Queue Rail Into the Chat Package
* fix: Keep Store Atoms Out of the Queue Rail's Module Load
* refactor: Move the Stream Event Handler Hooks into @librechat/chat
* refactor: Read the Event Handler Services Through the Stream Host
* test: Give the Event Handler Test Hosts the Subagent Index Member
* refactor: Route Stream Event Handler Effects Through Grouped Host Services
* test: Confirm the Titled Endpoint Pick in the Generated Title Scenario
* test: Give the Subagent Index Test Host the Event Services Member
* test: Give the Consumer Spec Host the Event Services Member
* fix: Close the Mobile Drawer When Selecting an Agent
Select Agent starts a chat from the agent builder, which on the narrow layout sits in the drawer. Like picking a conversation, it now closes the drawer through the shared slide-first toggle and starts the chat after the slide; the desktop rail is unchanged.
* refactor: Reveal the Agent Chat Through the Agent Panel Host
The agent form no longer reads or writes the sidebar itself. AgentPanelProvider, the host of the agent panels, supplies revealChat from a small useRevealChat hook: in drawer mode it closes the drawer through the slide-first toggle and starts the chat on the slide, and on the wide layout it starts it at once. The provider reads only the drawer viewport, not the sidebar's normalizing state.
On narrow layouts the agent builder drawer stays open over the composer after Select Agent, the child activity panel is a modal dialog rather than a region, and Chat History sits behind the drawer's panel switcher. The subagent activity and agent handoff specs now close the drawer with the shared helper, find the child panel under either role, and open Chat History on either layout.
* feat: Derive the Chat Pane's Heading, Footers, Project and Read-Only State in @librechat/chat
* refactor: Lay Out the Chat View Through the Package ChatScreen
* feat: Add a Hint Variant to Button
* refactor: Move the Ask Question Popover Into the Chat Package
* fix: Keep the Ask Hint's Hover Ink
* fix: Return Focus to the Draft When the Ask Chevron Moves the Question
* test: Exercise the Real Composer Overlay Hook in the Ask Popover Spec
* refactor: Move the Prompts Popover Into the Chat Package
* test: Check Dialog Focus Without Querying the Hidden Composer
* fix: Keep the Search Typed After the Slash When the Prompts Popover Opens
* refactor: Move the Subagent Transcript Into @librechat/chat Behind a Subagents Host
SubagentActivity, its scroll surface, content, status and guidance history
move into @librechat/chat/components, and ScrollToBottom moves into the
package with them. A new SubagentsHost carries what still lives in the app:
the content-parts and steer renderers, the animated jump-to-latest control,
and the read of a shortened guidance receipt, which stays an app query. The
prompt preview reuses renderMarkdown with a new codeExecution flag, and the
task content scope becomes a plain package context.
* refactor: Draw Content Parts Through the Message Parts Host
renderContentParts moves from SubagentsHost onto MessagePartsHost as the one
content slot, typed as ContentPartsSlotProps: the transcript fields plus the
optional row fields message rows pass. The app fills it through a registered
renderer, so the host module does not import the content stack, and omitted
row fields keep an assistant reply's defaults.
* refactor: Let the Content Parts Slot Carry Sparse Content
Main message rows keep holes at streaming and parallel indexes, and part indexes depend on those positions, so the slot's content keeps undefined entries as ContentParts already accepts them.
* test: Exercise the Real App Renderers in the Host Registration Spec
The transcript host test now renders the app's ContentParts and SteerPart under the providers they read, so the registered content renderer and steer slot are proven against the real components; only the receipt request stays mocked.
The chat surface context, the durable task panel hook and the event subagent
activity group move into the package. The surface context and read hooks live
apart from the provider that binds the panel atoms, so the components entry
loads no module-scope atom. Share state and the inline agent avatar reach the
package through two new MessagePartsHost members, useShare and
renderAgentAvatar, which the app fills from ShareContext and renderAgentAvatar
with the same options as before.
* refactor: Move Subagent Authors Into @librechat/chat Behind a Message Icon Slot
* fix: Register the Message Parts Host From the App Entry
* test: Give the Consumer Spec's Messages Host the Icon Slot
* 🔎 fix: Keep Scoped Package Frames Out of the Log Email Redactor
The log redactor read node_modules/@scope/pkg/... as an address and replaced
whole stack frame locations with [REDACTED_EMAIL], in file, console and
OpenTelemetry output alike. An @ between path separators now names a scoped
package; addresses beside such frames are still masked.
* 🪪 feat: Name the Build and Loaded Config on OpenTelemetry Records
service.version now defaults to the image's BUILD_COMMIT ahead of the npm
package version. Each successful librechat.yaml load records a short digest
of the parsed file, which exported log records and request spans carry as
librechat.config.digest, and applies telemetry.stackTraceLimit to
Error.stackTraceLimit; unset keeps the process default.
* fix: Publish telemetry settings with the accepted base config
* fix: Initialize process settings before adopting cached config
* fix: Preserve runtime settings when cache writes are refused
* fix: Keep telemetry identity local and propagate Redis write errors
* fix: Partition merged config caches by the local base
* fix: Keep config cache failures recoverable
* test: Verify cache recovery contracts with typed fixtures
---------
Co-authored-by: Lia <lia@librechat.ai>
* refactor: Move Ask State, Approval and File Previews, and Diff View Into the Chat Package
* fix: Point the HITL Edits Spec at the Moved Approval Preview
* refactor: Add a Command Popover with a Host Windowed List Slot
* refactor: Move the Mention Popover Into the Chat Package
* test: Cover the Mention Popover Combobox in the Mock Harness
* style: Draw the Mention Popover Like the Prompts and Skills Popovers
* test: Walk to the Endpoint Row Before Drilling Into Its Models
* test: Drill Into a Plain Custom Endpoint in the Mention Scenario
* refactor: Share the Command Character Helper From the Chat Core
* refactor: Move the MessagesView Root Into @librechat/chat
* fix: Read Submitting State From the Chat Contract and Complete the Test Hosts
* test: Tell the Scroll Control Apart From the Rail's End Marker