ai 6.0.168 → 6.0.169

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # ai
2
2
 
3
+ ## 6.0.169
4
+
5
+ ### Patch Changes
6
+
7
+ - 2662bb5: skip validation for tool parts in terminal states when tool schema is no longer registered
8
+ - a7f3c72: trigger release for all packages after provenance setup
9
+ - Updated dependencies [a7f3c72]
10
+ - Updated dependencies [4368079]
11
+ - Updated dependencies [c71ad14]
12
+ - @ai-sdk/gateway@3.0.105
13
+ - @ai-sdk/provider@3.0.9
14
+ - @ai-sdk/provider-utils@4.0.24
15
+
3
16
  ## 6.0.168
4
17
 
5
18
  ### Patch Changes
package/dist/index.js CHANGED
@@ -1252,7 +1252,7 @@ var import_provider_utils3 = require("@ai-sdk/provider-utils");
1252
1252
  var import_provider_utils4 = require("@ai-sdk/provider-utils");
1253
1253
 
1254
1254
  // src/version.ts
1255
- var VERSION = true ? "6.0.168" : "0.0.0-test";
1255
+ var VERSION = true ? "6.0.169" : "0.0.0-test";
1256
1256
 
1257
1257
  // src/util/download/download.ts
1258
1258
  var download = async ({
@@ -8951,6 +8951,9 @@ async function safeValidateUIMessages({
8951
8951
  const toolPart = part;
8952
8952
  const toolName = toolPart.type.slice(5);
8953
8953
  const tool2 = tools[toolName];
8954
+ if (!tool2 && (toolPart.state === "output-available" || toolPart.state === "output-error" || toolPart.state === "output-denied")) {
8955
+ continue;
8956
+ }
8954
8957
  if (!tool2) {
8955
8958
  return {
8956
8959
  success: false,