ai 6.0.252 → 6.0.253

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
@@ -1193,7 +1193,7 @@ import {
1193
1193
  } from "@ai-sdk/provider-utils";
1194
1194
 
1195
1195
  // src/version.ts
1196
- var VERSION = true ? "6.0.252" : "0.0.0-test";
1196
+ var VERSION = true ? "6.0.253" : "0.0.0-test";
1197
1197
 
1198
1198
  // src/util/download/download.ts
1199
1199
  var download = async ({
@@ -5949,6 +5949,7 @@ function processUIMessageStream({
5949
5949
  case "reasoning-start": {
5950
5950
  const reasoningPart = {
5951
5951
  type: "reasoning",
5952
+ id: chunk.id,
5952
5953
  text: "",
5953
5954
  providerMetadata: chunk.providerMetadata,
5954
5955
  state: "streaming"
@@ -9276,6 +9277,7 @@ var uiMessagesSchema = lazySchema2(
9276
9277
  }),
9277
9278
  z8.object({
9278
9279
  type: z8.literal("reasoning"),
9280
+ id: z8.string().optional(),
9279
9281
  text: z8.string(),
9280
9282
  state: z8.enum(["streaming", "done"]).optional(),
9281
9283
  providerMetadata: providerMetadataSchema.optional()