@ai-sdk/workflow 0.0.0-07500555-20260730161446

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 ADDED
@@ -0,0 +1,1260 @@
1
+ # @ai-sdk/workflow
2
+
3
+ ## 0.0.0-07500555-20260730161446
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [589d87c]
8
+ - Updated dependencies [7f6650b]
9
+ - Updated dependencies [106ea59]
10
+ - @ai-sdk/provider@0.0.0-07500555-20260730161446
11
+ - ai@0.0.0-07500555-20260730161446
12
+ - @ai-sdk/provider-utils@0.0.0-07500555-20260730161446
13
+
14
+ ## 1.0.34
15
+
16
+ ### Patch Changes
17
+
18
+ - ai@7.0.34
19
+
20
+ ## 1.0.33
21
+
22
+ ### Patch Changes
23
+
24
+ - Updated dependencies [02ffdcb]
25
+ - Updated dependencies [76cb673]
26
+ - Updated dependencies [e808fa5]
27
+ - Updated dependencies [33647d7]
28
+ - @ai-sdk/provider-utils@5.0.12
29
+ - ai@7.0.33
30
+
31
+ ## 1.0.32
32
+
33
+ ### Patch Changes
34
+
35
+ - a50b88a: fix(workflow): preserve assistant text in tool-call conversation messages
36
+ - Updated dependencies [6cd7c74]
37
+ - Updated dependencies [e35bcae]
38
+ - Updated dependencies [a4eb3f3]
39
+ - ai@7.0.32
40
+
41
+ ## 1.0.31
42
+
43
+ ### Patch Changes
44
+
45
+ - Updated dependencies [70f18c3]
46
+ - Updated dependencies [cd06458]
47
+ - ai@7.0.31
48
+ - @ai-sdk/provider-utils@5.0.11
49
+
50
+ ## 1.0.30
51
+
52
+ ### Patch Changes
53
+
54
+ - ai@7.0.30
55
+
56
+ ## 1.0.29
57
+
58
+ ### Patch Changes
59
+
60
+ - ai@7.0.29
61
+
62
+ ## 1.0.28
63
+
64
+ ### Patch Changes
65
+
66
+ - Updated dependencies [0bc8d4f]
67
+ - ai@7.0.28
68
+
69
+ ## 1.0.27
70
+
71
+ ### Patch Changes
72
+
73
+ - Updated dependencies [ac01b79]
74
+ - Updated dependencies [31c7be8]
75
+ - Updated dependencies [2696562]
76
+ - ai@7.0.27
77
+ - @ai-sdk/provider-utils@5.0.10
78
+
79
+ ## 1.0.26
80
+
81
+ ### Patch Changes
82
+
83
+ - Updated dependencies [27d294d]
84
+ - ai@7.0.26
85
+
86
+ ## 1.0.25
87
+
88
+ ### Patch Changes
89
+
90
+ - Updated dependencies [4be62c1]
91
+ - Updated dependencies [7805e4a]
92
+ - Updated dependencies [7805e4a]
93
+ - Updated dependencies [f8e82fd]
94
+ - Updated dependencies [cd12954]
95
+ - @ai-sdk/provider-utils@5.0.9
96
+ - ai@7.0.25
97
+
98
+ ## 1.0.24
99
+
100
+ ### Patch Changes
101
+
102
+ - Updated dependencies [e193290]
103
+ - Updated dependencies [e193290]
104
+ - @ai-sdk/provider-utils@5.0.8
105
+ - ai@7.0.24
106
+
107
+ ## 1.0.23
108
+
109
+ ### Patch Changes
110
+
111
+ - Updated dependencies [930f949]
112
+ - ai@7.0.23
113
+
114
+ ## 1.0.22
115
+
116
+ ### Patch Changes
117
+
118
+ - Updated dependencies [8f89c25]
119
+ - ai@7.0.22
120
+
121
+ ## 1.0.21
122
+
123
+ ### Patch Changes
124
+
125
+ - 308a519: chore: enforce consistent imports from `zod/v4` instead of `zod`
126
+ - Updated dependencies [308a519]
127
+ - ai@7.0.21
128
+
129
+ ## 1.0.20
130
+
131
+ ### Patch Changes
132
+
133
+ - a4186d6: Promote the `repairToolCall` option to stable, with a deprecated `experimental_repairToolCall` alias for backwards compatibility.
134
+ - c29e0d7: fix (workflow): mark package as ESM so the published files match the `main`, `types`, and `exports` entrypoints in package.json. Previously `require('@ai-sdk/workflow')` failed with `MODULE_NOT_FOUND` because the declared CommonJS entrypoints were never published.
135
+ - Updated dependencies [b9ac19f]
136
+ - Updated dependencies [a4186d6]
137
+ - ai@7.0.20
138
+
139
+ ## 1.0.19
140
+
141
+ ### Patch Changes
142
+
143
+ - Updated dependencies [be7f05a]
144
+ - Updated dependencies [ee55a07]
145
+ - Updated dependencies [aad737d]
146
+ - Updated dependencies [0f93c57]
147
+ - ai@7.0.19
148
+ - @ai-sdk/provider@4.0.3
149
+ - @ai-sdk/provider-utils@5.0.7
150
+
151
+ ## 1.0.18
152
+
153
+ ### Patch Changes
154
+
155
+ - Updated dependencies [ac306ed]
156
+ - @ai-sdk/provider-utils@5.0.6
157
+ - ai@7.0.18
158
+
159
+ ## 1.0.17
160
+
161
+ ### Patch Changes
162
+
163
+ - 148babc: `WorkflowChatTransport` now drops orphan UI chunks (deltas/ends and tool output/approval chunks whose part was started before the resumed window) when reconnecting with a negative `initialStartIndex`, instead of crashing the AI SDK client. Self-contained `tool-input-available`/`tool-input-error` chunks establish the tool part and are never dropped. A one-time warning links to docs on rewinding to a step boundary server-side.
164
+ - e660e45: Reduce the `doStreamStep` step-boundary payload by returning minimal raw aggregates and reconstructing the `StepResult` outside the step, instead of serializing the full `StepResult` plus the per-chunk array into the durable event log.
165
+ - cc773bc: Expose `totalUsage` and `finishReason` on the `WorkflowAgent.stream()` result, mirroring `GenerateTextResult`/`StreamTextResult` and the existing `onEnd` event payload.
166
+ - ai@7.0.17
167
+
168
+ ## 1.0.16
169
+
170
+ ### Patch Changes
171
+
172
+ - Updated dependencies [a8f9b6d]
173
+ - ai@7.0.16
174
+
175
+ ## 1.0.15
176
+
177
+ ### Patch Changes
178
+
179
+ - ai@7.0.15
180
+
181
+ ## 1.0.14
182
+
183
+ ### Patch Changes
184
+
185
+ - 5c5c0f5: Add experimental streaming transcription support for transcription models, including OpenAI `gpt-realtime-whisper` and xAI WebSocket STT.
186
+ - Updated dependencies [5c5c0f5]
187
+ - ai@7.0.14
188
+ - @ai-sdk/provider@4.0.2
189
+ - @ai-sdk/provider-utils@5.0.5
190
+
191
+ ## 1.0.13
192
+
193
+ ### Patch Changes
194
+
195
+ - ai@7.0.13
196
+
197
+ ## 1.0.12
198
+
199
+ ### Patch Changes
200
+
201
+ - Updated dependencies [ecfeb6f]
202
+ - Updated dependencies [a193137]
203
+ - Updated dependencies [c6f5e62]
204
+ - ai@7.0.12
205
+ - @ai-sdk/provider-utils@5.0.4
206
+
207
+ ## 1.0.11
208
+
209
+ ### Patch Changes
210
+
211
+ - Updated dependencies [0a87626]
212
+ - ai@7.0.11
213
+
214
+ ## 1.0.10
215
+
216
+ ### Patch Changes
217
+
218
+ - Updated dependencies [8c616f0]
219
+ - ai@7.0.10
220
+ - @ai-sdk/provider-utils@5.0.3
221
+
222
+ ## 1.0.9
223
+
224
+ ### Patch Changes
225
+
226
+ - ai@7.0.9
227
+
228
+ ## 1.0.8
229
+
230
+ ### Patch Changes
231
+
232
+ - Updated dependencies [0274f34]
233
+ - @ai-sdk/provider@4.0.1
234
+ - ai@7.0.8
235
+ - @ai-sdk/provider-utils@5.0.2
236
+
237
+ ## 1.0.7
238
+
239
+ ### Patch Changes
240
+
241
+ - Updated dependencies [d598481]
242
+ - ai@7.0.7
243
+
244
+ ## 1.0.6
245
+
246
+ ### Patch Changes
247
+
248
+ - 4a9f4d5: `WorkflowChatTransport` now repairs UI message stream part framing, so duplicated or interleaved durable stream writes no longer crash the AI SDK consumer with `Received text-delta for missing text part`.
249
+ - 4016539: Forward `reasoning` generation settings from `WorkflowAgent` to model calls.
250
+ - Updated dependencies [989402d]
251
+ - ai@7.0.6
252
+
253
+ ## 1.0.5
254
+
255
+ ### Patch Changes
256
+
257
+ - Updated dependencies [a2750db]
258
+ - ai@7.0.5
259
+
260
+ ## 1.0.4
261
+
262
+ ### Patch Changes
263
+
264
+ - Updated dependencies [6a436e3]
265
+ - @ai-sdk/provider-utils@5.0.1
266
+ - ai@7.0.4
267
+
268
+ ## 1.0.3
269
+
270
+ ### Patch Changes
271
+
272
+ - ai@7.0.3
273
+
274
+ ## 1.0.2
275
+
276
+ ### Patch Changes
277
+
278
+ - ai@7.0.2
279
+
280
+ ## 1.0.1
281
+
282
+ ### Patch Changes
283
+
284
+ - ai@7.0.1
285
+
286
+ ## 1.0.0
287
+
288
+ ### Major Changes
289
+
290
+ - 1949571: feat(ai): make experimental_telemetry stable
291
+ - b3976a2: initial version
292
+
293
+ ### Patch Changes
294
+
295
+ - 19736ee: feat(ai): rename onStepFinish to onStepEnd
296
+ - 382d53b: refactoring: rename context to runtimeContext
297
+ - b567a6c: dependency updates
298
+ - b402b95: `WorkflowAgent` now rejects system messages inside `prompt` or `messages` by default, matching the behavior of `generateText`/`streamText`. Set `allowSystemInMessages: true` to opt in to the previous behavior.
299
+ - eea8d98: refactoring: rename tool execution events
300
+ - 98627e5: feat(ai): remove onChunk event from telemetry
301
+ - ca446f8: feat: flexible tool descriptions
302
+ - 75763b0: agents: tag outgoing requests with an ai-sdk-agent user-agent segment for usage attribution (tool-loop, workflow)
303
+ - 9f0e36c: trigger release for all packages after provenance setup
304
+ - 29d8cf4: feat(ai): rename the core-event types
305
+ - 7fc6bd6: Raise minimum supported Node.js version to 22. Supported versions: 22, 24, and 26.
306
+ - a0ca584: fix (workflow): preserve invalid tool calls as errors instead of emitting synthetic success results
307
+ - eba685c: Remove `maxSteps` option from `WorkflowAgent`. Use `stopWhen` with stop conditions like `isStepCount()` instead.
308
+ - 0c4c275: trigger initial canary release
309
+ - 258c093: chore: ensure consistent import handling and avoid import duplicates or cycles
310
+ - 334ae5d: Update step performance metrics with explicit effective, input, output, and total token throughput fields.
311
+ - b8396f0: trigger initial beta release
312
+ - c3d4019: chore(ai): rename 'TelemetrySettings' to 'TelemetryOptions'
313
+ - 083947b: feat(ai): separate toolsContext from context
314
+ - bae5e2b: fix(security): re-validate tool approvals from client message history before execution
315
+
316
+ 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.
317
+
318
+ 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.
319
+
320
+ - d775a57: feat: introduce Instructions type
321
+ - f32c750: refactoring(ai): simplify mergeAbortSignals
322
+ - bf6c17b: Add `id` property to WorkflowAgent for telemetry identification, matching ToolLoopAgent's API surface.
323
+ - 3ca592a: Add `prompt` as an alternative to `messages` in `WorkflowAgent.stream()`, matching the `AgentCallParameters` pattern from ToolLoopAgent.
324
+ - 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.
325
+ - 0455f24: Enrich WorkflowAgent callback event shapes to align with ToolLoopAgent:
326
+ - Add `stepNumber` to `onToolCallStart` and `onToolCallFinish`
327
+ - Add `steps` (previous step results) to `onStepStart`
328
+ - Adopt discriminated union pattern (`success: true/false`) for `onToolCallFinish`
329
+ - Add `durationMs` to `onToolCallFinish`
330
+ - 43543dc: Add `experimental_sandbox` support to `WorkflowAgent`. The sandbox is passed to tool execution, configurable on the constructor or per stream, and available to `prepareStep` for per-step overrides.
331
+ - 0e462a7: Use `LanguageModel` type for model parameter, aligning with `ToolLoopAgent`. Remove async factory model form. Rename callback types to use `WorkflowAgentOn*` prefix.
332
+ - 39dad72: feat(workflow): add stable telemetry integration support to `WorkflowAgent` and remove legacy telemetry options.
333
+ - 1e4b350: Honor `tool.toModelOutput` in `WorkflowAgent`.
334
+
335
+ `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`.
336
+
337
+ Internally exports the shared tool-result model-output helpers from `ai/internal`, and uses the shared `getErrorMessage` behavior for workflow tool error results.
338
+
339
+ - c3a6524: Add a `stepNumber` option to `doStreamStep` so callers can create `StepResult` objects with the correct step number.
340
+ - 907e002: fix (workflow): forward provider-executed tool approvals to the provider on resume
341
+
342
+ `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.
343
+
344
+ - 1d56275: feat(workflow): add `runtimeContext` and `toolsContext` to `WorkflowAgent`.
345
+
346
+ `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.
347
+
348
+ - 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.
349
+ - 69d7128: fix(workflow): reuse the core tool-approval validation in WorkflowAgent
350
+
351
+ `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`.
352
+
353
+ - fbea042: refactor: replace duplicate `filterTools`/`filterToolSet` with shared `experimental_filterActiveTools` from `ai`
354
+
355
+ ## 1.0.0-beta.107
356
+
357
+ ### Patch Changes
358
+
359
+ - ai@7.0.0-beta.187
360
+
361
+ ## 1.0.0-beta.106
362
+
363
+ ### Patch Changes
364
+
365
+ - ai@7.0.0-beta.186
366
+
367
+ ## 1.0.0-beta.105
368
+
369
+ ### Patch Changes
370
+
371
+ - 75763b0: agents: tag outgoing requests with an ai-sdk-agent user-agent segment for usage attribution (tool-loop, workflow)
372
+ - Updated dependencies [75763b0]
373
+ - ai@7.0.0-beta.185
374
+
375
+ ## 1.0.0-beta.104
376
+
377
+ ### Patch Changes
378
+
379
+ - 43543dc: Add `experimental_sandbox` support to `WorkflowAgent`. The sandbox is passed to tool execution, configurable on the constructor or per stream, and available to `prepareStep` for per-step overrides.
380
+
381
+ ## 1.0.0-beta.103
382
+
383
+ ### Patch Changes
384
+
385
+ - Updated dependencies [0416e3e]
386
+ - @ai-sdk/provider@4.0.0-beta.20
387
+ - ai@7.0.0-beta.184
388
+ - @ai-sdk/provider-utils@5.0.0-beta.50
389
+
390
+ ## 1.0.0-beta.102
391
+
392
+ ### Patch Changes
393
+
394
+ - ai@7.0.0-beta.183
395
+
396
+ ## 1.0.0-beta.101
397
+
398
+ ### Patch Changes
399
+
400
+ - b402b95: `WorkflowAgent` now rejects system messages inside `prompt` or `messages` by default, matching the behavior of `generateText`/`streamText`. Set `allowSystemInMessages: true` to opt in to the previous behavior.
401
+
402
+ ## 1.0.0-beta.100
403
+
404
+ ### Patch Changes
405
+
406
+ - 907e002: fix (workflow): forward provider-executed tool approvals to the provider on resume
407
+
408
+ `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.
409
+
410
+ ## 1.0.0-beta.99
411
+
412
+ ### Patch Changes
413
+
414
+ - Updated dependencies [cc6ab90]
415
+ - ai@7.0.0-beta.182
416
+
417
+ ## 1.0.0-beta.98
418
+
419
+ ### Patch Changes
420
+
421
+ - Updated dependencies [6a2caf9]
422
+ - ai@7.0.0-beta.181
423
+
424
+ ## 1.0.0-beta.97
425
+
426
+ ### Patch Changes
427
+
428
+ - Updated dependencies [81a284b]
429
+ - ai@7.0.0-beta.180
430
+
431
+ ## 1.0.0-beta.96
432
+
433
+ ### Patch Changes
434
+
435
+ - ai@7.0.0-beta.179
436
+
437
+ ## 1.0.0-beta.95
438
+
439
+ ### Patch Changes
440
+
441
+ - Updated dependencies [b097c52]
442
+ - ai@7.0.0-beta.178
443
+
444
+ ## 1.0.0-beta.94
445
+
446
+ ### Patch Changes
447
+
448
+ - b8396f0: trigger initial beta release
449
+ - Updated dependencies [b8396f0]
450
+ - @ai-sdk/provider-utils@5.0.0-beta.49
451
+ - @ai-sdk/provider@4.0.0-beta.19
452
+ - ai@7.0.0-beta.177
453
+
454
+ ## 1.0.0-canary.93
455
+
456
+ ### Patch Changes
457
+
458
+ - ai@7.0.0-canary.176
459
+
460
+ ## 1.0.0-canary.92
461
+
462
+ ### Patch Changes
463
+
464
+ - Updated dependencies [6ec57f5]
465
+ - ai@7.0.0-canary.175
466
+
467
+ ## 1.0.0-canary.91
468
+
469
+ ### Patch Changes
470
+
471
+ - ai@7.0.0-canary.174
472
+
473
+ ## 1.0.0-canary.90
474
+
475
+ ### Patch Changes
476
+
477
+ - ai@7.0.0-canary.173
478
+
479
+ ## 1.0.0-canary.89
480
+
481
+ ### Patch Changes
482
+
483
+ - Updated dependencies [aeda373]
484
+ - Updated dependencies [25a64f8]
485
+ - Updated dependencies [375fdd7]
486
+ - Updated dependencies [f18b08f]
487
+ - Updated dependencies [b4507d5]
488
+ - @ai-sdk/provider-utils@5.0.0-canary.48
489
+ - ai@7.0.0-canary.172
490
+
491
+ ## 1.0.0-canary.88
492
+
493
+ ### Patch Changes
494
+
495
+ - Updated dependencies [89ad56f]
496
+ - Updated dependencies [f9a496f]
497
+ - Updated dependencies [3295831]
498
+ - ai@7.0.0-canary.171
499
+
500
+ ## 1.0.0-canary.87
501
+
502
+ ### Patch Changes
503
+
504
+ - bae5e2b: fix(security): re-validate tool approvals from client message history before execution
505
+
506
+ 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.
507
+
508
+ 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.
509
+
510
+ - 69d7128: fix(workflow): reuse the core tool-approval validation in WorkflowAgent
511
+
512
+ `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`.
513
+
514
+ - Updated dependencies [bae5e2b]
515
+ - Updated dependencies [69d7128]
516
+ - ai@7.0.0-canary.170
517
+ - @ai-sdk/provider-utils@5.0.0-canary.47
518
+
519
+ ## 1.0.0-canary.86
520
+
521
+ ### Patch Changes
522
+
523
+ - Updated dependencies [a5018ab]
524
+ - Updated dependencies [21d3d60]
525
+ - Updated dependencies [426dbbb]
526
+ - Updated dependencies [7fd3360]
527
+ - ai@7.0.0-canary.169
528
+
529
+ ## 1.0.0-canary.85
530
+
531
+ ### Patch Changes
532
+
533
+ - 1e4b350: Honor `tool.toModelOutput` in `WorkflowAgent`.
534
+
535
+ `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`.
536
+
537
+ Internally exports the shared tool-result model-output helpers from `ai/internal`, and uses the shared `getErrorMessage` behavior for workflow tool error results.
538
+
539
+ - Updated dependencies [1e4b350]
540
+ - ai@7.0.0-canary.168
541
+
542
+ ## 1.0.0-canary.84
543
+
544
+ ### Patch Changes
545
+
546
+ - Updated dependencies [4757690]
547
+ - Updated dependencies [eeefc3f]
548
+ - Updated dependencies [b79b6a8]
549
+ - ai@7.0.0-canary.167
550
+
551
+ ## 1.0.0-canary.83
552
+
553
+ ### Patch Changes
554
+
555
+ - 19736ee: feat(ai): rename onStepFinish to onStepEnd
556
+ - Updated dependencies [19736ee]
557
+ - Updated dependencies [d66ae02]
558
+ - Updated dependencies [e4182bd]
559
+ - ai@7.0.0-canary.166
560
+
561
+ ## 1.0.0-canary.82
562
+
563
+ ### Patch Changes
564
+
565
+ - Updated dependencies [ce769dd]
566
+ - @ai-sdk/provider@4.0.0-canary.18
567
+ - ai@7.0.0-canary.165
568
+ - @ai-sdk/provider-utils@5.0.0-canary.46
569
+
570
+ ## 1.0.0-canary.81
571
+
572
+ ### Patch Changes
573
+
574
+ - ai@7.0.0-canary.164
575
+
576
+ ## 1.0.0-canary.80
577
+
578
+ ### Patch Changes
579
+
580
+ - Updated dependencies [ee798eb]
581
+ - Updated dependencies [daf6637]
582
+ - Updated dependencies [c907622]
583
+ - @ai-sdk/provider-utils@5.0.0-canary.45
584
+ - ai@7.0.0-canary.163
585
+
586
+ ## 1.0.0-canary.79
587
+
588
+ ### Patch Changes
589
+
590
+ - ai@7.0.0-canary.162
591
+
592
+ ## 1.0.0-canary.78
593
+
594
+ ### Patch Changes
595
+
596
+ - ai@7.0.0-canary.161
597
+
598
+ ## 1.0.0-canary.77
599
+
600
+ ### Patch Changes
601
+
602
+ - ai@7.0.0-canary.160
603
+
604
+ ## 1.0.0-canary.76
605
+
606
+ ### Patch Changes
607
+
608
+ - Updated dependencies [b5092f5]
609
+ - ai@7.0.0-canary.159
610
+
611
+ ## 1.0.0-canary.75
612
+
613
+ ### Patch Changes
614
+
615
+ - Updated dependencies [bcce2dd]
616
+ - ai@7.0.0-canary.158
617
+
618
+ ## 1.0.0-canary.74
619
+
620
+ ### Patch Changes
621
+
622
+ - ai@7.0.0-canary.157
623
+
624
+ ## 1.0.0-canary.73
625
+
626
+ ### Patch Changes
627
+
628
+ - Updated dependencies [023550e]
629
+ - Updated dependencies [e92fc45]
630
+ - ai@7.0.0-canary.156
631
+
632
+ ## 1.0.0-canary.72
633
+
634
+ ### Patch Changes
635
+
636
+ - Updated dependencies [e67d80e]
637
+ - Updated dependencies [6cca112]
638
+ - Updated dependencies [82fc0ab]
639
+ - Updated dependencies [76fd58c]
640
+ - ai@7.0.0-canary.155
641
+
642
+ ## 1.0.0-canary.71
643
+
644
+ ### Patch Changes
645
+
646
+ - Updated dependencies [594029e]
647
+ - ai@7.0.0-canary.154
648
+
649
+ ## 1.0.0-canary.70
650
+
651
+ ### Patch Changes
652
+
653
+ - Updated dependencies [6c93e36]
654
+ - Updated dependencies [f617ac2]
655
+ - @ai-sdk/provider-utils@5.0.0-canary.44
656
+ - ai@7.0.0-canary.153
657
+
658
+ ## 1.0.0-canary.69
659
+
660
+ ### Patch Changes
661
+
662
+ - ai@7.0.0-canary.152
663
+
664
+ ## 1.0.0-canary.68
665
+
666
+ ### Patch Changes
667
+
668
+ - ai@7.0.0-canary.151
669
+
670
+ ## 1.0.0-canary.67
671
+
672
+ ### Patch Changes
673
+
674
+ - ai@7.0.0-canary.150
675
+
676
+ ## 1.0.0-canary.66
677
+
678
+ ### Patch Changes
679
+
680
+ - Updated dependencies [e3d9c0e]
681
+ - ai@7.0.0-canary.149
682
+
683
+ ## 1.0.0-canary.65
684
+
685
+ ### Patch Changes
686
+
687
+ - Updated dependencies [2852a84]
688
+ - ai@7.0.0-canary.148
689
+
690
+ ## 1.0.0-canary.64
691
+
692
+ ### Patch Changes
693
+
694
+ - ai@7.0.0-canary.147
695
+
696
+ ## 1.0.0-canary.63
697
+
698
+ ### Patch Changes
699
+
700
+ - ai@7.0.0-canary.146
701
+
702
+ ## 1.0.0-canary.62
703
+
704
+ ### Patch Changes
705
+
706
+ - ai@7.0.0-canary.145
707
+
708
+ ## 1.0.0-canary.61
709
+
710
+ ### Patch Changes
711
+
712
+ - 7fc6bd6: Raise minimum supported Node.js version to 22. Supported versions: 22, 24, and 26.
713
+ - Updated dependencies [7fc6bd6]
714
+ - ai@7.0.0-canary.144
715
+ - @ai-sdk/provider-utils@5.0.0-canary.43
716
+ - @ai-sdk/provider@4.0.0-canary.17
717
+
718
+ ## 1.0.0-canary.60
719
+
720
+ ### Patch Changes
721
+
722
+ - b567a6c: dependency updates
723
+ - Updated dependencies [a6617c5]
724
+ - @ai-sdk/provider-utils@5.0.0-canary.42
725
+ - ai@7.0.0-canary.143
726
+
727
+ ## 1.0.0-canary.59
728
+
729
+ ### Patch Changes
730
+
731
+ - Updated dependencies [62d6481]
732
+ - ai@7.0.0-canary.142
733
+
734
+ ## 1.0.0-canary.58
735
+
736
+ ### Patch Changes
737
+
738
+ - Updated dependencies [e3a0419]
739
+ - ai@7.0.0-canary.141
740
+
741
+ ## 1.0.0-canary.57
742
+
743
+ ### Patch Changes
744
+
745
+ - ai@7.0.0-canary.140
746
+
747
+ ## 1.0.0-canary.56
748
+
749
+ ### Patch Changes
750
+
751
+ - 334ae5d: Update step performance metrics with explicit effective, input, output, and total token throughput fields.
752
+ - Updated dependencies [334ae5d]
753
+ - Updated dependencies [28dfa06]
754
+ - Updated dependencies [e93fa91]
755
+ - ai@7.0.0-canary.139
756
+ - @ai-sdk/provider-utils@5.0.0-canary.41
757
+
758
+ ## 1.0.0-canary.55
759
+
760
+ ### Patch Changes
761
+
762
+ - ai@7.0.0-canary.138
763
+
764
+ ## 1.0.0-canary.54
765
+
766
+ ### Patch Changes
767
+
768
+ - 98627e5: feat(ai): remove onChunk event from telemetry
769
+ - Updated dependencies [98627e5]
770
+ - Updated dependencies [476e1ca]
771
+ - ai@7.0.0-canary.137
772
+
773
+ ## 1.0.0-canary.53
774
+
775
+ ### Patch Changes
776
+
777
+ - Updated dependencies [a7de9c9]
778
+ - @ai-sdk/provider-utils@5.0.0-canary.40
779
+ - ai@7.0.0-canary.136
780
+
781
+ ## 1.0.0-canary.52
782
+
783
+ ### Patch Changes
784
+
785
+ - Updated dependencies [105f95b]
786
+ - @ai-sdk/provider-utils@5.0.0-canary.39
787
+ - ai@7.0.0-canary.135
788
+
789
+ ## 1.0.0-canary.51
790
+
791
+ ### Patch Changes
792
+
793
+ - Updated dependencies [ed74dae]
794
+ - Updated dependencies [f4cc8eb]
795
+ - Updated dependencies [e80ada0]
796
+ - Updated dependencies [1dca341]
797
+ - Updated dependencies [2605e5f]
798
+ - ai@7.0.0-canary.134
799
+
800
+ ## 1.0.0-canary.50
801
+
802
+ ### Patch Changes
803
+
804
+ - Updated dependencies [38ca8dc]
805
+ - Updated dependencies [6d76710]
806
+ - ai@7.0.0-canary.133
807
+
808
+ ## 1.0.0-canary.49
809
+
810
+ ### Patch Changes
811
+
812
+ - 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.
813
+ - Updated dependencies [eaf849f]
814
+ - Updated dependencies [8565dcb]
815
+ - ai@7.0.0-canary.132
816
+
817
+ ## 1.0.0-canary.48
818
+
819
+ ### Patch Changes
820
+
821
+ - c3a6524: Add a `stepNumber` option to `doStreamStep` so callers can create `StepResult` objects with the correct step number.
822
+
823
+ ## 1.0.0-canary.47
824
+
825
+ ### Patch Changes
826
+
827
+ - ca446f8: feat: flexible tool descriptions
828
+ - Updated dependencies [b67525f]
829
+ - Updated dependencies [ca446f8]
830
+ - Updated dependencies [bcacd48]
831
+ - ai@7.0.0-canary.131
832
+ - @ai-sdk/provider-utils@5.0.0-canary.38
833
+
834
+ ## 1.0.0-canary.46
835
+
836
+ ### Patch Changes
837
+
838
+ - ai@7.0.0-canary.130
839
+
840
+ ## 1.0.0-canary.45
841
+
842
+ ### Patch Changes
843
+
844
+ - Updated dependencies [d1b3786]
845
+ - ai@7.0.0-canary.129
846
+
847
+ ## 1.0.0-canary.44
848
+
849
+ ### Patch Changes
850
+
851
+ - Updated dependencies [d848405]
852
+ - @ai-sdk/provider-utils@5.0.0-canary.37
853
+ - ai@7.0.0-canary.128
854
+
855
+ ## 1.0.0-canary.43
856
+
857
+ ### Patch Changes
858
+
859
+ - d775a57: feat: introduce Instructions type
860
+ - 39dad72: feat(workflow): add stable telemetry integration support to `WorkflowAgent` and remove legacy telemetry options.
861
+ - Updated dependencies [e95e38d]
862
+ - Updated dependencies [016e877]
863
+ - Updated dependencies [ca99fea]
864
+ - Updated dependencies [ca39020]
865
+ - Updated dependencies [d775a57]
866
+ - Updated dependencies [538c12b]
867
+ - ai@7.0.0-canary.127
868
+ - @ai-sdk/provider-utils@5.0.0-canary.36
869
+
870
+ ## 1.0.0-canary.42
871
+
872
+ ### Patch Changes
873
+
874
+ - Updated dependencies [f634bac]
875
+ - @ai-sdk/provider-utils@5.0.0-canary.35
876
+ - ai@7.0.0-canary.126
877
+
878
+ ## 1.0.0-canary.41
879
+
880
+ ### Patch Changes
881
+
882
+ - 1d56275: feat(workflow): add `runtimeContext` and `toolsContext` to `WorkflowAgent`.
883
+
884
+ `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.
885
+
886
+ ## 1.0.0-canary.40
887
+
888
+ ### Patch Changes
889
+
890
+ - Updated dependencies [fd4f578]
891
+ - Updated dependencies [31f69de]
892
+ - Updated dependencies [7c71ac6]
893
+ - Updated dependencies [c0c8ca2]
894
+ - Updated dependencies [5faf71c]
895
+ - Updated dependencies [69254e0]
896
+ - Updated dependencies [3015fc3]
897
+ - Updated dependencies [eee1166]
898
+ - Updated dependencies [7dbf992]
899
+ - ai@7.0.0-canary.125
900
+ - @ai-sdk/provider-utils@5.0.0-canary.34
901
+
902
+ ## 1.0.0-canary.39
903
+
904
+ ### Patch Changes
905
+
906
+ - Updated dependencies [69aeb0e]
907
+ - Updated dependencies [48e92f3]
908
+ - ai@7.0.0-canary.124
909
+
910
+ ## 1.0.0-canary.38
911
+
912
+ ### Patch Changes
913
+
914
+ - Updated dependencies [7392266]
915
+ - Updated dependencies [4bb4dbc]
916
+ - ai@7.0.0-canary.123
917
+
918
+ ## 1.0.0-canary.37
919
+
920
+ ### Patch Changes
921
+
922
+ - Updated dependencies [79b2468]
923
+ - Updated dependencies [c22750c]
924
+ - ai@7.0.0-canary.122
925
+
926
+ ## 1.0.0-canary.36
927
+
928
+ ### Patch Changes
929
+
930
+ - Updated dependencies [2427d88]
931
+ - Updated dependencies [5588abd]
932
+ - Updated dependencies [6dd6b83]
933
+ - @ai-sdk/provider-utils@5.0.0-canary.33
934
+ - ai@7.0.0-canary.121
935
+
936
+ ## 1.0.0-canary.35
937
+
938
+ ### Patch Changes
939
+
940
+ - Updated dependencies [5463d0d]
941
+ - @ai-sdk/provider-utils@5.0.0-canary.32
942
+ - @ai-sdk/provider@4.0.0-canary.16
943
+ - ai@7.0.0-canary.120
944
+
945
+ ## 1.0.0-canary.34
946
+
947
+ ### Patch Changes
948
+
949
+ - ai@7.0.0-canary.119
950
+
951
+ ## 1.0.0-canary.33
952
+
953
+ ### Patch Changes
954
+
955
+ - Updated dependencies [47e65d6]
956
+ - ai@7.0.0-canary.118
957
+
958
+ ## 1.0.0-canary.32
959
+
960
+ ### Patch Changes
961
+
962
+ - 0c4c275: trigger initial canary release
963
+ - Updated dependencies [0c4c275]
964
+ - @ai-sdk/provider-utils@5.0.0-canary.31
965
+ - @ai-sdk/provider@4.0.0-canary.15
966
+ - ai@7.0.0-canary.117
967
+
968
+ ## 1.0.0-beta.31
969
+
970
+ ### Patch Changes
971
+
972
+ - ai@7.0.0-beta.116
973
+
974
+ ## 1.0.0-beta.30
975
+
976
+ ### Patch Changes
977
+
978
+ - Updated dependencies [08d2129]
979
+ - Updated dependencies [202f107]
980
+ - @ai-sdk/provider-utils@5.0.0-beta.30
981
+ - ai@7.0.0-beta.115
982
+
983
+ ## 1.0.0-beta.29
984
+
985
+ ### Patch Changes
986
+
987
+ - 258c093: chore: ensure consistent import handling and avoid import duplicates or cycles
988
+ - Updated dependencies [43a6750]
989
+ - Updated dependencies [81caa5d]
990
+ - Updated dependencies [1f7db50]
991
+ - Updated dependencies [9bd6512]
992
+ - Updated dependencies [258c093]
993
+ - Updated dependencies [b6783da]
994
+ - Updated dependencies [6147cdf]
995
+ - ai@7.0.0-beta.114
996
+ - @ai-sdk/provider-utils@5.0.0-beta.29
997
+ - @ai-sdk/provider@4.0.0-beta.14
998
+
999
+ ## 1.0.0-beta.28
1000
+
1001
+ ### Patch Changes
1002
+
1003
+ - 9f0e36c: trigger release for all packages after provenance setup
1004
+ - Updated dependencies [9f0e36c]
1005
+ - ai@7.0.0-beta.113
1006
+ - @ai-sdk/provider@4.0.0-beta.13
1007
+ - @ai-sdk/provider-utils@5.0.0-beta.28
1008
+
1009
+ ## 1.0.0-beta.27
1010
+
1011
+ ### Patch Changes
1012
+
1013
+ - 29d8cf4: feat(ai): rename the core-event types
1014
+ - a0ca584: fix (workflow): preserve invalid tool calls as errors instead of emitting synthetic success results
1015
+ - Updated dependencies [785fe16]
1016
+ - Updated dependencies [5f3749c]
1017
+ - Updated dependencies [0a51f7d]
1018
+ - Updated dependencies [71d3022]
1019
+ - Updated dependencies [67df0a0]
1020
+ - Updated dependencies [4181cfe]
1021
+ - Updated dependencies [51ce232]
1022
+ - Updated dependencies [cf93359]
1023
+ - Updated dependencies [befb78c]
1024
+ - Updated dependencies [29d8cf4]
1025
+ - Updated dependencies [0458559]
1026
+ - Updated dependencies [58a2ad7]
1027
+ - Updated dependencies [5852c0a]
1028
+ - Updated dependencies [37d69b2]
1029
+ - Updated dependencies [1043274]
1030
+ - Updated dependencies [7f59f04]
1031
+ - Updated dependencies [7677c1e]
1032
+ - Updated dependencies [116c89f]
1033
+ - Updated dependencies [f58f9bc]
1034
+ - Updated dependencies [e1bfb9c]
1035
+ - Updated dependencies [e87d71b]
1036
+ - Updated dependencies [9d486aa]
1037
+ - Updated dependencies [9b0bc8a]
1038
+ - Updated dependencies [fc92055]
1039
+ - Updated dependencies [4e095b0]
1040
+ - @ai-sdk/provider-utils@5.0.0-beta.27
1041
+ - ai@7.0.0-beta.112
1042
+
1043
+ ## 1.0.0-beta.26
1044
+
1045
+ ### Major Changes
1046
+
1047
+ - 1949571: feat(ai): make experimental_telemetry stable
1048
+
1049
+ ### Patch Changes
1050
+
1051
+ - f32c750: refactoring(ai): simplify mergeAbortSignals
1052
+ - Updated dependencies [f319fde]
1053
+ - Updated dependencies [1949571]
1054
+ - Updated dependencies [511902c]
1055
+ - Updated dependencies [6542d93]
1056
+ - Updated dependencies [2e98477]
1057
+ - Updated dependencies [876fd3e]
1058
+ - Updated dependencies [f32c750]
1059
+ - ai@7.0.0-beta.111
1060
+ - @ai-sdk/provider-utils@5.0.0-beta.26
1061
+
1062
+ ## 1.0.0-beta.25
1063
+
1064
+ ### Patch Changes
1065
+
1066
+ - Updated dependencies [72cb801]
1067
+ - ai@7.0.0-beta.110
1068
+
1069
+ ## 1.0.0-beta.24
1070
+
1071
+ ### Patch Changes
1072
+
1073
+ - eea8d98: refactoring: rename tool execution events
1074
+ - Updated dependencies [ec98264]
1075
+ - Updated dependencies [eea8d98]
1076
+ - Updated dependencies [75ef93e]
1077
+ - ai@7.0.0-beta.109
1078
+ - @ai-sdk/provider-utils@5.0.0-beta.25
1079
+
1080
+ ## 1.0.0-beta.23
1081
+
1082
+ ### Patch Changes
1083
+
1084
+ - Updated dependencies [f807e45]
1085
+ - @ai-sdk/provider-utils@5.0.0-beta.24
1086
+ - ai@7.0.0-beta.108
1087
+
1088
+ ## 1.0.0-beta.22
1089
+
1090
+ ### Patch Changes
1091
+
1092
+ - Updated dependencies [350ea38]
1093
+ - @ai-sdk/provider-utils@5.0.0-beta.23
1094
+ - ai@7.0.0-beta.107
1095
+
1096
+ ## 1.0.0-beta.21
1097
+
1098
+ ### Patch Changes
1099
+
1100
+ - fbea042: refactor: replace duplicate `filterTools`/`filterToolSet` with shared `experimental_filterActiveTools` from `ai`
1101
+
1102
+ ## 1.0.0-beta.20
1103
+
1104
+ ### Patch Changes
1105
+
1106
+ - ai@7.0.0-beta.106
1107
+
1108
+ ## 1.0.0-beta.19
1109
+
1110
+ ### Patch Changes
1111
+
1112
+ - Updated dependencies [33d099c]
1113
+ - ai@7.0.0-beta.105
1114
+
1115
+ ## 1.0.0-beta.18
1116
+
1117
+ ### Patch Changes
1118
+
1119
+ - eba685c: Remove `maxSteps` option from `WorkflowAgent`. Use `stopWhen` with stop conditions like `isStepCount()` instead.
1120
+ - Updated dependencies [2a74d43]
1121
+ - ai@7.0.0-beta.104
1122
+
1123
+ ## 1.0.0-beta.17
1124
+
1125
+ ### Patch Changes
1126
+
1127
+ - 382d53b: refactoring: rename context to runtimeContext
1128
+ - c3d4019: chore(ai): rename 'TelemetrySettings' to 'TelemetryOptions'
1129
+ - 083947b: feat(ai): separate toolsContext from context
1130
+ - Updated dependencies [382d53b]
1131
+ - Updated dependencies [7bf7d7f]
1132
+ - Updated dependencies [c3d4019]
1133
+ - Updated dependencies [083947b]
1134
+ - ai@7.0.0-beta.103
1135
+ - @ai-sdk/provider-utils@5.0.0-beta.22
1136
+
1137
+ ## 1.0.0-beta.16
1138
+
1139
+ ### Patch Changes
1140
+
1141
+ - ai@7.0.0-beta.102
1142
+
1143
+ ## 1.0.0-beta.15
1144
+
1145
+ ### Patch Changes
1146
+
1147
+ - Updated dependencies [4873966]
1148
+ - ai@7.0.0-beta.101
1149
+
1150
+ ## 1.0.0-beta.14
1151
+
1152
+ ### Patch Changes
1153
+
1154
+ - Updated dependencies [add1126]
1155
+ - @ai-sdk/provider-utils@5.0.0-beta.21
1156
+ - ai@7.0.0-beta.100
1157
+
1158
+ ## 1.0.0-beta.13
1159
+
1160
+ ### Patch Changes
1161
+
1162
+ - Updated dependencies [2a9c144]
1163
+ - ai@7.0.0-beta.99
1164
+
1165
+ ## 1.0.0-beta.12
1166
+
1167
+ ### Patch Changes
1168
+
1169
+ - ai@7.0.0-beta.98
1170
+
1171
+ ## 1.0.0-beta.11
1172
+
1173
+ ### Patch Changes
1174
+
1175
+ - Updated dependencies [208d045]
1176
+ - ai@7.0.0-beta.97
1177
+
1178
+ ## 1.0.0-beta.10
1179
+
1180
+ ### Patch Changes
1181
+
1182
+ - ai@7.0.0-beta.96
1183
+
1184
+ ## 1.0.0-beta.9
1185
+
1186
+ ### Patch Changes
1187
+
1188
+ - Updated dependencies [c4f4b5f]
1189
+ - ai@7.0.0-beta.95
1190
+
1191
+ ## 1.0.0-beta.8
1192
+
1193
+ ### Patch Changes
1194
+
1195
+ - 0455f24: Enrich WorkflowAgent callback event shapes to align with ToolLoopAgent:
1196
+ - Add `stepNumber` to `onToolCallStart` and `onToolCallFinish`
1197
+ - Add `steps` (previous step results) to `onStepStart`
1198
+ - Adopt discriminated union pattern (`success: true/false`) for `onToolCallFinish`
1199
+ - Add `durationMs` to `onToolCallFinish`
1200
+
1201
+ ## 1.0.0-beta.7
1202
+
1203
+ ### Patch Changes
1204
+
1205
+ - Updated dependencies [1582efa]
1206
+ - ai@7.0.0-beta.94
1207
+
1208
+ ## 1.0.0-beta.6
1209
+
1210
+ ### Patch Changes
1211
+
1212
+ - Updated dependencies [bc47739]
1213
+ - ai@7.0.0-beta.93
1214
+
1215
+ ## 1.0.0-beta.5
1216
+
1217
+ ### Patch Changes
1218
+
1219
+ - bf6c17b: Add `id` property to WorkflowAgent for telemetry identification, matching ToolLoopAgent's API surface.
1220
+ - 3ca592a: Add `prompt` as an alternative to `messages` in `WorkflowAgent.stream()`, matching the `AgentCallParameters` pattern from ToolLoopAgent.
1221
+ - 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.
1222
+
1223
+ ## 1.0.0-beta.4
1224
+
1225
+ ### Patch Changes
1226
+
1227
+ - ai@7.0.0-beta.92
1228
+
1229
+ ## 1.0.0-beta.3
1230
+
1231
+ ### Patch Changes
1232
+
1233
+ - 0e462a7: Use `LanguageModel` type for model parameter, aligning with `ToolLoopAgent`. Remove async factory model form. Rename callback types to use `WorkflowAgentOn*` prefix.
1234
+
1235
+ ## 1.0.0-beta.2
1236
+
1237
+ ### Patch Changes
1238
+
1239
+ - ai@7.0.0-beta.91
1240
+
1241
+ ## 1.0.0-beta.1
1242
+
1243
+ ### Patch Changes
1244
+
1245
+ - Updated dependencies [1db29c8]
1246
+ - ai@7.0.0-beta.90
1247
+
1248
+ ## 1.0.0-beta.0
1249
+
1250
+ ### Major Changes
1251
+
1252
+ - b3976a2: initial version
1253
+
1254
+ ### Patch Changes
1255
+
1256
+ - Updated dependencies [b3976a2]
1257
+ - Updated dependencies [ff5eba1]
1258
+ - @ai-sdk/provider-utils@5.0.0-beta.20
1259
+ - @ai-sdk/provider@4.0.0-beta.12
1260
+ - ai@7.0.0-beta.89