LibreChat/api/server/services/Endpoints/agents
Danny Avila e621535665 🔀 chore: align lazy provisioning with codeEnvRef schema
Rebase onto current dev brought in the metadata.fileIdentifier →
metadata.codeEnvRef migration (HEAD uploadCodeEnvFile now returns
{ storage_session_id, file_id } and requires kind/id). Update the
unified-upload code paths to match:

- provision.js: provisionToCodeEnv now derives kind/id from entity_id,
  calls uploadCodeEnvFile with the new signature, and returns codeEnvRef
- checkSessionsAlive/checkCodeEnvFileAlive: read storage_session_id and
  remote file_id from metadata.codeEnvRef instead of parsing the legacy
  fileIdentifier string
- resources.ts: primeResources gates on metadata.codeEnvRef and clears
  it on staleness; TProvisionToCodeEnv reflects the new return shape
- initialize.js: provisionFiles closure destructures codeEnvRef
- process.spec.js: align two legacyFileUploadUX tests with the
  endpoint-level check landed in 7384947 and update the execute_code
  expectation to the codeEnvRef metadata shape
- resources.test.ts: import FileSources for the typed source field and
  guard the optional attachments map
2026-08-30 20:12:09 -04:00
..
addedConvo.js 🪡 fix: Thread Parent Message ID Through MCP Request-Scoped Bodies (#15095) 2026-08-21 16:33:01 -04:00
addedConvo.spec.js 🛟 fix: Stop Agents When Code Resources Cannot Recover (#14651) 2026-08-07 00:33:28 -04:00
backgroundCompletion.js 🛎️ feat: Wake Agents on Background Tool Completion (#15350) 2026-08-30 08:56:41 -04:00
build.js 🗂️ feat: Add Private Chat Projects (#13467) 2026-06-03 15:29:18 -04:00
eventChildLease.js 📨 feat: Continue Bound Child Agents from Events (#15112) 2026-08-23 01:15:57 -04:00
index.js
initialize.js 🔀 chore: align lazy provisioning with codeEnvRef schema 2026-08-30 20:12:09 -04:00
initialize.spec.js 🗿 feat: Add Attached Stateful Code Environments (#15352) 2026-08-30 15:38:45 -04:00
skillDeps.js 🔧 feat: Lazy file provisioning — defer uploads to tool invocation time 2026-08-30 20:12:09 -04:00
skillDeps.spec.js 🗂️ feat: Add Deployment Skill Directory (#13523) 2026-06-05 10:24:28 -04:00
subagentThreadStore.js 🎼 feat: Unify Agent Turn Execution Behind One Immutable Plan (#15296) 2026-08-27 22:26:46 -04:00
subagentThreadStore.spec.js 🎼 feat: Unify Agent Turn Execution Behind One Immutable Plan (#15296) 2026-08-27 22:26:46 -04:00
title.js 🛂 feat: Filter Model-Bound Content by Source (#14425) 2026-08-21 22:43:32 -04:00
title.test.js 🛂 feat: Filter Model-Bound Content by Source (#14425) 2026-08-21 22:43:32 -04:00