Skip to content

Commit 90eb5be

Browse files
authored
πŸ€– Update AI SDK dependencies to latest patch versions (#265)
## Updates - **ai**: 5.0.56 β†’ 5.0.72 (16 patch versions) - **@ai-sdk/anthropic**: 2.0.20 β†’ 2.0.29 (9 patch versions) - **@ai-sdk/openai**: 2.0.40 β†’ 2.0.52 (12 patch versions) ## Key Improvements ### Core AI SDK (5.0.56 β†’ 5.0.72) - Better tool call handling and validation - Improved streaming behavior (onFinish now called on cancellation) - Enhanced type safety for reasoning outputs and tool results - Better backpressure handling in streaming responses - Improved error handling and validation ### Anthropic Provider (2.0.20 β†’ 2.0.29) - Cache control provider options support - Tool result ordering fixes for API validation - Support for pause_turn and refusal stop reasons - JSON output tool improvements ### OpenAI Provider (2.0.40 β†’ 2.0.52) - Model ID updates for newer GPT models - Better reasoning content handling - Improved tool result types ## Risk Assessment βœ… **Low risk** - All patch versions (no breaking changes expected per semver) ## Testing - βœ… Type checking passed - βœ… Linting passed - βœ… Unit tests passed (535 tests) - ⏱️ Integration tests running in CI _Generated with `cmux`_
1 parent 3c1c4fe commit 90eb5be

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

β€Žbun.lockβ€Ž

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
"": {
55
"name": "cmux",
66
"dependencies": {
7-
"@ai-sdk/anthropic": "^2.0.20",
8-
"@ai-sdk/openai": "^2.0.40",
7+
"@ai-sdk/anthropic": "^2.0.29",
8+
"@ai-sdk/openai": "^2.0.52",
99
"@emotion/react": "^11.14.0",
1010
"@emotion/styled": "^11.14.1",
11-
"ai": "^5.0.56",
11+
"ai": "^5.0.72",
1212
"ai-tokenizer": "^1.0.3",
1313
"cmdk": "^1.0.0",
1414
"crc-32": "^1.2.2",
@@ -78,15 +78,15 @@
7878
"packages": {
7979
"7zip-bin": ["[email protected]", "", {}, "sha512-ukTPVhqG4jNzMro2qA9HSCSSVJN3aN7tlb+hfqYCt3ER0yWroeA2VR38MNrOHLQ/cVj+DaIMad0kFCtWWowh/A=="],
8080

81-
"@ai-sdk/anthropic": ["@ai-sdk/[email protected].24", "", { "dependencies": { "@ai-sdk/provider": "2.0.0", "@ai-sdk/provider-utils": "3.0.11" }, "peerDependencies": { "zod": "^3.25.76 || ^4.1.8" } }, "sha512-phFSmmwEZIDEyzZKujV+/w8IEHPMfU4ryYT6W8HC0gfdw6GaU8EiGTsNGyu7vS1cyE0zJsymQP55ahb85RSfQg=="],
81+
"@ai-sdk/anthropic": ["@ai-sdk/[email protected].29", "", { "dependencies": { "@ai-sdk/provider": "2.0.0", "@ai-sdk/provider-utils": "3.0.12" }, "peerDependencies": { "zod": "^3.25.76 || ^4.1.8" } }, "sha512-kDYYgbBoeTwB+wMuQRE7iFx8dA3jv4kCSB7XtQypP7/lt1P+G1LpeIMTRbwp4wMzaZTfThZBWDCkg/OltDo2VA=="],
8282

83-
"@ai-sdk/gateway": ["@ai-sdk/[email protected].35", "", { "dependencies": { "@ai-sdk/provider": "2.0.0", "@ai-sdk/provider-utils": "3.0.11", "@vercel/oidc": "3.0.2" }, "peerDependencies": { "zod": "^3.25.76 || ^4.1.8" } }, "sha512-cdsXbeRRMi6QxbZscin69Asx2fi0d2TmmPngcPFUMpZbchGEBiJYVNvIfiALKFKXEq0l/w0xGNV3E13vroaleA=="],
83+
"@ai-sdk/gateway": ["@ai-sdk/[email protected].40", "", { "dependencies": { "@ai-sdk/provider": "2.0.0", "@ai-sdk/provider-utils": "3.0.12", "@vercel/oidc": "3.0.2" }, "peerDependencies": { "zod": "^3.25.76 || ^4.1.8" } }, "sha512-zlixM9jac0w0jjYl5gwNq+w9nydvraAmLaZQbbh+QpHU+OPkTIZmyBcKeTq5eGQKQxhi+oquHxzCSKyJx3egGw=="],
8484

85-
"@ai-sdk/openai": ["@ai-sdk/[email protected].45", "", { "dependencies": { "@ai-sdk/provider": "2.0.0", "@ai-sdk/provider-utils": "3.0.11" }, "peerDependencies": { "zod": "^3.25.76 || ^4.1.8" } }, "sha512-9OsVWzW502UCYN1VS9D+1flwrF9GqFvpfybfb1iLIdvmCbXXKXpozhLyuAW82FY67hfiIlOsvlgT9UYtljlQmw=="],
85+
"@ai-sdk/openai": ["@ai-sdk/[email protected].52", "", { "dependencies": { "@ai-sdk/provider": "2.0.0", "@ai-sdk/provider-utils": "3.0.12" }, "peerDependencies": { "zod": "^3.25.76 || ^4.1.8" } }, "sha512-n1arAo4+63e6/FFE6z/1ZsZbiOl4cfsoZ3F4i2X7LPIEea786Y2yd7Qdr7AdB4HTLVo3OSb1PHVIcQmvYIhmEA=="],
8686

8787
"@ai-sdk/provider": ["@ai-sdk/[email protected]", "", { "dependencies": { "json-schema": "^0.4.0" } }, "sha512-6o7Y2SeO9vFKB8lArHXehNuusnpddKPk7xqL7T2/b+OvXMRIXUO1rR4wcv1hAFUAT9avGZshty3Wlua/XA7TvA=="],
8888

89-
"@ai-sdk/provider-utils": ["@ai-sdk/[email protected].11", "", { "dependencies": { "@ai-sdk/provider": "2.0.0", "@standard-schema/spec": "^1.0.0", "eventsource-parser": "^3.0.5" }, "peerDependencies": { "zod": "^3.25.76 || ^4.1.8" } }, "sha512-4hgHj89VqyOHzGaV85TkcgvO8WjecVF35TOUVg+C56vnzpWSgdIZu/ZWZNdZ6BTrv8y0N1toBWW7XcWiRRicLg=="],
89+
"@ai-sdk/provider-utils": ["@ai-sdk/[email protected].12", "", { "dependencies": { "@ai-sdk/provider": "2.0.0", "@standard-schema/spec": "^1.0.0", "eventsource-parser": "^3.0.5" }, "peerDependencies": { "zod": "^3.25.76 || ^4.1.8" } }, "sha512-ZtbdvYxdMoria+2SlNarEk6Hlgyf+zzcznlD55EAl+7VZvJaSg2sqPvwArY7L6TfDEDJsnCq0fdhBSkYo0Xqdg=="],
9090

9191
"@antfu/install-pkg": ["@antfu/[email protected]", "", { "dependencies": { "package-manager-detector": "^1.3.0", "tinyexec": "^1.0.1" } }, "sha512-MGQsmw10ZyI+EJo45CdSER4zEb+p31LpDAFp2Z3gkSd1yqVZGi0Ebx++YTEMonJy4oChEMLsxZ64j8FH6sSqtQ=="],
9292

@@ -722,7 +722,7 @@
722722

723723
"agent-base": ["[email protected]", "", { "dependencies": { "debug": "4" } }, "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ=="],
724724

725-
"ai": ["[email protected].62", "", { "dependencies": { "@ai-sdk/gateway": "1.0.35", "@ai-sdk/provider": "2.0.0", "@ai-sdk/provider-utils": "3.0.11", "@opentelemetry/api": "1.9.0" }, "peerDependencies": { "zod": "^3.25.76 || ^4.1.8" } }, "sha512-IZ5H0rIgwoMx/H9hdZnjW0AjXDMhJnPZlnl+xzfP3vsG76+4k/vYJBYJ4kbKAGCRhaErhc2sK22bSegpXqnhEQ=="],
725+
"ai": ["[email protected].72", "", { "dependencies": { "@ai-sdk/gateway": "1.0.40", "@ai-sdk/provider": "2.0.0", "@ai-sdk/provider-utils": "3.0.12", "@opentelemetry/api": "1.9.0" }, "peerDependencies": { "zod": "^3.25.76 || ^4.1.8" } }, "sha512-LB4APrlESLGHG/5x+VVdl0yYPpHPHpnGd5Gwl7AWVL+n7T0GYsNos/S/6dZ5CZzxLnPPEBkRgvJC4rupeZqyNg=="],
726726

727727
"ai-tokenizer": ["[email protected]", "", { "peerDependencies": { "ai": "^5.0.0" }, "optionalPeers": ["ai"] }, "sha512-S2AQmQclsFVo79cu6FRGXwFQ0/0g+uqiEHLDvK7KLTUt8BdBE1Sf9oMnH5xBw2zxUmFWRx91GndvwyW6pw+hHw=="],
728728

β€Žpackage.jsonβ€Ž

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@
3030
"docs:watch": "make docs-watch"
3131
},
3232
"dependencies": {
33-
"@ai-sdk/anthropic": "^2.0.20",
34-
"@ai-sdk/openai": "^2.0.40",
33+
"@ai-sdk/anthropic": "^2.0.29",
34+
"@ai-sdk/openai": "^2.0.52",
3535
"@emotion/react": "^11.14.0",
3636
"@emotion/styled": "^11.14.1",
37-
"ai": "^5.0.56",
37+
"ai": "^5.0.72",
3838
"ai-tokenizer": "^1.0.3",
3939
"cmdk": "^1.0.0",
4040
"crc-32": "^1.2.2",

0 commit comments

Comments
Β (0)