LibreChat/packages/api/src
Danny Avila ff522e0771
🧭 refactor: Build One Execution Context Where a Run Enters (#18255)
* 🧭 refactor: Build One Execution Context Where a Run Enters

Each consumer of a scheduled run's identity (the host token resolver, the
scheduled MCP authority and the resource-bearer host) read the trigger body
and the restored job for itself, and the remote agent API carried a separate
`unattended` flag through tool loading.

The entry point now builds one frozen ExecutionContext: the chat controller
from the verified schedule trigger, the resume host from the saved job, and
the remote controllers from the run envelope. The initializer and tool
loading receive it as an argument. The schedule consumers project their
identity from it, and `unattended` is derived from it at the tool-loading
boundary. No client or model input sets any field.

* 🧭 refactor: Decide Whether a Run Is Unattended in Its Execution Context
2026-11-18 07:39:34 -05:00
..
acl 🤖 fix: Guard Mongo Cleanup And Await ACL Test Cleanup (#17991) 2026-11-13 17:49:53 +01:00
actions 🏯 fix: Bind MCP Grants to Authorized Agent State and Server Identity (#18233) 2026-11-16 18:42:32 -05:00
admin 🚠 feat: Bridge Registered SDK Agents to Remote Runtimes (#18150) 2026-11-14 10:56:05 -05:00
agents 🧭 refactor: Build One Execution Context Where a Run Enters (#18255) 2026-11-18 07:39:34 -05:00
apiKeys
app 🐦‍🔥 fix: Recover Redis Clients After Extended Outages (#18164) 2026-11-16 19:04:57 -05:00
artifacts
assistants 🤖 fix: Guard Mongo Cleanup And Await ACL Test Cleanup (#17991) 2026-11-13 17:49:53 +01:00
auth 🤖 fix: Guard Mongo Cleanup And Await ACL Test Cleanup (#17991) 2026-11-13 17:49:53 +01:00
cache 🧦 test: Verify Redis Fixture Cleanup With Reused Ports (#18275) 2026-11-17 14:22:47 -05:00
cdn
channels 🧽 fix: Guard Remaining Mongo Cleanup In Post-Audit Tests (#18132) 2026-11-14 15:08:10 +01:00
clientlimits
cluster
code 🧵 feat: Run Background Shell Commands Without Holding Their Worktree (#18247) 2026-11-17 09:36:27 -05:00
conversations 🎍 fix: Preserve Every Conversation Branch When Duplicating (#18257) 2026-11-17 09:54:40 -05:00
crypto ⚙️ fix: Guard Mongo Cleanup In Package Service Tests (#17992) 2026-11-13 18:18:17 +01:00
db
endpoints 💧 feat: Add Gemini Hydrogen Support (#18159) 2026-11-16 10:26:55 -05:00
favorites
files 🪴 fix: Recognize Live Code Files Across API Layouts (#18165) 2026-11-14 14:00:26 -05:00
flow
html
images
insights
langfuse
mcp 🏯 fix: Bind MCP Grants to Authorized Agent State and Server Identity (#18233) 2026-11-16 18:42:32 -05:00
memory
messages ⚙️ fix: Guard Mongo Cleanup In Package Service Tests (#17992) 2026-11-13 18:18:17 +01:00
middleware 🧑‍⚖️ feat: Preserve Input Policy and Persistence Admission for Remote Models (#18271) 2026-11-18 06:16:26 -05:00
modelSpecs
oauth
openapi
plugins
projects ⚙️ fix: Guard Mongo Cleanup In Package Service Tests (#17992) 2026-11-13 18:18:17 +01:00
prompts
protection 🧑‍⚖️ feat: Preserve Input Policy and Persistence Admission for Remote Models (#18271) 2026-11-18 06:16:26 -05:00
pulls ⚙️ fix: Guard Mongo Cleanup In Package Service Tests (#17992) 2026-11-13 18:18:17 +01:00
rum
schedules 🧭 refactor: Build One Execution Context Where a Run Enters (#18255) 2026-11-18 07:39:34 -05:00
security
shared-links ⚙️ fix: Guard Mongo Cleanup In Package Service Tests (#17992) 2026-11-13 18:18:17 +01:00
skills ⚙️ fix: Guard Mongo Cleanup In Package Service Tests (#17992) 2026-11-13 18:18:17 +01:00
storage
stream 🐦‍🔥 fix: Recover Redis Clients After Extended Outages (#18164) 2026-11-16 19:04:57 -05:00
telemetry
tools 🪨 fix: Supply Nonempty MCP Tool Descriptions for Bedrock 2026-11-13 17:22:15 +01:00
traces
types 🗓️ feat: Align Balance Resets to Fixed Calendar Boundaries (#18144) 2026-11-17 09:37:34 -05:00
user ⚙️ fix: Guard Mongo Cleanup In Package Service Tests (#17992) 2026-11-13 18:18:17 +01:00
utils 💧 feat: Add Gemini Hydrogen Support (#18159) 2026-11-16 10:26:55 -05:00
web
credentials.spec.ts
credentials.ts
imports.spec.ts
imports.ts
index.spec.ts
index.ts 🪪 feat: Add Agent Identity to Provider and MCP Header Templates (#18113) 2026-11-13 13:02:39 -05:00
sdk.ts 🛁 feat: Apply Host Provider-Text Protection to Remote SDK Runs (#18240) 2026-11-16 22:37:13 -05:00
telemetry.ts