ai 4.0.0-canary.0 → 4.0.0-canary.10
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 +135 -0
- package/dist/index.d.mts +92 -671
- package/dist/index.d.ts +92 -671
- package/dist/index.js +151 -586
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +125 -548
- package/dist/index.mjs.map +1 -1
- package/package.json +10 -30
- package/react/dist/index.d.ts +0 -17
- package/rsc/dist/index.d.ts +19 -19
- package/rsc/dist/rsc-server.d.mts +19 -19
- package/rsc/dist/rsc-server.mjs +9 -132
- package/rsc/dist/rsc-server.mjs.map +1 -1
- package/prompts/dist/index.d.mts +0 -220
- package/prompts/dist/index.d.ts +0 -220
- package/prompts/dist/index.js +0 -178
- package/prompts/dist/index.js.map +0 -1
- package/prompts/dist/index.mjs +0 -146
- package/prompts/dist/index.mjs.map +0 -1
- package/react/dist/index.server.d.mts +0 -17
- package/react/dist/index.server.d.ts +0 -17
- package/react/dist/index.server.js +0 -50
- package/react/dist/index.server.js.map +0 -1
- package/react/dist/index.server.mjs +0 -23
- package/react/dist/index.server.mjs.map +0 -1
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,140 @@
|
|
1
1
|
# ai
|
2
2
|
|
3
|
+
## 4.0.0-canary.10
|
4
|
+
|
5
|
+
### Major Changes
|
6
|
+
|
7
|
+
- effbce3: chore (ai): remove responseMessage from streamText onFinish callback
|
8
|
+
|
9
|
+
### Patch Changes
|
10
|
+
|
11
|
+
- Updated dependencies [fe4f109]
|
12
|
+
- @ai-sdk/ui-utils@1.0.0-canary.7
|
13
|
+
- @ai-sdk/react@1.0.0-canary.7
|
14
|
+
|
15
|
+
## 4.0.0-canary.9
|
16
|
+
|
17
|
+
### Patch Changes
|
18
|
+
|
19
|
+
- f0ec721: chore (ai): remove openai peer dependency
|
20
|
+
|
21
|
+
## 4.0.0-canary.8
|
22
|
+
|
23
|
+
### Major Changes
|
24
|
+
|
25
|
+
- 007cb81: chore (ai): change `streamText` warnings result to Promise
|
26
|
+
|
27
|
+
### Patch Changes
|
28
|
+
|
29
|
+
- Updated dependencies [70f28f6]
|
30
|
+
- @ai-sdk/ui-utils@1.0.0-canary.6
|
31
|
+
- @ai-sdk/react@1.0.0-canary.6
|
32
|
+
|
33
|
+
## 4.0.0-canary.7
|
34
|
+
|
35
|
+
### Major Changes
|
36
|
+
|
37
|
+
- 4e38b38: chore (ai): remove LanguageModelResponseMetadataWithHeaders type
|
38
|
+
- 54cb888: chore (ai): remove experimental_StreamData export
|
39
|
+
- 9a3d741: chore (ai): remove ExperimentalTool export
|
40
|
+
- a4f8ce9: chore (ai): AssistantResponse cleanups
|
41
|
+
- 7264b0a: chore (ai): remove responseMessages property from streamText/generateText result
|
42
|
+
- 62d08fd: chore (ai): remove TokenUsage, CompletionTokenUsage, and EmbeddingTokenUsage types
|
43
|
+
- e5d2ce8: chore (ai): remove deprecated provider registry exports
|
44
|
+
- 70ce742: chore (ai): remove experimental_continuationSteps option
|
45
|
+
- 0827bf9: chore (ai): remove LangChain adapter `toAIStream` method
|
46
|
+
|
47
|
+
## 4.0.0-canary.6
|
48
|
+
|
49
|
+
### Major Changes
|
50
|
+
|
51
|
+
- b801982: chore (ai/core): remove init option from streamText result methods
|
52
|
+
|
53
|
+
### Patch Changes
|
54
|
+
|
55
|
+
- f9bb30c: chore (ai): remove unnecessary dev dependencies
|
56
|
+
|
57
|
+
## 4.0.0-canary.5
|
58
|
+
|
59
|
+
### Major Changes
|
60
|
+
|
61
|
+
- 4d61295: chore (ai): remove streamToResponse and streamingTextResponse
|
62
|
+
- d3ae4f6: chore (ui/react): remove useObject setInput helper
|
63
|
+
- 6090cea: chore (ai): remove rawResponse from generate/stream result objects
|
64
|
+
- 2f09717: chore (ai): remove deprecated telemetry data
|
65
|
+
|
66
|
+
### Patch Changes
|
67
|
+
|
68
|
+
- Updated dependencies [9f81e66]
|
69
|
+
- Updated dependencies [d3ae4f6]
|
70
|
+
- Updated dependencies [8426f55]
|
71
|
+
- @ai-sdk/ui-utils@1.0.0-canary.5
|
72
|
+
- @ai-sdk/react@1.0.0-canary.5
|
73
|
+
- @ai-sdk/provider-utils@2.0.0-canary.3
|
74
|
+
|
75
|
+
## 4.0.0-canary.4
|
76
|
+
|
77
|
+
### Major Changes
|
78
|
+
|
79
|
+
- f0cb69d: chore (ai/core): remove experimental function exports
|
80
|
+
- da8c609: chore (ai): remove Tokens RSC helper
|
81
|
+
- cbab571: chore (ai): remove ExperimentalXXXMessage types
|
82
|
+
- 60e69ed: chore (ai/core): remove ai-stream related methods from streamText
|
83
|
+
- 073f282: chore (ai): remove AIStream and related exports
|
84
|
+
- 545d133: chore (ai): remove deprecated roundtrip settings from streamText / generateText
|
85
|
+
|
86
|
+
### Patch Changes
|
87
|
+
|
88
|
+
- dce4158: chore (dependencies): update eventsource-parser to 3.0.0
|
89
|
+
- Updated dependencies [dce4158]
|
90
|
+
- Updated dependencies [ca3e586]
|
91
|
+
- Updated dependencies [dce4158]
|
92
|
+
- @ai-sdk/provider-utils@2.0.0-canary.2
|
93
|
+
- @ai-sdk/react@1.0.0-canary.4
|
94
|
+
- @ai-sdk/ui-utils@1.0.0-canary.4
|
95
|
+
|
96
|
+
## 4.0.0-canary.3
|
97
|
+
|
98
|
+
### Patch Changes
|
99
|
+
|
100
|
+
- Updated dependencies [68d30e9]
|
101
|
+
- Updated dependencies [b1da952]
|
102
|
+
- @ai-sdk/react@1.0.0-canary.3
|
103
|
+
- @ai-sdk/provider-utils@2.0.0-canary.1
|
104
|
+
- @ai-sdk/ui-utils@1.0.0-canary.3
|
105
|
+
|
106
|
+
## 4.0.0-canary.2
|
107
|
+
|
108
|
+
### Major Changes
|
109
|
+
|
110
|
+
- b469a7e: chore: remove isXXXError methods
|
111
|
+
- c0ddc24: chore (ai): remove toJSON method from AI SDK errors
|
112
|
+
|
113
|
+
### Patch Changes
|
114
|
+
|
115
|
+
- Updated dependencies [e117b54]
|
116
|
+
- Updated dependencies [b469a7e]
|
117
|
+
- Updated dependencies [7814c4b]
|
118
|
+
- Updated dependencies [c0ddc24]
|
119
|
+
- Updated dependencies [db46ce5]
|
120
|
+
- @ai-sdk/react@1.0.0-canary.2
|
121
|
+
- @ai-sdk/provider-utils@2.0.0-canary.0
|
122
|
+
- @ai-sdk/provider@1.0.0-canary.0
|
123
|
+
- @ai-sdk/ui-utils@1.0.0-canary.2
|
124
|
+
|
125
|
+
## 4.0.0-canary.1
|
126
|
+
|
127
|
+
### Major Changes
|
128
|
+
|
129
|
+
- 8bf5756: chore: remove legacy function/tool calling
|
130
|
+
|
131
|
+
### Patch Changes
|
132
|
+
|
133
|
+
- 1c58337: chore (ai): remove 2.x prompt helpers
|
134
|
+
- Updated dependencies [8bf5756]
|
135
|
+
- @ai-sdk/ui-utils@1.0.0-canary.1
|
136
|
+
- @ai-sdk/react@1.0.0-canary.1
|
137
|
+
|
3
138
|
## 4.0.0-canary.0
|
4
139
|
|
5
140
|
### Major Changes
|