LibreChat/packages/data-provider/src
Danny Avila c83336c7bf
📡 fix: Stream Compaction Summaries as They Are Written (#18174)
* 🧽 fix: Replace an Abandoned Summary Attempt's Text When Its Retry Streams

Summary deltas append to the in-flight summary part. Once the agents SDK
streams them while the provider is still responding, an attempt that is
then abandoned (a retry, a fallback provider) has already put text in the
part, and the next attempt's deltas would follow it until the completion
event replaced the lot.

A delta may now carry `reset`: the part's content is replaced instead of
extended, and a reset with no content empties it. The part keeps its slot
and stays in flight. Deltas without the field behave as before, so this
is inert until the SDK sends it.

* 🦿 chore: Bump Agents SDK to 4.2.3

4.2.3 dispatches each summary delta while the provider is still responding
and marks the first delta after an abandoned attempt `reset`, which the
chat reducer now honors. It also stops sending reasoning as summary text,
which is where the `incoming.content is not iterable` handler errors
during compaction came from.

The release changed only the SDK's own dev dependencies and overrides, so
the lockfile moves the package's version, URL and integrity and nothing
else.
2026-11-15 08:53:22 -05:00
..
agents
code 📎 feat: Copy Chat Attachments into Attached Workspaces (#17376) 2026-10-23 07:37:50 +02:00
mcp
react-query 🛝 perf: Render Chats Independently of Catalog Discovery (#17692) 2026-11-09 11:11:22 -05:00
themes 🖼️ feat: Let a Theme Ask for a Welcome Backdrop (#18125) 2026-11-14 22:59:26 +01:00
types 📡 fix: Stream Compaction Summaries as They Are Written (#18174) 2026-11-15 08:53:22 -05:00
accessPermissions.ts 🔐 feat: Add Admin-Assigned Slack Bot Managers (#17836) 2026-11-10 21:04:12 -08:00
actions.ts 🪶 perf: Load Math, Highlighting, Side Panels and RE2 Only When Needed (#18108) 2026-11-13 17:21:50 +01:00
agentToolOptions.spec.ts
agentToolOptions.ts
api-endpoints.ts 🌐 feat: Connect Organization Slack Workspaces to Agents (#17811) 2026-11-10 21:04:10 -08:00
approval.spec.ts
approval.ts
artifacts.ts
azure.ts ⬆️ feat: Migrate to Zod v4 (#17442) 2026-10-26 14:16:22 +01:00
backgroundResults.ts
balance.spec.ts
balance.ts 📏 fix: Measure Usage Percent Against the Allowance Each Period Granted (#17850) 2026-11-09 08:27:13 -05:00
bedrock.spec.ts
bedrock.ts 🎐 feat: Add Claude Haiku 5.5 Support (#17201) 2026-10-17 14:03:20 +02:00
cadence.ts
chain.spec.ts
channelLink.ts 🔗 fix: Update Slack Account Linking in Place (#18039) 2026-11-10 21:04:12 -08:00
clientLimits.spec.ts 🪶 fix: Time Out Client Refresh and Trim Lodash Imports (#17467) 2026-10-27 23:30:08 +01:00
clientLimits.ts 🪶 fix: Time Out Client Refresh and Trim Lodash Imports (#17467) 2026-10-27 23:30:08 +01:00
cloudfront-config.spec.ts
codeEnvRef.spec.ts
codeEnvRef.ts
codeSetup.spec.ts 🧑‍✈️ feat: Enroll Machines Through Explicit Browser Approval (#17344) 2026-10-22 16:54:00 +02:00
codeSetup.ts 🧑‍✈️ feat: Enroll Machines Through Explicit Browser Approval (#17344) 2026-10-22 16:54:00 +02:00
config.spec.ts 🧵 feat: Stream a Background Subagent Child Through Its Own Generation Job (#18169) 2026-11-15 08:35:08 -05:00
config.ts 🧵 feat: Stream a Background Subagent Child Through Its Own Generation Job (#18169) 2026-11-15 08:35:08 -05:00
createPayload.spec.ts
createPayload.ts
cyber.spec.ts 🦂 feat: Add GPT-6 Cyber Support (#18023) 2026-11-11 16:50:26 -05:00
data-service.ts 🔐 feat: Add Admin-Assigned Slack Bot Managers (#17836) 2026-11-10 21:04:12 -08:00
errors.spec.ts
errors.ts
families.spec.ts 🏜️ feat: Add GPT-6.1 Terra Support (#18016) 2026-11-10 14:57:14 -05:00
families.ts 🏜️ feat: Add GPT-6.1 Terra Support (#18016) 2026-11-10 14:57:14 -05:00
feedback.spec.ts
feedback.ts 🔢 fix: Pair English Plural Keys as _one/_other for Locize (#17223) 2026-10-18 14:11:02 +02:00
file-config.spec.ts 🏜️ feat: Add GPT-6.1 Terra Support (#18016) 2026-11-10 14:57:14 -05:00
file-config.ts 🏜️ feat: Add GPT-6.1 Terra Support (#18016) 2026-11-10 14:57:14 -05:00
file-config.validation.spec.ts
filters.spec.ts 🪶 perf: Load Math, Highlighting, Side Panels and RE2 Only When Needed (#18108) 2026-11-13 17:21:50 +01:00
filters.ts 🪶 perf: Load Math, Highlighting, Side Panels and RE2 Only When Needed (#18108) 2026-11-13 17:21:50 +01:00
footer.spec.ts
footer.ts
generate.ts ⬆️ feat: Migrate to Zod v4 (#17442) 2026-10-26 14:16:22 +01:00
headers-helpers.ts
index.ts 🔗 fix: Update Slack Account Linking in Place (#18039) 2026-11-10 21:04:12 -08:00
keys.ts 🌐 feat: Connect Organization Slack Workspaces to Agents (#17811) 2026-11-10 21:04:10 -08:00
langchain.spec.ts
langchain.ts
limits.ts
mcp.ts ⬆️ feat: Migrate to Zod v4 (#17442) 2026-10-26 14:16:22 +01:00
messages.spec.ts 📰 fix: Preview Pasted Text Without Blocking Sends (#17962) 2026-11-10 08:10:21 -05:00
messages.ts 📰 fix: Preview Pasted Text Without Blocking Sends (#17962) 2026-11-10 08:10:21 -05:00
models.spec.ts 🗂️ feat: Defer System Tools Behind Tool Search (#17864) 2026-11-09 08:27:01 -05:00
models.ts 🗂️ feat: Defer System Tools Behind Tool Search (#17864) 2026-11-09 08:27:01 -05:00
parameterSettings.spec.ts 🎚️ fix: Resolve Parameters for Bare Bedrock Claude Model IDs (#18041) 2026-11-12 22:40:58 -05:00
parameterSettings.ts 🦂 feat: Add GPT-6 Cyber Support (#18023) 2026-11-11 16:50:26 -05:00
parsers.ts
parts.spec.ts 🏷️ fix: Drop a File Name Removed Through the UI Parts View (#17184) 2026-10-16 23:02:13 +02:00
parts.ts 🏷️ fix: Drop a File Name Removed Through the UI Parts View (#17184) 2026-10-16 23:02:13 +02:00
permissions.ts
permissionWriteAttempts.spec.ts
persistence.spec.ts 🚜 feat: Support Native PostgreSQL Tool Favorites (#18032) 2026-11-11 12:07:07 -05:00
previews.spec.ts
previews.ts
provider.spec.ts
providers.ts 🏷️ fix: Resolve endpoints.all Title Settings per Field and Fold Ollama Endpoint Names (#17316) 2026-10-22 16:57:42 +02:00
pullRequest.spec.ts
queuedTurnTransport.spec.ts
reasoning.spec.ts
reasoning.ts
request.spec.ts 🍪 fix: Skip the Axios XSRF Cookie Read So Requests Are Not Stranded (#17925) 2026-11-09 09:26:32 +01:00
request.ts 🪢 fix: Resolve the Races Behind Four Intermittent Session and Scenario E2E Tests (#18061) 2026-11-11 16:22:39 -05:00
resolve-llm-delivery-path.spec.ts 🌳 fix: Preserve Primary Files Until Secondary Cleanup Succeeds (#17228) 2026-10-23 07:00:20 +02:00
resolve-llm-delivery-path.ts 🌳 fix: Preserve Primary Files Until Secondary Cleanup Succeeds (#17228) 2026-10-23 07:00:20 +02:00
roles.spec.ts
roles.ts
runSteps.spec.ts
runSteps.ts
schemas.spec.ts 🎚️ fix: Resolve Parameters for Bare Bedrock Claude Model IDs (#18041) 2026-11-12 22:40:58 -05:00
schemas.ts 🎚️ fix: Resolve Parameters for Bare Bedrock Claude Model IDs (#18041) 2026-11-12 22:40:58 -05:00
splitMCPToolKey.spec.ts
spreadsheet.spec.ts 🦦 fix: Bound Spreadsheet Text Extraction (#17824) 2026-11-09 08:27:47 -05:00
stateful-code.ts
svg.ts
theme.ts 🖼️ feat: Let a Theme Ask for a Welcome Backdrop (#18125) 2026-11-14 22:59:26 +01:00
toolTiming.spec.ts
toolTiming.ts
twoFactor.spec.ts
twoFactor.ts
types.ts 🚪 fix: Let Users Sign Out of Required Two-Factor Enrollment (#17956) 2026-11-09 17:40:50 +01:00
upload.spec.ts
upload.ts
utils.ts
zod.spec.ts ⬆️ feat: Migrate to Zod v4 (#17442) 2026-10-26 14:16:22 +01:00
zod.ts ⬆️ feat: Migrate to Zod v4 (#17442) 2026-10-26 14:16:22 +01:00