Commit graph

464 commits

Author SHA1 Message Date
Marco Beretta
1a86069e25
🧽 refactor: Drop Redundant Button Overrides in Chat Messages and Input (#16838) 2026-10-07 12:31:55 +02:00
Marco Beretta
14c43138c2
🖥️ feat: Show Lia on the Welcome Screen (#16684)
* feat: Show Lia on the Welcome Screen

Adds the opt-in Show Lia setting (off by default) and the interface.mascot deployment flag (allowed by default). Lia mounts only on the landing page, loads lazily after first paint, stands on the composer's top edge clear of the greeting, reacts to typing, files and theme changes, and speaks through localized bubbles. She is decorative and hidden from assistive technology.

* fix: Keep Lia's Long-Message Reaction Re-Armed and Pointer Reads Per Frame

Deleting a message back under 280 characters now re-arms the long-message reaction, pointer handling reads layout at most once per animation frame, and the ChatView specs stub Lia like their other children.

* test: Open Settings from the Phone Drawer in the Lia Scenarios

The opt-in scenario no longer resets the stored preference on reload, and both Settings scenarios open the account menu from the mobile drawer on phones.

* fix: Measure Lia's Caret Like the Composer and Label Her When Idle

The caret mirror copies direction, alignment, indentation, wrapping and box sizing, so right-to-left and wrapped text measure like the composer. Hovering Lia between activities now says she is hanging out instead of showing nothing.

* fix: Wave Off Assistants Sends and Keep Lia's Canvas and Bubble Off Welcome Content

* fix: Keep Lia's Speech Bubble Inside Her Stage

* fix: Wrap Long Translations in Lia's Speech Bubble

* fix: Keep Lia's Long-Message Reaction Until It Plays and Pin the Scenario Greeting

* fix: Make Only Lia's Body Clickable So She Fits Beside Long Greetings

* fix: Let Lia Stand Beside the Composer When the Greeting Fills Its Top

* feat: Let Users Drag Lia Around and Keep Her Near the Composer

* test: Cover Picking Lia Up and Setting Her Down on the Composer

* refactor: Keep Lia's Preference Inside Her Feature

* fix: Let Keyboard Users Pet Lia and Move Her With the Arrow Keys

* test: Shift Only the Wall Clock for Lia's Morning Greeting

* test: Measure Lia's Keyboard Walk Both Ways So the Greeting's Width Cannot Pin Her

* fix: Bring Lia Back When a New Chat Opens During Her Farewell

* fix: Start Lia's Reactions on Her Own Clock After a Pause Without Room

* fix: Load Lia Through Stale-Asset Recovery and Skip the Farewell Before She Appears

* feat: Mark the Lia Settings Toggle as Beta
2026-10-06 22:55:30 +02:00
Marco Beretta
bcebe1d96a
🔐 refactor: Give Sign-In Controls Button, Input and Alert Variants (#16828)
* refactor: Give Sign-In Controls Button, Input and Alert Variants

* fix: Load the Field Stylesheet From SecretInput

* fix: Default the Floating Fields to the Placeholder Sentinel

* test: Cover the Sign-In Control Roles in the Default Theme

* test: Wait for the Floating Label Transition Before Reading It

* test: Read the Floating Label Scale Property

* fix: Keep Button Heights on Theme Roles and Honor Reduced Motion in Floating Fields
2026-10-06 22:06:43 +02:00
Marco Beretta
32ae2fd7c4
🏷️ refactor: Mark Message Text Containers With a Data Attribute (#16826)
* refactor: Mark Message Text Containers With a Data Attribute

* test: Tag the Private Text Spec as a Scenario

* test: Cover Message Text Containers in a Mobile-Safe Scenario
2026-10-06 20:25:27 +02:00
Marco Beretta
e954242778
🧹 refactor: Clear Chat Design Suppressions That Render Nothing (#16822)
* refactor: Clear Chat Design Suppressions That Render Nothing

* test: Tag the Steer Render Spec as a Scenario
2026-10-06 20:23:17 +02:00
Marco Beretta
e0344846f9
🌫️ fix: Dim a Disabled InputNumber Through Its Nested Input (#16820)
* fix: Dim a Disabled InputNumber Through Its Nested Input

* test: Cover the Disabled InputNumber Wrapper in the Browser

* test: Tag the InputNumber Scenarios Literally
2026-10-06 20:22:50 +02:00
Marco Beretta
8acc19f98f
📏 fix: Make DataTable Row Estimates Breakpoint- and Leaf-Column-Aware (#16817)
* fix: Make DataTable Row Estimates Breakpoint- and Leaf-Column-Aware

* test: Cover the Compact Row Estimate Against the Rendered Cell

* test: Tag the Row Estimate Scenarios Literally
2026-10-06 20:22:32 +02:00
lia-by-librechat[bot]
abeb255a96
⏹️ fix: Reconcile Stopped Generations Before Detaching the Stream (#16788)
* fix: Reconcile stopped generations before detaching the stream

* test: Cover immediate Stop and delayed terminal reconciliation

* test: Accept both terminal outcomes of an immediate Stop

---------

Co-authored-by: Lia <lia@librechat.ai>
2026-10-06 07:40:59 -04:00
Marco Beretta
cd5dd94dec
📝 feat: Visible Prose Markers and Composer Shape Roles for ClickHouse (#16736) 2026-10-06 13:06:19 +02:00
Marco Beretta
2189d909b5
🪶 feat: Quiet Prompt Editor Boxes, Table Columns and Destructive Buttons (#16751)
* feat: Quiet Prompt Editor Boxes, Table Columns and Destructive Buttons for a Theme

* fix: Outrank the Cell Border Color With the Column Rule Share

* fix: Keep the First Table Cell's Outer Edge Under the Inset Share

* fix: Keep the Batched Edit Divider on the Light Border

* fix: Keep Web Search Source Row Separators on the Light Border

* fix: Quiet the Result Switcher Divider and Keep the RTL Table Edge

* fix: Resolve Table Edges by Cell Direction and Keep the Variables Card Opaque in Details

* fix: Draw Table Frame Edges in Logical Terms So Direction Needs No Selector

* fix: Keep Soft Destructive Hover and Pressed Tints Above 4.5:1
2026-10-06 10:00:02 +02:00
Marco Beretta
7faba8b03e
🎛️ fix: Smooth, Compact Code Workspace, Checkout and Approval Selectors (#16789) 2026-10-06 09:59:02 +02:00
Marco Beretta
88eae294f3
🔇 feat: Let a Theme Quiet Decorative Borders (#16741)
* feat: Let a Theme Quiet Decorative Borders

* test: Cover the Chrome and Inset Border Roles in the Mock Harness

* fix: Draw the Selected Category Tab Edge at the Chrome Share

* fix: Route Chips, Subtle Icon Buttons and Hover Rings Through the Chrome Share

* fix: Draw the Remaining Inner Card Dividers at the Inset Share
2026-10-05 22:00:53 +02:00
Marco Beretta
2b25f69ea0
♿ a11y: Ring Content Rows in a Themeable Focus Role (#16740)
* feat: Add a Focus Role for Rows Inside Content

* test: Cover the Subtle Focus Role in the Mock Harness

* test: Probe the Subtle Focus Role Through Its Theme Variable

* test: Focus the Probe to Read the Subtle Focus Utility

* test: Read the Subtle Focus Ring From Its Utility Property

* fix: Ring the Subagent Progress Disclosure in the Subtle Focus Role
2026-10-05 22:00:27 +02:00
Marco Beretta
cac13c42e7
🧷 fix: Finalize Stopped Compactions and Verify Their Anchor (#16551)
* 📴 fix: Finalize Compaction Snapshots and Move Abort Policy Into packages/api

* 🔕 fix: Inspect Every Part When Finalizing and Reuse the Loaded Row

* 📴 fix: Settle Finalized Compaction Rows and Verify Their Anchor

* 📴 fix: Withhold the Unanchored Abort Final and Settle Marked Snapshots

* 📴 fix: Consolidate the Compaction Abort Policy Into One Injected Operation

* 📴 fix: Settle the Live Compaction Row Past an Anchor-Shaped Collision

* 📴 fix: Lift the Failed-Turn Settlement Into the Compaction Module

* 📴 fix: Keep a Removed Round's Failure and Guard Settled Jobs From Snapshots

* ⚡ perf: Read Only the Anchor Id in the Abort Existence Check

* 📴 fix: Withhold the Abort Final Only When a Row Needed Writing

* test: Cover Stopped Compaction Finalization and the Missing Anchor in E2E

* fix: Withhold a Stopped Compaction That Carries No Anchor Id

* fix: Settle Stopped Compactions, Announce Finalized Rows, and Own the Abort Read in packages/api

* test: Accept the Model Spec Query on the Stopped Reply Conversation URL

* fix: Report the Anchor Read Failure Beside a Withheld Compaction Abort

* fix: Synthesize a Compaction Failure Only for a Round After the Latest Outcome

* fix: Skip the Anchor Read When a Stopped Turn Writes No Row

* fix: Decide the Disconnect Snapshot Gate in packages/api

The last-subscriber partial save now asks resolveDisconnectSnapshotMode for
the settled-job decision instead of branching on the job record in the CJS
controller.

* fix: Leave an Already Settled Compaction Row to the Path That Settled It
2026-10-05 21:38:22 +02:00
Marco Beretta
edc96d549e
📴 fix: Persist Cancelled Compactions With Their Identity (#16436)
* 📴 fix: Persist Cancelled Compactions With Their Identity

* 🧪 test: Build the Cancelled-Compaction Leaf on a Real Conversation

* 🧪 test: Assert the Withheld Controls on the Live Cancelled Compaction

* 📴 fix: Keep Live Disconnect Compaction Rows Free of a Synthesized Failure

* 🧪 test: Cover the Compaction Flag in the Redis Job Round Trip

* 📴 fix: Keep a Stopped Compaction Honest and Its Anchor Untouched
2026-10-05 21:38:04 +02:00
Marco Beretta
b56de235f9
⚙️ feat: Move Chat Actions Into a Header Options Menu (#16775)
* feat: Move Chat Actions Into a Header Options Menu

The header's export/share button becomes a chat options menu with Share, Export, Rename, Pin, Change project, Remove from project, Duplicate, Archive and Delete for the open chat. The sidebar row menu keeps Pin, Mark unread, Rename, Archive and Delete.

* fix: Address Review Findings on the Header Chat Options Menu

Limit read-only subagent threads to share and export, apply the sidebar's rename gate for running chats, let an unchanged title claim ownership, keep later navigation after a late archive, hide history-only actions for temporary chats, expose dialog semantics on the dialog items, and fix import sorting.

* fix: Scope Header Chat Option Dialogs to the Conversation They Opened For

ChatView stays mounted across a route change, so dialog flags now carry the conversation id they were opened for and reset when the open chat or the read-only state changes.

* fix: Settle Header Delete and Rename Dialogs Against the Open Chat

Read the open route when a delete settles, give the delete dialog the id its menu item controls, return focus to the menu item when a rename saves, and only let a close clear the dialog it belongs to.

* fix: Ignore a Late Rename Result After the Dialog Is Gone

A rename that settles after its dialog unmounted no longer closes the parent state or moves focus to the reused menu item.

* fix: Dismiss Header Chat Options When the Route Leaves Their Chat

The route moves before the chat state does and the menu and dialogs are portaled outside the hidden pane, so they are now dismissed on a route change and gated on it. A delete that settles after another chat opened no longer closes that chat's menu, and the options read the freshest cached copy of the chat instead of an older point entry.
2026-10-05 21:36:30 +02:00
Marco Beretta
05e23c8a63
🧱 feat: Layered Surface Roles for the ClickHouse Theme (#16737)
* feat: Layered Surface Roles for the ClickHouse Theme

Adds purpose-named roles for the chat canvas, user message, cards, sidebar rows, settings tabs, menu panels, composer and search pill. Each follows the surface it painted before, so the default theme is unchanged; ClickHouse steps them apart with Click UI tokens.

* fix: Align Sticky Phase Headers, Boot Routes, and Row Fades With the Layer Roles

* fix: Cover Trailing Slash and Bare Dashboard Paths in the Boot Canvas Route

* fix: Match Boot Canvas Routes Case-Insensitively

* test: Expect the User Message Role on Other-Author Turns

* test: Expect the User Message Role on the Subagent Briefing
2026-10-05 21:22:36 +02:00
Marco Beretta
27a6dc041d
🪟 feat: Overlay Theme Roles for Tooltips, Error Alerts and Artifact Previews (#16739)
* feat: Tooltip, error alert and artifact preview theme roles

* test: Cover the Tooltip Theme Roles in the Mock Harness

* fix: Lighten the Dark Document Tile and Leave the Preview Color Scheme Alone

* fix: Let the Artifact Preview Frame Follow the System Scheme and Ink Autofill in the Field Text
2026-10-05 17:15:13 +02:00
Marco Beretta
c6e5f98552
⚙️ fix: Default Running Chat Rename to On (#16769)
interface.runningChatRename now defaults to true, so a running chat or a placeholder-title chat can be renamed without a librechat.yaml override. Set it to false during a rolling upgrade from a version without title ownership.
2026-10-05 06:47:22 -04:00
lia-by-librechat[bot]
d55dbc3bd8
🔱 feat: Simplify Steering Controls to Three Modes (#16759)
* 🔱 feat: Simplify Steering Controls to Three Modes

* Preserve Admitted Artifacts During Interrupts

* Preserve Result Admission Across Interrupts

* Gate Interrupt for Provider-Hosted Tools

* Match Interrupt Hints to Availability

---------

Co-authored-by: Lia <lia@librechat.ai>
2026-10-05 06:46:59 -04:00
lia-by-librechat[bot]
a4f6763b07
👯 fix: Separate Subagents and Handoffs Into Native Tools (#16761)
Some checks are pending
Backend Unit Tests / Build packages (push) Waiting to run
Backend Unit Tests / Codegraph select (push) Waiting to run
Backend Unit Tests / TypeScript type checks (push) Blocked by required conditions
Backend Unit Tests / Circular dependency checks (push) Waiting to run
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 Votes / vote (full suite) (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/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) Waiting to run
Sync Locize Translations & Create Translation PR / Create Translation PR on Version Published (push) Blocked by required conditions
* fix: separate subagents and handoffs into native tools

* test: reselect the saved agent after browser reload

---------

Co-authored-by: Lia <lia@librechat.ai>
2026-10-04 22:55:13 -04:00
lia-by-librechat[bot]
50dbc0dbb8
🛝 test: Stabilize MCP App Link Clicks (#16760)
Co-authored-by: Lia <lia@librechat.ai>
2026-10-04 22:27:52 -04:00
Atef Bellaaj
3c90cde7d8
🔗 feat: use LibreChat prompt groups as agent instructions (#16686)
* 🔗 feat(agents): use LibreChat prompt groups as agent instructions

Agents can link a prompt group revision or Production as their instructions. The link resolves at the start of each turn through a cached resolver. The cache clears on promote and delete. Editors without VIEW on the group see a restricted placeholder.

* fix: remove duplicate logger import from agent initialization tests

* fix: honor prompt management capabilities for linked agent instructions

* test: seed prompt manager capabilities in authorization fixtures

* fix: clear acknowledged linked prompt edits before version restore

* test: adapt merged chain coverage to prompt-aware payload helper

---------

Co-authored-by: Lia <lia@librechat.ai>
2026-10-04 21:27:26 -04:00
Marco Beretta
4e55d64ceb
🗂️ fix: Keep Project Chats Out of Chats by Default and Space Project Rows (#16755)
* fix: Keep Project Chats Out of Chats by Default and Space Project Rows

* test: Update Chat Filter Menu Scenario for Project Chats Off by Default
2026-10-05 00:54:09 +02:00
lia-by-librechat[bot]
af35fe5439
🪚 chore: Deprecate Agent Chain Authoring (#16745)
* feat: consolidate orchestration into a native tool

* test: complete persisted subagent graph fixture

* fix: keep orchestration pickers inside the modal focus scope

* chore: deprecate agent chain authoring

* fix: preserve runtime-equivalent legacy handoff classification

* test: stabilize orchestration dialog lifecycle coverage

* test: wait for stream completion before final title polling

---------

Co-authored-by: Lia <lia@librechat.ai>
2026-10-04 17:36:13 -04:00
Marco Beretta
7e575c047f
🔍 feat: App-Wide UI Scale Setting (#14903)
* feat: add app-wide UI scale setting

* test: align dev's new header, drawer and combobox specs with the scaled shell

* fix: keep design-recorded arbitrary values off the same-count swap

* fix: scale composer and reasoning spacing on the spacing scale

* test: reach scaled rows and wait on the composer under the unpainted drawer

* test: cover the scaled composer at both ends of the range

* test: reload the composer scenario at each scale from the live page

* fix: leave the root style untouched at the default scale

* test: align dev's tool output and subagent inset specs with the rem classes

* fix: scale a caller's combobox height cap with its rows

* fix: size the conversation list's row estimate on the scaled drawer breakpoint

* test: align dev's conversation row status spec with the scaled drawer breakpoint

* style: sort the settings dialog imports after the dialog layer merge

* fix: scale the collapsed combobox's fallback popover width

* fix: size the upload glyph on both axes so it grows with the scale
2026-10-04 23:20:04 +02:00
Marco Beretta
9ff53ba5b5
⚡ perf: Cache Package Builds and Make Client Coverage Opt-In (#16709)
* perf: Cache package builds and make client coverage opt-in

* perf: Add a cached turbo test:ci task and a parallel test:turbo script

* perf: Hash default turbo inputs and live-test env for cached tasks

* perf: Hash live-test credentials in the turbo test cache key

* perf: Hash the ignored backend test env file in the turbo test cache key

* perf: Order test tasks after consumed builds and hash cross-workspace test imports

* test: Cover the cached test runner's keys, build order and client coverage toggle

* perf: Hash the root env file the live responses suite loads

* perf: Stop caching test results and hash the client package's baked env

* fix: Pass every caller variable to test runs and include the shared client suite
2026-10-04 15:53:29 -04:00
Marco Beretta
8ae65f28dd
⚡ perf: Async Local File Saves and Compile Hot-Path Regexes Once (#16712)
* perf: Async Local File Saves and Compile Hot-Path Regexes Once

* perf: Check Closing Code Fences Without a Per-Length Regex Cache

* test: Build the Delivery Route Config Before Routing Instead of Mutating It

mergeFileConfig now memoizes by config identity, so the CSV fallback tests
must set textFallbackWithoutTools when they build the request config rather
than mutate the object after the agent's routing already merged it.

* fix: Write Local Buffers Atomically So Concurrent Saves Cannot Interleave

Async writeFile calls to one deterministic path (OpenID and SAML avatars)
could truncate and interleave each other. Write through a temp file and a
rename instead, and add scenario specs for local saves and longer closing
fences.

* refactor: Move Local Save Logic Into packages/api

saveLocalBuffer, the temp-upload move and the atomic directory writes now live
in packages/api/src/storage/local.ts and receive their paths from the caller;
the Local strategy in /api keeps its logging and calls through. The traversal
check now runs before any directory is created.

* fix: Copy Moved Uploads Through a Temp File and Rename Into Place

Concurrent async copies to one destination could interleave just like direct
writes, so moveLocalFile now fills a sibling temp file and renames it.

* fix: Contain Every Local Write and Move Inside Its Target Directory

The traversal check that guarded saveLocalBuffer now runs in writeLocalFile
and moveLocalFile too, before any directory is created, and the buffer
save accepts only the images and uploads base paths.

* test: Define the Success Assertion Inside the Local File Saves Scenario

* fix: Give Atomic Write Temp Files a Fixed-Length Name So Long Targets Still Fit

* test: Send Image Dimensions and Read the Message Array in the Local Saves Scenarios
2026-10-04 15:52:55 -04:00
lia-by-librechat[bot]
0042d9a231
🪇 feat: Consolidate Orchestration Into a Native Tool (#16744)
* feat: consolidate orchestration into a native tool

* test: complete persisted subagent graph fixture

* fix: keep orchestration pickers inside the modal focus scope

* fix: preserve runtime-equivalent legacy handoff classification

* test: stabilize orchestration dialog lifecycle coverage

---------

Co-authored-by: Lia <lia@librechat.ai>
2026-10-04 15:40:54 -04:00
lia-by-librechat[bot]
0e3c9088f6
🫰 feat: Configure Tool Approval Modes Per Agent (#16707)
* 🫰 feat: Configure Tool Approval Modes Per Agent

* fix: Fence Remembered Tool Approval Authority

* fix: Unify Tool Approval Execution Invariants

* fix: Revalidate Learned Approval at MCP Invocation

* fix: Preserve One-Time MCP Review at Invocation

* fix: Execute Reviewed Calls on Templated MCP Connections

* fix: Scope Approval Witnesses to Executing Agents

* fix: Retain Approval Bindings for Hook-Rewritten Inputs

* fix: Pin Review Authority and Retire Settled Tool Calls

* fix: Fingerprint Effective MCP Request Headers

* fix: Preserve Routing Around Renewable MCP Token Fragments

* fix: Bind Tool Consent to OAuth Credential Generations

* test: Keep Mobile Approval Save Outside Drawer Escape Race

* fix: Fence OAuth Consent at MCP Transport Retries

* fix: Let Shared Agent Viewers Reset Personal Consent

* fix: Preserve Renewed Consent Across Reset Races

* fix: Resolve Verified Aliases for Personal Tool Reset

* fix: Fence Renewed OAuth Consent and Credential Review

* fix: Require Foreground Execution for Review-Only MCP Calls

* fix: Pin Invocation Ownership and Stable MCP Consent

* fix: Fence Superseded Tool Consent Completion Writes

* fix: Scope Consent Epochs to Effective MCP Authentication

* fix: Scope Approval Admission to Reachable Agent Tools

* fix: Preserve Approval Epochs for Runtime-Detected OAuth

* fix: Address Tool Approval Review Findings

* fix: Preserve Captured Consent When Tool Approval Is Inherited

* fix: Preserve Approval Admission Through Lazy Metadata

* fix: Fence Programmatic Reviews and Unresolved Lazy Approval Keys

* fix: Account for Normalized and Skill-Contributed Lazy Tools

* fix: Scope Lazy Approval to Selected Tool Spellings and Servers

* fix: Honor Disabled MCP Capability During Lazy Approval Admission

* test: Preserve Approval Merge Regressions After Rebase

* fix: Preserve One-Time Review During Non-OAuth Grant Outages

* fix: Retain One-Time Consent Across Resume Recovery

* fix: Preserve Reviewed Consent Through Transport Outages

* fix: Preserve Case-Variant Lazy Approval Hook Admission

---------

Co-authored-by: Lia <lia@librechat.ai>
2026-10-04 13:14:48 -04:00
Marco Beretta
69d88f4930
🧠 feat: Add Lia's Behavior Engine (#16683)
Some checks are pending
Backend Unit Tests / Build packages (push) Waiting to run
Backend Unit Tests / Codegraph select (push) Waiting to run
Backend Unit Tests / TypeScript type checks (push) Blocked by required conditions
Backend Unit Tests / Circular dependency checks (push) Waiting to run
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 Votes / vote (full suite) (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/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
* feat: Add Lia's Behavior Engine

A framework-free engine that plays Lia's actions step by step, moves her along a platform, and lets her choose her own activities. An attention budget keeps her quiet while the user types and saves bigger routines for when they step away. The catalog holds feelings, speech, gestures, dances, travel, small routines and page reactions.

* fix: Let a Click Wake Lia From a Nap and Run One Animation Loop

* fix: Keep Lia Stopped When Stopped Mid-Frame and Snap Walks Under Reduced Motion

* fix: Wake Lia When Typing Interrupts a Nap and Keep Her Walks on the Current Platform

* test: Drive Lia's Engine on Real Animation Frames in a Browser

* fix: Keep One Animation Loop Across a Mid-Frame Restart and Place Lia Before Her First Move

* fix: Play Every Step of an Action the Host Chains From onAction

* test: Require Lia's Reduced-Motion Chooser to Pick Something

* fix: Keep Lia Free to Act Before the First Keystroke and Skip Pointer Walks Without a Pointer

* fix: Hold Lia's Step While She Has No Layout and Replace Actions Without a Gap

* fix: Keep the Walk of an Action Started When the Previous One Ends

* fix: Wake Lia From a Nap Played Above Reaction Priority

* fix: Pause Lia's Screen and Face Clocks Along With Her Step

* fix: Stop Lia's Own Clock While She Has No Layout and Ignore Empty Obstacles
2026-10-04 15:29:00 +02:00
Danny Avila
3dd0d06796
🧗 feat: Light the Fold Path to the Hovered Activity Row (#16722)
* 🪜 feat: Light the Fold Path to the Hovered Activity Row

- Every fold that holds the hovered row lights its rail from its header down to that row; the innermost turns into the row with an elbow, so depth reads as the number of lit rails.
- One pointer listener on the outermost fold writes the path onto the rails directly (a data attribute and a length variable), coalesced to one frame: hovering repaints rails, never rows.
- Rows are found by the shared glyph slot every row line starts with, so no row component marks itself.
- The path clears over a rail (which shows its own collapse hover), on touch, on a press and when the pointer leaves.

* fix: Invalidate Fold Hover Paths and Reuse Glyph Lists

* fix: Scope Fold Paths to Agent Lanes and Register Subagent Glyphs

* fix: Re-Hit-Test Queued Fold Paths After Scroll

* fix: Clear Fold Paths After Ancestor Layout Shifts

---------

Co-authored-by: Lia <lia@librechat.ai>
2026-10-04 09:16:52 -04:00
Danny Avila
741978c954
🔭 feat: Recover Stale Chunks Without the Error Page and Ship Client Logs to RUM (#16701)
Some checks are pending
Backend Unit Tests / Build packages (push) Waiting to run
Backend Unit Tests / Codegraph select (push) Waiting to run
Backend Unit Tests / TypeScript type checks (push) Blocked by required conditions
Backend Unit Tests / Circular dependency checks (push) Waiting to run
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 Votes / vote (full suite) (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/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) Waiting to run
Sync Locize Translations & Create Translation PR / Create Translation PR on Version Published (push) Blocked by required conditions
* 🔭 feat: Recover Stale Chunks Without the Error Page and Ship Client Logs to RUM

Stale chunks: a tab left open across a deploy that opens a code-split panel
requests a hashed chunk the new deploy removed. Vite's preload handler hands
the failure to the stale-asset recovery, which reloads, but the import then
resolves to `undefined` and `React.lazy` throws a TypeError into the route
error boundary, so the error page flashes before the reload. Lazy imports now
go through `lazyWithRecovery`/`importWithRecovery`, which turn that result into
a `ChunkLoadError`; the route boundary recognizes chunk failures (and any error
while a recovery reload is underway), asks the page recovery once, and renders
a localized "Updating to the latest version…" status. When the loop guard
declines, the normal error page with its reload action shows instead. The
page recovery is now idempotent within a page, so concurrent callers join the
in-flight reload rather than tripping the guard.

Client logs: with RUM in proxy mode, the client logger's warn/error calls,
error-boundary catches and stale-asset recovery events are exported as OTLP
log records through the authenticated `/api/rum/v1/logs` proxy. Records carry
allowlisted, scrubbed fields only, follow RUM session sampling, dedupe repeats
with a count, are budgeted per minute and per page, batch with backoff, flush
with keepalive on page hide, and stop after persistent failures. The proxy
now refuses non-OTLP content types and applies a per-user rate limit.
`RUM_CLIENT_LOGS=false` turns the export off.

* 🔒 fix: Keep Client Logs Opt-In and Drop Application Error Messages

- RUM_CLIENT_LOGS now defaults to off, like console capture, so enabling
  RUM proxy mode never starts a new log stream on its own.
- Error messages are exported only for engine, browser and library
  generated types (TypeError, SyntaxError, DOMException, AxiosError,
  chunk failures); application errors keep type, status and stack only,
  since their messages can echo prompt or response text. All quoted
  fragments are now redacted.
- Batches are measured in encoded UTF-8 bytes of the exact request body,
  and page hide drains every queued record that fits the keepalive quota.
- Queued stale-asset events are delivered as soon as the log exporter
  starts, independent of the RUM SDK loading, and marked so they are
  never logged twice.

* 🔒 fix: Export Only Known Generated Error Messages and Ack Queued Events

- Error messages are exported only when the whole text matches a known
  engine, browser or library message shape (property access on
  undefined, "x is not a function", fetch/abort/axios status, chunk and
  CSS preload failures). The error class alone no longer qualifies, since
  any code can throw a TypeError carrying arbitrary text.
- Queued stale-asset events are marked logged only after the collector
  accepts the record carrying them, so an undelivered event replays on the
  next page; in-flight events are skipped by the SDK path.
- A fractional RUM_PROXY_USER_MAX below one falls back to the default
  instead of flooring to a limit of zero.

* 🔒 fix: Hold Unacknowledged Asset Events, Re-send In-Flight Logs on Hide

- The RUM SDK flush no longer drops queued stale-asset events whose client
  log record is still unacknowledged: they stay queued and persisted,
  flagged so their SDK action is not repeated, and leave the queue once
  the collector accepts the record.
- Page hide re-sends the records of an unanswered regular request with
  keepalive; each record belongs to the latest request carrying it, so a
  late response to the original request neither marks nor requeues it.
- Client-log export stops when the authenticated layout unmounts.
- The proxy refuses /v1/logs while client logs, console capture and replay
  are all off, so turning RUM_CLIENT_LOGS off also stops tabs that still
  hold an older startup config.

* 🔒 fix: Export Only Complete Stack Frames, Never the Message Header

Stack reduction now strips the V8 `name: message` header (including every
line of a multi-line message) and keeps only lines with a complete V8,
Gecko or WebKit frame shape that ends in a URL or absolute path with a
line number. A message ending in a source-position-like suffix can no
longer pass as a frame.

* fix: centralize RUM delivery and asset recovery lifecycle

* fix: preserve RUM page lifetime and collector acknowledgements

* fix: retain page transport quotas and recover functional chunks

* fix: scope RUM client sessions to authenticated identity

---------

Co-authored-by: Lia <lia@librechat.ai>
2026-10-03 23:17:56 -04:00
lia-by-librechat[bot]
19092e55bd
🖲️ fix: Enable Running Chat Menus and Preserve Renamed Titles (#16697)
Reconciles current dev while preserving manual title ownership, existing menus, and configuration regressions.

Co-authored-by: Lia <lia@librechat.ai>
2026-10-03 23:17:15 -04:00
lia-by-librechat[bot]
1f195dcf9d
📩 fix: Stage URL Prompts Before Agent Submission (#16647)
* fix: Stage URL prompts before agent submission

* test: Preserve startup cache in URL composer coverage

* fix: Preserve URL drafts and schema-normalized spec readiness

* fix: Scope URL submission lifecycle and retain spec overrides

* fix: Match retained tools and inherited project transitions

* fix: Preserve source drafts while staging URL prompts

* fix: Reconcile URL routes and persist settled prompts

* fix: Preserve existing project conversation ownership

* test: Await settled activity fold before checking its prose

* fix: Hold dictation sends during URL preparation

* fix: Hold live-run composer actions during URL preparation

* fix: Process subsequent URL prompt navigations

---------

Co-authored-by: Lia <lia@librechat.ai>
2026-10-03 19:59:13 -04:00
Marco Beretta
a588339dd7 test: Cover Queue Row Actions And The Single Send Control In Scenarios 2026-10-03 18:19:36 -04:00
Marco Beretta
35db010412 feat: Simplify Queue Row Actions And Steer Controls 2026-10-03 18:19:36 -04:00
Marco Beretta
f87fb0dbc6 refactor: Remove Visible Composer Hint Row And Tips Setting 2026-10-03 18:19:36 -04:00
Lia
37df3c1146 🥾 test: Wait for Palette Completion and Stable Quote Geometry 2026-10-03 18:12:13 -04:00
Lia
4bc9c9e5c0 fix: Preserve Unread Intent Across Mixed Backend Versions 2026-10-03 17:56:52 -04:00
Lia
d621cd8b69 fix: Preserve Legacy Unread Reminder Placement 2026-10-03 17:56:52 -04:00
Lia
e19d2dbea1 test: Include i18n Helper in Isolated Static Fixtures 2026-10-03 17:56:52 -04:00
Lia
c41413ad21 fix: Keep Manual Unread Reminders in Date Groups 2026-10-03 17:56:52 -04:00
Lia
ad99250a35 fix: Verify Sidebar Status and Project Name Loading 2026-10-03 17:56:52 -04:00
Danny Avila
10e9cb90e7 🛰️ feat: Status on the Avatar, a Finished Group, and Project Chats in the Sidebar List
- Running chats ring their avatar instead of a trailing spinner, so the row menu stays reachable mid-run.
- A reply that lands unseen lifts its chat into a Finished group under Running until it is opened; chats marked unread by hand keep their date.
- Running and Finished headings show their counts and announce them.
- Project chats now list under Chats with their folder badge; a persisted Show project chats toggle in the chat list menu restores the project-only view.
- Badges read project names from the loaded project list before fetching one by id.
- Spinner takes a strokeWidth for the thin ring.
2026-10-03 17:56:52 -04:00
Marco Beretta
f36fa7c15f
🎨 feat: Add Lia's Pixel Art Renderer (#16682)
* feat: Add Lia's Pixel Art Renderer

Lia is a small CRT monitor mascot with a face on its screen. This adds the canvas renderer: the body, feet and arm poses, body poses, 62 expressions built from eyes, mouths, brows and extras, and the built-in screens for booting, sending and crashing. Nothing renders it yet.

* test: Assert Each Built-In Lia Screen Draws Its Own Picture

* test: Include the Cached Face Image in Lia's Drawing Signatures

* fix: Clip Lia's Glitch Strips to Her Screen and End the Hide Pose Fully Hidden

* test: Check Lia's Pixel Art in a Real Browser Canvas

* test: Share the Page That Serves Lia's Engine to Browser Specs

* test: Bound-Check Where Lia's Images Land, Not Just Her Rectangles

* test: Check Lia's Face Bounds for Every Gaze Direction

* fix: Drop Lia's Sunglasses In From the Top Row of Her Screen

* test: Check Where Lia's Glitch Strips Are Copied From, Not Only Where They Land
2026-10-03 23:29:51 +02:00
Marco Beretta
fc89ba168e
🧺 perf: Batch Prompt Group Permission Checks in the Sidebar (#16710)
* perf: Batch Prompt Group Permissions in the Sidebar

* perf: Skip the Prompt Permission Batch When the List Is Empty

Add scenario coverage for batched prompt row permissions.

* test: Retry Opening Prompt Row Menus Until Their Items Render
2026-10-03 23:27:01 +02:00
Marco Beretta
46d73974b8
🔍 fix: Warn When interface.webSearch Blocks Native Search (#16708)
* fix: Warn When interface.webSearch Blocks Native Search in Model Specs

interface.webSearch syncs the WEB_SEARCH permission, which also gates
provider-native search since #15875. A deployment that set it to false to
hide LibreChat's search tool silently lost native search on its model
specs. Startup now names the affected specs, describes the native-only
configuration, and notes that removing the key keeps the stored permission.

Related to #16673

* fix: Warn When a Stored Role Denies Native Search With interface.webSearch Unset
2026-10-03 23:14:56 +02:00
Marco Beretta
b24226672d
🌊 perf: Trim Per-Token and Per-Render Work in Streaming and Lists (#16718)
* perf: Trim Per-Token and Per-Render Work in Streaming and Lists

* test: Assert Rendered Diff Rows Alongside Render Counts

* refactor: Read the Active Sidebar Row Through the Existing Index Selector

Drops the new Recoil selector: conversationIdByIndex(0) already yields a primitive id, so rows still skip re-renders on every conversation write. The DiffView row test keeps the real cn behind a spy and derives the per-row cost from the first render.

* test: Cover the Sidebar Active Row Across Chat Switches and New Chat
2026-10-03 10:40:55 -04:00
Marco Beretta
7a47dfd195
🌗 fix: Ink the Artifact Refresh Veil with the Media Text Role (#16716) 2026-10-03 16:33:01 +02:00