* 📮 fix: Count Undelivered Background Results as Outstanding
* fix: Reconcile delivered tasks, discard exactly, and count pending subagent results
* fix: Settle manually claimed remote deliveries and keep pending controls while wake-ups drain
* fix: Report dead-lettered deliveries as failed and read subagent wake-ups from the durable store
* fix: List restored dead letters and retire deliveries on local durable claims
* 🐢 fix: Back Off Waiting Completion Wake-ups and Deliver Them When Ready
* fix: Signal every readiness path and make the completion wait cap configurable
* 🧷 fix: Wait for Long Dispatch Turns Before Giving Up Background Code Results
* fix: Mark held completion deliveries instead of pipeline expedite, and announce store-won approval expiry
* fix: Keep code tasks protected and wait without a fixed cutoff
* fix: Scope settle expedites to the resumed conversation and close the remaining signal gaps
* style: Format the settlement waiter
* fix: Announce a won approval expiry once and release subagent wake-up registrations
* fix: Outlast terminal persistence before giving up an unanchored code result
* fix: Anchor code results the moment their dispatch turn settles
* fix: Scope harvest epoch pinning to the owning stream
---------
Co-authored-by: Lia <lia@librechat.ai>
* 🐢 fix: Back Off Waiting Completion Wake-ups and Deliver Them When Ready
* fix: Signal every readiness path and make the completion wait cap configurable
* fix: Mark held completion deliveries instead of pipeline expedite, and announce store-won approval expiry
* fix: Scope settle expedites to the resumed conversation and close the remaining signal gaps
* fix: Announce a won approval expiry once and release subagent wake-up registrations
* 🧪 ci: Count System Instructions in Mock Model Usage (#16350)
The e2e fake model reported input tokens for the chat messages alone, because the SDK hands a test override model the pruned messages without the systemRunnable pipe. Once #16301 gave every memory-enabled chat a system prompt, the calibrated context snapshot put used tokens below the instructions and the gauge dropped its Messages row. Count input over the complete prompt, as a real provider bills it.
---------
Co-authored-by: Lia <lia@librechat.ai>
The e2e fake model reported input tokens for the chat messages alone, because the SDK hands a test override model the pruned messages without the systemRunnable pipe. Once #16301 gave every memory-enabled chat a system prompt, the calibrated context snapshot put used tokens below the instructions and the gauge dropped its Messages row. Count input over the complete prompt, as a real provider bills it.
Tokenize budgeting inputs in bounded chunks instead of charging a token per UTF-8 byte above 4 KiB. Subdivide long whitespace/non-whitespace runs to bound BPE merge work and preserve surrogate pairs. Keep strict provider-accounting counts and unavailable-tokenizer fallbacks separate.
Cover both encodings, SDK slice composition, programmatic tool prompts, summarization, real overflow, cache reuse, and failure recovery. Related to #16278.
Co-authored-by: Lia <lia@librechat.ai>
* 🦉 fix: Quiet Idle Subagent Discovery While Preserving Child Wakeups
* 🐣 fix: Wake Saved Parent Index During First-Run Events
---------
Co-authored-by: Lia <lia@librechat.ai>
* 🔕 perf: Back Off Idle Durable Agent Recovery Polls
* 🎛️ style: Format Queued-Turn Recovery Test
* fix: Preserve Durable Recovery Wakeups and Discovery Invariants
---------
Co-authored-by: Lia <lia@librechat.ai>
* fix: Surface Persistent Memory Before First Save
* fix: Distinguish Unreadable Memory From Empty Memory
---------
Co-authored-by: Lia <lia@librechat.ai>
* 🐤 docs: Clarify Maintainer-Directed Canary Pull Requests
* 🐤 docs: Link Issues on Dev and Canary PRs
---------
Co-authored-by: Lia <lia@librechat.ai>
Update package repository and bugs URLs, GitHub links in docs, templates and comments, and image references (compose files, deployed-update, Helm values and renovate hints) from danny-avila to LibreChat-AI / librechat-ai. Covers the rag-api repository and its images, which moved to the organization. Sponsor links and the sealed star-history chart are unchanged.
* fix: constrain agent selector to 480px and 10 unsearched agents
The Agents panel selector dropdown now caps at 480px tall with the option
list scrolling inside, and lists at most 10 agents while the search field
is empty; typing lifts the cap so search still reaches every agent.
ControlCombobox gains optional popoverMaxHeight and unsearchedLimit props,
so every other selector keeps its current fixed 300px list.
* fix: make the agent selector cap configurable, viewport-safe, and selection-preserving
The unsearched list cap now reads interface.agentSelectorLimit from
librechat.yaml (default 10), the popover cap yields to Ariakit's
available height so a short viewport never pushes options offscreen,
and a selected agent ranking past the cut keeps the last slot instead
of disappearing until searched for.
* fix: forward agentSelectorLimit through the interface loader and guard it at the client
loadDefaultInterface whitelists interface fields, so the new knob never
reached /api/config without explicit forwarding; and values that bypass
interfaceSchema (raw yaml reads, principal-scoped admin overrides) are
normalized back into 1..100 at the client so a bad override cannot empty
the selector.
* 🛝 refactor: Route Packaged Chat Completion Frames Through a Writer
* style: Match Chat Completion Contract Test Import Order
* fix: Avoid ES2022 Array Methods in Protocol Contract Test
---------
Co-authored-by: Lia <lia@librechat.ai>
* 🚉 fix: Keep Queue Controls with the Starting Turn
* 🚉 fix: Stabilize the Pending-Turn Portal Callback
---------
Co-authored-by: Lia <lia@librechat.ai>
Move the mirror out of the merge job and into a job that declares the legacy-mirror environment, so the token that can write to the legacy namespace is reachable only from workflows running on the branches that environment allows. A failed mirror can no longer fail a publish either: the job carries continue-on-error.
* Add client side tools
* 🚦 fix: Ask the Model to Call Caller-Executed Tools Alone
* Add client tool continuation replay tests
* Fix clientTools docstring
* fix: return only tools that have been actually applied
* 🔁 fix: Continue a Caller-Executed Tool Exchange Across Requests
* fix: handle null values for tool descriptions and parameters in client tools
* 🧩 fix: Keep the Arguments of Every Tool Call in a Streamed Message
* Fix PR comments
* fix: Preserve client tool handoff across SDK event ordering
---------
Co-authored-by: Lia <lia@librechat.ai>
* 🛍️ feat: Add Programming App to OpenRouter Categories
* style: Format OpenRouter category override test
---------
Co-authored-by: Lia <lia@librechat.ai>
* feat: add GPT-6 Sol and Luna support
* fix: normalize Sol and Luna reasoning requests
* fix: align Sol and Luna effective Responses routing
* fix: honor server routing policy for model uploads
* test: await system grant indexes before writes
* fix: verify model upload policies against runtime initialization
---------
Co-authored-by: Lia <lia@librechat.ai>
* Count the tool only while the line is its generic label
A streamed intent already names the work this call is doing, so a repeat count beside it reads as a claim that the sentence happened N times. The count now rides the generic Running/Ran label alone, and is dropped for an intent, a failure or cancellation verdict, and a background handle line.
* fix: Omit Repeat Counts From Sandbox Startup Labels
* test: Bound Client Recovery Worker Activation Waits
---------
Co-authored-by: Lia <lia@librechat.ai>
The collapsed live activity row printed its repeated-tool multiplier at the row's far right, beside the chevron, a full row width away from the line it counts. It now sits directly after that line, the way the unfolded group already reads Create File x2, while the span's failure and cancellation verdict keeps the row's right edge because it belongs to the whole span.
Co-authored-by: Lia <lia@librechat.ai>
* feat: add Claude Opus 5.5 support
* fix: preserve Opus 5.5 settings through provider adapters
* fix: preserve model-hidden settings when pruning parameters
---------
Co-authored-by: Lia <lia@librechat.ai>
After a repository moves to another owner, images publish under the new owner while existing deployments still pull the old namespace. The merge job now copies each published tag to LEGACY_GHCR_OWNER when that variable and the LEGACY_GHCR_TOKEN secret are set, using GHCR cross-repo blob mounts. It stays off while the legacy owner matches the publishing owner, and never fails the build.
* docs: set expectations for AI-assisted contributions
* docs: note that we may finish a contributor's branch
---------
Co-authored-by: Lia <lia@librechat.ai>
* 🌊 fix: Prevent Agent Model Stream Idle Timeouts
* fix: Preserve Default Proxy Dispatcher Construction
* test: Assert Agent Transport Timeout Policy
* test: Cover Direct Model Dispatcher Reuse
* fix: Scope Agent Model Transport Timeouts
* fix: Enforce Agent Timeouts Across Direct and Summary Clients
* fix: Align Model Transport Adapter Types
---------
Co-authored-by: Lia <lia@librechat.ai>