Commit graph

2988 commits

Author SHA1 Message Date
Marco Beretta
62cc2ffc19
🧵 refactor: Render the Package Message List by Default in ChatScreen (#17753)
* 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.
2026-11-05 22:35:15 +01:00
Marco Beretta
1b857e46cb
🌿 refactor: Move Leaf Content Parts Into the Chat Package (#17756)
* 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
2026-11-05 22:32:18 +01:00
Danny Avila
3b8411d4b5
💬 feat: Show Ask-User Questions Inline in the Chat Instead of Over the Composer (#17839)
* 💬 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.
2026-11-05 13:46:20 -05:00
Marco Beretta
a4d42f42e5
🪝 refactor: Move the Message Row Hooks Into @librechat/chat (#17802)
* 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.
2026-11-05 17:19:22 +01:00
Marco Beretta
de6f9d3030
🧮 refactor: Move the Code Workspace Decision Logic Into @librechat/chat (#17782)
* refactor: Move the Code Workspace Decision Logic Into @librechat/chat

* test: Prove the Code Workspace Hook Agrees With the Package Resolver
2026-11-05 17:10:26 +01:00
Marco Beretta
299d1fa6a3
⏰ refactor: Move the Wake-Up Row Into @librechat/chat (#17780)
* refactor: Move the Wake-Up Row Into @librechat/chat

* test: Drive the Wake-Up Row Spec Through the Real Subagent Index
2026-11-05 17:06:43 +01:00
Marco Beretta
e1adcda55b
💾 fix: Restore Send State From Saved Drafts (#17822) 2026-11-05 09:54:32 +01:00
Marco Beretta
c0187d1de4
🛂 refactor: Move the Code Approval Mode Logic Into @librechat/chat (#17769)
Some checks are pending
Backend Unit Tests / Tests: api (shard 1/3) (push) Blocked by required conditions
Backend Unit Tests / Tests: api (shard 2/3) (push) Blocked by required conditions
Backend Unit Tests / Tests: api (shard 3/3) (push) Blocked by required conditions
Backend Unit Tests / Tests: data-provider (push) Blocked by required conditions
Backend Unit Tests / Tests: data-schemas (push) Blocked by required conditions
Backend Unit Tests / Tests: @librechat/api (shard 1/4) (push) Blocked by required conditions
Backend Unit Tests / Tests: @librechat/api (shard 2/4) (push) Blocked by required conditions
Backend Unit Tests / Tests: @librechat/api (shard 3/4) (push) Blocked by required conditions
Backend Unit Tests / Tests: @librechat/api (shard 4/4) (push) Blocked by required conditions
Codegraph E2E Vote Gate / Gate (push) Waiting to run
Codegraph E2E Votes / vote (shard 1/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 10/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 2/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 3/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 4/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 5/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 6/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 7/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 8/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 9/10) (push) Waiting to run
Docker Dev Branch Images Build / publish (push) Waiting to run
Frontend Unit Tests / Client build recovery regression (push) Waiting to run
Frontend Unit Tests / Codegraph select (push) Waiting to run
Frontend Unit Tests / Build packages (push) Waiting to run
Frontend Unit Tests / TypeScript type checks (client) (push) Blocked by required conditions
Frontend Unit Tests / Tests: @librechat/chat (push) Blocked by required conditions
Frontend Unit Tests / Tests: @librechat/client (push) Blocked by required conditions
Frontend Unit Tests / Tests: Ubuntu (shard 1/2) (push) Blocked by required conditions
Frontend Unit Tests / Tests: Ubuntu (shard 2/2) (push) Blocked by required conditions
Frontend Unit Tests / Vite build verification (push) Blocked by required conditions
2026-11-04 21:57:19 +01:00
Marco Beretta
03f1b76db5
🪄 refactor: Compose Chat Package Styles From Shared Primitive Variants (#17760)
* 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
2026-11-04 21:56:57 +01:00
Marco Beretta
1840797662
💭 refactor: Move the Composer Thinking Control Into @librechat/chat (#17754) 2026-11-04 11:20:59 +01:00
Marco Beretta
0491d60ae6
🧹 fix: Simplify Tool Activity Headers (#17512)
Some checks failed
Backend Unit Tests / Tests: api (shard 3/3) (push) Blocked by required conditions
Backend Unit Tests / Tests: data-provider (push) Blocked by required conditions
Backend Unit Tests / Tests: data-schemas (push) Blocked by required conditions
Backend Unit Tests / Tests: @librechat/api (shard 1/4) (push) Blocked by required conditions
Backend Unit Tests / Tests: @librechat/api (shard 2/4) (push) Blocked by required conditions
Backend Unit Tests / Tests: @librechat/api (shard 3/4) (push) Blocked by required conditions
Backend Unit Tests / Tests: @librechat/api (shard 4/4) (push) Blocked by required conditions
Codegraph E2E Vote Gate / Gate (push) Waiting to run
Codegraph E2E Votes / vote (shard 1/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 10/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 2/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 3/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 4/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 5/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 6/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 7/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 8/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 9/10) (push) Waiting to run
Docker Dev Branch Images Build / publish (push) Waiting to run
Frontend Unit Tests / Client build recovery regression (push) Waiting to run
Frontend Unit Tests / Codegraph select (push) Waiting to run
Frontend Unit Tests / Build packages (push) Waiting to run
Frontend Unit Tests / TypeScript type checks (client) (push) Blocked by required conditions
Frontend Unit Tests / Tests: @librechat/chat (push) Blocked by required conditions
Frontend Unit Tests / Tests: @librechat/client (push) Blocked by required conditions
Frontend Unit Tests / Tests: Ubuntu (shard 1/2) (push) Blocked by required conditions
Frontend Unit Tests / Tests: Ubuntu (shard 2/2) (push) Blocked by required conditions
Frontend Unit Tests / Vite build verification (push) Blocked by required conditions
Sync Locize Translations & Create Translation PR / Sync Translation Keys with Locize (push) Has been cancelled
Sync Locize Translations & Create Translation PR / Create Translation PR on Version Published (push) Has been cancelled
* 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
2026-11-03 23:56:02 +01:00
Marco Beretta
c4d5e44719
🧭 refactor: Move the Message Navigation Rail Into @librechat/chat (#17758)
Some checks are pending
Backend Unit Tests / Tests: api (shard 1/3) (push) Blocked by required conditions
Backend Unit Tests / Tests: api (shard 2/3) (push) Blocked by required conditions
Backend Unit Tests / Tests: api (shard 3/3) (push) Blocked by required conditions
Backend Unit Tests / Tests: data-provider (push) Blocked by required conditions
Backend Unit Tests / Tests: data-schemas (push) Blocked by required conditions
Backend Unit Tests / Tests: @librechat/api (shard 1/4) (push) Blocked by required conditions
Backend Unit Tests / Tests: @librechat/api (shard 2/4) (push) Blocked by required conditions
Backend Unit Tests / Tests: @librechat/api (shard 3/4) (push) Blocked by required conditions
Backend Unit Tests / Tests: @librechat/api (shard 4/4) (push) Blocked by required conditions
Codegraph E2E Vote Gate / Gate (push) Waiting to run
Codegraph E2E Votes / vote (shard 1/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 10/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 2/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 3/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 4/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 5/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 6/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 7/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 8/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 9/10) (push) Waiting to run
Docker Dev Branch Images Build / publish (push) Waiting to run
Frontend Unit Tests / Client build recovery regression (push) Waiting to run
Frontend Unit Tests / Codegraph select (push) Waiting to run
Frontend Unit Tests / Build packages (push) Waiting to run
Frontend Unit Tests / TypeScript type checks (client) (push) Blocked by required conditions
Frontend Unit Tests / Tests: @librechat/chat (push) Blocked by required conditions
Frontend Unit Tests / Tests: @librechat/client (push) Blocked by required conditions
Frontend Unit Tests / Tests: Ubuntu (shard 1/2) (push) Blocked by required conditions
Frontend Unit Tests / Tests: Ubuntu (shard 2/2) (push) Blocked by required conditions
Frontend Unit Tests / Vite build verification (push) Blocked by required conditions
* 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
2026-11-03 21:45:06 +01:00
Marco Beretta
a3989d7b1b
👁️ refactor: Report Conversation Seen From @librechat/chat (#17755)
* refactor: Move Conversation Seen Reporting Into @librechat/chat

* refactor: Report Conversation Seen From the Package Through a Read-State Adapter
2026-11-03 21:44:39 +01:00
Marco Beretta
5ebba27035
🛞 refactor: Run Message Scrolling Inside @librechat/chat (#17752)
* refactor: Move Message Scrolling Into @librechat/chat

* refactor: Run Message Scrolling in the Package Message List

* test: Pin the Scroll Throttle's Coalescing Window
2026-11-03 21:44:22 +01:00
Marco Beretta
77cb38769b
🧠 refactor: Move the Composer Reasoning Budget Control Into @librechat/chat (#17763)
* 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
2026-11-03 21:44:06 +01:00
Marco Beretta
ed85f15735
🏷️ refactor: Resolve the Turn Sender, Reasoning Override and Launch in @librechat/chat (#17762)
* 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
2026-11-03 21:43:31 +01:00
Marco Beretta
e64ef7ec25
🎯 refactor: Let useTurns Own Response Binding, Regenerated Focus and the History Guard (#17750)
* refactor: Move the History Revalidation Guard into @librechat/chat

* refactor: Let useTurns Own Response Binding, Regenerated Focus and the History Guard
2026-11-03 21:43:02 +01:00
Marco Beretta
6c53f258e4
🤏 fix: Keep Long Agent Names Inside Handoff Rows on Phones (#17764)
* fix: Keep Long Agent Names Inside Handoff and Subagent Rows

* test: Close the Mobile Drawer Once It Has Settled
2026-11-03 21:42:47 +01:00
Marco Beretta
32d0800c7e
🔐 style: Restyle the OAuth Success and Error Pages (#17729)
Some checks are pending
Codegraph E2E Vote Gate / Gate (push) Waiting to run
Codegraph E2E Votes / vote (shard 1/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 10/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 2/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 3/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 4/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 5/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 6/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 7/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 8/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 9/10) (push) Waiting to run
Docker Dev Branch Images Build / publish (push) Waiting to run
Frontend Unit Tests / Client build recovery regression (push) Waiting to run
Frontend Unit Tests / Codegraph select (push) Waiting to run
Frontend Unit Tests / Build packages (push) Waiting to run
Frontend Unit Tests / TypeScript type checks (client) (push) Blocked by required conditions
Frontend Unit Tests / Tests: @librechat/chat (push) Blocked by required conditions
Frontend Unit Tests / Tests: @librechat/client (push) Blocked by required conditions
Frontend Unit Tests / Tests: Ubuntu (shard 1/2) (push) Blocked by required conditions
Frontend Unit Tests / Tests: Ubuntu (shard 2/2) (push) Blocked by required conditions
Frontend Unit Tests / Vite build verification (push) Blocked by required conditions
* 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
2026-11-02 22:12:29 +01:00
Marco Beretta
b81458e1bb
🛰️ refactor: Stream Assistants Turns Through @librechat/chat (#17697)
* 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
2026-11-02 18:36:32 +01:00
Marco Beretta
28d8780dad
🚦 refactor: Move the Tool Outcome Helpers Into the Chat Package (#17708)
Some checks are pending
Backend Unit Tests / Tests: api (shard 1/3) (push) Blocked by required conditions
Backend Unit Tests / Tests: api (shard 2/3) (push) Blocked by required conditions
Backend Unit Tests / Tests: api (shard 3/3) (push) Blocked by required conditions
Backend Unit Tests / Tests: data-provider (push) Blocked by required conditions
Backend Unit Tests / Tests: data-schemas (push) Blocked by required conditions
Backend Unit Tests / Tests: @librechat/api (shard 1/4) (push) Blocked by required conditions
Backend Unit Tests / Tests: @librechat/api (shard 2/4) (push) Blocked by required conditions
Backend Unit Tests / Tests: @librechat/api (shard 3/4) (push) Blocked by required conditions
Backend Unit Tests / Tests: @librechat/api (shard 4/4) (push) Blocked by required conditions
Codegraph E2E Vote Gate / Gate (push) Waiting to run
Codegraph E2E Votes / vote (shard 1/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 10/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 2/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 3/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 4/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 5/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 6/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 7/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 8/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 9/10) (push) Waiting to run
Docker Dev Branch Images Build / publish (push) Waiting to run
Frontend Unit Tests / Client build recovery regression (push) Waiting to run
Frontend Unit Tests / Codegraph select (push) Waiting to run
Frontend Unit Tests / Build packages (push) Waiting to run
Frontend Unit Tests / TypeScript type checks (client) (push) Blocked by required conditions
Frontend Unit Tests / Tests: @librechat/chat (push) Blocked by required conditions
Frontend Unit Tests / Tests: @librechat/client (push) Blocked by required conditions
Frontend Unit Tests / Tests: Ubuntu (shard 1/2) (push) Blocked by required conditions
Frontend Unit Tests / Tests: Ubuntu (shard 2/2) (push) Blocked by required conditions
Frontend Unit Tests / Vite build verification (push) Blocked by required conditions
* refactor: Move the Tool Outcome Helpers Into the Chat Package

* refactor: Narrow the Tool Call Identity Read Instead of Casting
2026-11-02 01:43:38 +01:00
Marco Beretta
b6148a4960
🦶 refactor: Share One Message Footer Across Message Rows (#17706)
* 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
2026-11-02 01:24:00 +01:00
Marco Beretta
a5e14f95ad
🖼️ refactor: Move the Composer Layout Into the Chat Package (#17680)
* 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
2026-11-02 01:23:49 +01:00
Marco Beretta
7f5ce90a14
✍️ refactor: Move the Composer Field and Action Slot Into the Chat Package (#17679)
* 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
2026-11-02 01:23:34 +01:00
Marco Beretta
6112144ae6
🏷️ refactor: Move the Tool Label Helpers Into the Chat Package (#17682) 2026-11-02 00:44:39 +01:00
Marco Beretta
a933bc8df2
🧮 refactor: Move the Ask Question and Tool Call Phase Helpers Into the Chat Package (#17676) 2026-11-02 00:44:12 +01:00
Marco Beretta
47daeb6104
🧱 refactor: Draw Structured Message Rows Through ContentRow in @librechat/chat (#17701)
* 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
2026-11-02 00:43:42 +01:00
Marco Beretta
d49c09e5a4
🧷 refactor: Move the Message Row Contexts into @librechat/chat (#17674)
* refactor: Move the Author, Error Source and Message Surface Contexts into @librechat/chat

* refactor: Keep the Moved Message Contexts Importable From Their Client Paths
2026-11-02 00:43:24 +01:00
Marco Beretta
d70280a1cd
🪜 refactor: Move the Thread Renderers Into @librechat/chat as the Default Thread (#17661)
* 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
2026-11-02 00:42:51 +01:00
Marco Beretta
7cebb55d96
🎛️ refactor: Move the Message Hover Toolbar into @librechat/chat (#17660)
Some checks are pending
Backend Unit Tests / Tests: api (shard 1/3) (push) Blocked by required conditions
Backend Unit Tests / Tests: api (shard 2/3) (push) Blocked by required conditions
Backend Unit Tests / Tests: api (shard 3/3) (push) Blocked by required conditions
Backend Unit Tests / Tests: data-provider (push) Blocked by required conditions
Backend Unit Tests / Tests: data-schemas (push) Blocked by required conditions
Backend Unit Tests / Tests: @librechat/api (shard 1/4) (push) Blocked by required conditions
Backend Unit Tests / Tests: @librechat/api (shard 2/4) (push) Blocked by required conditions
Backend Unit Tests / Tests: @librechat/api (shard 3/4) (push) Blocked by required conditions
Backend Unit Tests / Tests: @librechat/api (shard 4/4) (push) Blocked by required conditions
Codegraph E2E Vote Gate / Gate (push) Waiting to run
Codegraph E2E Votes / vote (shard 1/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 10/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 2/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 3/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 4/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 5/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 6/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 7/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 8/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 9/10) (push) Waiting to run
Docker Dev Branch Images Build / publish (push) Waiting to run
Frontend Unit Tests / Client build recovery regression (push) Waiting to run
Frontend Unit Tests / Codegraph select (push) Waiting to run
Frontend Unit Tests / Build packages (push) Waiting to run
Frontend Unit Tests / TypeScript type checks (client) (push) Blocked by required conditions
Frontend Unit Tests / Tests: @librechat/chat (push) Blocked by required conditions
Frontend Unit Tests / Tests: @librechat/client (push) Blocked by required conditions
Frontend Unit Tests / Tests: Ubuntu (shard 1/2) (push) Blocked by required conditions
Frontend Unit Tests / Tests: Ubuntu (shard 2/2) (push) Blocked by required conditions
Frontend Unit Tests / Vite build verification (push) Blocked by required conditions
* 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
2026-11-01 18:45:56 +01:00
Marco Beretta
759f6aebe5
🪄 refactor: Move the Skills Popover Into the Chat Package (#17675) 2026-11-01 18:18:05 +01:00
Marco Beretta
75cf23e8a1
🚦 refactor: Move the Composer Queue Rail Into the Chat Package (#17685)
Some checks are pending
Backend Unit Tests / Tests: api (shard 1/3) (push) Blocked by required conditions
Backend Unit Tests / Tests: api (shard 2/3) (push) Blocked by required conditions
Backend Unit Tests / Tests: api (shard 3/3) (push) Blocked by required conditions
Backend Unit Tests / Tests: data-provider (push) Blocked by required conditions
Backend Unit Tests / Tests: data-schemas (push) Blocked by required conditions
Backend Unit Tests / Tests: @librechat/api (shard 1/4) (push) Blocked by required conditions
Backend Unit Tests / Tests: @librechat/api (shard 2/4) (push) Blocked by required conditions
Backend Unit Tests / Tests: @librechat/api (shard 3/4) (push) Blocked by required conditions
Backend Unit Tests / Tests: @librechat/api (shard 4/4) (push) Blocked by required conditions
Codegraph E2E Vote Gate / Gate (push) Waiting to run
Codegraph E2E Votes / vote (shard 1/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 10/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 2/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 3/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 4/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 5/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 6/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 7/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 8/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 9/10) (push) Waiting to run
Docker Dev Branch Images Build / publish (push) Waiting to run
Frontend Unit Tests / Client build recovery regression (push) Waiting to run
Frontend Unit Tests / Codegraph select (push) Waiting to run
Frontend Unit Tests / Build packages (push) Waiting to run
Frontend Unit Tests / TypeScript type checks (client) (push) Blocked by required conditions
Frontend Unit Tests / Tests: @librechat/chat (push) Blocked by required conditions
Frontend Unit Tests / Tests: @librechat/client (push) Blocked by required conditions
Frontend Unit Tests / Tests: Ubuntu (shard 1/2) (push) Blocked by required conditions
Frontend Unit Tests / Tests: Ubuntu (shard 2/2) (push) Blocked by required conditions
Frontend Unit Tests / Vite build verification (push) Blocked by required conditions
* 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
2026-11-01 01:25:34 +01:00
Marco Beretta
49ecc0695b
🧹 chore: Clear the Whole-Repo Lint Errors on Dev (#17702) 2026-11-01 01:23:47 +01:00
Marco Beretta
ced4cba6d4
💬 refactor: Move the Steer Part Into the Chat Package Behind Image and File Preview Slots (#17704) 2026-11-01 01:23:34 +01:00
Marco Beretta
6acbdb780d
📡 refactor: Move the Stream Event Handlers into @librechat/chat (#17677)
* 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
2026-11-01 01:22:52 +01:00
Marco Beretta
8c6b38f31c
🧭 refactor: Route Stream Event Handler Effects Through Grouped Host Services (#17668)
* 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
2026-11-01 01:22:39 +01:00
Marco Beretta
7b985fb9f3
🧵 refactor: Move the Thread and Lanes Helpers Into @librechat/chat (#17656) 2026-11-01 01:14:47 +01:00
Marco Beretta
2cd70ebaf7
📋 refactor: Move the Copy Footer and Action Gate into @librechat/chat (#17585)
* refactor: Move useGenerationsByLatest and MinimalHoverButtons into @librechat/chat

* test: Give the Consumer Spec Messages Host the Copy Member
2026-11-01 00:38:11 +01:00
Marco Beretta
76f9246497
📲 fix: Close the Mobile Drawer When Selecting an Agent (#17696)
* 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.
2026-11-01 00:29:00 +01:00
Marco Beretta
1ee4f335d3
🎚️ refactor: Move the Thinking-Level Track Into the Chat Package (#17684)
* refactor: Move the Thinking-Level Track Into the Chat Package

* test: Pass a Typed Reasoning Override in the Effort Spec
2026-10-31 22:54:21 +01:00
Marco Beretta
fec19ca3f4
🏷️ refactor: Paint the Provider Badge Over Media Through a Theme Role (#17681)
* test: Verify the Provider Badge Keeps Its Translucent Page Tone

* feat: Paint the Provider Badge Over Media With a Surface Media Chip Role
2026-10-31 22:48:10 +01:00
Marco Beretta
919bf99143
🖼️ refactor: Assemble the Chat Screen in @librechat/chat (#17671)
* 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
2026-10-31 22:47:57 +01:00
Marco Beretta
4840ea7323
❓ refactor: Move the Ask Question Popover Into the Chat Package (#17683)
* 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
2026-10-31 22:14:59 +01:00
Marco Beretta
9c83beea0e
📜 refactor: Move the Prompts Popover Into the Chat Package (#17670)
* 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
2026-10-31 22:14:29 +01:00
Marco Beretta
222a369c60
📼 refactor: Move the Subagent Transcript Into @librechat/chat Behind a Subagents Host (#17678)
* 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.
2026-10-31 22:11:03 +01:00
Marco Beretta
b03c9432c5
🧭 refactor: Move the Chat Surface, Task Panel and Activity Group Into @librechat/chat (#17669)
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.
2026-10-31 22:09:52 +01:00
Marco Beretta
b4eb59c96c
🪪 refactor: Move Subagent Authors Into @librechat/chat Behind a Message Icon Slot (#17635)
* 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
2026-10-31 22:09:24 +01:00
Marco Beretta
4a0150e629
🗂️ refactor: Read the Parent Subagent Index Through the Stream Host (#17633) 2026-10-31 22:08:57 +01:00
lia-by-librechat[bot]
e3e7dc6d7c
🪁 fix: Keep Manual Compaction Anchored and Visible Across Reloads (#17689)
* fix: preserve manual compaction identity and pending state

* fix: align resume restoration with shared lifecycle types

* test: narrow the optional compaction response assertion

---------

Co-authored-by: Lia <lia@librechat.ai>
2026-10-31 16:15:46 -04:00
Marco Beretta
b664c756bb
🧷 refactor: Move Subagent Dispatch and Attachment Routing Into @librechat/chat (#17632)
* refactor: Move Subagent Dispatch and Attachment Routing Into @librechat/chat

* refactor: Keep Only the Stored Attachment Query Hook in the Client
2026-10-31 16:37:32 +01:00