botmux 2.42.1 → 2.42.3

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 (58) hide show
  1. package/README.en.md +4 -1
  2. package/README.md +4 -1
  3. package/dist/adapters/cli/claude-code.d.ts.map +1 -1
  4. package/dist/adapters/cli/claude-code.js +21 -2
  5. package/dist/adapters/cli/claude-code.js.map +1 -1
  6. package/dist/adapters/cli/coco.d.ts.map +1 -1
  7. package/dist/adapters/cli/coco.js +12 -1
  8. package/dist/adapters/cli/coco.js.map +1 -1
  9. package/dist/adapters/cli/codex.d.ts.map +1 -1
  10. package/dist/adapters/cli/codex.js +6 -1
  11. package/dist/adapters/cli/codex.js.map +1 -1
  12. package/dist/adapters/cli/cursor.d.ts.map +1 -1
  13. package/dist/adapters/cli/cursor.js +5 -1
  14. package/dist/adapters/cli/cursor.js.map +1 -1
  15. package/dist/adapters/cli/gemini.d.ts.map +1 -1
  16. package/dist/adapters/cli/gemini.js +5 -1
  17. package/dist/adapters/cli/gemini.js.map +1 -1
  18. package/dist/adapters/cli/opencode.d.ts.map +1 -1
  19. package/dist/adapters/cli/opencode.js +12 -1
  20. package/dist/adapters/cli/opencode.js.map +1 -1
  21. package/dist/adapters/cli/registry.d.ts.map +1 -1
  22. package/dist/adapters/cli/registry.js +13 -1
  23. package/dist/adapters/cli/registry.js.map +1 -1
  24. package/dist/adapters/cli/types.d.ts +18 -0
  25. package/dist/adapters/cli/types.d.ts.map +1 -1
  26. package/dist/bot-registry.d.ts +9 -0
  27. package/dist/bot-registry.d.ts.map +1 -1
  28. package/dist/bot-registry.js +3 -0
  29. package/dist/bot-registry.js.map +1 -1
  30. package/dist/cli.d.ts.map +1 -1
  31. package/dist/cli.js +86 -0
  32. package/dist/cli.js.map +1 -1
  33. package/dist/codex-app-runner.js +29 -5
  34. package/dist/codex-app-runner.js.map +1 -1
  35. package/dist/core/worker-pool.d.ts.map +1 -1
  36. package/dist/core/worker-pool.js +29 -3
  37. package/dist/core/worker-pool.js.map +1 -1
  38. package/dist/im/lark/event-dispatcher.d.ts.map +1 -1
  39. package/dist/im/lark/event-dispatcher.js +2 -1
  40. package/dist/im/lark/event-dispatcher.js.map +1 -1
  41. package/dist/setup/bot-config-editor.d.ts +7 -0
  42. package/dist/setup/bot-config-editor.d.ts.map +1 -1
  43. package/dist/setup/bot-config-editor.js +14 -0
  44. package/dist/setup/bot-config-editor.js.map +1 -1
  45. package/dist/setup/verify-permissions.d.ts.map +1 -1
  46. package/dist/setup/verify-permissions.js +5 -0
  47. package/dist/setup/verify-permissions.js.map +1 -1
  48. package/dist/skills/installer.d.ts +23 -0
  49. package/dist/skills/installer.d.ts.map +1 -1
  50. package/dist/skills/installer.js +84 -1
  51. package/dist/skills/installer.js.map +1 -1
  52. package/dist/types.d.ts +1 -0
  53. package/dist/types.d.ts.map +1 -1
  54. package/dist/worker.js +1 -0
  55. package/dist/worker.js.map +1 -1
  56. package/dist/workflows/definition.d.ts +8 -8
  57. package/dist/workflows/events/schema.d.ts +140 -140
  58. package/package.json +1 -1
@@ -111,8 +111,8 @@ export declare const RunCreatedEventSchema: z.ZodObject<{
111
111
  actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
112
112
  payloadHash: z.ZodOptional<z.ZodString>;
113
113
  }, "strip", z.ZodTypeAny, {
114
- runId: string;
115
114
  type: "runCreated";
115
+ runId: string;
116
116
  schemaVersion: 1;
117
117
  eventId: string;
118
118
  payload: {
@@ -141,8 +141,8 @@ export declare const RunCreatedEventSchema: z.ZodObject<{
141
141
  actor: "scheduler" | "worker" | "hostExecutor" | "human" | "supervisor" | "system";
142
142
  payloadHash?: string | undefined;
143
143
  }, {
144
- runId: string;
145
144
  type: "runCreated";
145
+ runId: string;
146
146
  schemaVersion: 1;
147
147
  eventId: string;
148
148
  payload: {
@@ -193,8 +193,8 @@ export declare const RunStartedEventSchema: z.ZodObject<{
193
193
  actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
194
194
  payloadHash: z.ZodOptional<z.ZodString>;
195
195
  }, "strip", z.ZodTypeAny, {
196
- runId: string;
197
196
  type: "runStarted";
197
+ runId: string;
198
198
  schemaVersion: 1;
199
199
  eventId: string;
200
200
  payload: {} | {
@@ -206,8 +206,8 @@ export declare const RunStartedEventSchema: z.ZodObject<{
206
206
  actor: "scheduler" | "worker" | "hostExecutor" | "human" | "supervisor" | "system";
207
207
  payloadHash?: string | undefined;
208
208
  }, {
209
- runId: string;
210
209
  type: "runStarted";
210
+ runId: string;
211
211
  schemaVersion: 1;
212
212
  eventId: string;
213
213
  payload: {} | {
@@ -277,8 +277,8 @@ export declare const RunSucceededEventSchema: z.ZodObject<{
277
277
  actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
278
278
  payloadHash: z.ZodOptional<z.ZodString>;
279
279
  }, "strip", z.ZodTypeAny, {
280
- runId: string;
281
280
  type: "runSucceeded";
281
+ runId: string;
282
282
  schemaVersion: 1;
283
283
  eventId: string;
284
284
  payload: {
@@ -298,8 +298,8 @@ export declare const RunSucceededEventSchema: z.ZodObject<{
298
298
  actor: "scheduler" | "worker" | "hostExecutor" | "human" | "supervisor" | "system";
299
299
  payloadHash?: string | undefined;
300
300
  }, {
301
- runId: string;
302
301
  type: "runSucceeded";
302
+ runId: string;
303
303
  schemaVersion: 1;
304
304
  eventId: string;
305
305
  payload: {
@@ -350,8 +350,8 @@ export declare const RunFailedEventSchema: z.ZodObject<{
350
350
  actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
351
351
  payloadHash: z.ZodOptional<z.ZodString>;
352
352
  }, "strip", z.ZodTypeAny, {
353
- runId: string;
354
353
  type: "runFailed";
354
+ runId: string;
355
355
  schemaVersion: 1;
356
356
  eventId: string;
357
357
  payload: {
@@ -366,8 +366,8 @@ export declare const RunFailedEventSchema: z.ZodObject<{
366
366
  actor: "scheduler" | "worker" | "hostExecutor" | "human" | "supervisor" | "system";
367
367
  payloadHash?: string | undefined;
368
368
  }, {
369
- runId: string;
370
369
  type: "runFailed";
370
+ runId: string;
371
371
  schemaVersion: 1;
372
372
  eventId: string;
373
373
  payload: {
@@ -410,8 +410,8 @@ export declare const RunCanceledEventSchema: z.ZodObject<{
410
410
  actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
411
411
  payloadHash: z.ZodOptional<z.ZodString>;
412
412
  }, "strip", z.ZodTypeAny, {
413
- runId: string;
414
413
  type: "runCanceled";
414
+ runId: string;
415
415
  schemaVersion: 1;
416
416
  eventId: string;
417
417
  payload: {
@@ -425,8 +425,8 @@ export declare const RunCanceledEventSchema: z.ZodObject<{
425
425
  actor: "scheduler" | "worker" | "hostExecutor" | "human" | "supervisor" | "system";
426
426
  payloadHash?: string | undefined;
427
427
  }, {
428
- runId: string;
429
428
  type: "runCanceled";
429
+ runId: string;
430
430
  schemaVersion: 1;
431
431
  eventId: string;
432
432
  payload: {
@@ -474,8 +474,8 @@ export declare const NodeWaitingEventSchema: z.ZodObject<{
474
474
  actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
475
475
  payloadHash: z.ZodOptional<z.ZodString>;
476
476
  }, "strip", z.ZodTypeAny, {
477
- runId: string;
478
477
  type: "nodeWaiting";
478
+ runId: string;
479
479
  schemaVersion: 1;
480
480
  eventId: string;
481
481
  payload: {
@@ -491,8 +491,8 @@ export declare const NodeWaitingEventSchema: z.ZodObject<{
491
491
  actor: "scheduler" | "worker" | "hostExecutor" | "human" | "supervisor" | "system";
492
492
  payloadHash?: string | undefined;
493
493
  }, {
494
- runId: string;
495
494
  type: "nodeWaiting";
495
+ runId: string;
496
496
  schemaVersion: 1;
497
497
  eventId: string;
498
498
  payload: {
@@ -542,8 +542,8 @@ export declare const NodeRetryingEventSchema: z.ZodObject<{
542
542
  actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
543
543
  payloadHash: z.ZodOptional<z.ZodString>;
544
544
  }, "strip", z.ZodTypeAny, {
545
- runId: string;
546
545
  type: "nodeRetrying";
546
+ runId: string;
547
547
  schemaVersion: 1;
548
548
  eventId: string;
549
549
  payload: {
@@ -559,8 +559,8 @@ export declare const NodeRetryingEventSchema: z.ZodObject<{
559
559
  actor: "scheduler" | "worker" | "hostExecutor" | "human" | "supervisor" | "system";
560
560
  payloadHash?: string | undefined;
561
561
  }, {
562
- runId: string;
563
562
  type: "nodeRetrying";
563
+ runId: string;
564
564
  schemaVersion: 1;
565
565
  eventId: string;
566
566
  payload: {
@@ -607,8 +607,8 @@ export declare const NodeSucceededEventSchema: z.ZodObject<{
607
607
  actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
608
608
  payloadHash: z.ZodOptional<z.ZodString>;
609
609
  }, "strip", z.ZodTypeAny, {
610
- runId: string;
611
610
  type: "nodeSucceeded";
611
+ runId: string;
612
612
  schemaVersion: 1;
613
613
  eventId: string;
614
614
  payload: {
@@ -623,8 +623,8 @@ export declare const NodeSucceededEventSchema: z.ZodObject<{
623
623
  actor: "scheduler" | "worker" | "hostExecutor" | "human" | "supervisor" | "system";
624
624
  payloadHash?: string | undefined;
625
625
  }, {
626
- runId: string;
627
626
  type: "nodeSucceeded";
627
+ runId: string;
628
628
  schemaVersion: 1;
629
629
  eventId: string;
630
630
  payload: {
@@ -673,8 +673,8 @@ export declare const NodeFailedEventSchema: z.ZodObject<{
673
673
  actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
674
674
  payloadHash: z.ZodOptional<z.ZodString>;
675
675
  }, "strip", z.ZodTypeAny, {
676
- runId: string;
677
676
  type: "nodeFailed";
677
+ runId: string;
678
678
  schemaVersion: 1;
679
679
  eventId: string;
680
680
  payload: {
@@ -690,8 +690,8 @@ export declare const NodeFailedEventSchema: z.ZodObject<{
690
690
  actor: "scheduler" | "worker" | "hostExecutor" | "human" | "supervisor" | "system";
691
691
  payloadHash?: string | undefined;
692
692
  }, {
693
- runId: string;
694
693
  type: "nodeFailed";
694
+ runId: string;
695
695
  schemaVersion: 1;
696
696
  eventId: string;
697
697
  payload: {
@@ -738,8 +738,8 @@ export declare const NodeSkippedEventSchema: z.ZodObject<{
738
738
  actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
739
739
  payloadHash: z.ZodOptional<z.ZodString>;
740
740
  }, "strip", z.ZodTypeAny, {
741
- runId: string;
742
741
  type: "nodeSkipped";
742
+ runId: string;
743
743
  schemaVersion: 1;
744
744
  eventId: string;
745
745
  payload: {
@@ -754,8 +754,8 @@ export declare const NodeSkippedEventSchema: z.ZodObject<{
754
754
  actor: "scheduler" | "worker" | "hostExecutor" | "human" | "supervisor" | "system";
755
755
  payloadHash?: string | undefined;
756
756
  }, {
757
- runId: string;
758
757
  type: "nodeSkipped";
758
+ runId: string;
759
759
  schemaVersion: 1;
760
760
  eventId: string;
761
761
  payload: {
@@ -801,8 +801,8 @@ export declare const NodeCanceledEventSchema: z.ZodObject<{
801
801
  actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
802
802
  payloadHash: z.ZodOptional<z.ZodString>;
803
803
  }, "strip", z.ZodTypeAny, {
804
- runId: string;
805
804
  type: "nodeCanceled";
805
+ runId: string;
806
806
  schemaVersion: 1;
807
807
  eventId: string;
808
808
  payload: {
@@ -817,8 +817,8 @@ export declare const NodeCanceledEventSchema: z.ZodObject<{
817
817
  actor: "scheduler" | "worker" | "hostExecutor" | "human" | "supervisor" | "system";
818
818
  payloadHash?: string | undefined;
819
819
  }, {
820
- runId: string;
821
820
  type: "nodeCanceled";
821
+ runId: string;
822
822
  schemaVersion: 1;
823
823
  eventId: string;
824
824
  payload: {
@@ -867,8 +867,8 @@ export declare const ActivityRunningEventSchema: z.ZodObject<{
867
867
  actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
868
868
  payloadHash: z.ZodOptional<z.ZodString>;
869
869
  }, "strip", z.ZodTypeAny, {
870
- runId: string;
871
870
  type: "activityRunning";
871
+ runId: string;
872
872
  schemaVersion: 1;
873
873
  eventId: string;
874
874
  payload: {
@@ -884,8 +884,8 @@ export declare const ActivityRunningEventSchema: z.ZodObject<{
884
884
  actor: "scheduler" | "worker" | "hostExecutor" | "human" | "supervisor" | "system";
885
885
  payloadHash?: string | undefined;
886
886
  }, {
887
- runId: string;
888
887
  type: "activityRunning";
888
+ runId: string;
889
889
  schemaVersion: 1;
890
890
  eventId: string;
891
891
  payload: {
@@ -932,8 +932,8 @@ export declare const ActivityWaitingEventSchema: z.ZodObject<{
932
932
  actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
933
933
  payloadHash: z.ZodOptional<z.ZodString>;
934
934
  }, "strip", z.ZodTypeAny, {
935
- runId: string;
936
935
  type: "activityWaiting";
936
+ runId: string;
937
937
  schemaVersion: 1;
938
938
  eventId: string;
939
939
  payload: {
@@ -948,8 +948,8 @@ export declare const ActivityWaitingEventSchema: z.ZodObject<{
948
948
  actor: "scheduler" | "worker" | "hostExecutor" | "human" | "supervisor" | "system";
949
949
  payloadHash?: string | undefined;
950
950
  }, {
951
- runId: string;
952
951
  type: "activityWaiting";
952
+ runId: string;
953
953
  schemaVersion: 1;
954
954
  eventId: string;
955
955
  payload: {
@@ -1004,8 +1004,8 @@ export declare const ActivityTimedOutEventSchema: z.ZodObject<{
1004
1004
  actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
1005
1005
  payloadHash: z.ZodOptional<z.ZodString>;
1006
1006
  }, "strip", z.ZodTypeAny, {
1007
- runId: string;
1008
1007
  type: "activityTimedOut";
1008
+ runId: string;
1009
1009
  schemaVersion: 1;
1010
1010
  eventId: string;
1011
1011
  payload: {
@@ -1023,8 +1023,8 @@ export declare const ActivityTimedOutEventSchema: z.ZodObject<{
1023
1023
  actor: "scheduler" | "worker" | "hostExecutor" | "human" | "supervisor" | "system";
1024
1024
  payloadHash?: string | undefined;
1025
1025
  }, {
1026
- runId: string;
1027
1026
  type: "activityTimedOut";
1027
+ runId: string;
1028
1028
  schemaVersion: 1;
1029
1029
  eventId: string;
1030
1030
  payload: {
@@ -1073,8 +1073,8 @@ export declare const LoopStartedEventSchema: z.ZodObject<{
1073
1073
  actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
1074
1074
  payloadHash: z.ZodOptional<z.ZodString>;
1075
1075
  }, "strip", z.ZodTypeAny, {
1076
- runId: string;
1077
1076
  type: "loopStarted";
1077
+ runId: string;
1078
1078
  schemaVersion: 1;
1079
1079
  eventId: string;
1080
1080
  payload: {
@@ -1089,8 +1089,8 @@ export declare const LoopStartedEventSchema: z.ZodObject<{
1089
1089
  actor: "scheduler" | "worker" | "hostExecutor" | "human" | "supervisor" | "system";
1090
1090
  payloadHash?: string | undefined;
1091
1091
  }, {
1092
- runId: string;
1093
1092
  type: "loopStarted";
1093
+ runId: string;
1094
1094
  schemaVersion: 1;
1095
1095
  eventId: string;
1096
1096
  payload: {
@@ -1139,8 +1139,8 @@ export declare const LoopIterationStartedEventSchema: z.ZodObject<{
1139
1139
  actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
1140
1140
  payloadHash: z.ZodOptional<z.ZodString>;
1141
1141
  }, "strip", z.ZodTypeAny, {
1142
- runId: string;
1143
1142
  type: "loopIterationStarted";
1143
+ runId: string;
1144
1144
  schemaVersion: 1;
1145
1145
  eventId: string;
1146
1146
  payload: {
@@ -1156,8 +1156,8 @@ export declare const LoopIterationStartedEventSchema: z.ZodObject<{
1156
1156
  actor: "scheduler" | "worker" | "hostExecutor" | "human" | "supervisor" | "system";
1157
1157
  payloadHash?: string | undefined;
1158
1158
  }, {
1159
- runId: string;
1160
1159
  type: "loopIterationStarted";
1160
+ runId: string;
1161
1161
  schemaVersion: 1;
1162
1162
  eventId: string;
1163
1163
  payload: {
@@ -1222,8 +1222,8 @@ export declare const LoopIterationFinishedEventSchema: z.ZodObject<{
1222
1222
  actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
1223
1223
  payloadHash: z.ZodOptional<z.ZodString>;
1224
1224
  }, "strip", z.ZodTypeAny, {
1225
- runId: string;
1226
1225
  type: "loopIterationFinished";
1226
+ runId: string;
1227
1227
  schemaVersion: 1;
1228
1228
  eventId: string;
1229
1229
  payload: {
@@ -1244,8 +1244,8 @@ export declare const LoopIterationFinishedEventSchema: z.ZodObject<{
1244
1244
  actor: "scheduler" | "worker" | "hostExecutor" | "human" | "supervisor" | "system";
1245
1245
  payloadHash?: string | undefined;
1246
1246
  }, {
1247
- runId: string;
1248
1247
  type: "loopIterationFinished";
1248
+ runId: string;
1249
1249
  schemaVersion: 1;
1250
1250
  eventId: string;
1251
1251
  payload: {
@@ -1339,8 +1339,8 @@ export declare const LoopFinishedEventSchema: z.ZodObject<{
1339
1339
  actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
1340
1340
  payloadHash: z.ZodOptional<z.ZodString>;
1341
1341
  }, "strip", z.ZodTypeAny, {
1342
- runId: string;
1343
1342
  type: "loopFinished";
1343
+ runId: string;
1344
1344
  schemaVersion: 1;
1345
1345
  eventId: string;
1346
1346
  payload: {
@@ -1365,8 +1365,8 @@ export declare const LoopFinishedEventSchema: z.ZodObject<{
1365
1365
  actor: "scheduler" | "worker" | "hostExecutor" | "human" | "supervisor" | "system";
1366
1366
  payloadHash?: string | undefined;
1367
1367
  }, {
1368
- runId: string;
1369
1368
  type: "loopFinished";
1369
+ runId: string;
1370
1370
  schemaVersion: 1;
1371
1371
  eventId: string;
1372
1372
  payload: {
@@ -1428,8 +1428,8 @@ export declare const ConditionEvaluatedEventSchema: z.ZodObject<{
1428
1428
  actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
1429
1429
  payloadHash: z.ZodOptional<z.ZodString>;
1430
1430
  }, "strip", z.ZodTypeAny, {
1431
- runId: string;
1432
1431
  type: "conditionEvaluated";
1432
+ runId: string;
1433
1433
  schemaVersion: 1;
1434
1434
  eventId: string;
1435
1435
  payload: {
@@ -1446,8 +1446,8 @@ export declare const ConditionEvaluatedEventSchema: z.ZodObject<{
1446
1446
  actor: "scheduler" | "worker" | "hostExecutor" | "human" | "supervisor" | "system";
1447
1447
  payloadHash?: string | undefined;
1448
1448
  }, {
1449
- runId: string;
1450
1449
  type: "conditionEvaluated";
1450
+ runId: string;
1451
1451
  schemaVersion: 1;
1452
1452
  eventId: string;
1453
1453
  payload: {
@@ -1504,8 +1504,8 @@ export declare const LeaseSignedEventSchema: z.ZodObject<{
1504
1504
  actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
1505
1505
  payloadHash: z.ZodOptional<z.ZodString>;
1506
1506
  }, "strip", z.ZodTypeAny, {
1507
- runId: string;
1508
1507
  type: "leaseSigned";
1508
+ runId: string;
1509
1509
  schemaVersion: 1;
1510
1510
  eventId: string;
1511
1511
  payload: {
@@ -1523,8 +1523,8 @@ export declare const LeaseSignedEventSchema: z.ZodObject<{
1523
1523
  actor: "scheduler" | "worker" | "hostExecutor" | "human" | "supervisor" | "system";
1524
1524
  payloadHash?: string | undefined;
1525
1525
  }, {
1526
- runId: string;
1527
1526
  type: "leaseSigned";
1527
+ runId: string;
1528
1528
  schemaVersion: 1;
1529
1529
  eventId: string;
1530
1530
  payload: {
@@ -1612,8 +1612,8 @@ export declare const AttemptCreatedEventSchema: z.ZodObject<{
1612
1612
  actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
1613
1613
  payloadHash: z.ZodOptional<z.ZodString>;
1614
1614
  }, "strip", z.ZodTypeAny, {
1615
- runId: string;
1616
1615
  type: "attemptCreated";
1616
+ runId: string;
1617
1617
  schemaVersion: 1;
1618
1618
  eventId: string;
1619
1619
  payload: {
@@ -1637,8 +1637,8 @@ export declare const AttemptCreatedEventSchema: z.ZodObject<{
1637
1637
  actor: "scheduler" | "worker" | "hostExecutor" | "human" | "supervisor" | "system";
1638
1638
  payloadHash?: string | undefined;
1639
1639
  }, {
1640
- runId: string;
1641
1640
  type: "attemptCreated";
1641
+ runId: string;
1642
1642
  schemaVersion: 1;
1643
1643
  eventId: string;
1644
1644
  payload: {
@@ -1724,8 +1724,8 @@ export declare const BackoffScheduledEventSchema: z.ZodObject<{
1724
1724
  actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
1725
1725
  payloadHash: z.ZodOptional<z.ZodString>;
1726
1726
  }, "strip", z.ZodTypeAny, {
1727
- runId: string;
1728
1727
  type: "backoffScheduled";
1728
+ runId: string;
1729
1729
  schemaVersion: 1;
1730
1730
  eventId: string;
1731
1731
  payload: {
@@ -1747,8 +1747,8 @@ export declare const BackoffScheduledEventSchema: z.ZodObject<{
1747
1747
  actor: "scheduler" | "worker" | "hostExecutor" | "human" | "supervisor" | "system";
1748
1748
  payloadHash?: string | undefined;
1749
1749
  }, {
1750
- runId: string;
1751
1750
  type: "backoffScheduled";
1751
+ runId: string;
1752
1752
  schemaVersion: 1;
1753
1753
  eventId: string;
1754
1754
  payload: {
@@ -1801,8 +1801,8 @@ export declare const BackoffElapsedEventSchema: z.ZodObject<{
1801
1801
  actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
1802
1802
  payloadHash: z.ZodOptional<z.ZodString>;
1803
1803
  }, "strip", z.ZodTypeAny, {
1804
- runId: string;
1805
1804
  type: "backoffElapsed";
1805
+ runId: string;
1806
1806
  schemaVersion: 1;
1807
1807
  eventId: string;
1808
1808
  payload: {
@@ -1817,8 +1817,8 @@ export declare const BackoffElapsedEventSchema: z.ZodObject<{
1817
1817
  actor: "scheduler" | "worker" | "hostExecutor" | "human" | "supervisor" | "system";
1818
1818
  payloadHash?: string | undefined;
1819
1819
  }, {
1820
- runId: string;
1821
1820
  type: "backoffElapsed";
1821
+ runId: string;
1822
1822
  schemaVersion: 1;
1823
1823
  eventId: string;
1824
1824
  payload: {
@@ -1876,8 +1876,8 @@ export declare const EffectAttemptedEventSchema: z.ZodObject<{
1876
1876
  actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
1877
1877
  payloadHash: z.ZodOptional<z.ZodString>;
1878
1878
  }, "strip", z.ZodTypeAny, {
1879
- runId: string;
1880
1879
  type: "effectAttempted";
1880
+ runId: string;
1881
1881
  schemaVersion: 1;
1882
1882
  eventId: string;
1883
1883
  payload: {
@@ -1896,8 +1896,8 @@ export declare const EffectAttemptedEventSchema: z.ZodObject<{
1896
1896
  actor: "scheduler" | "worker" | "hostExecutor" | "human" | "supervisor" | "system";
1897
1897
  payloadHash?: string | undefined;
1898
1898
  }, {
1899
- runId: string;
1900
1899
  type: "effectAttempted";
1900
+ runId: string;
1901
1901
  schemaVersion: 1;
1902
1902
  eventId: string;
1903
1903
  payload: {
@@ -1983,8 +1983,8 @@ export declare const ActivitySucceededEventSchema: z.ZodObject<{
1983
1983
  actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
1984
1984
  payloadHash: z.ZodOptional<z.ZodString>;
1985
1985
  }, "strip", z.ZodTypeAny, {
1986
- runId: string;
1987
1986
  type: "activitySucceeded";
1987
+ runId: string;
1988
1988
  schemaVersion: 1;
1989
1989
  eventId: string;
1990
1990
  payload: {
@@ -2007,8 +2007,8 @@ export declare const ActivitySucceededEventSchema: z.ZodObject<{
2007
2007
  actor: "scheduler" | "worker" | "hostExecutor" | "human" | "supervisor" | "system";
2008
2008
  payloadHash?: string | undefined;
2009
2009
  }, {
2010
- runId: string;
2011
2010
  type: "activitySucceeded";
2011
+ runId: string;
2012
2012
  schemaVersion: 1;
2013
2013
  eventId: string;
2014
2014
  payload: {
@@ -2090,8 +2090,8 @@ export declare const ActivityFailedEventSchema: z.ZodObject<{
2090
2090
  actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
2091
2091
  payloadHash: z.ZodOptional<z.ZodString>;
2092
2092
  }, "strip", z.ZodTypeAny, {
2093
- runId: string;
2094
2093
  type: "activityFailed";
2094
+ runId: string;
2095
2095
  schemaVersion: 1;
2096
2096
  eventId: string;
2097
2097
  payload: {
@@ -2112,8 +2112,8 @@ export declare const ActivityFailedEventSchema: z.ZodObject<{
2112
2112
  actor: "scheduler" | "worker" | "hostExecutor" | "human" | "supervisor" | "system";
2113
2113
  payloadHash?: string | undefined;
2114
2114
  }, {
2115
- runId: string;
2116
2115
  type: "activityFailed";
2116
+ runId: string;
2117
2117
  schemaVersion: 1;
2118
2118
  eventId: string;
2119
2119
  payload: {
@@ -2216,8 +2216,8 @@ export declare const WaitCreatedEventSchema: z.ZodObject<{
2216
2216
  actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
2217
2217
  payloadHash: z.ZodOptional<z.ZodString>;
2218
2218
  }, "strip", z.ZodTypeAny, {
2219
- runId: string;
2220
2219
  type: "waitCreated";
2220
+ runId: string;
2221
2221
  schemaVersion: 1;
2222
2222
  eventId: string;
2223
2223
  payload: {
@@ -2245,8 +2245,8 @@ export declare const WaitCreatedEventSchema: z.ZodObject<{
2245
2245
  actor: "scheduler" | "worker" | "hostExecutor" | "human" | "supervisor" | "system";
2246
2246
  payloadHash?: string | undefined;
2247
2247
  }, {
2248
- runId: string;
2249
2248
  type: "waitCreated";
2249
+ runId: string;
2250
2250
  schemaVersion: 1;
2251
2251
  eventId: string;
2252
2252
  payload: {
@@ -2311,8 +2311,8 @@ export declare const WaitResolvedEventSchema: z.ZodObject<{
2311
2311
  actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
2312
2312
  payloadHash: z.ZodOptional<z.ZodString>;
2313
2313
  }, "strip", z.ZodTypeAny, {
2314
- runId: string;
2315
2314
  type: "waitResolved";
2315
+ runId: string;
2316
2316
  schemaVersion: 1;
2317
2317
  eventId: string;
2318
2318
  payload: {
@@ -2329,8 +2329,8 @@ export declare const WaitResolvedEventSchema: z.ZodObject<{
2329
2329
  actor: "scheduler" | "worker" | "hostExecutor" | "human" | "supervisor" | "system";
2330
2330
  payloadHash?: string | undefined;
2331
2331
  }, {
2332
- runId: string;
2333
2332
  type: "waitResolved";
2333
+ runId: string;
2334
2334
  schemaVersion: 1;
2335
2335
  eventId: string;
2336
2336
  payload: {
@@ -2381,8 +2381,8 @@ export declare const WaitDeadlineExceededEventSchema: z.ZodObject<{
2381
2381
  actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
2382
2382
  payloadHash: z.ZodOptional<z.ZodString>;
2383
2383
  }, "strip", z.ZodTypeAny, {
2384
- runId: string;
2385
2384
  type: "waitDeadlineExceeded";
2385
+ runId: string;
2386
2386
  schemaVersion: 1;
2387
2387
  eventId: string;
2388
2388
  payload: {
@@ -2398,8 +2398,8 @@ export declare const WaitDeadlineExceededEventSchema: z.ZodObject<{
2398
2398
  actor: "scheduler" | "worker" | "hostExecutor" | "human" | "supervisor" | "system";
2399
2399
  payloadHash?: string | undefined;
2400
2400
  }, {
2401
- runId: string;
2402
2401
  type: "waitDeadlineExceeded";
2402
+ runId: string;
2403
2403
  schemaVersion: 1;
2404
2404
  eventId: string;
2405
2405
  payload: {
@@ -2494,8 +2494,8 @@ export declare const CancelRequestedEventSchema: z.ZodObject<{
2494
2494
  actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
2495
2495
  payloadHash: z.ZodOptional<z.ZodString>;
2496
2496
  }, "strip", z.ZodTypeAny, {
2497
- runId: string;
2498
2497
  type: "cancelRequested";
2498
+ runId: string;
2499
2499
  schemaVersion: 1;
2500
2500
  eventId: string;
2501
2501
  payload: {
@@ -2520,8 +2520,8 @@ export declare const CancelRequestedEventSchema: z.ZodObject<{
2520
2520
  actor: "scheduler" | "worker" | "hostExecutor" | "human" | "supervisor" | "system";
2521
2521
  payloadHash?: string | undefined;
2522
2522
  }, {
2523
- runId: string;
2524
2523
  type: "cancelRequested";
2524
+ runId: string;
2525
2525
  schemaVersion: 1;
2526
2526
  eventId: string;
2527
2527
  payload: {
@@ -2622,8 +2622,8 @@ export declare const CancelDeliveredEventSchema: z.ZodObject<{
2622
2622
  actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
2623
2623
  payloadHash: z.ZodOptional<z.ZodString>;
2624
2624
  }, "strip", z.ZodTypeAny, {
2625
- runId: string;
2626
2625
  type: "cancelDelivered";
2626
+ runId: string;
2627
2627
  schemaVersion: 1;
2628
2628
  eventId: string;
2629
2629
  payload: {
@@ -2647,8 +2647,8 @@ export declare const CancelDeliveredEventSchema: z.ZodObject<{
2647
2647
  actor: "scheduler" | "worker" | "hostExecutor" | "human" | "supervisor" | "system";
2648
2648
  payloadHash?: string | undefined;
2649
2649
  }, {
2650
- runId: string;
2651
2650
  type: "cancelDelivered";
2651
+ runId: string;
2652
2652
  schemaVersion: 1;
2653
2653
  eventId: string;
2654
2654
  payload: {
@@ -2706,8 +2706,8 @@ export declare const ActivityCanceledEventSchema: z.ZodObject<{
2706
2706
  actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
2707
2707
  payloadHash: z.ZodOptional<z.ZodString>;
2708
2708
  }, "strip", z.ZodTypeAny, {
2709
- runId: string;
2710
2709
  type: "activityCanceled";
2710
+ runId: string;
2711
2711
  schemaVersion: 1;
2712
2712
  eventId: string;
2713
2713
  payload: {
@@ -2723,8 +2723,8 @@ export declare const ActivityCanceledEventSchema: z.ZodObject<{
2723
2723
  actor: "scheduler" | "worker" | "hostExecutor" | "human" | "supervisor" | "system";
2724
2724
  payloadHash?: string | undefined;
2725
2725
  }, {
2726
- runId: string;
2727
2726
  type: "activityCanceled";
2727
+ runId: string;
2728
2728
  schemaVersion: 1;
2729
2729
  eventId: string;
2730
2730
  payload: {
@@ -2771,8 +2771,8 @@ export declare const WorkerLostEventSchema: z.ZodObject<{
2771
2771
  actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
2772
2772
  payloadHash: z.ZodOptional<z.ZodString>;
2773
2773
  }, "strip", z.ZodTypeAny, {
2774
- runId: string;
2775
2774
  type: "workerLost";
2775
+ runId: string;
2776
2776
  schemaVersion: 1;
2777
2777
  eventId: string;
2778
2778
  payload: {
@@ -2787,8 +2787,8 @@ export declare const WorkerLostEventSchema: z.ZodObject<{
2787
2787
  actor: "scheduler" | "worker" | "hostExecutor" | "human" | "supervisor" | "system";
2788
2788
  payloadHash?: string | undefined;
2789
2789
  }, {
2790
- runId: string;
2791
2790
  type: "workerLost";
2791
+ runId: string;
2792
2792
  schemaVersion: 1;
2793
2793
  eventId: string;
2794
2794
  payload: {
@@ -2834,8 +2834,8 @@ export declare const ResumeStartedEventSchema: z.ZodObject<{
2834
2834
  actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
2835
2835
  payloadHash: z.ZodOptional<z.ZodString>;
2836
2836
  }, "strip", z.ZodTypeAny, {
2837
- runId: string;
2838
2837
  type: "resumeStarted";
2838
+ runId: string;
2839
2839
  schemaVersion: 1;
2840
2840
  eventId: string;
2841
2841
  payload: {
@@ -2850,8 +2850,8 @@ export declare const ResumeStartedEventSchema: z.ZodObject<{
2850
2850
  actor: "scheduler" | "worker" | "hostExecutor" | "human" | "supervisor" | "system";
2851
2851
  payloadHash?: string | undefined;
2852
2852
  }, {
2853
- runId: string;
2854
2853
  type: "resumeStarted";
2854
+ runId: string;
2855
2855
  schemaVersion: 1;
2856
2856
  eventId: string;
2857
2857
  payload: {
@@ -2906,8 +2906,8 @@ export declare const ReconcileResultEventSchema: z.ZodObject<{
2906
2906
  actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
2907
2907
  payloadHash: z.ZodOptional<z.ZodString>;
2908
2908
  }, "strip", z.ZodTypeAny, {
2909
- runId: string;
2910
2909
  type: "reconcileResult";
2910
+ runId: string;
2911
2911
  schemaVersion: 1;
2912
2912
  eventId: string;
2913
2913
  payload: {
@@ -2925,8 +2925,8 @@ export declare const ReconcileResultEventSchema: z.ZodObject<{
2925
2925
  actor: "scheduler" | "worker" | "hostExecutor" | "human" | "supervisor" | "system";
2926
2926
  payloadHash?: string | undefined;
2927
2927
  }, {
2928
- runId: string;
2929
2928
  type: "reconcileResult";
2929
+ runId: string;
2930
2930
  schemaVersion: 1;
2931
2931
  eventId: string;
2932
2932
  payload: {
@@ -3048,8 +3048,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3048
3048
  actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
3049
3049
  payloadHash: z.ZodOptional<z.ZodString>;
3050
3050
  }, "strip", z.ZodTypeAny, {
3051
- runId: string;
3052
3051
  type: "runCreated";
3052
+ runId: string;
3053
3053
  schemaVersion: 1;
3054
3054
  eventId: string;
3055
3055
  payload: {
@@ -3078,8 +3078,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3078
3078
  actor: "scheduler" | "worker" | "hostExecutor" | "human" | "supervisor" | "system";
3079
3079
  payloadHash?: string | undefined;
3080
3080
  }, {
3081
- runId: string;
3082
3081
  type: "runCreated";
3082
+ runId: string;
3083
3083
  schemaVersion: 1;
3084
3084
  eventId: string;
3085
3085
  payload: {
@@ -3129,8 +3129,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3129
3129
  actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
3130
3130
  payloadHash: z.ZodOptional<z.ZodString>;
3131
3131
  }, "strip", z.ZodTypeAny, {
3132
- runId: string;
3133
3132
  type: "runStarted";
3133
+ runId: string;
3134
3134
  schemaVersion: 1;
3135
3135
  eventId: string;
3136
3136
  payload: {} | {
@@ -3142,8 +3142,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3142
3142
  actor: "scheduler" | "worker" | "hostExecutor" | "human" | "supervisor" | "system";
3143
3143
  payloadHash?: string | undefined;
3144
3144
  }, {
3145
- runId: string;
3146
3145
  type: "runStarted";
3146
+ runId: string;
3147
3147
  schemaVersion: 1;
3148
3148
  eventId: string;
3149
3149
  payload: {} | {
@@ -3212,8 +3212,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3212
3212
  actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
3213
3213
  payloadHash: z.ZodOptional<z.ZodString>;
3214
3214
  }, "strip", z.ZodTypeAny, {
3215
- runId: string;
3216
3215
  type: "runSucceeded";
3216
+ runId: string;
3217
3217
  schemaVersion: 1;
3218
3218
  eventId: string;
3219
3219
  payload: {
@@ -3233,8 +3233,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3233
3233
  actor: "scheduler" | "worker" | "hostExecutor" | "human" | "supervisor" | "system";
3234
3234
  payloadHash?: string | undefined;
3235
3235
  }, {
3236
- runId: string;
3237
3236
  type: "runSucceeded";
3237
+ runId: string;
3238
3238
  schemaVersion: 1;
3239
3239
  eventId: string;
3240
3240
  payload: {
@@ -3284,8 +3284,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3284
3284
  actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
3285
3285
  payloadHash: z.ZodOptional<z.ZodString>;
3286
3286
  }, "strip", z.ZodTypeAny, {
3287
- runId: string;
3288
3287
  type: "runFailed";
3288
+ runId: string;
3289
3289
  schemaVersion: 1;
3290
3290
  eventId: string;
3291
3291
  payload: {
@@ -3300,8 +3300,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3300
3300
  actor: "scheduler" | "worker" | "hostExecutor" | "human" | "supervisor" | "system";
3301
3301
  payloadHash?: string | undefined;
3302
3302
  }, {
3303
- runId: string;
3304
3303
  type: "runFailed";
3304
+ runId: string;
3305
3305
  schemaVersion: 1;
3306
3306
  eventId: string;
3307
3307
  payload: {
@@ -3343,8 +3343,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3343
3343
  actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
3344
3344
  payloadHash: z.ZodOptional<z.ZodString>;
3345
3345
  }, "strip", z.ZodTypeAny, {
3346
- runId: string;
3347
3346
  type: "runCanceled";
3347
+ runId: string;
3348
3348
  schemaVersion: 1;
3349
3349
  eventId: string;
3350
3350
  payload: {
@@ -3358,8 +3358,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3358
3358
  actor: "scheduler" | "worker" | "hostExecutor" | "human" | "supervisor" | "system";
3359
3359
  payloadHash?: string | undefined;
3360
3360
  }, {
3361
- runId: string;
3362
3361
  type: "runCanceled";
3362
+ runId: string;
3363
3363
  schemaVersion: 1;
3364
3364
  eventId: string;
3365
3365
  payload: {
@@ -3406,8 +3406,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3406
3406
  actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
3407
3407
  payloadHash: z.ZodOptional<z.ZodString>;
3408
3408
  }, "strip", z.ZodTypeAny, {
3409
- runId: string;
3410
3409
  type: "nodeWaiting";
3410
+ runId: string;
3411
3411
  schemaVersion: 1;
3412
3412
  eventId: string;
3413
3413
  payload: {
@@ -3423,8 +3423,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3423
3423
  actor: "scheduler" | "worker" | "hostExecutor" | "human" | "supervisor" | "system";
3424
3424
  payloadHash?: string | undefined;
3425
3425
  }, {
3426
- runId: string;
3427
3426
  type: "nodeWaiting";
3427
+ runId: string;
3428
3428
  schemaVersion: 1;
3429
3429
  eventId: string;
3430
3430
  payload: {
@@ -3473,8 +3473,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3473
3473
  actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
3474
3474
  payloadHash: z.ZodOptional<z.ZodString>;
3475
3475
  }, "strip", z.ZodTypeAny, {
3476
- runId: string;
3477
3476
  type: "nodeRetrying";
3477
+ runId: string;
3478
3478
  schemaVersion: 1;
3479
3479
  eventId: string;
3480
3480
  payload: {
@@ -3490,8 +3490,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3490
3490
  actor: "scheduler" | "worker" | "hostExecutor" | "human" | "supervisor" | "system";
3491
3491
  payloadHash?: string | undefined;
3492
3492
  }, {
3493
- runId: string;
3494
3493
  type: "nodeRetrying";
3494
+ runId: string;
3495
3495
  schemaVersion: 1;
3496
3496
  eventId: string;
3497
3497
  payload: {
@@ -3537,8 +3537,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3537
3537
  actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
3538
3538
  payloadHash: z.ZodOptional<z.ZodString>;
3539
3539
  }, "strip", z.ZodTypeAny, {
3540
- runId: string;
3541
3540
  type: "nodeSucceeded";
3541
+ runId: string;
3542
3542
  schemaVersion: 1;
3543
3543
  eventId: string;
3544
3544
  payload: {
@@ -3553,8 +3553,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3553
3553
  actor: "scheduler" | "worker" | "hostExecutor" | "human" | "supervisor" | "system";
3554
3554
  payloadHash?: string | undefined;
3555
3555
  }, {
3556
- runId: string;
3557
3556
  type: "nodeSucceeded";
3557
+ runId: string;
3558
3558
  schemaVersion: 1;
3559
3559
  eventId: string;
3560
3560
  payload: {
@@ -3602,8 +3602,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3602
3602
  actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
3603
3603
  payloadHash: z.ZodOptional<z.ZodString>;
3604
3604
  }, "strip", z.ZodTypeAny, {
3605
- runId: string;
3606
3605
  type: "nodeFailed";
3606
+ runId: string;
3607
3607
  schemaVersion: 1;
3608
3608
  eventId: string;
3609
3609
  payload: {
@@ -3619,8 +3619,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3619
3619
  actor: "scheduler" | "worker" | "hostExecutor" | "human" | "supervisor" | "system";
3620
3620
  payloadHash?: string | undefined;
3621
3621
  }, {
3622
- runId: string;
3623
3622
  type: "nodeFailed";
3623
+ runId: string;
3624
3624
  schemaVersion: 1;
3625
3625
  eventId: string;
3626
3626
  payload: {
@@ -3666,8 +3666,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3666
3666
  actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
3667
3667
  payloadHash: z.ZodOptional<z.ZodString>;
3668
3668
  }, "strip", z.ZodTypeAny, {
3669
- runId: string;
3670
3669
  type: "nodeSkipped";
3670
+ runId: string;
3671
3671
  schemaVersion: 1;
3672
3672
  eventId: string;
3673
3673
  payload: {
@@ -3682,8 +3682,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3682
3682
  actor: "scheduler" | "worker" | "hostExecutor" | "human" | "supervisor" | "system";
3683
3683
  payloadHash?: string | undefined;
3684
3684
  }, {
3685
- runId: string;
3686
3685
  type: "nodeSkipped";
3686
+ runId: string;
3687
3687
  schemaVersion: 1;
3688
3688
  eventId: string;
3689
3689
  payload: {
@@ -3728,8 +3728,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3728
3728
  actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
3729
3729
  payloadHash: z.ZodOptional<z.ZodString>;
3730
3730
  }, "strip", z.ZodTypeAny, {
3731
- runId: string;
3732
3731
  type: "nodeCanceled";
3732
+ runId: string;
3733
3733
  schemaVersion: 1;
3734
3734
  eventId: string;
3735
3735
  payload: {
@@ -3744,8 +3744,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3744
3744
  actor: "scheduler" | "worker" | "hostExecutor" | "human" | "supervisor" | "system";
3745
3745
  payloadHash?: string | undefined;
3746
3746
  }, {
3747
- runId: string;
3748
3747
  type: "nodeCanceled";
3748
+ runId: string;
3749
3749
  schemaVersion: 1;
3750
3750
  eventId: string;
3751
3751
  payload: {
@@ -3793,8 +3793,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3793
3793
  actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
3794
3794
  payloadHash: z.ZodOptional<z.ZodString>;
3795
3795
  }, "strip", z.ZodTypeAny, {
3796
- runId: string;
3797
3796
  type: "activityRunning";
3797
+ runId: string;
3798
3798
  schemaVersion: 1;
3799
3799
  eventId: string;
3800
3800
  payload: {
@@ -3810,8 +3810,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3810
3810
  actor: "scheduler" | "worker" | "hostExecutor" | "human" | "supervisor" | "system";
3811
3811
  payloadHash?: string | undefined;
3812
3812
  }, {
3813
- runId: string;
3814
3813
  type: "activityRunning";
3814
+ runId: string;
3815
3815
  schemaVersion: 1;
3816
3816
  eventId: string;
3817
3817
  payload: {
@@ -3857,8 +3857,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3857
3857
  actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
3858
3858
  payloadHash: z.ZodOptional<z.ZodString>;
3859
3859
  }, "strip", z.ZodTypeAny, {
3860
- runId: string;
3861
3860
  type: "activityWaiting";
3861
+ runId: string;
3862
3862
  schemaVersion: 1;
3863
3863
  eventId: string;
3864
3864
  payload: {
@@ -3873,8 +3873,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3873
3873
  actor: "scheduler" | "worker" | "hostExecutor" | "human" | "supervisor" | "system";
3874
3874
  payloadHash?: string | undefined;
3875
3875
  }, {
3876
- runId: string;
3877
3876
  type: "activityWaiting";
3877
+ runId: string;
3878
3878
  schemaVersion: 1;
3879
3879
  eventId: string;
3880
3880
  payload: {
@@ -3928,8 +3928,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3928
3928
  actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
3929
3929
  payloadHash: z.ZodOptional<z.ZodString>;
3930
3930
  }, "strip", z.ZodTypeAny, {
3931
- runId: string;
3932
3931
  type: "activityTimedOut";
3932
+ runId: string;
3933
3933
  schemaVersion: 1;
3934
3934
  eventId: string;
3935
3935
  payload: {
@@ -3947,8 +3947,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3947
3947
  actor: "scheduler" | "worker" | "hostExecutor" | "human" | "supervisor" | "system";
3948
3948
  payloadHash?: string | undefined;
3949
3949
  }, {
3950
- runId: string;
3951
3950
  type: "activityTimedOut";
3951
+ runId: string;
3952
3952
  schemaVersion: 1;
3953
3953
  eventId: string;
3954
3954
  payload: {
@@ -3996,8 +3996,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3996
3996
  actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
3997
3997
  payloadHash: z.ZodOptional<z.ZodString>;
3998
3998
  }, "strip", z.ZodTypeAny, {
3999
- runId: string;
4000
3999
  type: "loopStarted";
4000
+ runId: string;
4001
4001
  schemaVersion: 1;
4002
4002
  eventId: string;
4003
4003
  payload: {
@@ -4012,8 +4012,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4012
4012
  actor: "scheduler" | "worker" | "hostExecutor" | "human" | "supervisor" | "system";
4013
4013
  payloadHash?: string | undefined;
4014
4014
  }, {
4015
- runId: string;
4016
4015
  type: "loopStarted";
4016
+ runId: string;
4017
4017
  schemaVersion: 1;
4018
4018
  eventId: string;
4019
4019
  payload: {
@@ -4061,8 +4061,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4061
4061
  actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
4062
4062
  payloadHash: z.ZodOptional<z.ZodString>;
4063
4063
  }, "strip", z.ZodTypeAny, {
4064
- runId: string;
4065
4064
  type: "loopIterationStarted";
4065
+ runId: string;
4066
4066
  schemaVersion: 1;
4067
4067
  eventId: string;
4068
4068
  payload: {
@@ -4078,8 +4078,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4078
4078
  actor: "scheduler" | "worker" | "hostExecutor" | "human" | "supervisor" | "system";
4079
4079
  payloadHash?: string | undefined;
4080
4080
  }, {
4081
- runId: string;
4082
4081
  type: "loopIterationStarted";
4082
+ runId: string;
4083
4083
  schemaVersion: 1;
4084
4084
  eventId: string;
4085
4085
  payload: {
@@ -4143,8 +4143,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4143
4143
  actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
4144
4144
  payloadHash: z.ZodOptional<z.ZodString>;
4145
4145
  }, "strip", z.ZodTypeAny, {
4146
- runId: string;
4147
4146
  type: "loopIterationFinished";
4147
+ runId: string;
4148
4148
  schemaVersion: 1;
4149
4149
  eventId: string;
4150
4150
  payload: {
@@ -4165,8 +4165,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4165
4165
  actor: "scheduler" | "worker" | "hostExecutor" | "human" | "supervisor" | "system";
4166
4166
  payloadHash?: string | undefined;
4167
4167
  }, {
4168
- runId: string;
4169
4168
  type: "loopIterationFinished";
4169
+ runId: string;
4170
4170
  schemaVersion: 1;
4171
4171
  eventId: string;
4172
4172
  payload: {
@@ -4259,8 +4259,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4259
4259
  actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
4260
4260
  payloadHash: z.ZodOptional<z.ZodString>;
4261
4261
  }, "strip", z.ZodTypeAny, {
4262
- runId: string;
4263
4262
  type: "loopFinished";
4263
+ runId: string;
4264
4264
  schemaVersion: 1;
4265
4265
  eventId: string;
4266
4266
  payload: {
@@ -4285,8 +4285,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4285
4285
  actor: "scheduler" | "worker" | "hostExecutor" | "human" | "supervisor" | "system";
4286
4286
  payloadHash?: string | undefined;
4287
4287
  }, {
4288
- runId: string;
4289
4288
  type: "loopFinished";
4289
+ runId: string;
4290
4290
  schemaVersion: 1;
4291
4291
  eventId: string;
4292
4292
  payload: {
@@ -4347,8 +4347,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4347
4347
  actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
4348
4348
  payloadHash: z.ZodOptional<z.ZodString>;
4349
4349
  }, "strip", z.ZodTypeAny, {
4350
- runId: string;
4351
4350
  type: "conditionEvaluated";
4351
+ runId: string;
4352
4352
  schemaVersion: 1;
4353
4353
  eventId: string;
4354
4354
  payload: {
@@ -4365,8 +4365,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4365
4365
  actor: "scheduler" | "worker" | "hostExecutor" | "human" | "supervisor" | "system";
4366
4366
  payloadHash?: string | undefined;
4367
4367
  }, {
4368
- runId: string;
4369
4368
  type: "conditionEvaluated";
4369
+ runId: string;
4370
4370
  schemaVersion: 1;
4371
4371
  eventId: string;
4372
4372
  payload: {
@@ -4422,8 +4422,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4422
4422
  actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
4423
4423
  payloadHash: z.ZodOptional<z.ZodString>;
4424
4424
  }, "strip", z.ZodTypeAny, {
4425
- runId: string;
4426
4425
  type: "leaseSigned";
4426
+ runId: string;
4427
4427
  schemaVersion: 1;
4428
4428
  eventId: string;
4429
4429
  payload: {
@@ -4441,8 +4441,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4441
4441
  actor: "scheduler" | "worker" | "hostExecutor" | "human" | "supervisor" | "system";
4442
4442
  payloadHash?: string | undefined;
4443
4443
  }, {
4444
- runId: string;
4445
4444
  type: "leaseSigned";
4445
+ runId: string;
4446
4446
  schemaVersion: 1;
4447
4447
  eventId: string;
4448
4448
  payload: {
@@ -4529,8 +4529,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4529
4529
  actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
4530
4530
  payloadHash: z.ZodOptional<z.ZodString>;
4531
4531
  }, "strip", z.ZodTypeAny, {
4532
- runId: string;
4533
4532
  type: "attemptCreated";
4533
+ runId: string;
4534
4534
  schemaVersion: 1;
4535
4535
  eventId: string;
4536
4536
  payload: {
@@ -4554,8 +4554,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4554
4554
  actor: "scheduler" | "worker" | "hostExecutor" | "human" | "supervisor" | "system";
4555
4555
  payloadHash?: string | undefined;
4556
4556
  }, {
4557
- runId: string;
4558
4557
  type: "attemptCreated";
4558
+ runId: string;
4559
4559
  schemaVersion: 1;
4560
4560
  eventId: string;
4561
4561
  payload: {
@@ -4640,8 +4640,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4640
4640
  actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
4641
4641
  payloadHash: z.ZodOptional<z.ZodString>;
4642
4642
  }, "strip", z.ZodTypeAny, {
4643
- runId: string;
4644
4643
  type: "backoffScheduled";
4644
+ runId: string;
4645
4645
  schemaVersion: 1;
4646
4646
  eventId: string;
4647
4647
  payload: {
@@ -4663,8 +4663,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4663
4663
  actor: "scheduler" | "worker" | "hostExecutor" | "human" | "supervisor" | "system";
4664
4664
  payloadHash?: string | undefined;
4665
4665
  }, {
4666
- runId: string;
4667
4666
  type: "backoffScheduled";
4667
+ runId: string;
4668
4668
  schemaVersion: 1;
4669
4669
  eventId: string;
4670
4670
  payload: {
@@ -4716,8 +4716,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4716
4716
  actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
4717
4717
  payloadHash: z.ZodOptional<z.ZodString>;
4718
4718
  }, "strip", z.ZodTypeAny, {
4719
- runId: string;
4720
4719
  type: "backoffElapsed";
4720
+ runId: string;
4721
4721
  schemaVersion: 1;
4722
4722
  eventId: string;
4723
4723
  payload: {
@@ -4732,8 +4732,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4732
4732
  actor: "scheduler" | "worker" | "hostExecutor" | "human" | "supervisor" | "system";
4733
4733
  payloadHash?: string | undefined;
4734
4734
  }, {
4735
- runId: string;
4736
4735
  type: "backoffElapsed";
4736
+ runId: string;
4737
4737
  schemaVersion: 1;
4738
4738
  eventId: string;
4739
4739
  payload: {
@@ -4790,8 +4790,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4790
4790
  actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
4791
4791
  payloadHash: z.ZodOptional<z.ZodString>;
4792
4792
  }, "strip", z.ZodTypeAny, {
4793
- runId: string;
4794
4793
  type: "effectAttempted";
4794
+ runId: string;
4795
4795
  schemaVersion: 1;
4796
4796
  eventId: string;
4797
4797
  payload: {
@@ -4810,8 +4810,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4810
4810
  actor: "scheduler" | "worker" | "hostExecutor" | "human" | "supervisor" | "system";
4811
4811
  payloadHash?: string | undefined;
4812
4812
  }, {
4813
- runId: string;
4814
4813
  type: "effectAttempted";
4814
+ runId: string;
4815
4815
  schemaVersion: 1;
4816
4816
  eventId: string;
4817
4817
  payload: {
@@ -4896,8 +4896,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4896
4896
  actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
4897
4897
  payloadHash: z.ZodOptional<z.ZodString>;
4898
4898
  }, "strip", z.ZodTypeAny, {
4899
- runId: string;
4900
4899
  type: "activitySucceeded";
4900
+ runId: string;
4901
4901
  schemaVersion: 1;
4902
4902
  eventId: string;
4903
4903
  payload: {
@@ -4920,8 +4920,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4920
4920
  actor: "scheduler" | "worker" | "hostExecutor" | "human" | "supervisor" | "system";
4921
4921
  payloadHash?: string | undefined;
4922
4922
  }, {
4923
- runId: string;
4924
4923
  type: "activitySucceeded";
4924
+ runId: string;
4925
4925
  schemaVersion: 1;
4926
4926
  eventId: string;
4927
4927
  payload: {
@@ -5002,8 +5002,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5002
5002
  actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
5003
5003
  payloadHash: z.ZodOptional<z.ZodString>;
5004
5004
  }, "strip", z.ZodTypeAny, {
5005
- runId: string;
5006
5005
  type: "activityFailed";
5006
+ runId: string;
5007
5007
  schemaVersion: 1;
5008
5008
  eventId: string;
5009
5009
  payload: {
@@ -5024,8 +5024,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5024
5024
  actor: "scheduler" | "worker" | "hostExecutor" | "human" | "supervisor" | "system";
5025
5025
  payloadHash?: string | undefined;
5026
5026
  }, {
5027
- runId: string;
5028
5027
  type: "activityFailed";
5028
+ runId: string;
5029
5029
  schemaVersion: 1;
5030
5030
  eventId: string;
5031
5031
  payload: {
@@ -5127,8 +5127,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5127
5127
  actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
5128
5128
  payloadHash: z.ZodOptional<z.ZodString>;
5129
5129
  }, "strip", z.ZodTypeAny, {
5130
- runId: string;
5131
5130
  type: "waitCreated";
5131
+ runId: string;
5132
5132
  schemaVersion: 1;
5133
5133
  eventId: string;
5134
5134
  payload: {
@@ -5156,8 +5156,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5156
5156
  actor: "scheduler" | "worker" | "hostExecutor" | "human" | "supervisor" | "system";
5157
5157
  payloadHash?: string | undefined;
5158
5158
  }, {
5159
- runId: string;
5160
5159
  type: "waitCreated";
5160
+ runId: string;
5161
5161
  schemaVersion: 1;
5162
5162
  eventId: string;
5163
5163
  payload: {
@@ -5221,8 +5221,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5221
5221
  actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
5222
5222
  payloadHash: z.ZodOptional<z.ZodString>;
5223
5223
  }, "strip", z.ZodTypeAny, {
5224
- runId: string;
5225
5224
  type: "waitResolved";
5225
+ runId: string;
5226
5226
  schemaVersion: 1;
5227
5227
  eventId: string;
5228
5228
  payload: {
@@ -5239,8 +5239,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5239
5239
  actor: "scheduler" | "worker" | "hostExecutor" | "human" | "supervisor" | "system";
5240
5240
  payloadHash?: string | undefined;
5241
5241
  }, {
5242
- runId: string;
5243
5242
  type: "waitResolved";
5243
+ runId: string;
5244
5244
  schemaVersion: 1;
5245
5245
  eventId: string;
5246
5246
  payload: {
@@ -5290,8 +5290,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5290
5290
  actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
5291
5291
  payloadHash: z.ZodOptional<z.ZodString>;
5292
5292
  }, "strip", z.ZodTypeAny, {
5293
- runId: string;
5294
5293
  type: "waitDeadlineExceeded";
5294
+ runId: string;
5295
5295
  schemaVersion: 1;
5296
5296
  eventId: string;
5297
5297
  payload: {
@@ -5307,8 +5307,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5307
5307
  actor: "scheduler" | "worker" | "hostExecutor" | "human" | "supervisor" | "system";
5308
5308
  payloadHash?: string | undefined;
5309
5309
  }, {
5310
- runId: string;
5311
5310
  type: "waitDeadlineExceeded";
5311
+ runId: string;
5312
5312
  schemaVersion: 1;
5313
5313
  eventId: string;
5314
5314
  payload: {
@@ -5402,8 +5402,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5402
5402
  actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
5403
5403
  payloadHash: z.ZodOptional<z.ZodString>;
5404
5404
  }, "strip", z.ZodTypeAny, {
5405
- runId: string;
5406
5405
  type: "cancelRequested";
5406
+ runId: string;
5407
5407
  schemaVersion: 1;
5408
5408
  eventId: string;
5409
5409
  payload: {
@@ -5428,8 +5428,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5428
5428
  actor: "scheduler" | "worker" | "hostExecutor" | "human" | "supervisor" | "system";
5429
5429
  payloadHash?: string | undefined;
5430
5430
  }, {
5431
- runId: string;
5432
5431
  type: "cancelRequested";
5432
+ runId: string;
5433
5433
  schemaVersion: 1;
5434
5434
  eventId: string;
5435
5435
  payload: {
@@ -5529,8 +5529,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5529
5529
  actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
5530
5530
  payloadHash: z.ZodOptional<z.ZodString>;
5531
5531
  }, "strip", z.ZodTypeAny, {
5532
- runId: string;
5533
5532
  type: "cancelDelivered";
5533
+ runId: string;
5534
5534
  schemaVersion: 1;
5535
5535
  eventId: string;
5536
5536
  payload: {
@@ -5554,8 +5554,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5554
5554
  actor: "scheduler" | "worker" | "hostExecutor" | "human" | "supervisor" | "system";
5555
5555
  payloadHash?: string | undefined;
5556
5556
  }, {
5557
- runId: string;
5558
5557
  type: "cancelDelivered";
5558
+ runId: string;
5559
5559
  schemaVersion: 1;
5560
5560
  eventId: string;
5561
5561
  payload: {
@@ -5612,8 +5612,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5612
5612
  actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
5613
5613
  payloadHash: z.ZodOptional<z.ZodString>;
5614
5614
  }, "strip", z.ZodTypeAny, {
5615
- runId: string;
5616
5615
  type: "activityCanceled";
5616
+ runId: string;
5617
5617
  schemaVersion: 1;
5618
5618
  eventId: string;
5619
5619
  payload: {
@@ -5629,8 +5629,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5629
5629
  actor: "scheduler" | "worker" | "hostExecutor" | "human" | "supervisor" | "system";
5630
5630
  payloadHash?: string | undefined;
5631
5631
  }, {
5632
- runId: string;
5633
5632
  type: "activityCanceled";
5633
+ runId: string;
5634
5634
  schemaVersion: 1;
5635
5635
  eventId: string;
5636
5636
  payload: {
@@ -5676,8 +5676,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5676
5676
  actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
5677
5677
  payloadHash: z.ZodOptional<z.ZodString>;
5678
5678
  }, "strip", z.ZodTypeAny, {
5679
- runId: string;
5680
5679
  type: "workerLost";
5680
+ runId: string;
5681
5681
  schemaVersion: 1;
5682
5682
  eventId: string;
5683
5683
  payload: {
@@ -5692,8 +5692,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5692
5692
  actor: "scheduler" | "worker" | "hostExecutor" | "human" | "supervisor" | "system";
5693
5693
  payloadHash?: string | undefined;
5694
5694
  }, {
5695
- runId: string;
5696
5695
  type: "workerLost";
5696
+ runId: string;
5697
5697
  schemaVersion: 1;
5698
5698
  eventId: string;
5699
5699
  payload: {
@@ -5738,8 +5738,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5738
5738
  actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
5739
5739
  payloadHash: z.ZodOptional<z.ZodString>;
5740
5740
  }, "strip", z.ZodTypeAny, {
5741
- runId: string;
5742
5741
  type: "resumeStarted";
5742
+ runId: string;
5743
5743
  schemaVersion: 1;
5744
5744
  eventId: string;
5745
5745
  payload: {
@@ -5754,8 +5754,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5754
5754
  actor: "scheduler" | "worker" | "hostExecutor" | "human" | "supervisor" | "system";
5755
5755
  payloadHash?: string | undefined;
5756
5756
  }, {
5757
- runId: string;
5758
5757
  type: "resumeStarted";
5758
+ runId: string;
5759
5759
  schemaVersion: 1;
5760
5760
  eventId: string;
5761
5761
  payload: {
@@ -5809,8 +5809,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5809
5809
  actor: z.ZodEnum<["scheduler", "worker", "hostExecutor", "human", "supervisor", "system"]>;
5810
5810
  payloadHash: z.ZodOptional<z.ZodString>;
5811
5811
  }, "strip", z.ZodTypeAny, {
5812
- runId: string;
5813
5812
  type: "reconcileResult";
5813
+ runId: string;
5814
5814
  schemaVersion: 1;
5815
5815
  eventId: string;
5816
5816
  payload: {
@@ -5828,8 +5828,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5828
5828
  actor: "scheduler" | "worker" | "hostExecutor" | "human" | "supervisor" | "system";
5829
5829
  payloadHash?: string | undefined;
5830
5830
  }, {
5831
- runId: string;
5832
5831
  type: "reconcileResult";
5832
+ runId: string;
5833
5833
  schemaVersion: 1;
5834
5834
  eventId: string;
5835
5835
  payload: {