ai 5.0.0-beta.1 → 5.0.0-beta.11
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 +84 -0
- package/dist/index.d.mts +1863 -2578
- package/dist/index.d.ts +1863 -2578
- package/dist/index.js +7496 -7391
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7040 -6937
- package/dist/index.mjs.map +1 -1
- package/dist/internal/index.js +91 -91
- package/dist/internal/index.js.map +1 -1
- package/dist/internal/index.mjs +9 -9
- package/dist/internal/index.mjs.map +1 -1
- package/dist/mcp-stdio/index.d.mts +16 -96
- package/dist/mcp-stdio/index.d.ts +16 -96
- package/dist/mcp-stdio/index.js +71 -71
- package/dist/mcp-stdio/index.js.map +1 -1
- package/dist/mcp-stdio/index.mjs +2 -2
- package/dist/mcp-stdio/index.mjs.map +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,89 @@
|
|
1
1
|
# ai
|
2
2
|
|
3
|
+
## 5.0.0-beta.11
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- 9e40cbe: Allow destructuring output and errorText on `ToolUIPart` type
|
8
|
+
|
9
|
+
## 5.0.0-beta.10
|
10
|
+
|
11
|
+
### Major Changes
|
12
|
+
|
13
|
+
- 2b637d6: chore (ai): rename UIMessageStreamPart to UIMessageChunk
|
14
|
+
|
15
|
+
### Patch Changes
|
16
|
+
|
17
|
+
- 16ccfb2: feat (ai): add readUIMessageStream helper
|
18
|
+
- 90ca2b9: feat(ai): Record tool call errors on tool call spans recorded in `generateText` and `streamText`.
|
19
|
+
- af1d5a5: fix(ai): Unexpected reasoning-start event in extract reasoning middleware
|
20
|
+
|
21
|
+
## 5.0.0-beta.9
|
22
|
+
|
23
|
+
### Patch Changes
|
24
|
+
|
25
|
+
- 86cfc72: feat (ai): add ignoreIncompleteToolCalls option to convertToModelMessages
|
26
|
+
|
27
|
+
## 5.0.0-beta.8
|
28
|
+
|
29
|
+
### Patch Changes
|
30
|
+
|
31
|
+
- 6909543: feat (ai): support system parameter in Agent constructor
|
32
|
+
- c8fce91: feat (ai): add experimental Agent abstraction
|
33
|
+
- 9121250: Expose provider metadata as an attribute on exported OTEL spans
|
34
|
+
- Updated dependencies [97fedf9]
|
35
|
+
- @ai-sdk/gateway@1.0.0-beta.4
|
36
|
+
|
37
|
+
## 5.0.0-beta.7
|
38
|
+
|
39
|
+
### Patch Changes
|
40
|
+
|
41
|
+
- 60132dd: fixed date formatting for updated mcp protocol version
|
42
|
+
|
43
|
+
## 5.0.0-beta.6
|
44
|
+
|
45
|
+
### Patch Changes
|
46
|
+
|
47
|
+
- 143c55b: feat (ai): export Chat callback types
|
48
|
+
- f04ffe4: feat (ui): add onData callback to Chat
|
49
|
+
- 97c35c0: feat (ui): transient data parts
|
50
|
+
- fccf75c: update mcp protocol version
|
51
|
+
|
52
|
+
## 5.0.0-beta.5
|
53
|
+
|
54
|
+
### Patch Changes
|
55
|
+
|
56
|
+
- 4f3e637: fix (ui): avoid caching globalThis.fetch in case it is patched by other libraries
|
57
|
+
|
58
|
+
## 5.0.0-beta.4
|
59
|
+
|
60
|
+
### Patch Changes
|
61
|
+
|
62
|
+
- 09f41ac: fix (ui): add message metadata in Chat.sendMessage
|
63
|
+
|
64
|
+
## 5.0.0-beta.3
|
65
|
+
|
66
|
+
### Patch Changes
|
67
|
+
|
68
|
+
- Updated dependencies [f3639fa]
|
69
|
+
- Updated dependencies [d454e4b]
|
70
|
+
- @ai-sdk/gateway@1.0.0-beta.3
|
71
|
+
|
72
|
+
## 5.0.0-beta.2
|
73
|
+
|
74
|
+
### Patch Changes
|
75
|
+
|
76
|
+
- 0d9583c: fix (ai): use user-provided media type when available
|
77
|
+
- c6b64a7: feat (ai): allow async prepareRequest on HttpChatTransport
|
78
|
+
- cb3b9c9: fix (ai): catch errors in ui message stream
|
79
|
+
- d1a034f: feature: using Zod 4 for internal stuff
|
80
|
+
- Updated dependencies [0571b98]
|
81
|
+
- Updated dependencies [c91586a]
|
82
|
+
- Updated dependencies [39a4fab]
|
83
|
+
- Updated dependencies [d1a034f]
|
84
|
+
- @ai-sdk/provider-utils@3.0.0-beta.2
|
85
|
+
- @ai-sdk/gateway@1.0.0-beta.2
|
86
|
+
|
3
87
|
## 5.0.0-beta.1
|
4
88
|
|
5
89
|
### Major Changes
|