ai 5.0.0-canary.0 → 5.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 +152 -0
- package/dist/index.d.mts +1478 -793
- package/dist/index.d.ts +1478 -793
- package/dist/index.js +2609 -780
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2484 -692
- package/dist/index.mjs.map +1 -1
- package/dist/internal/index.d.mts +730 -0
- package/dist/internal/index.d.ts +730 -0
- package/dist/internal/index.js +1482 -0
- package/dist/internal/index.js.map +1 -0
- package/{rsc/dist/rsc-server.mjs → dist/internal/index.mjs} +855 -1555
- package/dist/internal/index.mjs.map +1 -0
- package/{mcp-stdio/dist → dist/mcp-stdio}/index.js +1 -1
- package/dist/mcp-stdio/index.js.map +1 -0
- package/{mcp-stdio/dist → dist/mcp-stdio}/index.mjs +1 -1
- package/dist/mcp-stdio/index.mjs.map +1 -0
- package/{test/dist → dist/test}/index.d.mts +32 -30
- package/{test/dist → dist/test}/index.d.ts +32 -30
- package/{test/dist → dist/test}/index.js +32 -12
- package/dist/test/index.js.map +1 -0
- package/{test/dist → dist/test}/index.mjs +30 -10
- package/dist/test/index.mjs.map +1 -0
- package/package.json +28 -56
- package/mcp-stdio/create-child-process.test.ts +0 -92
- package/mcp-stdio/create-child-process.ts +0 -21
- package/mcp-stdio/dist/index.js.map +0 -1
- package/mcp-stdio/dist/index.mjs.map +0 -1
- package/mcp-stdio/get-environment.ts +0 -43
- package/mcp-stdio/index.ts +0 -4
- package/mcp-stdio/mcp-stdio-transport.test.ts +0 -262
- package/mcp-stdio/mcp-stdio-transport.ts +0 -157
- package/react/dist/index.d.mts +0 -18
- package/react/dist/index.d.ts +0 -18
- package/react/dist/index.js +0 -39
- package/react/dist/index.js.map +0 -1
- package/react/dist/index.mjs +0 -17
- package/react/dist/index.mjs.map +0 -1
- package/rsc/dist/index.d.ts +0 -813
- package/rsc/dist/index.mjs +0 -18
- package/rsc/dist/rsc-client.d.mts +0 -1
- package/rsc/dist/rsc-client.mjs +0 -18
- package/rsc/dist/rsc-client.mjs.map +0 -1
- package/rsc/dist/rsc-server.d.mts +0 -748
- package/rsc/dist/rsc-server.mjs.map +0 -1
- package/rsc/dist/rsc-shared.d.mts +0 -101
- package/rsc/dist/rsc-shared.mjs +0 -308
- package/rsc/dist/rsc-shared.mjs.map +0 -1
- package/test/dist/index.js.map +0 -1
- package/test/dist/index.mjs.map +0 -1
- package/{mcp-stdio/dist → dist/mcp-stdio}/index.d.mts +6 -6
- package/{mcp-stdio/dist → dist/mcp-stdio}/index.d.ts +6 -6
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,157 @@
|
|
1
1
|
# ai
|
2
2
|
|
3
|
+
## 5.0.0-canary.10
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- d8aeaef: feat(providers/fal): add transcribe
|
8
|
+
- 3e10408: fix(utils/detect-mimetype): add support for detecting id3 tags
|
9
|
+
|
10
|
+
## 5.0.0-canary.9
|
11
|
+
|
12
|
+
### Major Changes
|
13
|
+
|
14
|
+
- a847c3e: chore: rename reasoning to reasoningText etc
|
15
|
+
- b32e192: chore (ai): rename reasoning to reasoningText, rename reasoningDetails to reasoning (streamText, generateText)
|
16
|
+
|
17
|
+
### Patch Changes
|
18
|
+
|
19
|
+
- cb9c9e4: remove deprecated `experimental_wrapLanguageModel`
|
20
|
+
- 8aa9e20: feat: add speech with experimental_generateSpeech
|
21
|
+
- Updated dependencies [5d142ab]
|
22
|
+
- Updated dependencies [b6b43c7]
|
23
|
+
- Updated dependencies [8aa9e20]
|
24
|
+
- Updated dependencies [3795467]
|
25
|
+
- @ai-sdk/provider-utils@3.0.0-canary.8
|
26
|
+
- @ai-sdk/provider@2.0.0-canary.7
|
27
|
+
|
28
|
+
## 5.0.0-canary.8
|
29
|
+
|
30
|
+
### Major Changes
|
31
|
+
|
32
|
+
- 14c9410: chore: refactor file towards source pattern (spec)
|
33
|
+
|
34
|
+
### Patch Changes
|
35
|
+
|
36
|
+
- 5d1e3ba: chore (ai): remove provider re-exports
|
37
|
+
- 26735b5: chore(embedding-model): add v2 interface
|
38
|
+
- 7827a49: fix (ai/core): refactor `toResponseMessages` to filter out empty string/content
|
39
|
+
- bd8a36c: feat(embedding-model-v2/embedMany): add response body field
|
40
|
+
- b6f9f3c: remove deprecated `CoreTool*` types
|
41
|
+
- 92c8e66: fix(ai/core): properly handle custom separator in provider registry
|
42
|
+
- fd65bc6: chore(embedding-model-v2): rename rawResponse to response
|
43
|
+
- 5bdff05: Removed deprecated `options.throwErrorForEmptyVectors` from `cosineSimilarity()`. Since `throwErrorForEmptyVectors` was the only option the entire `options` argument was removed.
|
44
|
+
|
45
|
+
```diff
|
46
|
+
- cosineSimilarity(vector1, vector2, options)
|
47
|
+
+cosineSimilarity(vector1, vector2)
|
48
|
+
```
|
49
|
+
|
50
|
+
- Updated dependencies [26735b5]
|
51
|
+
- Updated dependencies [443d8ec]
|
52
|
+
- Updated dependencies [14c9410]
|
53
|
+
- Updated dependencies [d9c98f4]
|
54
|
+
- Updated dependencies [c4a2fec]
|
55
|
+
- Updated dependencies [0054544]
|
56
|
+
- Updated dependencies [9e9c809]
|
57
|
+
- Updated dependencies [32831c6]
|
58
|
+
- Updated dependencies [d0f9495]
|
59
|
+
- Updated dependencies [fd65bc6]
|
60
|
+
- Updated dependencies [393138b]
|
61
|
+
- Updated dependencies [7182d14]
|
62
|
+
- @ai-sdk/provider@2.0.0-canary.6
|
63
|
+
- @ai-sdk/provider-utils@3.0.0-canary.7
|
64
|
+
|
65
|
+
## 5.0.0-canary.7
|
66
|
+
|
67
|
+
### Major Changes
|
68
|
+
|
69
|
+
- 6fba4c7: chore (ai): remove deprecated experimental_providerMetadata
|
70
|
+
- 1766ede: chore: rename maxTokens to maxOutputTokens
|
71
|
+
|
72
|
+
### Patch Changes
|
73
|
+
|
74
|
+
- 0b78e17: chore(ai/generateObject): simplify function signature
|
75
|
+
- 3e3b9df: fix (ai/mcp): better support for zero-argument MCP tools
|
76
|
+
- f10304b: feat(tool-calling): don't require the user to have to pass parameters
|
77
|
+
- Updated dependencies [411e483]
|
78
|
+
- Updated dependencies [79457bd]
|
79
|
+
- Updated dependencies [ad80501]
|
80
|
+
- Updated dependencies [1766ede]
|
81
|
+
- Updated dependencies [f10304b]
|
82
|
+
- @ai-sdk/provider@2.0.0-canary.5
|
83
|
+
- @ai-sdk/provider-utils@3.0.0-canary.6
|
84
|
+
|
85
|
+
## 5.0.0-canary.6
|
86
|
+
|
87
|
+
### Patch Changes
|
88
|
+
|
89
|
+
- Updated dependencies [6f6bb89]
|
90
|
+
- @ai-sdk/provider@2.0.0-canary.4
|
91
|
+
- @ai-sdk/provider-utils@3.0.0-canary.5
|
92
|
+
|
93
|
+
## 5.0.0-canary.5
|
94
|
+
|
95
|
+
### Patch Changes
|
96
|
+
|
97
|
+
- b71fe8d: fix(ai): remove jsondiffpatch dependency
|
98
|
+
- d91b50d: chore(ui-utils): merge into ai package
|
99
|
+
- Updated dependencies [d1a1aa1]
|
100
|
+
- @ai-sdk/provider@2.0.0-canary.3
|
101
|
+
- @ai-sdk/provider-utils@3.0.0-canary.4
|
102
|
+
|
103
|
+
## 5.0.0-canary.4
|
104
|
+
|
105
|
+
### Major Changes
|
106
|
+
|
107
|
+
- e1cbf8a: chore(@ai-sdk/rsc): extract to separate package
|
108
|
+
|
109
|
+
### Patch Changes
|
110
|
+
|
111
|
+
- 225f087: fix (ai/mcp): prevent mutation of customEnv
|
112
|
+
- a166433: feat: add transcription with experimental_transcribe
|
113
|
+
- 0a87932: core (ai): change transcription model mimeType to mediaType
|
114
|
+
- Updated dependencies [a166433]
|
115
|
+
- Updated dependencies [abf9a79]
|
116
|
+
- Updated dependencies [9f95b35]
|
117
|
+
- Updated dependencies [0a87932]
|
118
|
+
- Updated dependencies [6dc848c]
|
119
|
+
- @ai-sdk/provider-utils@3.0.0-canary.3
|
120
|
+
- @ai-sdk/provider@2.0.0-canary.2
|
121
|
+
- @ai-sdk/ui-utils@2.0.0-canary.3
|
122
|
+
|
123
|
+
## 5.0.0-canary.3
|
124
|
+
|
125
|
+
### Patch Changes
|
126
|
+
|
127
|
+
- Updated dependencies [c57e248]
|
128
|
+
- Updated dependencies [33f4a6a]
|
129
|
+
- @ai-sdk/provider@2.0.0-canary.1
|
130
|
+
- @ai-sdk/provider-utils@3.0.0-canary.2
|
131
|
+
- @ai-sdk/ui-utils@2.0.0-canary.2
|
132
|
+
|
133
|
+
## 5.0.0-canary.2
|
134
|
+
|
135
|
+
### Patch Changes
|
136
|
+
|
137
|
+
- bd398e4: fix (core): improve error handling in streamText's consumeStream method
|
138
|
+
|
139
|
+
## 5.0.0-canary.1
|
140
|
+
|
141
|
+
### Minor Changes
|
142
|
+
|
143
|
+
- b7eae2d: feat (core): Add finishReason field to NoObjectGeneratedError
|
144
|
+
|
145
|
+
### Patch Changes
|
146
|
+
|
147
|
+
- c22ad54: feat(smooth-stream): chunking callbacks
|
148
|
+
- a4f3007: chore: remove ai/react
|
149
|
+
- Updated dependencies [060370c]
|
150
|
+
- Updated dependencies [0c0c0b3]
|
151
|
+
- Updated dependencies [63d791d]
|
152
|
+
- @ai-sdk/provider-utils@3.0.0-canary.1
|
153
|
+
- @ai-sdk/ui-utils@2.0.0-canary.1
|
154
|
+
|
3
155
|
## 5.0.0-canary.0
|
4
156
|
|
5
157
|
### Major Changes
|