fascicle 0.13.0 → 0.14.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.
Files changed (43) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/README.md +20 -1
  3. package/dist/acp.d.ts +226 -0
  4. package/dist/acp.js +1886 -0
  5. package/dist/acp.js.map +1 -0
  6. package/dist/adapters.js +1 -2
  7. package/dist/agents.d.ts +1 -1
  8. package/dist/agents.js +1 -1
  9. package/dist/{core-B-M7nAkg.js → core-CDrz0NM1.js} +184 -53
  10. package/dist/core-CDrz0NM1.js.map +1 -0
  11. package/dist/diagram_bin.js +5 -2
  12. package/dist/diagram_bin.js.map +1 -1
  13. package/dist/{engine-BRzVcTBB.js → engine-BDWB2jdn.js} +12 -333
  14. package/dist/engine-BDWB2jdn.js.map +1 -0
  15. package/dist/index.d.ts +485 -623
  16. package/dist/index.js +20 -12
  17. package/dist/index.js.map +1 -1
  18. package/dist/{invoke-CIdhjChw.js → invoke-tjTjZLHj.js} +3 -3
  19. package/dist/{invoke-CIdhjChw.js.map → invoke-tjTjZLHj.js.map} +1 -1
  20. package/dist/json_schema_to_standard-r21kW2LI.js +288 -0
  21. package/dist/json_schema_to_standard-r21kW2LI.js.map +1 -0
  22. package/dist/leading_system-BQe_405V.js +330 -0
  23. package/dist/leading_system-BQe_405V.js.map +1 -0
  24. package/dist/mcp.d.ts +17 -16
  25. package/dist/mcp.js +2 -266
  26. package/dist/mcp.js.map +1 -1
  27. package/dist/search-CqH5hmuF.js +563 -0
  28. package/dist/search-CqH5hmuF.js.map +1 -0
  29. package/dist/search_worker.d.ts +1 -0
  30. package/dist/search_worker.js +19 -0
  31. package/dist/search_worker.js.map +1 -0
  32. package/dist/stdio.js +1 -1
  33. package/dist/testing.d.ts +1 -1
  34. package/dist/testing.js +3 -2
  35. package/dist/testing.js.map +1 -1
  36. package/dist/{types-CZ83Q5nm.d.ts → types-C_Rmcgck.d.ts} +7 -1
  37. package/dist/viewer-app/assets/index-Fnh5HKSU.js +2 -0
  38. package/dist/viewer-app/index.html +1 -1
  39. package/dist/viewer.js +1 -1
  40. package/package.json +30 -19
  41. package/dist/core-B-M7nAkg.js.map +0 -1
  42. package/dist/engine-BRzVcTBB.js.map +0 -1
  43. package/dist/viewer-app/assets/index-DXsB0byD.js +0 -2
package/dist/index.d.ts CHANGED
@@ -1,603 +1,7 @@
1
1
  import { a as FlowValue, c as Step, d as StepMetadata, f as StepOptions, h as TrajectoryLogger, i as FlowNode, l as StepFn, m as TrajectoryEvent, n as CheckpointStore, o as RunContext, p as StepOutput, r as CleanupFn, s as ScopedCheckpointStore, t as AnyStep, u as StepInput } from "./types-CPqLZOEr.js";
2
2
  import { n as SchemaIssue, r as ToolSchema, t as AnySchema } from "./types-BK0UW28o.js";
3
3
  import { _ as is_run_end_event, a as MapItemFailedEvent, b as is_step_replayed_event, c as RunEndStatus, d as StepReplayedEvent, f as TrajectoryParseResult, g as is_map_item_failed_event, h as is_emit_event, i as EmitEvent, l as SpanEndEvent, m as is_custom_trajectory_event, n as CheckpointStatus, o as ParsedTrajectoryEvent, p as is_checkpoint_event, r as CustomTrajectoryEvent, s as RunEndEvent, t as CheckpointEvent, u as SpanStartEvent, v as is_span_end_event, x as parse_trajectory_event, y as is_span_start_event } from "./trajectory-Bm-mOtqw.js";
4
- import { A as ToolExecContext, B as ProviderCapability, C as StepRecord, D as ToolApprovalHandler, E as Tool, F as AiSdkProviderAdapter, G as ClaudeCliProviderReported, H as ProviderTransport, I as EffortTranslation, L as ExternalAgentAdapter, M as TurnResult, N as UsageTotals, O as ToolApprovalRequest, P as UserContentPart, R as NativeProviderAdapter, S as RetryPolicy, T as StreamChunk, U as RawProviderUsage, V as ProviderFactory, W as default_normalize_usage, _ as PricingTable, a as Engine, b as ResolvedModel, c as FinishReason, d as GenerateTiming, f as Message, g as Pricing, h as PrepareStepResult, i as EffortLevel, j as TurnRequest, k as ToolCallRecord, l as GenerateOptions, m as PrepareStepHook, n as AssistantContentPart, o as EngineConfig, p as PrepareStepContext, r as CostBreakdown, s as EngineDefaults, t as AiSdkTelemetrySettings, u as GenerateResult, v as ProviderConfigMap, w as StepTiming, x as RetryFailureKind, y as ProviderInit, z as ProviderAdapter } from "./types-CZ83Q5nm.js";
5
- //#region src/core/flow-schema.json.d.ts
6
- declare let $schema: string;
7
- declare let $id: string;
8
- declare let title: string;
9
- declare let description: string;
10
- declare let type: string;
11
- declare namespace items {
12
- let $ref: string;
13
- }
14
- declare namespace $defs {
15
- namespace compose_entry {
16
- let type_1: string;
17
- export { type_1 as type };
18
- export let required: string[];
19
- export namespace properties {
20
- namespace compose {
21
- let type_2: string;
22
- export { type_2 as type };
23
- }
24
- }
25
- export let allOf: {
26
- $ref: string;
27
- }[];
28
- }
29
- namespace node {
30
- let type_3: string;
31
- export { type_3 as type };
32
- export let anyOf: {
33
- required: string[];
34
- }[];
35
- export namespace properties_1 {
36
- namespace step {
37
- let $ref_1: string;
38
- export { $ref_1 as $ref };
39
- }
40
- namespace sequence {
41
- let $ref_2: string;
42
- export { $ref_2 as $ref };
43
- }
44
- namespace parallel {
45
- let $ref_3: string;
46
- export { $ref_3 as $ref };
47
- }
48
- namespace branch {
49
- let $ref_4: string;
50
- export { $ref_4 as $ref };
51
- }
52
- namespace map {
53
- let $ref_5: string;
54
- export { $ref_5 as $ref };
55
- }
56
- namespace pipe {
57
- let $ref_6: string;
58
- export { $ref_6 as $ref };
59
- }
60
- namespace retry {
61
- let $ref_7: string;
62
- export { $ref_7 as $ref };
63
- }
64
- namespace fallback {
65
- let $ref_8: string;
66
- export { $ref_8 as $ref };
67
- }
68
- namespace timeout {
69
- let $ref_9: string;
70
- export { $ref_9 as $ref };
71
- }
72
- namespace loop {
73
- let $ref_10: string;
74
- export { $ref_10 as $ref };
75
- }
76
- namespace compose_node {
77
- let $ref_11: string;
78
- export { $ref_11 as $ref };
79
- }
80
- namespace adversarial {
81
- let $ref_12: string;
82
- export { $ref_12 as $ref };
83
- }
84
- namespace ensemble {
85
- let $ref_13: string;
86
- export { $ref_13 as $ref };
87
- }
88
- namespace tournament {
89
- let $ref_14: string;
90
- export { $ref_14 as $ref };
91
- }
92
- namespace consensus {
93
- let $ref_15: string;
94
- export { $ref_15 as $ref };
95
- }
96
- namespace checkpoint {
97
- let $ref_16: string;
98
- export { $ref_16 as $ref };
99
- }
100
- namespace suspend {
101
- let $ref_17: string;
102
- export { $ref_17 as $ref };
103
- }
104
- namespace scope {
105
- let $ref_18: string;
106
- export { $ref_18 as $ref };
107
- }
108
- namespace chain {
109
- let $ref_19: string;
110
- export { $ref_19 as $ref };
111
- }
112
- namespace ref {
113
- let type_4: string;
114
- export { type_4 as type };
115
- }
116
- }
117
- export { properties_1 as properties };
118
- }
119
- namespace step_config {
120
- let type_5: string;
121
- export { type_5 as type };
122
- let required_1: string[];
123
- export { required_1 as required };
124
- export namespace properties_2 {
125
- namespace id {
126
- let type_6: string;
127
- export { type_6 as type };
128
- }
129
- namespace fn {
130
- let type_7: string;
131
- export { type_7 as type };
132
- }
133
- }
134
- export { properties_2 as properties };
135
- }
136
- namespace sequence_config {
137
- let type_8: string;
138
- export { type_8 as type };
139
- export namespace items_1 {
140
- let $ref_20: string;
141
- export { $ref_20 as $ref };
142
- }
143
- export { items_1 as items };
144
- }
145
- namespace parallel_config {
146
- let type_9: string;
147
- export { type_9 as type };
148
- export namespace additionalProperties {
149
- let $ref_21: string;
150
- export { $ref_21 as $ref };
151
- }
152
- }
153
- namespace branch_config {
154
- let type_10: string;
155
- export { type_10 as type };
156
- let required_2: string[];
157
- export { required_2 as required };
158
- export namespace properties_3 {
159
- namespace when {
160
- let type_11: string;
161
- export { type_11 as type };
162
- }
163
- namespace then {
164
- let $ref_22: string;
165
- export { $ref_22 as $ref };
166
- }
167
- namespace otherwise {
168
- let $ref_23: string;
169
- export { $ref_23 as $ref };
170
- }
171
- }
172
- export { properties_3 as properties };
173
- }
174
- namespace map_config {
175
- let type_12: string;
176
- export { type_12 as type };
177
- let required_3: string[];
178
- export { required_3 as required };
179
- export namespace properties_4 {
180
- export namespace items_2 {
181
- let type_13: string;
182
- export { type_13 as type };
183
- }
184
- export { items_2 as items };
185
- export namespace _do {
186
- let $ref_24: string;
187
- export { $ref_24 as $ref };
188
- }
189
- export { _do as do };
190
- export namespace concurrency {
191
- let type_14: string;
192
- export { type_14 as type };
193
- export let minimum: number;
194
- }
195
- export namespace settle {
196
- let type_15: string;
197
- export { type_15 as type };
198
- }
199
- }
200
- export { properties_4 as properties };
201
- }
202
- namespace pipe_config {
203
- let type_16: string;
204
- export { type_16 as type };
205
- let required_4: string[];
206
- export { required_4 as required };
207
- export namespace properties_5 {
208
- export namespace of {
209
- let $ref_25: string;
210
- export { $ref_25 as $ref };
211
- }
212
- export namespace fn_1 {
213
- let type_17: string;
214
- export { type_17 as type };
215
- }
216
- export { fn_1 as fn };
217
- }
218
- export { properties_5 as properties };
219
- }
220
- namespace retry_config {
221
- let type_18: string;
222
- export { type_18 as type };
223
- let required_5: string[];
224
- export { required_5 as required };
225
- export namespace properties_6 {
226
- export namespace _do_1 {
227
- let $ref_26: string;
228
- export { $ref_26 as $ref };
229
- }
230
- export { _do_1 as do };
231
- export namespace max_attempts {
232
- let type_19: string;
233
- export { type_19 as type };
234
- let minimum_1: number;
235
- export { minimum_1 as minimum };
236
- }
237
- export namespace backoff_ms {
238
- let type_20: string;
239
- export { type_20 as type };
240
- let minimum_2: number;
241
- export { minimum_2 as minimum };
242
- }
243
- }
244
- export { properties_6 as properties };
245
- }
246
- namespace fallback_config {
247
- let type_21: string;
248
- export { type_21 as type };
249
- let required_6: string[];
250
- export { required_6 as required };
251
- export namespace properties_7 {
252
- namespace primary {
253
- let $ref_27: string;
254
- export { $ref_27 as $ref };
255
- }
256
- namespace backup {
257
- let $ref_28: string;
258
- export { $ref_28 as $ref };
259
- }
260
- }
261
- export { properties_7 as properties };
262
- }
263
- namespace timeout_config {
264
- let type_22: string;
265
- export { type_22 as type };
266
- let required_7: string[];
267
- export { required_7 as required };
268
- export namespace properties_8 {
269
- export namespace _do_2 {
270
- let $ref_29: string;
271
- export { $ref_29 as $ref };
272
- }
273
- export { _do_2 as do };
274
- export namespace ms {
275
- let type_23: string;
276
- export { type_23 as type };
277
- let minimum_3: number;
278
- export { minimum_3 as minimum };
279
- }
280
- }
281
- export { properties_8 as properties };
282
- }
283
- namespace compose_node_config {
284
- let type_24: string;
285
- export { type_24 as type };
286
- let required_8: string[];
287
- export { required_8 as required };
288
- export namespace properties_9 {
289
- export namespace name {
290
- let type_25: string;
291
- export { type_25 as type };
292
- export let minLength: number;
293
- }
294
- export namespace _do_3 {
295
- let $ref_30: string;
296
- export { $ref_30 as $ref };
297
- }
298
- export { _do_3 as do };
299
- }
300
- export { properties_9 as properties };
301
- }
302
- namespace loop_config {
303
- let type_26: string;
304
- export { type_26 as type };
305
- let required_9: string[];
306
- export { required_9 as required };
307
- export namespace properties_10 {
308
- export namespace name_1 {
309
- let type_27: string;
310
- export { type_27 as type };
311
- let minLength_1: number;
312
- export { minLength_1 as minLength };
313
- }
314
- export { name_1 as name };
315
- export namespace init {
316
- let type_28: string;
317
- export { type_28 as type };
318
- }
319
- export namespace body {
320
- let $ref_31: string;
321
- export { $ref_31 as $ref };
322
- }
323
- export namespace guard {
324
- let $ref_32: string;
325
- export { $ref_32 as $ref };
326
- }
327
- export namespace finish {
328
- let type_29: string;
329
- export { type_29 as type };
330
- }
331
- export namespace max_rounds {
332
- let type_30: string;
333
- export { type_30 as type };
334
- let minimum_4: number;
335
- export { minimum_4 as minimum };
336
- }
337
- }
338
- export { properties_10 as properties };
339
- }
340
- namespace adversarial_config {
341
- let type_31: string;
342
- export { type_31 as type };
343
- let required_10: string[];
344
- export { required_10 as required };
345
- export namespace properties_11 {
346
- export namespace build {
347
- let $ref_33: string;
348
- export { $ref_33 as $ref };
349
- }
350
- export namespace critique {
351
- let $ref_34: string;
352
- export { $ref_34 as $ref };
353
- }
354
- export namespace accept {
355
- let type_32: string;
356
- export { type_32 as type };
357
- }
358
- export namespace max_rounds_1 {
359
- let type_33: string;
360
- export { type_33 as type };
361
- let minimum_5: number;
362
- export { minimum_5 as minimum };
363
- }
364
- export { max_rounds_1 as max_rounds };
365
- }
366
- export { properties_11 as properties };
367
- }
368
- namespace ensemble_config {
369
- let type_34: string;
370
- export { type_34 as type };
371
- let required_11: string[];
372
- export { required_11 as required };
373
- export namespace properties_12 {
374
- namespace members {
375
- let type_35: string;
376
- export { type_35 as type };
377
- export namespace additionalProperties_1 {
378
- let $ref_35: string;
379
- export { $ref_35 as $ref };
380
- }
381
- export { additionalProperties_1 as additionalProperties };
382
- }
383
- namespace score {
384
- let type_36: string;
385
- export { type_36 as type };
386
- }
387
- namespace select {
388
- let type_37: string;
389
- export { type_37 as type };
390
- let _enum: string[];
391
- export { _enum as enum };
392
- }
393
- }
394
- export { properties_12 as properties };
395
- }
396
- namespace tournament_config {
397
- let type_38: string;
398
- export { type_38 as type };
399
- let required_12: string[];
400
- export { required_12 as required };
401
- export namespace properties_13 {
402
- export namespace members_1 {
403
- let type_39: string;
404
- export { type_39 as type };
405
- export namespace additionalProperties_2 {
406
- let $ref_36: string;
407
- export { $ref_36 as $ref };
408
- }
409
- export { additionalProperties_2 as additionalProperties };
410
- }
411
- export { members_1 as members };
412
- export namespace compare {
413
- let type_40: string;
414
- export { type_40 as type };
415
- }
416
- }
417
- export { properties_13 as properties };
418
- }
419
- namespace consensus_config {
420
- let type_41: string;
421
- export { type_41 as type };
422
- let required_13: string[];
423
- export { required_13 as required };
424
- export namespace properties_14 {
425
- export namespace members_2 {
426
- let type_42: string;
427
- export { type_42 as type };
428
- export namespace additionalProperties_3 {
429
- let $ref_37: string;
430
- export { $ref_37 as $ref };
431
- }
432
- export { additionalProperties_3 as additionalProperties };
433
- }
434
- export { members_2 as members };
435
- export namespace agree {
436
- let type_43: string;
437
- export { type_43 as type };
438
- }
439
- export namespace max_rounds_2 {
440
- let type_44: string;
441
- export { type_44 as type };
442
- let minimum_6: number;
443
- export { minimum_6 as minimum };
444
- }
445
- export { max_rounds_2 as max_rounds };
446
- }
447
- export { properties_14 as properties };
448
- }
449
- namespace checkpoint_config {
450
- let type_45: string;
451
- export { type_45 as type };
452
- let required_14: string[];
453
- export { required_14 as required };
454
- export namespace properties_15 {
455
- export namespace _do_4 {
456
- let $ref_38: string;
457
- export { $ref_38 as $ref };
458
- }
459
- export { _do_4 as do };
460
- export namespace key {
461
- let type_46: string;
462
- export { type_46 as type };
463
- }
464
- }
465
- export { properties_15 as properties };
466
- }
467
- namespace suspend_config {
468
- let type_47: string;
469
- export { type_47 as type };
470
- let required_15: string[];
471
- export { required_15 as required };
472
- export namespace properties_16 {
473
- export namespace id_1 {
474
- let type_48: string;
475
- export { type_48 as type };
476
- }
477
- export { id_1 as id };
478
- export namespace on {
479
- let type_49: string;
480
- export { type_49 as type };
481
- }
482
- export namespace resume_schema {
483
- let type_50: string;
484
- export { type_50 as type };
485
- }
486
- export namespace combine {
487
- let type_51: string;
488
- export { type_51 as type };
489
- }
490
- export namespace deadline_ms {
491
- let type_52: string;
492
- export { type_52 as type };
493
- }
494
- }
495
- export { properties_16 as properties };
496
- }
497
- namespace scope_config {
498
- let type_53: string;
499
- export { type_53 as type };
500
- export namespace items_3 {
501
- let $ref_39: string;
502
- export { $ref_39 as $ref };
503
- }
504
- export { items_3 as items };
505
- }
506
- namespace scope_entry {
507
- let type_54: string;
508
- export { type_54 as type };
509
- export let oneOf: ({
510
- type: string;
511
- required: string[];
512
- properties: {
513
- stash: {
514
- type: string;
515
- };
516
- do: {
517
- $ref: string;
518
- };
519
- use?: never;
520
- };
521
- } | {
522
- type: string;
523
- required: string[];
524
- properties: {
525
- use: {
526
- type: string;
527
- items: {
528
- type: string;
529
- };
530
- };
531
- do: {
532
- $ref: string;
533
- };
534
- stash?: never;
535
- };
536
- })[];
537
- }
538
- namespace chain_config {
539
- let type_55: string;
540
- export { type_55 as type };
541
- let required_16: string[];
542
- export { required_16 as required };
543
- export namespace properties_17 {
544
- namespace input {
545
- let type_56: string;
546
- export { type_56 as type };
547
- }
548
- namespace steps {
549
- let type_57: string;
550
- export { type_57 as type };
551
- export namespace items_4 {
552
- let $ref_40: string;
553
- export { $ref_40 as $ref };
554
- }
555
- export { items_4 as items };
556
- }
557
- namespace output {
558
- let type_58: string;
559
- export { type_58 as type };
560
- }
561
- }
562
- export { properties_17 as properties };
563
- }
564
- namespace chain_entry {
565
- let type_59: string;
566
- export { type_59 as type };
567
- let oneOf_1: ({
568
- type: string;
569
- required: string[];
570
- properties: {
571
- step: {
572
- type: string;
573
- };
574
- fn: {
575
- type: string;
576
- };
577
- stage?: never;
578
- project?: never;
579
- };
580
- } | {
581
- type: string;
582
- required: string[];
583
- properties: {
584
- stage: {
585
- type: string;
586
- };
587
- project: {
588
- type: string;
589
- };
590
- step?: never;
591
- fn?: never;
592
- };
593
- })[];
594
- export { oneOf_1 as oneOf };
595
- }
596
- }
597
- declare namespace __json_default_export {
598
- export { $schema, $id, title, description, type, items, $defs };
599
- }
600
- //#endregion
4
+ import { A as ToolExecContext, B as ProviderCapability, C as StepRecord, D as ToolApprovalHandler, E as Tool, F as AiSdkProviderAdapter, G as ClaudeCliProviderReported, H as ProviderTransport, I as EffortTranslation, L as ExternalAgentAdapter, M as TurnResult, N as UsageTotals, O as ToolApprovalRequest, P as UserContentPart, R as NativeProviderAdapter, S as RetryPolicy, T as StreamChunk, U as RawProviderUsage, V as ProviderFactory, W as default_normalize_usage, _ as PricingTable, a as Engine, b as ResolvedModel, c as FinishReason, d as GenerateTiming, f as Message, g as Pricing, h as PrepareStepResult, i as EffortLevel, j as TurnRequest, k as ToolCallRecord, l as GenerateOptions, m as PrepareStepHook, n as AssistantContentPart, o as EngineConfig, p as PrepareStepContext, r as CostBreakdown, s as EngineDefaults, t as AiSdkTelemetrySettings, u as GenerateResult, v as ProviderConfigMap, w as StepTiming, x as RetryFailureKind, y as ProviderInit, z as ProviderAdapter } from "./types-C_Rmcgck.js";
601
5
  //#region src/core/runner.d.ts
602
6
  type RunOptions = {
603
7
  readonly install_signal_handlers?: boolean;
@@ -757,6 +161,20 @@ type DiagramOptions = {
757
161
  readonly width?: number;
758
162
  /** Written at the start of every line, for example `' * '` for a doc comment. */
759
163
  readonly prefix?: string;
164
+ /** Mark each step that `describe.replays` finds with the gates it can run again before. */
165
+ readonly replays?: boolean;
166
+ };
167
+ //#endregion
168
+ //#region src/core/replays.d.ts
169
+ /**
170
+ * A step that a resumed run can run again: its `id`, the `label` its row
171
+ * carries in `describe.diagram`, and the ids of the gates it can run before,
172
+ * in flow order.
173
+ */
174
+ type ReplayHint = {
175
+ readonly id: string;
176
+ readonly label: string;
177
+ readonly gates: ReadonlyArray<string>;
760
178
  };
761
179
  //#endregion
762
180
  //#region src/core/describe.d.ts
@@ -765,12 +183,14 @@ type DescribeOptions = {
765
183
  };
766
184
  /**
767
185
  * Public entry point: `describe(step)` for text, `describe.json(step)` for
768
- * the `FlowNode` tree, `describe.diagram(step)` for the annotated diagram.
186
+ * the `FlowNode` tree, `describe.diagram(step)` for the annotated diagram,
187
+ * and `describe.replays(step)` for the steps a resume would pay for twice.
769
188
  */
770
189
  export declare const describe: {
771
190
  <i, o>(root: Step<i, o>, options?: DescribeOptions): string;
772
191
  json: <i, o>(root: Step<i, o>, options?: DescribeOptions) => FlowNode;
773
192
  diagram: <i, o>(root: Step<i, o>, options?: DiagramOptions) => string;
193
+ replays: <i, o>(root: Step<i, o>, options?: DescribeOptions) => ReadonlyArray<ReplayHint>;
774
194
  };
775
195
  //#endregion
776
196
  //#region src/core/display_name.d.ts
@@ -1251,13 +671,13 @@ export declare function chain<i = never, k extends string = 'input'>(input_name?
1251
671
  //#endregion
1252
672
  //#region src/core/errors.d.ts
1253
673
  export declare class timeout_error extends Error {
1254
- readonly kind: "timeout_error";
674
+ readonly kind: 'timeout_error';
1255
675
  readonly path?: ReadonlyArray<string>;
1256
676
  readonly timeout_ms: number;
1257
677
  constructor(message: string, timeout_ms: number);
1258
678
  }
1259
679
  export declare class suspended_error extends Error {
1260
- readonly kind: "suspended_error";
680
+ readonly kind: 'suspended_error';
1261
681
  readonly path?: ReadonlyArray<string>;
1262
682
  readonly suspend_id: string;
1263
683
  readonly payload: unknown;
@@ -1265,14 +685,14 @@ export declare class suspended_error extends Error {
1265
685
  constructor(suspend_id: string, payload: unknown, message?: string, deadline_ms?: number);
1266
686
  }
1267
687
  export declare class resume_validation_error extends Error {
1268
- readonly kind: "resume_validation_error";
688
+ readonly kind: 'resume_validation_error';
1269
689
  readonly path?: ReadonlyArray<string>;
1270
690
  readonly issues: ReadonlyArray<SchemaIssue>;
1271
691
  readonly suspend_id: string | undefined;
1272
692
  constructor(message: string, issues: ReadonlyArray<SchemaIssue>, suspend_id?: string);
1273
693
  }
1274
694
  export declare class flow_changed_error extends Error {
1275
- readonly kind: "flow_changed_error";
695
+ readonly kind: 'flow_changed_error';
1276
696
  readonly path?: ReadonlyArray<string>;
1277
697
  readonly run_id: string;
1278
698
  readonly started_on: string;
@@ -1280,19 +700,19 @@ export declare class flow_changed_error extends Error {
1280
700
  constructor(run_id: string, started_on: string, continued_on: string);
1281
701
  }
1282
702
  export declare class run_not_found_error extends Error {
1283
- readonly kind: "run_not_found_error";
703
+ readonly kind: 'run_not_found_error';
1284
704
  readonly path?: ReadonlyArray<string>;
1285
705
  readonly run_id: string;
1286
706
  constructor(run_id: string);
1287
707
  }
1288
708
  export declare class describe_cycle_error extends Error {
1289
- readonly kind: "describe_cycle_error";
709
+ readonly kind: 'describe_cycle_error';
1290
710
  readonly path?: ReadonlyArray<string>;
1291
711
  readonly step_id: string;
1292
712
  constructor(step_id: string, message?: string);
1293
713
  }
1294
714
  export declare class aborted_error extends Error {
1295
- readonly kind: "aborted_error";
715
+ readonly kind: 'aborted_error';
1296
716
  readonly path?: ReadonlyArray<string>;
1297
717
  readonly reason?: unknown;
1298
718
  readonly step_index?: number;
@@ -1340,13 +760,455 @@ export declare function is_step(value: unknown): value is AnyStep;
1340
760
  * `composites/__tests__/coverage.test.ts` covers the four composite kinds
1341
761
  * whose factories live outside core.
1342
762
  */
1343
- export declare const STEP_KINDS: readonly ["step", "sequence", "parallel", "branch", "map", "pipe", "retry", "fallback", "timeout", "loop", "compose", "adversarial", "ensemble", "tournament", "consensus", "checkpoint", "suspend", "scope", "stash", "use", "chain"];
763
+ export declare const STEP_KINDS: readonly ['step', 'sequence', 'parallel', 'branch', 'map', 'pipe', 'retry', 'fallback', 'timeout', 'loop', 'compose', 'adversarial', 'ensemble', 'tournament', 'consensus', 'checkpoint', 'suspend', 'scope', 'stash', 'use', 'chain'];
1344
764
  type StepKind = (typeof STEP_KINDS)[number];
1345
765
  /**
1346
766
  * Check whether a value is one of the registered `Step.kind` strings.
1347
767
  */
1348
768
  export declare function is_step_kind(value: unknown): value is StepKind;
1349
769
  //#endregion
770
+ //#region src/core/flow_schema.d.ts
771
+ /**
772
+ * JSON Schema for the YAML flow representation, exported as `flow_schema`.
773
+ *
774
+ * It lives in a TypeScript module, not a .json file, because the published
775
+ * declarations come from tsgo under TypeScript 7, and tsgo writes none for a
776
+ * JSON module, which leaves the build nothing to type this export with.
777
+ */
778
+ export declare const flow_schema: {
779
+ $schema: string;
780
+ $id: string;
781
+ title: string;
782
+ description: string;
783
+ type: string;
784
+ items: {
785
+ $ref: string;
786
+ };
787
+ $defs: {
788
+ compose_entry: {
789
+ type: string;
790
+ required: string[];
791
+ properties: {
792
+ compose: {
793
+ type: string;
794
+ };
795
+ };
796
+ allOf: {
797
+ $ref: string;
798
+ }[];
799
+ };
800
+ node: {
801
+ type: string;
802
+ anyOf: {
803
+ required: string[];
804
+ }[];
805
+ properties: {
806
+ step: {
807
+ $ref: string;
808
+ };
809
+ sequence: {
810
+ $ref: string;
811
+ };
812
+ parallel: {
813
+ $ref: string;
814
+ };
815
+ branch: {
816
+ $ref: string;
817
+ };
818
+ map: {
819
+ $ref: string;
820
+ };
821
+ pipe: {
822
+ $ref: string;
823
+ };
824
+ retry: {
825
+ $ref: string;
826
+ };
827
+ fallback: {
828
+ $ref: string;
829
+ };
830
+ timeout: {
831
+ $ref: string;
832
+ };
833
+ loop: {
834
+ $ref: string;
835
+ };
836
+ compose_node: {
837
+ $ref: string;
838
+ };
839
+ adversarial: {
840
+ $ref: string;
841
+ };
842
+ ensemble: {
843
+ $ref: string;
844
+ };
845
+ tournament: {
846
+ $ref: string;
847
+ };
848
+ consensus: {
849
+ $ref: string;
850
+ };
851
+ checkpoint: {
852
+ $ref: string;
853
+ };
854
+ suspend: {
855
+ $ref: string;
856
+ };
857
+ scope: {
858
+ $ref: string;
859
+ };
860
+ chain: {
861
+ $ref: string;
862
+ };
863
+ ref: {
864
+ type: string;
865
+ };
866
+ };
867
+ };
868
+ step_config: {
869
+ type: string;
870
+ required: string[];
871
+ properties: {
872
+ id: {
873
+ type: string;
874
+ };
875
+ fn: {
876
+ type: string;
877
+ };
878
+ };
879
+ };
880
+ sequence_config: {
881
+ type: string;
882
+ items: {
883
+ $ref: string;
884
+ };
885
+ };
886
+ parallel_config: {
887
+ type: string;
888
+ additionalProperties: {
889
+ $ref: string;
890
+ };
891
+ };
892
+ branch_config: {
893
+ type: string;
894
+ required: string[];
895
+ properties: {
896
+ when: {
897
+ type: string;
898
+ };
899
+ then: {
900
+ $ref: string;
901
+ };
902
+ otherwise: {
903
+ $ref: string;
904
+ };
905
+ };
906
+ };
907
+ map_config: {
908
+ type: string;
909
+ required: string[];
910
+ properties: {
911
+ items: {
912
+ type: string;
913
+ };
914
+ do: {
915
+ $ref: string;
916
+ };
917
+ concurrency: {
918
+ type: string;
919
+ minimum: number;
920
+ };
921
+ settle: {
922
+ type: string;
923
+ };
924
+ };
925
+ };
926
+ pipe_config: {
927
+ type: string;
928
+ required: string[];
929
+ properties: {
930
+ of: {
931
+ $ref: string;
932
+ };
933
+ fn: {
934
+ type: string;
935
+ };
936
+ };
937
+ };
938
+ retry_config: {
939
+ type: string;
940
+ required: string[];
941
+ properties: {
942
+ do: {
943
+ $ref: string;
944
+ };
945
+ max_attempts: {
946
+ type: string;
947
+ minimum: number;
948
+ };
949
+ backoff_ms: {
950
+ type: string;
951
+ minimum: number;
952
+ };
953
+ };
954
+ };
955
+ fallback_config: {
956
+ type: string;
957
+ required: string[];
958
+ properties: {
959
+ primary: {
960
+ $ref: string;
961
+ };
962
+ backup: {
963
+ $ref: string;
964
+ };
965
+ };
966
+ };
967
+ timeout_config: {
968
+ type: string;
969
+ required: string[];
970
+ properties: {
971
+ do: {
972
+ $ref: string;
973
+ };
974
+ ms: {
975
+ type: string;
976
+ minimum: number;
977
+ };
978
+ };
979
+ };
980
+ compose_node_config: {
981
+ type: string;
982
+ required: string[];
983
+ properties: {
984
+ name: {
985
+ type: string;
986
+ minLength: number;
987
+ };
988
+ do: {
989
+ $ref: string;
990
+ };
991
+ };
992
+ };
993
+ loop_config: {
994
+ type: string;
995
+ required: string[];
996
+ properties: {
997
+ name: {
998
+ type: string;
999
+ minLength: number;
1000
+ };
1001
+ init: {
1002
+ type: string;
1003
+ };
1004
+ body: {
1005
+ $ref: string;
1006
+ };
1007
+ guard: {
1008
+ $ref: string;
1009
+ };
1010
+ finish: {
1011
+ type: string;
1012
+ };
1013
+ max_rounds: {
1014
+ type: string;
1015
+ minimum: number;
1016
+ };
1017
+ };
1018
+ };
1019
+ adversarial_config: {
1020
+ type: string;
1021
+ required: string[];
1022
+ properties: {
1023
+ build: {
1024
+ $ref: string;
1025
+ };
1026
+ critique: {
1027
+ $ref: string;
1028
+ };
1029
+ accept: {
1030
+ type: string;
1031
+ };
1032
+ max_rounds: {
1033
+ type: string;
1034
+ minimum: number;
1035
+ };
1036
+ };
1037
+ };
1038
+ ensemble_config: {
1039
+ type: string;
1040
+ required: string[];
1041
+ properties: {
1042
+ members: {
1043
+ type: string;
1044
+ additionalProperties: {
1045
+ $ref: string;
1046
+ };
1047
+ };
1048
+ score: {
1049
+ type: string;
1050
+ };
1051
+ select: {
1052
+ type: string;
1053
+ enum: string[];
1054
+ };
1055
+ };
1056
+ };
1057
+ tournament_config: {
1058
+ type: string;
1059
+ required: string[];
1060
+ properties: {
1061
+ members: {
1062
+ type: string;
1063
+ additionalProperties: {
1064
+ $ref: string;
1065
+ };
1066
+ };
1067
+ compare: {
1068
+ type: string;
1069
+ };
1070
+ };
1071
+ };
1072
+ consensus_config: {
1073
+ type: string;
1074
+ required: string[];
1075
+ properties: {
1076
+ members: {
1077
+ type: string;
1078
+ additionalProperties: {
1079
+ $ref: string;
1080
+ };
1081
+ };
1082
+ agree: {
1083
+ type: string;
1084
+ };
1085
+ max_rounds: {
1086
+ type: string;
1087
+ minimum: number;
1088
+ };
1089
+ };
1090
+ };
1091
+ checkpoint_config: {
1092
+ type: string;
1093
+ required: string[];
1094
+ properties: {
1095
+ do: {
1096
+ $ref: string;
1097
+ };
1098
+ key: {
1099
+ type: string;
1100
+ };
1101
+ };
1102
+ };
1103
+ suspend_config: {
1104
+ type: string;
1105
+ required: string[];
1106
+ properties: {
1107
+ id: {
1108
+ type: string;
1109
+ };
1110
+ on: {
1111
+ type: string;
1112
+ };
1113
+ resume_schema: {
1114
+ type: string;
1115
+ };
1116
+ combine: {
1117
+ type: string;
1118
+ };
1119
+ deadline_ms: {
1120
+ type: string;
1121
+ };
1122
+ };
1123
+ };
1124
+ scope_config: {
1125
+ type: string;
1126
+ items: {
1127
+ $ref: string;
1128
+ };
1129
+ };
1130
+ scope_entry: {
1131
+ type: string;
1132
+ oneOf: ({
1133
+ type: string;
1134
+ required: string[];
1135
+ properties: {
1136
+ stash: {
1137
+ type: string;
1138
+ };
1139
+ do: {
1140
+ $ref: string;
1141
+ };
1142
+ use?: never;
1143
+ };
1144
+ } | {
1145
+ type: string;
1146
+ required: string[];
1147
+ properties: {
1148
+ stash?: never;
1149
+ use: {
1150
+ type: string;
1151
+ items: {
1152
+ type: string;
1153
+ };
1154
+ };
1155
+ do: {
1156
+ $ref: string;
1157
+ };
1158
+ };
1159
+ })[];
1160
+ };
1161
+ chain_config: {
1162
+ type: string;
1163
+ required: string[];
1164
+ properties: {
1165
+ input: {
1166
+ type: string;
1167
+ };
1168
+ steps: {
1169
+ type: string;
1170
+ items: {
1171
+ $ref: string;
1172
+ };
1173
+ };
1174
+ output: {
1175
+ type: string;
1176
+ };
1177
+ };
1178
+ };
1179
+ chain_entry: {
1180
+ type: string;
1181
+ oneOf: ({
1182
+ type: string;
1183
+ required: string[];
1184
+ properties: {
1185
+ step: {
1186
+ type: string;
1187
+ };
1188
+ fn: {
1189
+ type: string;
1190
+ };
1191
+ stage?: never;
1192
+ project?: never;
1193
+ };
1194
+ } | {
1195
+ type: string;
1196
+ required: string[];
1197
+ properties: {
1198
+ step?: never;
1199
+ fn?: never;
1200
+ stage: {
1201
+ type: string;
1202
+ };
1203
+ project: {
1204
+ type: string;
1205
+ };
1206
+ };
1207
+ })[];
1208
+ };
1209
+ };
1210
+ };
1211
+ //#endregion
1350
1212
  //#region src/engine/create_engine.d.ts
1351
1213
  /**
1352
1214
  * Validate `config` and construct an `Engine`.
@@ -1402,7 +1264,7 @@ export declare function claude_cli_reported(source: {
1402
1264
  //#endregion
1403
1265
  //#region src/engine/errors.d.ts
1404
1266
  export declare class rate_limit_error extends Error {
1405
- readonly kind: "rate_limit_error";
1267
+ readonly kind: 'rate_limit_error';
1406
1268
  readonly path?: ReadonlyArray<string>;
1407
1269
  readonly retry_after_ms: number | undefined;
1408
1270
  readonly attempts: number;
@@ -1414,7 +1276,7 @@ export declare class rate_limit_error extends Error {
1414
1276
  });
1415
1277
  }
1416
1278
  export declare class provider_error extends Error {
1417
- readonly kind: "provider_error";
1279
+ readonly kind: 'provider_error';
1418
1280
  readonly path?: ReadonlyArray<string>;
1419
1281
  readonly status: number | undefined;
1420
1282
  readonly body: string | undefined;
@@ -1426,14 +1288,14 @@ export declare class provider_error extends Error {
1426
1288
  });
1427
1289
  }
1428
1290
  export declare class schema_validation_error extends Error {
1429
- readonly kind: "schema_validation_error";
1291
+ readonly kind: 'schema_validation_error';
1430
1292
  readonly path?: ReadonlyArray<string>;
1431
1293
  readonly schema_issues: ReadonlyArray<SchemaIssue>;
1432
1294
  readonly raw_text: string;
1433
1295
  constructor(message: string, schema_issues: ReadonlyArray<SchemaIssue>, raw_text: string);
1434
1296
  }
1435
1297
  export declare class tool_error extends Error {
1436
- readonly kind: "tool_error";
1298
+ readonly kind: 'tool_error';
1437
1299
  readonly path?: ReadonlyArray<string>;
1438
1300
  readonly tool_name: string;
1439
1301
  readonly tool_call_id: string;
@@ -1445,7 +1307,7 @@ export declare class tool_error extends Error {
1445
1307
  });
1446
1308
  }
1447
1309
  export declare class tool_approval_denied_error extends Error {
1448
- readonly kind: "tool_approval_denied_error";
1310
+ readonly kind: 'tool_approval_denied_error';
1449
1311
  readonly path?: ReadonlyArray<string>;
1450
1312
  readonly tool_name: string;
1451
1313
  readonly step_index: number;
@@ -1457,7 +1319,7 @@ export declare class tool_approval_denied_error extends Error {
1457
1319
  });
1458
1320
  }
1459
1321
  export declare class model_required_error extends Error {
1460
- readonly kind: "model_required_error";
1322
+ readonly kind: 'model_required_error';
1461
1323
  readonly path?: ReadonlyArray<string>;
1462
1324
  constructor(message?: string);
1463
1325
  }
@@ -1467,7 +1329,7 @@ export declare class model_required_error extends Error {
1467
1329
  * the message alone rather than needing the engine config alongside it.
1468
1330
  */
1469
1331
  export declare class provider_not_configured_error extends Error {
1470
- readonly kind: "provider_not_configured_error";
1332
+ readonly kind: 'provider_not_configured_error';
1471
1333
  readonly path?: ReadonlyArray<string>;
1472
1334
  readonly provider: string;
1473
1335
  readonly configured: ReadonlyArray<string>;
@@ -1480,38 +1342,38 @@ export declare class provider_not_configured_error extends Error {
1480
1342
  * the engine can route to.
1481
1343
  */
1482
1344
  export declare class provider_required_error extends Error {
1483
- readonly kind: "provider_required_error";
1345
+ readonly kind: 'provider_required_error';
1484
1346
  readonly path?: ReadonlyArray<string>;
1485
1347
  readonly configured: ReadonlyArray<string>;
1486
1348
  constructor(configured: ReadonlyArray<string>);
1487
1349
  }
1488
1350
  export declare class engine_config_error extends Error {
1489
- readonly kind: "engine_config_error";
1351
+ readonly kind: 'engine_config_error';
1490
1352
  readonly path?: ReadonlyArray<string>;
1491
1353
  readonly provider: string | undefined;
1492
1354
  constructor(message: string, provider?: string);
1493
1355
  }
1494
1356
  export declare class on_chunk_error extends Error {
1495
- readonly kind: "on_chunk_error";
1357
+ readonly kind: 'on_chunk_error';
1496
1358
  readonly path?: ReadonlyArray<string>;
1497
1359
  readonly cause: unknown;
1498
1360
  constructor(message: string, cause: unknown);
1499
1361
  }
1500
1362
  export declare class provider_capability_error extends Error {
1501
- readonly kind: "provider_capability_error";
1363
+ readonly kind: 'provider_capability_error';
1502
1364
  readonly path?: ReadonlyArray<string>;
1503
1365
  readonly provider: string;
1504
1366
  readonly capability: string;
1505
1367
  constructor(provider: string, capability: string, detail?: string);
1506
1368
  }
1507
1369
  export declare class engine_disposed_error extends Error {
1508
- readonly kind: "engine_disposed_error";
1370
+ readonly kind: 'engine_disposed_error';
1509
1371
  readonly path?: ReadonlyArray<string>;
1510
1372
  constructor(message?: string);
1511
1373
  }
1512
1374
  type ClaudeCliErrorReason = 'binary_not_found' | 'auth_missing' | 'auth_expired' | 'api_key_missing' | 'startup_timeout' | 'stall_timeout' | 'no_result_event' | 'result_error' | 'subprocess_exit' | 'sandbox_unavailable' | 'engine_disposed' | 'parse_error';
1513
1375
  export declare class claude_cli_error extends Error {
1514
- readonly kind: "claude_cli_error";
1376
+ readonly kind: 'claude_cli_error';
1515
1377
  readonly path?: ReadonlyArray<string>;
1516
1378
  readonly reason: ClaudeCliErrorReason;
1517
1379
  readonly status: number | undefined;
@@ -1522,7 +1384,7 @@ export declare class claude_cli_error extends Error {
1522
1384
  });
1523
1385
  }
1524
1386
  export declare class provider_auth_error extends Error {
1525
- readonly kind: "provider_auth_error";
1387
+ readonly kind: 'provider_auth_error';
1526
1388
  readonly path?: ReadonlyArray<string>;
1527
1389
  readonly provider: string;
1528
1390
  readonly refresh_command: string | undefined;
@@ -1540,7 +1402,7 @@ export declare class provider_auth_error extends Error {
1540
1402
  * and then failed validation after its repair attempts ran out.
1541
1403
  */
1542
1404
  export declare class incomplete_generation_error extends Error {
1543
- readonly kind: "incomplete_generation_error";
1405
+ readonly kind: 'incomplete_generation_error';
1544
1406
  readonly path?: ReadonlyArray<string>;
1545
1407
  readonly finish_reason: FinishReason;
1546
1408
  readonly raw_text: string;
@@ -1873,7 +1735,7 @@ export declare function tournament<i, o, projected = TournamentResult<o>>(config
1873
1735
  * how a caller tells a benched flow's usage error apart from a case failure.
1874
1736
  */
1875
1737
  export declare class bench_suspend_error extends Error {
1876
- readonly kind: "bench_suspend_error";
1738
+ readonly kind: 'bench_suspend_error';
1877
1739
  readonly path?: ReadonlyArray<string>;
1878
1740
  readonly case_id: string;
1879
1741
  readonly suspend_id: string;
@@ -2153,5 +2015,5 @@ export declare function model_step<T = string>(cfg: Omit<ModelCallConfig<T>, 'pr
2153
2015
  */
2154
2016
  export declare function forward_standard_env(): Record<string, string>;
2155
2017
  //#endregion
2156
- export { type AdversarialBuildInput, type AdversarialConfig, type AdversarialCritiqueResult, type AdversarialResult, type AiSdkProviderAdapter, type AiSdkTelemetrySettings, type AnySchema, type AnyStep, type AssistantContentPart, type BenchCase, type BenchOptions, type BenchReport, type BenchSummary, type BracketRecord, type BranchConfig, type Candidate, type CaseResult, type Chain, type ChainOpen, type ChainStepOptions, type CheckpointConfig, type CheckpointEvent, type CheckpointStatus, type CheckpointStore, type ClaudeCliErrorReason, type ClaudeCliProviderReported, type CleanupFn, type ComposeConfig, type ConsensusConfig, type ConsensusResult, type CostBreakdown, type CustomTrajectoryEvent, type DescribeOptions, type DiagramOptions, type DurableConfig, type DurableOutcome, type DurableRunOptions, type DurableRunState, type DurableRuns, type DurableStore, type EffortLevel, type EffortTranslation, type EmitEvent, type Engine, type EngineConfig, type EngineDefaults, type EnsembleConfig, type EnsembleResult, type EnsembleStepConfig, type EnsembleStepResult, type ExternalAgentAdapter, type FallbackOptions, type FallbackOutcome, type FallbackProjection, type FinishReason, type FlowNode, type FlowValue, type GateConfig, type GenerateOptions, type GenerateResult, type GenerateTiming, type HistoryEntry, type ImproveBudget, type ImproveConfig, type ImproveResult, type ImproveRoundInput, type Improvement, type Judge, type JudgeArgs, type JudgeLlmConfig, type JudgeWithFn, type LearnConfig, type LearnInput, type LearnResult, type Lesson, type LoopConfig, type LoopGuardPredicate, type LoopGuardResult, type LoopOutcome, type MapConfig, type MapItemFailedEvent, type MapSettleConfig, type Message, type ModelCallConfig, type ModelCallInput, type NativeProviderAdapter, type ParallelOptions, type ParsedTrajectoryEvent, type PerCaseDelta, type PipeOptions, type PrepareStepContext, type PrepareStepHook, type PrepareStepResult, type Pricing, type PricingTable, type ProviderAdapter, type ProviderCapability, type ProviderConfigMap, type ProviderFactory, type ProviderInit, type ProviderTransport, type RawProviderUsage, type RegressionCompareOptions, type RegressionDelta, type RegressionReport, type ResolvedModel, type RetryConfig, type RetryFailureKind, type RetryOutcome, type RetryPolicy, type RetryProjection, type RunContext, type RunEndEvent, type RunEndStatus, type RunOptions, type RunOutcome, type SchemaIssue, type ScopeOptions, type ScopedCheckpointStore, type Score, type ScoredCandidate, type SequenceOptions, type Settled, type SettledError, type SpanEndEvent, type SpanStartEvent, type StashOptions, type Step, type StepFn, type StepInput, type StepKind, type StepMetadata, type StepOptions, type StepOutput, type StepRecord, type StepReplayedEvent, type StepTiming, type StreamChunk, type StreamingRunHandle, type SuspendConfig, type Throughput, type TimeoutOptions, type Tool, type ToolApprovalHandler, type ToolApprovalRequest, type ToolCallRecord, type ToolExecContext, type ToolSchema, type TournamentConfig, type TournamentResult, type TrajectoryEvent, type TrajectoryLogger, type TrajectoryParseResult, type TrajectorySource, type TurnRequest, type TurnResult, type UsageTotals, type UseOptions, type UserContentPart, default_normalize_usage, __json_default_export as flow_schema, is_checkpoint_event, is_custom_trajectory_event, is_emit_event, is_map_item_failed_event, is_run_end_event, is_span_end_event, is_span_start_event, is_step_replayed_event, parse_trajectory_event };
2018
+ export { type AdversarialBuildInput, type AdversarialConfig, type AdversarialCritiqueResult, type AdversarialResult, type AiSdkProviderAdapter, type AiSdkTelemetrySettings, type AnySchema, type AnyStep, type AssistantContentPart, type BenchCase, type BenchOptions, type BenchReport, type BenchSummary, type BracketRecord, type BranchConfig, type Candidate, type CaseResult, type Chain, type ChainOpen, type ChainStepOptions, type CheckpointConfig, type CheckpointEvent, type CheckpointStatus, type CheckpointStore, type ClaudeCliErrorReason, type ClaudeCliProviderReported, type CleanupFn, type ComposeConfig, type ConsensusConfig, type ConsensusResult, type CostBreakdown, type CustomTrajectoryEvent, type DescribeOptions, type DiagramOptions, type DurableConfig, type DurableOutcome, type DurableRunOptions, type DurableRunState, type DurableRuns, type DurableStore, type EffortLevel, type EffortTranslation, type EmitEvent, type Engine, type EngineConfig, type EngineDefaults, type EnsembleConfig, type EnsembleResult, type EnsembleStepConfig, type EnsembleStepResult, type ExternalAgentAdapter, type FallbackOptions, type FallbackOutcome, type FallbackProjection, type FinishReason, type FlowNode, type FlowValue, type GateConfig, type GenerateOptions, type GenerateResult, type GenerateTiming, type HistoryEntry, type ImproveBudget, type ImproveConfig, type ImproveResult, type ImproveRoundInput, type Improvement, type Judge, type JudgeArgs, type JudgeLlmConfig, type JudgeWithFn, type LearnConfig, type LearnInput, type LearnResult, type Lesson, type LoopConfig, type LoopGuardPredicate, type LoopGuardResult, type LoopOutcome, type MapConfig, type MapItemFailedEvent, type MapSettleConfig, type Message, type ModelCallConfig, type ModelCallInput, type NativeProviderAdapter, type ParallelOptions, type ParsedTrajectoryEvent, type PerCaseDelta, type PipeOptions, type PrepareStepContext, type PrepareStepHook, type PrepareStepResult, type Pricing, type PricingTable, type ProviderAdapter, type ProviderCapability, type ProviderConfigMap, type ProviderFactory, type ProviderInit, type ProviderTransport, type RawProviderUsage, type RegressionCompareOptions, type RegressionDelta, type RegressionReport, type ReplayHint, type ResolvedModel, type RetryConfig, type RetryFailureKind, type RetryOutcome, type RetryPolicy, type RetryProjection, type RunContext, type RunEndEvent, type RunEndStatus, type RunOptions, type RunOutcome, type SchemaIssue, type ScopeOptions, type ScopedCheckpointStore, type Score, type ScoredCandidate, type SequenceOptions, type Settled, type SettledError, type SpanEndEvent, type SpanStartEvent, type StashOptions, type Step, type StepFn, type StepInput, type StepKind, type StepMetadata, type StepOptions, type StepOutput, type StepRecord, type StepReplayedEvent, type StepTiming, type StreamChunk, type StreamingRunHandle, type SuspendConfig, type Throughput, type TimeoutOptions, type Tool, type ToolApprovalHandler, type ToolApprovalRequest, type ToolCallRecord, type ToolExecContext, type ToolSchema, type TournamentConfig, type TournamentResult, type TrajectoryEvent, type TrajectoryLogger, type TrajectoryParseResult, type TrajectorySource, type TurnRequest, type TurnResult, type UsageTotals, type UseOptions, type UserContentPart, default_normalize_usage, is_checkpoint_event, is_custom_trajectory_event, is_emit_event, is_map_item_failed_event, is_run_end_event, is_span_end_event, is_span_start_event, is_step_replayed_event, parse_trajectory_event };
2157
2019
  //# sourceMappingURL=index.d.ts.map