Commit graph

6574 commits

Author SHA1 Message Date
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
lia-by-librechat[bot]
71ed78c46d
fix: patch Langfuse fanout Go certificate trust (#17663)
Some checks are pending
Codegraph E2E Vote Gate / Gate (push) Waiting to run
Codegraph E2E Votes / vote (shard 1/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 10/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 2/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 3/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 4/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 5/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 6/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 7/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 8/10) (push) Waiting to run
Codegraph E2E Votes / vote (shard 9/10) (push) Waiting to run
Co-authored-by: Lia <lia@librechat.ai>
2026-10-31 05:02:25 +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
Danny Avila
f5fa39c9b2
📦 chore: Update re2js to v2.9.1 and bump @hono/node-server to v2.1.5 (#17652) 2026-10-31 00:34:33 +01:00
Atef Bellaaj
05e7f1d2e6
🔗 feat: Link Langfuse Prompts as Agent Instructions (#17294)
Some checks failed
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
Sync Locize Translations & Create Translation PR / Sync Translation Keys with Locize (push) Has been cancelled
Main Promotion Policy Tests / Main promotion denial and fast-forward tests (push) Has been cancelled
Sync Locize Translations & Create Translation PR / Create Translation PR on Version Published (push) Has been cancelled
- Let agents use Langfuse prompts by production label or pinned version,
  with the existing permission and usage checks.
- Add a configuration switch, disabled by default. Preserve saved links
  while disabled, without resolving them or falling back to inline text.
- Share source-specific production and exact selections across agent
  links and the prompt service. Reject source mismatches.
- Add revision lists for the Agent Builder version picker. Resolve
  Langfuse instructions on each initialization without caching.
- Improve disabled and unavailable states and test source changes,
  revision loading, and permission failures.
2026-10-30 17:28:37 +01:00
lia-by-librechat[bot]
af3840b5fc
🥐 chore: Standardize Bun-First Workspace Typechecks (#17651)
* 🥐 chore: Standardize Bun-First Workspace Typechecks

* fix: Preserve Bun 1.4.3 Checker Compatibility

* chore: Pin Bun 1.4.4 for Local and CI Typechecks

---------

Co-authored-by: Lia <lia@librechat.ai>
2026-10-30 16:33:52 +01:00
JOJO
fba013c42e
🧪 ci: Isolate auth.tenant Spec From a Local librechat.yaml (#17642)
The login tests reach getAppConfig through the balance middleware, which
loads librechat.yaml from the repository root by default. The file is
gitignored, so a developer who keeps one locally runs the spec against
their own config; an unresolved `${VAR}` MCP URL in it makes
configSchema.safeParse throw and every login returns 500. Point
CONFIG_PATH at a missing file so the spec runs with no config, as CI does.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 15:18:21 +01:00
lia-by-librechat[bot]
295cb633f4
🦭 fix: Require Full-Length Private Text Authentication Tags (#17646)
Co-authored-by: Lia <lia@librechat.ai>
2026-10-30 15:12:02 +01:00
github-actions[bot]
6f8acd1bec
🌍 i18n: Update translation.json with latest translations (#17629)
Co-authored-by: berry-13 <81851188+berry-13@users.noreply.github.com>
2026-10-30 13:53:50 +01:00
lia-by-librechat[bot]
f03a4686ff
🚋 fix: Scope Document Name Traversal to Bedrock Agents (#17627)
* 🚋 fix: Scope Document Name Traversal to Bedrock Agents

* test: Preserve Replay Content Across Token Cache Refreshes

* fix: Include All Bedrock Replay Recipients in Document Naming

* fix: Include Lazy Provider Metadata in Document Naming

* perf: Short-Circuit Reachable Agent Predicates

---------

Co-authored-by: Lia <lia@librechat.ai>
2026-10-30 13:53:36 +01:00
lia-by-librechat[bot]
94d3d12bd5
🧗 chore: Bump ClickHouse to 26.3.62.3 LTS (#17647)
Some checks failed
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
Co-authored-by: Lia <lia@librechat.ai>
2026-10-30 13:48:17 +01:00
lia-by-librechat[bot]
e3c1077452
📵 chore: Add an Offline OSS Scanner Environment (#17645)
* 📵 chore: Add an Offline OSS Scanner Environment

* 🛡️ docs: Add the OSS Scanner Threat Model

Tells the scanner LibreChat's trust boundaries, the components that matter, how to run the tests offline, how we rate severity, and what is out of scope.

---------

Co-authored-by: Lia <lia@librechat.ai>
Co-authored-by: Danny Avila <danny@librechat.ai>
2026-10-30 13:40:22 +01:00
Marco Beretta
19ab2b51f5
⌨️ refactor: Move Composer Input Controls Into the Chat Package (#17551)
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 Composer Input Controls and Shortcut Helpers Into @librechat/chat

* test: Cover Interrupt Now on a Queued Composer Row

* test: Read the Moved Escalate Button in the Composer Color Guardrail

* refactor: Reuse the Core Draft Check for the Send Button

* fix: Point the Acceptance Harness at the Moved Composer Shortcuts
2026-10-30 00:24:35 +01:00
Marco Beretta
2ad2c1c14b
🔑 perf: Cache JWT Users and Batch Auth-Path Reads (#17466)
* perf: Serve JWT Bearer User Lookups From the Auth User Cache

* perf: Batch Agent Permission Reads on the File Access Path

* perf: Remember a Loaded Google Service Key Across Endpoint Config Reads

* perf: Run Independent Startup, Tool, Skill and Erasure Reads Concurrently

* fix: Drop JWT User Cache Writes That Race a User Mutation

Confirm each cache write with a second read and evict when the user changed,
so an in-flight lookup cannot repopulate an entry a credential change just
evicted. The cache mode now arrives through the loader dependencies.

* refactor: Move Agent Skill Access Reads Into packages/api

The chat-completions and Responses controllers call loadSkillAccess instead of
orchestrating the three reads in CJS. The preview route spec mocks the batched
file access helper the middleware now calls.

* test: Cover Agent File Access, JWT Bursts and Remote Skill Reads End to End

* fix: Serve a Cached JWT User Only While Its updatedAt Is Current

A cache hit now reads the stored updatedAt and deletion fence instead of the
fence alone, so a document cached from a read that raced a user mutation is
never served, even when the write landed after that mutation's eviction.

* refactor: Move Startup Migration Checks Into packages/api

* refactor: Inject the Startup Migration Checks Instead of Mongoose Models

* fix: Serve Cached OpenID Users Only While Their updatedAt Is Current

Moves the freshness check into getCurrentCachedAuthUserDoc and uses it on the
OpenID bearer path as well as the local JWT one, so a document cached from a
read that raced a credential or role change is never served there either.

Fixes berry-13/LibreChat#432

* fix: Compare Authorization Fields on Every Auth Cache Hit

updatedAt has millisecond resolution, so the freshness read also compares the
token retirement stamps, role, tenant and two-factor state.

* fix: Annotate the Auth Freshness Projection for Isolated Declarations

* perf: Reuse the OpenID Cache Freshness Read for Deletion Admission

A cache hit already proved the deletion fence is clear, so only users read from
the database take the separate fence query.

* refactor: Keep the OpenID Cache Freshness and Fence Decisions in packages/api

* test: Exercise JWT Cache Freshness Against Real User Methods in MongoDB

* fix: Stamp the JWT User Lookup So the Cache Write Fence Applies

* fix: Reload a Google Service Key File When It Changes or Disappears

The availability check remembers a loaded key only while the file's mtime and
size are unchanged, and fetches URL sources every time as before.

* fix: Recheck a Service Key File After a Permission Change
2026-10-30 00:24:08 +01:00
Marco Beretta
0269b96889
🛟 refactor: Move Resume-on-Load and Stream Steer State Into the Chat Package (#17565)
* refactor: Move resume-on-load and the stream steer state into the chat package

* refactor: Drop the useSessionEffects bridge now that resume on load lives in the chat package
2026-10-30 00:23:33 +01:00
Marco Beretta
ec3b0efa0b
🔁 refactor: Move the Resume Helpers and Their State Into the Chat Package (#17562) 2026-10-30 00:23:14 +01:00
Marco Beretta
393e7aed5f
📎 refactor: Move Stream Content and Attachment Handlers Into the Chat Package (#17559) 2026-10-30 00:22:53 +01:00
Marco Beretta
a493b1a3d7
🧮 refactor: Move Token Usage State and Its Stream Handlers Into the Chat Package (#17558) 2026-10-30 00:22:38 +01:00
lia-by-librechat[bot]
b3f71196f3
🔚 fix: Bound Abandoned File Deletion Retries (#17640)
* fix: Bound abandoned file deletion retries

* fix: Handle absent request user in code cleanup

* fix: Preserve deferred cleanup wakeups and configured budgets

---------

Co-authored-by: Lia <lia@librechat.ai>
2026-10-29 23:48:40 +01:00
lia-by-librechat[bot]
3d3edaff01
🐘 fix: Preserve Authored Skills Across Approval Resumes (#17630)
* fix: preserve authored skills across approval resumes

* fix: complete authored skill resume contracts

* fix: keep restored skill identity authoritative across batches

* fix: reject replacement skills during authored recovery

---------

Co-authored-by: Lia <lia@librechat.ai>
2026-10-29 22:17:03 +01:00
lia-by-librechat[bot]
99fb03cb93
🚤 fix: Keep Host Tool Loading Independent of Worker Status (#17628)
* 🚤 fix: Keep Host Tool Loading Independent of Worker Status

* fix: Classify Workspace Tools at the Agent Boundary

---------

Co-authored-by: Lia <lia@librechat.ai>
2026-10-29 22:13:10 +01:00
Danny Avila
c9b7ab4726
🔁 ci: Skip the data-provider publish when its version is already on npm (#17639)
Pushes to main that touch packages/data-provider/package.json without bumping the version failed with "You cannot publish over the previously published versions". Check whether the exact version already exists on the registry and skip packing and publishing when it does, as the client workflow does.
2026-10-29 22:12:24 +01:00
Marco Beretta
608ab07956
✂️ refactor: Move the Markdown Block Splitter and Editable Part Checks Into the Chat Package (#17579)
splitMarkdown and editableParts move to packages/chat/src/core/parts and are
exported from the package root, so hasEditablePart is available to package
components. The micromark and mdast packages the splitter parses with become
peer and dev dependencies of @librechat/chat at the client's ranges, kept
external by the build, and the package jest config transforms them like the
client's does.
2026-10-29 21:04:24 +01:00
Marco Beretta
181137d117
🧾 feat: Keep Every Lost Start Owed Until an Answer Resolves That Start (#17593) 2026-10-29 20:50:47 +01:00
Marco Beretta
80ec78bbfc
⏳ feat: Retire Expired and Older Pauses and Reconcile the Held Pause With Sync Snapshots (#17590)
* feat: Retire Expired and Older Pauses and Reconcile the Held Pause With Sync Snapshots

* fix: Let an Expired Pause Retire the Held One It Ties

* fix: Hold a Pause the Sync Frame Buffers and Follow an Answer Whose Pause a Snapshot Released

* fix: Keep a Stale Buffered Pause Out of the Host Reducer

* fix: Retire a Released Pause When Its Generation Ends

* fix: Let Only the Pause a Sync Frame Stands for Reach the Host Reducer
2026-10-29 20:50:08 +01:00
Marco Beretta
d4374f02de
⏸️ feat: Answer, Restore and Stop a Paused Generation From the Chat Core (#17587)
* feat: Answer, Restore and Stop a Paused Generation From the Chat Core

* fix: Retire a Pause the Server Refused Once Its Probe Owns the Chat

* fix: Keep a Pause the Server Refused Over for Later Reads and Replays
2026-10-29 20:49:41 +01:00
Marco Beretta
aae1a6ec16
🔁 feat: Reattach to a Running Generation and Keep a Dropped One Stoppable (#17584)
* feat: Reattach to a Running Generation and Keep a Dropped One Stoppable

* fix: Keep a Continued Generation's Endpoint When the Host Selection Changes

* fix: End What a Dropped Generation Leaves When a Retry, a Stop or a Status Read Settles It

* test: Cover a Reattachment That Yields to a Turn the Host Starts While It Selects the Endpoint

* fix: Settle What a Reconnect Answers for and Let It Go Before a Store Is Told

* fix: Return a Failed Chat to Ready as One Write
2026-10-29 20:41:13 +01:00
Marco Beretta
bf0b529e16
🌊 refactor: Move the Stream Step Handler Into the Chat Package (#17555) 2026-10-29 20:40:26 +01:00
Marco Beretta
528820d81c
📡 refactor: Attach the Subagent Activity Feed Through the Chat Transport (#17526)
* refactor: Move Subagent Progress State and Content Folding Into @librechat/chat

* refactor: Attach the Subagent Activity Feed Through the Chat Transport

* test: Tag the Subagent Activity Panel E2E Specs With Scenarios

* test: Pin Replay, Ready and Live Steer Ordering Across an Activity Reconnect

* fix: Stop the Subagent Activity Feed on Refusals and Bound Idle Reconnects

* fix: Keep Attaching the Subagent Feed While the Child Thread Is Still Reserved

* test: Read Steer Order the Same While the Child Turn Streams and Once It Settles
2026-10-29 20:38:39 +01:00