* 🪪 feat: Authorize a Schedule in the Same Step That Creates It
Where consent is on, a new schedule was created unauthorized and stayed exempt until
its owner edited it or the operator's deadline passed. The create form now asks what the
schedule may use, from the offer for its agent, and the schedule is created with its
grant in one write. A schedule created without a choice is marked as needing
authorization from the start.
The grant dialog's tool list and choice are split out so the form shows the same thing.
* 🔁 fix: Read the Offer Again When a Create's Authorization Is Turned Down
The create form kept the offer it first read. Once the server refused a choice made
from it, every retry sent the same refused digest. The form now reads the offer again,
keeps the ticks that still apply, and holds the create until the new offer is in.
* 🧭 fix: Check Readiness at Creation for the Tools the Owner Allowed
A schedule being created has no stored grant, so its readiness check covered every
MCP tool the agents select, including servers the owner left out. The grant is now
validated first and handed to the check, which covers what it allows.
* 🗓️ feat: Let Any Schedule Be Authorized, With or Without an MCP Server
A grant needed at least one MCP tool, so a schedule whose agents use no MCP server, or
none the operator declared, had nothing to authorize and its other tools were never
gated. A grant can now allow the agents' other tools alone. It has no consent to carry a
deadline, so every grant stores its own lifetime; one made before that is read from its
consents.
A schedule that needs a grant it does not have was refused its MCP calls only. Every
tool call is now refused with the same reason until the owner confirms.
* 🧯 fix: Bound the Held-Run Lookup, Accept a Grant With No MCP Tool at Readiness, and Authorize Other Tools Without MCP Use
The run hook gives its two reads one deadline, so a slow grant lookup is refused
before the SDK discards the hook. Readiness has nothing to connect when the grant
allows none of the selected MCP tools. Authorizing a schedule needs the schedules
permission and the agent; only MCP tools are held to the MCP servers permission.
* 🚦 fix: Ask for the MCP Permission After the Grant Filter at Readiness
A granted run needs the MCP servers permission only for the MCP tools its grant
allows. Readiness asked for it first, so an owner without it who authorized only
other tools had a schedule that could never activate or fire.
An OpenAPI Action that needs its owner to sign in published the sign-in
prompt into the remote agent API response and waited for it, as MCP servers
did before #18058. The Action tool now receives whether anyone can sign in
for the run, derived from the execution context at tool loading, and refuses
to prompt when nobody can. A stored access token and a working refresh token
are unaffected.
* 📈 fix: Keep the Context Gauge Counting While a Reply Streams
* 📊 feat: Feed a Side Chat's Usage to Its Composer's Gauge
* 📉 fix: Drop a Failed Side Chat Reply's Counted Usage
* 🧰 feat: Let a Schedule's Owner Authorize Each of the Agent's Tools, or Everything at Once
A schedule's grant could only be offered for an agent whose tools were all MCP tools. An
agent that also had code execution, web search, file search or an action could not be
authorized at all, and once its owner edited the schedule or the operator's deadline
passed its MCP tools stayed refused with no way out.
Each of an agent's other tools is now its own item in the offer, allowed or left out like
an MCP tool. The grant stores the ones the owner allowed, per agent. Under a grant, one
the owner left out is not loaded for the run and does not stop it; one the owner allowed
loads and runs, with the code environment's tools all allowed by code execution. The
dialog lists them in their own group and gains one control that allows every server and
tool at once. An API key's grant still limits MCP tools only.
* 🧰 fix: Hold a Schedule's Other Tools to the Grant's Deadline and Revocation
An MCP call is checked against the stored grant when it is made. The agents' other tools
have no such call, so a grant that had expired or been revoked still loaded and allowed
them. The run now holds them to the grant it read when it started: none loads from a
revoked grant, and they stop at the grant's deadline.
* 🧰 fix: Leave Out a Schedule's Unallowed Tools Where the Initializer Sets Them Up
The grant narrowed what the loader was asked for, but the initializer also reads the
agent's tool list for the markers that set up code execution and memory. A tool the owner
left out was still defined for the model and only refused when called. The list is now
narrowed once, where the initializer takes the agent, so everything below reads the
owner's choice.
Memory runs as two tools of other names. An allowed memory item now covers both at the
run's hook, as code execution covers the code environment's tools.
#18377 made `delegated` the default of endpoints.agents.remoteApi.integrations.mode, so
on upgrade a run started with a personal API key lost its MCP tools until the operator
declared servers and the key's owner granted them. That is a surprise for deployments
that never asked for grants.
The default is `owner` again: a key run uses the MCP servers its owner can, as before
grants existed. `delegated` stays available as an opt-in. The config loader's warning now
fires only for an operator who sets `delegated` and declares no server to grant.
* ✨ feat: Support Model Spec Handoff Targets
* fix: Preserve Effective Config and Transcript Identity for Preset Handoffs
* test: Provide Query Client for Search Transcript Handoff Fixture
* fix: Match the Subagent Icon Display Contract
* 🧱 fix: Bound Attachment Reads and Keep Bedrock's Document Limit
`getFileStream` buffered a stored object in full for every provider and every
kind of attachment, and the Bedrock document limit was `configured ??
provider`. The merged file config always carries a size limit (512 MB by
default), so with any `fileConfig` section Bedrock's 4.5 MB limit never
applied: an 8 MiB CSV was downloaded, decoded and serialized before Bedrock
refused it.
The shared reader takes a byte limit and stops at the first chunk past it. A
Bedrock document is refused from its recorded size before storage is opened,
read under that limit so an object larger than its record cannot reach memory
either, and reported as a 413 attachment error. A configured limit can lower
Bedrock's limit and no longer raise it.
* fix: Let a Set Limit Override Bedrock's, Keep Replay Tolerant
A limit the operator set overrides Bedrock's own, up or down, as it does for
other providers. What no longer counts is the 512 MB the merge fills in for
every endpoint, which is how the provider limit was lost whenever a
`fileConfig` section existed.
Replayed history skips the recorded-size refusal so an object that is gone is
still reported missing and left out; the bounded read refuses one that is
present. The client shows the size refusal under its attachment-limit
headline, not as a provider failure.
* 🔆 feat: Add GPT-6.2 Sol Support
* test: Correct Sol Request Helper Types
* fix: Apply Sol Constraints at Final Request Boundaries
---------
Co-authored-by: Lia <lia@librechat.ai>
* 🦪 fix: Keep Model Discovery Credentials Out of Logs
* fix: Preserve Model Lists When Shared Token Cache Fails
* test: Seed Shared Token Cache With a Typed Fixture
* test: Expect Safe Model Discovery Error Metadata
---------
Co-authored-by: Lia <lia@librechat.ai>
* 🪟 feat: Open a Conversation Beside the Chat From Its Menu
A conversation's menu in the sidebar offers to open it as a side chat
beside the chat on screen. The item appears only where there is a chat
to sit beside and side chats are on, and not for the chat on screen or
an archived one. The conversation's full record is read first, since a
side chat builds its turns from it.
* 🪟 fix: Give a Side Chat the Panel Slot It Was Asked For, Beside the Chat It Was Asked Beside
A side chat opened while an artifact or a child's activity is showing
now takes their place, as each of them takes its. A record lookup that
finishes after the reader has moved to another chat, or to the very
conversation asked for, opens nothing.
* 🪟 fix: Let the Newest Side Chat Request Win, and Test the Real Menu
An older Open beside chat whose record arrives late no longer replaces
the reader's newer choice, or a side chat opened another way meanwhile.
The item's tests now drive the production menu, hooks and strings, and
replace only the request for the conversation's record.
* 🪟 fix: Withdraw a Pending Side Chat for a Newer Panel, and Open It Clear of the Drawer
A side chat still being fetched no longer arrives over an artifact or a
child's activity opened after it was asked for. On a small screen the
sidebar drawer leaves first, the way it does when a conversation is
selected, so the side chat is not opened behind it. Once its
conversation is in, focus moves to its composer.
* 🪟 fix: Ask Again Whether a Side Chat Is Still Wanted Once the Drawer Has Left
The drawer takes a few frames to leave, and the checks that a side chat
was still the reader's newest ask ran before that. The request now
stays theirs until the side chat is written, and is asked about again
at that point.
* 🧪 test: Answer the Real Config Query in the Presentation's Side Chat Tests
* 🗝️ feat: Store an API Key's MCP Grants on the Key, One per Agent
* 🧬 refactor: Let the Consent Service and Enforcement Act for Any Grant Subject
* 🗝️ feat: Check an API Key Run's MCP Calls Against the Key's Grant for the Agent
* 🗝️ feat: Put Remote API Runs Under Their Key's Grant, Behind a Config Switch
* 🩹 fix: Export the Key Grant Storage the Server Wiring Loads
* 🔌 feat: Let an Owner Grant an API Key Its MCP Access From Settings
* 🗝️ fix: Decide Key Grant Access, Mode and Kind of Key in the TypeScript Host
The agent-access check and the grant-mode lookup lived in the legacy route and service
files. The host now builds the check from an injected agent reader and permission
reader, and the key handlers resolve the mode from an injected configuration reader.
Each authorized call read the owner three times and their configuration twice. The host
now reads both once per call and shares them between the access check, the limits and
the offer; nothing is kept between calls.
A background worker rebuilds its request from the admitted record, which names the key
but not its kind, so a key issued to an integration lost its exemption and its channel
runs were refused. The host asks the key store when the request carries no key itself.
* 🔌 fix: Say When a Key Grant's Agent List Is Loading, Failed or Empty
The key grant dialog turned a failed or pending agent list into an empty picker with an
instruction to choose from it. It now shows a spinner while the list loads, an error
with a retry when it could not be read and nothing is cached, and a plain statement when
the owner has no agent the key could run.
* 🧪 test: Hold the Pin Fences on an API Key's Per-Agent Grants
* 🔌 fix: Offer a Key Grant for the Agents the Key Can Run, and Only for Personal Keys
The grant dialog's picker read the app's agent catalog, which lists agents the owner can
view. Running an agent with a key follows another rule: the agent is shared with the
owner for remote use, or is theirs to share. An agent shared only for remote use could be
run but not granted. A new list, GET /api/api-keys/agents, applies that rule to all
agents, and the picker reads it.
A key issued to an integration holds no grants but showed the MCP access button. The key
list now marks such a key, and the button is not shown for it.
* 📮 fix: Resend a Durable Workspace Submission Lost Before It Reaches the Bridge
A durable submission clamped its queue wait to the whole admission horizon, so a same-ID resend could never keep its fingerprint without extending admission. A POST lost in transport was therefore never resent; the client polled 404 lookups until the queue horizon and execution reserve ran out (about 340-380 s under the default 300 s horizon). Leave a small share of the window unclaimed so the identical request can be resent while it still fits the original admission window.
* 🎚️ refactor: Configure the Durable Resubmission Window Through Admission Policy
Expose admission.resubmissionWindowMs on the attached code environment config. Omission keeps the transport-derived default of two transport timeouts plus one poll interval; 0 disables the same-ID resend; any value stays capped at a tenth of the remaining admission window.
* 📝 docs: State What a Zero Resubmission Window Reserves
* 🙋 feat: Let a Schedule's Owner Approve a Tool Before Each Use
* 🧪 test: Drive a Real Run Through a Schedule's Approval Pause and Resume
* 🙋 fix: Keep a Stored Ask-First Choice When a Run Can No Longer Pause
Where pausing became unavailable, the dialog hid the ask-first boxes and renewed the
grant without them, so a tool the owner approved each time started running unattended.
The dialog now starts from the stored choice either way and always sends it. Where a run
cannot pause it shows only the stored questions, with a note that those tools are refused
for now, and the owner can keep or drop them but add none. The server keeps the stored
questions for tools still allowed when a confirmation says nothing about asking, and
refuses only a new question where a run cannot pause.
* 🙋 fix: Say Why a Schedule Asks for Approval in the Reader's Language
The approval card showed an English sentence sent by the server as the request's
description. The server now sends a code, and the card maps it to a localized string.
Any other description is shown as sent.
* 🙋 fix: Never Offer Always Allow for a Tool a Schedule Asks About Each Use
Where the endpoint enables Always allow, a schedule's approval card offered it for a tool
the owner approves on each use. Choosing it stored a conversation allow the schedule
still overrode at the next use. The offer and the recheck at resume now take a predicate
for anything beyond the policy that asks on every use, and the schedule's grant supplies
it, so such a tool is neither offered nor stored.
* 🙋 fix: Let the Owner Ask First About as Many Tools as They Can Allow
The confirmation accepted up to 25,600 allowed tools per server but only 256 to ask
about, so a large grant could not be confirmed with every tool set to ask first.
* 🙋 fix: Keep a Tool Asking First When the Owner Allows Its Changed Definition
The dialog derived the ask-first boxes from the ticked tools. A tool whose definition
changed starts unticked, so its stored question was dropped, and ticking the tool again
confirmed it as unattended. The ask-first selection is now kept apart from the ticks,
starts from the stored grant, and is narrowed to the ticked tools only when the
confirmation is sent. The owner's edits to it hold only for the grant they were made
against, so a question added to a grant confirmed elsewhere is not dropped unseen.
Under a grant, a run loads only the MCP tools the owner allowed. The filter looked only
at keys naming one tool, so a key standing for every tool on a server, or for the server
alone, was loaded as it was. The run policy and the call-time check still refused the
calls, but the tools were defined for the model and the server was connected to.
A key for every tool on a server is no longer loaded under a grant, since the grant lists
tools by name. A key for the server alone is kept only where the grant lists a tool on
that server for the agent.
* 🪟 feat: Continue a Subagent's Thread as a Chat Beside the Conversation
* 🪟 fix: Take a Side Chat's Streamed Attachments Where Main Chat's Go
What a tool hands back while a side chat's generation runs (search
sources, a generated file) reached no handler, so it was missing from
the rows and from the app's file, memory and preview caches. The side
chat's stream now uses the app's attachment handler.
* 🪞 fix: Deliver Each Text Delta Once When a Redis Resume Lands on the Hosting Replica
On the replica that hosts a run, a Redis resume snapshot is the run's live content array.
It was read before the Pub/Sub subscription existed and serialized after it, so every text
delta produced in between reached the client twice: once in the snapshot and once from
Pub/Sub. The client appends deltas, so the text doubled until the final message replaced it.
Publish each chunk with the emitting manager's id and emission count. After subscribing,
take the snapshot again as a copy at a known count, and skip that manager's text and
reasoning deltas up to it. Other events are still delivered, since the client applies them
idempotently and run-step deltas are not always folded into the content.
* 🪞 fix: Anchor a Hosted Resume on a Local Content Copy Instead of a Second State Read
Anchoring the snapshot by reading the whole resume state again added three Redis read
phases to every resume on the hosting replica. The content, the emission count and the run
steps the copy needs are all local, so take them synchronously after the fenced job read the
resume already makes, and keep the rest of the state from the first read.
* 📜 fix: Read a Child Thread's Messages a Page at a Time
The child messages route read a thread's whole stored history, and a
card previewing a running child triggers that read without anyone
asking. Every read is now one page (50 rows or 2 MiB, newest first)
with a cursor for the page before it, the followed pane keeps the pages
it has read and offers the earlier ones, and a client or server that
predates paging still gets a list.
* 📜 fix: Start a New Follower From Its Own Newest Page
A follower recreated over rows another one left in the cache kept them
without knowing where they began, so the earlier-messages control was
gone. It now places its first page itself and takes that page's
cursor.
* 📌 feat: Pin an Allowed Schedule Tool to the Definition It First Ran With
* 📌 fix: Bind a Confirmation to the Changed Tools the Owner Was Shown
* 📌 fix: Untick a Tool Marked as Changed While the Owner Is Choosing
The dialog reads the offer again while it is open. A tool marked as changed after the
owner's last tick kept its tick, so confirming would have allowed the new definition
without the warning having been in view when the box was ticked. The edit now records
which tools were marked when it was made, and a tool marked since then is unticked
until the owner ticks it again.
* 📌 fix: Check Pins and Marks in the Writes That Admit, Confirm and Revoke
A use read the grant, then was admitted by a write that looked at neither the marks nor
the pins. A mark or a first pin stored in between did not stop it. Admission now carries
the definitions in use and refuses, in the same write, a tool that is marked or pinned to
another digest. A use refused this way marks the tool when the stored pin disagrees with
what it saw.
A confirmation and a revocation replace the grant whole, built from an earlier read. A
pin or mark a run added in between was dropped, so the next use could pin a different
definition unnoticed. Both writes now refuse when either list has grown since the read:
the confirmation reports the offer as changed, and the revocation reads again.
* 📌 fix: Tie a Tick on a Changed Tool to the Grant That Marked It
The dialog remembered which tools were marked when the owner last ticked a box, by name
only. If the grant was replaced elsewhere and a run marked the same tool again, the old
tick stood and confirming accepted a change the owner had not looked at. The edit now
records the grant revision, and a tool marked under another revision is unticked until
the owner ticks it again.
* 📮 feat: Send a Turn Through the Chat Class's Generation Transport
* 🧵 fix: Report a Start Whose Stream Will Not Open as a Dropped Stream
A start the server took but whose stream did not open came back as a
settled turn with no negotiated protocol, which the Chat refuses, and a
stop that landed while the stream was opening had no generation to
address. It is now a named stream that dropped before its first frame:
the Chat stops it by name, or asks again and settles on what it finds.