@walkeros/core 4.8.1 → 4.8.3-next-1793115089237

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/dev.d.mts CHANGED
@@ -1034,6 +1034,10 @@ declare const ConfigSchema$5: z.ZodObject<{
1034
1034
  INFO: "INFO";
1035
1035
  DEBUG: "DEBUG";
1036
1036
  }>]>>;
1037
+ format: z.ZodOptional<z.ZodEnum<{
1038
+ text: "text";
1039
+ json: "json";
1040
+ }>>;
1037
1041
  handler: z.ZodOptional<z.ZodAny>;
1038
1042
  }, z.core.$strip>>;
1039
1043
  setup: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
@@ -1176,6 +1180,10 @@ declare const PartialConfigSchema$3: z.ZodObject<{
1176
1180
  INFO: "INFO";
1177
1181
  DEBUG: "DEBUG";
1178
1182
  }>]>>;
1183
+ format: z.ZodOptional<z.ZodEnum<{
1184
+ text: "text";
1185
+ json: "json";
1186
+ }>>;
1179
1187
  handler: z.ZodOptional<z.ZodAny>;
1180
1188
  }, z.core.$strip>>>;
1181
1189
  setup: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
@@ -1326,6 +1334,10 @@ declare const ContextSchema: z.ZodObject<{
1326
1334
  INFO: "INFO";
1327
1335
  DEBUG: "DEBUG";
1328
1336
  }>]>>;
1337
+ format: z.ZodOptional<z.ZodEnum<{
1338
+ text: "text";
1339
+ json: "json";
1340
+ }>>;
1329
1341
  handler: z.ZodOptional<z.ZodAny>;
1330
1342
  }, z.core.$strip>>;
1331
1343
  setup: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
@@ -1470,6 +1482,10 @@ declare const PushContextSchema$1: z.ZodObject<{
1470
1482
  INFO: "INFO";
1471
1483
  DEBUG: "DEBUG";
1472
1484
  }>]>>;
1485
+ format: z.ZodOptional<z.ZodEnum<{
1486
+ text: "text";
1487
+ json: "json";
1488
+ }>>;
1473
1489
  handler: z.ZodOptional<z.ZodAny>;
1474
1490
  }, z.core.$strip>>;
1475
1491
  setup: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
@@ -1647,6 +1663,10 @@ declare const PushBatchContextSchema: z.ZodObject<{
1647
1663
  INFO: "INFO";
1648
1664
  DEBUG: "DEBUG";
1649
1665
  }>]>>;
1666
+ format: z.ZodOptional<z.ZodEnum<{
1667
+ text: "text";
1668
+ json: "json";
1669
+ }>>;
1650
1670
  handler: z.ZodOptional<z.ZodAny>;
1651
1671
  }, z.core.$strip>>;
1652
1672
  setup: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
@@ -2107,6 +2127,10 @@ declare const InstanceSchema$2: z.ZodObject<{
2107
2127
  INFO: "INFO";
2108
2128
  DEBUG: "DEBUG";
2109
2129
  }>]>>;
2130
+ format: z.ZodOptional<z.ZodEnum<{
2131
+ text: "text";
2132
+ json: "json";
2133
+ }>>;
2110
2134
  handler: z.ZodOptional<z.ZodAny>;
2111
2135
  }, z.core.$strip>>;
2112
2136
  setup: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
@@ -2361,6 +2385,10 @@ declare const InitSchema$1: z.ZodObject<{
2361
2385
  INFO: "INFO";
2362
2386
  DEBUG: "DEBUG";
2363
2387
  }>]>>;
2388
+ format: z.ZodOptional<z.ZodEnum<{
2389
+ text: "text";
2390
+ json: "json";
2391
+ }>>;
2364
2392
  handler: z.ZodOptional<z.ZodAny>;
2365
2393
  }, z.core.$strip>>;
2366
2394
  setup: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
@@ -2609,6 +2637,10 @@ declare const InitSchema$1: z.ZodObject<{
2609
2637
  INFO: "INFO";
2610
2638
  DEBUG: "DEBUG";
2611
2639
  }>]>>;
2640
+ format: z.ZodOptional<z.ZodEnum<{
2641
+ text: "text";
2642
+ json: "json";
2643
+ }>>;
2612
2644
  handler: z.ZodOptional<z.ZodAny>;
2613
2645
  }, z.core.$strip>>>;
2614
2646
  setup: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
@@ -2751,6 +2783,10 @@ declare const InitDestinationsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
2751
2783
  INFO: "INFO";
2752
2784
  DEBUG: "DEBUG";
2753
2785
  }>]>>;
2786
+ format: z.ZodOptional<z.ZodEnum<{
2787
+ text: "text";
2788
+ json: "json";
2789
+ }>>;
2754
2790
  handler: z.ZodOptional<z.ZodAny>;
2755
2791
  }, z.core.$strip>>;
2756
2792
  setup: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
@@ -2999,6 +3035,10 @@ declare const InitDestinationsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
2999
3035
  INFO: "INFO";
3000
3036
  DEBUG: "DEBUG";
3001
3037
  }>]>>;
3038
+ format: z.ZodOptional<z.ZodEnum<{
3039
+ text: "text";
3040
+ json: "json";
3041
+ }>>;
3002
3042
  handler: z.ZodOptional<z.ZodAny>;
3003
3043
  }, z.core.$strip>>>;
3004
3044
  setup: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
@@ -3140,6 +3180,10 @@ declare const DestinationsSchema$1: z.ZodRecord<z.ZodString, z.ZodObject<{
3140
3180
  INFO: "INFO";
3141
3181
  DEBUG: "DEBUG";
3142
3182
  }>]>>;
3183
+ format: z.ZodOptional<z.ZodEnum<{
3184
+ text: "text";
3185
+ json: "json";
3186
+ }>>;
3143
3187
  handler: z.ZodOptional<z.ZodAny>;
3144
3188
  }, z.core.$strip>>;
3145
3189
  setup: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
@@ -3551,9 +3595,17 @@ declare const ConfigSchema$4: z.ZodObject<{
3551
3595
  INFO: "INFO";
3552
3596
  DEBUG: "DEBUG";
3553
3597
  }>]>>;
3598
+ format: z.ZodOptional<z.ZodEnum<{
3599
+ text: "text";
3600
+ json: "json";
3601
+ }>>;
3554
3602
  handler: z.ZodOptional<z.ZodAny>;
3555
3603
  }, z.core.$strip>>;
3556
3604
  queueMax: z.ZodOptional<z.ZodNumber>;
3605
+ consentDenied: z.ZodOptional<z.ZodEnum<{
3606
+ queue: "queue";
3607
+ skip: "skip";
3608
+ }>>;
3557
3609
  name: z.ZodOptional<z.ZodString>;
3558
3610
  release: z.ZodOptional<z.ZodString>;
3559
3611
  next: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
@@ -3604,9 +3656,17 @@ declare const InitConfigSchema: z.ZodObject<{
3604
3656
  INFO: "INFO";
3605
3657
  DEBUG: "DEBUG";
3606
3658
  }>]>>;
3659
+ format: z.ZodOptional<z.ZodEnum<{
3660
+ text: "text";
3661
+ json: "json";
3662
+ }>>;
3607
3663
  handler: z.ZodOptional<z.ZodAny>;
3608
3664
  }, z.core.$strip>>>;
3609
3665
  queueMax: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
3666
+ consentDenied: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
3667
+ queue: "queue";
3668
+ skip: "skip";
3669
+ }>>>;
3610
3670
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3611
3671
  release: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3612
3672
  next: z.ZodOptional<z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
@@ -3790,9 +3850,17 @@ declare const InstanceSchema$1: z.ZodObject<{
3790
3850
  INFO: "INFO";
3791
3851
  DEBUG: "DEBUG";
3792
3852
  }>]>>;
3853
+ format: z.ZodOptional<z.ZodEnum<{
3854
+ text: "text";
3855
+ json: "json";
3856
+ }>>;
3793
3857
  handler: z.ZodOptional<z.ZodAny>;
3794
3858
  }, z.core.$strip>>;
3795
3859
  queueMax: z.ZodOptional<z.ZodNumber>;
3860
+ consentDenied: z.ZodOptional<z.ZodEnum<{
3861
+ queue: "queue";
3862
+ skip: "skip";
3863
+ }>>;
3796
3864
  name: z.ZodOptional<z.ZodString>;
3797
3865
  release: z.ZodOptional<z.ZodString>;
3798
3866
  next: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
@@ -4066,6 +4134,10 @@ declare const ConfigSchema$3: z.ZodObject<{
4066
4134
  INFO: "INFO";
4067
4135
  DEBUG: "DEBUG";
4068
4136
  }>]>>;
4137
+ format: z.ZodOptional<z.ZodEnum<{
4138
+ text: "text";
4139
+ json: "json";
4140
+ }>>;
4069
4141
  handler: z.ZodOptional<z.ZodAny>;
4070
4142
  }, z.core.$strip>>;
4071
4143
  async: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodBoolean>]>>;
@@ -4188,6 +4260,10 @@ declare const PartialConfigSchema$2: z.ZodObject<{
4188
4260
  INFO: "INFO";
4189
4261
  DEBUG: "DEBUG";
4190
4262
  }>]>>;
4263
+ format: z.ZodOptional<z.ZodEnum<{
4264
+ text: "text";
4265
+ json: "json";
4266
+ }>>;
4191
4267
  handler: z.ZodOptional<z.ZodAny>;
4192
4268
  }, z.core.$strip>>>;
4193
4269
  async: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodBoolean>]>>>;
@@ -4326,6 +4402,10 @@ declare const InstanceSchema: z.ZodObject<{
4326
4402
  INFO: "INFO";
4327
4403
  DEBUG: "DEBUG";
4328
4404
  }>]>>;
4405
+ format: z.ZodOptional<z.ZodEnum<{
4406
+ text: "text";
4407
+ json: "json";
4408
+ }>>;
4329
4409
  handler: z.ZodOptional<z.ZodAny>;
4330
4410
  }, z.core.$strip>>;
4331
4411
  async: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodBoolean>]>>;
@@ -4473,6 +4553,10 @@ declare const InitSourceSchema: z.ZodObject<{
4473
4553
  INFO: "INFO";
4474
4554
  DEBUG: "DEBUG";
4475
4555
  }>]>>;
4556
+ format: z.ZodOptional<z.ZodEnum<{
4557
+ text: "text";
4558
+ json: "json";
4559
+ }>>;
4476
4560
  handler: z.ZodOptional<z.ZodAny>;
4477
4561
  }, z.core.$strip>>>;
4478
4562
  async: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodBoolean>]>>>;
@@ -4620,6 +4704,10 @@ declare const InitSourcesSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
4620
4704
  INFO: "INFO";
4621
4705
  DEBUG: "DEBUG";
4622
4706
  }>]>>;
4707
+ format: z.ZodOptional<z.ZodEnum<{
4708
+ text: "text";
4709
+ json: "json";
4710
+ }>>;
4623
4711
  handler: z.ZodOptional<z.ZodAny>;
4624
4712
  }, z.core.$strip>>>;
4625
4713
  async: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodBoolean>]>>>;
@@ -4722,6 +4810,10 @@ declare const ConfigSchema$2: z.ZodObject<{
4722
4810
  INFO: "INFO";
4723
4811
  DEBUG: "DEBUG";
4724
4812
  }>]>>;
4813
+ format: z.ZodOptional<z.ZodEnum<{
4814
+ text: "text";
4815
+ json: "json";
4816
+ }>>;
4725
4817
  handler: z.ZodOptional<z.ZodAny>;
4726
4818
  }, z.core.$strip>>;
4727
4819
  before: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
@@ -4758,6 +4850,7 @@ declare const ConfigSchema$2: z.ZodObject<{
4758
4850
  }, z.core.$strip>>]>>;
4759
4851
  init: z.ZodOptional<z.ZodBoolean>;
4760
4852
  disabled: z.ZodOptional<z.ZodBoolean>;
4853
+ timeout: z.ZodOptional<z.ZodNumber>;
4761
4854
  mock: z.ZodOptional<z.ZodUnknown>;
4762
4855
  chainMocks: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4763
4856
  mapping: z.ZodOptional<z.ZodObject<{
@@ -4846,6 +4939,10 @@ declare const PartialConfigSchema$1: z.ZodObject<{
4846
4939
  INFO: "INFO";
4847
4940
  DEBUG: "DEBUG";
4848
4941
  }>]>>;
4942
+ format: z.ZodOptional<z.ZodEnum<{
4943
+ text: "text";
4944
+ json: "json";
4945
+ }>>;
4849
4946
  handler: z.ZodOptional<z.ZodAny>;
4850
4947
  }, z.core.$strip>>>;
4851
4948
  before: z.ZodOptional<z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>>;
@@ -4882,6 +4979,7 @@ declare const PartialConfigSchema$1: z.ZodObject<{
4882
4979
  }, z.core.$strip>>]>>>;
4883
4980
  init: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
4884
4981
  disabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
4982
+ timeout: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
4885
4983
  mock: z.ZodOptional<z.ZodOptional<z.ZodUnknown>>;
4886
4984
  chainMocks: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
4887
4985
  mapping: z.ZodOptional<z.ZodOptional<z.ZodObject<{
@@ -4991,6 +5089,10 @@ declare const ConfigSchema$1: z.ZodObject<{
4991
5089
  INFO: "INFO";
4992
5090
  DEBUG: "DEBUG";
4993
5091
  }>]>>;
5092
+ format: z.ZodOptional<z.ZodEnum<{
5093
+ text: "text";
5094
+ json: "json";
5095
+ }>>;
4994
5096
  handler: z.ZodOptional<z.ZodAny>;
4995
5097
  }, z.core.$strip>>;
4996
5098
  setup: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
@@ -5011,6 +5113,10 @@ declare const PartialConfigSchema: z.ZodObject<{
5011
5113
  INFO: "INFO";
5012
5114
  DEBUG: "DEBUG";
5013
5115
  }>]>>;
5116
+ format: z.ZodOptional<z.ZodEnum<{
5117
+ text: "text";
5118
+ json: "json";
5119
+ }>>;
5014
5120
  handler: z.ZodOptional<z.ZodAny>;
5015
5121
  }, z.core.$strip>>>;
5016
5122
  setup: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
@@ -5087,8 +5193,10 @@ declare const BundleSchema: z.ZodObject<{
5087
5193
  * @remarks
5088
5194
  * Object-only inline code block. Enables custom sources, transformers,
5089
5195
  * destinations, and stores without npm packages. The `push` function is
5090
- * required; `type` and `init` are optional. To select a named export from
5091
- * a package, use the step's `import` field instead.
5196
+ * required; `type` and the other step functions (`STEP_FUNCTION_KEYS`:
5197
+ * `init`, `pushBatch`, `on`, `destroy`) are optional. Closed: any other key
5198
+ * is an error, because the bundler emits only these. To select a named
5199
+ * export from a package, use the step's `import` field instead.
5092
5200
  *
5093
5201
  * @example
5094
5202
  * ```json
@@ -5104,7 +5212,10 @@ declare const CodeSchema$1: z.ZodObject<{
5104
5212
  push: z.ZodString;
5105
5213
  type: z.ZodOptional<z.ZodString>;
5106
5214
  init: z.ZodOptional<z.ZodString>;
5107
- }, z.core.$strip>;
5215
+ pushBatch: z.ZodOptional<z.ZodString>;
5216
+ on: z.ZodOptional<z.ZodString>;
5217
+ destroy: z.ZodOptional<z.ZodString>;
5218
+ }, z.core.$strict>;
5108
5219
  /**
5109
5220
  * Trigger descriptor - source trigger metadata for step examples.
5110
5221
  */
@@ -5132,6 +5243,22 @@ declare const StepExampleSchema: z.ZodObject<{
5132
5243
  user: "user";
5133
5244
  run: "run";
5134
5245
  }>>;
5246
+ outcome: z.ZodOptional<z.ZodObject<{
5247
+ status: z.ZodEnum<{
5248
+ queued: "queued";
5249
+ failed: "failed";
5250
+ }>;
5251
+ code: z.ZodString;
5252
+ retryable: z.ZodOptional<z.ZodBoolean>;
5253
+ }, z.core.$strip>>;
5254
+ respond: z.ZodOptional<z.ZodObject<{
5255
+ status: z.ZodOptional<z.ZodNumber>;
5256
+ body: z.ZodOptional<z.ZodUnknown>;
5257
+ error: z.ZodOptional<z.ZodEnum<{
5258
+ timeout: "timeout";
5259
+ network: "network";
5260
+ }>>;
5261
+ }, z.core.$strip>>;
5135
5262
  }, z.core.$strip>;
5136
5263
  /**
5137
5264
  * Step examples record - keyed by scenario name.
@@ -5153,6 +5280,22 @@ declare const StepExamplesSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
5153
5280
  user: "user";
5154
5281
  run: "run";
5155
5282
  }>>;
5283
+ outcome: z.ZodOptional<z.ZodObject<{
5284
+ status: z.ZodEnum<{
5285
+ queued: "queued";
5286
+ failed: "failed";
5287
+ }>;
5288
+ code: z.ZodString;
5289
+ retryable: z.ZodOptional<z.ZodBoolean>;
5290
+ }, z.core.$strip>>;
5291
+ respond: z.ZodOptional<z.ZodObject<{
5292
+ status: z.ZodOptional<z.ZodNumber>;
5293
+ body: z.ZodOptional<z.ZodUnknown>;
5294
+ error: z.ZodOptional<z.ZodEnum<{
5295
+ timeout: "timeout";
5296
+ network: "network";
5297
+ }>>;
5298
+ }, z.core.$strip>>;
5156
5299
  }, z.core.$strip>>;
5157
5300
  /**
5158
5301
  * JSON Schema fragment - structural JSON Schema object.
@@ -5176,7 +5319,10 @@ declare const SourceSchema: z.ZodObject<{
5176
5319
  push: z.ZodString;
5177
5320
  type: z.ZodOptional<z.ZodString>;
5178
5321
  init: z.ZodOptional<z.ZodString>;
5179
- }, z.core.$strip>>;
5322
+ pushBatch: z.ZodOptional<z.ZodString>;
5323
+ on: z.ZodOptional<z.ZodString>;
5324
+ destroy: z.ZodOptional<z.ZodString>;
5325
+ }, z.core.$strict>>;
5180
5326
  import: z.ZodOptional<z.ZodString>;
5181
5327
  config: z.ZodOptional<z.ZodObject<{
5182
5328
  setup: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
@@ -5222,6 +5368,22 @@ declare const SourceSchema: z.ZodObject<{
5222
5368
  user: "user";
5223
5369
  run: "run";
5224
5370
  }>>;
5371
+ outcome: z.ZodOptional<z.ZodObject<{
5372
+ status: z.ZodEnum<{
5373
+ queued: "queued";
5374
+ failed: "failed";
5375
+ }>;
5376
+ code: z.ZodString;
5377
+ retryable: z.ZodOptional<z.ZodBoolean>;
5378
+ }, z.core.$strip>>;
5379
+ respond: z.ZodOptional<z.ZodObject<{
5380
+ status: z.ZodOptional<z.ZodNumber>;
5381
+ body: z.ZodOptional<z.ZodUnknown>;
5382
+ error: z.ZodOptional<z.ZodEnum<{
5383
+ timeout: "timeout";
5384
+ network: "network";
5385
+ }>>;
5386
+ }, z.core.$strip>>;
5225
5387
  }, z.core.$strip>>>;
5226
5388
  cache: z.ZodOptional<z.ZodObject<{
5227
5389
  stop: z.ZodOptional<z.ZodBoolean>;
@@ -5263,7 +5425,10 @@ declare const TransformerSchema: z.ZodObject<{
5263
5425
  push: z.ZodString;
5264
5426
  type: z.ZodOptional<z.ZodString>;
5265
5427
  init: z.ZodOptional<z.ZodString>;
5266
- }, z.core.$strip>>;
5428
+ pushBatch: z.ZodOptional<z.ZodString>;
5429
+ on: z.ZodOptional<z.ZodString>;
5430
+ destroy: z.ZodOptional<z.ZodString>;
5431
+ }, z.core.$strict>>;
5267
5432
  import: z.ZodOptional<z.ZodString>;
5268
5433
  config: z.ZodOptional<z.ZodUnknown>;
5269
5434
  env: z.ZodOptional<z.ZodUnknown>;
@@ -5287,6 +5452,22 @@ declare const TransformerSchema: z.ZodObject<{
5287
5452
  user: "user";
5288
5453
  run: "run";
5289
5454
  }>>;
5455
+ outcome: z.ZodOptional<z.ZodObject<{
5456
+ status: z.ZodEnum<{
5457
+ queued: "queued";
5458
+ failed: "failed";
5459
+ }>;
5460
+ code: z.ZodString;
5461
+ retryable: z.ZodOptional<z.ZodBoolean>;
5462
+ }, z.core.$strip>>;
5463
+ respond: z.ZodOptional<z.ZodObject<{
5464
+ status: z.ZodOptional<z.ZodNumber>;
5465
+ body: z.ZodOptional<z.ZodUnknown>;
5466
+ error: z.ZodOptional<z.ZodEnum<{
5467
+ timeout: "timeout";
5468
+ network: "network";
5469
+ }>>;
5470
+ }, z.core.$strip>>;
5290
5471
  }, z.core.$strip>>>;
5291
5472
  cache: z.ZodOptional<z.ZodObject<{
5292
5473
  stop: z.ZodOptional<z.ZodBoolean>;
@@ -5329,7 +5510,10 @@ declare const DestinationSchema: z.ZodObject<{
5329
5510
  push: z.ZodString;
5330
5511
  type: z.ZodOptional<z.ZodString>;
5331
5512
  init: z.ZodOptional<z.ZodString>;
5332
- }, z.core.$strip>>;
5513
+ pushBatch: z.ZodOptional<z.ZodString>;
5514
+ on: z.ZodOptional<z.ZodString>;
5515
+ destroy: z.ZodOptional<z.ZodString>;
5516
+ }, z.core.$strict>>;
5333
5517
  import: z.ZodOptional<z.ZodString>;
5334
5518
  config: z.ZodOptional<z.ZodObject<{
5335
5519
  setup: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
@@ -5355,6 +5539,22 @@ declare const DestinationSchema: z.ZodObject<{
5355
5539
  user: "user";
5356
5540
  run: "run";
5357
5541
  }>>;
5542
+ outcome: z.ZodOptional<z.ZodObject<{
5543
+ status: z.ZodEnum<{
5544
+ queued: "queued";
5545
+ failed: "failed";
5546
+ }>;
5547
+ code: z.ZodString;
5548
+ retryable: z.ZodOptional<z.ZodBoolean>;
5549
+ }, z.core.$strip>>;
5550
+ respond: z.ZodOptional<z.ZodObject<{
5551
+ status: z.ZodOptional<z.ZodNumber>;
5552
+ body: z.ZodOptional<z.ZodUnknown>;
5553
+ error: z.ZodOptional<z.ZodEnum<{
5554
+ timeout: "timeout";
5555
+ network: "network";
5556
+ }>>;
5557
+ }, z.core.$strip>>;
5358
5558
  }, z.core.$strip>>>;
5359
5559
  cache: z.ZodOptional<z.ZodObject<{
5360
5560
  stop: z.ZodOptional<z.ZodBoolean>;
@@ -5400,7 +5600,10 @@ declare const StoreSchema: z.ZodObject<{
5400
5600
  push: z.ZodString;
5401
5601
  type: z.ZodOptional<z.ZodString>;
5402
5602
  init: z.ZodOptional<z.ZodString>;
5403
- }, z.core.$strip>>;
5603
+ pushBatch: z.ZodOptional<z.ZodString>;
5604
+ on: z.ZodOptional<z.ZodString>;
5605
+ destroy: z.ZodOptional<z.ZodString>;
5606
+ }, z.core.$strict>>;
5404
5607
  import: z.ZodOptional<z.ZodString>;
5405
5608
  config: z.ZodOptional<z.ZodObject<{
5406
5609
  setup: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
@@ -5432,6 +5635,22 @@ declare const StoreSchema: z.ZodObject<{
5432
5635
  user: "user";
5433
5636
  run: "run";
5434
5637
  }>>;
5638
+ outcome: z.ZodOptional<z.ZodObject<{
5639
+ status: z.ZodEnum<{
5640
+ queued: "queued";
5641
+ failed: "failed";
5642
+ }>;
5643
+ code: z.ZodString;
5644
+ retryable: z.ZodOptional<z.ZodBoolean>;
5645
+ }, z.core.$strip>>;
5646
+ respond: z.ZodOptional<z.ZodObject<{
5647
+ status: z.ZodOptional<z.ZodNumber>;
5648
+ body: z.ZodOptional<z.ZodUnknown>;
5649
+ error: z.ZodOptional<z.ZodEnum<{
5650
+ timeout: "timeout";
5651
+ network: "network";
5652
+ }>>;
5653
+ }, z.core.$strip>>;
5435
5654
  }, z.core.$strip>>>;
5436
5655
  }, z.core.$strip>;
5437
5656
  /**
@@ -5456,7 +5675,7 @@ declare const ContractRuleSchema: z.ZodObject<{
5456
5675
  description: z.ZodOptional<z.ZodString>;
5457
5676
  events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
5458
5677
  schema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5459
- }, z.core.$strip>;
5678
+ }, z.core.$strict>;
5460
5679
  /**
5461
5680
  * Named contract map.
5462
5681
  */
@@ -5466,7 +5685,7 @@ declare const ContractSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
5466
5685
  description: z.ZodOptional<z.ZodString>;
5467
5686
  events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
5468
5687
  schema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5469
- }, z.core.$strip>>;
5688
+ }, z.core.$strict>>;
5470
5689
  /**
5471
5690
  * Observe schema (Flow.Observe).
5472
5691
  *
@@ -5566,7 +5785,10 @@ declare const FlowSchema: z.ZodObject<{
5566
5785
  push: z.ZodString;
5567
5786
  type: z.ZodOptional<z.ZodString>;
5568
5787
  init: z.ZodOptional<z.ZodString>;
5569
- }, z.core.$strip>>;
5788
+ pushBatch: z.ZodOptional<z.ZodString>;
5789
+ on: z.ZodOptional<z.ZodString>;
5790
+ destroy: z.ZodOptional<z.ZodString>;
5791
+ }, z.core.$strict>>;
5570
5792
  import: z.ZodOptional<z.ZodString>;
5571
5793
  config: z.ZodOptional<z.ZodObject<{
5572
5794
  setup: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
@@ -5612,6 +5834,22 @@ declare const FlowSchema: z.ZodObject<{
5612
5834
  user: "user";
5613
5835
  run: "run";
5614
5836
  }>>;
5837
+ outcome: z.ZodOptional<z.ZodObject<{
5838
+ status: z.ZodEnum<{
5839
+ queued: "queued";
5840
+ failed: "failed";
5841
+ }>;
5842
+ code: z.ZodString;
5843
+ retryable: z.ZodOptional<z.ZodBoolean>;
5844
+ }, z.core.$strip>>;
5845
+ respond: z.ZodOptional<z.ZodObject<{
5846
+ status: z.ZodOptional<z.ZodNumber>;
5847
+ body: z.ZodOptional<z.ZodUnknown>;
5848
+ error: z.ZodOptional<z.ZodEnum<{
5849
+ timeout: "timeout";
5850
+ network: "network";
5851
+ }>>;
5852
+ }, z.core.$strip>>;
5615
5853
  }, z.core.$strip>>>;
5616
5854
  cache: z.ZodOptional<z.ZodObject<{
5617
5855
  stop: z.ZodOptional<z.ZodBoolean>;
@@ -5650,7 +5888,10 @@ declare const FlowSchema: z.ZodObject<{
5650
5888
  push: z.ZodString;
5651
5889
  type: z.ZodOptional<z.ZodString>;
5652
5890
  init: z.ZodOptional<z.ZodString>;
5653
- }, z.core.$strip>>;
5891
+ pushBatch: z.ZodOptional<z.ZodString>;
5892
+ on: z.ZodOptional<z.ZodString>;
5893
+ destroy: z.ZodOptional<z.ZodString>;
5894
+ }, z.core.$strict>>;
5654
5895
  import: z.ZodOptional<z.ZodString>;
5655
5896
  config: z.ZodOptional<z.ZodObject<{
5656
5897
  setup: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
@@ -5676,6 +5917,22 @@ declare const FlowSchema: z.ZodObject<{
5676
5917
  user: "user";
5677
5918
  run: "run";
5678
5919
  }>>;
5920
+ outcome: z.ZodOptional<z.ZodObject<{
5921
+ status: z.ZodEnum<{
5922
+ queued: "queued";
5923
+ failed: "failed";
5924
+ }>;
5925
+ code: z.ZodString;
5926
+ retryable: z.ZodOptional<z.ZodBoolean>;
5927
+ }, z.core.$strip>>;
5928
+ respond: z.ZodOptional<z.ZodObject<{
5929
+ status: z.ZodOptional<z.ZodNumber>;
5930
+ body: z.ZodOptional<z.ZodUnknown>;
5931
+ error: z.ZodOptional<z.ZodEnum<{
5932
+ timeout: "timeout";
5933
+ network: "network";
5934
+ }>>;
5935
+ }, z.core.$strip>>;
5679
5936
  }, z.core.$strip>>>;
5680
5937
  cache: z.ZodOptional<z.ZodObject<{
5681
5938
  stop: z.ZodOptional<z.ZodBoolean>;
@@ -5714,7 +5971,10 @@ declare const FlowSchema: z.ZodObject<{
5714
5971
  push: z.ZodString;
5715
5972
  type: z.ZodOptional<z.ZodString>;
5716
5973
  init: z.ZodOptional<z.ZodString>;
5717
- }, z.core.$strip>>;
5974
+ pushBatch: z.ZodOptional<z.ZodString>;
5975
+ on: z.ZodOptional<z.ZodString>;
5976
+ destroy: z.ZodOptional<z.ZodString>;
5977
+ }, z.core.$strict>>;
5718
5978
  import: z.ZodOptional<z.ZodString>;
5719
5979
  config: z.ZodOptional<z.ZodUnknown>;
5720
5980
  env: z.ZodOptional<z.ZodUnknown>;
@@ -5738,6 +5998,22 @@ declare const FlowSchema: z.ZodObject<{
5738
5998
  user: "user";
5739
5999
  run: "run";
5740
6000
  }>>;
6001
+ outcome: z.ZodOptional<z.ZodObject<{
6002
+ status: z.ZodEnum<{
6003
+ queued: "queued";
6004
+ failed: "failed";
6005
+ }>;
6006
+ code: z.ZodString;
6007
+ retryable: z.ZodOptional<z.ZodBoolean>;
6008
+ }, z.core.$strip>>;
6009
+ respond: z.ZodOptional<z.ZodObject<{
6010
+ status: z.ZodOptional<z.ZodNumber>;
6011
+ body: z.ZodOptional<z.ZodUnknown>;
6012
+ error: z.ZodOptional<z.ZodEnum<{
6013
+ timeout: "timeout";
6014
+ network: "network";
6015
+ }>>;
6016
+ }, z.core.$strip>>;
5741
6017
  }, z.core.$strip>>>;
5742
6018
  cache: z.ZodOptional<z.ZodObject<{
5743
6019
  stop: z.ZodOptional<z.ZodBoolean>;
@@ -5777,7 +6053,10 @@ declare const FlowSchema: z.ZodObject<{
5777
6053
  push: z.ZodString;
5778
6054
  type: z.ZodOptional<z.ZodString>;
5779
6055
  init: z.ZodOptional<z.ZodString>;
5780
- }, z.core.$strip>>;
6056
+ pushBatch: z.ZodOptional<z.ZodString>;
6057
+ on: z.ZodOptional<z.ZodString>;
6058
+ destroy: z.ZodOptional<z.ZodString>;
6059
+ }, z.core.$strict>>;
5781
6060
  import: z.ZodOptional<z.ZodString>;
5782
6061
  config: z.ZodOptional<z.ZodObject<{
5783
6062
  setup: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
@@ -5809,6 +6088,22 @@ declare const FlowSchema: z.ZodObject<{
5809
6088
  user: "user";
5810
6089
  run: "run";
5811
6090
  }>>;
6091
+ outcome: z.ZodOptional<z.ZodObject<{
6092
+ status: z.ZodEnum<{
6093
+ queued: "queued";
6094
+ failed: "failed";
6095
+ }>;
6096
+ code: z.ZodString;
6097
+ retryable: z.ZodOptional<z.ZodBoolean>;
6098
+ }, z.core.$strip>>;
6099
+ respond: z.ZodOptional<z.ZodObject<{
6100
+ status: z.ZodOptional<z.ZodNumber>;
6101
+ body: z.ZodOptional<z.ZodUnknown>;
6102
+ error: z.ZodOptional<z.ZodEnum<{
6103
+ timeout: "timeout";
6104
+ network: "network";
6105
+ }>>;
6106
+ }, z.core.$strip>>;
5812
6107
  }, z.core.$strip>>>;
5813
6108
  }, z.core.$strip>>>;
5814
6109
  collector: z.ZodOptional<z.ZodObject<{
@@ -5834,7 +6129,7 @@ declare const JsonSchema$1: z.ZodObject<{
5834
6129
  description: z.ZodOptional<z.ZodString>;
5835
6130
  events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
5836
6131
  schema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5837
- }, z.core.$strip>>>;
6132
+ }, z.core.$strict>>>;
5838
6133
  flows: z.ZodRecord<z.ZodString, z.ZodObject<{
5839
6134
  config: z.ZodOptional<z.ZodObject<{
5840
6135
  platform: z.ZodEnum<{
@@ -5872,7 +6167,10 @@ declare const JsonSchema$1: z.ZodObject<{
5872
6167
  push: z.ZodString;
5873
6168
  type: z.ZodOptional<z.ZodString>;
5874
6169
  init: z.ZodOptional<z.ZodString>;
5875
- }, z.core.$strip>>;
6170
+ pushBatch: z.ZodOptional<z.ZodString>;
6171
+ on: z.ZodOptional<z.ZodString>;
6172
+ destroy: z.ZodOptional<z.ZodString>;
6173
+ }, z.core.$strict>>;
5876
6174
  import: z.ZodOptional<z.ZodString>;
5877
6175
  config: z.ZodOptional<z.ZodObject<{
5878
6176
  setup: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
@@ -5918,6 +6216,22 @@ declare const JsonSchema$1: z.ZodObject<{
5918
6216
  user: "user";
5919
6217
  run: "run";
5920
6218
  }>>;
6219
+ outcome: z.ZodOptional<z.ZodObject<{
6220
+ status: z.ZodEnum<{
6221
+ queued: "queued";
6222
+ failed: "failed";
6223
+ }>;
6224
+ code: z.ZodString;
6225
+ retryable: z.ZodOptional<z.ZodBoolean>;
6226
+ }, z.core.$strip>>;
6227
+ respond: z.ZodOptional<z.ZodObject<{
6228
+ status: z.ZodOptional<z.ZodNumber>;
6229
+ body: z.ZodOptional<z.ZodUnknown>;
6230
+ error: z.ZodOptional<z.ZodEnum<{
6231
+ timeout: "timeout";
6232
+ network: "network";
6233
+ }>>;
6234
+ }, z.core.$strip>>;
5921
6235
  }, z.core.$strip>>>;
5922
6236
  cache: z.ZodOptional<z.ZodObject<{
5923
6237
  stop: z.ZodOptional<z.ZodBoolean>;
@@ -5956,7 +6270,10 @@ declare const JsonSchema$1: z.ZodObject<{
5956
6270
  push: z.ZodString;
5957
6271
  type: z.ZodOptional<z.ZodString>;
5958
6272
  init: z.ZodOptional<z.ZodString>;
5959
- }, z.core.$strip>>;
6273
+ pushBatch: z.ZodOptional<z.ZodString>;
6274
+ on: z.ZodOptional<z.ZodString>;
6275
+ destroy: z.ZodOptional<z.ZodString>;
6276
+ }, z.core.$strict>>;
5960
6277
  import: z.ZodOptional<z.ZodString>;
5961
6278
  config: z.ZodOptional<z.ZodObject<{
5962
6279
  setup: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
@@ -5982,6 +6299,22 @@ declare const JsonSchema$1: z.ZodObject<{
5982
6299
  user: "user";
5983
6300
  run: "run";
5984
6301
  }>>;
6302
+ outcome: z.ZodOptional<z.ZodObject<{
6303
+ status: z.ZodEnum<{
6304
+ queued: "queued";
6305
+ failed: "failed";
6306
+ }>;
6307
+ code: z.ZodString;
6308
+ retryable: z.ZodOptional<z.ZodBoolean>;
6309
+ }, z.core.$strip>>;
6310
+ respond: z.ZodOptional<z.ZodObject<{
6311
+ status: z.ZodOptional<z.ZodNumber>;
6312
+ body: z.ZodOptional<z.ZodUnknown>;
6313
+ error: z.ZodOptional<z.ZodEnum<{
6314
+ timeout: "timeout";
6315
+ network: "network";
6316
+ }>>;
6317
+ }, z.core.$strip>>;
5985
6318
  }, z.core.$strip>>>;
5986
6319
  cache: z.ZodOptional<z.ZodObject<{
5987
6320
  stop: z.ZodOptional<z.ZodBoolean>;
@@ -6020,7 +6353,10 @@ declare const JsonSchema$1: z.ZodObject<{
6020
6353
  push: z.ZodString;
6021
6354
  type: z.ZodOptional<z.ZodString>;
6022
6355
  init: z.ZodOptional<z.ZodString>;
6023
- }, z.core.$strip>>;
6356
+ pushBatch: z.ZodOptional<z.ZodString>;
6357
+ on: z.ZodOptional<z.ZodString>;
6358
+ destroy: z.ZodOptional<z.ZodString>;
6359
+ }, z.core.$strict>>;
6024
6360
  import: z.ZodOptional<z.ZodString>;
6025
6361
  config: z.ZodOptional<z.ZodUnknown>;
6026
6362
  env: z.ZodOptional<z.ZodUnknown>;
@@ -6044,6 +6380,22 @@ declare const JsonSchema$1: z.ZodObject<{
6044
6380
  user: "user";
6045
6381
  run: "run";
6046
6382
  }>>;
6383
+ outcome: z.ZodOptional<z.ZodObject<{
6384
+ status: z.ZodEnum<{
6385
+ queued: "queued";
6386
+ failed: "failed";
6387
+ }>;
6388
+ code: z.ZodString;
6389
+ retryable: z.ZodOptional<z.ZodBoolean>;
6390
+ }, z.core.$strip>>;
6391
+ respond: z.ZodOptional<z.ZodObject<{
6392
+ status: z.ZodOptional<z.ZodNumber>;
6393
+ body: z.ZodOptional<z.ZodUnknown>;
6394
+ error: z.ZodOptional<z.ZodEnum<{
6395
+ timeout: "timeout";
6396
+ network: "network";
6397
+ }>>;
6398
+ }, z.core.$strip>>;
6047
6399
  }, z.core.$strip>>>;
6048
6400
  cache: z.ZodOptional<z.ZodObject<{
6049
6401
  stop: z.ZodOptional<z.ZodBoolean>;
@@ -6083,7 +6435,10 @@ declare const JsonSchema$1: z.ZodObject<{
6083
6435
  push: z.ZodString;
6084
6436
  type: z.ZodOptional<z.ZodString>;
6085
6437
  init: z.ZodOptional<z.ZodString>;
6086
- }, z.core.$strip>>;
6438
+ pushBatch: z.ZodOptional<z.ZodString>;
6439
+ on: z.ZodOptional<z.ZodString>;
6440
+ destroy: z.ZodOptional<z.ZodString>;
6441
+ }, z.core.$strict>>;
6087
6442
  import: z.ZodOptional<z.ZodString>;
6088
6443
  config: z.ZodOptional<z.ZodObject<{
6089
6444
  setup: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
@@ -6115,6 +6470,22 @@ declare const JsonSchema$1: z.ZodObject<{
6115
6470
  user: "user";
6116
6471
  run: "run";
6117
6472
  }>>;
6473
+ outcome: z.ZodOptional<z.ZodObject<{
6474
+ status: z.ZodEnum<{
6475
+ queued: "queued";
6476
+ failed: "failed";
6477
+ }>;
6478
+ code: z.ZodString;
6479
+ retryable: z.ZodOptional<z.ZodBoolean>;
6480
+ }, z.core.$strip>>;
6481
+ respond: z.ZodOptional<z.ZodObject<{
6482
+ status: z.ZodOptional<z.ZodNumber>;
6483
+ body: z.ZodOptional<z.ZodUnknown>;
6484
+ error: z.ZodOptional<z.ZodEnum<{
6485
+ timeout: "timeout";
6486
+ network: "network";
6487
+ }>>;
6488
+ }, z.core.$strip>>;
6118
6489
  }, z.core.$strip>>>;
6119
6490
  }, z.core.$strip>>>;
6120
6491
  collector: z.ZodOptional<z.ZodObject<{
@@ -6180,6 +6551,9 @@ declare function safeParseConfig(data: unknown): z.ZodSafeParseResult<{
6180
6551
  push: string;
6181
6552
  type?: string | undefined;
6182
6553
  init?: string | undefined;
6554
+ pushBatch?: string | undefined;
6555
+ on?: string | undefined;
6556
+ destroy?: string | undefined;
6183
6557
  } | undefined;
6184
6558
  import?: string | undefined;
6185
6559
  config?: {
@@ -6216,6 +6590,16 @@ declare function safeParseConfig(data: unknown): z.ZodSafeParseResult<{
6216
6590
  mapping?: unknown;
6217
6591
  out?: unknown;
6218
6592
  command?: "consent" | "config" | "user" | "run" | undefined;
6593
+ outcome?: {
6594
+ status: "queued" | "failed";
6595
+ code: string;
6596
+ retryable?: boolean | undefined;
6597
+ } | undefined;
6598
+ respond?: {
6599
+ status?: number | undefined;
6600
+ body?: unknown;
6601
+ error?: "timeout" | "network" | undefined;
6602
+ } | undefined;
6219
6603
  }> | undefined;
6220
6604
  cache?: {
6221
6605
  rules: {
@@ -6248,6 +6632,9 @@ declare function safeParseConfig(data: unknown): z.ZodSafeParseResult<{
6248
6632
  push: string;
6249
6633
  type?: string | undefined;
6250
6634
  init?: string | undefined;
6635
+ pushBatch?: string | undefined;
6636
+ on?: string | undefined;
6637
+ destroy?: string | undefined;
6251
6638
  } | undefined;
6252
6639
  import?: string | undefined;
6253
6640
  config?: {
@@ -6270,6 +6657,16 @@ declare function safeParseConfig(data: unknown): z.ZodSafeParseResult<{
6270
6657
  mapping?: unknown;
6271
6658
  out?: unknown;
6272
6659
  command?: "consent" | "config" | "user" | "run" | undefined;
6660
+ outcome?: {
6661
+ status: "queued" | "failed";
6662
+ code: string;
6663
+ retryable?: boolean | undefined;
6664
+ } | undefined;
6665
+ respond?: {
6666
+ status?: number | undefined;
6667
+ body?: unknown;
6668
+ error?: "timeout" | "network" | undefined;
6669
+ } | undefined;
6273
6670
  }> | undefined;
6274
6671
  cache?: {
6275
6672
  rules: {
@@ -6302,6 +6699,9 @@ declare function safeParseConfig(data: unknown): z.ZodSafeParseResult<{
6302
6699
  push: string;
6303
6700
  type?: string | undefined;
6304
6701
  init?: string | undefined;
6702
+ pushBatch?: string | undefined;
6703
+ on?: string | undefined;
6704
+ destroy?: string | undefined;
6305
6705
  } | undefined;
6306
6706
  import?: string | undefined;
6307
6707
  config?: unknown;
@@ -6321,6 +6721,16 @@ declare function safeParseConfig(data: unknown): z.ZodSafeParseResult<{
6321
6721
  mapping?: unknown;
6322
6722
  out?: unknown;
6323
6723
  command?: "consent" | "config" | "user" | "run" | undefined;
6724
+ outcome?: {
6725
+ status: "queued" | "failed";
6726
+ code: string;
6727
+ retryable?: boolean | undefined;
6728
+ } | undefined;
6729
+ respond?: {
6730
+ status?: number | undefined;
6731
+ body?: unknown;
6732
+ error?: "timeout" | "network" | undefined;
6733
+ } | undefined;
6324
6734
  }> | undefined;
6325
6735
  cache?: {
6326
6736
  rules: {
@@ -6354,6 +6764,9 @@ declare function safeParseConfig(data: unknown): z.ZodSafeParseResult<{
6354
6764
  push: string;
6355
6765
  type?: string | undefined;
6356
6766
  init?: string | undefined;
6767
+ pushBatch?: string | undefined;
6768
+ on?: string | undefined;
6769
+ destroy?: string | undefined;
6357
6770
  } | undefined;
6358
6771
  import?: string | undefined;
6359
6772
  config?: {
@@ -6382,6 +6795,16 @@ declare function safeParseConfig(data: unknown): z.ZodSafeParseResult<{
6382
6795
  mapping?: unknown;
6383
6796
  out?: unknown;
6384
6797
  command?: "consent" | "config" | "user" | "run" | undefined;
6798
+ outcome?: {
6799
+ status: "queued" | "failed";
6800
+ code: string;
6801
+ retryable?: boolean | undefined;
6802
+ } | undefined;
6803
+ respond?: {
6804
+ status?: number | undefined;
6805
+ body?: unknown;
6806
+ error?: "timeout" | "network" | undefined;
6807
+ } | undefined;
6385
6808
  }> | undefined;
6386
6809
  }> | undefined;
6387
6810
  collector?: {
@@ -6443,6 +6866,9 @@ declare function safeParseFlow(data: unknown): z.ZodSafeParseResult<{
6443
6866
  push: string;
6444
6867
  type?: string | undefined;
6445
6868
  init?: string | undefined;
6869
+ pushBatch?: string | undefined;
6870
+ on?: string | undefined;
6871
+ destroy?: string | undefined;
6446
6872
  } | undefined;
6447
6873
  import?: string | undefined;
6448
6874
  config?: {
@@ -6479,6 +6905,16 @@ declare function safeParseFlow(data: unknown): z.ZodSafeParseResult<{
6479
6905
  mapping?: unknown;
6480
6906
  out?: unknown;
6481
6907
  command?: "consent" | "config" | "user" | "run" | undefined;
6908
+ outcome?: {
6909
+ status: "queued" | "failed";
6910
+ code: string;
6911
+ retryable?: boolean | undefined;
6912
+ } | undefined;
6913
+ respond?: {
6914
+ status?: number | undefined;
6915
+ body?: unknown;
6916
+ error?: "timeout" | "network" | undefined;
6917
+ } | undefined;
6482
6918
  }> | undefined;
6483
6919
  cache?: {
6484
6920
  rules: {
@@ -6511,6 +6947,9 @@ declare function safeParseFlow(data: unknown): z.ZodSafeParseResult<{
6511
6947
  push: string;
6512
6948
  type?: string | undefined;
6513
6949
  init?: string | undefined;
6950
+ pushBatch?: string | undefined;
6951
+ on?: string | undefined;
6952
+ destroy?: string | undefined;
6514
6953
  } | undefined;
6515
6954
  import?: string | undefined;
6516
6955
  config?: {
@@ -6533,6 +6972,16 @@ declare function safeParseFlow(data: unknown): z.ZodSafeParseResult<{
6533
6972
  mapping?: unknown;
6534
6973
  out?: unknown;
6535
6974
  command?: "consent" | "config" | "user" | "run" | undefined;
6975
+ outcome?: {
6976
+ status: "queued" | "failed";
6977
+ code: string;
6978
+ retryable?: boolean | undefined;
6979
+ } | undefined;
6980
+ respond?: {
6981
+ status?: number | undefined;
6982
+ body?: unknown;
6983
+ error?: "timeout" | "network" | undefined;
6984
+ } | undefined;
6536
6985
  }> | undefined;
6537
6986
  cache?: {
6538
6987
  rules: {
@@ -6565,6 +7014,9 @@ declare function safeParseFlow(data: unknown): z.ZodSafeParseResult<{
6565
7014
  push: string;
6566
7015
  type?: string | undefined;
6567
7016
  init?: string | undefined;
7017
+ pushBatch?: string | undefined;
7018
+ on?: string | undefined;
7019
+ destroy?: string | undefined;
6568
7020
  } | undefined;
6569
7021
  import?: string | undefined;
6570
7022
  config?: unknown;
@@ -6584,6 +7036,16 @@ declare function safeParseFlow(data: unknown): z.ZodSafeParseResult<{
6584
7036
  mapping?: unknown;
6585
7037
  out?: unknown;
6586
7038
  command?: "consent" | "config" | "user" | "run" | undefined;
7039
+ outcome?: {
7040
+ status: "queued" | "failed";
7041
+ code: string;
7042
+ retryable?: boolean | undefined;
7043
+ } | undefined;
7044
+ respond?: {
7045
+ status?: number | undefined;
7046
+ body?: unknown;
7047
+ error?: "timeout" | "network" | undefined;
7048
+ } | undefined;
6587
7049
  }> | undefined;
6588
7050
  cache?: {
6589
7051
  rules: {
@@ -6617,6 +7079,9 @@ declare function safeParseFlow(data: unknown): z.ZodSafeParseResult<{
6617
7079
  push: string;
6618
7080
  type?: string | undefined;
6619
7081
  init?: string | undefined;
7082
+ pushBatch?: string | undefined;
7083
+ on?: string | undefined;
7084
+ destroy?: string | undefined;
6620
7085
  } | undefined;
6621
7086
  import?: string | undefined;
6622
7087
  config?: {
@@ -6645,6 +7110,16 @@ declare function safeParseFlow(data: unknown): z.ZodSafeParseResult<{
6645
7110
  mapping?: unknown;
6646
7111
  out?: unknown;
6647
7112
  command?: "consent" | "config" | "user" | "run" | undefined;
7113
+ outcome?: {
7114
+ status: "queued" | "failed";
7115
+ code: string;
7116
+ retryable?: boolean | undefined;
7117
+ } | undefined;
7118
+ respond?: {
7119
+ status?: number | undefined;
7120
+ body?: unknown;
7121
+ error?: "timeout" | "network" | undefined;
7122
+ } | undefined;
6648
7123
  }> | undefined;
6649
7124
  }> | undefined;
6650
7125
  collector?: {
@@ -6671,7 +7146,7 @@ declare const configJsonSchema: z.core.ZodStandardJSONSchemaPayload<z.ZodObject<
6671
7146
  description: z.ZodOptional<z.ZodString>;
6672
7147
  events: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
6673
7148
  schema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6674
- }, z.core.$strip>>>;
7149
+ }, z.core.$strict>>>;
6675
7150
  flows: z.ZodRecord<z.ZodString, z.ZodObject<{
6676
7151
  config: z.ZodOptional<z.ZodObject<{
6677
7152
  platform: z.ZodEnum<{
@@ -6709,7 +7184,10 @@ declare const configJsonSchema: z.core.ZodStandardJSONSchemaPayload<z.ZodObject<
6709
7184
  push: z.ZodString;
6710
7185
  type: z.ZodOptional<z.ZodString>;
6711
7186
  init: z.ZodOptional<z.ZodString>;
6712
- }, z.core.$strip>>;
7187
+ pushBatch: z.ZodOptional<z.ZodString>;
7188
+ on: z.ZodOptional<z.ZodString>;
7189
+ destroy: z.ZodOptional<z.ZodString>;
7190
+ }, z.core.$strict>>;
6713
7191
  import: z.ZodOptional<z.ZodString>;
6714
7192
  config: z.ZodOptional<z.ZodObject<{
6715
7193
  setup: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
@@ -6755,6 +7233,22 @@ declare const configJsonSchema: z.core.ZodStandardJSONSchemaPayload<z.ZodObject<
6755
7233
  user: "user";
6756
7234
  run: "run";
6757
7235
  }>>;
7236
+ outcome: z.ZodOptional<z.ZodObject<{
7237
+ status: z.ZodEnum<{
7238
+ queued: "queued";
7239
+ failed: "failed";
7240
+ }>;
7241
+ code: z.ZodString;
7242
+ retryable: z.ZodOptional<z.ZodBoolean>;
7243
+ }, z.core.$strip>>;
7244
+ respond: z.ZodOptional<z.ZodObject<{
7245
+ status: z.ZodOptional<z.ZodNumber>;
7246
+ body: z.ZodOptional<z.ZodUnknown>;
7247
+ error: z.ZodOptional<z.ZodEnum<{
7248
+ timeout: "timeout";
7249
+ network: "network";
7250
+ }>>;
7251
+ }, z.core.$strip>>;
6758
7252
  }, z.core.$strip>>>;
6759
7253
  cache: z.ZodOptional<z.ZodObject<{
6760
7254
  stop: z.ZodOptional<z.ZodBoolean>;
@@ -6793,7 +7287,10 @@ declare const configJsonSchema: z.core.ZodStandardJSONSchemaPayload<z.ZodObject<
6793
7287
  push: z.ZodString;
6794
7288
  type: z.ZodOptional<z.ZodString>;
6795
7289
  init: z.ZodOptional<z.ZodString>;
6796
- }, z.core.$strip>>;
7290
+ pushBatch: z.ZodOptional<z.ZodString>;
7291
+ on: z.ZodOptional<z.ZodString>;
7292
+ destroy: z.ZodOptional<z.ZodString>;
7293
+ }, z.core.$strict>>;
6797
7294
  import: z.ZodOptional<z.ZodString>;
6798
7295
  config: z.ZodOptional<z.ZodObject<{
6799
7296
  setup: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
@@ -6819,6 +7316,22 @@ declare const configJsonSchema: z.core.ZodStandardJSONSchemaPayload<z.ZodObject<
6819
7316
  user: "user";
6820
7317
  run: "run";
6821
7318
  }>>;
7319
+ outcome: z.ZodOptional<z.ZodObject<{
7320
+ status: z.ZodEnum<{
7321
+ queued: "queued";
7322
+ failed: "failed";
7323
+ }>;
7324
+ code: z.ZodString;
7325
+ retryable: z.ZodOptional<z.ZodBoolean>;
7326
+ }, z.core.$strip>>;
7327
+ respond: z.ZodOptional<z.ZodObject<{
7328
+ status: z.ZodOptional<z.ZodNumber>;
7329
+ body: z.ZodOptional<z.ZodUnknown>;
7330
+ error: z.ZodOptional<z.ZodEnum<{
7331
+ timeout: "timeout";
7332
+ network: "network";
7333
+ }>>;
7334
+ }, z.core.$strip>>;
6822
7335
  }, z.core.$strip>>>;
6823
7336
  cache: z.ZodOptional<z.ZodObject<{
6824
7337
  stop: z.ZodOptional<z.ZodBoolean>;
@@ -6857,7 +7370,10 @@ declare const configJsonSchema: z.core.ZodStandardJSONSchemaPayload<z.ZodObject<
6857
7370
  push: z.ZodString;
6858
7371
  type: z.ZodOptional<z.ZodString>;
6859
7372
  init: z.ZodOptional<z.ZodString>;
6860
- }, z.core.$strip>>;
7373
+ pushBatch: z.ZodOptional<z.ZodString>;
7374
+ on: z.ZodOptional<z.ZodString>;
7375
+ destroy: z.ZodOptional<z.ZodString>;
7376
+ }, z.core.$strict>>;
6861
7377
  import: z.ZodOptional<z.ZodString>;
6862
7378
  config: z.ZodOptional<z.ZodUnknown>;
6863
7379
  env: z.ZodOptional<z.ZodUnknown>;
@@ -6881,6 +7397,22 @@ declare const configJsonSchema: z.core.ZodStandardJSONSchemaPayload<z.ZodObject<
6881
7397
  user: "user";
6882
7398
  run: "run";
6883
7399
  }>>;
7400
+ outcome: z.ZodOptional<z.ZodObject<{
7401
+ status: z.ZodEnum<{
7402
+ queued: "queued";
7403
+ failed: "failed";
7404
+ }>;
7405
+ code: z.ZodString;
7406
+ retryable: z.ZodOptional<z.ZodBoolean>;
7407
+ }, z.core.$strip>>;
7408
+ respond: z.ZodOptional<z.ZodObject<{
7409
+ status: z.ZodOptional<z.ZodNumber>;
7410
+ body: z.ZodOptional<z.ZodUnknown>;
7411
+ error: z.ZodOptional<z.ZodEnum<{
7412
+ timeout: "timeout";
7413
+ network: "network";
7414
+ }>>;
7415
+ }, z.core.$strip>>;
6884
7416
  }, z.core.$strip>>>;
6885
7417
  cache: z.ZodOptional<z.ZodObject<{
6886
7418
  stop: z.ZodOptional<z.ZodBoolean>;
@@ -6920,7 +7452,10 @@ declare const configJsonSchema: z.core.ZodStandardJSONSchemaPayload<z.ZodObject<
6920
7452
  push: z.ZodString;
6921
7453
  type: z.ZodOptional<z.ZodString>;
6922
7454
  init: z.ZodOptional<z.ZodString>;
6923
- }, z.core.$strip>>;
7455
+ pushBatch: z.ZodOptional<z.ZodString>;
7456
+ on: z.ZodOptional<z.ZodString>;
7457
+ destroy: z.ZodOptional<z.ZodString>;
7458
+ }, z.core.$strict>>;
6924
7459
  import: z.ZodOptional<z.ZodString>;
6925
7460
  config: z.ZodOptional<z.ZodObject<{
6926
7461
  setup: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
@@ -6952,6 +7487,22 @@ declare const configJsonSchema: z.core.ZodStandardJSONSchemaPayload<z.ZodObject<
6952
7487
  user: "user";
6953
7488
  run: "run";
6954
7489
  }>>;
7490
+ outcome: z.ZodOptional<z.ZodObject<{
7491
+ status: z.ZodEnum<{
7492
+ queued: "queued";
7493
+ failed: "failed";
7494
+ }>;
7495
+ code: z.ZodString;
7496
+ retryable: z.ZodOptional<z.ZodBoolean>;
7497
+ }, z.core.$strip>>;
7498
+ respond: z.ZodOptional<z.ZodObject<{
7499
+ status: z.ZodOptional<z.ZodNumber>;
7500
+ body: z.ZodOptional<z.ZodUnknown>;
7501
+ error: z.ZodOptional<z.ZodEnum<{
7502
+ timeout: "timeout";
7503
+ network: "network";
7504
+ }>>;
7505
+ }, z.core.$strip>>;
6955
7506
  }, z.core.$strip>>>;
6956
7507
  }, z.core.$strip>>>;
6957
7508
  collector: z.ZodOptional<z.ZodObject<{
@@ -7144,7 +7695,7 @@ declare namespace utilities {
7144
7695
  * - match: MatchExpression — omit for always-match.
7145
7696
  * - key: array of dot-path strings used to compose the cache key from event fields.
7146
7697
  * - ttl: time-to-live in seconds (positive).
7147
- * - update: optional record of response mutations applied on cache hit.
7698
+ * - update: optional record of source response mutations, applied on HIT and MISS.
7148
7699
  */
7149
7700
  declare const EventCacheRuleSchema: z.ZodObject<{
7150
7701
  match: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
@@ -7322,6 +7873,10 @@ declare const LoggerConfigSchema: z.ZodObject<{
7322
7873
  INFO: "INFO";
7323
7874
  DEBUG: "DEBUG";
7324
7875
  }>]>>;
7876
+ format: z.ZodOptional<z.ZodEnum<{
7877
+ text: "text";
7878
+ json: "json";
7879
+ }>>;
7325
7880
  handler: z.ZodOptional<z.ZodAny>;
7326
7881
  }, z.core.$strip>;
7327
7882
 
@@ -7410,6 +7965,8 @@ interface ValidationIssue {
7410
7965
  message: string;
7411
7966
  severity: 'error' | 'warning';
7412
7967
  path?: string;
7968
+ /** A stable code for checks shared with `validateFlowStructure`. */
7969
+ code?: string;
7413
7970
  line: number;
7414
7971
  column: number;
7415
7972
  endLine?: number;
@@ -8011,7 +8568,18 @@ interface ObserveServer {
8011
8568
  /** Deterministic sample fraction in [0, 1]. Defaults to 1. */
8012
8569
  sample?: number;
8013
8570
  }
8014
- type Observe = ObserveWeb | ObserveServer;
8571
+ /** Where a web arm finds its credential: the page, from `@walkeros/web-core`. */
8572
+ interface ObserveSlot {
8573
+ /** The URL credential if present, else the stored one; null when absent. */
8574
+ read(): {
8575
+ raw: string;
8576
+ fromUrl: boolean;
8577
+ } | null;
8578
+ /** Persist `raw`; when it came from the URL, strip it from the address bar. */
8579
+ keep(raw: string, fromUrl: boolean): void;
8580
+ /** Clear the stored credential only while it still equals `raw`. */
8581
+ clear(raw: string): void;
8582
+ }
8015
8583
 
8016
8584
  /**
8017
8585
  * FlowState is the canonical observation record emitted at each hop in a
@@ -8025,7 +8593,7 @@ type Observe = ObserveWeb | ObserveServer;
8025
8593
  * for inEvent/outEvent).
8026
8594
  */
8027
8595
  type FlowStatePhase = 'init' | 'in' | 'out' | 'error' | 'skip' | 'flush';
8028
- type FlowStepType = 'source' | 'transformer' | 'collector' | 'destination' | 'store';
8596
+ type FlowStepType = StepKind;
8029
8597
  interface FlowStateBatch {
8030
8598
  size: number;
8031
8599
  index: number;
@@ -8072,10 +8640,16 @@ interface FlowState {
8072
8640
  inEvent?: unknown;
8073
8641
  /** Outbound walker event/payload for this hop. Only populated when level === 'trace' or includeOut === true. */
8074
8642
  outEvent?: unknown;
8075
- /** Error info when phase === 'error'. */
8643
+ /**
8644
+ * Error info when phase === 'error'. A delivery failure also carries its
8645
+ * failure `code`, whether a retry can help and the HTTP `status`.
8646
+ */
8076
8647
  error?: {
8077
8648
  name?: string;
8078
8649
  message: string;
8650
+ code?: string;
8651
+ retryable?: boolean;
8652
+ status?: number;
8079
8653
  };
8080
8654
  /** The mapping rule that matched, when one matched. */
8081
8655
  mappingKey?: string;
@@ -8090,7 +8664,7 @@ interface FlowState {
8090
8664
  /** For phase === 'flush', the batch size + entry index. */
8091
8665
  batch?: FlowStateBatch;
8092
8666
  /** Discriminator when phase === 'skip'. */
8093
- skipReason?: 'consent' | 'cache_hit' | 'sampled_out' | 'disabled' | 'dropped' | 'unknown';
8667
+ skipReason?: 'consent' | 'cache_hit' | 'sampled_out' | 'disabled' | 'dropped' | 'ignored' | 'unknown';
8094
8668
  /** Free-form metadata: store key/value, cached: true, etc. */
8095
8669
  meta?: Record<string, unknown>;
8096
8670
  }
@@ -8104,6 +8678,51 @@ interface FlowState {
8104
8678
  */
8105
8679
  type ObserverFn = (state: FlowState) => void;
8106
8680
 
8681
+ /** What a failure line is about: the step, the cause code and the HTTP status. */
8682
+ interface CauseKey {
8683
+ step: string;
8684
+ code: string;
8685
+ status?: number;
8686
+ }
8687
+ /**
8688
+ * One line per cause: the first occurrence of a key is logged at once,
8689
+ * repeats within the window are counted and printed as `suppressed: <n>`
8690
+ * with the next line of that key or at `flush`.
8691
+ */
8692
+ interface CauseLog {
8693
+ report(key: CauseKey, message: string, context: Record<string, unknown>, level?: 'error' | 'warn'): void;
8694
+ /** Print the pending `suppressed` counts (server shutdown). */
8695
+ flush(): void;
8696
+ /** Number of keys held. */
8697
+ size(): number;
8698
+ }
8699
+
8700
+ /**
8701
+ * The types of a step package (`walkerOS.type` in its package.json). A step
8702
+ * package publishes an exports list, empty when it declares none, and a
8703
+ * settings schema; the build checks both.
8704
+ */
8705
+ declare const STEP_TYPES: readonly ["source", "transformer", "destination", "store"];
8706
+ /**
8707
+ * Where a destination package keeps its minimal example, relative to `src`
8708
+ * (per export: `src/<export>/examples/minimal.ts`). A package with the file
8709
+ * renders a quickstart on its docs page; its conformance test runs it.
8710
+ */
8711
+ declare const MINIMAL_EXAMPLE_FILE = "examples/minimal.ts";
8712
+ /**
8713
+ * The `$meta` a package publishes in its walkerOS.json, from its
8714
+ * package.json: its name and version, the `walkerOS` block (type, platform
8715
+ * as a list, renderer, exports, docs) and the source URL its repository
8716
+ * directory gives. A step package without declared exports publishes an
8717
+ * empty list, so a reader can tell it from an older package that published
8718
+ * none. The build writes it; the conformance kit composes from it.
8719
+ */
8720
+ declare function packageMetaOf(packageJson: unknown): Flow.PackageMeta;
8721
+
8722
+ /** The kind of a step package: one of `STEP_TYPES`. */
8723
+ type StepType = (typeof STEP_TYPES)[number];
8724
+ /** Identifies which kind of step a stepId belongs to. */
8725
+ type StepKind = 'collector' | StepType;
8107
8726
  /**
8108
8727
  * Drop counters at a single step. Each buffer is optional: a step kind
8109
8728
  * may have only `queue` (collector), only `dlq`, both (destinations
@@ -8155,6 +8774,14 @@ interface Config$6 {
8155
8774
  * destination backfill. Overflow drops oldest (FIFO). Default 1000.
8156
8775
  */
8157
8776
  queueMax?: number;
8777
+ /**
8778
+ * What a destination does with an event whose required consent is not
8779
+ * granted: `'queue'` (default) keeps it in the destination's `queuePush`
8780
+ * until consent is granted; `'skip'` skips it (counted in
8781
+ * `status.destinations[id].skipped`, a DEBUG line), for a server collector
8782
+ * that never receives a later grant for an event's own consent.
8783
+ */
8784
+ consentDenied?: 'queue' | 'skip';
8158
8785
  /** Flow name; keys this flow's entry in event.source.release and the observer flowId. */
8159
8786
  name?: string;
8160
8787
  /** Config release id stamped into event.source.release for this flow. */
@@ -8193,11 +8820,14 @@ interface InitConfig extends Partial<Config$6> {
8193
8820
  /**
8194
8821
  * Observation session connect config, wired by `startFlow` before the run
8195
8822
  * command. The server form attaches a telemetry poster directly from its
8196
- * config trio; the web form attaches only when an `elbObserve` credential
8197
- * is present (URL param or storage slot) and its binding matches. Purely
8198
- * advisory: nothing on this path can affect event processing.
8823
+ * config trio; the web form reads its credential through `slot`
8824
+ * (`pageObserveSlot()` from `@walkeros/web-core`) and attaches only when
8825
+ * one is present and its binding matches. Purely advisory: nothing on this
8826
+ * path can affect event processing.
8199
8827
  */
8200
- observe?: Observe;
8828
+ observe?: (ObserveWeb & {
8829
+ slot: ObserveSlot;
8830
+ }) | ObserveServer;
8201
8831
  /**
8202
8832
  * Caller-supplied observers, added verbatim to `collector.observers` by
8203
8833
  * `startFlow`. Escape hatch for custom emit targets; same advisory
@@ -8284,6 +8914,11 @@ interface SourceStatus {
8284
8914
  interface DestinationStatus {
8285
8915
  count: number;
8286
8916
  failed: number;
8917
+ /**
8918
+ * Events deliberately not sent: a consent-denied event under
8919
+ * `consentDenied: 'skip'`, or an event a mapping rule `ignore`s.
8920
+ */
8921
+ skipped?: number;
8287
8922
  lastAt?: number;
8288
8923
  duration: number;
8289
8924
  /** Current size of the destination's queuePush buffer (point-in-time). */
@@ -8400,6 +9035,12 @@ interface Instance$5 {
8400
9035
  */
8401
9036
  observeLevel?: () => 'off' | 'standard' | 'trace';
8402
9037
  logger: Instance$3;
9038
+ /**
9039
+ * The collector's one cause log: every failure line goes through it, one
9040
+ * line per (step, cause code, status) per minute. Set by `startFlow`;
9041
+ * optional only so hand-built test collectors keep compiling.
9042
+ */
9043
+ causeLog?: CauseLog;
8403
9044
  on: OnConfig;
8404
9045
  queue: Events;
8405
9046
  /**
@@ -8573,6 +9214,20 @@ type SetupFn<C = unknown, E = unknown> = (context: LifecycleContext<C, E>) => Pr
8573
9214
  */
8574
9215
  type DestroyFn<C = unknown, E = unknown> = (context: LifecycleContext<C, E>) => PromiseOrValue<void>;
8575
9216
 
9217
+ /** Why a push failed, as a push result and the logs carry it. Never a body. */
9218
+ type FailureReason = {
9219
+ code: string;
9220
+ message: string;
9221
+ retryable: boolean;
9222
+ status?: number;
9223
+ };
9224
+ /** Why an event waits instead of being delivered now. */
9225
+ type QueueReason = 'consent' | 'batch' | 'held';
9226
+ type QueuedReason = {
9227
+ code: QueueReason;
9228
+ message: string;
9229
+ };
9230
+
8576
9231
  /**
8577
9232
  * Base environment requirements interface for walkerOS destinations
8578
9233
  *
@@ -8615,9 +9270,20 @@ type Mapping$1<T extends TypesGeneric$3 = Types$4> = T['mapping'];
8615
9270
  type Env$3<T extends TypesGeneric$3 = Types$4> = T['env'];
8616
9271
  type SetupOptions$2<T extends TypesGeneric$3 = Types$4> = T['setup'];
8617
9272
  type Credentials$2<T extends TypesGeneric$3 = Types$4> = T['credentials'];
9273
+ /**
9274
+ * An event waiting in a destination's `queuePush`, with why it waits:
9275
+ * `consent` (its required consent is not granted) or `held` (a state
9276
+ * delivery to the destination is running or failed). An entry seeded from
9277
+ * the collector's replay buffer has no reason yet. The entry object keeps its
9278
+ * identity across drain and requeue; the event inside is copied.
9279
+ */
9280
+ interface Queued {
9281
+ event: Event;
9282
+ reason?: 'consent' | 'held';
9283
+ }
8618
9284
  interface Instance$4<T extends TypesGeneric$3 = Types$4> {
8619
9285
  config: Config$5<T>;
8620
- queuePush?: Events;
9286
+ queuePush?: Queued[];
8621
9287
  queueOn?: Array<{
8622
9288
  type: Types$3;
8623
9289
  data?: unknown;
@@ -8793,7 +9459,7 @@ interface PushBatchContext<T extends TypesGeneric$3 = Types$4> extends Context$4
8793
9459
  ingest: Ingest;
8794
9460
  rule?: Rule<Mapping$1<T>>;
8795
9461
  }
8796
- type InitFn$1<T extends TypesGeneric$3 = Types$4> = (context: Context$4<T>) => PromiseOrValue<void | false | Config$5<T>>;
9462
+ type InitFn$1<T extends TypesGeneric$3 = Types$4> = (context: Context$4<T>) => PromiseOrValue<void | Config$5<T>>;
8797
9463
  type PushFn<T extends TypesGeneric$3 = Types$4> = (event: Event, context: PushContext<T>) => PromiseOrValue<void | unknown>;
8798
9464
  /**
8799
9465
  * Per-row outcome for a single failed batch entry.
@@ -8867,17 +9533,32 @@ interface BatchRegistry<Mapping> {
8867
9533
  batchFn: () => void;
8868
9534
  /**
8869
9535
  * Force a flush of the current batch immediately. Used by shutdown
8870
- * drain and by tests for deterministic flushing without timer
8871
- * advancement. Resolves after the underlying `pushBatch` settles.
9536
+ * drain, `walker flush` and by tests for deterministic flushing without
9537
+ * timer advancement. Resolves after the underlying `pushBatch` settles,
9538
+ * with what that flush did (nothing when the batch was empty).
8872
9539
  */
8873
- flush: () => Promise<void>;
9540
+ flush: () => Promise<BatchFlushOutcome | void>;
8874
9541
  };
8875
9542
  }
9543
+ /**
9544
+ * What one batch flush did: entries delivered and failed, and the reason of
9545
+ * a failure when any entry failed.
9546
+ */
9547
+ interface BatchFlushOutcome {
9548
+ delivered: number;
9549
+ failed: number;
9550
+ reason?: FailureReason;
9551
+ }
8876
9552
  type Data = Property | undefined | Array<Property | undefined>;
8877
9553
  interface Ref {
8878
9554
  type: string;
8879
9555
  data?: unknown;
8880
9556
  error?: unknown;
9557
+ /**
9558
+ * Why the destination did not deliver now: a `FailureReason` under
9559
+ * `failed`, a `QueuedReason` under `queued`.
9560
+ */
9561
+ reason?: FailureReason | QueuedReason;
8881
9562
  }
8882
9563
  type DLQ = Array<[Event, unknown]>;
8883
9564
 
@@ -8918,8 +9599,18 @@ interface PushResult {
8918
9599
  dropped?: boolean;
8919
9600
  /** Event was rejected as invalid input: a client/producer fault, not a pipeline failure. */
8920
9601
  invalid?: boolean;
8921
- /** Human-readable failure reason when ok is false. */
9602
+ /**
9603
+ * Human-readable message when the event was rejected or a step before the
9604
+ * destinations failed. A destination's own failure is in `failed`, under
9605
+ * its id with a `reason`, and leaves this unset.
9606
+ */
8922
9607
  error?: string;
9608
+ /**
9609
+ * Why the push failed when `ok` is false without a `failed` entry: a full
9610
+ * pre-run queue (`queue-full`), a transformer that threw (`transformer`)
9611
+ * or is not ready, a rule `condition` that threw (`mapping`).
9612
+ */
9613
+ reason?: FailureReason;
8923
9614
  }
8924
9615
 
8925
9616
  type AnyFunction<P extends unknown[] = never[], R = unknown> = (...args: P) => R;
@@ -8959,8 +9650,8 @@ interface LogContext {
8959
9650
  */
8960
9651
  type LogFn = (message: string | Error, context?: unknown | Error) => void;
8961
9652
  /**
8962
- * Throw function signature - logs error then throws
8963
- * Returns never as it always throws
9653
+ * Throw function signature: throws an Error with the message, never logs
9654
+ * (the catching collector logs the failure once). Returns never.
8964
9655
  */
8965
9656
  type ThrowFn = (message: string | Error, context?: unknown) => never;
8966
9657
  /**
@@ -8994,8 +9685,8 @@ interface Instance$3 {
8994
9685
  */
8995
9686
  debug: LogFn;
8996
9687
  /**
8997
- * Log an error message and throw an Error
8998
- * Combines logging and throwing in one call
9688
+ * Throw an Error with the message. Does not log: the collector's catch
9689
+ * writes the one line for the failure.
8999
9690
  */
9000
9691
  throw: ThrowFn;
9001
9692
  /**
@@ -9009,6 +9700,12 @@ interface Instance$3 {
9009
9700
  */
9010
9701
  scope: (name: string) => Instance$3;
9011
9702
  }
9703
+ /**
9704
+ * Output format of a server terminal logger: one text line per call, or one
9705
+ * JSON object per line (`severity`, `message`, `scope`, `context`, `time`),
9706
+ * which Cloud Run, Loki and Datadog read as structured entries.
9707
+ */
9708
+ type Format = 'text' | 'json';
9012
9709
  /**
9013
9710
  * Logger configuration options
9014
9711
  */
@@ -9018,6 +9715,13 @@ interface Config$4 {
9018
9715
  * @default Level.ERROR
9019
9716
  */
9020
9717
  level?: Level | keyof typeof Level;
9718
+ /**
9719
+ * Output format of a server flow's log lines (`@walkeros/core/node`'s
9720
+ * terminal logger, used by `runneros`). Web flows log to the browser
9721
+ * console and reject it.
9722
+ * @default 'text'
9723
+ */
9724
+ format?: Format;
9021
9725
  /**
9022
9726
  * Custom log handler function
9023
9727
  * Receives originalHandler to preserve default behavior
@@ -9207,6 +9911,12 @@ interface Config$2<T extends TypesGeneric$2 = Types$2> {
9207
9911
  state?: State | State[];
9208
9912
  init?: boolean;
9209
9913
  disabled?: boolean;
9914
+ /**
9915
+ * Timeout in ms (default 10000) for `init` and for each `push`: one that
9916
+ * does not settle within this window fails the push with code `timeout`;
9917
+ * the next push retries the init.
9918
+ */
9919
+ timeout?: number;
9210
9920
  /** Return this value instead of calling push(). Global mock for all chains. */
9211
9921
  mock?: unknown;
9212
9922
  /** Path-specific mock values keyed by chain path (e.g., "destination.ga4.before"). Takes precedence over global mock. */
@@ -9270,10 +9980,10 @@ type Fn<T extends TypesGeneric$2 = Types$2, E = DeepPartialEvent> = (event: E, c
9270
9980
  *
9271
9981
  * @param context - Transformer context
9272
9982
  * @returns void - initialization successful
9273
- * @returns false - initialization failed, skip this transformer
9983
+ * @throws StepError - initialization failed; the push fails
9274
9984
  * @returns Config<T> - return updated config
9275
9985
  */
9276
- type InitFn<T extends TypesGeneric$2 = Types$2> = (context: Context$2<T>) => PromiseOrValue<void | false | Config$2<T>>;
9986
+ type InitFn<T extends TypesGeneric$2 = Types$2> = (context: Context$2<T>) => PromiseOrValue<void | Config$2<T>>;
9277
9987
  /**
9278
9988
  * Transformer instance returned by Init function.
9279
9989
  */
@@ -9418,7 +10128,7 @@ interface Config$1<T extends TypesGeneric$1 = Types$1> extends Config$7<Mapping<
9418
10128
  async?: boolean | Record<string, boolean>;
9419
10129
  /** Mark as primary source; its push function becomes the exported `elb` from startFlow. */
9420
10130
  primary?: boolean;
9421
- /** Defer source initialization until these collector events fire (e.g., `['consent']`). */
10131
+ /** Collector events (e.g., `['consent']`) that must fire before the source receives on() calls; init and event capture are not delayed. */
9422
10132
  require?: string[];
9423
10133
  /**
9424
10134
  * Provisioning options for `walkeros setup`. `boolean | object`.
@@ -10152,6 +10862,12 @@ declare namespace Flow {
10152
10862
  type?: string;
10153
10863
  /** Optional "$code:..." init function. */
10154
10864
  init?: string;
10865
+ /** Optional "$code:..." batch push function (destinations). */
10866
+ pushBatch?: string;
10867
+ /** Optional "$code:..." event handler (`on('consent')` and others). */
10868
+ on?: string;
10869
+ /** Optional "$code:..." destroy function. */
10870
+ destroy?: string;
10155
10871
  }
10156
10872
  /**
10157
10873
  * Source reference with inline package syntax.
@@ -10175,7 +10891,7 @@ declare namespace Flow {
10175
10891
  /**
10176
10892
  * Inline code definition (object form only).
10177
10893
  *
10178
- * Object: `{push, type?, init?}` for inline code definition.
10894
+ * Object: `{push, type?, init?, pushBatch?, on?, destroy?}` for inline code definition.
10179
10895
  * For named-export selection from a package, use the `import` field with `package`.
10180
10896
  */
10181
10897
  code?: Code;
@@ -10228,7 +10944,8 @@ declare namespace Flow {
10228
10944
  * Name of the transformer to execute after this source captures an event.
10229
10945
  * Creates a pre-collector transformer chain. Chain ends at the collector.
10230
10946
  * If omitted, events route directly to the collector.
10231
- * Can be an array for explicit chain control (bypasses transformer.next resolution).
10947
+ * Can be an array: its members run in order, and each member's own `next`
10948
+ * runs right after that member.
10232
10949
  */
10233
10950
  next?: Route;
10234
10951
  /** Cache configuration for this source. */
@@ -10258,7 +10975,7 @@ declare namespace Flow {
10258
10975
  /**
10259
10976
  * Inline code definition (object form only).
10260
10977
  *
10261
- * Object: `{push, type?, init?}` for inline code definition.
10978
+ * Object: `{push, type?, init?, pushBatch?, on?, destroy?}` for inline code definition.
10262
10979
  * For named-export selection from a package, use the `import` field with `package`.
10263
10980
  */
10264
10981
  code?: Code;
@@ -10322,7 +11039,7 @@ declare namespace Flow {
10322
11039
  /**
10323
11040
  * Inline code definition (object form only).
10324
11041
  *
10325
- * Object: `{push, type?, init?}` for inline code definition.
11042
+ * Object: `{push, type?, init?, pushBatch?, on?, destroy?}` for inline code definition.
10326
11043
  * For named-export selection from a package, use the `import` field with `package`.
10327
11044
  */
10328
11045
  code?: Code;
@@ -10391,7 +11108,7 @@ declare namespace Flow {
10391
11108
  /**
10392
11109
  * Inline code definition (object form only).
10393
11110
  *
10394
- * Object: `{push, type?, init?}` for inline code definition.
11111
+ * Object: `{push, type?, init?, pushBatch?, on?, destroy?}` for inline code definition.
10395
11112
  * For named-export selection from a package, use the `import` field with `package`.
10396
11113
  */
10397
11114
  code?: Code;
@@ -10511,6 +11228,46 @@ declare namespace Flow {
10511
11228
  type StepEffect = readonly [callable: string, ...args: unknown[]];
10512
11229
  /** The effects a step produces, in execution order. Empty = no observable effect (filtered, passthrough). */
10513
11230
  type StepOut = readonly StepEffect[];
11231
+ /** How a kit boundary answers one request. */
11232
+ interface StepAnswer {
11233
+ status?: number;
11234
+ body?: unknown;
11235
+ /** The status text, which failure answers use to echo a canary. */
11236
+ statusText?: string;
11237
+ /** A network error, or no answer at all. */
11238
+ error?: 'network' | 'timeout';
11239
+ /** Answer one macrotask late (the floating-send check). */
11240
+ late?: boolean;
11241
+ }
11242
+ /** Records one request at the kit boundary; returns its answer and marks it settled. */
11243
+ type StepRecord = (effect: StepEffect) => {
11244
+ answer: StepAnswer;
11245
+ settle: () => void;
11246
+ };
11247
+ /**
11248
+ * The browser page a web step runs on in the conformance kit and the
11249
+ * examples runner. `@walkeros/web-core/dev` implements it as `page`.
11250
+ */
11251
+ interface StepPage {
11252
+ open(record: StepRecord): StepPageSession;
11253
+ }
11254
+ /** One run on the page, from `open` to `close`. */
11255
+ interface StepPageSession {
11256
+ /** Page globals merged over an examples env's `push` (the document). */
11257
+ globals: Record<string, unknown>;
11258
+ /**
11259
+ * Scripts added since `open`, with and without the loadVendor marker.
11260
+ * A marked script loads (`load`, once) unless `failScripts` fails it.
11261
+ */
11262
+ scripts(): {
11263
+ marked: number;
11264
+ unmarked: number;
11265
+ };
11266
+ /** Fire `error` on every marked script, loaded or not (kit item 2, vendor-global). */
11267
+ failScripts(): void;
11268
+ /** Restore the stubs and remove the scripts added since `open`. */
11269
+ close(): void;
11270
+ }
10514
11271
  /**
10515
11272
  * Named example pair for a step.
10516
11273
  * `in` is the input to the step, `out` is the expected output.
@@ -10528,7 +11285,10 @@ declare namespace Flow {
10528
11285
  * Whether this example is meant for public consumption (docs, UI, MCP default output).
10529
11286
  * Defaults to `true`. Set to `false` for test-only fixtures that should stay out of
10530
11287
  * user-facing surfaces but still run in test suites and remain available to
10531
- * `flow_simulate` / CLI `--simulate`.
11288
+ * `flow_simulate` / CLI `--simulate`. A failure example (`public: false`
11289
+ * with an `outcome`) is still listed on the docs page under "When it
11290
+ * fails", by its title, description and outcome; its fixture `in` is
11291
+ * never shown.
10532
11292
  */
10533
11293
  public?: boolean;
10534
11294
  in?: unknown;
@@ -10547,9 +11307,93 @@ declare namespace Flow {
10547
11307
  * When absent (default), `in` is pushed as a regular event.
10548
11308
  */
10549
11309
  command?: StepCommand;
11310
+ /**
11311
+ * The reported outcome of a failure or queue example (`public: false`):
11312
+ * the step's status in the push result and its reason code. Absent means
11313
+ * the step must not fail. The docs page lists every example with an
11314
+ * outcome under "When it fails" by title, description and outcome, so it
11315
+ * needs a reader-facing `description` (the docs build fails without one);
11316
+ * its fixture `in` is never shown.
11317
+ */
11318
+ outcome?: StepOutcome;
11319
+ /** What the boundary answers for this example (a failure fixture). */
11320
+ respond?: StepRespond;
11321
+ }
11322
+ /** How a failure or queue example is reported in the push result. */
11323
+ interface StepOutcome {
11324
+ status: 'failed' | 'queued';
11325
+ code: string;
11326
+ retryable?: boolean;
11327
+ }
11328
+ /**
11329
+ * The boundary's answer to the request an example makes: an HTTP status and
11330
+ * body, or a network error or a timeout instead of a response.
11331
+ */
11332
+ interface StepRespond {
11333
+ status?: number;
11334
+ body?: unknown;
11335
+ error?: 'network' | 'timeout';
10550
11336
  }
10551
11337
  /** Named step examples keyed by scenario name. */
10552
11338
  type StepExamples = Record<string, StepExample>;
11339
+ /**
11340
+ * The settings a package needs to deliver, published as `examples.minimal`
11341
+ * (for a package with several exports, as `exportExamples.<export>.minimal`).
11342
+ * `composeQuickstart` turns it into the install line, the integrated code
11343
+ * and a complete flow; the conformance kit runs it.
11344
+ */
11345
+ interface MinimalExample {
11346
+ /**
11347
+ * Only the settings the schema requires, plus any that `init` refuses to
11348
+ * start without under `config`. A secret holds a placeholder value that
11349
+ * satisfies the schema; generated code never shows it.
11350
+ */
11351
+ settings: Record<string, unknown>;
11352
+ /**
11353
+ * Server destinations: settings keys that hold credentials, mapped to the
11354
+ * secret name the reader sets (`A-Z`, `0-9` and `_`), for example
11355
+ * `{ accessToken: 'META_ACCESS_TOKEN' }`. Generated code reads them as
11356
+ * `process.env.<NAME>` (integrated) and `$secret.<NAME>` (flow). A web
11357
+ * destination holds no secret.
11358
+ */
11359
+ secrets?: Record<string, string>;
11360
+ /**
11361
+ * Destination config the package needs to deliver beyond its settings:
11362
+ * `loadScript` for a web destination that loads its vendor script only
11363
+ * when asked to.
11364
+ */
11365
+ config?: Pick<Config$5, 'loadScript'>;
11366
+ }
11367
+ /** The `$meta` of a package's walkerOS.json, as its build writes it. */
11368
+ interface PackageMeta {
11369
+ package: string;
11370
+ version: string;
11371
+ /** Step type: `source`, `transformer`, `destination` or `store`. */
11372
+ type?: string;
11373
+ platform?: string[];
11374
+ renderer?: string;
11375
+ /** Declared exports, export name to description. */
11376
+ exports?: Record<string, string>;
11377
+ docs?: string;
11378
+ source?: string;
11379
+ }
11380
+ /** A package's quickstart, composed from its `$meta` and minimal example. */
11381
+ interface Quickstart {
11382
+ /** The install command. */
11383
+ install: string;
11384
+ /** TypeScript source that starts a flow with the package. */
11385
+ integrated: string;
11386
+ /** A complete flow with the package as its only step of its type. */
11387
+ flow: Json;
11388
+ /**
11389
+ * What the conformance kit runs with: the settings (secrets as their
11390
+ * placeholders) and the minimal example's config.
11391
+ */
11392
+ run: {
11393
+ settings: Record<string, unknown>;
11394
+ config?: Pick<Config$5, 'loadScript'>;
11395
+ };
11396
+ }
10553
11397
  }
10554
11398
 
10555
11399
  type StepOut = Flow.StepOut;
@@ -10569,6 +11413,28 @@ type StepOut = Flow.StepOut;
10569
11413
  */
10570
11414
  declare function formatOut(out: StepOut): string;
10571
11415
 
11416
+ /**
11417
+ * Deep-clone a value for JSON serialization, as dist/walkerOS.json publishes
11418
+ * it. The one definition: the build writes walkerOS.json with it, and the
11419
+ * step-example runner of @walkeros/collector/dev runs examples through it.
11420
+ *
11421
+ * Conventions:
11422
+ * - Functions → { $code: fn.toString() }, the function's source text
11423
+ * - Zod instances → filtered out (returns undefined)
11424
+ * - Everything else → recursively passed through
11425
+ */
11426
+ declare function toSerializable(value: unknown): unknown;
11427
+
11428
+ /**
11429
+ * Compose a destination package's quickstart from its `$meta` and its
11430
+ * minimal example: the install line, the integrated code, a complete v4 flow
11431
+ * and the settings the conformance kit runs with. A package with several
11432
+ * exports names the export the minimal example belongs to. Throws when the
11433
+ * inputs do not resolve to one runnable setup, so a docs build that renders
11434
+ * it fails instead of showing a broken snippet.
11435
+ */
11436
+ declare function composeQuickstart(meta: Flow.PackageMeta, minimal: Flow.MinimalExample, exportName?: string): Flow.Quickstart;
11437
+
10572
11438
  /**
10573
11439
  * Test helper for a step package's dev examples env: every declared
10574
11440
  * `simulation` path must resolve against the package's own `push` mock env,
@@ -10664,6 +11530,14 @@ interface ValidateResult {
10664
11530
  warnings: ValidationWarning[];
10665
11531
  details: Record<string, unknown>;
10666
11532
  }
11533
+ /**
11534
+ * Unknown keys on a step entry and inside its `config`: both are owned by
11535
+ * the collector, which reads them by name, so a typo (`consentt`) would
11536
+ * silently have no effect. Step-level keys are checked here for
11537
+ * destinations and stores; a source is closed by the flow schema and a
11538
+ * transformer by {@link validateStepEntry}. `at` is the step's path.
11539
+ */
11540
+ declare function checkStepKeys(step: Record<string, unknown>, kind: Flow.StepKind, at: string): ValidationError[];
10667
11541
  /**
10668
11542
  * Pure structural validation of a flow config: the exact checks the bundler
10669
11543
  * runs at codegen time, BEFORE any esbuild compile or package/archive fetch.
@@ -10678,7 +11552,14 @@ interface ValidateResult {
10678
11552
  * - each source/destination/store reference specifies exactly one of
10679
11553
  * package or code, and each transformer entry is a closed, valid shape,
10680
11554
  * - every `$store.` reference points at a defined store,
10681
- * - every `state` store is declared and is not a `file: true` store.
11555
+ * - every `state` store is declared and is not a `file: true` store,
11556
+ * - no unknown key on a step entry, in a step's `config` or in the
11557
+ * `collector` block (`UNKNOWN_KEY`),
11558
+ * - no mapping field that does nothing at its position (`MAPPING_NO_OP`),
11559
+ * - no mapping value object without an operator or with two producers,
11560
+ * - no `batch` on inline code without `pushBatch`,
11561
+ * - no whole-value reference that would ship as literal text
11562
+ * (`MALFORMED_REFERENCE`).
10682
11563
  *
10683
11564
  * Intended for fast deploy preflight: catch a bad flow config in well under a
10684
11565
  * second without spinning up a container or compiling anything.
@@ -10706,4 +11587,4 @@ declare function validateComponentNames(components: Record<string, unknown>, sec
10706
11587
  */
10707
11588
  declare function validateStoreReferences(flowSettings: Flow, storeIds: Set<string>): void;
10708
11589
 
10709
- export { ClickIdEntrySchema, Flow, type JSONSchema, type ValidateResult, type ValidateResultType, type ValidationError, type ValidationType, type ValidationWarning, expectSimulationResolves, formatOut, mergeConfigSchema, resolveBaseSchema, routeCases$1 as routeCases, index as schemas, validateComponentNames, validateFlowStructure, validateReference, validateStoreReferences, zodToSchema };
11590
+ export { ClickIdEntrySchema, Flow, type JSONSchema, MINIMAL_EXAMPLE_FILE, STEP_TYPES, type ValidateResult, type ValidateResultType, type ValidationError, type ValidationType, type ValidationWarning, checkStepKeys, composeQuickstart, expectSimulationResolves, formatOut, mergeConfigSchema, packageMetaOf, resolveBaseSchema, routeCases$1 as routeCases, index as schemas, toSerializable, validateComponentNames, validateFlowStructure, validateReference, validateStoreReferences, zodToSchema };