LibreChat/packages/api/src/files
Danny Avila c5a5fbdaf1
🔐 fix: Authenticate Code Session Probes the Way Their Route Expects (#16688)
* 🔐 fix: Authenticate Code Session Probes the Way Their Route Expects

The liveness probe for previously uploaded code-env files ran with no request from
agent initialization and no route identity, so against an attached or stateful
route it fell back to the managed X-API-Key, which a worker-bound route rejects
with 401. It now mints the bearer for the route's worker and sends the route's
profile and worker headers, exactly as that route's uploads and reads do. The
managed key is reserved for the default Code API and is not even loaded for other
routes; when a route needs a bearer that cannot be minted, its refs are left
unverified without sending a request.

* 🔐 fix: Gate the Session Probe on a Credential Source, Not the Global Auth Mode
2026-10-02 20:12:08 -04:00
..
agents 🚚 feat: Route Attachments and Provision Tools Lazily (#15763) 2026-09-08 23:28:52 -04:00
code 🥾 fix: Advertise Stable Uploaded File Paths Before Code Execution (#16578) 2026-10-01 21:31:35 -04:00
documents ⏸️ fix: Pause LibreOffice Previews (#16583) 2026-09-30 22:35:14 -04:00
encode 📄 fix: Send Textual Documents to Claude Through Gateways as Text (#16055) 2026-09-19 14:50:43 -04:00
mistral
provision 🔐 fix: Authenticate Code Session Probes the Way Their Route Expects (#16688) 2026-10-02 20:12:08 -04:00
rag 🫖 fix: Skip Blank RAG Queries Before Embedding (#16231) 2026-09-23 01:15:04 -04:00
upload 🪂 feat: Opt-In Text Fallback for Files No Tool Can Read (#15940) 2026-09-14 21:02:54 -04:00
audio.spec.ts
audio.ts
citations.spec.ts
citations.ts
context.spec.ts
context.test.ts 🚚 feat: Route Attachments and Provision Tools Lazily (#15763) 2026-09-08 23:28:52 -04:00
context.ts 🦘 feat: Share Run-Scoped Files With Subagents (#15848) 2026-09-12 20:14:22 -04:00
deletion.spec.ts 🥡 fix: Delete Storage and Embeddings With Owned Agent Files (#16007) 2026-09-17 02:59:25 +00:00
deletion.ts 🥡 fix: Delete Storage and Embeddings With Owned Agent Files (#16007) 2026-09-17 02:59:25 +00:00
extract.spec.ts
extract.ts 🪂 feat: Opt-In Text Fallback for Files No Tool Can Read (#15940) 2026-09-14 21:02:54 -04:00
fileConfigRegex.spec.ts
filter.spec.ts 🚚 feat: Route Attachments and Provision Tools Lazily (#15763) 2026-09-08 23:28:52 -04:00
filter.ts 🦘 feat: Share Run-Scoped Files With Subagents (#15848) 2026-09-12 20:14:22 -04:00
index.ts 💬 refactor: ChatForm UI redesign with unified palette (#14473) 2026-10-01 03:46:18 +00:00
list.spec.ts 💬 refactor: ChatForm UI redesign with unified palette (#14473) 2026-10-01 03:46:18 +00:00
list.ts 💬 refactor: ChatForm UI redesign with unified palette (#14473) 2026-10-01 03:46:18 +00:00
mime.spec.ts
mime.ts
ocr.ts
parse.ts
preflight.spec.ts
preflight.ts
rag.spec.ts
rag.ts
regexEngine.ts
retention.spec.ts ⏳ feat: Add Ephemeral Retention Mode for Forced Temporary Chats (#13811) 2026-10-01 03:46:19 +00:00
retention.ts ⏳ feat: Add Ephemeral Retention Mode for Forced Temporary Chats (#13811) 2026-10-01 03:46:19 +00:00
sse.spec.ts
sse.ts
sweep.spec.ts 👑 fix: Elect a Single Expired-File Sweeper (#15909) 2026-09-14 02:05:52 -04:00
sweep.ts 👑 fix: Elect a Single Expired-File Sweeper (#15909) 2026-09-14 02:05:52 -04:00
text.spec.ts
text.ts
usage.spec.ts
usage.ts
validation.spec.ts
validation.ts