* refactor: Remove Legacy Dialog and DialogTemplate from @librechat/client
The assistant delete confirmation was the last consumer of the legacy
Radix Dialog and its DialogTemplate. Move it to OGDialog and
OGDialogTemplate with the shared Button trigger, matching the agent
delete button, then drop both components, their barrel exports and the
spec entries that listed them.
* test: Cover the assistant delete confirmation dialog
* test: Match toast text exactly and clear the delete mock before cleanup
* test: Move the close-target and scrim scenarios off the removed Dialog
* feat: Let Dropdown work inside dialogs and take the field list roles
Inside a dialog the list renders in place, so the dialog's focus trap and
aria-hidden pass no longer cut it off, and it layers above the dialog. A
field Dropdown's list now takes listMinWidth, listMaxHeight and the icon
size role, and is never narrower than its trigger.
* refactor: Move the code tool selects onto Dropdown and remove Select and Combobox
The four code tool settings selects were the last users of the Radix
Select, and Combobox, its only other consumer, had none. Their tests and
the nested popover scenarios now drive the Dropdown.
* fix: Theme the Retry Action Radius and the Select Arrow
* fix: Keep the Select Indicator Visible in Forced Colors
* test: Cover the Select Arrow Following the Text Color
* chore: Update dompurify to version 3.4.17 across all package files
- Bumped dompurify version from 3.4.16 to 3.4.17 in package.json, package-lock.json, and relevant sub-packages.
- Ensured consistency in dependency versions across the project.
* chore: Update ip-address package to version 10.7.4 in package.json and package-lock.json
- Bumped ip-address version from 10.5.1 to 10.7.4 in package.json.
- Updated package-lock.json to reflect the new version and integrity hash.
* test: Cover Interface and Chat Direction Scenarios
* test: Pin the Default Textarea Direction to Auto
* refactor: Keep the Chat Direction Preference in Jotai
* test: Drive Direction Scenarios Through Phone Settings and a Held Bundle
* fix: Mirror Shared Primitives For RTL Layouts
* fix: Import the Direction Helper Relatively in InfoHoverCard
* test: Cover Mirrored Switch and Dialog Close in RTL
* fix: Keep the Focused Sign-In Label Inside Its Field in RTL
* fix: Mirror by Element Direction and Re-Resolve Side Placement on Open
* test: Pin RTL Scenarios to the Element Direction and Expect a Trailing Number Input
* fix: Keep Time Column Arrow Keys Vertical in RTL
* fix: Keep :dir() Selectors Through CSS Minification
* chore: Declare lightningcss for the Client Build Config
* fix: Keep SelectDropDown Left and Right Icon Sides Physical
* fix: Fall Back to the dir Attribute Where :dir() Is Unsupported
* fix: Leave Nested LTR Islands Unmirrored in the dir Attribute Fallback
* fix: Resolve the Slider Direction From Its Nearest dir
* fix: Resolve the Nearest dir at Any Depth in the :dir() Fallback
* fix: Re-Resolve the Slider Direction When a dir Attribute Changes
* fix: Keep the Provider Direction for a Slider Without a dir Ancestor
* fix: Read an Automatic dir From the Computed Direction for the Slider
* fix: Prefer the Computed Direction When Resolving an Element's Direction
* fix: Re-Resolve the Slider Under a dir=auto Boundary When Its Content Changes
* fix: Keep the Mirrored Combobox Placement Across Rerenders
* refactor: Let the Slider Read Its Direction From the Radix Provider
* fix: Space a Trailing Combobox Option Icon From Its Label
* fix: Follow the Interface Direction in Radix, the Composer and First Paint
Wrap the app in a Radix DirectionProvider driven by i18n so Tabs, Select and
menus stop rendering LTR subtrees in right-to-left locales, and swipe toasts
toward the inline end.
Chat direction becomes auto, ltr or rtl (auto by default; stored LTR/RTL
values are kept). The composer applies a forced direction as a dir attribute
instead of reversing rows, which double-flipped under an RTL document, and the
text fields default to dir=auto. The unused Jotai chat direction atom that
pinned every TextareaAutosize to ltr is removed.
index.html sets dir before first paint, and the language setting no longer
races i18n over document.lang.
* fix: Keep the Empty Composer Placeholder on the Interface's Reading Edge
* refactor: Draw Provider Icons as Theme-Following Brand Marks
Replace the raster and oversized provider art with single colour SVG marks
that inherit currentColor. Marks come from simple-icons (CC0) or are cut
from the logo each brand publishes, as noted per entry in marks.ts.
Lemonade, MLX, ShuttleAI and Unify keep their raster art for now.
The Cohere landing padding only compensated for the old PNG, so it goes.
* fix: Use the Groq Wordmark G Instead of the Site Favicon Bolt
* feat: Paint the Operator Theme on a First-Ever Visit
The server embeds the deployment's base interface.theme in the HTML shell, with both modes the build resolved for a bundled name, so the boot script and the first commit of DeploymentTheme paint it before /api/config answers. A tab's owned cache still outranks it, shared links skip it, and a request scoped by a trusted X-Tenant-Id header gets the shell without it.
* test: Type the Inline Shell Theme Fixture as Raw JSON
* test: Tag the First-Visit Scenarios Literally
* fix: Ignore a Theme Boot File That Is Not an Object
* fix: Keep the Base Theme for a Tenant Header the Config Rejects
* fix: Report a Theme Boot File That Exists but Cannot Be Read
* fix: Embed the Base Config Theme in the Experimental Shell
* test: Stand In the Shell Theme for an Owned Copy Whose Session Ended
* fix: Hold Button Heights and the Dialog Close Button at the 24px Target
* fix: Write a Zero Button Height as a Length the Target Floor Can Compare
* test: Let the Delete Dialog Settle Before Measuring Its Close Glyph
* test: Pin the Theme Cache Digest the Rebased Resolver Emits
* ci: Type-Check Workspaces with bun check
Make every workspace tsconfig valid under TypeScript 7 semantics while
staying clean on the installed tsc 5.9: explicit types arrays (TS 7 no
longer auto-includes node_modules/@types), es2017 target for
data-provider, rootDir for api specs that import client contracts, and
noUncheckedSideEffectImports off for the CSS and matchMedia mock imports.
Fix the four client type errors newer DOM and Intl libs expose, and drop
the fetch.preconnect copy in useRum that only existed to satisfy the
leaked @types/bun globals.
Switch the client typecheck script and the CI type-check steps to
bun check (Bun 1.4.3); tsc --noEmit stays available as typecheck:tsc.
* chore: Fall Back to tsc When bun check Is Unavailable
Add scripts/typecheck.mts, which runs bun check when the installed Bun
provides it and the repository's tsc otherwise, so contributors without
Bun can still type-check. The client typecheck script and the
static-checks TypeScript gate both resolve their checker through it,
keeping local runs on the same checker CI uses whenever Bun is present.
* ci: Type-Check the Chat Package Through the Shared Checker
* ci: Run the Type Check When Only the Shared Checker Changes
A change to scripts/typecheck.mts alone started neither frontend review
nor the static-checks TypeScript gate, so a broken resolver could merge
unexercised. Add it to the frontend-review triggers and to every
typecheck project's paths.
The suppression-baseline scenarios copy static-checks.mts into synthetic
roots; copy its new typecheck.mts import alongside i18n.mts so the runner
loads there. Add scenarios for the checker choice and its fallback.
* 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
* 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
* 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
* 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
* 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.
* 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
* 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
* 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
* 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
* 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
* 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
* feat: Derive the Theme Cache Version and Close the Color Token Drift
* feat: Add a Button Padding Role for the Default Size
* test: Run the Boot Script Through the Version Injection
* fix: Retain Signed-Out Provenance and Tighten Token Declarations
* 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
* fix: Polish the Pull Request Chip and Card Header
Shrink the GitHub link icon and keep its hover on the icon only, drop the agent avatar from the chip so only the pull request icon remains, and open the hover card below the chip.
* fix: Scale the GitHub Icon With a viewBox and Rebase the Card Placement onto the Shared Panel
* refactor: Route Stylesheet Colours Through Theme Variables and Gate CSS Literals
* fix: Run the Colour Check Through Its Own Script
* fix: Read Numeric Fallbacks Inside Colour Function var() in the Colour Literal Check