ai 5.0.233 → 5.0.235
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 +16 -0
- package/dist/index.d.mts +4 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -1
- package/dist/index.mjs.map +1 -1
- package/dist/internal/index.js +1 -1
- package/dist/internal/index.mjs +1 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -727,7 +727,7 @@ import {
|
|
|
727
727
|
} from "@ai-sdk/provider-utils";
|
|
728
728
|
|
|
729
729
|
// src/version.ts
|
|
730
|
-
var VERSION = true ? "5.0.
|
|
730
|
+
var VERSION = true ? "5.0.235" : "0.0.0-test";
|
|
731
731
|
|
|
732
732
|
// src/util/download/download.ts
|
|
733
733
|
var download = async ({
|
|
@@ -3751,6 +3751,7 @@ function processUIMessageStream({
|
|
|
3751
3751
|
case "reasoning-start": {
|
|
3752
3752
|
const reasoningPart = {
|
|
3753
3753
|
type: "reasoning",
|
|
3754
|
+
id: chunk.id,
|
|
3754
3755
|
text: "",
|
|
3755
3756
|
providerMetadata: chunk.providerMetadata,
|
|
3756
3757
|
state: "streaming"
|
|
@@ -9829,6 +9830,7 @@ var uiMessagesSchema = lazyValidator2(
|
|
|
9829
9830
|
}),
|
|
9830
9831
|
z8.object({
|
|
9831
9832
|
type: z8.literal("reasoning"),
|
|
9833
|
+
id: z8.string().optional(),
|
|
9832
9834
|
text: z8.string(),
|
|
9833
9835
|
state: z8.enum(["streaming", "done"]).optional(),
|
|
9834
9836
|
providerMetadata: providerMetadataSchema.optional()
|