* fix: Keep the Projects Section Expanded by Default
* fix: Label the Streaming Dot With a Tooltip and an Accessible Name
* fix: Move the Welcome Screen Footer Directly Under the Composer
* fix: Drop the Agent Name From Responses When the Selector Already Shows It
* fix: Align the Sidebar Section Headings With the Date Labels
* feat: Make the Welcome Footer Placement and Response Author Configurable
* fix: Hide the Memories Panel on the Agents Route
* test: Cover the Launch QA Chat Chrome in E2E Scenarios
* test: Assert the Section Heading Padding Merge Without Mocking App Internals
* fix: Read the Response Author Setting Through the Messages Host
* test: Give the Consumer Spec's Messages Host the Author Setting
* refactor: Move the Queued Follow-Up Row Into @librechat/chat
The package owns which queued turn is drawn, when it follows the reader to the end of the thread, and where the composer's queued actions attach. The app keeps who sent it, their icon and how the text reads, passed in as props.
* test: Tag the Queued Follow-Up Row Scenario
The spec already drives the queued turn through its reveal and handoff in the browser; the tag lets the gate record it as evidence for the row the package now draws.
* chore: Retest Against Current Dev
* test: Keep Jotai's Real Exports in the Search Route Spec
PendingTurn now ships from the package components entry, which loads the steer rows and the pane submission atom at import. The spec replaced the whole jotai module with useAtomValue alone, so atom() was undefined and the suite failed to load.
* refactor: Move Conversation Starters Into @librechat/chat With a Starter Button Variant
The welcome screen's suggested first messages render through a package component built on a new starter Button variant instead of a raw button. The app keeps resolving which starters apply (agent, spec, assistant) and sends the chosen text.
* test: Pin the Starter Variant Under the ClickHouse Reference Theme
A starter takes its fill and ink from the theme roles in light and dark, so a theme that repaints the surface repaints the chip.
* fix: Cap the Starter Width at the Call Site, Not in the Button Variant
The Button primitive spec rejects fixed sizes in the variant recipe, so the 16rem cap moves to the package component that lays the chips out.
* fix: Keep the Starter Stagger Ahead of the Unlayered Fade Rule
The unlayered fade-in rule sets the animation shorthand, which resets the delay and fill mode a layered utility sets, so every chip animated at once. The variant now declares the whole animation in one utility, and the cap scenario asserts the computed delay and fill mode.
* fix: Ship the Starter Fade From the Shared Tailwind Preset
The starter variant referenced a keyframe that only the app stylesheet defines, so a host using the published preset would get no entrance. The keyframe and its staggered animation now live in the preset next to the loading dots, and the variant uses the animate-starter-in utility.
* chore: Retest Against Current Dev
* refactor: Move the Attachment Row Into @librechat/chat Behind the Files Host
* test: Cover the Attachment Row Against a Fake Files Host
* test: Run the Files Host Deletion Against the Real Hooks and Mock Only the Service Call
* test: Drive the Fallback Deletion Through the Real File Card
* test: Run the Row's Host Cases Against the Real Thumbnail and File Card
* test: Read the Host Preview From the Thumbnail Image Source
* chore: Retest Against Current Dev
* refactor: Move the Scroll Button Into @librechat/chat
* refactor: Make the Package Scroll Button the Message List Default
* test: Pin the Scroll Control Fade and Its Reduced-Motion Path
* fix: Drop the Scroll Control's IntersectionObserver Guard
The observer starts in an effect, which never runs in a server render, and every browser has the API. The guard existed only for jsdom, which now gets an inert observer from the package's jest setup.
* chore: Retest Against Current Dev
* refactor: Retire Host Tool Outcome, Sibling and Approval Members
The package now owns the tool outcome rules and the attachment merge they
read, selects the visible sibling through its own atom, and derives the steer
path's code approval mode from raw inputs. ChatHost loses getMappingOptions and
useSetSiblingIdx; SteerHost.useCodeApprovalMode becomes useCodeApprovalInputs.
* refactor: Select the Branch Tail Inside @librechat/chat
The tail of the branch on screen becomes package logic, read through
useBranchTail. ChatHost loses useLatestMessage and useLatestMessageId;
SteerHost.useLatestMessage becomes the useRouteConversationId adapter.
* test: Exercise Steering Against a Real Message Cache
The steering spec mocked React Query to return one message list for every key, so
it could not notice a read of another conversation's cache or a tail that stops
following the cache. It now provides a real QueryClient, seeds each conversation
key, and covers the route and another chat holding different tails and a cache
that hydrates after mount.
* refactor: Read the Thread Panel's Jotai State Through the Chat Surface
* refactor: Move the Subagent Thread Panel Into @librechat/chat
* test: Spec the Subagent Thread Panel Against Fake Hosts
* test: Cover the App Subagents Host Adapters the Panel Move Relies On
* fix: Style the Moved Subagent Panel With Shared Variants
* test: Pin the Shared Variants the Panel Draws Its Picker and Inline Actions With
* perf: Keep the Subagent Thread Panel Out of the Boot Bundle
* refactor: Add the Thread Panel's Reads, Writes and Layout to the Subagents Host
* refactor: Read the Subagent Thread Panel's App Capabilities Through the Subagents Host
* fix: Hand the Thread Panel the Query's Own Stable Refetch
* refactor: Read Subagent Conversation Data Through the Subagents Host
* refactor: Move Subagent Conversation and Shared Activity Dialog Into @librechat/chat
* test: Spec the Subagent Conversation and Shared Dialog Against Fake Hosts
* fix: Keep the Panel Selection Atom Out of the Components Entry
* test: Open a Shared Child Run in Its Activity Dialog
* fix: Style the Moved Subagent Dialog With Variants and Static Classes
* test: Pin That a Shared Child Run Card Stays Closed
* chore: Retest Against Current Dev
* refactor: Derive a Send's Code Decision Inside @librechat/chat
TurnServices.resolveCode computed the code workspace and approval a send
carries in the app. It becomes readCodeInputs, a storage read of the raw values,
and the package derives the decision through resolveTurnCode. The read goes
through a ref updated each render, so a captured adapter still reads the newest
render's values.
* test: Close Mocked Readers Over Each Render in the Freshness Spec
* test: Close the Mobile Drawer Through the Race-Tolerant Helper in Two Agent Specs
Two specs closed the drawer after selecting an agent with a bare click on
Close sidebar. The drawer closes itself as the selection lands, so the click
waited on a button that stopped being visible and ran into the 120 s test
timeout on phones. closeMobileDrawer, which #17764 added for this, handles that
race and keeps the inert check.
* refactor: Ship Icon Sizes, Status Type and the Label Sweep From @librechat/client
* test: Prove a Consumer Gets the Shared Part Classes From the Published Stylesheet
* test: Stop Asserting the Blockified Display of the Elapsed Reading
* fix: End the Status Row Type Chain in a Length for Standalone Consumers
* refactor: Move the Message Rows Into @librechat/chat
MessageRender, Message, MessageContent, ContentRender, MessageParts and the thread's ThreadMessage now live in the package, and the thread renders them directly, retiring MessagesHost.renderMessageRow. Pieces owned elsewhere reach the rows through new host slots.
* test: Render the Real Thread Message in the Thread Specs
The thread specs replaced ThreadMessage with a fabricated row, so sibling paging and edit assertions drove the stub. They now render the real row chain with fake hosts and page and edit through its real controls.
* test: Keep a 12,000-Message Chain Covered at the Row Resolver
The thread specs now render real rows, so their large-chain case was cut to 60 messages. The 12,000-message chain, which guards the iterative branch walk and row reuse on a long conversation, moves to the resolver spec where it does not mount every row.
* test: Keep the Child Thread Spec Rendering Real Rows Under the Client Mock
The child-thread spec relied on the test host's renderMessageRow slot to draw nothing. The thread now mounts the package rows directly, so the spec's agents map and client package mocks have to cover them.
* fix: Let Native Azure Deployments Declare Their Reasoning Efforts
The composer effort control needs explicit capability evidence on Azure,
because a deployment name does not identify its model, but the native
Azure config had no way to supply any, so the control could never appear.
Add an optional per-model reasoningEfforts list to Azure groups. The
endpoints config serves only model names and efforts, and the composer,
the submit check and the server override validation all resolve them
through getReasoningParamDefinitions. Undeclared deployments stay without
a control and model spec locks still apply.
* test: Assert Auto as the Reset Button in the Azure Effort Scenario
* test: Ignore Looping Animations When the Memory Alert Settles
The spec waited for every animation in the document to finish. A looping one
never does, so it hung whenever earlier specs in its shard left a chat list
long enough to show pulsing skeleton rows. Adding any spec can move it there:
the shard planner places it in shard 9 instead of 6 with this branch.
* refactor: Move the Context Usage Popover Pieces Into @librechat/chat
* test: Cover the Context Usage Pieces in the Chat Package
* fix: Ship the Collapsible Animations With the Shared Tailwind Preset
* test: Keep the Expanded Breakdown Choice Across Remounts
* test: Assert the Absent Compaction Hint by Its Fixed Copy
* refactor: Give Collapsible and HoverCard the Breakdown Disclosure Styles
* test: Cover the Breakdown Roll and Remembered Choice in the Browser
* chore: Retest Against Current Dev
* refactor: Move the Messages View Provider Into @librechat/chat
* refactor: Render the Package Message List by Default in ChatScreen
* fix: Drop the Rail's IntersectionObserver Guard for a Package Spec Stub
Nothing renders the rail without a browser: its observer starts in an effect, which never runs in a server render. The guard existed only because jsdom lacks the API, so jsdom now gets inert observers and matchMedia from the package's jest setup, and the spec's own stubs, which no longer matched the DOM lib's IntersectionObserver type, are gone.
* test: Scroll a Sidebar Row Into View Before Dragging It
A row under the fold has no pixel the mouse can press, so the drag selected text instead. Whether a run hit it depended on which earlier specs shared its shard and left chats in the Running and Finished sections.
* test: Give the Client Specs an Inert IntersectionObserver
With the rail's guard gone, a client spec that renders the message list reaches the observer jsdom lacks. The shared setup provides an inert one, as the package's jest setup does, and the child-thread spec's partial client mock gains the rem scale hook the rail reads.
* chore: Retest Against Current Dev
* test: Give the Test Messages Host the Row Hook Members
The messages host gained the assistant, added-conversation, streamed-attachment and feedback hooks when the row hooks moved into the package, so the shared test host supplies them too.
* refactor: Move Leaf Content Parts Into the Chat Package
Container, ToolAuthWarning, ToolPreparation, the failed-reveal pill, the fold
rail, the background task guidance keys, MemoryInfo, PendingSkillCall,
ResumeAuthorHeader, DialogImage and ToolCallLimitNotice move from
client/src/components/Chat/Messages/Content to packages/chat/src/components/parts
and export from @librechat/chat/components. Their specs move with them.
Client importers and mocks point at the package entry. Design-lint
suppressions follow the moved files.
* fix: Ship the Tool Row Type Scale With the Component Library
The progress-text rules move from the SPA stylesheet to packages/client/src/theme/parts.css, which ThemeProvider loads into @librechat/client/style.css, so the package's PendingSkillCall row keeps its type size without the app's CSS. The two class names join the no-unknown-classes allow list, and PendingSkillCall needs no suppression.
* test: Check the Tool Row Label Keeps the Chat Type Scale
* test: Find the Tool Row Label Around Its Toggle
* test: Capture the Staged Skill Row in Its Loading State
* fix: End the Tool Row Type Chain in a Length for Standalone Consumers
--font-size-base and --markdown-font-size are declared only in the app's
stylesheet, so the .progress-text-wrapper font-size and line-height were invalid
for a consumer that loads the published theme alone. The chain now ends in
var(--font-size-base, 1rem), and the consumer spec reads the published
stylesheet for it.
* test: Cover the Memory Limit Alert in Both Themes and Modes
* 💬 feat: Show Ask-User Questions Inline in the Chat Instead of Over the Composer
A live ask_user_question pause now starts in its chat card, in thread order and at the thread's width, instead of a popover over the composer that covered most of the screen on phones. The card's chevron still moves a question into the composer popover, and the popover's chevron moves it back.
The shared atom flips from the questions moved to the chat (collapsedAskActionsAtom) to the questions moved to the composer (expandedAskActionsAtom), so the card is the default surface.
* 🔁 fix: Restore Saved Ask Answers in the Inline Card and Focus a Batch Only on Screen
A pending single question's answer is saved under its own draft key, which autosave restores only into the composer. With the chat card as the default surface, a reload showed an empty answer there; the card now reads that saved draft when no in-memory answer exists.
A batch arriving below a reader who has scrolled up took focus on a control out of view. Arrival focus now waits for the step to be on screen (re-measured against the viewport and scroll containers on each IntersectionObserver notification), and still only takes focus when focus is idle. The visibility measurement moves from Thinking.tsx to utils/viewport.ts so both share it.
* 🧷 fix: Keep a Restored Ask Answer When Draft Saving Is Turned Off
The answer restored from a pending question's saved draft lived only in the render-time fallback, so turning Save drafts off while the card was open recomputed it to empty and cleared the visible answer. It is now copied into the in-memory answers once restored, so later preference changes leave it in place, as they do for the composer.
* 🎯 fix: Clear Answered Ask Drafts and Focus the Popover on Handoff
A pending single question's answer is saved under its own draft key. Answered from the composer, autosave cleared it along with the composer; answered from the chat card, which is now the default, nothing cleared it, so every answered question left its text in localStorage. The key is now cleared as soon as the answer is accepted (even after navigating away) and when the question expires, so a saved answer lives exactly as long as its question.
Moving a question from the card into the composer left focus on the card's now-removed button. A single question now focuses the draft, its answer box, and a batch focuses its active step through a new focusOnHandoff prop that is not limited to the first arrival.
* ⌨️ fix: Focus a Single Question on Arrival and Always Focus a Batch Handoff
With the popover gone as the default, a single question arrived with no focus cue: keys typed next in the composer went out as an ordinary mid-run message instead of answering it. The single card now takes arrival focus like a batch does, on its first option or else its answer field, once per question, only once it is on screen and only when focus is idle (nowhere, or the empty composer that sent the turn). Both cards share a new useArrivalFocus hook for the on-screen wait.
A batch moved into the composer popover now takes focus unconditionally: the handoff is the user's own action, and Safari leaves focus on the previous owner of a clicked button, which can be the hidden chat card.
The deferred-tools HITL e2e scenario read its terminal line once as soon as it appeared, while the slow echo was still streaming into it; it now waits for the full text.
* refactor: Move the Message Row Hooks Into @librechat/chat
* test: Point the Live Attachment Scenario at the Moved useAttachments Spec
The scenario ran the client's useAttachments spec by path, which moved into packages/chat with the hook. It now runs the spec from that workspace.
* refactor: Compose Message Toolbar Styles From Shared Button and Label Variants
* test: Cover an Open Fork Menu Holding the Message Toolbar Visible
* refactor: Compose Composer File Styles From Shared Primitives
* refactor: Compose Summary, Collapsible Text and Subagent Activity Styles From Shared Button Presets
* fix: Draw the New Button Variants From Theme Radius and Height Roles
* test: Find the Held-Open Scenario's Replies Inside the Message List
* fix: Restore the Feedback Note and Fork Checkbox Looks Through Primitive Variants
* refactor: Compose the Message Nav Chevrons With the Disabled Ink Recipe
* fix: Simplify Tool Activity Headers
* fix: Preserve Interactive Flattened Tool Results
* test: Update Fold Tree Scenarios for Hidden Markers
* fix: Restore Tool Activity Tree Markers
* fix: Smooth Streaming Tool Disclosures and Show Command Timers
* fix: Align Tool UI Imports With Shared Chat Components
* fix: Hide Durations on File Read and Authoring Cards
* fix: Phrase Tool Durations as Part of the Label
* style: Match Thoughts Panel Radius to Tool Panels
* fix: Keep the Bash Copy Button Clear of the Command
* style: Space Thoughts Rows Like Tool Rows
* style: Render Agent Handoff as a Tool Disclosure
* style: Even Padding on the File Search Relevance Badge
* feat: Show Loaded Skill Instructions With an Open Skill Action
* style: Align Memory Panel Typography With Tool Panels
* style: Show Full File Paths and Match the Diff to Code Panels
* style: Pin Tool Durations and Chevrons to the Row End
* style: Use an Icon Button to Open a Loaded Skill
* style: Always Show Disclosure Chevrons
* style: Compact, Evenly Inset Copy Buttons in Tool Panels
* fix: Draw No Fold Rail Around a Lone Tool Call
* fix: Put a Titled Command's Time on Its Command Line
* fix: Hide a Bare File Edit Summary
* style: Compact Copy Button on Thoughts Headers
* fix: Move Titled Web Search Details Into the Sources Panel Header
* fix: Show Titled Web Search Details Beside the Title Chevron
* fix: Import Tool Call Phase Types From the Chat Package
* test: Cover Tool Activity Header Scenarios
* fix: Read Smooth Streaming Through the Message Parts Host
* fix: Keep a Command's Measured Time When Its Title Takes Over
* fix: Show a Loaded Skill Only When Its Name Is Unambiguous
* fix: Keep Nested Group Rails and the Handoff Label Text
* fix: Keep Skill Execution Warnings Beside Its Instructions
* fix: Label Loaded Skill Instructions as the Current Version
* refactor: Move the Message Navigation Rail Into @librechat/chat
* refactor: Render the Message Navigation Rail From @librechat/chat
* test: Cover the Navigation Rail Jumping Between a Thread's Ends
* 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
* 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
* 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