From e8a943c7e834845f3c91a781d86aea716e225d4e Mon Sep 17 00:00:00 2001 From: Danny Avila Date: Thu, 30 Jul 2026 08:23:09 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=A6=20chore:=20bump=20`@librechat/agen?= =?UTF-8?q?ts`=20to=20v3.3.8=20(#14525)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Activates activity-label continuity end to end. The host side landed with the activity-groups feature (#14391) — the per-run accumulator that reads committed headers at request-build time, the `previousLabels` payload field, resume seeding, and the bridge passthrough — but the SDK had no field to receive them, so the traced generation path ignored the context and only the direct fallback rendered it. v3.3.8 carries danny-avila/agents#356, which adds `previousLabels` to `RunActivityLabelOptions` and renders it as the label prompt's first section (capped at 3, each entry whitespace-collapsed and clipped at 200 chars so one malformed header cannot forge prompt sections or inflate every later request in the run). Effect: consecutive same-activity batches now extend the run's story instead of restating a line already on screen, and setup batches stop being labeled with conclusions their tools had not yet established. Also included between v3.3.7 and v3.3.8: danny-avila/agents#354, which anchors summary coverage to a source message id. Lockfile carries no transitive churn — 3.3.8's dependency tree is identical to 3.3.7's. Verified against the installed package: 73 activityLabels tests and 218 api agents-controller tests pass, `tsc --noEmit` clean on packages/api, and the published build renders the capped, sanitized header section (oversized labels clipped, embedded newlines flattened to inert text). --- api/package.json | 2 +- package-lock.json | 10 +++++----- packages/api/package.json | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/api/package.json b/api/package.json index 47f958f4e4..232341e73d 100644 --- a/api/package.json +++ b/api/package.json @@ -46,7 +46,7 @@ "@azure/storage-blob": "^12.30.0", "@google/genai": "^2.8.0", "@keyv/redis": "^4.3.3", - "@librechat/agents": "^3.3.7", + "@librechat/agents": "^3.3.8", "@librechat/api": "*", "@librechat/data-schemas": "*", "@microsoft/microsoft-graph-client": "^3.0.7", diff --git a/package-lock.json b/package-lock.json index 15177436da..51f907dc1f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -61,7 +61,7 @@ "@azure/storage-blob": "^12.30.0", "@google/genai": "^2.8.0", "@keyv/redis": "^4.3.3", - "@librechat/agents": "^3.3.7", + "@librechat/agents": "^3.3.8", "@librechat/api": "*", "@librechat/data-schemas": "*", "@microsoft/microsoft-graph-client": "^3.0.7", @@ -10615,9 +10615,9 @@ } }, "node_modules/@librechat/agents": { - "version": "3.3.7", - "resolved": "https://registry.npmjs.org/@librechat/agents/-/agents-3.3.7.tgz", - "integrity": "sha512-lWX2Om+iME32QQy1kZKx52SE3edECp8Wgvvi4OJ7qdmsDSJPJOZBqKuSS8XNxAyGaqeo664H5JlgHWsa+I9CSw==", + "version": "3.3.8", + "resolved": "https://registry.npmjs.org/@librechat/agents/-/agents-3.3.8.tgz", + "integrity": "sha512-SpEKK4JsInpIggQNdiTzm+4VgBJRYVasDlJixsP7M+ahK48VzYvLIfkMPITKk2WZJ65RGkJqVnz6RmRLHIQhTA==", "license": "MIT", "dependencies": { "@anthropic-ai/sdk": "^0.115.0", @@ -42535,7 +42535,7 @@ "@azure/storage-blob": "^12.30.0", "@google/genai": "^2.8.0", "@keyv/redis": "^4.3.3", - "@librechat/agents": "^3.3.7", + "@librechat/agents": "^3.3.8", "@librechat/data-schemas": "*", "@modelcontextprotocol/sdk": "^1.29.0", "@opentelemetry/api": "^1.9.0", diff --git a/packages/api/package.json b/packages/api/package.json index 66a031aff3..27841fac18 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -108,7 +108,7 @@ "@azure/storage-blob": "^12.30.0", "@google/genai": "^2.8.0", "@keyv/redis": "^4.3.3", - "@librechat/agents": "^3.3.7", + "@librechat/agents": "^3.3.8", "@librechat/data-schemas": "*", "@modelcontextprotocol/sdk": "^1.29.0", "@opentelemetry/api": "^1.9.0",