LibreChat/api/server
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
..
controllers 🧭 refactor: Build One Execution Context Where a Run Enters (#18255) 2026-11-18 07:39:34 -05:00
middleware 🥊 fix: Reject Malformed LDAP Credentials Before Authentication (#18235) 2026-11-16 20:04:11 -05:00
routes 🐨 feat: Read Subagent Messages Through Their Parent Conversation (#18187) 2026-11-17 10:05:42 -05:00
services 🧭 refactor: Build One Execution Context Where a Run Enters (#18255) 2026-11-18 07:39:34 -05:00
utils 🎍 fix: Preserve Every Conversation Branch When Duplicating (#18257) 2026-11-17 09:54:40 -05:00
cleanup.js
csp.spec.js fix: Guard Mongo Cleanup In Api Services Tests (#17990) 2026-11-11 11:10:39 +01:00
experimental.js 🚜 feat: Support Native PostgreSQL Tool Favorites (#18032) 2026-11-11 12:07:07 -05:00
experimental.spec.js
index.js 🎮 feat: Use Saved-Agent Host Models in Remote SDK Runtimes (#18261) 2026-11-18 06:16:00 -05:00
index.metrics.spec.js fix: Guard Mongo Cleanup In Api Services Tests (#17990) 2026-11-11 11:10:39 +01:00
index.spec.js ⏱️ test: Allow Cold-Cache Boot Time In API Server Spec (#18145) 2026-11-14 16:03:14 +01:00
persistence.spec.js 🚜 feat: Support Native PostgreSQL Tool Favorites (#18032) 2026-11-11 12:07:07 -05:00
socialLogins.js
socialLogins.spec.js
telemetry.js
telemetry.spec.js