LibreChat/api/server/services/Endpoints/agents
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
..
addedConvo.js 🧭 perf: Validate Agent Models Against Their Own Endpoint Catalog (#17972) 2026-11-10 17:33:29 +01:00
addedConvo.spec.js 🧭 perf: Validate Agent Models Against Their Own Endpoint Catalog (#17972) 2026-11-10 17:33:29 +01:00
backgroundCompletion.js 🪇 perf: Coalesce Ready Background Completions (#16650) 2026-10-02 15:03:22 -04:00
build.js ⚡ perf: Exclude Agent Version History From Default getAgent Reads (#16070) 2026-09-20 19:27:21 -04:00
eventChildLease.js 📨 feat: Continue Bound Child Agents from Events (#15112) 2026-08-23 01:15:57 -04:00
index.js
initialize.js 🧭 refactor: Build One Execution Context Where a Run Enters (#18255) 2026-11-18 07:39:34 -05:00
initialize.spec.js 🧭 refactor: Build One Execution Context Where a Run Enters (#18255) 2026-11-18 07:39:34 -05:00
linkedInstructions.js 🏭 refactor: Centralize Source Prompt Imports in the Prompt Service (#17272) 2026-10-24 13:51:31 +02:00
skillDeps.js 🔌 feat: Integrate Durable Skill Lifecycle Across Writers and Routes (#17043) 2026-10-16 09:05:05 -07:00
skillDeps.spec.js 🔌 feat: Integrate Durable Skill Lifecycle Across Writers and Routes (#17043) 2026-10-16 09:05:05 -07:00
subagentThreadStore.js 🧵 feat: Stream a Background Subagent Child Through Its Own Generation Job (#18169) 2026-11-15 08:35:08 -05:00
subagentThreadStore.spec.js 🧵 feat: Stream a Background Subagent Child Through Its Own Generation Job (#18169) 2026-11-15 08:35:08 -05:00
title.js 🧯 fix: Guard SSE Writes and Interval Cleanups Against Crashes (#17462) 2026-10-27 23:06:58 +01:00
title.test.js 🖲️ fix: Enable Running Chat Menus and Preserve Renamed Titles (#16697) 2026-10-03 23:17:15 -04:00