Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"@azure/storage-blob": "^12.30.0",
"@google/genai": "^2.8.0",
"@keyv/redis": "^4.3.3",
"@librechat/agents": "^3.5.1",
"@librechat/agents": "^3.6.0",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Regenerate the Bun lockfile for the agents bump

Update bun.lock alongside this manifest change. It still records both workspace requirements and the resolved package as @librechat/agents@3.5.1, which no longer satisfies ^3.6.0; therefore Bun-based checkouts lose reproducibility, and bun install --frozen-lockfile cannot accept the committed state. Bun 1.2.14's bun install --help defines that flag as “Disallow changes to lockfile,” so the lockfile needs to contain the new workspace ranges and 3.6.0 resolution rather than relying on each user to rewrite it.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct, and I missed it — thanks. bun.lock was only added to the repo in db67520 (the merge of #14873), so it was not on my radar when I scoped this bump. It did still record ^3.5.1 in both workspace requirement blocks and @librechat/agents@3.5.1 as the resolution, so bun install --frozen-lockfile would have rejected the committed state. Fixed in 8535fed.

One caveat worth stating plainly, since it affects how you should read that commit: I could not regenerate it with bun. bun install --lockfile-only fails here because bun stores no integrity for the xlsx URL dependency and re-fetches cdn.sheetjs.com on every resolve, which this sandbox's network policy denies:

error: GET https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz - 403
error: xlsx@https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz failed to resolve

(Confirmed at the proxy layer, not just as a bun error — the gateway answers 403 to CONNECT cdn.sheetjs.com:443.) The same constraint is why npm ci cannot run here either.

So I updated the entry directly. That is exact rather than approximate in this specific case, because the package's dependency graph does not move between the two versions — I verified against the registry that dependencies, peerDependencies and optionalPeers at 3.6.0 are byte-identical to 3.5.1. Only three things can therefore change, and only those three did:

  • the two workspace requirement blocks → ^3.6.0
  • the resolution id → @librechat/agents@3.6.0
  • the integrity → sha512-PWDd29NL2Mtuomt… — which I cross-checked equals the hash npm independently resolved into package-lock.json

The existing @librechat/agents/* hoisting overrides (@anthropic-ai/sdk, @opentelemetry/sdk-node, diff, openai, uuid) stay valid untouched, since the dependency set they resolve is unchanged. Net diff is 3 lines. I also confirmed the file still parses.

If you'd rather have a bun-authored lockfile than a hand-verified one, a bun install --lockfile-only on a machine that can reach cdn.sheetjs.com should produce no further change — but I'd rather flag that I couldn't run it than imply I did.


Generated by Claude Code

"@librechat/api": "*",
"@librechat/data-schemas": "*",
"@microsoft/microsoft-graph-client": "^3.0.7",
Expand Down
6 changes: 3 additions & 3 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
"@azure/storage-blob": "^12.30.0",
"@google/genai": "^2.8.0",
"@keyv/redis": "^4.3.3",
"@librechat/agents": "^3.5.1",
"@librechat/agents": "^3.6.0",
"@librechat/data-schemas": "*",
"@modelcontextprotocol/sdk": "^1.30.0",
"@opentelemetry/api": "^1.9.0",
Expand Down
Loading