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 🌐 feat: Wire Responses and Channel Lifecycle APIs (#17611) 2026-11-10 21:04:03 -08:00
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 🪶 fix: Time Out Client Refresh and Trim Lodash Imports (#17467) 2026-10-27 23:30:08 +01:00
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 🏨 fix: Restore Strict Tenant Startup and Sign-In (#17441) 2026-10-26 01:08:30 +01:00
endpoints 💧 feat: Add Gemini Hydrogen Support (#18159) 2026-11-16 10:26:55 -05:00
favorites 🧊 fix: Fence Auth User Cache Writes After Eviction and Evict Favorite Holders (#17505) 2026-10-29 17:44:51 +01:00
files 🪴 fix: Recognize Live Code Files Across API Layouts (#18165) 2026-11-14 14:00:26 -05:00
flow 🔐 fix: Fence ACL Viewers and Surface Revocation Failures When Removing Shared MCP Servers (#17506) 2026-10-28 00:37:07 +01:00
html 🪟 feat: Add Welcome Footer and Response Author Options and Tidy the Chat Chrome (#17879) 2026-11-08 14:57:59 +01:00
images
insights
langfuse 👍 feat: Record Feedback on Delivered Channel Responses (#17610) 2026-11-10 21:04:02 -08:00
mcp 🏯 fix: Bind MCP Grants to Authorized Agent State and Server Identity (#18233) 2026-11-16 18:42:32 -05:00
memory 🧮 fix: Count Memory Tokens After the o200k Encoding Loads (#17892) 2026-11-08 15:23:40 +01:00
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 🌿 perf: Read Only the Active Branch for Turn History (#17971) 2026-11-10 17:32:58 +01:00
oauth 🪟 fix: Serve the OAuth Error Page for Connect Callback Failures (#17946) 2026-11-09 17:41:17 +01:00
openapi 🔗 feat: Link Langfuse Prompts as Agent Instructions (#17294) 2026-10-30 17:28:37 +01:00
plugins
projects ⚙️ fix: Guard Mongo Cleanup In Package Service Tests (#17992) 2026-11-13 18:18:17 +01:00
prompts 🔗 feat: Link Langfuse Prompts as Agent Instructions (#17294) 2026-10-30 17:28:37 +01:00
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 🔗 fix: Encode Local Storage URLs and Reject Nested File Names (#17949) 2026-11-09 17:40:12 +01:00
stream 🐦‍🔥 fix: Recover Redis Clients After Extended Outages (#18164) 2026-11-16 19:04:57 -05:00
telemetry 🖨️ feat: Add OpenTelemetry Tool Execution Logs (#18035) 2026-11-11 12:06:56 -05:00
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