@mastra/ai-sdk 1.10.0 → 1.10.1-alpha.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.
@@ -16,29 +16,29 @@ export declare const networkStreamFixture: ({
16
16
  isComplete?: undefined;
17
17
  result?: undefined;
18
18
  };
19
- task?: undefined;
20
- result?: undefined;
21
- primitiveId?: undefined;
22
- primitiveType?: undefined;
23
19
  prompt?: undefined;
24
- isComplete?: undefined;
25
20
  selectionReason?: undefined;
26
- iteration?: undefined;
27
- usage?: undefined;
28
- args?: undefined;
21
+ workflowId?: undefined;
22
+ id?: undefined;
23
+ data?: undefined;
29
24
  type?: undefined;
30
25
  from?: undefined;
31
26
  payload?: undefined;
32
- data?: undefined;
33
- workflowId?: undefined;
34
- id?: undefined;
35
27
  name?: undefined;
28
+ args?: undefined;
36
29
  toolCallId?: undefined;
37
30
  toolName?: undefined;
31
+ isComplete?: undefined;
32
+ result?: undefined;
38
33
  text?: undefined;
34
+ task?: undefined;
35
+ primitiveId?: undefined;
36
+ primitiveType?: undefined;
37
+ iteration?: undefined;
39
38
  isOneOff?: undefined;
40
39
  threadId?: undefined;
41
40
  threadResourceId?: undefined;
41
+ usage?: undefined;
42
42
  };
43
43
  runId: string;
44
44
  from: string;
@@ -61,19 +61,19 @@ export declare const networkStreamFixture: ({
61
61
  reasoningTokens: number;
62
62
  cachedInputTokens: number;
63
63
  };
64
- networkId?: undefined;
65
- agentId?: undefined;
66
- inputData?: undefined;
67
- args?: undefined;
64
+ workflowId?: undefined;
65
+ id?: undefined;
66
+ data?: undefined;
68
67
  type?: undefined;
69
68
  from?: undefined;
70
69
  payload?: undefined;
71
- data?: undefined;
72
- workflowId?: undefined;
73
- id?: undefined;
74
70
  name?: undefined;
71
+ args?: undefined;
75
72
  toolCallId?: undefined;
76
73
  toolName?: undefined;
74
+ networkId?: undefined;
75
+ agentId?: undefined;
76
+ inputData?: undefined;
77
77
  text?: undefined;
78
78
  isOneOff?: undefined;
79
79
  threadId?: undefined;
@@ -84,6 +84,8 @@ export declare const networkStreamFixture: ({
84
84
  } | {
85
85
  type: string;
86
86
  payload: {
87
+ prompt?: undefined;
88
+ selectionReason?: undefined;
87
89
  agentId: string;
88
90
  args: {
89
91
  task: string;
@@ -96,156 +98,156 @@ export declare const networkStreamFixture: ({
96
98
  iteration: number;
97
99
  runId: string;
98
100
  args?: undefined;
99
- toolName?: undefined;
100
101
  toolCallId?: undefined;
102
+ toolName?: undefined;
101
103
  };
102
104
  runId: string;
103
- networkId?: undefined;
104
- inputData?: undefined;
105
- task?: undefined;
106
- result?: undefined;
107
- primitiveId?: undefined;
108
- primitiveType?: undefined;
109
- prompt?: undefined;
110
- isComplete?: undefined;
111
- selectionReason?: undefined;
112
- iteration?: undefined;
113
- usage?: undefined;
105
+ workflowId?: undefined;
106
+ id?: undefined;
107
+ data?: undefined;
114
108
  type?: undefined;
115
109
  from?: undefined;
116
110
  payload?: undefined;
117
- data?: undefined;
118
- workflowId?: undefined;
119
- id?: undefined;
120
111
  name?: undefined;
121
112
  toolCallId?: undefined;
122
113
  toolName?: undefined;
114
+ networkId?: undefined;
115
+ inputData?: undefined;
116
+ isComplete?: undefined;
117
+ result?: undefined;
123
118
  text?: undefined;
119
+ task?: undefined;
120
+ primitiveId?: undefined;
121
+ primitiveType?: undefined;
122
+ iteration?: undefined;
124
123
  isOneOff?: undefined;
125
124
  threadId?: undefined;
126
125
  threadResourceId?: undefined;
126
+ usage?: undefined;
127
127
  };
128
128
  from: string;
129
129
  runId: string;
130
130
  } | {
131
131
  type: string;
132
132
  payload: {
133
+ prompt?: undefined;
134
+ selectionReason?: undefined;
133
135
  type: string;
134
136
  runId: string;
135
137
  from: string;
136
138
  payload: {
137
139
  id: string;
138
- toolCallId?: undefined;
139
- toolName?: undefined;
140
140
  argsTextDelta?: undefined;
141
- args?: undefined;
141
+ request?: undefined;
142
+ warnings?: undefined;
142
143
  providerMetadata?: undefined;
143
- result?: undefined;
144
144
  messageId?: undefined;
145
145
  stepResult?: undefined;
146
- metadata?: undefined;
147
- output?: undefined;
148
146
  messages?: undefined;
149
- request?: undefined;
150
- warnings?: undefined;
151
- text?: undefined;
152
- type?: undefined;
153
147
  workflowId?: undefined;
148
+ startedAt?: undefined;
154
149
  stepName?: undefined;
155
150
  stepCallId?: undefined;
156
- payload?: undefined;
157
- startedAt?: undefined;
158
151
  status?: undefined;
159
152
  endedAt?: undefined;
153
+ type?: undefined;
154
+ payload?: undefined;
160
155
  workflowStatus?: undefined;
156
+ metadata?: {};
157
+ output?: undefined;
158
+ args?: undefined;
159
+ toolCallId?: undefined;
160
+ toolName?: undefined;
161
+ result?: undefined;
162
+ text?: undefined;
161
163
  };
164
+ workflowId?: undefined;
165
+ id?: undefined;
166
+ data?: undefined;
167
+ name?: undefined;
168
+ args?: undefined;
169
+ toolCallId?: undefined;
170
+ toolName?: undefined;
162
171
  networkId?: undefined;
163
172
  agentId?: undefined;
164
173
  inputData?: undefined;
165
- task?: undefined;
174
+ isComplete?: undefined;
166
175
  result?: undefined;
176
+ text?: undefined;
177
+ task?: undefined;
167
178
  primitiveId?: undefined;
168
179
  primitiveType?: undefined;
169
- prompt?: undefined;
170
- isComplete?: undefined;
171
- selectionReason?: undefined;
172
180
  iteration?: undefined;
173
- usage?: undefined;
174
- args?: undefined;
175
- data?: undefined;
176
- workflowId?: undefined;
177
- id?: undefined;
178
- name?: undefined;
179
- toolCallId?: undefined;
180
- toolName?: undefined;
181
- text?: undefined;
182
181
  isOneOff?: undefined;
183
182
  threadId?: undefined;
184
183
  threadResourceId?: undefined;
184
+ usage?: undefined;
185
185
  };
186
186
  from: string;
187
187
  runId: string;
188
188
  } | {
189
189
  type: string;
190
190
  payload: {
191
+ prompt?: undefined;
192
+ selectionReason?: undefined;
191
193
  type: string;
192
194
  runId: string;
193
195
  from: string;
194
196
  payload: {
195
197
  toolCallId: string;
196
198
  toolName: string;
197
- id?: undefined;
198
199
  argsTextDelta?: undefined;
199
- args?: undefined;
200
+ request?: undefined;
201
+ warnings?: undefined;
200
202
  providerMetadata?: undefined;
201
- result?: undefined;
202
203
  messageId?: undefined;
203
204
  stepResult?: undefined;
204
- metadata?: undefined;
205
- output?: undefined;
206
205
  messages?: undefined;
207
- request?: undefined;
208
- warnings?: undefined;
209
- text?: undefined;
210
- type?: undefined;
211
206
  workflowId?: undefined;
207
+ startedAt?: undefined;
208
+ id?: undefined;
212
209
  stepName?: undefined;
213
210
  stepCallId?: undefined;
214
- payload?: undefined;
215
- startedAt?: undefined;
216
211
  status?: undefined;
217
212
  endedAt?: undefined;
213
+ type?: undefined;
214
+ payload?: undefined;
218
215
  workflowStatus?: undefined;
216
+ metadata?: {};
217
+ output?: undefined;
218
+ args?: undefined;
219
+ result?: undefined;
220
+ text?: undefined;
219
221
  };
222
+ workflowId?: undefined;
223
+ id?: undefined;
224
+ data?: undefined;
225
+ name?: undefined;
226
+ args?: undefined;
227
+ toolCallId?: undefined;
228
+ toolName?: undefined;
220
229
  networkId?: undefined;
221
230
  agentId?: undefined;
222
231
  inputData?: undefined;
223
- task?: undefined;
232
+ isComplete?: undefined;
224
233
  result?: undefined;
234
+ text?: undefined;
235
+ task?: undefined;
225
236
  primitiveId?: undefined;
226
237
  primitiveType?: undefined;
227
- prompt?: undefined;
228
- isComplete?: undefined;
229
- selectionReason?: undefined;
230
238
  iteration?: undefined;
231
- usage?: undefined;
232
- args?: undefined;
233
- data?: undefined;
234
- workflowId?: undefined;
235
- id?: undefined;
236
- name?: undefined;
237
- toolCallId?: undefined;
238
- toolName?: undefined;
239
- text?: undefined;
240
239
  isOneOff?: undefined;
241
240
  threadId?: undefined;
242
241
  threadResourceId?: undefined;
242
+ usage?: undefined;
243
243
  };
244
244
  from: string;
245
245
  runId: string;
246
246
  } | {
247
247
  type: string;
248
248
  payload: {
249
+ prompt?: undefined;
250
+ selectionReason?: undefined;
249
251
  type: string;
250
252
  runId: string;
251
253
  from: string;
@@ -253,119 +255,120 @@ export declare const networkStreamFixture: ({
253
255
  argsTextDelta: string;
254
256
  toolCallId: string;
255
257
  toolName: string;
256
- id?: undefined;
257
- args?: undefined;
258
+ request?: undefined;
259
+ warnings?: undefined;
258
260
  providerMetadata?: undefined;
259
- result?: undefined;
260
261
  messageId?: undefined;
261
262
  stepResult?: undefined;
262
- metadata?: undefined;
263
- output?: undefined;
264
263
  messages?: undefined;
265
- request?: undefined;
266
- warnings?: undefined;
267
- text?: undefined;
268
- type?: undefined;
269
264
  workflowId?: undefined;
265
+ startedAt?: undefined;
266
+ id?: undefined;
270
267
  stepName?: undefined;
271
268
  stepCallId?: undefined;
272
- payload?: undefined;
273
- startedAt?: undefined;
274
269
  status?: undefined;
275
270
  endedAt?: undefined;
271
+ type?: undefined;
272
+ payload?: undefined;
276
273
  workflowStatus?: undefined;
274
+ metadata?: {};
275
+ output?: undefined;
276
+ args?: undefined;
277
+ result?: undefined;
278
+ text?: undefined;
277
279
  };
280
+ workflowId?: undefined;
281
+ id?: undefined;
282
+ data?: undefined;
283
+ name?: undefined;
284
+ args?: undefined;
285
+ toolCallId?: undefined;
286
+ toolName?: undefined;
278
287
  networkId?: undefined;
279
288
  agentId?: undefined;
280
289
  inputData?: undefined;
281
- task?: undefined;
290
+ isComplete?: undefined;
282
291
  result?: undefined;
292
+ text?: undefined;
293
+ task?: undefined;
283
294
  primitiveId?: undefined;
284
295
  primitiveType?: undefined;
285
- prompt?: undefined;
286
- isComplete?: undefined;
287
- selectionReason?: undefined;
288
296
  iteration?: undefined;
289
- usage?: undefined;
290
- args?: undefined;
291
- data?: undefined;
292
- workflowId?: undefined;
293
- id?: undefined;
294
- name?: undefined;
295
- toolCallId?: undefined;
296
- toolName?: undefined;
297
- text?: undefined;
298
297
  isOneOff?: undefined;
299
298
  threadId?: undefined;
300
299
  threadResourceId?: undefined;
300
+ usage?: undefined;
301
301
  };
302
302
  from: string;
303
303
  runId: string;
304
304
  } | {
305
305
  type: string;
306
306
  payload: {
307
+ prompt?: undefined;
308
+ selectionReason?: undefined;
307
309
  type: string;
308
310
  runId: string;
309
311
  from: string;
310
312
  payload: {
311
- toolCallId: string;
312
- id?: undefined;
313
- toolName?: undefined;
314
313
  argsTextDelta?: undefined;
315
- args?: undefined;
314
+ toolCallId: string;
315
+ request?: undefined;
316
+ warnings?: undefined;
316
317
  providerMetadata?: undefined;
317
- result?: undefined;
318
318
  messageId?: undefined;
319
319
  stepResult?: undefined;
320
- metadata?: undefined;
321
- output?: undefined;
322
320
  messages?: undefined;
323
- request?: undefined;
324
- warnings?: undefined;
325
- text?: undefined;
326
- type?: undefined;
327
321
  workflowId?: undefined;
322
+ startedAt?: undefined;
323
+ id?: undefined;
328
324
  stepName?: undefined;
329
325
  stepCallId?: undefined;
330
- payload?: undefined;
331
- startedAt?: undefined;
332
326
  status?: undefined;
333
327
  endedAt?: undefined;
328
+ type?: undefined;
329
+ payload?: undefined;
334
330
  workflowStatus?: undefined;
331
+ metadata?: {};
332
+ output?: undefined;
333
+ args?: undefined;
334
+ toolName?: undefined;
335
+ result?: undefined;
336
+ text?: undefined;
335
337
  };
338
+ workflowId?: undefined;
339
+ id?: undefined;
340
+ data?: undefined;
341
+ name?: undefined;
342
+ args?: undefined;
343
+ toolCallId?: undefined;
344
+ toolName?: undefined;
336
345
  networkId?: undefined;
337
346
  agentId?: undefined;
338
347
  inputData?: undefined;
339
- task?: undefined;
348
+ isComplete?: undefined;
340
349
  result?: undefined;
350
+ text?: undefined;
351
+ task?: undefined;
341
352
  primitiveId?: undefined;
342
353
  primitiveType?: undefined;
343
- prompt?: undefined;
344
- isComplete?: undefined;
345
- selectionReason?: undefined;
346
354
  iteration?: undefined;
347
- usage?: undefined;
348
- args?: undefined;
349
- data?: undefined;
350
- workflowId?: undefined;
351
- id?: undefined;
352
- name?: undefined;
353
- toolCallId?: undefined;
354
- toolName?: undefined;
355
- text?: undefined;
356
355
  isOneOff?: undefined;
357
356
  threadId?: undefined;
358
357
  threadResourceId?: undefined;
358
+ usage?: undefined;
359
359
  };
360
360
  from: string;
361
361
  runId: string;
362
362
  } | {
363
363
  type: string;
364
364
  payload: {
365
+ prompt?: undefined;
366
+ selectionReason?: undefined;
365
367
  type: string;
366
368
  runId: string;
367
369
  from: string;
368
370
  payload: {
371
+ argsTextDelta?: undefined;
369
372
  toolCallId: string;
370
373
  toolName: string;
371
374
  args: {
@@ -377,96 +380,96 @@ export declare const networkStreamFixture: ({
377
380
  itemId: string;
378
381
  };
379
382
  };
380
- id?: undefined;
381
- argsTextDelta?: undefined;
382
- result?: undefined;
383
+ request?: undefined;
384
+ warnings?: undefined;
383
385
  messageId?: undefined;
384
386
  stepResult?: undefined;
385
- metadata?: undefined;
386
- output?: undefined;
387
387
  messages?: undefined;
388
- request?: undefined;
389
- warnings?: undefined;
390
- text?: undefined;
391
- type?: undefined;
392
388
  workflowId?: undefined;
389
+ startedAt?: undefined;
390
+ id?: undefined;
393
391
  stepName?: undefined;
394
392
  stepCallId?: undefined;
395
- payload?: undefined;
396
- startedAt?: undefined;
397
393
  status?: undefined;
398
394
  endedAt?: undefined;
395
+ type?: undefined;
396
+ payload?: undefined;
399
397
  workflowStatus?: undefined;
398
+ metadata?: {};
399
+ output?: undefined;
400
+ result?: undefined;
401
+ text?: undefined;
400
402
  };
403
+ workflowId?: undefined;
404
+ id?: undefined;
405
+ data?: undefined;
406
+ name?: undefined;
407
+ args?: undefined;
408
+ toolCallId?: undefined;
409
+ toolName?: undefined;
401
410
  networkId?: undefined;
402
411
  agentId?: undefined;
403
412
  inputData?: undefined;
404
- task?: undefined;
413
+ isComplete?: undefined;
405
414
  result?: undefined;
415
+ text?: undefined;
416
+ task?: undefined;
406
417
  primitiveId?: undefined;
407
418
  primitiveType?: undefined;
408
- prompt?: undefined;
409
- isComplete?: undefined;
410
- selectionReason?: undefined;
411
419
  iteration?: undefined;
412
- usage?: undefined;
413
- args?: undefined;
414
- data?: undefined;
415
- workflowId?: undefined;
416
- id?: undefined;
417
- name?: undefined;
418
- toolCallId?: undefined;
419
- toolName?: undefined;
420
- text?: undefined;
421
420
  isOneOff?: undefined;
422
421
  threadId?: undefined;
423
422
  threadResourceId?: undefined;
423
+ usage?: undefined;
424
424
  };
425
425
  from: string;
426
426
  runId: string;
427
427
  } | {
428
428
  type: string;
429
429
  payload: {
430
+ prompt?: undefined;
431
+ selectionReason?: undefined;
430
432
  type: string;
431
433
  data: {
432
434
  name: string;
433
435
  description: string;
434
436
  };
435
437
  runId: string;
438
+ workflowId?: undefined;
439
+ id?: undefined;
440
+ from?: undefined;
441
+ payload?: undefined;
442
+ name?: undefined;
443
+ args?: undefined;
444
+ toolCallId?: undefined;
445
+ toolName?: undefined;
436
446
  networkId?: undefined;
437
447
  agentId?: undefined;
438
448
  inputData?: undefined;
439
- task?: undefined;
449
+ isComplete?: undefined;
440
450
  result?: undefined;
451
+ text?: undefined;
452
+ task?: undefined;
441
453
  primitiveId?: undefined;
442
454
  primitiveType?: undefined;
443
- prompt?: undefined;
444
- isComplete?: undefined;
445
- selectionReason?: undefined;
446
455
  iteration?: undefined;
447
- usage?: undefined;
448
- args?: undefined;
449
- from?: undefined;
450
- payload?: undefined;
451
- workflowId?: undefined;
452
- id?: undefined;
453
- name?: undefined;
454
- toolCallId?: undefined;
455
- toolName?: undefined;
456
- text?: undefined;
457
456
  isOneOff?: undefined;
458
457
  threadId?: undefined;
459
458
  threadResourceId?: undefined;
459
+ usage?: undefined;
460
460
  };
461
461
  from: string;
462
462
  runId: string;
463
463
  } | {
464
464
  type: string;
465
465
  payload: {
466
+ prompt?: undefined;
467
+ selectionReason?: undefined;
466
468
  type: string;
467
469
  runId: string;
468
470
  from: string;
469
471
  payload: {
472
+ argsTextDelta?: undefined;
470
473
  args: {
471
474
  name: string;
472
475
  description: string;
@@ -482,59 +485,59 @@ export declare const networkStreamFixture: ({
482
485
  itemId: string;
483
486
  };
484
487
  };
485
- id?: undefined;
486
- argsTextDelta?: undefined;
488
+ request?: undefined;
489
+ warnings?: undefined;
487
490
  messageId?: undefined;
488
491
  stepResult?: undefined;
489
- metadata?: undefined;
490
- output?: undefined;
491
492
  messages?: undefined;
492
- request?: undefined;
493
- warnings?: undefined;
494
- text?: undefined;
495
- type?: undefined;
496
493
  workflowId?: undefined;
494
+ startedAt?: undefined;
495
+ id?: undefined;
497
496
  stepName?: undefined;
498
497
  stepCallId?: undefined;
499
- payload?: undefined;
500
- startedAt?: undefined;
501
498
  status?: undefined;
502
499
  endedAt?: undefined;
500
+ type?: undefined;
501
+ payload?: undefined;
503
502
  workflowStatus?: undefined;
503
+ metadata?: {};
504
+ output?: undefined;
505
+ text?: undefined;
504
506
  };
507
+ workflowId?: undefined;
508
+ id?: undefined;
509
+ data?: undefined;
510
+ name?: undefined;
511
+ args?: undefined;
512
+ toolCallId?: undefined;
513
+ toolName?: undefined;
505
514
  networkId?: undefined;
506
515
  agentId?: undefined;
507
516
  inputData?: undefined;
508
- task?: undefined;
517
+ isComplete?: undefined;
509
518
  result?: undefined;
519
+ text?: undefined;
520
+ task?: undefined;
510
521
  primitiveId?: undefined;
511
522
  primitiveType?: undefined;
512
- prompt?: undefined;
513
- isComplete?: undefined;
514
- selectionReason?: undefined;
515
523
  iteration?: undefined;
516
- usage?: undefined;
517
- args?: undefined;
518
- data?: undefined;
519
- workflowId?: undefined;
520
- id?: undefined;
521
- name?: undefined;
522
- toolCallId?: undefined;
523
- toolName?: undefined;
524
- text?: undefined;
525
524
  isOneOff?: undefined;
526
525
  threadId?: undefined;
527
526
  threadResourceId?: undefined;
527
+ usage?: undefined;
528
528
  };
529
529
  from: string;
530
530
  runId: string;
531
531
  } | {
532
532
  type: string;
533
533
  payload: {
534
+ prompt?: undefined;
535
+ selectionReason?: undefined;
534
536
  type: string;
535
537
  runId: string;
536
538
  from: string;
537
539
  payload: {
540
+ argsTextDelta?: undefined;
538
541
  messageId: string;
539
542
  stepResult: {
540
543
  reason: string;
@@ -650,38 +653,38 @@ export declare const networkStreamFixture: ({
650
653
  input: ({
651
654
  role: string;
652
655
  content: string;
653
- type?: undefined;
654
- call_id?: undefined;
655
- name?: undefined;
656
656
  arguments?: undefined;
657
+ call_id?: undefined;
658
+ type?: undefined;
657
659
  output?: undefined;
660
+ name?: undefined;
658
661
  } | {
659
662
  role: string;
660
663
  content: {
661
664
  type: string;
662
665
  text: string;
663
666
  }[];
664
- type?: undefined;
665
- call_id?: undefined;
666
- name?: undefined;
667
667
  arguments?: undefined;
668
+ call_id?: undefined;
669
+ type?: undefined;
668
670
  output?: undefined;
671
+ name?: undefined;
669
672
  } | {
673
+ role?: undefined;
674
+ content?: undefined;
670
675
  type: string;
671
676
  call_id: string;
672
677
  name: string;
673
678
  arguments: string;
674
- role?: undefined;
675
- content?: undefined;
676
679
  output?: undefined;
677
680
  } | {
681
+ role?: undefined;
682
+ content?: undefined;
683
+ arguments?: undefined;
678
684
  type: string;
679
685
  call_id: string;
680
686
  output: string;
681
- role?: undefined;
682
- content?: undefined;
683
687
  name?: undefined;
684
- arguments?: undefined;
685
688
  })[];
686
689
  temperature: number;
687
690
  tools: {
@@ -839,97 +842,97 @@ export declare const networkStreamFixture: ({
839
842
  }[];
840
843
  })[];
841
844
  };
842
- id?: undefined;
843
- toolCallId?: undefined;
844
- toolName?: undefined;
845
- argsTextDelta?: undefined;
846
- args?: undefined;
847
- providerMetadata?: undefined;
848
- result?: undefined;
849
845
  request?: undefined;
850
846
  warnings?: undefined;
851
- text?: undefined;
852
- type?: undefined;
847
+ providerMetadata?: undefined;
853
848
  workflowId?: undefined;
849
+ startedAt?: undefined;
850
+ id?: undefined;
854
851
  stepName?: undefined;
855
852
  stepCallId?: undefined;
856
- payload?: undefined;
857
- startedAt?: undefined;
858
853
  status?: undefined;
859
854
  endedAt?: undefined;
855
+ type?: undefined;
856
+ payload?: undefined;
860
857
  workflowStatus?: undefined;
858
+ args?: undefined;
859
+ toolCallId?: undefined;
860
+ toolName?: undefined;
861
+ result?: undefined;
862
+ text?: undefined;
861
863
  };
864
+ workflowId?: undefined;
865
+ id?: undefined;
866
+ data?: undefined;
867
+ name?: undefined;
868
+ args?: undefined;
869
+ toolCallId?: undefined;
870
+ toolName?: undefined;
862
871
  networkId?: undefined;
863
872
  agentId?: undefined;
864
873
  inputData?: undefined;
865
- task?: undefined;
874
+ isComplete?: undefined;
866
875
  result?: undefined;
876
+ text?: undefined;
877
+ task?: undefined;
867
878
  primitiveId?: undefined;
868
879
  primitiveType?: undefined;
869
- prompt?: undefined;
870
- isComplete?: undefined;
871
- selectionReason?: undefined;
872
880
  iteration?: undefined;
873
- usage?: undefined;
874
- args?: undefined;
875
- data?: undefined;
876
- workflowId?: undefined;
877
- id?: undefined;
878
- name?: undefined;
879
- toolCallId?: undefined;
880
- toolName?: undefined;
881
- text?: undefined;
882
881
  isOneOff?: undefined;
883
882
  threadId?: undefined;
884
883
  threadResourceId?: undefined;
884
+ usage?: undefined;
885
885
  };
886
886
  from: string;
887
887
  runId: string;
888
888
  } | {
889
889
  type: string;
890
890
  payload: {
891
+ prompt?: undefined;
892
+ selectionReason?: undefined;
891
893
  runId: string;
892
894
  from: string;
893
895
  type: string;
894
896
  payload: {
897
+ argsTextDelta?: undefined;
895
898
  request: {
896
899
  body: {
897
900
  model: string;
898
901
  input: ({
902
+ arguments?: undefined;
903
+ call_id?: undefined;
899
904
  role: string;
900
905
  content: string;
901
906
  type?: undefined;
902
- call_id?: undefined;
903
- name?: undefined;
904
- arguments?: undefined;
905
907
  output?: undefined;
908
+ name?: undefined;
906
909
  } | {
910
+ arguments?: undefined;
911
+ call_id?: undefined;
907
912
  role: string;
908
913
  content: {
909
914
  type: string;
910
915
  text: string;
911
916
  }[];
912
917
  type?: undefined;
913
- call_id?: undefined;
914
- name?: undefined;
915
- arguments?: undefined;
916
918
  output?: undefined;
919
+ name?: undefined;
917
920
  } | {
921
+ role?: undefined;
922
+ content?: undefined;
918
923
  type: string;
919
924
  call_id: string;
920
925
  name: string;
921
926
  arguments: string;
922
- role?: undefined;
923
- content?: undefined;
924
927
  output?: undefined;
925
928
  } | {
929
+ role?: undefined;
930
+ content?: undefined;
931
+ arguments?: undefined;
926
932
  type: string;
927
933
  call_id: string;
928
934
  output: string;
929
- role?: undefined;
930
- content?: undefined;
931
935
  name?: undefined;
932
- arguments?: undefined;
933
936
  })[];
934
937
  temperature: number;
935
938
  tools: {
@@ -957,239 +960,242 @@ export declare const networkStreamFixture: ({
957
960
  };
958
961
  warnings: never[];
959
962
  messageId: string;
960
- id?: undefined;
961
- toolCallId?: undefined;
962
- toolName?: undefined;
963
- argsTextDelta?: undefined;
964
- args?: undefined;
965
963
  providerMetadata?: undefined;
966
- result?: undefined;
967
964
  stepResult?: undefined;
968
- metadata?: undefined;
969
- output?: undefined;
970
965
  messages?: undefined;
971
- text?: undefined;
972
- type?: undefined;
973
966
  workflowId?: undefined;
967
+ startedAt?: undefined;
968
+ id?: undefined;
974
969
  stepName?: undefined;
975
970
  stepCallId?: undefined;
976
- payload?: undefined;
977
- startedAt?: undefined;
978
971
  status?: undefined;
979
972
  endedAt?: undefined;
973
+ type?: undefined;
974
+ payload?: undefined;
980
975
  workflowStatus?: undefined;
976
+ metadata?: {};
977
+ output?: undefined;
978
+ args?: undefined;
979
+ toolCallId?: undefined;
980
+ toolName?: undefined;
981
+ result?: undefined;
982
+ text?: undefined;
981
983
  };
984
+ workflowId?: undefined;
985
+ id?: undefined;
986
+ data?: undefined;
987
+ name?: undefined;
988
+ args?: undefined;
989
+ toolCallId?: undefined;
990
+ toolName?: undefined;
982
991
  networkId?: undefined;
983
992
  agentId?: undefined;
984
993
  inputData?: undefined;
985
- task?: undefined;
994
+ isComplete?: undefined;
986
995
  result?: undefined;
996
+ text?: undefined;
997
+ task?: undefined;
987
998
  primitiveId?: undefined;
988
999
  primitiveType?: undefined;
989
- prompt?: undefined;
990
- isComplete?: undefined;
991
- selectionReason?: undefined;
992
1000
  iteration?: undefined;
1001
+ isOneOff?: undefined;
1002
+ threadId?: undefined;
1003
+ threadResourceId?: undefined;
993
1004
  usage?: undefined;
994
- args?: undefined;
995
- data?: undefined;
996
- workflowId?: undefined;
997
- id?: undefined;
998
- name?: undefined;
999
- toolCallId?: undefined;
1000
- toolName?: undefined;
1001
- text?: undefined;
1002
- isOneOff?: undefined;
1003
- threadId?: undefined;
1004
- threadResourceId?: undefined;
1005
1005
  };
1006
1006
  from: string;
1007
1007
  runId: string;
1008
1008
  } | {
1009
1009
  type: string;
1010
1010
  payload: {
1011
+ prompt?: undefined;
1012
+ selectionReason?: undefined;
1011
1013
  type: string;
1012
1014
  runId: string;
1013
1015
  from: string;
1014
1016
  payload: {
1017
+ argsTextDelta?: undefined;
1018
+ request?: undefined;
1019
+ warnings?: undefined;
1015
1020
  id: string;
1016
1021
  providerMetadata: {
1017
1022
  openai: {
1018
1023
  itemId: string;
1019
1024
  };
1020
1025
  };
1021
- toolCallId?: undefined;
1022
- toolName?: undefined;
1023
- argsTextDelta?: undefined;
1024
- args?: undefined;
1025
- result?: undefined;
1026
1026
  messageId?: undefined;
1027
1027
  stepResult?: undefined;
1028
- metadata?: undefined;
1029
- output?: undefined;
1030
1028
  messages?: undefined;
1031
- request?: undefined;
1032
- warnings?: undefined;
1033
- text?: undefined;
1034
- type?: undefined;
1035
1029
  workflowId?: undefined;
1030
+ startedAt?: undefined;
1036
1031
  stepName?: undefined;
1037
1032
  stepCallId?: undefined;
1038
- payload?: undefined;
1039
- startedAt?: undefined;
1040
1033
  status?: undefined;
1041
1034
  endedAt?: undefined;
1035
+ type?: undefined;
1036
+ payload?: undefined;
1042
1037
  workflowStatus?: undefined;
1038
+ metadata?: {};
1039
+ output?: undefined;
1040
+ args?: undefined;
1041
+ toolCallId?: undefined;
1042
+ toolName?: undefined;
1043
+ result?: undefined;
1044
+ text?: undefined;
1043
1045
  };
1046
+ workflowId?: undefined;
1047
+ id?: undefined;
1048
+ data?: undefined;
1049
+ name?: undefined;
1050
+ args?: undefined;
1051
+ toolCallId?: undefined;
1052
+ toolName?: undefined;
1044
1053
  networkId?: undefined;
1045
1054
  agentId?: undefined;
1046
1055
  inputData?: undefined;
1047
- task?: undefined;
1056
+ isComplete?: undefined;
1048
1057
  result?: undefined;
1058
+ text?: undefined;
1059
+ task?: undefined;
1049
1060
  primitiveId?: undefined;
1050
1061
  primitiveType?: undefined;
1051
- prompt?: undefined;
1052
- isComplete?: undefined;
1053
- selectionReason?: undefined;
1054
1062
  iteration?: undefined;
1055
- usage?: undefined;
1056
- args?: undefined;
1057
- data?: undefined;
1058
- workflowId?: undefined;
1059
- id?: undefined;
1060
- name?: undefined;
1061
- toolCallId?: undefined;
1062
- toolName?: undefined;
1063
- text?: undefined;
1064
1063
  isOneOff?: undefined;
1065
1064
  threadId?: undefined;
1066
1065
  threadResourceId?: undefined;
1066
+ usage?: undefined;
1067
1067
  };
1068
1068
  from: string;
1069
1069
  runId: string;
1070
1070
  } | {
1071
1071
  type: string;
1072
1072
  payload: {
1073
+ prompt?: undefined;
1074
+ selectionReason?: undefined;
1073
1075
  type: string;
1074
1076
  runId: string;
1075
1077
  from: string;
1076
1078
  payload: {
1077
- id: string;
1078
- text: string;
1079
- toolCallId?: undefined;
1080
- toolName?: undefined;
1081
1079
  argsTextDelta?: undefined;
1082
- args?: undefined;
1080
+ request?: undefined;
1081
+ warnings?: undefined;
1083
1082
  providerMetadata?: undefined;
1084
- result?: undefined;
1083
+ id: string;
1084
+ text: string;
1085
1085
  messageId?: undefined;
1086
1086
  stepResult?: undefined;
1087
- metadata?: undefined;
1088
- output?: undefined;
1089
1087
  messages?: undefined;
1090
- request?: undefined;
1091
- warnings?: undefined;
1092
- type?: undefined;
1093
1088
  workflowId?: undefined;
1089
+ startedAt?: undefined;
1094
1090
  stepName?: undefined;
1095
1091
  stepCallId?: undefined;
1096
- payload?: undefined;
1097
- startedAt?: undefined;
1098
1092
  status?: undefined;
1099
1093
  endedAt?: undefined;
1094
+ type?: undefined;
1095
+ payload?: undefined;
1100
1096
  workflowStatus?: undefined;
1097
+ metadata?: {};
1098
+ output?: undefined;
1099
+ args?: undefined;
1100
+ toolCallId?: undefined;
1101
+ toolName?: undefined;
1102
+ result?: undefined;
1101
1103
  };
1104
+ workflowId?: undefined;
1105
+ id?: undefined;
1106
+ data?: undefined;
1107
+ name?: undefined;
1108
+ args?: undefined;
1109
+ toolCallId?: undefined;
1110
+ toolName?: undefined;
1102
1111
  networkId?: undefined;
1103
1112
  agentId?: undefined;
1104
1113
  inputData?: undefined;
1105
- task?: undefined;
1114
+ isComplete?: undefined;
1106
1115
  result?: undefined;
1116
+ text?: undefined;
1117
+ task?: undefined;
1107
1118
  primitiveId?: undefined;
1108
1119
  primitiveType?: undefined;
1109
- prompt?: undefined;
1110
- isComplete?: undefined;
1111
- selectionReason?: undefined;
1112
1120
  iteration?: undefined;
1113
- usage?: undefined;
1114
- args?: undefined;
1115
- data?: undefined;
1116
- workflowId?: undefined;
1117
- id?: undefined;
1118
- name?: undefined;
1119
- toolCallId?: undefined;
1120
- toolName?: undefined;
1121
- text?: undefined;
1122
1121
  isOneOff?: undefined;
1123
1122
  threadId?: undefined;
1124
1123
  threadResourceId?: undefined;
1124
+ usage?: undefined;
1125
1125
  };
1126
1126
  from: string;
1127
1127
  runId: string;
1128
1128
  } | {
1129
1129
  type: string;
1130
1130
  payload: {
1131
+ prompt?: undefined;
1132
+ selectionReason?: undefined;
1131
1133
  type: string;
1132
1134
  runId: string;
1133
1135
  from: string;
1134
1136
  payload: {
1135
- type: string;
1136
- id: string;
1137
- toolCallId?: undefined;
1138
- toolName?: undefined;
1139
1137
  argsTextDelta?: undefined;
1140
- args?: undefined;
1138
+ request?: undefined;
1139
+ warnings?: undefined;
1141
1140
  providerMetadata?: undefined;
1142
- result?: undefined;
1141
+ type: string;
1142
+ id: string;
1143
1143
  messageId?: undefined;
1144
1144
  stepResult?: undefined;
1145
- metadata?: undefined;
1146
- output?: undefined;
1147
1145
  messages?: undefined;
1148
- request?: undefined;
1149
- warnings?: undefined;
1150
- text?: undefined;
1151
1146
  workflowId?: undefined;
1147
+ startedAt?: undefined;
1152
1148
  stepName?: undefined;
1153
1149
  stepCallId?: undefined;
1154
- payload?: undefined;
1155
- startedAt?: undefined;
1156
1150
  status?: undefined;
1157
1151
  endedAt?: undefined;
1152
+ payload?: undefined;
1158
1153
  workflowStatus?: undefined;
1154
+ metadata?: {};
1155
+ output?: undefined;
1156
+ args?: undefined;
1157
+ toolCallId?: undefined;
1158
+ toolName?: undefined;
1159
+ result?: undefined;
1160
+ text?: undefined;
1159
1161
  };
1162
+ workflowId?: undefined;
1163
+ id?: undefined;
1164
+ data?: undefined;
1165
+ name?: undefined;
1166
+ args?: undefined;
1167
+ toolCallId?: undefined;
1168
+ toolName?: undefined;
1160
1169
  networkId?: undefined;
1161
1170
  agentId?: undefined;
1162
1171
  inputData?: undefined;
1163
- task?: undefined;
1172
+ isComplete?: undefined;
1164
1173
  result?: undefined;
1174
+ text?: undefined;
1175
+ task?: undefined;
1165
1176
  primitiveId?: undefined;
1166
1177
  primitiveType?: undefined;
1167
- prompt?: undefined;
1168
- isComplete?: undefined;
1169
- selectionReason?: undefined;
1170
1178
  iteration?: undefined;
1171
- usage?: undefined;
1172
- args?: undefined;
1173
- data?: undefined;
1174
- workflowId?: undefined;
1175
- id?: undefined;
1176
- name?: undefined;
1177
- toolCallId?: undefined;
1178
- toolName?: undefined;
1179
- text?: undefined;
1180
1179
  isOneOff?: undefined;
1181
1180
  threadId?: undefined;
1182
1181
  threadResourceId?: undefined;
1182
+ usage?: undefined;
1183
1183
  };
1184
1184
  from: string;
1185
1185
  runId: string;
1186
1186
  } | {
1187
1187
  type: string;
1188
1188
  payload: {
1189
+ prompt?: undefined;
1190
+ selectionReason?: undefined;
1189
1191
  type: string;
1190
1192
  runId: string;
1191
1193
  from: string;
1192
1194
  payload: {
1195
+ argsTextDelta?: undefined;
1196
+ request?: undefined;
1197
+ warnings?: undefined;
1198
+ providerMetadata?: undefined;
1193
1199
  messageId: string;
1194
1200
  stepResult: {
1195
1201
  reason: string;
@@ -1233,40 +1239,40 @@ export declare const networkStreamFixture: ({
1233
1239
  body: {
1234
1240
  model: string;
1235
1241
  input: ({
1242
+ arguments?: undefined;
1243
+ call_id?: undefined;
1236
1244
  role: string;
1237
1245
  content: string;
1238
1246
  type?: undefined;
1239
- call_id?: undefined;
1240
- name?: undefined;
1241
- arguments?: undefined;
1242
1247
  output?: undefined;
1248
+ name?: undefined;
1243
1249
  } | {
1250
+ arguments?: undefined;
1251
+ call_id?: undefined;
1244
1252
  role: string;
1245
1253
  content: {
1246
1254
  type: string;
1247
1255
  text: string;
1248
1256
  }[];
1249
1257
  type?: undefined;
1250
- call_id?: undefined;
1251
- name?: undefined;
1252
- arguments?: undefined;
1253
1258
  output?: undefined;
1259
+ name?: undefined;
1254
1260
  } | {
1261
+ role?: undefined;
1262
+ content?: undefined;
1255
1263
  type: string;
1256
1264
  call_id: string;
1257
1265
  name: string;
1258
1266
  arguments: string;
1259
- role?: undefined;
1260
- content?: undefined;
1261
1267
  output?: undefined;
1262
1268
  } | {
1269
+ role?: undefined;
1270
+ content?: undefined;
1271
+ arguments?: undefined;
1263
1272
  type: string;
1264
1273
  call_id: string;
1265
1274
  output: string;
1266
- role?: undefined;
1267
- content?: undefined;
1268
1275
  name?: undefined;
1269
- arguments?: undefined;
1270
1276
  })[];
1271
1277
  temperature: number;
1272
1278
  tools: {
@@ -1317,40 +1323,40 @@ export declare const networkStreamFixture: ({
1317
1323
  body: {
1318
1324
  model: string;
1319
1325
  input: ({
1326
+ arguments?: undefined;
1327
+ call_id?: undefined;
1320
1328
  role: string;
1321
1329
  content: string;
1322
1330
  type?: undefined;
1323
- call_id?: undefined;
1324
- name?: undefined;
1325
- arguments?: undefined;
1326
1331
  output?: undefined;
1332
+ name?: undefined;
1327
1333
  } | {
1334
+ arguments?: undefined;
1335
+ call_id?: undefined;
1328
1336
  role: string;
1329
1337
  content: {
1330
1338
  type: string;
1331
1339
  text: string;
1332
1340
  }[];
1333
1341
  type?: undefined;
1334
- call_id?: undefined;
1335
- name?: undefined;
1336
- arguments?: undefined;
1337
1342
  output?: undefined;
1343
+ name?: undefined;
1338
1344
  } | {
1345
+ role?: undefined;
1346
+ content?: undefined;
1339
1347
  type: string;
1340
1348
  call_id: string;
1341
1349
  name: string;
1342
1350
  arguments: string;
1343
- role?: undefined;
1344
- content?: undefined;
1345
1351
  output?: undefined;
1346
1352
  } | {
1353
+ role?: undefined;
1354
+ content?: undefined;
1355
+ arguments?: undefined;
1347
1356
  type: string;
1348
1357
  call_id: string;
1349
1358
  output: string;
1350
- role?: undefined;
1351
- content?: undefined;
1352
1359
  name?: undefined;
1353
- arguments?: undefined;
1354
1360
  })[];
1355
1361
  temperature: number;
1356
1362
  tools: {
@@ -1514,55 +1520,51 @@ export declare const networkStreamFixture: ({
1514
1520
  }[];
1515
1521
  })[];
1516
1522
  };
1517
- id?: undefined;
1518
- toolCallId?: undefined;
1519
- toolName?: undefined;
1520
- argsTextDelta?: undefined;
1521
- args?: undefined;
1522
- providerMetadata?: undefined;
1523
- result?: undefined;
1524
- request?: undefined;
1525
- warnings?: undefined;
1526
- text?: undefined;
1527
- type?: undefined;
1528
1523
  workflowId?: undefined;
1524
+ startedAt?: undefined;
1525
+ id?: undefined;
1529
1526
  stepName?: undefined;
1530
1527
  stepCallId?: undefined;
1531
- payload?: undefined;
1532
- startedAt?: undefined;
1533
1528
  status?: undefined;
1534
1529
  endedAt?: undefined;
1530
+ type?: undefined;
1531
+ payload?: undefined;
1535
1532
  workflowStatus?: undefined;
1533
+ args?: undefined;
1534
+ toolCallId?: undefined;
1535
+ toolName?: undefined;
1536
+ result?: undefined;
1537
+ text?: undefined;
1536
1538
  };
1539
+ workflowId?: undefined;
1540
+ id?: undefined;
1541
+ data?: undefined;
1542
+ name?: undefined;
1543
+ args?: undefined;
1544
+ toolCallId?: undefined;
1545
+ toolName?: undefined;
1537
1546
  networkId?: undefined;
1538
1547
  agentId?: undefined;
1539
1548
  inputData?: undefined;
1540
- task?: undefined;
1549
+ isComplete?: undefined;
1541
1550
  result?: undefined;
1551
+ text?: undefined;
1552
+ task?: undefined;
1542
1553
  primitiveId?: undefined;
1543
1554
  primitiveType?: undefined;
1544
- prompt?: undefined;
1545
- isComplete?: undefined;
1546
- selectionReason?: undefined;
1547
1555
  iteration?: undefined;
1548
- usage?: undefined;
1549
- args?: undefined;
1550
- data?: undefined;
1551
- workflowId?: undefined;
1552
- id?: undefined;
1553
- name?: undefined;
1554
- toolCallId?: undefined;
1555
- toolName?: undefined;
1556
- text?: undefined;
1557
1556
  isOneOff?: undefined;
1558
1557
  threadId?: undefined;
1559
1558
  threadResourceId?: undefined;
1559
+ usage?: undefined;
1560
1560
  };
1561
1561
  from: string;
1562
1562
  runId: string;
1563
1563
  } | {
1564
1564
  type: string;
1565
1565
  payload: {
1566
+ prompt?: undefined;
1567
+ selectionReason?: undefined;
1566
1568
  task: string;
1567
1569
  agentId: string;
1568
1570
  result: string;
@@ -1576,23 +1578,21 @@ export declare const networkStreamFixture: ({
1576
1578
  reasoningTokens: number;
1577
1579
  cachedInputTokens: number;
1578
1580
  };
1579
- networkId?: undefined;
1580
- inputData?: undefined;
1581
- primitiveId?: undefined;
1582
- primitiveType?: undefined;
1583
- prompt?: undefined;
1584
- selectionReason?: undefined;
1585
- args?: undefined;
1581
+ workflowId?: undefined;
1582
+ id?: undefined;
1583
+ data?: undefined;
1586
1584
  type?: undefined;
1587
1585
  from?: undefined;
1588
1586
  payload?: undefined;
1589
- data?: undefined;
1590
- workflowId?: undefined;
1591
- id?: undefined;
1592
1587
  name?: undefined;
1588
+ args?: undefined;
1593
1589
  toolCallId?: undefined;
1594
1590
  toolName?: undefined;
1591
+ networkId?: undefined;
1592
+ inputData?: undefined;
1595
1593
  text?: undefined;
1594
+ primitiveId?: undefined;
1595
+ primitiveType?: undefined;
1596
1596
  isOneOff?: undefined;
1597
1597
  threadId?: undefined;
1598
1598
  threadResourceId?: undefined;
@@ -1602,10 +1602,13 @@ export declare const networkStreamFixture: ({
1602
1602
  } | {
1603
1603
  type: string;
1604
1604
  payload: {
1605
+ prompt?: undefined;
1606
+ selectionReason?: undefined;
1605
1607
  networkId: string;
1606
1608
  agentId: string;
1607
1609
  runId: string;
1608
1610
  inputData: {
1611
+ verboseIntrospection?: undefined;
1609
1612
  task: string;
1610
1613
  isComplete: boolean;
1611
1614
  result: string;
@@ -1615,70 +1618,69 @@ export declare const networkStreamFixture: ({
1615
1618
  isOneOff: boolean;
1616
1619
  threadId: string;
1617
1620
  threadResourceId: string;
1618
- verboseIntrospection?: undefined;
1619
1621
  };
1620
- task?: undefined;
1621
- result?: undefined;
1622
- primitiveId?: undefined;
1623
- primitiveType?: undefined;
1624
- prompt?: undefined;
1625
- isComplete?: undefined;
1626
- selectionReason?: undefined;
1627
- iteration?: undefined;
1628
- usage?: undefined;
1629
- args?: undefined;
1622
+ workflowId?: undefined;
1623
+ id?: undefined;
1624
+ data?: undefined;
1630
1625
  type?: undefined;
1631
1626
  from?: undefined;
1632
1627
  payload?: undefined;
1633
- data?: undefined;
1634
- workflowId?: undefined;
1635
- id?: undefined;
1636
1628
  name?: undefined;
1629
+ args?: undefined;
1637
1630
  toolCallId?: undefined;
1638
1631
  toolName?: undefined;
1632
+ isComplete?: undefined;
1633
+ result?: undefined;
1639
1634
  text?: undefined;
1635
+ task?: undefined;
1636
+ primitiveId?: undefined;
1637
+ primitiveType?: undefined;
1638
+ iteration?: undefined;
1640
1639
  isOneOff?: undefined;
1641
1640
  threadId?: undefined;
1642
1641
  threadResourceId?: undefined;
1642
+ usage?: undefined;
1643
1643
  };
1644
1644
  runId: string;
1645
1645
  from: string;
1646
1646
  } | {
1647
1647
  type: string;
1648
1648
  payload: {
1649
- runId: string;
1650
- networkId?: undefined;
1651
- agentId?: undefined;
1652
- inputData?: undefined;
1653
- task?: undefined;
1654
- result?: undefined;
1655
- primitiveId?: undefined;
1656
- primitiveType?: undefined;
1657
1649
  prompt?: undefined;
1658
- isComplete?: undefined;
1659
1650
  selectionReason?: undefined;
1660
- iteration?: undefined;
1661
- usage?: undefined;
1662
- args?: undefined;
1651
+ runId: string;
1652
+ workflowId?: undefined;
1653
+ id?: undefined;
1654
+ data?: undefined;
1663
1655
  type?: undefined;
1664
1656
  from?: undefined;
1665
1657
  payload?: undefined;
1666
- data?: undefined;
1667
- workflowId?: undefined;
1668
- id?: undefined;
1669
1658
  name?: undefined;
1659
+ args?: undefined;
1670
1660
  toolCallId?: undefined;
1671
1661
  toolName?: undefined;
1662
+ networkId?: undefined;
1663
+ agentId?: undefined;
1664
+ inputData?: undefined;
1665
+ isComplete?: undefined;
1666
+ result?: undefined;
1672
1667
  text?: undefined;
1668
+ task?: undefined;
1669
+ primitiveId?: undefined;
1670
+ primitiveType?: undefined;
1671
+ iteration?: undefined;
1673
1672
  isOneOff?: undefined;
1674
1673
  threadId?: undefined;
1675
1674
  threadResourceId?: undefined;
1675
+ usage?: undefined;
1676
1676
  };
1677
1677
  from: string;
1678
1678
  runId: string;
1679
1679
  } | {
1680
1680
  type: string;
1681
1681
  payload: {
1682
+ prompt?: undefined;
1683
+ selectionReason?: undefined;
1682
1684
  workflowId: string;
1683
1685
  args: {
1684
1686
  task: string;
@@ -1691,102 +1693,111 @@ export declare const networkStreamFixture: ({
1691
1693
  iteration: number;
1692
1694
  runId: string;
1693
1695
  args?: undefined;
1694
- toolName?: undefined;
1695
1696
  toolCallId?: undefined;
1697
+ toolName?: undefined;
1696
1698
  };
1697
1699
  runId: string;
1698
- networkId?: undefined;
1699
- agentId?: undefined;
1700
- inputData?: undefined;
1701
- task?: undefined;
1702
- result?: undefined;
1703
- primitiveId?: undefined;
1704
- primitiveType?: undefined;
1705
- prompt?: undefined;
1706
- isComplete?: undefined;
1707
- selectionReason?: undefined;
1708
- iteration?: undefined;
1709
- usage?: undefined;
1700
+ id?: undefined;
1701
+ data?: undefined;
1710
1702
  type?: undefined;
1711
1703
  from?: undefined;
1712
1704
  payload?: undefined;
1713
- data?: undefined;
1714
- id?: undefined;
1715
1705
  name?: undefined;
1716
1706
  toolCallId?: undefined;
1717
1707
  toolName?: undefined;
1708
+ networkId?: undefined;
1709
+ agentId?: undefined;
1710
+ inputData?: undefined;
1711
+ isComplete?: undefined;
1712
+ result?: undefined;
1718
1713
  text?: undefined;
1714
+ task?: undefined;
1715
+ primitiveId?: undefined;
1716
+ primitiveType?: undefined;
1717
+ iteration?: undefined;
1719
1718
  isOneOff?: undefined;
1720
1719
  threadId?: undefined;
1721
1720
  threadResourceId?: undefined;
1721
+ usage?: undefined;
1722
1722
  };
1723
1723
  from: string;
1724
1724
  runId: string;
1725
1725
  } | {
1726
1726
  type: string;
1727
1727
  payload: {
1728
+ prompt?: undefined;
1729
+ selectionReason?: undefined;
1730
+ workflowId?: undefined;
1728
1731
  type: string;
1729
1732
  runId: string;
1730
1733
  from: string;
1731
1734
  payload: {
1732
- workflowId: string;
1733
- id?: undefined;
1734
- toolCallId?: undefined;
1735
- toolName?: undefined;
1736
1735
  argsTextDelta?: undefined;
1737
- args?: undefined;
1736
+ request?: undefined;
1737
+ warnings?: undefined;
1738
1738
  providerMetadata?: undefined;
1739
- result?: undefined;
1740
1739
  messageId?: undefined;
1741
1740
  stepResult?: undefined;
1742
- metadata?: undefined;
1743
- output?: undefined;
1744
1741
  messages?: undefined;
1745
- request?: undefined;
1746
- warnings?: undefined;
1747
- text?: undefined;
1748
- type?: undefined;
1742
+ workflowId: string;
1743
+ startedAt?: undefined;
1744
+ id?: undefined;
1749
1745
  stepName?: undefined;
1750
1746
  stepCallId?: undefined;
1751
- payload?: undefined;
1752
- startedAt?: undefined;
1753
1747
  status?: undefined;
1754
1748
  endedAt?: undefined;
1749
+ type?: undefined;
1750
+ payload?: undefined;
1755
1751
  workflowStatus?: undefined;
1752
+ metadata?: {};
1753
+ output?: undefined;
1754
+ args?: undefined;
1755
+ toolCallId?: undefined;
1756
+ toolName?: undefined;
1757
+ result?: undefined;
1758
+ text?: undefined;
1756
1759
  };
1760
+ id?: undefined;
1761
+ data?: undefined;
1762
+ name?: undefined;
1763
+ args?: undefined;
1764
+ toolCallId?: undefined;
1765
+ toolName?: undefined;
1757
1766
  networkId?: undefined;
1758
1767
  agentId?: undefined;
1759
1768
  inputData?: undefined;
1760
- task?: undefined;
1769
+ isComplete?: undefined;
1761
1770
  result?: undefined;
1771
+ text?: undefined;
1772
+ task?: undefined;
1762
1773
  primitiveId?: undefined;
1763
1774
  primitiveType?: undefined;
1764
- prompt?: undefined;
1765
- isComplete?: undefined;
1766
- selectionReason?: undefined;
1767
1775
  iteration?: undefined;
1768
- usage?: undefined;
1769
- args?: undefined;
1770
- data?: undefined;
1771
- workflowId?: undefined;
1772
- id?: undefined;
1773
- name?: undefined;
1774
- toolCallId?: undefined;
1775
- toolName?: undefined;
1776
- text?: undefined;
1777
1776
  isOneOff?: undefined;
1778
1777
  threadId?: undefined;
1779
1778
  threadResourceId?: undefined;
1779
+ usage?: undefined;
1780
1780
  };
1781
1781
  from: string;
1782
1782
  runId: string;
1783
1783
  } | {
1784
1784
  type: string;
1785
1785
  payload: {
1786
+ prompt?: undefined;
1787
+ selectionReason?: undefined;
1788
+ workflowId?: undefined;
1786
1789
  type: string;
1787
1790
  runId: string;
1788
1791
  from: string;
1789
1792
  payload: {
1793
+ argsTextDelta?: undefined;
1794
+ request?: undefined;
1795
+ warnings?: undefined;
1796
+ providerMetadata?: undefined;
1797
+ messageId?: undefined;
1798
+ stepResult?: undefined;
1799
+ messages?: undefined;
1800
+ workflowId?: undefined;
1790
1801
  stepName: string;
1791
1802
  id: string;
1792
1803
  stepCallId: string;
@@ -1796,169 +1807,182 @@ export declare const networkStreamFixture: ({
1796
1807
  };
1797
1808
  startedAt: number;
1798
1809
  status: string;
1810
+ endedAt?: undefined;
1811
+ type?: undefined;
1812
+ workflowStatus?: undefined;
1813
+ metadata?: {};
1814
+ output?: undefined;
1815
+ args?: undefined;
1799
1816
  toolCallId?: undefined;
1800
1817
  toolName?: undefined;
1801
- argsTextDelta?: undefined;
1802
- args?: undefined;
1803
- providerMetadata?: undefined;
1804
1818
  result?: undefined;
1805
- messageId?: undefined;
1806
- stepResult?: undefined;
1807
- metadata?: undefined;
1808
- output?: undefined;
1809
- messages?: undefined;
1810
- request?: undefined;
1811
- warnings?: undefined;
1812
1819
  text?: undefined;
1813
- type?: undefined;
1814
- workflowId?: undefined;
1815
- endedAt?: undefined;
1816
- workflowStatus?: undefined;
1817
1820
  };
1821
+ id?: undefined;
1822
+ data?: undefined;
1823
+ name?: undefined;
1824
+ args?: undefined;
1825
+ toolCallId?: undefined;
1826
+ toolName?: undefined;
1818
1827
  networkId?: undefined;
1819
1828
  agentId?: undefined;
1820
1829
  inputData?: undefined;
1821
- task?: undefined;
1830
+ isComplete?: undefined;
1822
1831
  result?: undefined;
1832
+ text?: undefined;
1833
+ task?: undefined;
1823
1834
  primitiveId?: undefined;
1824
1835
  primitiveType?: undefined;
1825
- prompt?: undefined;
1826
- isComplete?: undefined;
1827
- selectionReason?: undefined;
1828
1836
  iteration?: undefined;
1829
- usage?: undefined;
1830
- args?: undefined;
1831
- data?: undefined;
1832
- workflowId?: undefined;
1833
- id?: undefined;
1834
- name?: undefined;
1835
- toolCallId?: undefined;
1836
- toolName?: undefined;
1837
- text?: undefined;
1838
1837
  isOneOff?: undefined;
1839
1838
  threadId?: undefined;
1840
1839
  threadResourceId?: undefined;
1840
+ usage?: undefined;
1841
1841
  };
1842
1842
  from: string;
1843
1843
  runId: string;
1844
1844
  } | {
1845
1845
  type: string;
1846
1846
  payload: {
1847
+ prompt?: undefined;
1848
+ selectionReason?: undefined;
1849
+ workflowId?: undefined;
1847
1850
  type: string;
1848
1851
  id: string;
1849
1852
  data: {
1850
- name: string;
1851
1853
  description?: undefined;
1854
+ name: string;
1852
1855
  };
1853
1856
  runId: string;
1857
+ from?: undefined;
1858
+ payload?: undefined;
1859
+ name?: undefined;
1860
+ args?: undefined;
1861
+ toolCallId?: undefined;
1862
+ toolName?: undefined;
1854
1863
  networkId?: undefined;
1855
1864
  agentId?: undefined;
1856
1865
  inputData?: undefined;
1857
- task?: undefined;
1866
+ isComplete?: undefined;
1858
1867
  result?: undefined;
1868
+ text?: undefined;
1869
+ task?: undefined;
1859
1870
  primitiveId?: undefined;
1860
1871
  primitiveType?: undefined;
1861
- prompt?: undefined;
1862
- isComplete?: undefined;
1863
- selectionReason?: undefined;
1864
1872
  iteration?: undefined;
1865
- usage?: undefined;
1866
- args?: undefined;
1867
- from?: undefined;
1868
- payload?: undefined;
1869
- workflowId?: undefined;
1870
- name?: undefined;
1871
- toolCallId?: undefined;
1872
- toolName?: undefined;
1873
- text?: undefined;
1874
1873
  isOneOff?: undefined;
1875
1874
  threadId?: undefined;
1876
1875
  threadResourceId?: undefined;
1876
+ usage?: undefined;
1877
1877
  };
1878
1878
  from: string;
1879
1879
  runId: string;
1880
1880
  } | {
1881
1881
  type: string;
1882
1882
  payload: {
1883
+ prompt?: undefined;
1884
+ selectionReason?: undefined;
1885
+ workflowId?: undefined;
1886
+ id?: undefined;
1887
+ data?: undefined;
1883
1888
  type: string;
1884
1889
  runId: string;
1885
1890
  from: string;
1886
1891
  payload: {
1892
+ argsTextDelta?: undefined;
1893
+ request?: undefined;
1894
+ warnings?: undefined;
1895
+ providerMetadata?: undefined;
1896
+ messageId?: undefined;
1897
+ stepResult?: undefined;
1898
+ messages?: undefined;
1899
+ workflowId?: undefined;
1900
+ startedAt?: undefined;
1887
1901
  stepName: string;
1888
1902
  id: string;
1889
1903
  stepCallId: string;
1890
1904
  status: string;
1891
1905
  output: {
1906
+ toolCalls?: undefined;
1907
+ steps?: undefined;
1892
1908
  success: boolean;
1893
1909
  text?: undefined;
1894
- toolCalls?: undefined;
1895
1910
  usage?: undefined;
1896
- steps?: undefined;
1897
1911
  };
1898
1912
  endedAt: number;
1913
+ type?: undefined;
1914
+ payload?: undefined;
1915
+ workflowStatus?: undefined;
1916
+ metadata?: {};
1917
+ args?: undefined;
1899
1918
  toolCallId?: undefined;
1900
1919
  toolName?: undefined;
1901
- argsTextDelta?: undefined;
1902
- args?: undefined;
1903
- providerMetadata?: undefined;
1904
1920
  result?: undefined;
1905
- messageId?: undefined;
1906
- stepResult?: undefined;
1907
- metadata?: undefined;
1908
- messages?: undefined;
1909
- request?: undefined;
1910
- warnings?: undefined;
1911
1921
  text?: undefined;
1912
- type?: undefined;
1913
- workflowId?: undefined;
1914
- payload?: undefined;
1915
- startedAt?: undefined;
1916
- workflowStatus?: undefined;
1917
1922
  };
1923
+ name?: undefined;
1924
+ args?: undefined;
1925
+ toolCallId?: undefined;
1926
+ toolName?: undefined;
1918
1927
  networkId?: undefined;
1919
1928
  agentId?: undefined;
1920
1929
  inputData?: undefined;
1921
- task?: undefined;
1930
+ isComplete?: undefined;
1922
1931
  result?: undefined;
1932
+ text?: undefined;
1933
+ task?: undefined;
1923
1934
  primitiveId?: undefined;
1924
1935
  primitiveType?: undefined;
1925
- prompt?: undefined;
1926
- isComplete?: undefined;
1927
- selectionReason?: undefined;
1928
1936
  iteration?: undefined;
1929
- usage?: undefined;
1930
- args?: undefined;
1931
- data?: undefined;
1932
- workflowId?: undefined;
1933
- id?: undefined;
1934
- name?: undefined;
1935
- toolCallId?: undefined;
1936
- toolName?: undefined;
1937
- text?: undefined;
1938
1937
  isOneOff?: undefined;
1939
1938
  threadId?: undefined;
1940
1939
  threadResourceId?: undefined;
1940
+ usage?: undefined;
1941
1941
  };
1942
1942
  from: string;
1943
1943
  runId: string;
1944
1944
  } | {
1945
1945
  type: string;
1946
1946
  payload: {
1947
+ prompt?: undefined;
1948
+ selectionReason?: undefined;
1949
+ workflowId?: undefined;
1950
+ id?: undefined;
1951
+ data?: undefined;
1947
1952
  type: string;
1948
1953
  runId: string;
1949
1954
  from: string;
1950
1955
  payload: {
1956
+ argsTextDelta?: undefined;
1957
+ request?: undefined;
1958
+ warnings?: undefined;
1959
+ providerMetadata?: undefined;
1960
+ messageId?: undefined;
1961
+ stepResult?: undefined;
1962
+ messages?: undefined;
1963
+ workflowId?: undefined;
1964
+ startedAt?: undefined;
1965
+ id?: undefined;
1966
+ stepName?: undefined;
1967
+ stepCallId?: undefined;
1968
+ status?: undefined;
1969
+ endedAt?: undefined;
1970
+ type?: undefined;
1971
+ payload?: undefined;
1951
1972
  workflowStatus: string;
1952
1973
  metadata: {
1974
+ request?: undefined;
1953
1975
  providerMetadata?: undefined;
1954
- id?: undefined;
1955
1976
  timestamp?: undefined;
1956
1977
  modelId?: undefined;
1957
1978
  headers?: undefined;
1958
1979
  modelMetadata?: undefined;
1959
- request?: undefined;
1980
+ id?: undefined;
1960
1981
  };
1961
1982
  output: {
1983
+ toolCalls?: undefined;
1984
+ steps?: undefined;
1985
+ success?: undefined;
1962
1986
  usage: {
1963
1987
  inputTokens: number;
1964
1988
  outputTokens: number;
@@ -1967,65 +1991,50 @@ export declare const networkStreamFixture: ({
1967
1991
  reasoningTokens: number;
1968
1992
  };
1969
1993
  text?: undefined;
1970
- toolCalls?: undefined;
1971
- steps?: undefined;
1972
- success?: undefined;
1973
1994
  };
1974
- id?: undefined;
1995
+ args?: undefined;
1975
1996
  toolCallId?: undefined;
1976
1997
  toolName?: undefined;
1977
- argsTextDelta?: undefined;
1978
- args?: undefined;
1979
- providerMetadata?: undefined;
1980
1998
  result?: undefined;
1981
- messageId?: undefined;
1982
- stepResult?: undefined;
1983
- messages?: undefined;
1984
- request?: undefined;
1985
- warnings?: undefined;
1986
1999
  text?: undefined;
1987
- type?: undefined;
1988
- workflowId?: undefined;
1989
- stepName?: undefined;
1990
- stepCallId?: undefined;
1991
- payload?: undefined;
1992
- startedAt?: undefined;
1993
- status?: undefined;
1994
- endedAt?: undefined;
1995
2000
  };
2001
+ name?: undefined;
2002
+ args?: undefined;
2003
+ toolCallId?: undefined;
2004
+ toolName?: undefined;
1996
2005
  networkId?: undefined;
1997
2006
  agentId?: undefined;
1998
2007
  inputData?: undefined;
1999
- task?: undefined;
2008
+ isComplete?: undefined;
2000
2009
  result?: undefined;
2010
+ text?: undefined;
2011
+ task?: undefined;
2001
2012
  primitiveId?: undefined;
2002
2013
  primitiveType?: undefined;
2003
- prompt?: undefined;
2004
- isComplete?: undefined;
2005
- selectionReason?: undefined;
2006
2014
  iteration?: undefined;
2007
- usage?: undefined;
2008
- args?: undefined;
2009
- data?: undefined;
2010
- workflowId?: undefined;
2011
- id?: undefined;
2012
- name?: undefined;
2013
- toolCallId?: undefined;
2014
- toolName?: undefined;
2015
- text?: undefined;
2016
2015
  isOneOff?: undefined;
2017
2016
  threadId?: undefined;
2018
2017
  threadResourceId?: undefined;
2018
+ usage?: undefined;
2019
2019
  };
2020
2020
  from: string;
2021
2021
  runId: string;
2022
2022
  } | {
2023
2023
  type: string;
2024
2024
  payload: {
2025
+ prompt?: undefined;
2026
+ selectionReason?: undefined;
2027
+ workflowId?: undefined;
2028
+ id?: undefined;
2029
+ data?: undefined;
2030
+ type?: undefined;
2031
+ from?: undefined;
2032
+ payload?: undefined;
2025
2033
  task: string;
2026
2034
  primitiveId: string;
2027
2035
  primitiveType: string;
2028
2036
  result: {
2037
+ success?: undefined;
2029
2038
  status: string;
2030
2039
  steps: {
2031
2040
  input: {
@@ -2052,7 +2061,6 @@ export declare const networkStreamFixture: ({
2052
2061
  result: {
2053
2062
  success: boolean;
2054
2063
  };
2055
- success?: undefined;
2056
2064
  };
2057
2065
  isComplete: boolean;
2058
2066
  iteration: number;
@@ -2065,20 +2073,12 @@ export declare const networkStreamFixture: ({
2065
2073
  cachedInputTokens: number;
2066
2074
  reasoningTokens: number;
2067
2075
  };
2068
- networkId?: undefined;
2069
- agentId?: undefined;
2070
- inputData?: undefined;
2071
- prompt?: undefined;
2072
- selectionReason?: undefined;
2073
2076
  args?: undefined;
2074
- type?: undefined;
2075
- from?: undefined;
2076
- payload?: undefined;
2077
- data?: undefined;
2078
- workflowId?: undefined;
2079
- id?: undefined;
2080
2077
  toolCallId?: undefined;
2081
2078
  toolName?: undefined;
2079
+ networkId?: undefined;
2080
+ agentId?: undefined;
2081
+ inputData?: undefined;
2082
2082
  text?: undefined;
2083
2083
  isOneOff?: undefined;
2084
2084
  threadId?: undefined;
@@ -2089,6 +2089,15 @@ export declare const networkStreamFixture: ({
2089
2089
  } | {
2090
2090
  type: string;
2091
2091
  payload: {
2092
+ prompt?: undefined;
2093
+ selectionReason?: undefined;
2094
+ workflowId?: undefined;
2095
+ id?: undefined;
2096
+ data?: undefined;
2097
+ type?: undefined;
2098
+ from?: undefined;
2099
+ payload?: undefined;
2100
+ name?: undefined;
2092
2101
  args: {
2093
2102
  task: string;
2094
2103
  result: string;
@@ -2107,45 +2116,46 @@ export declare const networkStreamFixture: ({
2107
2116
  toolCallId: string;
2108
2117
  };
2109
2118
  runId: string;
2119
+ toolCallId?: undefined;
2120
+ toolName?: undefined;
2110
2121
  networkId?: undefined;
2111
2122
  agentId?: undefined;
2112
2123
  inputData?: undefined;
2113
- task?: undefined;
2124
+ isComplete?: undefined;
2114
2125
  result?: undefined;
2126
+ text?: undefined;
2127
+ task?: undefined;
2115
2128
  primitiveId?: undefined;
2116
2129
  primitiveType?: undefined;
2117
- prompt?: undefined;
2118
- isComplete?: undefined;
2119
- selectionReason?: undefined;
2120
2130
  iteration?: undefined;
2121
- usage?: undefined;
2122
- type?: undefined;
2123
- from?: undefined;
2124
- payload?: undefined;
2125
- data?: undefined;
2126
- workflowId?: undefined;
2127
- id?: undefined;
2128
- name?: undefined;
2129
- toolCallId?: undefined;
2130
- toolName?: undefined;
2131
- text?: undefined;
2132
2131
  isOneOff?: undefined;
2133
2132
  threadId?: undefined;
2134
2133
  threadResourceId?: undefined;
2134
+ usage?: undefined;
2135
2135
  };
2136
2136
  from: string;
2137
2137
  runId: string;
2138
2138
  } | {
2139
2139
  type: string;
2140
2140
  payload: {
2141
+ prompt?: undefined;
2142
+ selectionReason?: undefined;
2143
+ workflowId?: undefined;
2144
+ id?: undefined;
2145
+ data?: undefined;
2146
+ type?: undefined;
2147
+ from?: undefined;
2148
+ payload?: undefined;
2149
+ name?: undefined;
2150
+ args?: undefined;
2141
2151
  task: string;
2142
2152
  primitiveId: string;
2143
2153
  primitiveType: string;
2144
2154
  result: {
2145
- success: boolean;
2146
- status?: undefined;
2147
2155
  steps?: undefined;
2156
+ status?: undefined;
2148
2157
  input?: undefined;
2158
+ success: boolean;
2149
2159
  result?: undefined;
2150
2160
  };
2151
2161
  isComplete: boolean;
@@ -2154,33 +2164,36 @@ export declare const networkStreamFixture: ({
2154
2164
  toolName: string;
2155
2165
  networkId?: undefined;
2156
2166
  agentId?: undefined;
2157
- runId?: undefined;
2158
2167
  inputData?: undefined;
2159
- prompt?: undefined;
2160
- selectionReason?: undefined;
2161
- usage?: undefined;
2162
- args?: undefined;
2163
- type?: undefined;
2164
- from?: undefined;
2165
- payload?: undefined;
2166
- data?: undefined;
2167
- workflowId?: undefined;
2168
- id?: undefined;
2169
- name?: undefined;
2170
2168
  text?: undefined;
2169
+ runId?: undefined;
2171
2170
  isOneOff?: undefined;
2172
2171
  threadId?: undefined;
2173
2172
  threadResourceId?: undefined;
2173
+ usage?: undefined;
2174
2174
  };
2175
2175
  from: string;
2176
2176
  runId: string;
2177
2177
  } | {
2178
2178
  type: string;
2179
2179
  payload: {
2180
+ prompt?: undefined;
2181
+ selectionReason?: undefined;
2182
+ workflowId?: undefined;
2183
+ id?: undefined;
2184
+ data?: undefined;
2185
+ type?: undefined;
2186
+ from?: undefined;
2187
+ payload?: undefined;
2188
+ name?: undefined;
2189
+ args?: undefined;
2190
+ toolCallId?: undefined;
2191
+ toolName?: undefined;
2180
2192
  networkId: string;
2181
2193
  agentId: string;
2182
2194
  runId: string;
2183
2195
  inputData: {
2196
+ verboseIntrospection?: undefined;
2184
2197
  task: string;
2185
2198
  isComplete: boolean;
2186
2199
  result: {
@@ -2192,103 +2205,107 @@ export declare const networkStreamFixture: ({
2192
2205
  isOneOff: boolean;
2193
2206
  threadId: string;
2194
2207
  threadResourceId: string;
2195
- verboseIntrospection?: undefined;
2196
2208
  };
2197
- task?: undefined;
2209
+ isComplete?: undefined;
2198
2210
  result?: undefined;
2211
+ text?: undefined;
2212
+ task?: undefined;
2199
2213
  primitiveId?: undefined;
2200
2214
  primitiveType?: undefined;
2201
- prompt?: undefined;
2202
- isComplete?: undefined;
2203
- selectionReason?: undefined;
2204
2215
  iteration?: undefined;
2205
- usage?: undefined;
2206
- args?: undefined;
2207
- type?: undefined;
2208
- from?: undefined;
2209
- payload?: undefined;
2210
- data?: undefined;
2211
- workflowId?: undefined;
2212
- id?: undefined;
2213
- name?: undefined;
2214
- toolCallId?: undefined;
2215
- toolName?: undefined;
2216
- text?: undefined;
2217
2216
  isOneOff?: undefined;
2218
2217
  threadId?: undefined;
2219
2218
  threadResourceId?: undefined;
2219
+ usage?: undefined;
2220
2220
  };
2221
2221
  runId: string;
2222
2222
  from: string;
2223
2223
  } | {
2224
2224
  type: string;
2225
2225
  payload: {
2226
- runId: string;
2227
- text: string;
2228
- networkId?: undefined;
2229
- agentId?: undefined;
2230
- inputData?: undefined;
2231
- task?: undefined;
2232
- result?: undefined;
2233
- primitiveId?: undefined;
2234
- primitiveType?: undefined;
2235
2226
  prompt?: undefined;
2236
- isComplete?: undefined;
2237
2227
  selectionReason?: undefined;
2238
- iteration?: undefined;
2239
- usage?: undefined;
2240
- args?: undefined;
2228
+ workflowId?: undefined;
2229
+ id?: undefined;
2230
+ data?: undefined;
2241
2231
  type?: undefined;
2242
2232
  from?: undefined;
2243
2233
  payload?: undefined;
2244
- data?: undefined;
2245
- workflowId?: undefined;
2246
- id?: undefined;
2247
2234
  name?: undefined;
2235
+ args?: undefined;
2248
2236
  toolCallId?: undefined;
2249
2237
  toolName?: undefined;
2238
+ networkId?: undefined;
2239
+ agentId?: undefined;
2240
+ inputData?: undefined;
2241
+ isComplete?: undefined;
2242
+ result?: undefined;
2243
+ runId: string;
2244
+ text: string;
2245
+ task?: undefined;
2246
+ primitiveId?: undefined;
2247
+ primitiveType?: undefined;
2248
+ iteration?: undefined;
2250
2249
  isOneOff?: undefined;
2251
2250
  threadId?: undefined;
2252
2251
  threadResourceId?: undefined;
2252
+ usage?: undefined;
2253
2253
  };
2254
2254
  from: string;
2255
2255
  runId: string;
2256
2256
  } | {
2257
2257
  type: string;
2258
2258
  payload: {
2259
- task: string;
2260
- result: string;
2261
- isComplete: boolean;
2262
- iteration: number;
2263
- runId: string;
2264
- networkId?: undefined;
2265
- agentId?: undefined;
2266
- inputData?: undefined;
2267
- primitiveId?: undefined;
2268
- primitiveType?: undefined;
2269
2259
  prompt?: undefined;
2270
2260
  selectionReason?: undefined;
2271
- usage?: undefined;
2272
- args?: undefined;
2261
+ workflowId?: undefined;
2262
+ id?: undefined;
2263
+ data?: undefined;
2273
2264
  type?: undefined;
2274
2265
  from?: undefined;
2275
2266
  payload?: undefined;
2276
- data?: undefined;
2277
- workflowId?: undefined;
2278
- id?: undefined;
2279
2267
  name?: undefined;
2268
+ args?: undefined;
2280
2269
  toolCallId?: undefined;
2281
2270
  toolName?: undefined;
2271
+ networkId?: undefined;
2272
+ agentId?: undefined;
2273
+ inputData?: undefined;
2282
2274
  text?: undefined;
2275
+ task: string;
2276
+ result: string;
2277
+ isComplete: boolean;
2278
+ iteration: number;
2279
+ runId: string;
2280
+ primitiveId?: undefined;
2281
+ primitiveType?: undefined;
2283
2282
  isOneOff?: undefined;
2284
2283
  threadId?: undefined;
2285
2284
  threadResourceId?: undefined;
2285
+ usage?: undefined;
2286
2286
  };
2287
2287
  from: string;
2288
2288
  runId: string;
2289
2289
  } | {
2290
2290
  type: string;
2291
2291
  payload: {
2292
+ prompt?: undefined;
2293
+ selectionReason?: undefined;
2294
+ workflowId?: undefined;
2295
+ id?: undefined;
2296
+ data?: undefined;
2297
+ type?: undefined;
2298
+ from?: undefined;
2299
+ payload?: undefined;
2300
+ name?: undefined;
2301
+ args?: undefined;
2302
+ toolCallId?: undefined;
2303
+ toolName?: undefined;
2304
+ networkId?: undefined;
2305
+ agentId?: undefined;
2306
+ inputData?: undefined;
2307
+ text?: undefined;
2308
+ runId?: undefined;
2292
2309
  task: string;
2293
2310
  isComplete: boolean;
2294
2311
  result: string;
@@ -2305,23 +2322,6 @@ export declare const networkStreamFixture: ({
2305
2322
  cachedInputTokens: number;
2306
2323
  reasoningTokens: number;
2307
2324
  };
2308
- networkId?: undefined;
2309
- agentId?: undefined;
2310
- runId?: undefined;
2311
- inputData?: undefined;
2312
- prompt?: undefined;
2313
- selectionReason?: undefined;
2314
- args?: undefined;
2315
- type?: undefined;
2316
- from?: undefined;
2317
- payload?: undefined;
2318
- data?: undefined;
2319
- workflowId?: undefined;
2320
- id?: undefined;
2321
- name?: undefined;
2322
- toolCallId?: undefined;
2323
- toolName?: undefined;
2324
- text?: undefined;
2325
2325
  };
2326
2326
  from: string;
2327
2327
  runId: string;