Commit graph

3070 commits

Author SHA1 Message Date
Marco Beretta
77cb38769b
🧠 refactor: Move the Composer Reasoning Budget Control Into @librechat/chat (#17763)
* feat: Export Unstyled Popover Parts From @librechat/client

* feat: Give PopoverContent the Shared Panel Surface

* refactor: Move the Reasoning Budget Control Into @librechat/chat

* test: Cover the Reasoning Budget Control and Token Formatting in the Chat Package

* fix: Keep the Reasoning Popover Under the Panel Radius Guard
2026-11-03 21:44:06 +01:00
Marco Beretta
c1bedeb386
🧩 feat: Export Popover Parts From @librechat/client (#17751)
* feat: Export Unstyled Popover Parts From @librechat/client

* feat: Give PopoverContent the Shared Panel Surface
2026-11-03 21:43:52 +01:00
Marco Beretta
ed85f15735
🏷️ refactor: Resolve the Turn Sender, Reasoning Override and Launch in @librechat/chat (#17762)
* refactor: Resolve the Turn Sender and Reasoning Override in @librechat/chat

* refactor: Publish the Turn Launch as a Package Atom and Cover the Moved Resolvers
2026-11-03 21:43:31 +01:00
Marco Beretta
e64ef7ec25
🎯 refactor: Let useTurns Own Response Binding, Regenerated Focus and the History Guard (#17750)
* refactor: Move the History Revalidation Guard into @librechat/chat

* refactor: Let useTurns Own Response Binding, Regenerated Focus and the History Guard
2026-11-03 21:43:02 +01:00
Marco Beretta
d452d1e636
🚨 fix: Show a Failed Assistants Run's Error on a New Chat (#17703)
Some checks are pending
Backend Unit Tests / Tests: api (shard 1/3) (push) Blocked by required conditions
Backend Unit Tests / Tests: api (shard 2/3) (push) Blocked by required conditions
Backend Unit Tests / Tests: api (shard 3/3) (push) Blocked by required conditions
Backend Unit Tests / Tests: data-provider (push) Blocked by required conditions
Backend Unit Tests / Tests: data-schemas (push) Blocked by required conditions
Backend Unit Tests / Tests: @librechat/api (shard 1/4) (push) Blocked by required conditions
Backend Unit Tests / Tests: @librechat/api (shard 2/4) (push) Blocked by required conditions
Backend Unit Tests / Tests: @librechat/api (shard 3/4) (push) Blocked by required conditions
Backend Unit Tests / Tests: @librechat/api (shard 4/4) (push) Blocked by required conditions
Codegraph E2E Vote Gate / Gate (push) Waiting to run
Codegraph E2E Votes / vote (shard 1/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 10/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 2/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 3/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 4/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 5/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 6/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 7/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 8/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 9/10) (push) Waiting to run
Docker Dev Branch Images Build / publish (push) Waiting to run
Frontend Unit Tests / Client build recovery regression (push) Waiting to run
Frontend Unit Tests / Codegraph select (push) Waiting to run
Frontend Unit Tests / Build packages (push) Waiting to run
Frontend Unit Tests / TypeScript type checks (client) (push) Blocked by required conditions
Frontend Unit Tests / Tests: @librechat/chat (push) Blocked by required conditions
Frontend Unit Tests / Tests: @librechat/client (push) Blocked by required conditions
Frontend Unit Tests / Tests: Ubuntu (shard 1/2) (push) Blocked by required conditions
Frontend Unit Tests / Tests: Ubuntu (shard 2/2) (push) Blocked by required conditions
Frontend Unit Tests / Vite build verification (push) Blocked by required conditions
* test: Show a Settled Assistants Error Lost to New-Chat Recovery

* fix: Keep a Failed Assistants Run's Error on the New-Chat Pane

* fix: Skip New-Chat Recovery for Any Error Turn the Server Did Not Save
2026-11-02 18:38:38 +01:00
Marco Beretta
b81458e1bb
🛰️ refactor: Stream Assistants Turns Through @librechat/chat (#17697)
* refactor: Move the Assistants Stream Hook into @librechat/chat

* refactor: Stream Assistants Turns Through the Package Legacy Stream

* test: Cover Assistants Send, Stop and Failure Through the Legacy Stream

* test: Give the Test Stream Hosts the Legacy Services Member

* test: Keep the Assistants Failure Case for Its Own Fix

* test: Give the Consumer Spec Host the Legacy Services Member
2026-11-02 18:36:32 +01:00
Marco Beretta
df97e9c9f7
🪪 fix: Bind Role Delete Config Restore to the Role Identity and Audit the Members It Moved (#17501)
* fix: Bind Role Delete Config Restore to the Role Identity and Audit the Members It Moved

* fix: Reassign Deleted Role Members With Per-Account Conditional Writes

* test: Type the Member Reassignment Race Spy With Mongoose Query Types

* perf: Reassign Deleted Role Members in Stamped Bulk Writes

* test: Type the Bulk Reassignment Race Spy Options

* fix: Attribute Role Deletion Reassignments by a Per-Batch Nonce

* fix: Keep a Role Whose Members Could Not All Be Reassigned and Audit Those Moved

* fix: Report a Reassignment Batch Whose Write Committed Before Rejecting

* fix: Audit Members Moved Before a Concurrent Role Deletion Won

* fix: Hold Role Deletion to Its Identity, Audit, Cache and Retry Invariants on Every Path

* fix: Recheck the Targeted Role Before Every Reassignment Batch

* fix: Resolve the Targeted Role Id When a Role Delete Names Only the Role

* fix: Report Each Reassigned Account Once and Retry a Config Restore Deferred by an Unreadable Role

* fix: Keep the Reassignment Tag When a Failed Batch Cannot Be Read Back

* fix: Keep Each Overlapping Role Deletion's Reassignment Tag on the Accounts It Moved
2026-11-02 18:36:01 +01:00
Marco Beretta
28d8780dad
🚦 refactor: Move the Tool Outcome Helpers Into the Chat Package (#17708)
Some checks are pending
Backend Unit Tests / Tests: api (shard 1/3) (push) Blocked by required conditions
Backend Unit Tests / Tests: api (shard 2/3) (push) Blocked by required conditions
Backend Unit Tests / Tests: api (shard 3/3) (push) Blocked by required conditions
Backend Unit Tests / Tests: data-provider (push) Blocked by required conditions
Backend Unit Tests / Tests: data-schemas (push) Blocked by required conditions
Backend Unit Tests / Tests: @librechat/api (shard 1/4) (push) Blocked by required conditions
Backend Unit Tests / Tests: @librechat/api (shard 2/4) (push) Blocked by required conditions
Backend Unit Tests / Tests: @librechat/api (shard 3/4) (push) Blocked by required conditions
Backend Unit Tests / Tests: @librechat/api (shard 4/4) (push) Blocked by required conditions
Codegraph E2E Vote Gate / Gate (push) Waiting to run
Codegraph E2E Votes / vote (shard 1/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 10/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 2/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 3/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 4/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 5/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 6/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 7/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 8/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 9/10) (push) Waiting to run
Docker Dev Branch Images Build / publish (push) Waiting to run
Frontend Unit Tests / Client build recovery regression (push) Waiting to run
Frontend Unit Tests / Codegraph select (push) Waiting to run
Frontend Unit Tests / Build packages (push) Waiting to run
Frontend Unit Tests / TypeScript type checks (client) (push) Blocked by required conditions
Frontend Unit Tests / Tests: @librechat/chat (push) Blocked by required conditions
Frontend Unit Tests / Tests: @librechat/client (push) Blocked by required conditions
Frontend Unit Tests / Tests: Ubuntu (shard 1/2) (push) Blocked by required conditions
Frontend Unit Tests / Tests: Ubuntu (shard 2/2) (push) Blocked by required conditions
Frontend Unit Tests / Vite build verification (push) Blocked by required conditions
* refactor: Move the Tool Outcome Helpers Into the Chat Package

* refactor: Narrow the Tool Call Identity Read Instead of Casting
2026-11-02 01:43:38 +01:00
Marco Beretta
b6148a4960
🦶 refactor: Share One Message Footer Across Message Rows (#17706)
* refactor: Share One MessageFooter Between ContentRow and MessageRender

* test: Cover the Shared Message Footer Alignment and Sibling Order

* test: Add a User Prompt Footer Scenario to the Mock Harness

* test: Render the Real Elapsed Timer in the Footer Spec
2026-11-02 01:24:00 +01:00
Marco Beretta
a5e14f95ad
🖼️ refactor: Move the Composer Layout Into the Chat Package (#17680)
* feat: Add the Composer Placement Transition Recipe

* refactor: Move the Composer Layout Into the Chat Package

* test: Expect No Refocus on a Coarse Pointer in the Composer Frame Scenario

* fix: Render No Context Rail for a Boolean Slot
2026-11-02 01:23:49 +01:00
Marco Beretta
7f5ce90a14
✍️ refactor: Move the Composer Field and Action Slot Into the Chat Package (#17679)
* feat: Add a Composer Variant to TextareaAutosize

* refactor: Move the Composer Field and Action Slot Into the Chat Package

* test: Wait for the Collapse Transition in the Composer Field Scenario

* fix: Keep the Composer Touch Font Floor in the Shared Field Stylesheet

* test: Floor a Small Chat Font on the Composer Draft on Touch
2026-11-02 01:23:34 +01:00
Marco Beretta
6112144ae6
🏷️ refactor: Move the Tool Label Helpers Into the Chat Package (#17682) 2026-11-02 00:44:39 +01:00
Marco Beretta
a933bc8df2
🧮 refactor: Move the Ask Question and Tool Call Phase Helpers Into the Chat Package (#17676) 2026-11-02 00:44:12 +01:00
Marco Beretta
47daeb6104
🧱 refactor: Draw Structured Message Rows Through ContentRow in @librechat/chat (#17701)
* refactor: Draw Content and Thread Rows Through a ContentRow in @librechat/chat

* test: Cover ContentRow Against Fake Hosts and Register the App Hosts in Row Specs

* test: Add Structured Reply Row Scenarios to the Mock Harness
2026-11-02 00:43:42 +01:00
Marco Beretta
d49c09e5a4
🧷 refactor: Move the Message Row Contexts into @librechat/chat (#17674)
* refactor: Move the Author, Error Source and Message Surface Contexts into @librechat/chat

* refactor: Keep the Moved Message Contexts Importable From Their Client Paths
2026-11-02 00:43:24 +01:00
Marco Beretta
d70280a1cd
🪜 refactor: Move the Thread Renderers Into @librechat/chat as the Default Thread (#17661)
* refactor: Render Thread Rows Through MessagesHost Slots

* refactor: Move the Thread Renderers Into @librechat/chat as the Default MessagesView Thread

* test: Verify Sibling Switching, Activity Anchors and Editing on the Package Thread
2026-11-02 00:42:51 +01:00
Marco Beretta
7cebb55d96
🎛️ refactor: Move the Message Hover Toolbar into @librechat/chat (#17660)
Some checks are pending
Backend Unit Tests / Tests: api (shard 1/3) (push) Blocked by required conditions
Backend Unit Tests / Tests: api (shard 2/3) (push) Blocked by required conditions
Backend Unit Tests / Tests: api (shard 3/3) (push) Blocked by required conditions
Backend Unit Tests / Tests: data-provider (push) Blocked by required conditions
Backend Unit Tests / Tests: data-schemas (push) Blocked by required conditions
Backend Unit Tests / Tests: @librechat/api (shard 1/4) (push) Blocked by required conditions
Backend Unit Tests / Tests: @librechat/api (shard 2/4) (push) Blocked by required conditions
Backend Unit Tests / Tests: @librechat/api (shard 3/4) (push) Blocked by required conditions
Backend Unit Tests / Tests: @librechat/api (shard 4/4) (push) Blocked by required conditions
Codegraph E2E Vote Gate / Gate (push) Waiting to run
Codegraph E2E Votes / vote (shard 1/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 10/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 2/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 3/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 4/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 5/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 6/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 7/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 8/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 9/10) (push) Waiting to run
Docker Dev Branch Images Build / publish (push) Waiting to run
Frontend Unit Tests / Client build recovery regression (push) Waiting to run
Frontend Unit Tests / Codegraph select (push) Waiting to run
Frontend Unit Tests / Build packages (push) Waiting to run
Frontend Unit Tests / TypeScript type checks (client) (push) Blocked by required conditions
Frontend Unit Tests / Tests: @librechat/chat (push) Blocked by required conditions
Frontend Unit Tests / Tests: @librechat/client (push) Blocked by required conditions
Frontend Unit Tests / Tests: Ubuntu (shard 1/2) (push) Blocked by required conditions
Frontend Unit Tests / Tests: Ubuntu (shard 2/2) (push) Blocked by required conditions
Frontend Unit Tests / Vite build verification (push) Blocked by required conditions
* refactor: Move HoverButtons into @librechat/chat Behind Thread and Read-Aloud Host Members

* test: Cover HoverButtons Against a Fake Host and the App Read-Aloud Slot

* test: Add Hover Toolbar Scenarios to the Mock Harness

* test: Target the Edit Textarea by Test Id in the Hover Edit Scenario

* fix: Keep Module-Scope Atoms Out of the Components Entry by Reading HoverButtons State Through the Chat Contract and Host

* test: Render the Hover Toolbar Specs Through the Real English Bundle
2026-11-01 18:45:56 +01:00
Marco Beretta
759f6aebe5
🪄 refactor: Move the Skills Popover Into the Chat Package (#17675) 2026-11-01 18:18:05 +01:00
Marco Beretta
75cf23e8a1
🚦 refactor: Move the Composer Queue Rail Into the Chat Package (#17685)
Some checks are pending
Backend Unit Tests / Tests: api (shard 1/3) (push) Blocked by required conditions
Backend Unit Tests / Tests: api (shard 2/3) (push) Blocked by required conditions
Backend Unit Tests / Tests: api (shard 3/3) (push) Blocked by required conditions
Backend Unit Tests / Tests: data-provider (push) Blocked by required conditions
Backend Unit Tests / Tests: data-schemas (push) Blocked by required conditions
Backend Unit Tests / Tests: @librechat/api (shard 1/4) (push) Blocked by required conditions
Backend Unit Tests / Tests: @librechat/api (shard 2/4) (push) Blocked by required conditions
Backend Unit Tests / Tests: @librechat/api (shard 3/4) (push) Blocked by required conditions
Backend Unit Tests / Tests: @librechat/api (shard 4/4) (push) Blocked by required conditions
Codegraph E2E Vote Gate / Gate (push) Waiting to run
Codegraph E2E Votes / vote (shard 1/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 10/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 2/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 3/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 4/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 5/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 6/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 7/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 8/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 9/10) (push) Waiting to run
Docker Dev Branch Images Build / publish (push) Waiting to run
Frontend Unit Tests / Client build recovery regression (push) Waiting to run
Frontend Unit Tests / Codegraph select (push) Waiting to run
Frontend Unit Tests / Build packages (push) Waiting to run
Frontend Unit Tests / TypeScript type checks (client) (push) Blocked by required conditions
Frontend Unit Tests / Tests: @librechat/chat (push) Blocked by required conditions
Frontend Unit Tests / Tests: @librechat/client (push) Blocked by required conditions
Frontend Unit Tests / Tests: Ubuntu (shard 1/2) (push) Blocked by required conditions
Frontend Unit Tests / Tests: Ubuntu (shard 2/2) (push) Blocked by required conditions
Frontend Unit Tests / Vite build verification (push) Blocked by required conditions
* chore: Add framer-motion and react-dnd as @librechat/chat Peers

* refactor: Move the Composer Queue Rail Into the Chat Package

* fix: Keep Store Atoms Out of the Queue Rail's Module Load
2026-11-01 01:25:34 +01:00
Marco Beretta
69f93089f1
🧪 test: Render the Effort Track With the Real English Copy (#17699) 2026-11-01 01:24:09 +01:00
Marco Beretta
49ecc0695b
🧹 chore: Clear the Whole-Repo Lint Errors on Dev (#17702) 2026-11-01 01:23:47 +01:00
Marco Beretta
ced4cba6d4
💬 refactor: Move the Steer Part Into the Chat Package Behind Image and File Preview Slots (#17704) 2026-11-01 01:23:34 +01:00
Marco Beretta
6acbdb780d
📡 refactor: Move the Stream Event Handlers into @librechat/chat (#17677)
* refactor: Move the Stream Event Handler Hooks into @librechat/chat

* refactor: Read the Event Handler Services Through the Stream Host

* test: Give the Event Handler Test Hosts the Subagent Index Member
2026-11-01 01:22:52 +01:00
Marco Beretta
8c6b38f31c
🧭 refactor: Route Stream Event Handler Effects Through Grouped Host Services (#17668)
* refactor: Route Stream Event Handler Effects Through Grouped Host Services

* test: Confirm the Titled Endpoint Pick in the Generated Title Scenario

* test: Give the Subagent Index Test Host the Event Services Member

* test: Give the Consumer Spec Host the Event Services Member
2026-11-01 01:22:39 +01:00
Marco Beretta
7b985fb9f3
🧵 refactor: Move the Thread and Lanes Helpers Into @librechat/chat (#17656) 2026-11-01 01:14:47 +01:00
Marco Beretta
2cd70ebaf7
📋 refactor: Move the Copy Footer and Action Gate into @librechat/chat (#17585)
* refactor: Move useGenerationsByLatest and MinimalHoverButtons into @librechat/chat

* test: Give the Consumer Spec Messages Host the Copy Member
2026-11-01 00:38:11 +01:00
Marco Beretta
1ee4f335d3
🎚️ refactor: Move the Thinking-Level Track Into the Chat Package (#17684)
* refactor: Move the Thinking-Level Track Into the Chat Package

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

* feat: Paint the Provider Badge Over Media With a Surface Media Chip Role
2026-10-31 22:48:10 +01:00
Marco Beretta
919bf99143
🖼️ refactor: Assemble the Chat Screen in @librechat/chat (#17671)
* feat: Derive the Chat Pane's Heading, Footers, Project and Read-Only State in @librechat/chat

* refactor: Lay Out the Chat View Through the Package ChatScreen
2026-10-31 22:47:57 +01:00
Marco Beretta
4840ea7323
❓ refactor: Move the Ask Question Popover Into the Chat Package (#17683)
* feat: Add a Hint Variant to Button

* refactor: Move the Ask Question Popover Into the Chat Package

* fix: Keep the Ask Hint's Hover Ink

* fix: Return Focus to the Draft When the Ask Chevron Moves the Question

* test: Exercise the Real Composer Overlay Hook in the Ask Popover Spec
2026-10-31 22:14:59 +01:00
Marco Beretta
9c83beea0e
📜 refactor: Move the Prompts Popover Into the Chat Package (#17670)
* refactor: Move the Prompts Popover Into the Chat Package

* test: Check Dialog Focus Without Querying the Hidden Composer

* fix: Keep the Search Typed After the Slash When the Prompts Popover Opens
2026-10-31 22:14:29 +01:00
Marco Beretta
222a369c60
📼 refactor: Move the Subagent Transcript Into @librechat/chat Behind a Subagents Host (#17678)
* refactor: Move the Subagent Transcript Into @librechat/chat Behind a Subagents Host

SubagentActivity, its scroll surface, content, status and guidance history
move into @librechat/chat/components, and ScrollToBottom moves into the
package with them. A new SubagentsHost carries what still lives in the app:
the content-parts and steer renderers, the animated jump-to-latest control,
and the read of a shortened guidance receipt, which stays an app query. The
prompt preview reuses renderMarkdown with a new codeExecution flag, and the
task content scope becomes a plain package context.

* refactor: Draw Content Parts Through the Message Parts Host

renderContentParts moves from SubagentsHost onto MessagePartsHost as the one
content slot, typed as ContentPartsSlotProps: the transcript fields plus the
optional row fields message rows pass. The app fills it through a registered
renderer, so the host module does not import the content stack, and omitted
row fields keep an assistant reply's defaults.

* refactor: Let the Content Parts Slot Carry Sparse Content

Main message rows keep holes at streaming and parallel indexes, and part indexes depend on those positions, so the slot's content keeps undefined entries as ContentParts already accepts them.

* test: Exercise the Real App Renderers in the Host Registration Spec

The transcript host test now renders the app's ContentParts and SteerPart under the providers they read, so the registered content renderer and steer slot are proven against the real components; only the receipt request stays mocked.
2026-10-31 22:11:03 +01:00
Marco Beretta
b03c9432c5
🧭 refactor: Move the Chat Surface, Task Panel and Activity Group Into @librechat/chat (#17669)
The chat surface context, the durable task panel hook and the event subagent
activity group move into the package. The surface context and read hooks live
apart from the provider that binds the panel atoms, so the components entry
loads no module-scope atom. Share state and the inline agent avatar reach the
package through two new MessagePartsHost members, useShare and
renderAgentAvatar, which the app fills from ShareContext and renderAgentAvatar
with the same options as before.
2026-10-31 22:09:52 +01:00
Marco Beretta
b4eb59c96c
🪪 refactor: Move Subagent Authors Into @librechat/chat Behind a Message Icon Slot (#17635)
* refactor: Move Subagent Authors Into @librechat/chat Behind a Message Icon Slot

* fix: Register the Message Parts Host From the App Entry

* test: Give the Consumer Spec's Messages Host the Icon Slot
2026-10-31 22:09:24 +01:00
Marco Beretta
4a0150e629
🗂️ refactor: Read the Parent Subagent Index Through the Stream Host (#17633) 2026-10-31 22:08:57 +01:00
lia-by-librechat[bot]
e70cec8fd5
🦠 test: Add Portable Favorites Contracts and Mutation Testing (#17690)
Co-authored-by: Lia <lia@librechat.ai>
2026-10-31 16:16:39 -04:00
lia-by-librechat[bot]
e3e7dc6d7c
🪁 fix: Keep Manual Compaction Anchored and Visible Across Reloads (#17689)
* fix: preserve manual compaction identity and pending state

* fix: align resume restoration with shared lifecycle types

* test: narrow the optional compaction response assertion

---------

Co-authored-by: Lia <lia@librechat.ai>
2026-10-31 16:15:46 -04:00
lia-by-librechat[bot]
f4154b649e
🦿 chore: Bump Agents SDK to 4.2.1 (#17664)
Some checks failed
Publish `@librechat/client` to NPM / pack (push) Has been cancelled
Publish `librechat-data-provider` to NPM / pack (push) Has been cancelled
Publish `@librechat/data-schemas` to NPM / pack (push) Has been cancelled
Docker Dev Images Build / publish (push) Has been cancelled
Sync Helm Chart Tags / Ignore non-main push (push) Has been cancelled
Sync Helm Chart Tags / Sync chart tags (push) Has been cancelled
Publish `@librechat/client` to NPM / publish-npm (push) Has been cancelled
Publish `librechat-data-provider` to NPM / publish-npm (push) Has been cancelled
Publish `@librechat/data-schemas` to NPM / publish-npm (push) Has been cancelled
* 🦿 chore: Bump Agents SDK to 4.2.0

* test: Adapt Compaction Fixtures to Retained Recent Turns

* test: Preserve the Azure Reasoning Token Contract

* chore: Bump Agents SDK to 4.2.1

---------

Co-authored-by: Lia <lia@librechat.ai>
2026-10-31 15:17:05 -04:00
lia-by-librechat[bot]
e9be9f8732
🎋 fix: Scope Document Replay Budgets to Each Message (#17687)
Some checks are pending
Backend Unit Tests / Tests: api (shard 1/3) (push) Blocked by required conditions
Backend Unit Tests / Tests: api (shard 2/3) (push) Blocked by required conditions
Backend Unit Tests / Tests: api (shard 3/3) (push) Blocked by required conditions
Backend Unit Tests / Tests: data-provider (push) Blocked by required conditions
Backend Unit Tests / Tests: data-schemas (push) Blocked by required conditions
Backend Unit Tests / Tests: @librechat/api (shard 1/4) (push) Blocked by required conditions
Backend Unit Tests / Tests: @librechat/api (shard 2/4) (push) Blocked by required conditions
Backend Unit Tests / Tests: @librechat/api (shard 3/4) (push) Blocked by required conditions
Backend Unit Tests / Tests: @librechat/api (shard 4/4) (push) Blocked by required conditions
Codegraph E2E Vote Gate / Gate (push) Waiting to run
Codegraph E2E Votes / vote (shard 1/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 10/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 2/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 3/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 4/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 5/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 6/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 7/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 8/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 9/10) (push) Waiting to run
Docker Dev Branch Images Build / publish (push) Waiting to run
Frontend Unit Tests / Client build recovery regression (push) Waiting to run
Frontend Unit Tests / Codegraph select (push) Waiting to run
Frontend Unit Tests / Build packages (push) Waiting to run
Frontend Unit Tests / TypeScript type checks (client) (push) Blocked by required conditions
Frontend Unit Tests / Tests: @librechat/chat (push) Blocked by required conditions
Frontend Unit Tests / Tests: @librechat/client (push) Blocked by required conditions
Frontend Unit Tests / Tests: Ubuntu (shard 1/2) (push) Blocked by required conditions
Frontend Unit Tests / Tests: Ubuntu (shard 2/2) (push) Blocked by required conditions
Frontend Unit Tests / Vite build verification (push) Blocked by required conditions
Co-authored-by: Lia <lia@librechat.ai>
2026-10-31 15:11:42 -04:00
Danny Avila
696a1b6b56
🪪 feat: Name the Build and Config in Telemetry, Configure Stack Depth, Keep Scoped Frames (#17515)
* 🔎 fix: Keep Scoped Package Frames Out of the Log Email Redactor

The log redactor read node_modules/@scope/pkg/... as an address and replaced
whole stack frame locations with [REDACTED_EMAIL], in file, console and
OpenTelemetry output alike. An @ between path separators now names a scoped
package; addresses beside such frames are still masked.

* 🪪 feat: Name the Build and Loaded Config on OpenTelemetry Records

service.version now defaults to the image's BUILD_COMMIT ahead of the npm
package version. Each successful librechat.yaml load records a short digest
of the parsed file, which exported log records and request spans carry as
librechat.config.digest, and applies telemetry.stackTraceLimit to
Error.stackTraceLimit; unset keeps the process default.

* fix: Publish telemetry settings with the accepted base config

* fix: Initialize process settings before adopting cached config

* fix: Preserve runtime settings when cache writes are refused

* fix: Keep telemetry identity local and propagate Redis write errors

* fix: Partition merged config caches by the local base

* fix: Keep config cache failures recoverable

* test: Verify cache recovery contracts with typed fixtures

---------

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

* refactor: Keep Only the Stored Attachment Query Hook in the Client
2026-10-31 16:37:32 +01:00
Marco Beretta
36b9cf36a1
🧳 refactor: Move Ask State, Approval and File Previews, and Diff View Into the Chat Package (#17657)
* refactor: Move Ask State, Approval and File Previews, and Diff View Into the Chat Package

* fix: Point the HITL Edits Spec at the Moved Approval Preview
2026-10-31 16:15:31 +01:00
Marco Beretta
cd3367b24d
🔎 refactor: Move the Mention Popover Into the Chat Package as a Combobox (#17659)
* refactor: Add a Command Popover with a Host Windowed List Slot

* refactor: Move the Mention Popover Into the Chat Package

* test: Cover the Mention Popover Combobox in the Mock Harness

* style: Draw the Mention Popover Like the Prompts and Skills Popovers

* test: Walk to the Endpoint Row Before Drilling Into Its Models

* test: Drill Into a Plain Custom Endpoint in the Mention Scenario

* refactor: Share the Command Character Helper From the Chat Core
2026-10-31 15:47:11 +01:00
Marco Beretta
06ddf0a2ab
🧮 refactor: Move Error Turn and Title Helpers into Chat Core (#17658)
* refactor: Move the Subagent Reset Rule into Chat Core

* refactor: Move Error Turn and Title Helpers into Chat Core
2026-10-31 15:47:05 +01:00
Marco Beretta
e9e7c6b7b3
📜 refactor: Move the MessagesView Root Into @librechat/chat (#17589)
* refactor: Move the MessagesView Root Into @librechat/chat

* fix: Read Submitting State From the Chat Contract and Complete the Test Hosts

* test: Tell the Scroll Control Apart From the Rail's End Marker
2026-10-31 15:46:40 +01:00
Marco Beretta
2677349117
🧭 refactor: Move the Pure Subagent Modules Into @librechat/chat (#17582) 2026-10-31 15:46:22 +01:00
Marco Beretta
096fdbfc85
🪜 refactor: Move Row Mounting and the Scrollbar Gutter Into @librechat/chat (#17586)
* refactor: Move Row Mounting and the Scrollbar Gutter Into @librechat/chat

* test: Cover Progressive Mounting of a Long Conversation
2026-10-31 14:20:54 +01:00
Marco Beretta
225810a16d
🏗️ refactor: Lay Out the Chat Pane Through @librechat/chat (#17574)
* feat: Add a ChatPane Layout to @librechat/chat

* refactor: Lay Out the Chat View Through the Package ChatPane

* fix: Keep the Welcome Layout While a New Session Loads

* style: Sort the Chat View Imports
2026-10-31 14:20:31 +01:00
Marco Beretta
ab6b01b51c
🍴 refactor: Move the Fork and Feedback Actions into @librechat/chat (#17561)
* refactor: Move the Fork and Feedback Actions into @librechat/chat

Fork reads the viewer's fork defaults and starts the fork through two new
MessagesHost members, keeping its toasts and rate-limit copy in the package; the
app supplies them from its settings atoms and the fork mutation, whose own
callbacks open the copy so a row that unmounts mid-request still lands there.
Feedback moves as is. @ariakit/react becomes a peer dependency of the package.

* test: Cover Fork and Feedback in the Mock Harness

* chore: Sort MessageRow Spec Imports

* fix: Resolve Fork Labels Per Call and Pin the Fork Toast Locator

* test: Give the Consumer Spec Messages Host the Fork Members
2026-10-31 14:18:52 +01:00
Marco Beretta
859e9dddbb
🎟️ fix: End a Pause Answer's Claim Only When Its Generation Ends (#17636)
Some checks are pending
Backend Unit Tests / Tests: api (shard 1/3) (push) Blocked by required conditions
Backend Unit Tests / Tests: api (shard 2/3) (push) Blocked by required conditions
Backend Unit Tests / Tests: api (shard 3/3) (push) Blocked by required conditions
Backend Unit Tests / Tests: data-provider (push) Blocked by required conditions
Backend Unit Tests / Tests: data-schemas (push) Blocked by required conditions
Backend Unit Tests / Tests: @librechat/api (shard 1/4) (push) Blocked by required conditions
Backend Unit Tests / Tests: @librechat/api (shard 2/4) (push) Blocked by required conditions
Backend Unit Tests / Tests: @librechat/api (shard 3/4) (push) Blocked by required conditions
Backend Unit Tests / Tests: @librechat/api (shard 4/4) (push) Blocked by required conditions
Codegraph E2E Vote Gate / Gate (push) Waiting to run
Codegraph E2E Votes / vote (shard 1/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 10/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 2/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 3/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 4/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 5/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 6/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 7/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 8/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 9/10) (push) Waiting to run
Docker Dev Branch Images Build / publish (push) Waiting to run
Frontend Unit Tests / Client build recovery regression (push) Waiting to run
Frontend Unit Tests / Codegraph select (push) Waiting to run
Frontend Unit Tests / Build packages (push) Waiting to run
Frontend Unit Tests / TypeScript type checks (client) (push) Blocked by required conditions
Frontend Unit Tests / Tests: @librechat/chat (push) Blocked by required conditions
Frontend Unit Tests / Tests: @librechat/client (push) Blocked by required conditions
Frontend Unit Tests / Tests: Ubuntu (shard 1/2) (push) Blocked by required conditions
Frontend Unit Tests / Tests: Ubuntu (shard 2/2) (push) Blocked by required conditions
Frontend Unit Tests / Vite build verification (push) Blocked by required conditions
* fix: End an Answer's Claim Only When Its Generation Ends or a Newer Pause Replaces It

* fix: Match a Stop to the Answered Generation by Its Record When No Timestamp Names It

* fix: Date an Undated Answer by the Pause a Later Source Reports
2026-10-31 01:41:31 +01:00