ai 5.0.0-alpha.9 → 5.0.0-beta.1
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 +134 -0
- package/dist/index.d.mts +2381 -2521
- package/dist/index.d.ts +2381 -2521
- package/dist/index.js +1823 -1326
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1770 -1261
- package/dist/index.mjs.map +1 -1
- package/dist/internal/index.d.mts +3 -306
- package/dist/internal/index.d.ts +3 -306
- package/dist/internal/index.js +102 -72
- package/dist/internal/index.js.map +1 -1
- package/dist/internal/index.mjs +105 -73
- package/dist/internal/index.mjs.map +1 -1
- package/dist/mcp-stdio/index.d.mts +3 -3
- package/dist/mcp-stdio/index.d.ts +3 -3
- package/dist/mcp-stdio/index.js.map +1 -1
- package/dist/mcp-stdio/index.mjs.map +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,139 @@
|
|
1
1
|
# ai
|
2
2
|
|
3
|
+
## 5.0.0-beta.1
|
4
|
+
|
5
|
+
### Major Changes
|
6
|
+
|
7
|
+
- 9ad0484: feat (ai): automatic tool execution error handling
|
8
|
+
|
9
|
+
### Patch Changes
|
10
|
+
|
11
|
+
- d88455d: feat (ai): expose http chat transport type
|
12
|
+
- 4048ce3: fix (ai): add tests and examples for openai responses
|
13
|
+
- f2b041e: Fix custom `fetch` in HttpChatTransport
|
14
|
+
- cb68df0: feat: add transcription and speech model support to provider registry
|
15
|
+
- 26695a3: feat (ui): add state for text and reasoning ui message parts
|
16
|
+
- e7d2ce3: feat: provider-executed tools
|
17
|
+
- 102b066: fix (ai): fix invalid fetch call
|
18
|
+
- e862b5b: feat (ai): allow sync tool.execute
|
19
|
+
- 7bd025b: fix (ai): fix sync tool execute with streamText
|
20
|
+
- Updated dependencies [742b7be]
|
21
|
+
- Updated dependencies [7cddb72]
|
22
|
+
- Updated dependencies [ccce59b]
|
23
|
+
- Updated dependencies [e2b9e4b]
|
24
|
+
- Updated dependencies [45c1ea2]
|
25
|
+
- Updated dependencies [e025824]
|
26
|
+
- Updated dependencies [0d06df6]
|
27
|
+
- Updated dependencies [472524a]
|
28
|
+
- Updated dependencies [dd3ff01]
|
29
|
+
- Updated dependencies [7435eb5]
|
30
|
+
- Updated dependencies [cb68df0]
|
31
|
+
- Updated dependencies [bfdca8d]
|
32
|
+
- Updated dependencies [f77bc38]
|
33
|
+
- Updated dependencies [44f4aba]
|
34
|
+
- Updated dependencies [023ba40]
|
35
|
+
- Updated dependencies [5e57fae]
|
36
|
+
- Updated dependencies [71f938d]
|
37
|
+
- Updated dependencies [28a5ed5]
|
38
|
+
- @ai-sdk/provider@2.0.0-beta.1
|
39
|
+
- @ai-sdk/provider-utils@3.0.0-beta.1
|
40
|
+
- @ai-sdk/gateway@1.0.0-beta.1
|
41
|
+
|
42
|
+
## 5.0.0-alpha.15
|
43
|
+
|
44
|
+
### Major Changes
|
45
|
+
|
46
|
+
- 04d5063: chore (ai): rename default provider global to AI_SDK_DEFAULT_PROVIDER
|
47
|
+
- b4b4bb2: chore (ui): rename experimental_resume to resumeStream
|
48
|
+
- d884051: feat (ai): simplify default provider setup
|
49
|
+
- 954aa73: feat (ui): extended regenerate support
|
50
|
+
- 60e2c56: feat (ai): restructure chat transports
|
51
|
+
|
52
|
+
### Patch Changes
|
53
|
+
|
54
|
+
- b1e3abd: feat (ai): expose ui message stream headers
|
55
|
+
- 142576e: feat (ui): support message replacement in chat via messageId param on sendMessage
|
56
|
+
- 395c85e: feat (ai): add consumeSseStream option to UI message stream responses
|
57
|
+
- Updated dependencies [48d257a]
|
58
|
+
- Updated dependencies [8ba77a7]
|
59
|
+
- Updated dependencies [c145d62]
|
60
|
+
- @ai-sdk/provider@2.0.0-alpha.15
|
61
|
+
- @ai-sdk/provider-utils@3.0.0-alpha.15
|
62
|
+
- @ai-sdk/gateway@1.0.0-alpha.15
|
63
|
+
|
64
|
+
## 5.0.0-alpha.14
|
65
|
+
|
66
|
+
### Major Changes
|
67
|
+
|
68
|
+
- 63f9e9b: chore (provider,ai): tools have input/output instead of args,result
|
69
|
+
|
70
|
+
### Patch Changes
|
71
|
+
|
72
|
+
- Updated dependencies [b5da06a]
|
73
|
+
- Updated dependencies [63f9e9b]
|
74
|
+
- Updated dependencies [2e13791]
|
75
|
+
- @ai-sdk/provider@2.0.0-alpha.14
|
76
|
+
- @ai-sdk/gateway@1.0.0-alpha.14
|
77
|
+
- @ai-sdk/provider-utils@3.0.0-alpha.14
|
78
|
+
|
79
|
+
## 5.0.0-alpha.13
|
80
|
+
|
81
|
+
### Major Changes
|
82
|
+
|
83
|
+
- 0a710d8: feat (ui): typed tool parts in ui messages
|
84
|
+
- 6a83f7d: refactoring (ai): restructure message metadata transfer
|
85
|
+
- 1f55c21: chore (ai): send reasoning to the client by default
|
86
|
+
- 33eb499: feat (ai): inject message id in createUIMessageStream
|
87
|
+
- 901df02: feat (ui): use UI_MESSAGE generic
|
88
|
+
|
89
|
+
### Patch Changes
|
90
|
+
|
91
|
+
- Updated dependencies [68ecf2f]
|
92
|
+
- @ai-sdk/provider@2.0.0-alpha.13
|
93
|
+
- @ai-sdk/gateway@1.0.0-alpha.13
|
94
|
+
- @ai-sdk/provider-utils@3.0.0-alpha.13
|
95
|
+
|
96
|
+
## 5.0.0-alpha.12
|
97
|
+
|
98
|
+
### Major Changes
|
99
|
+
|
100
|
+
- 4892798: chore (ai): always stream tool calls
|
101
|
+
|
102
|
+
### Patch Changes
|
103
|
+
|
104
|
+
- da1e6f0: feat (ui): add generics to ui message stream parts
|
105
|
+
- Updated dependencies [e2aceaf]
|
106
|
+
- @ai-sdk/gateway@1.0.0-alpha.12
|
107
|
+
- @ai-sdk/provider@2.0.0-alpha.12
|
108
|
+
- @ai-sdk/provider-utils@3.0.0-alpha.12
|
109
|
+
|
110
|
+
## 5.0.0-alpha.11
|
111
|
+
|
112
|
+
### Major Changes
|
113
|
+
|
114
|
+
- e8324c5: feat (ai): add args callbacks to tools
|
115
|
+
|
116
|
+
### Patch Changes
|
117
|
+
|
118
|
+
- Updated dependencies [c1e6647]
|
119
|
+
- @ai-sdk/provider@2.0.0-alpha.11
|
120
|
+
- @ai-sdk/gateway@1.0.0-alpha.11
|
121
|
+
- @ai-sdk/provider-utils@3.0.0-alpha.11
|
122
|
+
|
123
|
+
## 5.0.0-alpha.10
|
124
|
+
|
125
|
+
### Major Changes
|
126
|
+
|
127
|
+
- 98f25e5: chore (ui): remove managed chat inputs
|
128
|
+
- 7bb58d4: chore (ai): restructure prepareRequest
|
129
|
+
|
130
|
+
### Patch Changes
|
131
|
+
|
132
|
+
- Updated dependencies [c4df419]
|
133
|
+
- @ai-sdk/provider@2.0.0-alpha.10
|
134
|
+
- @ai-sdk/gateway@1.0.0-alpha.10
|
135
|
+
- @ai-sdk/provider-utils@3.0.0-alpha.10
|
136
|
+
|
3
137
|
## 5.0.0-alpha.9
|
4
138
|
|
5
139
|
### Major Changes
|