ai 6.0.0-beta.99 → 6.0.0

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 CHANGED
@@ -1,5 +1,828 @@
1
1
  # ai
2
2
 
3
+ ## 6.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - dee8b05: ai SDK 6 beta
8
+
9
+ ### Minor Changes
10
+
11
+ - 78928cb: release: start 5.1 beta
12
+
13
+ ### Patch Changes
14
+
15
+ - 0c3b58b: fix(provider): add specificationVersion to ProviderV3
16
+ - 58920e0: fix(ai): do not drop custom headers in HttpChatTransport
17
+ - a7da2b6: feat(agent): change output generics
18
+ - 0adc679: feat(provider): shared spec v3
19
+ - 50b70d6: feat(anthropic): add programmatic tool calling
20
+ - 2d28066: chore(agent): limit agent call parameters
21
+ - fca786b: feat(agent): configurable call options
22
+ - 046aa3b: feat(provider): speech model v3 spec
23
+ - e1f6e8e: feat(ai): add Output.json()
24
+ - 8d9e8ad: chore(provider): remove generics from EmbeddingModelV3
25
+
26
+ Before
27
+
28
+ ```ts
29
+ model.textEmbeddingModel('my-model-id');
30
+ ```
31
+
32
+ After
33
+
34
+ ```ts
35
+ model.embeddingModel('my-model-id');
36
+ ```
37
+
38
+ - b67d224: Fixes an issue where `providerMetadata` and `providerExecuted` were lost when tool input validation failed
39
+ - ab6f01a: Improve ai gateway error message when api key is not present
40
+ - 9388ff1: feat(ui): add isDataUIPart helper
41
+ - dce03c4: feat: tool input examples
42
+ - 2625a04: feat(openai); update spec for mcp approval
43
+ - 37c58a0: This release introduces `wrapEmbeddingModel`, a new helper that brings embedding model customization capabilities similar to `wrapLanguageModel`.
44
+ - 4e2b04d: fix(gateway): throw error with user-friendly message in non-production environments if `AI_GATEWAY_API_KEY` is not configured
45
+ - ab1087b: feat(ai): `chat.addToolResult()` is now `chat.addToolOutput()`
46
+ - bb10a89: fix(ai): mcp errors to be jsonrpc 2.0 compliant
47
+ - 457f1c6: feat(ai): onFinish callback for generateText
48
+ - 95f65c2: chore: use import \* from zod/v4
49
+ - 754df61: fix(ai): correct type field in arrayOutputStrategy from 'enum' to 'array'
50
+ - 58920e0: refactor: consolidate header normalization across packages, remove duplicates, preserve custom headers
51
+ - 954c356: feat(openai): allow custom names for provider-defined tools
52
+ - 7fdd89d: feat(agent): export AgentCallParameters and AgentStreamParameters types
53
+ - eca63f3: feat(ai): add OAuth for MCP clients + refactor to new package
54
+
55
+ This change replaces
56
+
57
+ ```ts
58
+ import { experimental_createMCPClient } from 'ai';
59
+ import { Experimental_StdioMCPTransport } from 'ai/mcp-stdio';
60
+ ```
61
+
62
+ with
63
+
64
+ ```ts
65
+ import { experimental_createMCPClient } from '@ai-sdk/mcp';
66
+ import { Experimental_StdioMCPTransport } from '@ai-sdk/mcp/mcp-stdio';
67
+ ```
68
+
69
+ - 90e5bdd: chore(ai): restructure agent files
70
+ - 42cf7ed: fix(agent): use tool.toModelOutput when available
71
+ - 544d4e8: chore(specification): rename v3 provider defined tool to provider tool
72
+ - 4812235: fix(ai): add missing export for `LoadSettingError`
73
+ - 7f2c9b6: fix(ui): do not submit automatically when server return with error
74
+ - 614599a: chore(ai): deprecate generateObject and streamObject
75
+ - 0c4822d: feat: `EmbeddingModelV3`
76
+ - e062079: chore(agent): move Agent.respond into createAgentStreamResponse function
77
+ - 2b49dae: feat(agent): support UIMessageStreamOptions in createAgentStreamResponse
78
+ - ee651d7: `https://v6.ai-sdk.dev` -> `https://ai-sdk.dev`
79
+ - 5a4e732: Export `parseJsonEventStream` and `uiMessageChunkSchema` from "ai" package
80
+ - f733285: fix(ai): only parse experimental_output in generateText when finishReason is stop
81
+ - 9b83947: feat(ai): add convertDataPart option to convertToModelMessages
82
+
83
+ Add optional convertDataPart callback for converting custom data parts (URLs, code files, etc.) to text or file parts that models can process. Fully type-safe using existing UIMessage generics.
84
+
85
+ - 7eca093: fix(ai): update `uiMessageChunkSchema` to satisfy the `UIMessageChunk` type
86
+ - 077aea3: feat(ai): stable structured output on generateText, streamText, and ToolLoopAgent
87
+ - 9f20c87: chore: updated README
88
+ - 521c537: feat(ai): Tool.needsApproval can be a function
89
+ - 7169511: feat(agent): support context in onFinish callback
90
+ - e8109d3: feat: tool execution approval
91
+ - 03849b0: move DelayedPromise into provider utils
92
+ - ed329cb: feat: `Provider-V3`
93
+ - 22ef5c6: feat(ai): Output.text() is default output mode
94
+ - 9ba4324: feat(ai): support SystemModelMessage[] in system and instructions properties
95
+ - 3bd2689: feat: extended token usage
96
+ - 293a6b7: Added a title to the tools
97
+ - 7c3c216: fixed docs and exported NoSpeechGeneratedError
98
+ - c62ecf0: feat(ai): add support for v2 specs in transcription and speech models
99
+ - d1bdadb: Added experimental_rerank support
100
+ - 703459a: feat: tool execution approval for dynamic tools
101
+ - 3071620: fix header loss when statusText is undefined in writeHead
102
+ - 7e4649f: fix(core): Fix image download behavior when the initial model is swapped out during prepareStep
103
+ - 48454ab: fix(ai): handle backpressure in `writeToServerResponse`
104
+ - e06b663: feat(agent): support experimental stream transforms
105
+ - 83e5744: feat: support async Tool.toModelOutput
106
+ - 8c98371: Extend addToolResult to support error results
107
+ - b1405bf: feat(ai): send context into streamText / generateText onFinish callbacks
108
+ - a5e152d: fix(ai): back version support for V2 providers
109
+ - aa0515c: feat(ai): move Agent to stable
110
+ - f6f0c5a: chore: remove zod from ui packages
111
+ - 3ed5519: chore: rename ToolCallOptions to ToolExecutionOptions
112
+ - eb8d1cb: fix not catching of empty arrays in validateUIMessage
113
+ - e7d9b00: feat(agent): add optional name property to agent
114
+ - d5b25ee: feat(ai): add Output.array()
115
+ - d7bae86: feat(ai): add Output.choice()
116
+ - 8dac895: feat: `LanguageModelV3`
117
+ - a755db5: feat(ai): improve warnings with provider and model id
118
+ - 1c2a4c1: fix(ai): remove outdated jsdoc param descriptions
119
+ - 686103c: chore(ai): export ContentPart type
120
+ - 0d6c0d8: chore(ai): remove deprecated CodeMessage type and related types and functions
121
+ - 9b8d17e: fix(agent): move provider options to main agent config
122
+ - 79a8e7f: feat(agent): support abortSignal in createAgentUIStream
123
+ - d59ce25: fix(ai): do not mutate middleware array argument when wrapping
124
+ - 475189e: chore(specification): rename EmbeddingModelCallOptions
125
+ - 3d83f38: chore(ai): improve addToolInputExamplesMiddleware
126
+ - 457318b: chore(provider,ai): switch to SharedV3Warning and unified warnings
127
+ - b681d7d: feat: expose usage tokens for 'generateImage' function
128
+ - c99da05: feat(ai): add onFinish to Agent
129
+ - db913bd: fix(google): add thought signature to gemini 3 pro image parts
130
+ - 9061dc0: feat: image editing
131
+ - 8445d70: feat: export GatewayModelId and use to type LanguageModel
132
+ - 32223c8: feat: add toolCallId arg to toModelOutput
133
+ - 8370068: fix(provider/google): preserve thoughtSignature through tool execution
134
+ - 5e313e3: fix(agent): do not allow static tools when tools is empty
135
+ - db62f7d: Added schema name and description for generateText and output
136
+ - a7f6f81: Add safeValidateUIMessages utility to validate UI messages without throwing, returning a success/failure result object like Zod’s safeParse
137
+ - 79ba99f: feat(agent): add message metadata support when inferring UI messages
138
+ - c98373a: chore(agent): rename createAgentStreamResponse to createAgentUIStreamResponse
139
+ - 846e80e: fix(ai): bind functions for v2 -> v3 adapter
140
+ - bbdcb81: Add experimental_context parameter to prepareStep callback
141
+ - 67a407c: chore(ai): add warning when using v2 models with AISDK v6
142
+ - 9524761: chore(ai): rename relevanceScore to score
143
+ - ca13d26: feat(ai): add output to StreamTextResult
144
+ - 4616b86: chore: update zod peer depenedency version
145
+ - a322efa: Added finishReason on useChat onFinish callbck
146
+ - 2d166e4: feat(provider/gateway): add support for image models
147
+ - 384142c: feat(agent): add abortSignal parameter to generate and stream
148
+ - 36b175c: chore(ai): change output generics
149
+ - 2b1bf9d: feat(ai): add pruneMessages helper function
150
+ - 81d4308: feat: provider-executed dynamic tools
151
+ - e0d1ea9: fix(ai): align logic of text-end with reasoning-end
152
+ - 2406576: chore(agent): rename messages property on agent ui stream functions to uiMessages
153
+ - b1aeea7: feat(ai): set default stopWhen on Agent to stepCountIs(20)
154
+ - dce4e7b: chore(agent): rename system to instructions
155
+ - 4ece5f9: feat(agent): add experimental_download to ToolLoopAgent
156
+ - a417a34: feat(agent): introduce version property
157
+ - 637eaa4: feat(ai): print model warnings in embed and embedMany
158
+ - 177b475: fix(ai): download files when intermediate file cannot be downloaded
159
+ - 21e20c0: feat(provider): transcription model v3 spec
160
+ - afe7093: feat: add middleware for tool input examples
161
+ - 61f7b0f: chore(agent): rename BasicAgent to ToolLoopAgent
162
+ - af9dab3: fix(ai): remove unused mode setting from generateObject and streamObject
163
+ - 522f6b8: feat: `ImageModelV3`
164
+ - 97b1d77: fix(ui): Don't resend messages for providerExecuted tools in lastAssistantMessageIsCompleteWithToolCalls and lastAssistantMessageIsCompleteWithApprovalResponses
165
+ - 69768c2: chore(ai): remove UI message reference from model message validation
166
+ - 27e8c3a: chore(ai): rename Agent to BasicAgent, introduce Agent interface
167
+ - 81e29ab: feat(ai): allow modifying experimental context in prepareStep
168
+ - 7da02d2: fix(ai): prune messages properly when toolCalls set to 'before-last-message'
169
+ - 763d04a: feat: Standard JSON Schema support
170
+ - 95b77e2: feat(agent): extract createAgentUIStream, add pipeAgentUIStreamToResponse
171
+ - 3794514: feat: flexible tool output content support
172
+ - cbf52cd: feat: expose raw finish reason
173
+ - 14ca35d: feat: add support for v2 specs
174
+ - 10c1322: fix: moved dependency `@ai-sdk/test-server` to devDependencies
175
+ - dcdac8c: chore(ai): rename tool helpers
176
+ - 960ec8f: chore: change argument of toModelOutput to parameter object
177
+ - b59d924: feat(ai): support SystemModelMessage in system and instructions properties
178
+ - 1bd7d32: feat: tool-specific strict mode
179
+ - 95f65c2: chore: load zod schemas lazily
180
+ - Updated dependencies [0c3b58b]
181
+ - Updated dependencies [ea9ca31]
182
+ - Updated dependencies [5dd4c6a]
183
+ - Updated dependencies [5d21222]
184
+ - Updated dependencies [0adc679]
185
+ - Updated dependencies [50b70d6]
186
+ - Updated dependencies [d1bdadb]
187
+ - Updated dependencies [7294355]
188
+ - Updated dependencies [e8694af]
189
+ - Updated dependencies [dee8b05]
190
+ - Updated dependencies [046aa3b]
191
+ - Updated dependencies [8d9e8ad]
192
+ - Updated dependencies [78928cb]
193
+ - Updated dependencies [dce03c4]
194
+ - Updated dependencies [2625a04]
195
+ - Updated dependencies [37c58a0]
196
+ - Updated dependencies [3b1d015]
197
+ - Updated dependencies [2b0caef]
198
+ - Updated dependencies [aaf5ebf]
199
+ - Updated dependencies [95f65c2]
200
+ - Updated dependencies [016b111]
201
+ - Updated dependencies [58920e0]
202
+ - Updated dependencies [954c356]
203
+ - Updated dependencies [c823faf]
204
+ - Updated dependencies [544d4e8]
205
+ - Updated dependencies [2b6a848]
206
+ - Updated dependencies [0c4822d]
207
+ - Updated dependencies [34ee8d0]
208
+ - Updated dependencies [521c537]
209
+ - Updated dependencies [1890317]
210
+ - Updated dependencies [4c44a5b]
211
+ - Updated dependencies [2f8b0c8]
212
+ - Updated dependencies [e8109d3]
213
+ - Updated dependencies [636e614]
214
+ - Updated dependencies [03849b0]
215
+ - Updated dependencies [7ccb36f]
216
+ - Updated dependencies [ed329cb]
217
+ - Updated dependencies [e06565c]
218
+ - Updated dependencies [32d8dbb]
219
+ - Updated dependencies [53f3368]
220
+ - Updated dependencies [d116b4b]
221
+ - Updated dependencies [3bd2689]
222
+ - Updated dependencies [293a6b7]
223
+ - Updated dependencies [5f66123]
224
+ - Updated dependencies [703459a]
225
+ - Updated dependencies [1cad0ab]
226
+ - Updated dependencies [bb36798]
227
+ - Updated dependencies [83e5744]
228
+ - Updated dependencies [bca7e61]
229
+ - Updated dependencies [7e32fea]
230
+ - Updated dependencies [3ed5519]
231
+ - Updated dependencies [8dac895]
232
+ - Updated dependencies [3e83633]
233
+ - Updated dependencies [1d8ea2c]
234
+ - Updated dependencies [ef62178]
235
+ - Updated dependencies [a755db5]
236
+ - Updated dependencies [0a2ff8a]
237
+ - Updated dependencies [cbb1d35]
238
+ - Updated dependencies [ee71658]
239
+ - Updated dependencies [475189e]
240
+ - Updated dependencies [457318b]
241
+ - Updated dependencies [b681d7d]
242
+ - Updated dependencies [db913bd]
243
+ - Updated dependencies [9061dc0]
244
+ - Updated dependencies [32223c8]
245
+ - Updated dependencies [7d73922]
246
+ - Updated dependencies [e6bfe91]
247
+ - Updated dependencies [c1efac4]
248
+ - Updated dependencies [acc14d8]
249
+ - Updated dependencies [f83903d]
250
+ - Updated dependencies [0e29b8b]
251
+ - Updated dependencies [366f50b]
252
+ - Updated dependencies [cdd0bc2]
253
+ - Updated dependencies [96322b7]
254
+ - Updated dependencies [4616b86]
255
+ - Updated dependencies [2d166e4]
256
+ - Updated dependencies [81d4308]
257
+ - Updated dependencies [9549c9e]
258
+ - Updated dependencies [6c766ef]
259
+ - Updated dependencies [af3780b]
260
+ - Updated dependencies [4f16c37]
261
+ - Updated dependencies [81e29ab]
262
+ - Updated dependencies [7b1b1b1]
263
+ - Updated dependencies [3782645]
264
+ - Updated dependencies [f18ef7f]
265
+ - Updated dependencies [522f6b8]
266
+ - Updated dependencies [6306603]
267
+ - Updated dependencies [1425df5]
268
+ - Updated dependencies [9f6149e]
269
+ - Updated dependencies [fca786b]
270
+ - Updated dependencies [763d04a]
271
+ - Updated dependencies [cc5170d]
272
+ - Updated dependencies [a90dca6]
273
+ - Updated dependencies [b1624f0]
274
+ - Updated dependencies [10d819b]
275
+ - Updated dependencies [3794514]
276
+ - Updated dependencies [cbf52cd]
277
+ - Updated dependencies [870297d]
278
+ - Updated dependencies [e9e157f]
279
+ - Updated dependencies [960ec8f]
280
+ - Updated dependencies [1bd7d32]
281
+ - Updated dependencies [f0b2157]
282
+ - Updated dependencies [95f65c2]
283
+ - @ai-sdk/provider@3.0.0
284
+ - @ai-sdk/gateway@2.0.0
285
+ - @ai-sdk/provider-utils@4.0.0
286
+
287
+ ## 6.0.0-beta.169
288
+
289
+ ### Patch Changes
290
+
291
+ - ee651d7: `https://v6.ai-sdk.dev` -> `https://ai-sdk.dev`
292
+
293
+ ## 6.0.0-beta.168
294
+
295
+ ### Patch Changes
296
+
297
+ - Updated dependencies [7294355]
298
+ - @ai-sdk/gateway@2.0.0-beta.93
299
+
300
+ ## 6.0.0-beta.167
301
+
302
+ ### Patch Changes
303
+
304
+ - 475189e: chore(specification): rename EmbeddingModelCallOptions
305
+ - Updated dependencies [475189e]
306
+ - @ai-sdk/provider@3.0.0-beta.32
307
+ - @ai-sdk/gateway@2.0.0-beta.92
308
+ - @ai-sdk/provider-utils@4.0.0-beta.59
309
+
310
+ ## 6.0.0-beta.166
311
+
312
+ ### Patch Changes
313
+
314
+ - 9f20c87: chore: updated README
315
+
316
+ ## 6.0.0-beta.165
317
+
318
+ ### Patch Changes
319
+
320
+ - 2625a04: feat(openai); update spec for mcp approval
321
+ - Updated dependencies [2625a04]
322
+ - @ai-sdk/provider@3.0.0-beta.31
323
+ - @ai-sdk/gateway@2.0.0-beta.91
324
+ - @ai-sdk/provider-utils@4.0.0-beta.58
325
+
326
+ ## 6.0.0-beta.164
327
+
328
+ ### Patch Changes
329
+
330
+ - cbf52cd: feat: expose raw finish reason
331
+ - Updated dependencies [cbf52cd]
332
+ - @ai-sdk/provider@3.0.0-beta.30
333
+ - @ai-sdk/gateway@2.0.0-beta.90
334
+ - @ai-sdk/provider-utils@4.0.0-beta.57
335
+
336
+ ## 6.0.0-beta.163
337
+
338
+ ### Patch Changes
339
+
340
+ - Updated dependencies [9549c9e]
341
+ - @ai-sdk/provider@3.0.0-beta.29
342
+ - @ai-sdk/gateway@2.0.0-beta.89
343
+ - @ai-sdk/provider-utils@4.0.0-beta.56
344
+
345
+ ## 6.0.0-beta.162
346
+
347
+ ### Patch Changes
348
+
349
+ - 50b70d6: feat(anthropic): add programmatic tool calling
350
+ - Updated dependencies [50b70d6]
351
+ - @ai-sdk/provider-utils@4.0.0-beta.55
352
+ - @ai-sdk/gateway@2.0.0-beta.88
353
+
354
+ ## 6.0.0-beta.161
355
+
356
+ ### Patch Changes
357
+
358
+ - Updated dependencies [ee71658]
359
+ - @ai-sdk/gateway@2.0.0-beta.87
360
+
361
+ ## 6.0.0-beta.160
362
+
363
+ ### Patch Changes
364
+
365
+ - 9061dc0: feat: image editing
366
+ - Updated dependencies [9061dc0]
367
+ - @ai-sdk/provider-utils@4.0.0-beta.54
368
+ - @ai-sdk/provider@3.0.0-beta.28
369
+ - @ai-sdk/gateway@2.0.0-beta.86
370
+
371
+ ## 6.0.0-beta.159
372
+
373
+ ### Patch Changes
374
+
375
+ - 3071620: fix header loss when statusText is undefined in writeHead
376
+ - Updated dependencies [870297d]
377
+ - @ai-sdk/gateway@2.0.0-beta.85
378
+
379
+ ## 6.0.0-beta.158
380
+
381
+ ### Patch Changes
382
+
383
+ - Updated dependencies [366f50b]
384
+ - @ai-sdk/provider@3.0.0-beta.27
385
+ - @ai-sdk/gateway@2.0.0-beta.84
386
+ - @ai-sdk/provider-utils@4.0.0-beta.53
387
+
388
+ ## 6.0.0-beta.157
389
+
390
+ ### Patch Changes
391
+
392
+ - 763d04a: feat: Standard JSON Schema support
393
+ - Updated dependencies [763d04a]
394
+ - @ai-sdk/provider-utils@4.0.0-beta.52
395
+ - @ai-sdk/gateway@2.0.0-beta.83
396
+
397
+ ## 6.0.0-beta.156
398
+
399
+ ### Patch Changes
400
+
401
+ - 2406576: chore(agent): rename messages property on agent ui stream functions to uiMessages
402
+
403
+ ## 6.0.0-beta.155
404
+
405
+ ### Patch Changes
406
+
407
+ - Updated dependencies [c1efac4]
408
+ - @ai-sdk/provider-utils@4.0.0-beta.51
409
+ - @ai-sdk/gateway@2.0.0-beta.82
410
+
411
+ ## 6.0.0-beta.154
412
+
413
+ ### Patch Changes
414
+
415
+ - 32223c8: feat: add toolCallId arg to toModelOutput
416
+ - Updated dependencies [32223c8]
417
+ - @ai-sdk/provider-utils@4.0.0-beta.50
418
+ - @ai-sdk/gateway@2.0.0-beta.81
419
+
420
+ ## 6.0.0-beta.153
421
+
422
+ ### Patch Changes
423
+
424
+ - 83e5744: feat: support async Tool.toModelOutput
425
+ - Updated dependencies [83e5744]
426
+ - @ai-sdk/provider-utils@4.0.0-beta.49
427
+ - @ai-sdk/gateway@2.0.0-beta.80
428
+
429
+ ## 6.0.0-beta.152
430
+
431
+ ### Patch Changes
432
+
433
+ - 960ec8f: chore: change argument of toModelOutput to parameter object
434
+ - Updated dependencies [960ec8f]
435
+ - @ai-sdk/provider-utils@4.0.0-beta.48
436
+ - @ai-sdk/gateway@2.0.0-beta.79
437
+
438
+ ## 6.0.0-beta.151
439
+
440
+ ### Patch Changes
441
+
442
+ - dcdac8c: chore(ai): rename tool helpers
443
+
444
+ ## 6.0.0-beta.150
445
+
446
+ ### Patch Changes
447
+
448
+ - db62f7d: Added schema name and description for generateText and output
449
+
450
+ ## 6.0.0-beta.149
451
+
452
+ ### Patch Changes
453
+
454
+ - 4e2b04d: fix(gateway): throw error with user-friendly message in non-production environments if `AI_GATEWAY_API_KEY` is not configured
455
+
456
+ ## 6.0.0-beta.148
457
+
458
+ ### Patch Changes
459
+
460
+ - Updated dependencies [f18ef7f]
461
+ - @ai-sdk/gateway@2.0.0-beta.78
462
+
463
+ ## 6.0.0-beta.147
464
+
465
+ ### Patch Changes
466
+
467
+ - 637eaa4: feat(ai): print model warnings in embed and embedMany
468
+
469
+ ## 6.0.0-beta.146
470
+
471
+ ### Patch Changes
472
+
473
+ - Updated dependencies [e9e157f]
474
+ - @ai-sdk/provider-utils@4.0.0-beta.47
475
+ - @ai-sdk/gateway@2.0.0-beta.77
476
+
477
+ ## 6.0.0-beta.145
478
+
479
+ ### Patch Changes
480
+
481
+ - Updated dependencies [34ee8d0]
482
+ - @ai-sdk/gateway@2.0.0-beta.76
483
+
484
+ ## 6.0.0-beta.144
485
+
486
+ ### Patch Changes
487
+
488
+ - ab6f01a: Improve ai gateway error message when api key is not present
489
+
490
+ ## 6.0.0-beta.143
491
+
492
+ ### Patch Changes
493
+
494
+ - 81e29ab: feat(ai): allow modifying experimental context in prepareStep
495
+ - Updated dependencies [81e29ab]
496
+ - @ai-sdk/provider-utils@4.0.0-beta.46
497
+ - @ai-sdk/gateway@2.0.0-beta.75
498
+
499
+ ## 6.0.0-beta.142
500
+
501
+ ### Patch Changes
502
+
503
+ - 7169511: feat(agent): support context in onFinish callback
504
+ - bbdcb81: Add experimental_context parameter to prepareStep callback
505
+
506
+ ## 6.0.0-beta.141
507
+
508
+ ### Patch Changes
509
+
510
+ - b1405bf: feat(ai): send context into streamText / generateText onFinish callbacks
511
+
512
+ ## 6.0.0-beta.140
513
+
514
+ ### Patch Changes
515
+
516
+ - 7fdd89d: feat(agent): export AgentCallParameters and AgentStreamParameters types
517
+
518
+ ## 6.0.0-beta.139
519
+
520
+ ### Patch Changes
521
+
522
+ - 3bd2689: feat: extended token usage
523
+ - Updated dependencies [3bd2689]
524
+ - @ai-sdk/provider@3.0.0-beta.26
525
+ - @ai-sdk/gateway@2.0.0-beta.74
526
+ - @ai-sdk/provider-utils@4.0.0-beta.45
527
+
528
+ ## 6.0.0-beta.138
529
+
530
+ ### Patch Changes
531
+
532
+ - Updated dependencies [53f3368]
533
+ - @ai-sdk/provider@3.0.0-beta.25
534
+ - @ai-sdk/gateway@2.0.0-beta.73
535
+ - @ai-sdk/provider-utils@4.0.0-beta.44
536
+
537
+ ## 6.0.0-beta.137
538
+
539
+ ### Patch Changes
540
+
541
+ - 9ba4324: feat(ai): support SystemModelMessage[] in system and instructions properties
542
+
543
+ ## 6.0.0-beta.136
544
+
545
+ ### Patch Changes
546
+
547
+ - 3d83f38: chore(ai): improve addToolInputExamplesMiddleware
548
+
549
+ ## 6.0.0-beta.135
550
+
551
+ ### Patch Changes
552
+
553
+ - afe7093: feat: add middleware for tool input examples
554
+
555
+ ## 6.0.0-beta.134
556
+
557
+ ### Patch Changes
558
+
559
+ - 686103c: chore(ai): export ContentPart type
560
+
561
+ ## 6.0.0-beta.133
562
+
563
+ ### Patch Changes
564
+
565
+ - dce03c4: feat: tool input examples
566
+ - Updated dependencies [dce03c4]
567
+ - @ai-sdk/provider-utils@4.0.0-beta.43
568
+ - @ai-sdk/provider@3.0.0-beta.24
569
+ - @ai-sdk/gateway@2.0.0-beta.72
570
+
571
+ ## 6.0.0-beta.132
572
+
573
+ ### Patch Changes
574
+
575
+ - af9dab3: fix(ai): remove unused mode setting from generateObject and streamObject
576
+
577
+ ## 6.0.0-beta.131
578
+
579
+ ### Patch Changes
580
+
581
+ - 3ed5519: chore: rename ToolCallOptions to ToolExecutionOptions
582
+ - Updated dependencies [3ed5519]
583
+ - @ai-sdk/provider-utils@4.0.0-beta.42
584
+ - @ai-sdk/gateway@2.0.0-beta.71
585
+
586
+ ## 6.0.0-beta.130
587
+
588
+ ### Patch Changes
589
+
590
+ - 1bd7d32: feat: tool-specific strict mode
591
+ - Updated dependencies [1bd7d32]
592
+ - @ai-sdk/provider-utils@4.0.0-beta.41
593
+ - @ai-sdk/provider@3.0.0-beta.23
594
+ - @ai-sdk/gateway@2.0.0-beta.70
595
+
596
+ ## 6.0.0-beta.129
597
+
598
+ ### Patch Changes
599
+
600
+ - 67a407c: chore(ai): add warning when using v2 models with AISDK v6
601
+
602
+ ## 6.0.0-beta.128
603
+
604
+ ### Patch Changes
605
+
606
+ - Updated dependencies [b1624f0]
607
+ - @ai-sdk/gateway@2.0.0-beta.69
608
+
609
+ ## 6.0.0-beta.127
610
+
611
+ ### Patch Changes
612
+
613
+ - 614599a: chore(ai): deprecate generateObject and streamObject
614
+
615
+ ## 6.0.0-beta.126
616
+
617
+ ### Patch Changes
618
+
619
+ - b67d224: Fixes an issue where `providerMetadata` and `providerExecuted` were lost when tool input validation failed
620
+
621
+ ## 6.0.0-beta.125
622
+
623
+ ### Patch Changes
624
+
625
+ - 0d6c0d8: chore(ai): remove deprecated CodeMessage type and related types and functions
626
+
627
+ ## 6.0.0-beta.124
628
+
629
+ ### Patch Changes
630
+
631
+ - 544d4e8: chore(specification): rename v3 provider defined tool to provider tool
632
+ - Updated dependencies [544d4e8]
633
+ - @ai-sdk/provider-utils@4.0.0-beta.40
634
+ - @ai-sdk/provider@3.0.0-beta.22
635
+ - @ai-sdk/gateway@2.0.0-beta.68
636
+
637
+ ## 6.0.0-beta.123
638
+
639
+ ### Patch Changes
640
+
641
+ - 954c356: feat(openai): allow custom names for provider-defined tools
642
+ - Updated dependencies [954c356]
643
+ - @ai-sdk/provider-utils@4.0.0-beta.39
644
+ - @ai-sdk/provider@3.0.0-beta.21
645
+ - @ai-sdk/gateway@2.0.0-beta.67
646
+
647
+ ## 6.0.0-beta.122
648
+
649
+ ### Patch Changes
650
+
651
+ - 03849b0: move DelayedPromise into provider utils
652
+ - Updated dependencies [03849b0]
653
+ - @ai-sdk/provider-utils@4.0.0-beta.38
654
+ - @ai-sdk/gateway@2.0.0-beta.66
655
+
656
+ ## 6.0.0-beta.121
657
+
658
+ ### Patch Changes
659
+
660
+ - Updated dependencies [cdd0bc2]
661
+ - @ai-sdk/gateway@2.0.0-beta.65
662
+
663
+ ## 6.0.0-beta.120
664
+
665
+ ### Patch Changes
666
+
667
+ - 457318b: chore(provider,ai): switch to SharedV3Warning and unified warnings
668
+ - Updated dependencies [457318b]
669
+ - @ai-sdk/provider@3.0.0-beta.20
670
+ - @ai-sdk/gateway@2.0.0-beta.64
671
+ - @ai-sdk/provider-utils@4.0.0-beta.37
672
+
673
+ ## 6.0.0-beta.119
674
+
675
+ ### Patch Changes
676
+
677
+ - b59d924: feat(ai): support SystemModelMessage in system and instructions properties
678
+
679
+ ## 6.0.0-beta.118
680
+
681
+ ### Patch Changes
682
+
683
+ - 8d9e8ad: chore(provider): remove generics from EmbeddingModelV3
684
+
685
+ Before
686
+
687
+ ```ts
688
+ model.textEmbeddingModel('my-model-id');
689
+ ```
690
+
691
+ After
692
+
693
+ ```ts
694
+ model.embeddingModel('my-model-id');
695
+ ```
696
+
697
+ - Updated dependencies [8d9e8ad]
698
+ - @ai-sdk/provider@3.0.0-beta.19
699
+ - @ai-sdk/gateway@2.0.0-beta.63
700
+ - @ai-sdk/provider-utils@4.0.0-beta.36
701
+
702
+ ## 6.0.0-beta.117
703
+
704
+ ### Patch Changes
705
+
706
+ - Updated dependencies [10d819b]
707
+ - @ai-sdk/provider@3.0.0-beta.18
708
+ - @ai-sdk/gateway@2.0.0-beta.62
709
+ - @ai-sdk/provider-utils@4.0.0-beta.35
710
+
711
+ ## 6.0.0-beta.116
712
+
713
+ ### Patch Changes
714
+
715
+ - 4ece5f9: feat(agent): add experimental_download to ToolLoopAgent
716
+
717
+ ## 6.0.0-beta.115
718
+
719
+ ### Patch Changes
720
+
721
+ - 7da02d2: fix(ai): prune messages properly when toolCalls set to 'before-last-message'
722
+
723
+ ## 6.0.0-beta.114
724
+
725
+ ### Patch Changes
726
+
727
+ - 69768c2: chore(ai): remove UI message reference from model message validation
728
+
729
+ ## 6.0.0-beta.113
730
+
731
+ ### Patch Changes
732
+
733
+ - 79a8e7f: feat(agent): support abortSignal in createAgentUIStream
734
+
735
+ ## 6.0.0-beta.112
736
+
737
+ ### Patch Changes
738
+
739
+ - e06b663: feat(agent): support experimental stream transforms
740
+
741
+ ## 6.0.0-beta.111
742
+
743
+ ### Patch Changes
744
+
745
+ - Updated dependencies [e8694af]
746
+ - @ai-sdk/gateway@2.0.0-beta.61
747
+
748
+ ## 6.0.0-beta.110
749
+
750
+ ### Patch Changes
751
+
752
+ - db913bd: fix(google): add thought signature to gemini 3 pro image parts
753
+ - Updated dependencies [db913bd]
754
+ - @ai-sdk/provider@3.0.0-beta.17
755
+ - @ai-sdk/gateway@2.0.0-beta.60
756
+ - @ai-sdk/provider-utils@4.0.0-beta.34
757
+
758
+ ## 6.0.0-beta.109
759
+
760
+ ### Patch Changes
761
+
762
+ - 79ba99f: feat(agent): add message metadata support when inferring UI messages
763
+
764
+ ## 6.0.0-beta.108
765
+
766
+ ### Patch Changes
767
+
768
+ - Updated dependencies [5dd4c6a]
769
+ - @ai-sdk/gateway@2.0.0-beta.59
770
+
771
+ ## 6.0.0-beta.107
772
+
773
+ ### Patch Changes
774
+
775
+ - 8445d70: feat: export GatewayModelId and use to type LanguageModel
776
+
777
+ ## 6.0.0-beta.106
778
+
779
+ ### Patch Changes
780
+
781
+ - Updated dependencies [1425df5]
782
+ - @ai-sdk/gateway@2.0.0-beta.58
783
+
784
+ ## 6.0.0-beta.105
785
+
786
+ ### Patch Changes
787
+
788
+ - Updated dependencies [bca7e61]
789
+ - @ai-sdk/gateway@2.0.0-beta.57
790
+
791
+ ## 6.0.0-beta.104
792
+
793
+ ### Patch Changes
794
+
795
+ - 2d166e4: feat(provider/gateway): add support for image models
796
+ - Updated dependencies [2d166e4]
797
+ - @ai-sdk/gateway@2.0.0-beta.56
798
+
799
+ ## 6.0.0-beta.103
800
+
801
+ ### Patch Changes
802
+
803
+ - Updated dependencies [cc5170d]
804
+ - @ai-sdk/gateway@2.0.0-beta.55
805
+
806
+ ## 6.0.0-beta.102
807
+
808
+ ### Patch Changes
809
+
810
+ - Updated dependencies [5f66123]
811
+ - @ai-sdk/gateway@2.0.0-beta.54
812
+
813
+ ## 6.0.0-beta.101
814
+
815
+ ### Patch Changes
816
+
817
+ - Updated dependencies [3782645]
818
+ - @ai-sdk/gateway@2.0.0-beta.53
819
+
820
+ ## 6.0.0-beta.100
821
+
822
+ ### Patch Changes
823
+
824
+ - 8370068: fix(provider/google): preserve thoughtSignature through tool execution
825
+
3
826
  ## 6.0.0-beta.99
4
827
 
5
828
  ### Patch Changes