Commit graph

506 commits

Author SHA1 Message Date
Marco Beretta
5ee091e99d
⌨️ feat: Change Default Chat Preferences (#16932)
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/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) Waiting to run
Sync Locize Translations & Create Translation PR / Create Translation PR on Version Published (push) Blocked by required conditions
Main Promotion Policy Tests / Main promotion denial and fast-forward tests (push) Waiting to run
2026-10-12 00:55:36 +02:00
Marco Beretta
bdc4bafce2
🚰 refactor: Move the Pure Stream Code into the @librechat/chat Core (#16979)
The step appliers, frame normalizer and SSE transport move from client/src/hooks/SSE into packages/chat/src/core with their specs, and the client imports them from @librechat/chat. The ask-user-question predicates the content applier reads move with them, and the client's approval module re-exports them so its consumers are unchanged.
2026-10-11 23:04:47 +02:00
Marco Beretta
e582fa3f90
🪢 refactor: Move Stop Button, Abort Scroll and Submission Start State to Jotai (#16968)
* refactor: Move Stop Button, Abort Scroll and Submission Start State to Jotai

* fix: Clear the Elapsed Baseline With the Other Per-Pane Run State
2026-10-11 23:04:34 +02:00
Marco Beretta
f8ffb4c4e3
📱 fix: Keep Focused Text Fields at 16px on Touch Devices (#16971) 2026-10-11 22:11:09 +02:00
Marco Beretta
1bdb8ad811
🧩 fix: Use Dropdown In Code Execution Settings (#16980)
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/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) Waiting to run
Sync Locize Translations & Create Translation PR / Create Translation PR on Version Published (push) Blocked by required conditions
* fix: Use Dropdown for Code Execution Settings So Menus Stay Open

* fix: Describe the Workspace Dropdown and Move Select Scenarios to the Code Tool Picker

* fix: Keep a Disallowed Saved Workspace Disabled in the Dropdown
2026-10-11 18:05:46 +02:00
Marco Beretta
8e60a4185a
🧱 refactor: Judge Chat Package Imports on the Resolved Module (#16975)
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/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) Waiting to run
Sync Locize Translations & Create Translation PR / Create Translation PR on Version Published (push) Blocked by required conditions
Main Promotion Policy Tests / Main promotion denial and fast-forward tests (push) Waiting to run
* refactor: Judge chat imports on the resolved target with one boundary rule

scripts/eslint/chat.mjs replaces the import patterns and load selectors: every
specifier is normalized (extension, trailing slash, /index, package name)
before it is judged, across static imports, re-exports, import(), require(),
import-equals and import types, so any spelling of the /react or /components
entry or a UI package is rejected from core. A RuleTester table and a
table-driven scenario cover the spellings.

* fix: Anchor the chat boundary root to the config directory

* fix: Keep bare app paths and bare core entries behind the chat boundary

* fix: Treat aliased react paths in core as the /react entry
2026-10-11 01:06:07 +02:00
Marco Beretta
9902a215eb
📎 fix: Resolve useChat Tool Parts Against Live Attachments (#16960)
* fix: Resolve useChat Tool Parts Against Live Attachments

* test: Cover useChat Live Attachment Scenarios
2026-10-11 01:05:39 +02:00
Marco Beretta
c00c776e0e
📦 feat: Scaffold the @librechat/chat Package (#16964)
* feat: Scaffold the @librechat/chat package

Adds packages/chat with core, react and components entries, a tsdown build,
a node-environment jest config, turbo and root build wiring, import boundary
rules, design-lint scope, and core types for the chat transport, stream,
host and status. No code moves yet.

* test: Cover the @librechat/chat boundaries as scenarios

* fix: Run the chat suite in test:turbo and build it for the mock lane

test:turbo now selects @librechat/chat, the mock e2e job builds the package the
chat-package scenarios load, and the synthetic repository in the suppression
scenarios carries the packages/chat/src root lint:design:record names.

* chore: Build the chat package in frontend:ci too

* chore: Run the chat suite in test:all

* fix: Hold core TSX to the chat boundary and scan the package for cycles

* fix: Apply the chat import boundary to JavaScript sources

* fix: Keep nested core files off the components entry

* fix: Close the remaining chat package gates and fence aborts by generation

Blocks imports through the @librechat/frontend workspace name, adds the chat
sources to the i18n scan, the CSS color gate and the client Tailwind content,
and lets ChatAbortRequest carry the generation it means to stop.

* fix: Keep JSX out of the chat core and carry abort and reconnect outcomes

Rejects JSX under the core, copies the chat manifest before the Docker
install, keys the client app build caches on the chat sources, fences
reconnects by generation, and types the abort result the transport returns.

* test: Give the CSS gate's scratch tree the chat root it now scans

* fix: Close the remaining @librechat/chat gates and wiring

Rejects import() and require() across the package boundaries, holds chat
components to the literal-copy rule, compiles TSX in the package's jest
transform, builds the package in Frontend Unit Tests, requires its test job for
main promotion, adds it to the unused-dependency scan, and lists it wherever a
sibling workspace is listed: Dockerfile.multi, the docker smoke paths, the
remaining node_modules caches, the reinstall helper, the bun build chain and
AGENTS.md.

* fix: Tighten the chat boundaries and carry steering and Assistants aborts

Template-literal import() and require() and self-imports through the package
name are rejected, user-facing JSX attributes need localized text, the cycle
scan resolves self-imports, Dockerfile.multi builds the package for the client
stage, and the transport carries steer, cancelSteer, armSteer and the
Assistants abort key.

* feat: Match the chat transport and host contracts to the client's

The transport now reports settled and replaced starts, the stream's protocol
version and resumed flag, reconnect replay, generation status, paused-run
resume with approvals or answers, abort and steer protocol versions, and the
request error shape. The host config and auth carry what the client's
ChatSettings now supplies: rename-while-running, model specs, retention mode
and the user.

* fix: Keep lazy React-entry loads out of the core and type the Assistants stop

Relative import() and require() of the /react entry from core are rejected,
and an abortKey stop resolves to the terminal conversation and run messages the
Assistants route returns.

* fix: Fence start controls by protocol and close extension-bearing entry loads

Settled and replaced start results carry the protocol version, core loads of
the /react or /components entry with a file extension are rejected, and
test:packages:chat builds data-provider first.
2026-10-10 21:00:10 +02:00
Marco Beretta
f4b7335058
🧭 refactor: Supply Deployment Config and Auth to Chat Hooks Through ChatSettings (#16963)
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
* refactor: Supply Deployment Config and Auth to Chat Hooks Through ChatSettings

* test: Cover Host-Supplied Feedback Config in a Chat Scenario
2026-10-10 17:27:10 +02:00
Marco Beretta
32d781e58a
☑️ feat: Give the Checkbox Theme Roles for Its Fill and Corner (#16958)
* feat: Give the Checkbox Theme Roles for Its Fill and Corner

The shared checkbox painted no fill when unchecked and drew the rounded-sm
corner every small control shares, so the ClickHouse theme could not reach
Click UI's checkbox.color.background.default fill or its 0.125rem
checkbox.radii.all corner.

A checkboxRadius appearance role sets the corner and follows radiusSm, the
corner it drew before, when a theme names that and not this. A
checkbox-fill color role paints an unchecked box only when the new
checkboxFillStyle role is fill; the default transparent style keeps every
default theme pixel-identical, and the fill follows surface-primary when a
theme omits it. Checkbox and CheckboxGlyph read both roles.

The ClickHouse theme sets Click UI's fill and corner, and both entries
leave the drift guard's not-expressible list with their probes pinned to
match.

* test: Spell Each Checkbox Scenario Tag Literally

* test: Pin the Theme Cache Digest Built From the New Resolver
2026-10-10 17:23:17 +02:00
Marco Beretta
31c089a83b
🧪 test: Drive useChat Through a Substitute Transport for Send, Stop, Steer and Errors (#16957)
* test: Drive useChat Through a Substitute Transport for Send, Stop, Steer, Queue and Errors

* test: Tag the useChat Transport Specs as Acceptance Scenarios

* test: Fail the useChat Specs When a Turn Has No Response Placeholder

* test: Bound the Nested Jest Run and Fail the Scenarios on a Nonzero Exit

* test: Settle a Stopped useChat Turn Only on Its Aborted Final Frame
2026-10-10 17:23:04 +02:00
Marco Beretta
8b46f3b3e1
🎨 style: Quiet Failed Tool Activity (#16949)
* style: Reduce noise in failed tool activity

* fix: Keep thought previews inside visible reasoning rows

* style: Sort activity phase imports

* style: Unify system events with tool disclosures

* fix: Preserve system footer alignment and partial summaries

* fix: Preserve partial phases without surviving tool outcomes

* fix: Honor partial markers over surviving failed rows

* fix: Retain partial status when failed outcomes are missing

* fix: Preserve partial status in sparse tool groups

* fix: Preserve failed batch markers without tool rows

* fix: Exclude system events from assistant code shortcuts

* fix: Identify system events in message navigation

* test: Align bash failure mock with specific verdict labels
2026-10-10 15:35:59 +02:00
Marco Beretta
bea55e7848
🪝 refactor: Supply Auto-Expand Tools to Tool Cards From the Message Host (#16951)
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
* refactor: Read the Auto-Expand Tools Preference From the Message Parts Host

* test: Open the Drawer Before the Account Menu on a Phone
2026-10-10 01:48:14 +02:00
Marco Beretta
adb04422bf
🚦 feat: Lint Disabled Dims That Compose No Disabled Recipe (#16907)
* feat: Lint Disabled Dims That Compose No Disabled Recipe

* fix: Catch Bracketed Disabled Variants and Read Recipes From References

* fix: Skip Enabled-State Branches and False-Valued Disabled States

* fix: Read Full-Opacity Recipes, Primitive Recipes and Compound Conditions

* fix: Keep the Suppression Error Wording the Baseline Spec Reads

* test: Add a lint scenario for the disabled-recipe rule

* fix: Leave negated disabled selectors and conditions alone in the disabled-recipe rule

* feat: Judge disabled recipes per branch, by import and by the element they restore

* fix: Trust recipes only from the theme module and only through defaulted cva variants

* fix: Resolve namespaced recipes through their import

* fix: Read cva disabled variants, guarded recipes and trailing important in the disabled-recipe rule

* fix: Read variant dims a disabled condition picks and recipes behind the same ternary

* fix: Follow nested disabled guards and real cva defaults in the disabled-recipe rule

* fix: Trust recipes only through class helpers and string concatenation

* fix: Read cva compound variants only under compoundVariants and guard key lookups

* fix: Require the recipe that can win for the faded element in the disabled-recipe rule

* fix: Judge stacked disabled variants by their most distant element

* fix: Match recipe markers, read || polarity, compound arrays, constant class strings and helper bindings

* fix: Accept spelled recipes, default-imported primitives, inverted props and disabled-guarded recipes

* fix: Check every chosen dim, trusted helper sources, data-disabled, recipe markers and guard identity

* chore: Re-record the disabled-recipe backlog after rebasing onto dev
2026-10-10 01:47:47 +02:00
Marco Beretta
f74aa905e1
🪶 perf: Mount a Sidebar Row's Menu Actions Only Once Its Menu Is Used (#16948)
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
* perf: Mount a sidebar row's menu actions only once its menu is used

ConvoOptions now keeps only its trigger and menu store on a row the pointer has reached; the mutations, route and chat-context subscriptions move into a controller that mounts when the menu opens, the shift quick actions show, or the delete dialog opens, and stays from then on so a request lands in the handlers that made it. A pointer sweeping the un-virtualized Pinned section leaves one trigger per row instead of one full menu.

* test: Watch every menu mutation hook in the mount-cost test
2026-10-10 00:40:47 +02:00
Marco Beretta
7e9ec0f858
🧭 refactor: Normalize Model-Authored Artifact Types in One Place (#16947)
* refactor: Normalize Artifact Type Spellings in One Place

* test: Keep Backticks Out of the Short React Artifact Source

* test: Retry a Timed-Out Sandpack Boot in the Short React Scenario

* fix: Case-Fold Canonical Artifact Types as Well as Their Aliases
2026-10-10 00:40:44 +02:00
Marco Beretta
4ec111cbc1
🎚️ refactor: Define the Code Highlight Cadence Default Once (#16946)
* refactor: Define the code highlight cadence default once

The interface schema, the config defaults and the client's normalizer read DEFAULT_CODE_HIGHLIGHT_THROTTLE_MS and MAX_CODE_HIGHLIGHT_THROTTLE_MS from data-provider, and normalizeCodeHighlightThrottleMs moves beside them so its bounds cannot drift from the schema's. A spec pins the schema, config defaults, normalizer and librechat.example.yaml to the same default.

* test: Read the cadence from the signed-in config payload
2026-10-10 00:39:28 +02:00
Marco Beretta
b7da0e0f76
🎯 a11y: Move Field and Focus Call Sites Onto the Control Roles (#16929)
* fix: Let Field and Focus Call Sites Use the Control Roles

Drop the border-heavy focus rings on the memory value fields, the tool
output details link and the Mermaid dialog controls, so each takes its
primitive's focus-control ring or the global outline. Give
TextareaAutosize a field variant and move the bookmark description onto
it. Drop the quiet border overrides on form controls so they keep the
border-control outline, move defaultTextProps and InputNumber onto it,
and prune the no-restyle counts these call sites no longer carry.

* test: Expect the Edge Focus Treatment on ClickHouse Bookmark Fields
2026-10-10 00:21:24 +02:00
Marco Beretta
6d5b49a8cd
🎯 a11y: Hand Focus Back When an Agent Detail Refresh Removes the Focused Control (#16945)
The detail dialog remembers the last control focused inside it and, after each commit, moves focus to the unavailable notice or the dialog title when that control is gone and nothing else took focus. This covers a refresh that drops a conversation starter as well as the existing 403/404 case, without depending on a blur that browsers do not fire consistently for removed elements. Starters are keyed by text and occurrence so the ones that survive a refresh keep their focus.
2026-10-10 00:21:09 +02:00
Marco Beretta
b2c635aa30
👆 a11y: Show Hover-Revealed Actions to the Touchscreen on a 2-in-1 (#16943)
* fix: Keep Hover-Revealed Row Actions Visible Wherever a Finger Can Reach

* fix: Apply the Coarse-Pointer Reveal to the Composer Palette and Model Menu

* test: Assert the Reveal on an Earlier Reply, Not the Always-Visible Latest One

* test: Read the Timestamp From the Hovered Reply's Own Row

* fix: Hide Until Hover Only Where Hover Exists and No Pointer Is Coarse
2026-10-10 00:20:56 +02:00
Marco Beretta
e7484a223b
📐 feat: Let a Theme Reshape the Sign-In Field and Button (#16939)
* feat: Let a theme reshape the sign-in field and button

The sign-in floating-label field, the submit button and their shared corner read the new authFieldHeight, authButtonHeight and authControlRadius appearance roles, whose defaults reproduce the 44px field, 48px button and 16px corner. The corner follows radius2xl when a theme names only that. The ClickHouse theme draws them at Click UI's single field and button size with the button's square corner.

* fix: Size the sign-in button by its height role alone

A fixed height with vertical padding left a short theme height less room than the label. Specs now expect the role classes on the sign-in field.

* fix: Keep the reset label and password controls inside a themed field height

The reset request label rests in the middle of the field instead of 12px from its top, and the password field's reveal and copy buttons size from the sign-in field height, 4px off its edges and never under 24px. Both keep their stock positions and sizes.

* fix: Hold the password field controls inside the padding it reserves

The reveal and copy buttons stop growing at the stock 2.25rem, so a taller sign-in field keeps them clear of the typed value.

* feat: Let a theme reshape the second-factor and reset-success actions

The 2FA verify and reset-success continue buttons read authActionHeight and authActionRadius, which follow the sign-in button's height and corner when a theme names those and otherwise the Button height and radiusLg they drew, so the stock screens are unchanged and ClickHouse draws them at 32px with its 4px corner.

* test: Reach the second-factor screen through a pending sign-in

* fix: Rest the reset label inside a minimum-height field and keep the action corner on radiusLg

The reset request label rests from an inset that centers it 2px low as before but never past the field's bottom edge, and the other sign-in actions resolve their corner before the sign-in corner is derived from radius2xl, so a theme that names only radius2xl keeps radiusLg on them.
2026-10-09 23:35:13 +02:00
Marco Beretta
f698385777
🎯 fix: Show the Focused State of the InputNumber Option Variant (#16925)
* fix: Show the Focused State of the InputNumber Option Variant

* test: Probe the InputNumber root rather than its input wrap

* fix: Keep the InputNumber Option Focus Fill Above Its Hover Fill
2026-10-09 23:11:25 +02:00
Marco Beretta
b77b4cff19
🪄 feat: Adopt the Continue Icon, Artifact Timing, Avatar Border and Dropdown Intents Tailwind 3 Never Rendered (#16941)
* feat: Adopt the continue icon, artifact timing, avatar border and dropdown intents Tailwind 3 never rendered

Sizes the continue action's glyph to the 19px of the actions beside it, times the artifact sheet's close to the 250ms its unmount waits for and the docked panel's open to 350ms, frames agent avatars with the 1px border they asked for, and lets the dropdown menu primitive cap its height, grow from its trigger and tint a destructive item's icon.

* fix: Cap the dropdown submenu at the space Radix measures

* test: Stop pinning the adopted artifact durations as inert
2026-10-09 23:08:06 +02:00
Marco Beretta
b12d09dc5b
🖱️ refactor: Hover the Rail Toggle, New Chat and Marketplace Controls in the Nav Role (#16940)
The sidebar toggle and the Agent Marketplace link use the nav Button variant and the new chat link hovers in surface-nav-hover, so every control in the desktop rail shares the navigation hover the panel buttons and sidebar rows use.
2026-10-09 23:07:33 +02:00
Marco Beretta
e4274abf6f
🎨 a11y: Draw Every Prompt Category Icon Muted Under ClickHouse (#16935)
* feat: Route Every Prompt Category Icon Through a Per-Slot Role

* test: Retry Category Icon Reads While the Prompt List Settles

* fix: Carry the Renamed Category Icon Role to Its Slot 4 Name

* fix: Carry the Renamed Category Icon Role Through Every Color Reader

* fix: Keep Renamed Color Roles Out of the Unknown Token Warnings
2026-10-09 21:49:24 +02:00
Marco Beretta
d4b220d610
🧭 refactor: Give the Desktop Icon Rail Nav Hover and Selected States (#16937)
* refactor: Paint the desktop icon rail with the nav Button variant

The rail's panel buttons now use the shared nav variant, so their hover and selected fills come from surface-nav-hover and surface-nav-selected like the sidebar rows, and the selected state stays on aria-pressed.

* test: Run the rail nav scenarios on a pointer device
2026-10-09 21:38:33 +02:00
Marco Beretta
908ff5162a
🏷️ a11y: Give Prompt Category Icons Their Own Color Role (#16933)
* feat: Give Prompt Category Icons a Purpose Color Role

* fix: Keep Token Formatting and Skip Hover on Touch in the Category Icon Scenario

* test: Refresh the Theme Resolver Pin After Rebasing on the Avatar Ink Change
2026-10-09 19:40:39 +02:00
Marco Beretta
6c8f659d54
🧮 fix: Read Math Function Channels in CSS Custom Property Triplets (#16924)
* fix: Read Math Function Channels in CSS Custom Property Triplets

* fix: Collapse Nested Numeric Math Before the Triplet Check

* fix: Read Exponents and Math Constants in Triplet Channels

* fix: Read round() Strategies in Triplet Math Channels
2026-10-09 18:39:30 +02:00
Marco Beretta
a0de8bbba7
🌗 a11y: Ink the Dark Default Avatar Glyph at 3:1 on Its Fill (#16931)
* fix: Ink the Dark Default Avatar Glyph White to Clear 3:1

* fix: Retire Cached Themes for the New Dark Avatar Ink
2026-10-09 18:35:38 +02:00
Marco Beretta
6e6dc1be11
🪢 fix: Settle Compaction Rows Past Anchor Collisions and Legacy Parts (#16552)
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
* 📴 fix: Stamp Legacy Failure Parts When Settling a Compaction Row

* 📴 fix: Redirect the Collision Error Row to the Live Response Id

* 📴 fix: Withhold the Anchor-Colliding Error Row and Keep Pending Rows Fallbacks

* 📴 fix: Scope the Settled-Job Guard to Compactions and Copy Stamped Parts

* test: Cover the Underscore-Leaf Compaction Failure and Abandoned Replies in E2E

* test: Fail the Underscore-Leaf Compaction Through the Blank Summarizer

* refactor: Return the Final Error Row Id From the Settlement
2026-10-08 23:03:58 +02:00
Marco Beretta
945a885394
🎚️ feat: Promote Stylesheet Colour Roles to Registry Colours (#16864) 2026-10-08 13:22:23 +02:00
Marco Beretta
f26b60dd23
🎚️ refactor: Use Primitive Tones, Variants and Shapes in Remaining Components (#16872)
* refactor: Use Spinner Tones, Label Variants and Shared Button Props in Remaining Components

Replaces text colour, round shape and size overrides with the primitives' own tone, variant, shape and size props where the merged classes are identical, drops redundant field overrides, and removes the prose and arbitrary transition classes that generated no CSS or have a token form.

* test: Cover the Quiet Ink of the Marketplace Search Clear Button

* test: Assert the Clear Button Hover Ink Only Where Hover Exists
2026-10-08 12:27:15 +02:00
Marco Beretta
0a3e9e0468
🧹 refactor: Move Inline Styles to Classes Outside Chat and the Side Panel (#16871)
* refactor: Replace Inline Styles With Classes Outside Chat and the Side Panel

Moves display, overflow, user-select, outline, will-change, backdrop and mask styling onto utility classes and CSS custom properties across Agents, Artifacts, Audio, Bookmarks, Plugins, Projects, Share, routes and the shared client components, and drops the recorded no-inline-styles suppressions they cleared.

* test: Cover Marketplace Grid Columns Driven by the Columns Variable

* test: Pick a Single-File Directory for the Moved-File Prune Fixture
2026-10-08 12:27:15 +02:00
Marco Beretta
2c2288d634
🧱 feat: Add Flush, Embedded and Nav Primitive Variants (#16862) 2026-10-08 12:26:28 +02:00
Marco Beretta
248dae1059
🎯 refactor: Hold ClickHouse Colors at Their Click UI Values (#16821) 2026-10-08 12:25:50 +02:00
Marco Beretta
16d62f2910
♿ a11y: Name the Global Focus Outline on Tabs, Table Rows and Dropdown (#16870) 2026-10-07 20:53:12 +02:00
Marco Beretta
d397ecc9ff
🎚️ refactor: Give InputNumber an Option Variant for Setting Values (#16831)
Some checks failed
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) Has been cancelled
Sync Locize Translations & Create Translation PR / Create Translation PR on Version Published (push) Has been cancelled
* refactor: Give InputNumber an Option Variant for Setting Values

* fix: Ship the Option InputNumber Reset With the Package Stylesheet

* refactor: Prune the Setting Value Suppressions After Rebase
2026-10-07 19:26:06 +02:00
Marco Beretta
1c3c6f7bc5
🧹 refactor: Use Existing Variants and Drop Redundant Overrides in Nav, Skills and Prompts (#16868)
* refactor: Use Existing Variants and Drop Redundant Overrides in Nav, Skills, Prompts and Endpoints

* test: Cover the Header Menu Trigger in the Default Theme

* chore: Prune Design Suppressions After the Rebase
2026-10-07 19:10:45 +02:00
Marco Beretta
6f74636375
♿ a11y: Let Dark Mode Honor Outline Utilities on Focus (#16861)
* a11y: Ring Tabs, Table, Dropdown and Menu Items in the Focus Control Role

* test: Tag the Focus Primitives Scenarios Literally

* test: Match the Dark Focus Rule That Yields to Outline Utilities

* refactor: Keep Menu Items and Table Rows on Their Existing Focus Treatment

* refactor: Leave Tabs and Dropdown on the Global Focus Outline

* test: Assert Both Outline Utility Exclusions in the Dark Focus Rule
2026-10-07 18:25:11 +02:00
Marco Beretta
a7e2d66e75
🧹 refactor: Clear Chat Input Design Suppressions Through Existing Variants (#16863)
* refactor: Clear Chat Input Design Suppressions Through Existing Variants

* test: Cover the Chat Composer Send Path After the Suppression Cleanup

* refactor: Keep the FileUpload Action on Its Ghost Pressed Fill
2026-10-07 18:23:53 +02:00
Marco Beretta
8b9a7c521d
🔠 feat: Add 10, 11, 13 and 15px Steps to the Theme Type Scale (#16827)
* feat: Add 10, 11, 13 and 15px Steps to the Theme Type Scale

* test: Prove the Off-Scale Type Steps in the Mock Harness

* style: Sort cn Imports

* refactor: Name the 13 and 15px Steps 1xs and 1sm

* test: Probe the Type Step Roles Instead of Unused Utilities
2026-10-07 16:02:26 +02:00
Marco Beretta
3e951569c2
🩹 fix: Keep Chrome Surfaces and Destructive Confirms Legible in Quiet-Chrome Themes (#16833)
* fix: Keep Chrome Surfaces and Destructive Confirms Legible in a Quiet-Chrome Theme

* fix: Soften Remaining Inline Destructive Triggers and Canonicalize Zero Chrome Alpha

* fix: Keep Pressed Feedback on the Quiet-Chrome Floating Control and Cover the Quiet Surfaces

* test: Scope the Quiet Surface Scenarios to the Header

* fix: Keep the Two-Factor Disable Trigger on the Soft Destructive Variant
2026-10-07 16:02:22 +02:00
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