@ai-sdk/workflow 1.0.0-beta.1 → 1.0.0-beta.100

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,844 @@
1
1
  # @ai-sdk/workflow
2
2
 
3
+ ## 1.0.0-beta.100
4
+
5
+ ### Patch Changes
6
+
7
+ - 907e002: fix (workflow): forward provider-executed tool approvals to the provider on resume
8
+
9
+ `WorkflowAgent` stripped every `tool-approval-request` and `tool-approval-response` part from the messages when resuming after a tool approval, regardless of whether the tool was locally or provider-executed. For provider-executed tools (e.g. MCP via the OpenAI Responses API) this silently dropped the approval before `convertToLanguageModelPrompt` could forward it, so the provider never learned of the approval and the tool was never executed. Local approvals are still executed and stripped, while provider-executed approvals are now preserved and forwarded to the provider, matching the discriminator core's `streamText` already uses. This is the inverse of the bug fixed in #14289.
10
+
11
+ ## 1.0.0-beta.99
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies [cc6ab90]
16
+ - ai@7.0.0-beta.182
17
+
18
+ ## 1.0.0-beta.98
19
+
20
+ ### Patch Changes
21
+
22
+ - Updated dependencies [6a2caf9]
23
+ - ai@7.0.0-beta.181
24
+
25
+ ## 1.0.0-beta.97
26
+
27
+ ### Patch Changes
28
+
29
+ - Updated dependencies [81a284b]
30
+ - ai@7.0.0-beta.180
31
+
32
+ ## 1.0.0-beta.96
33
+
34
+ ### Patch Changes
35
+
36
+ - ai@7.0.0-beta.179
37
+
38
+ ## 1.0.0-beta.95
39
+
40
+ ### Patch Changes
41
+
42
+ - Updated dependencies [b097c52]
43
+ - ai@7.0.0-beta.178
44
+
45
+ ## 1.0.0-beta.94
46
+
47
+ ### Patch Changes
48
+
49
+ - b8396f0: trigger initial beta release
50
+ - Updated dependencies [b8396f0]
51
+ - @ai-sdk/provider-utils@5.0.0-beta.49
52
+ - @ai-sdk/provider@4.0.0-beta.19
53
+ - ai@7.0.0-beta.177
54
+
55
+ ## 1.0.0-canary.93
56
+
57
+ ### Patch Changes
58
+
59
+ - ai@7.0.0-canary.176
60
+
61
+ ## 1.0.0-canary.92
62
+
63
+ ### Patch Changes
64
+
65
+ - Updated dependencies [6ec57f5]
66
+ - ai@7.0.0-canary.175
67
+
68
+ ## 1.0.0-canary.91
69
+
70
+ ### Patch Changes
71
+
72
+ - ai@7.0.0-canary.174
73
+
74
+ ## 1.0.0-canary.90
75
+
76
+ ### Patch Changes
77
+
78
+ - ai@7.0.0-canary.173
79
+
80
+ ## 1.0.0-canary.89
81
+
82
+ ### Patch Changes
83
+
84
+ - Updated dependencies [aeda373]
85
+ - Updated dependencies [25a64f8]
86
+ - Updated dependencies [375fdd7]
87
+ - Updated dependencies [f18b08f]
88
+ - Updated dependencies [b4507d5]
89
+ - @ai-sdk/provider-utils@5.0.0-canary.48
90
+ - ai@7.0.0-canary.172
91
+
92
+ ## 1.0.0-canary.88
93
+
94
+ ### Patch Changes
95
+
96
+ - Updated dependencies [89ad56f]
97
+ - Updated dependencies [f9a496f]
98
+ - Updated dependencies [3295831]
99
+ - ai@7.0.0-canary.171
100
+
101
+ ## 1.0.0-canary.87
102
+
103
+ ### Patch Changes
104
+
105
+ - bae5e2b: fix(security): re-validate tool approvals from client message history before execution
106
+
107
+ The approval-replay path in `generateText`/`streamText` (and `WorkflowAgent.stream`) reconstructed approved tool calls from the client-supplied messages array and executed them without re-validating input against the tool's schema or re-applying the approval policy. A client could forge an assistant message with a pre-approved tool-call part and have the server execute a tool with attacker-chosen arguments.
108
+
109
+ The replay path now validates HMAC signature (when `experimental_toolApprovalSecret` is configured), re-validates tool-call input against the tool's input schema, and re-resolves the approval policy before execution.
110
+
111
+ - 69d7128: fix(workflow): reuse the core tool-approval validation in WorkflowAgent
112
+
113
+ `WorkflowAgent.stream` previously reconstructed approved tool calls with a copy of the core collection logic and validated them inline. Because the logic was duplicated, it could drift from the hardened `generateText`/`streamText` implementation. WorkflowAgent now collects approvals via the shared `collectToolApprovals` and re-validates each one through the shared `validateApprovedToolApprovals` (input-schema re-validation, HMAC signature verification when configured, and approval-policy re-resolution) in addition to its existing `needsApproval` guard, so a client-forged approval cannot execute a tool with unvalidated input. The duplicated collector was removed; `collectToolApprovals` and `validateApprovedToolApprovals` are now exported from `ai/internal`.
114
+
115
+ - Updated dependencies [bae5e2b]
116
+ - Updated dependencies [69d7128]
117
+ - ai@7.0.0-canary.170
118
+ - @ai-sdk/provider-utils@5.0.0-canary.47
119
+
120
+ ## 1.0.0-canary.86
121
+
122
+ ### Patch Changes
123
+
124
+ - Updated dependencies [a5018ab]
125
+ - Updated dependencies [21d3d60]
126
+ - Updated dependencies [426dbbb]
127
+ - Updated dependencies [7fd3360]
128
+ - ai@7.0.0-canary.169
129
+
130
+ ## 1.0.0-canary.85
131
+
132
+ ### Patch Changes
133
+
134
+ - 1e4b350: Honor `tool.toModelOutput` in `WorkflowAgent`.
135
+
136
+ `WorkflowAgent` now routes successful local, provider-executed, and approved tool results through each tool's optional `toModelOutput` hook, matching `generateText`, `streamText`, and `ToolLoopAgent`. Previously the hook was ignored and results were always serialized as `text` or `json`.
137
+
138
+ Internally exports the shared tool-result model-output helpers from `ai/internal`, and uses the shared `getErrorMessage` behavior for workflow tool error results.
139
+
140
+ - Updated dependencies [1e4b350]
141
+ - ai@7.0.0-canary.168
142
+
143
+ ## 1.0.0-canary.84
144
+
145
+ ### Patch Changes
146
+
147
+ - Updated dependencies [4757690]
148
+ - Updated dependencies [eeefc3f]
149
+ - Updated dependencies [b79b6a8]
150
+ - ai@7.0.0-canary.167
151
+
152
+ ## 1.0.0-canary.83
153
+
154
+ ### Patch Changes
155
+
156
+ - 19736ee: feat(ai): rename onStepFinish to onStepEnd
157
+ - Updated dependencies [19736ee]
158
+ - Updated dependencies [d66ae02]
159
+ - Updated dependencies [e4182bd]
160
+ - ai@7.0.0-canary.166
161
+
162
+ ## 1.0.0-canary.82
163
+
164
+ ### Patch Changes
165
+
166
+ - Updated dependencies [ce769dd]
167
+ - @ai-sdk/provider@4.0.0-canary.18
168
+ - ai@7.0.0-canary.165
169
+ - @ai-sdk/provider-utils@5.0.0-canary.46
170
+
171
+ ## 1.0.0-canary.81
172
+
173
+ ### Patch Changes
174
+
175
+ - ai@7.0.0-canary.164
176
+
177
+ ## 1.0.0-canary.80
178
+
179
+ ### Patch Changes
180
+
181
+ - Updated dependencies [ee798eb]
182
+ - Updated dependencies [daf6637]
183
+ - Updated dependencies [c907622]
184
+ - @ai-sdk/provider-utils@5.0.0-canary.45
185
+ - ai@7.0.0-canary.163
186
+
187
+ ## 1.0.0-canary.79
188
+
189
+ ### Patch Changes
190
+
191
+ - ai@7.0.0-canary.162
192
+
193
+ ## 1.0.0-canary.78
194
+
195
+ ### Patch Changes
196
+
197
+ - ai@7.0.0-canary.161
198
+
199
+ ## 1.0.0-canary.77
200
+
201
+ ### Patch Changes
202
+
203
+ - ai@7.0.0-canary.160
204
+
205
+ ## 1.0.0-canary.76
206
+
207
+ ### Patch Changes
208
+
209
+ - Updated dependencies [b5092f5]
210
+ - ai@7.0.0-canary.159
211
+
212
+ ## 1.0.0-canary.75
213
+
214
+ ### Patch Changes
215
+
216
+ - Updated dependencies [bcce2dd]
217
+ - ai@7.0.0-canary.158
218
+
219
+ ## 1.0.0-canary.74
220
+
221
+ ### Patch Changes
222
+
223
+ - ai@7.0.0-canary.157
224
+
225
+ ## 1.0.0-canary.73
226
+
227
+ ### Patch Changes
228
+
229
+ - Updated dependencies [023550e]
230
+ - Updated dependencies [e92fc45]
231
+ - ai@7.0.0-canary.156
232
+
233
+ ## 1.0.0-canary.72
234
+
235
+ ### Patch Changes
236
+
237
+ - Updated dependencies [e67d80e]
238
+ - Updated dependencies [6cca112]
239
+ - Updated dependencies [82fc0ab]
240
+ - Updated dependencies [76fd58c]
241
+ - ai@7.0.0-canary.155
242
+
243
+ ## 1.0.0-canary.71
244
+
245
+ ### Patch Changes
246
+
247
+ - Updated dependencies [594029e]
248
+ - ai@7.0.0-canary.154
249
+
250
+ ## 1.0.0-canary.70
251
+
252
+ ### Patch Changes
253
+
254
+ - Updated dependencies [6c93e36]
255
+ - Updated dependencies [f617ac2]
256
+ - @ai-sdk/provider-utils@5.0.0-canary.44
257
+ - ai@7.0.0-canary.153
258
+
259
+ ## 1.0.0-canary.69
260
+
261
+ ### Patch Changes
262
+
263
+ - ai@7.0.0-canary.152
264
+
265
+ ## 1.0.0-canary.68
266
+
267
+ ### Patch Changes
268
+
269
+ - ai@7.0.0-canary.151
270
+
271
+ ## 1.0.0-canary.67
272
+
273
+ ### Patch Changes
274
+
275
+ - ai@7.0.0-canary.150
276
+
277
+ ## 1.0.0-canary.66
278
+
279
+ ### Patch Changes
280
+
281
+ - Updated dependencies [e3d9c0e]
282
+ - ai@7.0.0-canary.149
283
+
284
+ ## 1.0.0-canary.65
285
+
286
+ ### Patch Changes
287
+
288
+ - Updated dependencies [2852a84]
289
+ - ai@7.0.0-canary.148
290
+
291
+ ## 1.0.0-canary.64
292
+
293
+ ### Patch Changes
294
+
295
+ - ai@7.0.0-canary.147
296
+
297
+ ## 1.0.0-canary.63
298
+
299
+ ### Patch Changes
300
+
301
+ - ai@7.0.0-canary.146
302
+
303
+ ## 1.0.0-canary.62
304
+
305
+ ### Patch Changes
306
+
307
+ - ai@7.0.0-canary.145
308
+
309
+ ## 1.0.0-canary.61
310
+
311
+ ### Patch Changes
312
+
313
+ - 7fc6bd6: Raise minimum supported Node.js version to 22. Supported versions: 22, 24, and 26.
314
+ - Updated dependencies [7fc6bd6]
315
+ - ai@7.0.0-canary.144
316
+ - @ai-sdk/provider-utils@5.0.0-canary.43
317
+ - @ai-sdk/provider@4.0.0-canary.17
318
+
319
+ ## 1.0.0-canary.60
320
+
321
+ ### Patch Changes
322
+
323
+ - b567a6c: dependency updates
324
+ - Updated dependencies [a6617c5]
325
+ - @ai-sdk/provider-utils@5.0.0-canary.42
326
+ - ai@7.0.0-canary.143
327
+
328
+ ## 1.0.0-canary.59
329
+
330
+ ### Patch Changes
331
+
332
+ - Updated dependencies [62d6481]
333
+ - ai@7.0.0-canary.142
334
+
335
+ ## 1.0.0-canary.58
336
+
337
+ ### Patch Changes
338
+
339
+ - Updated dependencies [e3a0419]
340
+ - ai@7.0.0-canary.141
341
+
342
+ ## 1.0.0-canary.57
343
+
344
+ ### Patch Changes
345
+
346
+ - ai@7.0.0-canary.140
347
+
348
+ ## 1.0.0-canary.56
349
+
350
+ ### Patch Changes
351
+
352
+ - 334ae5d: Update step performance metrics with explicit effective, input, output, and total token throughput fields.
353
+ - Updated dependencies [334ae5d]
354
+ - Updated dependencies [28dfa06]
355
+ - Updated dependencies [e93fa91]
356
+ - ai@7.0.0-canary.139
357
+ - @ai-sdk/provider-utils@5.0.0-canary.41
358
+
359
+ ## 1.0.0-canary.55
360
+
361
+ ### Patch Changes
362
+
363
+ - ai@7.0.0-canary.138
364
+
365
+ ## 1.0.0-canary.54
366
+
367
+ ### Patch Changes
368
+
369
+ - 98627e5: feat(ai): remove onChunk event from telemetry
370
+ - Updated dependencies [98627e5]
371
+ - Updated dependencies [476e1ca]
372
+ - ai@7.0.0-canary.137
373
+
374
+ ## 1.0.0-canary.53
375
+
376
+ ### Patch Changes
377
+
378
+ - Updated dependencies [a7de9c9]
379
+ - @ai-sdk/provider-utils@5.0.0-canary.40
380
+ - ai@7.0.0-canary.136
381
+
382
+ ## 1.0.0-canary.52
383
+
384
+ ### Patch Changes
385
+
386
+ - Updated dependencies [105f95b]
387
+ - @ai-sdk/provider-utils@5.0.0-canary.39
388
+ - ai@7.0.0-canary.135
389
+
390
+ ## 1.0.0-canary.51
391
+
392
+ ### Patch Changes
393
+
394
+ - Updated dependencies [ed74dae]
395
+ - Updated dependencies [f4cc8eb]
396
+ - Updated dependencies [e80ada0]
397
+ - Updated dependencies [1dca341]
398
+ - Updated dependencies [2605e5f]
399
+ - ai@7.0.0-canary.134
400
+
401
+ ## 1.0.0-canary.50
402
+
403
+ ### Patch Changes
404
+
405
+ - Updated dependencies [38ca8dc]
406
+ - Updated dependencies [6d76710]
407
+ - ai@7.0.0-canary.133
408
+
409
+ ## 1.0.0-canary.49
410
+
411
+ ### Patch Changes
412
+
413
+ - 81e68da: Fix `stepNumber` on telemetry events emitted by `WorkflowAgent.stream` so per-step telemetry integrations (e.g. `@ai-sdk/devtools`) correctly key state per step.
414
+ - Updated dependencies [eaf849f]
415
+ - Updated dependencies [8565dcb]
416
+ - ai@7.0.0-canary.132
417
+
418
+ ## 1.0.0-canary.48
419
+
420
+ ### Patch Changes
421
+
422
+ - c3a6524: Add a `stepNumber` option to `doStreamStep` so callers can create `StepResult` objects with the correct step number.
423
+
424
+ ## 1.0.0-canary.47
425
+
426
+ ### Patch Changes
427
+
428
+ - ca446f8: feat: flexible tool descriptions
429
+ - Updated dependencies [b67525f]
430
+ - Updated dependencies [ca446f8]
431
+ - Updated dependencies [bcacd48]
432
+ - ai@7.0.0-canary.131
433
+ - @ai-sdk/provider-utils@5.0.0-canary.38
434
+
435
+ ## 1.0.0-canary.46
436
+
437
+ ### Patch Changes
438
+
439
+ - ai@7.0.0-canary.130
440
+
441
+ ## 1.0.0-canary.45
442
+
443
+ ### Patch Changes
444
+
445
+ - Updated dependencies [d1b3786]
446
+ - ai@7.0.0-canary.129
447
+
448
+ ## 1.0.0-canary.44
449
+
450
+ ### Patch Changes
451
+
452
+ - Updated dependencies [d848405]
453
+ - @ai-sdk/provider-utils@5.0.0-canary.37
454
+ - ai@7.0.0-canary.128
455
+
456
+ ## 1.0.0-canary.43
457
+
458
+ ### Patch Changes
459
+
460
+ - d775a57: feat: introduce Instructions type
461
+ - 39dad72: feat(workflow): add stable telemetry integration support to `WorkflowAgent` and remove legacy telemetry options.
462
+ - Updated dependencies [e95e38d]
463
+ - Updated dependencies [016e877]
464
+ - Updated dependencies [ca99fea]
465
+ - Updated dependencies [ca39020]
466
+ - Updated dependencies [d775a57]
467
+ - Updated dependencies [538c12b]
468
+ - ai@7.0.0-canary.127
469
+ - @ai-sdk/provider-utils@5.0.0-canary.36
470
+
471
+ ## 1.0.0-canary.42
472
+
473
+ ### Patch Changes
474
+
475
+ - Updated dependencies [f634bac]
476
+ - @ai-sdk/provider-utils@5.0.0-canary.35
477
+ - ai@7.0.0-canary.126
478
+
479
+ ## 1.0.0-canary.41
480
+
481
+ ### Patch Changes
482
+
483
+ - 1d56275: feat(workflow): add `runtimeContext` and `toolsContext` to `WorkflowAgent`.
484
+
485
+ `runtimeContext` is shared agent state that flows through `prepareCall`, `prepareStep`, step results, and `onFinish`. `toolsContext` is a per-tool map; each tool receives its own validated entry as `context`, validated against `tool.contextSchema` when defined. The previous `experimental_context` option (and corresponding fields on related callbacks and option types) has been removed — use `runtimeContext` for shared state and `toolsContext` for per-tool values. Context values in `WorkflowAgent` should be serializable because they can cross workflow and step boundaries.
486
+
487
+ ## 1.0.0-canary.40
488
+
489
+ ### Patch Changes
490
+
491
+ - Updated dependencies [fd4f578]
492
+ - Updated dependencies [31f69de]
493
+ - Updated dependencies [7c71ac6]
494
+ - Updated dependencies [c0c8ca2]
495
+ - Updated dependencies [5faf71c]
496
+ - Updated dependencies [69254e0]
497
+ - Updated dependencies [3015fc3]
498
+ - Updated dependencies [eee1166]
499
+ - Updated dependencies [7dbf992]
500
+ - ai@7.0.0-canary.125
501
+ - @ai-sdk/provider-utils@5.0.0-canary.34
502
+
503
+ ## 1.0.0-canary.39
504
+
505
+ ### Patch Changes
506
+
507
+ - Updated dependencies [69aeb0e]
508
+ - Updated dependencies [48e92f3]
509
+ - ai@7.0.0-canary.124
510
+
511
+ ## 1.0.0-canary.38
512
+
513
+ ### Patch Changes
514
+
515
+ - Updated dependencies [7392266]
516
+ - Updated dependencies [4bb4dbc]
517
+ - ai@7.0.0-canary.123
518
+
519
+ ## 1.0.0-canary.37
520
+
521
+ ### Patch Changes
522
+
523
+ - Updated dependencies [79b2468]
524
+ - Updated dependencies [c22750c]
525
+ - ai@7.0.0-canary.122
526
+
527
+ ## 1.0.0-canary.36
528
+
529
+ ### Patch Changes
530
+
531
+ - Updated dependencies [2427d88]
532
+ - Updated dependencies [5588abd]
533
+ - Updated dependencies [6dd6b83]
534
+ - @ai-sdk/provider-utils@5.0.0-canary.33
535
+ - ai@7.0.0-canary.121
536
+
537
+ ## 1.0.0-canary.35
538
+
539
+ ### Patch Changes
540
+
541
+ - Updated dependencies [5463d0d]
542
+ - @ai-sdk/provider-utils@5.0.0-canary.32
543
+ - @ai-sdk/provider@4.0.0-canary.16
544
+ - ai@7.0.0-canary.120
545
+
546
+ ## 1.0.0-canary.34
547
+
548
+ ### Patch Changes
549
+
550
+ - ai@7.0.0-canary.119
551
+
552
+ ## 1.0.0-canary.33
553
+
554
+ ### Patch Changes
555
+
556
+ - Updated dependencies [47e65d6]
557
+ - ai@7.0.0-canary.118
558
+
559
+ ## 1.0.0-canary.32
560
+
561
+ ### Patch Changes
562
+
563
+ - 0c4c275: trigger initial canary release
564
+ - Updated dependencies [0c4c275]
565
+ - @ai-sdk/provider-utils@5.0.0-canary.31
566
+ - @ai-sdk/provider@4.0.0-canary.15
567
+ - ai@7.0.0-canary.117
568
+
569
+ ## 1.0.0-beta.31
570
+
571
+ ### Patch Changes
572
+
573
+ - ai@7.0.0-beta.116
574
+
575
+ ## 1.0.0-beta.30
576
+
577
+ ### Patch Changes
578
+
579
+ - Updated dependencies [08d2129]
580
+ - Updated dependencies [202f107]
581
+ - @ai-sdk/provider-utils@5.0.0-beta.30
582
+ - ai@7.0.0-beta.115
583
+
584
+ ## 1.0.0-beta.29
585
+
586
+ ### Patch Changes
587
+
588
+ - 258c093: chore: ensure consistent import handling and avoid import duplicates or cycles
589
+ - Updated dependencies [43a6750]
590
+ - Updated dependencies [81caa5d]
591
+ - Updated dependencies [1f7db50]
592
+ - Updated dependencies [9bd6512]
593
+ - Updated dependencies [258c093]
594
+ - Updated dependencies [b6783da]
595
+ - Updated dependencies [6147cdf]
596
+ - ai@7.0.0-beta.114
597
+ - @ai-sdk/provider-utils@5.0.0-beta.29
598
+ - @ai-sdk/provider@4.0.0-beta.14
599
+
600
+ ## 1.0.0-beta.28
601
+
602
+ ### Patch Changes
603
+
604
+ - 9f0e36c: trigger release for all packages after provenance setup
605
+ - Updated dependencies [9f0e36c]
606
+ - ai@7.0.0-beta.113
607
+ - @ai-sdk/provider@4.0.0-beta.13
608
+ - @ai-sdk/provider-utils@5.0.0-beta.28
609
+
610
+ ## 1.0.0-beta.27
611
+
612
+ ### Patch Changes
613
+
614
+ - 29d8cf4: feat(ai): rename the core-event types
615
+ - a0ca584: fix (workflow): preserve invalid tool calls as errors instead of emitting synthetic success results
616
+ - Updated dependencies [785fe16]
617
+ - Updated dependencies [5f3749c]
618
+ - Updated dependencies [0a51f7d]
619
+ - Updated dependencies [71d3022]
620
+ - Updated dependencies [67df0a0]
621
+ - Updated dependencies [4181cfe]
622
+ - Updated dependencies [51ce232]
623
+ - Updated dependencies [cf93359]
624
+ - Updated dependencies [befb78c]
625
+ - Updated dependencies [29d8cf4]
626
+ - Updated dependencies [0458559]
627
+ - Updated dependencies [58a2ad7]
628
+ - Updated dependencies [5852c0a]
629
+ - Updated dependencies [37d69b2]
630
+ - Updated dependencies [1043274]
631
+ - Updated dependencies [7f59f04]
632
+ - Updated dependencies [7677c1e]
633
+ - Updated dependencies [116c89f]
634
+ - Updated dependencies [f58f9bc]
635
+ - Updated dependencies [e1bfb9c]
636
+ - Updated dependencies [e87d71b]
637
+ - Updated dependencies [9d486aa]
638
+ - Updated dependencies [9b0bc8a]
639
+ - Updated dependencies [fc92055]
640
+ - Updated dependencies [4e095b0]
641
+ - @ai-sdk/provider-utils@5.0.0-beta.27
642
+ - ai@7.0.0-beta.112
643
+
644
+ ## 1.0.0-beta.26
645
+
646
+ ### Major Changes
647
+
648
+ - 1949571: feat(ai): make experimental_telemetry stable
649
+
650
+ ### Patch Changes
651
+
652
+ - f32c750: refactoring(ai): simplify mergeAbortSignals
653
+ - Updated dependencies [f319fde]
654
+ - Updated dependencies [1949571]
655
+ - Updated dependencies [511902c]
656
+ - Updated dependencies [6542d93]
657
+ - Updated dependencies [2e98477]
658
+ - Updated dependencies [876fd3e]
659
+ - Updated dependencies [f32c750]
660
+ - ai@7.0.0-beta.111
661
+ - @ai-sdk/provider-utils@5.0.0-beta.26
662
+
663
+ ## 1.0.0-beta.25
664
+
665
+ ### Patch Changes
666
+
667
+ - Updated dependencies [72cb801]
668
+ - ai@7.0.0-beta.110
669
+
670
+ ## 1.0.0-beta.24
671
+
672
+ ### Patch Changes
673
+
674
+ - eea8d98: refactoring: rename tool execution events
675
+ - Updated dependencies [ec98264]
676
+ - Updated dependencies [eea8d98]
677
+ - Updated dependencies [75ef93e]
678
+ - ai@7.0.0-beta.109
679
+ - @ai-sdk/provider-utils@5.0.0-beta.25
680
+
681
+ ## 1.0.0-beta.23
682
+
683
+ ### Patch Changes
684
+
685
+ - Updated dependencies [f807e45]
686
+ - @ai-sdk/provider-utils@5.0.0-beta.24
687
+ - ai@7.0.0-beta.108
688
+
689
+ ## 1.0.0-beta.22
690
+
691
+ ### Patch Changes
692
+
693
+ - Updated dependencies [350ea38]
694
+ - @ai-sdk/provider-utils@5.0.0-beta.23
695
+ - ai@7.0.0-beta.107
696
+
697
+ ## 1.0.0-beta.21
698
+
699
+ ### Patch Changes
700
+
701
+ - fbea042: refactor: replace duplicate `filterTools`/`filterToolSet` with shared `experimental_filterActiveTools` from `ai`
702
+
703
+ ## 1.0.0-beta.20
704
+
705
+ ### Patch Changes
706
+
707
+ - ai@7.0.0-beta.106
708
+
709
+ ## 1.0.0-beta.19
710
+
711
+ ### Patch Changes
712
+
713
+ - Updated dependencies [33d099c]
714
+ - ai@7.0.0-beta.105
715
+
716
+ ## 1.0.0-beta.18
717
+
718
+ ### Patch Changes
719
+
720
+ - eba685c: Remove `maxSteps` option from `WorkflowAgent`. Use `stopWhen` with stop conditions like `isStepCount()` instead.
721
+ - Updated dependencies [2a74d43]
722
+ - ai@7.0.0-beta.104
723
+
724
+ ## 1.0.0-beta.17
725
+
726
+ ### Patch Changes
727
+
728
+ - 382d53b: refactoring: rename context to runtimeContext
729
+ - c3d4019: chore(ai): rename 'TelemetrySettings' to 'TelemetryOptions'
730
+ - 083947b: feat(ai): separate toolsContext from context
731
+ - Updated dependencies [382d53b]
732
+ - Updated dependencies [7bf7d7f]
733
+ - Updated dependencies [c3d4019]
734
+ - Updated dependencies [083947b]
735
+ - ai@7.0.0-beta.103
736
+ - @ai-sdk/provider-utils@5.0.0-beta.22
737
+
738
+ ## 1.0.0-beta.16
739
+
740
+ ### Patch Changes
741
+
742
+ - ai@7.0.0-beta.102
743
+
744
+ ## 1.0.0-beta.15
745
+
746
+ ### Patch Changes
747
+
748
+ - Updated dependencies [4873966]
749
+ - ai@7.0.0-beta.101
750
+
751
+ ## 1.0.0-beta.14
752
+
753
+ ### Patch Changes
754
+
755
+ - Updated dependencies [add1126]
756
+ - @ai-sdk/provider-utils@5.0.0-beta.21
757
+ - ai@7.0.0-beta.100
758
+
759
+ ## 1.0.0-beta.13
760
+
761
+ ### Patch Changes
762
+
763
+ - Updated dependencies [2a9c144]
764
+ - ai@7.0.0-beta.99
765
+
766
+ ## 1.0.0-beta.12
767
+
768
+ ### Patch Changes
769
+
770
+ - ai@7.0.0-beta.98
771
+
772
+ ## 1.0.0-beta.11
773
+
774
+ ### Patch Changes
775
+
776
+ - Updated dependencies [208d045]
777
+ - ai@7.0.0-beta.97
778
+
779
+ ## 1.0.0-beta.10
780
+
781
+ ### Patch Changes
782
+
783
+ - ai@7.0.0-beta.96
784
+
785
+ ## 1.0.0-beta.9
786
+
787
+ ### Patch Changes
788
+
789
+ - Updated dependencies [c4f4b5f]
790
+ - ai@7.0.0-beta.95
791
+
792
+ ## 1.0.0-beta.8
793
+
794
+ ### Patch Changes
795
+
796
+ - 0455f24: Enrich WorkflowAgent callback event shapes to align with ToolLoopAgent:
797
+ - Add `stepNumber` to `onToolCallStart` and `onToolCallFinish`
798
+ - Add `steps` (previous step results) to `onStepStart`
799
+ - Adopt discriminated union pattern (`success: true/false`) for `onToolCallFinish`
800
+ - Add `durationMs` to `onToolCallFinish`
801
+
802
+ ## 1.0.0-beta.7
803
+
804
+ ### Patch Changes
805
+
806
+ - Updated dependencies [1582efa]
807
+ - ai@7.0.0-beta.94
808
+
809
+ ## 1.0.0-beta.6
810
+
811
+ ### Patch Changes
812
+
813
+ - Updated dependencies [bc47739]
814
+ - ai@7.0.0-beta.93
815
+
816
+ ## 1.0.0-beta.5
817
+
818
+ ### Patch Changes
819
+
820
+ - bf6c17b: Add `id` property to WorkflowAgent for telemetry identification, matching ToolLoopAgent's API surface.
821
+ - 3ca592a: Add `prompt` as an alternative to `messages` in `WorkflowAgent.stream()`, matching the `AgentCallParameters` pattern from ToolLoopAgent.
822
+ - eb49d29: Add constructor-level defaults for `stopWhen`, `activeTools`, `output`, `experimental_repairToolCall`, and `experimental_download` to WorkflowAgent, matching ToolLoopAgent's pattern. Stream-level values override constructor defaults.
823
+
824
+ ## 1.0.0-beta.4
825
+
826
+ ### Patch Changes
827
+
828
+ - ai@7.0.0-beta.92
829
+
830
+ ## 1.0.0-beta.3
831
+
832
+ ### Patch Changes
833
+
834
+ - 0e462a7: Use `LanguageModel` type for model parameter, aligning with `ToolLoopAgent`. Remove async factory model form. Rename callback types to use `WorkflowAgentOn*` prefix.
835
+
836
+ ## 1.0.0-beta.2
837
+
838
+ ### Patch Changes
839
+
840
+ - ai@7.0.0-beta.91
841
+
3
842
  ## 1.0.0-beta.1
4
843
 
5
844
  ### Patch Changes