ai 6.0.20 → 6.0.21

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/dist/index.mjs CHANGED
@@ -909,7 +909,7 @@ import {
909
909
  } from "@ai-sdk/provider-utils";
910
910
 
911
911
  // src/version.ts
912
- var VERSION = true ? "6.0.20" : "0.0.0-test";
912
+ var VERSION = true ? "6.0.21" : "0.0.0-test";
913
913
 
914
914
  // src/util/download/download.ts
915
915
  var download = async ({ url }) => {
@@ -7726,6 +7726,7 @@ var uiMessagesSchema = lazySchema2(
7726
7726
  toolCallId: z8.string(),
7727
7727
  state: z8.literal("output-error"),
7728
7728
  input: z8.unknown(),
7729
+ rawInput: z8.unknown().optional(),
7729
7730
  providerExecuted: z8.boolean().optional(),
7730
7731
  output: z8.never().optional(),
7731
7732
  errorText: z8.string(),
@@ -7825,6 +7826,7 @@ var uiMessagesSchema = lazySchema2(
7825
7826
  state: z8.literal("output-error"),
7826
7827
  providerExecuted: z8.boolean().optional(),
7827
7828
  input: z8.unknown(),
7829
+ rawInput: z8.unknown().optional(),
7828
7830
  output: z8.never().optional(),
7829
7831
  errorText: z8.string(),
7830
7832
  callProviderMetadata: providerMetadataSchema.optional(),