ai 5.0.225 → 5.0.227

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,21 @@
1
1
  # ai
2
2
 
3
+ ## 5.0.227
4
+
5
+ ### Patch Changes
6
+
7
+ - 212d793: Skip re-validating tool input for terminal output-available UI message parts.
8
+ - Updated dependencies [1ce55ef]
9
+ - Updated dependencies [f50dc31]
10
+ - @ai-sdk/gateway@2.0.126
11
+
12
+ ## 5.0.226
13
+
14
+ ### Patch Changes
15
+
16
+ - Updated dependencies [ecd9c1c]
17
+ - @ai-sdk/gateway@2.0.125
18
+
3
19
  ## 5.0.225
4
20
 
5
21
  ### Patch Changes
package/dist/index.js CHANGED
@@ -816,7 +816,7 @@ function detectMediaType({
816
816
  var import_provider_utils2 = require("@ai-sdk/provider-utils");
817
817
 
818
818
  // src/version.ts
819
- var VERSION = true ? "5.0.225" : "0.0.0-test";
819
+ var VERSION = true ? "5.0.227" : "0.0.0-test";
820
820
 
821
821
  // src/util/download/download.ts
822
822
  var download = async ({
@@ -10050,7 +10050,7 @@ async function safeValidateUIMessages({
10050
10050
  })
10051
10051
  };
10052
10052
  }
10053
- if (toolPart.state === "input-available" || toolPart.state === "output-available" || toolPart.state === "output-error") {
10053
+ if (toolPart.state === "input-available") {
10054
10054
  await (0, import_provider_utils32.validateTypes)({
10055
10055
  value: toolPart.input,
10056
10056
  schema: tool2.inputSchema