ai 6.0.242 → 6.0.243

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,13 @@
1
1
  # ai
2
2
 
3
+ ## 6.0.243
4
+
5
+ ### Patch Changes
6
+
7
+ - dd5d344: Skip re-validating tool input for terminal output-available UI message parts.
8
+ - Updated dependencies [0cd92fa]
9
+ - @ai-sdk/gateway@3.0.165
10
+
3
11
  ## 6.0.242
4
12
 
5
13
  ### Patch Changes
package/dist/index.js CHANGED
@@ -1304,7 +1304,7 @@ function detectMediaType({
1304
1304
  var import_provider_utils3 = require("@ai-sdk/provider-utils");
1305
1305
 
1306
1306
  // src/version.ts
1307
- var VERSION = true ? "6.0.242" : "0.0.0-test";
1307
+ var VERSION = true ? "6.0.243" : "0.0.0-test";
1308
1308
 
1309
1309
  // src/util/download/download.ts
1310
1310
  var download = async ({
@@ -9691,7 +9691,7 @@ async function safeValidateUIMessages({
9691
9691
  })
9692
9692
  };
9693
9693
  }
9694
- if (toolPart.state === "input-available" || toolPart.state === "output-available") {
9694
+ if (toolPart.state === "input-available") {
9695
9695
  await (0, import_provider_utils24.validateTypes)({
9696
9696
  value: toolPart.input,
9697
9697
  schema: tool2.inputSchema,