Commit graph

761 commits

Author SHA1 Message Date
Marco Beretta
0ebeb9499d
🗂️ feat: Add an Interface Option to Hide Chat History Icons (#18537)
* feat: Add an Interface Option to Hide Chat History Icons
* test: Cover the Chat History Icons Option in E2E Scenarios
2026-11-19 22:56:09 +01:00
Marco Beretta
ca0f8df4fe
👋 fix: Drop the Agent Icon From the Greeting Welcome Heading (#18535)
* fix: Drop the Agent Icon From the Greeting Welcome Heading
* docs: Describe the Greeting Heading Without Its Icon in the Example Config
* test: Cover the Greeting Heading Without the Agent Icon in E2E Scenarios
2026-11-19 22:55:52 +01:00
Marco Beretta
f7ae4c8e10
🌫️ fix: Keep the Question Card's Bottom Edge Free of an Inner Shadow (#18538)
* fix: Keep the Question Card's Bottom Edge Free of an Inner Shadow
* test: Assert the Question Card Leaves No Shadow Band Above the Composer
2026-11-19 22:55:48 +01:00
Danny Avila
d446a87128
⚓ fix: Keep a Reader on the Thread's End When Its Width Changes (#18540)
A panel opening beside the conversation narrows the thread, every row wraps
onto more lines, and the end moves down past a reader who was on it: they are
left some way above the newest message, with the scroll-to-bottom control
offering to take them back. The session rail, the side panel and a resized
window all do it.

The thread followed its end only while a reply streamed. It now also follows
when the width it is laid out in changes and the reader was on the end before
the change. That is read from the position recorded while the layout was last
at rest, because the scroll event the browser sends for a re-wrap arrives
before the resize observer and already measures the thread after it. A reader
further up is left to scroll anchoring.
2026-11-19 13:49:42 -05:00
Danny Avila
e478127feb
⛳ test: Verify Side-Chat Retry-Limit Recovery in a Browser (#18542) 2026-11-19 13:39:46 -05:00
Danny Avila
760745ebeb
🏮 fix: Track Discovered Side-Chat Runs Before Their Streams Open (#18539) 2026-11-19 13:37:24 -05:00
Danny Avila
837977c7dd
⏩ fix: Let a Side Chat Steer and Queue Before Its Reply's First Frame (#18532) 2026-11-19 13:32:01 -05:00
Danny Avila
012cc1c200
🛤️ feat: Session Rail for Subagents and Background Tasks (#18504)
* 🛤️ feat: Session Rail for Subagents and Background Tasks

A column beside the conversation, opened from the chat header, that lists what
the conversation has running: its subagents, then its background tools. It
replaces the header popover, whose control only appeared once there was
something to list. The control is now always offered, and the rail keeps its
own column past the side panel, so a subagent opened from it stays in view of
the list. A running subagent's row says what the child is on now, read from
the thread the page already follows for the card.

interface.sessionRail (default true) turns it off and restores the popover.

* 🪤 fix: Hold Focus in the Session Rail's Small-Screen Sheet

The sheet covers the conversation, so it now traps Tab and answers Escape
through the shared focus trap the other sheets use, and says it is modal.
Focus still starts on the close button rather than on Stop all.

* 🪶 perf: Render Nothing but the Rail When the Session Rail Toggles

Opening or closing the rail changes the chat column's width once. The composer
bar kept its row's measured width in state, so it and everything under it
rendered for every frame of the composer's width change: 6 times on open and
18 on close, and the same on a sidebar toggle. It now reads only whether its
chips fit, through useElementSizeSelect, and renders when that answer changes.

The scan that titles background tool rows from the loaded messages, which runs
on each update of a streaming thread while the rail is open, now passes over
every tool call no task names before building its keys.

Adds rail.perf.spec.ts beside the sidebar's benchmark.

* 🪶 perf: Keep an Open Session Rail Still While the Thread Streams

Measured by replaying a recorded reply into long agent chats with the rail
closed and then open and listing running work.

A once-a-second clock held by the header control rebuilt every row object, so
every row rendered each second while anything ran. The clock now belongs to
the duration text: one shared timer, read only by the running rows' elapsed
times, and a row renders when what it shows changes.

A running row's title no longer sweeps. Each sweep is three compositor layers,
and every frame of the streaming thread paid for them in style, layerize and
commit: six running rows took the page from 9 layers to 33. The row keeps its
pulsing dot and its counting duration.

The rail's layout slot is memoized: its parent renders for every stream frame.

The replay benchmark gains FADE_PERF_RAIL, and rail.perf.spec.ts a test that
grows the last reply beside the rail and prints the layer count.
2026-11-19 12:59:14 -05:00
Danny Avila
5826626353
🧗 fix: Read Back a New Conversation's First Reply After the Last Stream Retry (#18531) 2026-11-19 12:57:57 -05:00
Danny Avila
3862adf023
🎢 fix: Follow Accepted Side-Chat Turns Through Stream Open Failures (#18528) 2026-11-19 12:57:23 -05:00
Danny Avila
0098e67843
🚱 fix: Count HTTP Errors as Failed Stream Connections (#18527) 2026-11-19 12:56:54 -05:00
Danny Avila
175025718a
📀 test: Read Persisted Paste History Before Reloading (#18525)
The paste preview e2e waited for a history response across a reload and read its body afterwards. A response from the outgoing document could match, and its body is gone once the page navigates. The test now reads the persisted history through the API before it reloads.
2026-11-19 12:36:54 -05:00
Danny Avila
95ccf3ea82
🧪 test: Cover a Side Chat's Dropped Stream and a Run Started in Another Tab (#18520) 2026-11-19 11:59:47 -05:00
Danny Avila
0700111d4d
🐓 fix: Resume Side-Chat Queues When the Panel Reopens (#18512) 2026-11-19 10:36:49 -05:00
Dustin Healy
9668dee1f2
📰 feat: Expose Conversation Metadata Through the Agents API (#18490)
* ✨ feat: Read Conversation Metadata Through the Agents API

* fix: Preserve Exact Conversation Tag Filters
2026-11-19 10:25:45 -05:00
Dustin Healy
a9034aa6a2
🔎 feat: Observe Server Tool Results in Chat Completions (#18450)
* 🔎 feat: Observe Server Tool Results in Chat Completions

* 🐛 fix: Finalize Observed Tools After Model Acceptance
2026-11-19 10:10:02 -05:00
Danny Avila
d7eea8086f
🕰️ fix: Send a Side Chat's Turns as Temporary Only When Its Own Conversation Is (#18455)
* 🕰️ fix: Send a Side Chat's Turns as Temporary Only When Its Own Conversation Is

* 🧹 chore: Sort the Turn Services' Imports
2026-11-19 09:40:11 -05:00
Danny Avila
e858e1f528
🕹️ feat: Queue, Steer, and Interrupt Side-Chat Replies (#18491)
* 🧭 feat: Queue and Steer a Reply From a Side Chat

* 🅿️ fix: Restore Parked Steers When a Side Chat Opens on a Finished Run
2026-11-19 09:15:27 -05:00
Danny Avila
0c540688ef
⛽ feat: Show Live Usage in the Side-Chat Context Gauge (#18488)
* 📈 fix: Keep the Context Gauge Counting While a Reply Streams

* 📊 feat: Feed a Side Chat's Usage to Its Composer's Gauge

* 📉 fix: Drop a Failed Side Chat Reply's Counted Usage
2026-11-19 08:59:07 -05:00
Danny Avila
b870403971
📓 test: Verify Side-Chat Drafts Survive Running Replies (#18485)
* ✍️ fix: Keep an Unsent Draft in the Composer When a Run It Did Not Send Starts

* 🧪 test: Cover a Side Chat's Draft Across a Running Reply
2026-11-19 08:44:45 -05:00
Danny Avila
1ce7ca365b
🎹 feat: Reuse Main Chat's Composer in Side Chats (#18469) 2026-11-19 08:29:25 -05:00
Danny Avila
cd1188e174
🔈 fix: Announce Side-Chat Replies to Screen Readers (#18467) 2026-11-19 08:13:08 -05:00
Danny Avila
8e1ec2c650
🧐 fix: Mark Side-Chat Replies as Read (#18466) 2026-11-19 07:59:46 -05:00
Danny Avila
46ba466759
🧍 fix: Prevent Duplicate Side-Chat Messages While Streaming (#18454) 2026-11-19 07:27:07 -05:00
Dustin Healy
459a8aa1ad
👯 fix: Preserve MCP Connect Results Across Replicas (#17571)
* fix: Separate MCP Operation Outcomes From Replica Observations

* fix: Preserve Existing MCP Connection Controls

* fix: Omit Unobserved MCP Status Labels

* fix: Preserve Neutral Dots in the MCP Catalog

* fix: Use Default Subtitle for Unobserved MCP Catalog Cards
2026-11-18 22:42:42 -08:00
Dustin Healy
584102d9b1
fix: Preserve Loading Side Chat Drafts (#18484)
Some checks are pending
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
Frontend Unit Tests / frontend (push) Blocked by required conditions
Sync Locize Translations & Create Translation PR / Sync Translation Keys with Locize (push) Waiting to run
Sync Locize Translations & Create Translation PR / Create Translation PR on Version Published (push) Blocked by required conditions
Playwright E2E Tests / Codegraph select (push) Waiting to run
Playwright E2E Tests / Shard timings (push) Waiting to run
Playwright E2E Tests / e2e () (push) Blocked by required conditions
Playwright E2E Tests / MCP list_changed (replica count 1) (push) Blocked by required conditions
Playwright E2E Tests / MCP list_changed (replica count 2) (push) Blocked by required conditions
Playwright E2E Tests / MCP Apps (browser and server) (push) Waiting to run
Playwright E2E Tests / e2e (push) Blocked by required conditions
Playwright Shard Timings / Record shard timings (push) Waiting to run
Repository Safety / Confine repository symlinks (push) Waiting to run
2026-11-18 19:16:24 -08:00
Dustin Healy
7d806f4dbb
✨ feat: Support Model Spec Handoff Targets (#18089)
* ✨ feat: Support Model Spec Handoff Targets

* fix: Preserve Effective Config and Transcript Identity for Preset Handoffs

* test: Provide Query Client for Search Transcript Handoff Fixture

* fix: Match the Subagent Icon Display Contract
2026-11-18 18:16:37 -08:00
Dustin Healy
32aedaad70
fix: Wait for Side Chat Target Readiness (#18480) 2026-11-18 18:16:37 -08:00
Dustin Healy
2d7df69368
fix: Observe MCP Tools in the Visible Agent Builder (#17534)
Some checks are pending
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
Frontend Unit Tests / frontend (push) Blocked by required conditions
Sync Locize Translations & Create Translation PR / Sync Translation Keys with Locize (push) Waiting to run
Sync Locize Translations & Create Translation PR / Create Translation PR on Version Published (push) Blocked by required conditions
Playwright E2E Tests / Codegraph select (push) Waiting to run
Playwright E2E Tests / Shard timings (push) Waiting to run
Playwright E2E Tests / e2e () (push) Blocked by required conditions
Playwright E2E Tests / MCP list_changed (replica count 1) (push) Blocked by required conditions
Playwright E2E Tests / MCP list_changed (replica count 2) (push) Blocked by required conditions
Playwright E2E Tests / MCP Apps (browser and server) (push) Waiting to run
Playwright E2E Tests / e2e (push) Blocked by required conditions
Playwright Shard Timings / Record shard timings (push) Waiting to run
Repository Safety / Confine repository symlinks (push) Waiting to run
2026-11-18 13:07:29 -08:00
Danny Avila
ba44abd947
🪟 feat: Open a Conversation Beside the Chat From Its Menu (#18440)
* 🪟 feat: Open a Conversation Beside the Chat From Its Menu

A conversation's menu in the sidebar offers to open it as a side chat
beside the chat on screen. The item appears only where there is a chat
to sit beside and side chats are on, and not for the chat on screen or
an archived one. The conversation's full record is read first, since a
side chat builds its turns from it.

* 🪟 fix: Give a Side Chat the Panel Slot It Was Asked For, Beside the Chat It Was Asked Beside

A side chat opened while an artifact or a child's activity is showing
now takes their place, as each of them takes its. A record lookup that
finishes after the reader has moved to another chat, or to the very
conversation asked for, opens nothing.

* 🪟 fix: Let the Newest Side Chat Request Win, and Test the Real Menu

An older Open beside chat whose record arrives late no longer replaces
the reader's newer choice, or a side chat opened another way meanwhile.
The item's tests now drive the production menu, hooks and strings, and
replace only the request for the conversation's record.

* 🪟 fix: Withdraw a Pending Side Chat for a Newer Panel, and Open It Clear of the Drawer

A side chat still being fetched no longer arrives over an artifact or a
child's activity opened after it was asked for. On a small screen the
sidebar drawer leaves first, the way it does when a conversation is
selected, so the side chat is not opened behind it. Once its
conversation is in, focus moves to its composer.

* 🪟 fix: Ask Again Whether a Side Chat Is Still Wanted Once the Drawer Has Left

The drawer takes a few frames to leave, and the checks that a side chat
was still the reader's newest ask ran before that. The request now
stays theirs until the side chat is written, and is asked about again
at that point.

* 🧪 test: Answer the Real Config Query in the Presentation's Side Chat Tests
2026-11-18 14:09:11 -05:00
Danny Avila
004b763bb0
🧪 test: Cover a Pause Answered Inside a Side Chat (#18429) 2026-11-18 12:14:20 -05:00
Danny Avila
0bc53a83e0
🪟 feat: Continue a Subagent's Thread as a Chat Beside the Conversation (#18417)
* 🪟 feat: Continue a Subagent's Thread as a Chat Beside the Conversation

* 🪟 fix: Take a Side Chat's Streamed Attachments Where Main Chat's Go

What a tool hands back while a side chat's generation runs (search
sources, a generated file) reached no handler, so it was missing from
the rows and from the app's file, memory and preview caches. The side
chat's stream now uses the app's attachment handler.
2026-11-18 11:58:23 -05:00
Danny Avila
e50a30653c
🥤 feat: Let Remote SDK Agents Read Native Chat Attachments (#18419)
* feat: bind native chat attachments to remote SDK file reads

* fix: preserve SDK file settlement and stable storage identity
2026-11-18 11:49:24 -05:00
Danny Avila
cfe97ec556
📜 fix: Read a Child Thread's Messages a Page at a Time (#18424)
* 📜 fix: Read a Child Thread's Messages a Page at a Time

The child messages route read a thread's whole stored history, and a
card previewing a running child triggers that read without anyone
asking. Every read is now one page (50 rows or 2 MiB, newest first)
with a cursor for the page before it, the followed pane keeps the pages
it has read and offers the earlier ones, and a client or server that
predates paging still gets a list.

* 📜 fix: Start a New Follower From Its Own Newest Page

A follower recreated over rows another one left in the cache kept them
without knowing where they began, so the earlier-messages control was
gone. It now places its first page itself and takes that page's
cursor.
2026-11-18 11:07:57 -05:00
Danny Avila
b2244f7b53
🪟 feat: Show a Running Subagent's Current Row on Its Card (#18279)
Some checks are pending
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
Frontend Unit Tests / frontend (push) Blocked by required conditions
Sync Locize Translations & Create Translation PR / Sync Translation Keys with Locize (push) Waiting to run
Sync Locize Translations & Create Translation PR / Create Translation PR on Version Published (push) Blocked by required conditions
Playwright E2E Tests / Codegraph select (push) Waiting to run
Playwright E2E Tests / Shard timings (push) Waiting to run
Playwright E2E Tests / e2e () (push) Blocked by required conditions
Playwright E2E Tests / MCP list_changed (replica count 1) (push) Blocked by required conditions
Playwright E2E Tests / MCP list_changed (replica count 2) (push) Blocked by required conditions
Playwright E2E Tests / MCP Apps (browser and server) (push) Waiting to run
Playwright E2E Tests / e2e (push) Blocked by required conditions
Playwright Shard Timings / Record shard timings (push) Waiting to run
Repository Safety / Confine repository symlinks (push) Waiting to run
* 🪟 feat: Show a Running Subagent's Current Row on Its Card

* 🪟 fix: Draw the Card's Row Live and Skip Label Reservations That Draw Nothing

* 🪟 fix: Show a Card's Row Only While Its Thread Is Followed, and Throttle a Detached Row Too

* 🪟 chore: Sort the Card Spec's Imports

* 🪟 fix: Draw the Card's Row as a Picture That Registers, Claims and Reveals Nothing

* 🪟 test: Give the Artifact Preview Test the Props Its Type Requires

* 🪟 refactor: Keep the Shared Follower Registry in Provider-Scoped Jotai Atoms

* 👀 fix: Look Again for a Run the Caller Knows Of Before Taking It to Have No Stream
2026-11-18 08:46:28 -05:00
Danny Avila
90304e34b9
🎦 feat: Open Background Subagent Conversations in the Panel (#18197)
* 🧵 feat: Open a Background Subagent's Thread as a Conversation in the Panel

* 🧵 test: Keep the Subagents Host Spec and Add the Follow Cases Beside It

* 🧵 fix: Give the Followed Thread Its Panel Gutter and Assert It in the Browser Specs

* 🧵 test: Do Not Wait on a History Fold That Closed Before It Was Clicked

* 🧵 test: Draw a Steer the Child Took Before the Panel Opened Where It Was Taken

* 🧵 fix: Fall Back to the Durable View Only on a Confirmed Missing Stream or History

* ↩️ feat: Show Guidance a Followed Subagent Has Not Taken Yet, With Its Withdraw
2026-11-17 12:57:16 -05:00
Marco Beretta
8bfcd045c8
🧹 fix: Remove Obsolete Settings and Clarify Speech Presets (#18254)
* fix: Remove Obsolete Settings and Clarify Speech Preset

* fix: Keep Speech Preferences in the Settings Host

* test: Scope Settings Navigation to the Active View

* test: Configure External Speech for Playback Focus Checks
2026-11-17 18:17:21 +01:00
Marco Beretta
b075605e98
💧 feat: Add Gemini Hydrogen Support (#18159)
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
Frontend Unit Tests / frontend (push) Blocked by required conditions
Playwright E2E Tests / Codegraph select (push) Waiting to run
Playwright E2E Tests / Shard timings (push) Waiting to run
Playwright E2E Tests / e2e () (push) Blocked by required conditions
Playwright E2E Tests / MCP list_changed (replica count 1) (push) Blocked by required conditions
Playwright E2E Tests / MCP list_changed (replica count 2) (push) Blocked by required conditions
Playwright E2E Tests / MCP Apps (browser and server) (push) Waiting to run
Playwright E2E Tests / e2e (push) Blocked by required conditions
Playwright Shard Timings / Record shard timings (push) Waiting to run
* feat: Add Gemini Hydrogen Model Support

* fix: Restore Google History For Reachable Agents

* fix: Preserve Mixed Google Signature History

* refactor: Inject Google billing configuration at application boundary

* fix: Preserve Call Signatures From Unsupported Google Output

* chore: Use Released Agents SDK 4.2.5

---------

Co-authored-by: Lia <lia@librechat.ai>
2026-11-16 10:26:55 -05:00
Danny Avila
b3a2ba96a9
🪟 perf: Skip Thread Rows Far From the Viewport (#18201)
* 🪟 perf: Skip Thread Rows Far From the Viewport

Opening or closing the sidebar beside a long thread laid out and painted
every row of it on every frame of the 300 ms slide, because the slide
changes the chat pane's width. In a 246-row thread that was 17 ms of main
thread per frame, 55 ms on a CPU four times slower, where the slide ran at
about a dozen frames a second with tasks over 100 ms.

A row more than a screen from the thread's viewport is now skipped by the
browser (`content-visibility: auto`), so a change that touches the whole
thread costs only the rows near the reader. Rows within a screen are left
exactly as they were: none of them gains the clipping and containment that
skipping implies. A skipped row keeps the size it was last laid out at, so
the scrollbar, the navigation rail and the mount anchor see the same
thread, and it stays reachable by find-in-page, focus and anchors.

The skip sits on the row element the rail and the mount anchor measure:
reading the box of an element inside a skipped row makes the browser lay
that row out again. Screenshot export lays every row out before it clones
the thread, since a clone has no remembered size.

The navigation rail measured every row on each frame of a width change.
It now waits for the width to hold still and measures once; a height
change, which is what a streaming reply is, is still followed frame by
frame. Alone that saved nothing, because its reads forced a layout the
frame needed anyway; with rows skipped it is a fifth of what remains.

* 🧮 fix: Keep Rows Laid Out Until Every Overlapping Capture Is Done

`revealOffscreenRows` handed each caller the thread's `watch` function as
its resume. Two captures that overlap (a second screenshot export started
before the first finished) each got one: the first to finish resumed
skipping while the second was still cloning the thread, and the second
then created another observer without disconnecting the first, which no
cleanup released. A resume called after the thread had unmounted created
an observer for a thread that was gone.

Each thread now counts its outstanding reveals. Skipping resumes when the
last one is done, a resume counts once however often it is called, and
does nothing once the thread has unmounted.
2026-11-16 08:47:14 -05:00
Marco Beretta
a375a9b6e3
💰 feat: Configure Native Google Token Rates (#18149)
* feat: Configure Native Google Token Rates

* fix: Preserve Numeric Token Rate Maps

* test: Verify Persisted Google Billing Charges
2026-11-16 08:38:01 -05:00
Marco Beretta
2cdbb59160
🌊 refactor: Share Canonical Chat Streaming Effects (#18203)
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
Frontend Unit Tests / frontend (push) Blocked by required conditions
Playwright E2E Tests / Codegraph select (push) Waiting to run
Playwright E2E Tests / Shard timings (push) Waiting to run
Playwright E2E Tests / e2e () (push) Blocked by required conditions
Playwright E2E Tests / MCP list_changed (replica count 1) (push) Blocked by required conditions
Playwright E2E Tests / MCP list_changed (replica count 2) (push) Blocked by required conditions
Playwright E2E Tests / MCP Apps (browser and server) (push) Waiting to run
Playwright E2E Tests / e2e (push) Blocked by required conditions
Playwright Shard Timings / Record shard timings (push) Waiting to run
Move the existing streaming fade engine into @librechat/chat and its waiting-dot, cursor and fade styles into the shared client stylesheet.

Use the effective host smoothing policy consistently in Markdown, including nested subagent content, while preserving optional renderer callbacks and raw fallback behavior.
2026-11-16 06:18:42 +01:00
Marco Beretta
2d2eced9b7
🧰 refactor: Extract Tool Group Body Presentation (#18186)
Move grouped tool rows and compact reasoning into the props-only ToolGroupBody component in @librechat/chat, retaining app-owned expansion, approval lifetime and attachment behavior.

Select mock model options by exact descendant text so mobile Pin controls do not change the match.

Related to berry-13/LibreChat#463.
2026-11-15 20:09:25 +01:00
Danny Avila
b4d984a69e
🎯 test: Read the Subagent Card's Focus Outline Once It Settles (#18191)
The keyboard-focus scenario rejected a transparent outline with
`/,\s*0\)$/`, which also matches opaque black, `rgb(0, 0, 0)`: the
default light theme's focus outline. It passed only because the card
eases its colors, so the outline read straight after Tab was still on its
way from the text color (`rgb(33, 33, 33)`) to black. On a slower runner
the transition had finished and the test failed; with a 600 ms pause
before the read it fails every time.

The scenario now waits for the outline to settle on the theme's
`focus-outline` color and checks transparency with a pattern that needs a
four-part `rgba()`. The focus-ring scenario picked its opaque shadow layer
with the same loose pattern and would have skipped a black ring; both use
one helper now.
2026-11-15 09:39:59 -05:00
Marco Beretta
28f26cd7fd
🔊 refactor: Move Browser Audio Playback Into the Chat Package (#18182)
- refactor: Move the Browser Audio Driver Into the Chat Package
- fix: Preserve Browser Audio Route Cancellation
- test: Cover Browser Audio Playback in the App
- test: Use Compatible Browser Speech Utterances
- test: Scope Browser Audio Replies to Messages
- refactor: Defer Primary Browser Audio Until Route Adoption
2026-11-15 13:35:30 +01:00
Marco Beretta
dd753672f7
🧩 refactor: Move Tool Group Header Into Chat Package (#18181)
Some checks failed
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
Frontend Unit Tests / frontend (push) Blocked by required conditions
Playwright E2E Tests / Codegraph select (push) Waiting to run
Playwright E2E Tests / Shard timings (push) Waiting to run
Playwright E2E Tests / e2e () (push) Blocked by required conditions
Playwright E2E Tests / MCP list_changed (replica count 1) (push) Blocked by required conditions
Playwright E2E Tests / MCP list_changed (replica count 2) (push) Blocked by required conditions
Playwright E2E Tests / MCP Apps (browser and server) (push) Waiting to run
Playwright E2E Tests / e2e (push) Blocked by required conditions
Playwright Shard Timings / Record shard timings (push) Waiting to run
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
- refactor: Move Tool Group Header Into Chat Package
2026-11-15 04:12:04 +01:00
Marco Beretta
7531a8b2ab
🧩 refactor: Move Subagent Call Into @librechat/chat (#18177)
- refactor: Preserve Activity Card Styling in Shared Primitives
- refactor: Move Subagent Call Into the Chat Package
- refactor: Drop Unused Subagent Card Re-exports
- test: Cover Subagent Card Running State, Focus and Reduced Motion
- a11y: Stop the Subagent Glyph Pulse Under Reduced Motion
2026-11-15 02:18:46 +01:00
Marco Beretta
11fdcf4f43
🧩 refactor: Move Phase Label Ticker Into Chat Package (#18179)
- refactor: Move Phase Label Ticker Into Chat Package
- test: Give Phase Entrance Scenarios Unique IDs
2026-11-15 02:15:39 +01:00
Marco Beretta
6cacfb0007
🖼️ feat: Let a Theme Ask for a Welcome Backdrop (#18125)
Some checks failed
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
Frontend Unit Tests / frontend (push) Blocked by required conditions
Sync Locize Translations & Create Translation PR / Sync Translation Keys with Locize (push) Waiting to run
Sync Locize Translations & Create Translation PR / Create Translation PR on Version Published (push) Blocked by required conditions
Playwright E2E Tests / Codegraph select (push) Waiting to run
Playwright E2E Tests / Shard timings (push) Waiting to run
Playwright E2E Tests / e2e () (push) Blocked by required conditions
Playwright E2E Tests / MCP list_changed (replica count 1) (push) Blocked by required conditions
Playwright E2E Tests / MCP list_changed (replica count 2) (push) Blocked by required conditions
Playwright E2E Tests / MCP Apps (browser and server) (push) Waiting to run
Playwright E2E Tests / e2e (push) Blocked by required conditions
Playwright Shard Timings / Record shard timings (push) Waiting to run
Sync README Translations / Test Translation Helpers (push) Has been cancelled
Sync README Translations / Translate README (push) Has been cancelled
Add theme-selected welcome backdrops and focus the composer when the welcome greeting settles. Preserve popup and touch-device focus behavior, with acceptance coverage for themes, focus, and composer layout.
2026-11-14 22:59:26 +01:00
Marco Beretta
d603bfff0f
💭 refactor: Move the Reasoning, Thinking and Web Search Parts Into @librechat/chat (#18147)
- refactor: Move Reasoning Parts into the Chat Package
- fix: Lay Out the Web Search Details Button as a Flex Item
- test: Cover Part Disclosures and the Styles They Ship With
- test: Cover a Consumer Opening a Thought With the Package Styles
- fix: Size the Web Search Row Button by Its Content
- test: Hold the Part Motion and Peek Fade to Their Old Inline Styles
2026-11-14 20:28:41 +01:00
Danny Avila
3a277a2652
🪔 feat: Recover Remote SDK Connections Without Repeating Execution (#18163)
* wip: persist remote runtime recovery frames and ownership

* feat: recover remote SDK connections without repeating execution
2026-11-14 13:49:59 -05:00