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