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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# ai
|
|
2
2
|
|
|
3
|
+
## 5.0.235
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [91e93fa]
|
|
8
|
+
- Updated dependencies [de0921d]
|
|
9
|
+
- @ai-sdk/gateway@2.0.133
|
|
10
|
+
|
|
11
|
+
## 5.0.234
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- 412c15e: Preserve reasoning part IDs when processing UI message streams.
|
|
16
|
+
- Updated dependencies [1e632f7]
|
|
17
|
+
- @ai-sdk/gateway@2.0.132
|
|
18
|
+
|
|
3
19
|
## 5.0.233
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
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.
|
|
819
|
+
var VERSION = true ? "5.0.235" : "0.0.0-test";
|
|
820
820
|
|
|
821
821
|
// src/util/download/download.ts
|
|
822
822
|
var download = async ({
|
|
@@ -3820,6 +3820,7 @@ function processUIMessageStream({
|
|
|
3820
3820
|
case "reasoning-start": {
|
|
3821
3821
|
const reasoningPart = {
|
|
3822
3822
|
type: "reasoning",
|
|
3823
|
+
id: chunk.id,
|
|
3823
3824
|
text: "",
|
|
3824
3825
|
providerMetadata: chunk.providerMetadata,
|
|
3825
3826
|
state: "streaming"
|
|
@@ -9849,6 +9850,7 @@ var uiMessagesSchema = (0, import_provider_utils32.lazyValidator)(
|
|
|
9849
9850
|
}),
|
|
9850
9851
|
import_v48.z.object({
|
|
9851
9852
|
type: import_v48.z.literal("reasoning"),
|
|
9853
|
+
id: import_v48.z.string().optional(),
|
|
9852
9854
|
text: import_v48.z.string(),
|
|
9853
9855
|
state: import_v48.z.enum(["streaming", "done"]).optional(),
|
|
9854
9856
|
providerMetadata: providerMetadataSchema.optional()
|