botmux 2.105.0 → 2.105.1
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/adapters/cli/read-isolation.d.ts +2 -1
- package/dist/adapters/cli/read-isolation.d.ts.map +1 -1
- package/dist/adapters/cli/read-isolation.js +51 -4
- package/dist/adapters/cli/read-isolation.js.map +1 -1
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +19 -0
- package/dist/cli.js.map +1 -1
- package/dist/core/session-manager.d.ts +1 -1
- package/dist/core/session-manager.d.ts.map +1 -1
- package/dist/core/session-manager.js +22 -3
- package/dist/core/session-manager.js.map +1 -1
- package/dist/core/types.d.ts +3 -3
- package/dist/core/types.d.ts.map +1 -1
- package/dist/core/worker-pool.d.ts +4 -0
- package/dist/core/worker-pool.d.ts.map +1 -1
- package/dist/core/worker-pool.js +27 -9
- package/dist/core/worker-pool.js.map +1 -1
- package/dist/types.d.ts +4 -0
- package/dist/types.d.ts.map +1 -1
- package/dist/worker.js +5 -2
- package/dist/worker.js.map +1 -1
- package/dist/workflows/definition.d.ts +14 -14
- package/dist/workflows/events/payloads.d.ts +8 -8
- package/dist/workflows/events/schema.d.ts +452 -452
- package/package.json +1 -1
|
@@ -138,7 +138,6 @@ export declare const RunCreatedEventSchema: z.ZodObject<{
|
|
|
138
138
|
}, "strip", z.ZodTypeAny, {
|
|
139
139
|
type: "runCreated";
|
|
140
140
|
runId: string;
|
|
141
|
-
timestamp: number;
|
|
142
141
|
payload: {
|
|
143
142
|
workflowId: string;
|
|
144
143
|
revisionId: string;
|
|
@@ -166,14 +165,14 @@ export declare const RunCreatedEventSchema: z.ZodObject<{
|
|
|
166
165
|
bytes: number;
|
|
167
166
|
schemaVersion: number;
|
|
168
167
|
};
|
|
169
|
-
|
|
168
|
+
timestamp: number;
|
|
170
169
|
eventId: string;
|
|
171
|
-
|
|
170
|
+
schemaVersion: 1;
|
|
171
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
172
172
|
payloadHash?: string | undefined;
|
|
173
173
|
}, {
|
|
174
174
|
type: "runCreated";
|
|
175
175
|
runId: string;
|
|
176
|
-
timestamp: number;
|
|
177
176
|
payload: {
|
|
178
177
|
workflowId: string;
|
|
179
178
|
revisionId: string;
|
|
@@ -201,9 +200,10 @@ export declare const RunCreatedEventSchema: z.ZodObject<{
|
|
|
201
200
|
bytes: number;
|
|
202
201
|
schemaVersion: number;
|
|
203
202
|
};
|
|
204
|
-
|
|
203
|
+
timestamp: number;
|
|
205
204
|
eventId: string;
|
|
206
|
-
|
|
205
|
+
schemaVersion: 1;
|
|
206
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
207
207
|
payloadHash?: string | undefined;
|
|
208
208
|
}>;
|
|
209
209
|
export declare const RunStartedEventSchema: z.ZodObject<{
|
|
@@ -230,28 +230,28 @@ export declare const RunStartedEventSchema: z.ZodObject<{
|
|
|
230
230
|
}, "strip", z.ZodTypeAny, {
|
|
231
231
|
type: "runStarted";
|
|
232
232
|
runId: string;
|
|
233
|
-
timestamp: number;
|
|
234
233
|
payload: {} | {
|
|
235
234
|
ref: string;
|
|
236
235
|
bytes: number;
|
|
237
236
|
schemaVersion: number;
|
|
238
237
|
};
|
|
239
|
-
|
|
238
|
+
timestamp: number;
|
|
240
239
|
eventId: string;
|
|
241
|
-
|
|
240
|
+
schemaVersion: 1;
|
|
241
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
242
242
|
payloadHash?: string | undefined;
|
|
243
243
|
}, {
|
|
244
244
|
type: "runStarted";
|
|
245
245
|
runId: string;
|
|
246
|
-
timestamp: number;
|
|
247
246
|
payload: {} | {
|
|
248
247
|
ref: string;
|
|
249
248
|
bytes: number;
|
|
250
249
|
schemaVersion: number;
|
|
251
250
|
};
|
|
252
|
-
|
|
251
|
+
timestamp: number;
|
|
253
252
|
eventId: string;
|
|
254
|
-
|
|
253
|
+
schemaVersion: 1;
|
|
254
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
255
255
|
payloadHash?: string | undefined;
|
|
256
256
|
}>;
|
|
257
257
|
export declare const RunSucceededEventSchema: z.ZodObject<{
|
|
@@ -314,7 +314,6 @@ export declare const RunSucceededEventSchema: z.ZodObject<{
|
|
|
314
314
|
}, "strip", z.ZodTypeAny, {
|
|
315
315
|
type: "runSucceeded";
|
|
316
316
|
runId: string;
|
|
317
|
-
timestamp: number;
|
|
318
317
|
payload: {
|
|
319
318
|
outputRef: {
|
|
320
319
|
outputHash: string;
|
|
@@ -328,14 +327,14 @@ export declare const RunSucceededEventSchema: z.ZodObject<{
|
|
|
328
327
|
bytes: number;
|
|
329
328
|
schemaVersion: number;
|
|
330
329
|
};
|
|
331
|
-
|
|
330
|
+
timestamp: number;
|
|
332
331
|
eventId: string;
|
|
333
|
-
|
|
332
|
+
schemaVersion: 1;
|
|
333
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
334
334
|
payloadHash?: string | undefined;
|
|
335
335
|
}, {
|
|
336
336
|
type: "runSucceeded";
|
|
337
337
|
runId: string;
|
|
338
|
-
timestamp: number;
|
|
339
338
|
payload: {
|
|
340
339
|
outputRef: {
|
|
341
340
|
outputHash: string;
|
|
@@ -349,9 +348,10 @@ export declare const RunSucceededEventSchema: z.ZodObject<{
|
|
|
349
348
|
bytes: number;
|
|
350
349
|
schemaVersion: number;
|
|
351
350
|
};
|
|
352
|
-
|
|
351
|
+
timestamp: number;
|
|
353
352
|
eventId: string;
|
|
354
|
-
|
|
353
|
+
schemaVersion: 1;
|
|
354
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
355
355
|
payloadHash?: string | undefined;
|
|
356
356
|
}>;
|
|
357
357
|
export declare const RunFailedEventSchema: z.ZodObject<{
|
|
@@ -387,7 +387,6 @@ export declare const RunFailedEventSchema: z.ZodObject<{
|
|
|
387
387
|
}, "strip", z.ZodTypeAny, {
|
|
388
388
|
type: "runFailed";
|
|
389
389
|
runId: string;
|
|
390
|
-
timestamp: number;
|
|
391
390
|
payload: {
|
|
392
391
|
failedNodeId: string;
|
|
393
392
|
rootCauseEventId: string;
|
|
@@ -396,14 +395,14 @@ export declare const RunFailedEventSchema: z.ZodObject<{
|
|
|
396
395
|
bytes: number;
|
|
397
396
|
schemaVersion: number;
|
|
398
397
|
};
|
|
399
|
-
|
|
398
|
+
timestamp: number;
|
|
400
399
|
eventId: string;
|
|
401
|
-
|
|
400
|
+
schemaVersion: 1;
|
|
401
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
402
402
|
payloadHash?: string | undefined;
|
|
403
403
|
}, {
|
|
404
404
|
type: "runFailed";
|
|
405
405
|
runId: string;
|
|
406
|
-
timestamp: number;
|
|
407
406
|
payload: {
|
|
408
407
|
failedNodeId: string;
|
|
409
408
|
rootCauseEventId: string;
|
|
@@ -412,9 +411,10 @@ export declare const RunFailedEventSchema: z.ZodObject<{
|
|
|
412
411
|
bytes: number;
|
|
413
412
|
schemaVersion: number;
|
|
414
413
|
};
|
|
415
|
-
|
|
414
|
+
timestamp: number;
|
|
416
415
|
eventId: string;
|
|
417
|
-
|
|
416
|
+
schemaVersion: 1;
|
|
417
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
418
418
|
payloadHash?: string | undefined;
|
|
419
419
|
}>;
|
|
420
420
|
export declare const RunCanceledEventSchema: z.ZodObject<{
|
|
@@ -447,7 +447,6 @@ export declare const RunCanceledEventSchema: z.ZodObject<{
|
|
|
447
447
|
}, "strip", z.ZodTypeAny, {
|
|
448
448
|
type: "runCanceled";
|
|
449
449
|
runId: string;
|
|
450
|
-
timestamp: number;
|
|
451
450
|
payload: {
|
|
452
451
|
cancelOriginEventId: string;
|
|
453
452
|
} | {
|
|
@@ -455,14 +454,14 @@ export declare const RunCanceledEventSchema: z.ZodObject<{
|
|
|
455
454
|
bytes: number;
|
|
456
455
|
schemaVersion: number;
|
|
457
456
|
};
|
|
458
|
-
|
|
457
|
+
timestamp: number;
|
|
459
458
|
eventId: string;
|
|
460
|
-
|
|
459
|
+
schemaVersion: 1;
|
|
460
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
461
461
|
payloadHash?: string | undefined;
|
|
462
462
|
}, {
|
|
463
463
|
type: "runCanceled";
|
|
464
464
|
runId: string;
|
|
465
|
-
timestamp: number;
|
|
466
465
|
payload: {
|
|
467
466
|
cancelOriginEventId: string;
|
|
468
467
|
} | {
|
|
@@ -470,9 +469,10 @@ export declare const RunCanceledEventSchema: z.ZodObject<{
|
|
|
470
469
|
bytes: number;
|
|
471
470
|
schemaVersion: number;
|
|
472
471
|
};
|
|
473
|
-
|
|
472
|
+
timestamp: number;
|
|
474
473
|
eventId: string;
|
|
475
|
-
|
|
474
|
+
schemaVersion: 1;
|
|
475
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
476
476
|
payloadHash?: string | undefined;
|
|
477
477
|
}>;
|
|
478
478
|
export declare const NodeWaitingEventSchema: z.ZodObject<{
|
|
@@ -511,7 +511,6 @@ export declare const NodeWaitingEventSchema: z.ZodObject<{
|
|
|
511
511
|
}, "strip", z.ZodTypeAny, {
|
|
512
512
|
type: "nodeWaiting";
|
|
513
513
|
runId: string;
|
|
514
|
-
timestamp: number;
|
|
515
514
|
payload: {
|
|
516
515
|
nodeId: string;
|
|
517
516
|
waitReason: string;
|
|
@@ -521,14 +520,14 @@ export declare const NodeWaitingEventSchema: z.ZodObject<{
|
|
|
521
520
|
bytes: number;
|
|
522
521
|
schemaVersion: number;
|
|
523
522
|
};
|
|
524
|
-
|
|
523
|
+
timestamp: number;
|
|
525
524
|
eventId: string;
|
|
526
|
-
|
|
525
|
+
schemaVersion: 1;
|
|
526
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
527
527
|
payloadHash?: string | undefined;
|
|
528
528
|
}, {
|
|
529
529
|
type: "nodeWaiting";
|
|
530
530
|
runId: string;
|
|
531
|
-
timestamp: number;
|
|
532
531
|
payload: {
|
|
533
532
|
nodeId: string;
|
|
534
533
|
waitReason: string;
|
|
@@ -538,9 +537,10 @@ export declare const NodeWaitingEventSchema: z.ZodObject<{
|
|
|
538
537
|
bytes: number;
|
|
539
538
|
schemaVersion: number;
|
|
540
539
|
};
|
|
541
|
-
|
|
540
|
+
timestamp: number;
|
|
542
541
|
eventId: string;
|
|
543
|
-
|
|
542
|
+
schemaVersion: 1;
|
|
543
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
544
544
|
payloadHash?: string | undefined;
|
|
545
545
|
}>;
|
|
546
546
|
export declare const NodeRetryingEventSchema: z.ZodObject<{
|
|
@@ -579,7 +579,6 @@ export declare const NodeRetryingEventSchema: z.ZodObject<{
|
|
|
579
579
|
}, "strip", z.ZodTypeAny, {
|
|
580
580
|
type: "nodeRetrying";
|
|
581
581
|
runId: string;
|
|
582
|
-
timestamp: number;
|
|
583
582
|
payload: {
|
|
584
583
|
nodeId: string;
|
|
585
584
|
lastAttemptId: string;
|
|
@@ -589,14 +588,14 @@ export declare const NodeRetryingEventSchema: z.ZodObject<{
|
|
|
589
588
|
bytes: number;
|
|
590
589
|
schemaVersion: number;
|
|
591
590
|
};
|
|
592
|
-
|
|
591
|
+
timestamp: number;
|
|
593
592
|
eventId: string;
|
|
594
|
-
|
|
593
|
+
schemaVersion: 1;
|
|
594
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
595
595
|
payloadHash?: string | undefined;
|
|
596
596
|
}, {
|
|
597
597
|
type: "nodeRetrying";
|
|
598
598
|
runId: string;
|
|
599
|
-
timestamp: number;
|
|
600
599
|
payload: {
|
|
601
600
|
nodeId: string;
|
|
602
601
|
lastAttemptId: string;
|
|
@@ -606,9 +605,10 @@ export declare const NodeRetryingEventSchema: z.ZodObject<{
|
|
|
606
605
|
bytes: number;
|
|
607
606
|
schemaVersion: number;
|
|
608
607
|
};
|
|
609
|
-
|
|
608
|
+
timestamp: number;
|
|
610
609
|
eventId: string;
|
|
611
|
-
|
|
610
|
+
schemaVersion: 1;
|
|
611
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
612
612
|
payloadHash?: string | undefined;
|
|
613
613
|
}>;
|
|
614
614
|
export declare const NodeSucceededEventSchema: z.ZodObject<{
|
|
@@ -644,7 +644,6 @@ export declare const NodeSucceededEventSchema: z.ZodObject<{
|
|
|
644
644
|
}, "strip", z.ZodTypeAny, {
|
|
645
645
|
type: "nodeSucceeded";
|
|
646
646
|
runId: string;
|
|
647
|
-
timestamp: number;
|
|
648
647
|
payload: {
|
|
649
648
|
nodeId: string;
|
|
650
649
|
lastActivityId: string;
|
|
@@ -653,14 +652,14 @@ export declare const NodeSucceededEventSchema: z.ZodObject<{
|
|
|
653
652
|
bytes: number;
|
|
654
653
|
schemaVersion: number;
|
|
655
654
|
};
|
|
656
|
-
|
|
655
|
+
timestamp: number;
|
|
657
656
|
eventId: string;
|
|
658
|
-
|
|
657
|
+
schemaVersion: 1;
|
|
658
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
659
659
|
payloadHash?: string | undefined;
|
|
660
660
|
}, {
|
|
661
661
|
type: "nodeSucceeded";
|
|
662
662
|
runId: string;
|
|
663
|
-
timestamp: number;
|
|
664
663
|
payload: {
|
|
665
664
|
nodeId: string;
|
|
666
665
|
lastActivityId: string;
|
|
@@ -669,9 +668,10 @@ export declare const NodeSucceededEventSchema: z.ZodObject<{
|
|
|
669
668
|
bytes: number;
|
|
670
669
|
schemaVersion: number;
|
|
671
670
|
};
|
|
672
|
-
|
|
671
|
+
timestamp: number;
|
|
673
672
|
eventId: string;
|
|
674
|
-
|
|
673
|
+
schemaVersion: 1;
|
|
674
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
675
675
|
payloadHash?: string | undefined;
|
|
676
676
|
}>;
|
|
677
677
|
export declare const NodeFailedEventSchema: z.ZodObject<{
|
|
@@ -710,7 +710,6 @@ export declare const NodeFailedEventSchema: z.ZodObject<{
|
|
|
710
710
|
}, "strip", z.ZodTypeAny, {
|
|
711
711
|
type: "nodeFailed";
|
|
712
712
|
runId: string;
|
|
713
|
-
timestamp: number;
|
|
714
713
|
payload: {
|
|
715
714
|
nodeId: string;
|
|
716
715
|
errorClass: "manual" | "fatal" | "retryable" | "userFault";
|
|
@@ -720,14 +719,14 @@ export declare const NodeFailedEventSchema: z.ZodObject<{
|
|
|
720
719
|
bytes: number;
|
|
721
720
|
schemaVersion: number;
|
|
722
721
|
};
|
|
723
|
-
|
|
722
|
+
timestamp: number;
|
|
724
723
|
eventId: string;
|
|
725
|
-
|
|
724
|
+
schemaVersion: 1;
|
|
725
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
726
726
|
payloadHash?: string | undefined;
|
|
727
727
|
}, {
|
|
728
728
|
type: "nodeFailed";
|
|
729
729
|
runId: string;
|
|
730
|
-
timestamp: number;
|
|
731
730
|
payload: {
|
|
732
731
|
nodeId: string;
|
|
733
732
|
errorClass: "manual" | "fatal" | "retryable" | "userFault";
|
|
@@ -737,9 +736,10 @@ export declare const NodeFailedEventSchema: z.ZodObject<{
|
|
|
737
736
|
bytes: number;
|
|
738
737
|
schemaVersion: number;
|
|
739
738
|
};
|
|
740
|
-
|
|
739
|
+
timestamp: number;
|
|
741
740
|
eventId: string;
|
|
742
|
-
|
|
741
|
+
schemaVersion: 1;
|
|
742
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
743
743
|
payloadHash?: string | undefined;
|
|
744
744
|
}>;
|
|
745
745
|
export declare const NodeSkippedEventSchema: z.ZodObject<{
|
|
@@ -775,7 +775,6 @@ export declare const NodeSkippedEventSchema: z.ZodObject<{
|
|
|
775
775
|
}, "strip", z.ZodTypeAny, {
|
|
776
776
|
type: "nodeSkipped";
|
|
777
777
|
runId: string;
|
|
778
|
-
timestamp: number;
|
|
779
778
|
payload: {
|
|
780
779
|
nodeId: string;
|
|
781
780
|
conditionEventId: string;
|
|
@@ -784,14 +783,14 @@ export declare const NodeSkippedEventSchema: z.ZodObject<{
|
|
|
784
783
|
bytes: number;
|
|
785
784
|
schemaVersion: number;
|
|
786
785
|
};
|
|
787
|
-
|
|
786
|
+
timestamp: number;
|
|
788
787
|
eventId: string;
|
|
789
|
-
|
|
788
|
+
schemaVersion: 1;
|
|
789
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
790
790
|
payloadHash?: string | undefined;
|
|
791
791
|
}, {
|
|
792
792
|
type: "nodeSkipped";
|
|
793
793
|
runId: string;
|
|
794
|
-
timestamp: number;
|
|
795
794
|
payload: {
|
|
796
795
|
nodeId: string;
|
|
797
796
|
conditionEventId: string;
|
|
@@ -800,9 +799,10 @@ export declare const NodeSkippedEventSchema: z.ZodObject<{
|
|
|
800
799
|
bytes: number;
|
|
801
800
|
schemaVersion: number;
|
|
802
801
|
};
|
|
803
|
-
|
|
802
|
+
timestamp: number;
|
|
804
803
|
eventId: string;
|
|
805
|
-
|
|
804
|
+
schemaVersion: 1;
|
|
805
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
806
806
|
payloadHash?: string | undefined;
|
|
807
807
|
}>;
|
|
808
808
|
export declare const NodeCanceledEventSchema: z.ZodObject<{
|
|
@@ -838,7 +838,6 @@ export declare const NodeCanceledEventSchema: z.ZodObject<{
|
|
|
838
838
|
}, "strip", z.ZodTypeAny, {
|
|
839
839
|
type: "nodeCanceled";
|
|
840
840
|
runId: string;
|
|
841
|
-
timestamp: number;
|
|
842
841
|
payload: {
|
|
843
842
|
nodeId: string;
|
|
844
843
|
cancelOriginEventId: string;
|
|
@@ -847,14 +846,14 @@ export declare const NodeCanceledEventSchema: z.ZodObject<{
|
|
|
847
846
|
bytes: number;
|
|
848
847
|
schemaVersion: number;
|
|
849
848
|
};
|
|
850
|
-
|
|
849
|
+
timestamp: number;
|
|
851
850
|
eventId: string;
|
|
852
|
-
|
|
851
|
+
schemaVersion: 1;
|
|
852
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
853
853
|
payloadHash?: string | undefined;
|
|
854
854
|
}, {
|
|
855
855
|
type: "nodeCanceled";
|
|
856
856
|
runId: string;
|
|
857
|
-
timestamp: number;
|
|
858
857
|
payload: {
|
|
859
858
|
nodeId: string;
|
|
860
859
|
cancelOriginEventId: string;
|
|
@@ -863,9 +862,10 @@ export declare const NodeCanceledEventSchema: z.ZodObject<{
|
|
|
863
862
|
bytes: number;
|
|
864
863
|
schemaVersion: number;
|
|
865
864
|
};
|
|
866
|
-
|
|
865
|
+
timestamp: number;
|
|
867
866
|
eventId: string;
|
|
868
|
-
|
|
867
|
+
schemaVersion: 1;
|
|
868
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
869
869
|
payloadHash?: string | undefined;
|
|
870
870
|
}>;
|
|
871
871
|
export declare const ActivityRunningEventSchema: z.ZodObject<{
|
|
@@ -904,7 +904,6 @@ export declare const ActivityRunningEventSchema: z.ZodObject<{
|
|
|
904
904
|
}, "strip", z.ZodTypeAny, {
|
|
905
905
|
type: "activityRunning";
|
|
906
906
|
runId: string;
|
|
907
|
-
timestamp: number;
|
|
908
907
|
payload: {
|
|
909
908
|
attemptId: string;
|
|
910
909
|
activityId: string;
|
|
@@ -914,14 +913,14 @@ export declare const ActivityRunningEventSchema: z.ZodObject<{
|
|
|
914
913
|
bytes: number;
|
|
915
914
|
schemaVersion: number;
|
|
916
915
|
};
|
|
917
|
-
|
|
916
|
+
timestamp: number;
|
|
918
917
|
eventId: string;
|
|
919
|
-
|
|
918
|
+
schemaVersion: 1;
|
|
919
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
920
920
|
payloadHash?: string | undefined;
|
|
921
921
|
}, {
|
|
922
922
|
type: "activityRunning";
|
|
923
923
|
runId: string;
|
|
924
|
-
timestamp: number;
|
|
925
924
|
payload: {
|
|
926
925
|
attemptId: string;
|
|
927
926
|
activityId: string;
|
|
@@ -931,9 +930,10 @@ export declare const ActivityRunningEventSchema: z.ZodObject<{
|
|
|
931
930
|
bytes: number;
|
|
932
931
|
schemaVersion: number;
|
|
933
932
|
};
|
|
934
|
-
|
|
933
|
+
timestamp: number;
|
|
935
934
|
eventId: string;
|
|
936
|
-
|
|
935
|
+
schemaVersion: 1;
|
|
936
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
937
937
|
payloadHash?: string | undefined;
|
|
938
938
|
}>;
|
|
939
939
|
export declare const ActivityWaitingEventSchema: z.ZodObject<{
|
|
@@ -969,7 +969,6 @@ export declare const ActivityWaitingEventSchema: z.ZodObject<{
|
|
|
969
969
|
}, "strip", z.ZodTypeAny, {
|
|
970
970
|
type: "activityWaiting";
|
|
971
971
|
runId: string;
|
|
972
|
-
timestamp: number;
|
|
973
972
|
payload: {
|
|
974
973
|
reason: string;
|
|
975
974
|
activityId: string;
|
|
@@ -978,14 +977,14 @@ export declare const ActivityWaitingEventSchema: z.ZodObject<{
|
|
|
978
977
|
bytes: number;
|
|
979
978
|
schemaVersion: number;
|
|
980
979
|
};
|
|
981
|
-
|
|
980
|
+
timestamp: number;
|
|
982
981
|
eventId: string;
|
|
983
|
-
|
|
982
|
+
schemaVersion: 1;
|
|
983
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
984
984
|
payloadHash?: string | undefined;
|
|
985
985
|
}, {
|
|
986
986
|
type: "activityWaiting";
|
|
987
987
|
runId: string;
|
|
988
|
-
timestamp: number;
|
|
989
988
|
payload: {
|
|
990
989
|
reason: string;
|
|
991
990
|
activityId: string;
|
|
@@ -994,9 +993,10 @@ export declare const ActivityWaitingEventSchema: z.ZodObject<{
|
|
|
994
993
|
bytes: number;
|
|
995
994
|
schemaVersion: number;
|
|
996
995
|
};
|
|
997
|
-
|
|
996
|
+
timestamp: number;
|
|
998
997
|
eventId: string;
|
|
999
|
-
|
|
998
|
+
schemaVersion: 1;
|
|
999
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
1000
1000
|
payloadHash?: string | undefined;
|
|
1001
1001
|
}>;
|
|
1002
1002
|
export declare const ActivityTimedOutEventSchema: z.ZodObject<{
|
|
@@ -1041,7 +1041,6 @@ export declare const ActivityTimedOutEventSchema: z.ZodObject<{
|
|
|
1041
1041
|
}, "strip", z.ZodTypeAny, {
|
|
1042
1042
|
type: "activityTimedOut";
|
|
1043
1043
|
runId: string;
|
|
1044
|
-
timestamp: number;
|
|
1045
1044
|
payload: {
|
|
1046
1045
|
reason: "LeaseExpired";
|
|
1047
1046
|
attemptId: string;
|
|
@@ -1053,14 +1052,14 @@ export declare const ActivityTimedOutEventSchema: z.ZodObject<{
|
|
|
1053
1052
|
bytes: number;
|
|
1054
1053
|
schemaVersion: number;
|
|
1055
1054
|
};
|
|
1056
|
-
|
|
1055
|
+
timestamp: number;
|
|
1057
1056
|
eventId: string;
|
|
1058
|
-
|
|
1057
|
+
schemaVersion: 1;
|
|
1058
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
1059
1059
|
payloadHash?: string | undefined;
|
|
1060
1060
|
}, {
|
|
1061
1061
|
type: "activityTimedOut";
|
|
1062
1062
|
runId: string;
|
|
1063
|
-
timestamp: number;
|
|
1064
1063
|
payload: {
|
|
1065
1064
|
reason: "LeaseExpired";
|
|
1066
1065
|
attemptId: string;
|
|
@@ -1072,9 +1071,10 @@ export declare const ActivityTimedOutEventSchema: z.ZodObject<{
|
|
|
1072
1071
|
bytes: number;
|
|
1073
1072
|
schemaVersion: number;
|
|
1074
1073
|
};
|
|
1075
|
-
|
|
1074
|
+
timestamp: number;
|
|
1076
1075
|
eventId: string;
|
|
1077
|
-
|
|
1076
|
+
schemaVersion: 1;
|
|
1077
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
1078
1078
|
payloadHash?: string | undefined;
|
|
1079
1079
|
}>;
|
|
1080
1080
|
export declare const LoopStartedEventSchema: z.ZodObject<{
|
|
@@ -1110,7 +1110,6 @@ export declare const LoopStartedEventSchema: z.ZodObject<{
|
|
|
1110
1110
|
}, "strip", z.ZodTypeAny, {
|
|
1111
1111
|
type: "loopStarted";
|
|
1112
1112
|
runId: string;
|
|
1113
|
-
timestamp: number;
|
|
1114
1113
|
payload: {
|
|
1115
1114
|
maxIterations: number;
|
|
1116
1115
|
loopId: string;
|
|
@@ -1119,14 +1118,14 @@ export declare const LoopStartedEventSchema: z.ZodObject<{
|
|
|
1119
1118
|
bytes: number;
|
|
1120
1119
|
schemaVersion: number;
|
|
1121
1120
|
};
|
|
1122
|
-
|
|
1121
|
+
timestamp: number;
|
|
1123
1122
|
eventId: string;
|
|
1124
|
-
|
|
1123
|
+
schemaVersion: 1;
|
|
1124
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
1125
1125
|
payloadHash?: string | undefined;
|
|
1126
1126
|
}, {
|
|
1127
1127
|
type: "loopStarted";
|
|
1128
1128
|
runId: string;
|
|
1129
|
-
timestamp: number;
|
|
1130
1129
|
payload: {
|
|
1131
1130
|
maxIterations: number;
|
|
1132
1131
|
loopId: string;
|
|
@@ -1135,9 +1134,10 @@ export declare const LoopStartedEventSchema: z.ZodObject<{
|
|
|
1135
1134
|
bytes: number;
|
|
1136
1135
|
schemaVersion: number;
|
|
1137
1136
|
};
|
|
1138
|
-
|
|
1137
|
+
timestamp: number;
|
|
1139
1138
|
eventId: string;
|
|
1140
|
-
|
|
1139
|
+
schemaVersion: 1;
|
|
1140
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
1141
1141
|
payloadHash?: string | undefined;
|
|
1142
1142
|
}>;
|
|
1143
1143
|
export declare const LoopIterationStartedEventSchema: z.ZodObject<{
|
|
@@ -1176,7 +1176,6 @@ export declare const LoopIterationStartedEventSchema: z.ZodObject<{
|
|
|
1176
1176
|
}, "strip", z.ZodTypeAny, {
|
|
1177
1177
|
type: "loopIterationStarted";
|
|
1178
1178
|
runId: string;
|
|
1179
|
-
timestamp: number;
|
|
1180
1179
|
payload: {
|
|
1181
1180
|
loopId: string;
|
|
1182
1181
|
iteration: number;
|
|
@@ -1186,14 +1185,14 @@ export declare const LoopIterationStartedEventSchema: z.ZodObject<{
|
|
|
1186
1185
|
bytes: number;
|
|
1187
1186
|
schemaVersion: number;
|
|
1188
1187
|
};
|
|
1189
|
-
|
|
1188
|
+
timestamp: number;
|
|
1190
1189
|
eventId: string;
|
|
1191
|
-
|
|
1190
|
+
schemaVersion: 1;
|
|
1191
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
1192
1192
|
payloadHash?: string | undefined;
|
|
1193
1193
|
}, {
|
|
1194
1194
|
type: "loopIterationStarted";
|
|
1195
1195
|
runId: string;
|
|
1196
|
-
timestamp: number;
|
|
1197
1196
|
payload: {
|
|
1198
1197
|
loopId: string;
|
|
1199
1198
|
iteration: number;
|
|
@@ -1203,9 +1202,10 @@ export declare const LoopIterationStartedEventSchema: z.ZodObject<{
|
|
|
1203
1202
|
bytes: number;
|
|
1204
1203
|
schemaVersion: number;
|
|
1205
1204
|
};
|
|
1206
|
-
|
|
1205
|
+
timestamp: number;
|
|
1207
1206
|
eventId: string;
|
|
1208
|
-
|
|
1207
|
+
schemaVersion: 1;
|
|
1208
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
1209
1209
|
payloadHash?: string | undefined;
|
|
1210
1210
|
}>;
|
|
1211
1211
|
export declare const LoopIterationFinishedEventSchema: z.ZodObject<{
|
|
@@ -1259,7 +1259,6 @@ export declare const LoopIterationFinishedEventSchema: z.ZodObject<{
|
|
|
1259
1259
|
}, "strip", z.ZodTypeAny, {
|
|
1260
1260
|
type: "loopIterationFinished";
|
|
1261
1261
|
runId: string;
|
|
1262
|
-
timestamp: number;
|
|
1263
1262
|
payload: {
|
|
1264
1263
|
loopId: string;
|
|
1265
1264
|
iteration: number;
|
|
@@ -1274,14 +1273,14 @@ export declare const LoopIterationFinishedEventSchema: z.ZodObject<{
|
|
|
1274
1273
|
bytes: number;
|
|
1275
1274
|
schemaVersion: number;
|
|
1276
1275
|
};
|
|
1277
|
-
|
|
1276
|
+
timestamp: number;
|
|
1278
1277
|
eventId: string;
|
|
1279
|
-
|
|
1278
|
+
schemaVersion: 1;
|
|
1279
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
1280
1280
|
payloadHash?: string | undefined;
|
|
1281
1281
|
}, {
|
|
1282
1282
|
type: "loopIterationFinished";
|
|
1283
1283
|
runId: string;
|
|
1284
|
-
timestamp: number;
|
|
1285
1284
|
payload: {
|
|
1286
1285
|
loopId: string;
|
|
1287
1286
|
iteration: number;
|
|
@@ -1296,9 +1295,10 @@ export declare const LoopIterationFinishedEventSchema: z.ZodObject<{
|
|
|
1296
1295
|
bytes: number;
|
|
1297
1296
|
schemaVersion: number;
|
|
1298
1297
|
};
|
|
1299
|
-
|
|
1298
|
+
timestamp: number;
|
|
1300
1299
|
eventId: string;
|
|
1301
|
-
|
|
1300
|
+
schemaVersion: 1;
|
|
1301
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
1302
1302
|
payloadHash?: string | undefined;
|
|
1303
1303
|
}>;
|
|
1304
1304
|
export declare const LoopFinishedEventSchema: z.ZodObject<{
|
|
@@ -1330,7 +1330,7 @@ export declare const LoopFinishedEventSchema: z.ZodObject<{
|
|
|
1330
1330
|
errorClass: z.ZodOptional<z.ZodEnum<["retryable", "fatal", "userFault", "manual"]>>;
|
|
1331
1331
|
}, "strip", z.ZodTypeAny, {
|
|
1332
1332
|
loopId: string;
|
|
1333
|
-
resolution: "timeout" | "approved" | "max-iterations-exceeded" | "body-failed"
|
|
1333
|
+
resolution: "timeout" | "cancelled" | "approved" | "max-iterations-exceeded" | "body-failed";
|
|
1334
1334
|
finalIteration: number;
|
|
1335
1335
|
errorCode?: "LeaseExpired" | "WorkerCrashed" | "NetworkError" | "ProviderRateLimited" | "IdempotencyInputMismatch" | "IdempotencyConflict" | "InputValidationFailed" | "InputBindingFailed" | "OutputSchemaViolation" | "WaitDeadlineExceeded" | "TtlExpired" | "UnknownProviderError" | "InputUnrecoverable" | "CorruptLog" | "LoopMaxIterationsExceeded" | "LoopBodyFailed" | undefined;
|
|
1336
1336
|
errorClass?: "manual" | "fatal" | "retryable" | "userFault" | undefined;
|
|
@@ -1343,7 +1343,7 @@ export declare const LoopFinishedEventSchema: z.ZodObject<{
|
|
|
1343
1343
|
} | undefined;
|
|
1344
1344
|
}, {
|
|
1345
1345
|
loopId: string;
|
|
1346
|
-
resolution: "timeout" | "approved" | "max-iterations-exceeded" | "body-failed"
|
|
1346
|
+
resolution: "timeout" | "cancelled" | "approved" | "max-iterations-exceeded" | "body-failed";
|
|
1347
1347
|
finalIteration: number;
|
|
1348
1348
|
errorCode?: "LeaseExpired" | "WorkerCrashed" | "NetworkError" | "ProviderRateLimited" | "IdempotencyInputMismatch" | "IdempotencyConflict" | "InputValidationFailed" | "InputBindingFailed" | "OutputSchemaViolation" | "WaitDeadlineExceeded" | "TtlExpired" | "UnknownProviderError" | "InputUnrecoverable" | "CorruptLog" | "LoopMaxIterationsExceeded" | "LoopBodyFailed" | undefined;
|
|
1349
1349
|
errorClass?: "manual" | "fatal" | "retryable" | "userFault" | undefined;
|
|
@@ -1376,10 +1376,9 @@ export declare const LoopFinishedEventSchema: z.ZodObject<{
|
|
|
1376
1376
|
}, "strip", z.ZodTypeAny, {
|
|
1377
1377
|
type: "loopFinished";
|
|
1378
1378
|
runId: string;
|
|
1379
|
-
timestamp: number;
|
|
1380
1379
|
payload: {
|
|
1381
1380
|
loopId: string;
|
|
1382
|
-
resolution: "timeout" | "approved" | "max-iterations-exceeded" | "body-failed"
|
|
1381
|
+
resolution: "timeout" | "cancelled" | "approved" | "max-iterations-exceeded" | "body-failed";
|
|
1383
1382
|
finalIteration: number;
|
|
1384
1383
|
errorCode?: "LeaseExpired" | "WorkerCrashed" | "NetworkError" | "ProviderRateLimited" | "IdempotencyInputMismatch" | "IdempotencyConflict" | "InputValidationFailed" | "InputBindingFailed" | "OutputSchemaViolation" | "WaitDeadlineExceeded" | "TtlExpired" | "UnknownProviderError" | "InputUnrecoverable" | "CorruptLog" | "LoopMaxIterationsExceeded" | "LoopBodyFailed" | undefined;
|
|
1385
1384
|
errorClass?: "manual" | "fatal" | "retryable" | "userFault" | undefined;
|
|
@@ -1395,17 +1394,17 @@ export declare const LoopFinishedEventSchema: z.ZodObject<{
|
|
|
1395
1394
|
bytes: number;
|
|
1396
1395
|
schemaVersion: number;
|
|
1397
1396
|
};
|
|
1398
|
-
|
|
1397
|
+
timestamp: number;
|
|
1399
1398
|
eventId: string;
|
|
1400
|
-
|
|
1399
|
+
schemaVersion: 1;
|
|
1400
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
1401
1401
|
payloadHash?: string | undefined;
|
|
1402
1402
|
}, {
|
|
1403
1403
|
type: "loopFinished";
|
|
1404
1404
|
runId: string;
|
|
1405
|
-
timestamp: number;
|
|
1406
1405
|
payload: {
|
|
1407
1406
|
loopId: string;
|
|
1408
|
-
resolution: "timeout" | "approved" | "max-iterations-exceeded" | "body-failed"
|
|
1407
|
+
resolution: "timeout" | "cancelled" | "approved" | "max-iterations-exceeded" | "body-failed";
|
|
1409
1408
|
finalIteration: number;
|
|
1410
1409
|
errorCode?: "LeaseExpired" | "WorkerCrashed" | "NetworkError" | "ProviderRateLimited" | "IdempotencyInputMismatch" | "IdempotencyConflict" | "InputValidationFailed" | "InputBindingFailed" | "OutputSchemaViolation" | "WaitDeadlineExceeded" | "TtlExpired" | "UnknownProviderError" | "InputUnrecoverable" | "CorruptLog" | "LoopMaxIterationsExceeded" | "LoopBodyFailed" | undefined;
|
|
1411
1410
|
errorClass?: "manual" | "fatal" | "retryable" | "userFault" | undefined;
|
|
@@ -1421,9 +1420,10 @@ export declare const LoopFinishedEventSchema: z.ZodObject<{
|
|
|
1421
1420
|
bytes: number;
|
|
1422
1421
|
schemaVersion: number;
|
|
1423
1422
|
};
|
|
1424
|
-
|
|
1423
|
+
timestamp: number;
|
|
1425
1424
|
eventId: string;
|
|
1426
|
-
|
|
1425
|
+
schemaVersion: 1;
|
|
1426
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
1427
1427
|
payloadHash?: string | undefined;
|
|
1428
1428
|
}>;
|
|
1429
1429
|
export declare const ConditionEvaluatedEventSchema: z.ZodObject<{
|
|
@@ -1465,7 +1465,6 @@ export declare const ConditionEvaluatedEventSchema: z.ZodObject<{
|
|
|
1465
1465
|
}, "strip", z.ZodTypeAny, {
|
|
1466
1466
|
type: "conditionEvaluated";
|
|
1467
1467
|
runId: string;
|
|
1468
|
-
timestamp: number;
|
|
1469
1468
|
payload: {
|
|
1470
1469
|
nodeId: string;
|
|
1471
1470
|
conditionExpr: string;
|
|
@@ -1476,14 +1475,14 @@ export declare const ConditionEvaluatedEventSchema: z.ZodObject<{
|
|
|
1476
1475
|
bytes: number;
|
|
1477
1476
|
schemaVersion: number;
|
|
1478
1477
|
};
|
|
1479
|
-
|
|
1478
|
+
timestamp: number;
|
|
1480
1479
|
eventId: string;
|
|
1481
|
-
|
|
1480
|
+
schemaVersion: 1;
|
|
1481
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
1482
1482
|
payloadHash?: string | undefined;
|
|
1483
1483
|
}, {
|
|
1484
1484
|
type: "conditionEvaluated";
|
|
1485
1485
|
runId: string;
|
|
1486
|
-
timestamp: number;
|
|
1487
1486
|
payload: {
|
|
1488
1487
|
nodeId: string;
|
|
1489
1488
|
conditionExpr: string;
|
|
@@ -1494,9 +1493,10 @@ export declare const ConditionEvaluatedEventSchema: z.ZodObject<{
|
|
|
1494
1493
|
bytes: number;
|
|
1495
1494
|
schemaVersion: number;
|
|
1496
1495
|
};
|
|
1497
|
-
|
|
1496
|
+
timestamp: number;
|
|
1498
1497
|
eventId: string;
|
|
1499
|
-
|
|
1498
|
+
schemaVersion: 1;
|
|
1499
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
1500
1500
|
payloadHash?: string | undefined;
|
|
1501
1501
|
}>;
|
|
1502
1502
|
export declare const LeaseSignedEventSchema: z.ZodObject<{
|
|
@@ -1541,7 +1541,6 @@ export declare const LeaseSignedEventSchema: z.ZodObject<{
|
|
|
1541
1541
|
}, "strip", z.ZodTypeAny, {
|
|
1542
1542
|
type: "leaseSigned";
|
|
1543
1543
|
runId: string;
|
|
1544
|
-
timestamp: number;
|
|
1545
1544
|
payload: {
|
|
1546
1545
|
timeoutMs: number;
|
|
1547
1546
|
attemptId: string;
|
|
@@ -1553,14 +1552,14 @@ export declare const LeaseSignedEventSchema: z.ZodObject<{
|
|
|
1553
1552
|
bytes: number;
|
|
1554
1553
|
schemaVersion: number;
|
|
1555
1554
|
};
|
|
1556
|
-
|
|
1555
|
+
timestamp: number;
|
|
1557
1556
|
eventId: string;
|
|
1558
|
-
|
|
1557
|
+
schemaVersion: 1;
|
|
1558
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
1559
1559
|
payloadHash?: string | undefined;
|
|
1560
1560
|
}, {
|
|
1561
1561
|
type: "leaseSigned";
|
|
1562
1562
|
runId: string;
|
|
1563
|
-
timestamp: number;
|
|
1564
1563
|
payload: {
|
|
1565
1564
|
timeoutMs: number;
|
|
1566
1565
|
attemptId: string;
|
|
@@ -1572,9 +1571,10 @@ export declare const LeaseSignedEventSchema: z.ZodObject<{
|
|
|
1572
1571
|
bytes: number;
|
|
1573
1572
|
schemaVersion: number;
|
|
1574
1573
|
};
|
|
1575
|
-
|
|
1574
|
+
timestamp: number;
|
|
1576
1575
|
eventId: string;
|
|
1577
|
-
|
|
1576
|
+
schemaVersion: 1;
|
|
1577
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
1578
1578
|
payloadHash?: string | undefined;
|
|
1579
1579
|
}>;
|
|
1580
1580
|
export declare const AttemptCreatedEventSchema: z.ZodObject<{
|
|
@@ -1649,7 +1649,6 @@ export declare const AttemptCreatedEventSchema: z.ZodObject<{
|
|
|
1649
1649
|
}, "strip", z.ZodTypeAny, {
|
|
1650
1650
|
type: "attemptCreated";
|
|
1651
1651
|
runId: string;
|
|
1652
|
-
timestamp: number;
|
|
1653
1652
|
payload: {
|
|
1654
1653
|
nodeId: string;
|
|
1655
1654
|
attemptId: string;
|
|
@@ -1667,14 +1666,14 @@ export declare const AttemptCreatedEventSchema: z.ZodObject<{
|
|
|
1667
1666
|
bytes: number;
|
|
1668
1667
|
schemaVersion: number;
|
|
1669
1668
|
};
|
|
1670
|
-
|
|
1669
|
+
timestamp: number;
|
|
1671
1670
|
eventId: string;
|
|
1672
|
-
|
|
1671
|
+
schemaVersion: 1;
|
|
1672
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
1673
1673
|
payloadHash?: string | undefined;
|
|
1674
1674
|
}, {
|
|
1675
1675
|
type: "attemptCreated";
|
|
1676
1676
|
runId: string;
|
|
1677
|
-
timestamp: number;
|
|
1678
1677
|
payload: {
|
|
1679
1678
|
nodeId: string;
|
|
1680
1679
|
attemptId: string;
|
|
@@ -1692,9 +1691,10 @@ export declare const AttemptCreatedEventSchema: z.ZodObject<{
|
|
|
1692
1691
|
bytes: number;
|
|
1693
1692
|
schemaVersion: number;
|
|
1694
1693
|
};
|
|
1695
|
-
|
|
1694
|
+
timestamp: number;
|
|
1696
1695
|
eventId: string;
|
|
1697
|
-
|
|
1696
|
+
schemaVersion: 1;
|
|
1697
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
1698
1698
|
payloadHash?: string | undefined;
|
|
1699
1699
|
}>;
|
|
1700
1700
|
export declare const BackoffScheduledEventSchema: z.ZodObject<{
|
|
@@ -1761,7 +1761,6 @@ export declare const BackoffScheduledEventSchema: z.ZodObject<{
|
|
|
1761
1761
|
}, "strip", z.ZodTypeAny, {
|
|
1762
1762
|
type: "backoffScheduled";
|
|
1763
1763
|
runId: string;
|
|
1764
|
-
timestamp: number;
|
|
1765
1764
|
payload: {
|
|
1766
1765
|
nodeId: string;
|
|
1767
1766
|
lastAttemptId: string;
|
|
@@ -1777,14 +1776,14 @@ export declare const BackoffScheduledEventSchema: z.ZodObject<{
|
|
|
1777
1776
|
bytes: number;
|
|
1778
1777
|
schemaVersion: number;
|
|
1779
1778
|
};
|
|
1780
|
-
|
|
1779
|
+
timestamp: number;
|
|
1781
1780
|
eventId: string;
|
|
1782
|
-
|
|
1781
|
+
schemaVersion: 1;
|
|
1782
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
1783
1783
|
payloadHash?: string | undefined;
|
|
1784
1784
|
}, {
|
|
1785
1785
|
type: "backoffScheduled";
|
|
1786
1786
|
runId: string;
|
|
1787
|
-
timestamp: number;
|
|
1788
1787
|
payload: {
|
|
1789
1788
|
nodeId: string;
|
|
1790
1789
|
lastAttemptId: string;
|
|
@@ -1800,9 +1799,10 @@ export declare const BackoffScheduledEventSchema: z.ZodObject<{
|
|
|
1800
1799
|
bytes: number;
|
|
1801
1800
|
schemaVersion: number;
|
|
1802
1801
|
};
|
|
1803
|
-
|
|
1802
|
+
timestamp: number;
|
|
1804
1803
|
eventId: string;
|
|
1805
|
-
|
|
1804
|
+
schemaVersion: 1;
|
|
1805
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
1806
1806
|
payloadHash?: string | undefined;
|
|
1807
1807
|
}>;
|
|
1808
1808
|
export declare const BackoffElapsedEventSchema: z.ZodObject<{
|
|
@@ -1838,7 +1838,6 @@ export declare const BackoffElapsedEventSchema: z.ZodObject<{
|
|
|
1838
1838
|
}, "strip", z.ZodTypeAny, {
|
|
1839
1839
|
type: "backoffElapsed";
|
|
1840
1840
|
runId: string;
|
|
1841
|
-
timestamp: number;
|
|
1842
1841
|
payload: {
|
|
1843
1842
|
nodeId: string;
|
|
1844
1843
|
scheduledAttemptId: string;
|
|
@@ -1847,14 +1846,14 @@ export declare const BackoffElapsedEventSchema: z.ZodObject<{
|
|
|
1847
1846
|
bytes: number;
|
|
1848
1847
|
schemaVersion: number;
|
|
1849
1848
|
};
|
|
1850
|
-
|
|
1849
|
+
timestamp: number;
|
|
1851
1850
|
eventId: string;
|
|
1852
|
-
|
|
1851
|
+
schemaVersion: 1;
|
|
1852
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
1853
1853
|
payloadHash?: string | undefined;
|
|
1854
1854
|
}, {
|
|
1855
1855
|
type: "backoffElapsed";
|
|
1856
1856
|
runId: string;
|
|
1857
|
-
timestamp: number;
|
|
1858
1857
|
payload: {
|
|
1859
1858
|
nodeId: string;
|
|
1860
1859
|
scheduledAttemptId: string;
|
|
@@ -1863,9 +1862,10 @@ export declare const BackoffElapsedEventSchema: z.ZodObject<{
|
|
|
1863
1862
|
bytes: number;
|
|
1864
1863
|
schemaVersion: number;
|
|
1865
1864
|
};
|
|
1866
|
-
|
|
1865
|
+
timestamp: number;
|
|
1867
1866
|
eventId: string;
|
|
1868
|
-
|
|
1867
|
+
schemaVersion: 1;
|
|
1868
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
1869
1869
|
payloadHash?: string | undefined;
|
|
1870
1870
|
}>;
|
|
1871
1871
|
export declare const EffectAttemptedEventSchema: z.ZodObject<{
|
|
@@ -1913,7 +1913,6 @@ export declare const EffectAttemptedEventSchema: z.ZodObject<{
|
|
|
1913
1913
|
}, "strip", z.ZodTypeAny, {
|
|
1914
1914
|
type: "effectAttempted";
|
|
1915
1915
|
runId: string;
|
|
1916
|
-
timestamp: number;
|
|
1917
1916
|
payload: {
|
|
1918
1917
|
attemptId: string;
|
|
1919
1918
|
activityId: string;
|
|
@@ -1926,14 +1925,14 @@ export declare const EffectAttemptedEventSchema: z.ZodObject<{
|
|
|
1926
1925
|
bytes: number;
|
|
1927
1926
|
schemaVersion: number;
|
|
1928
1927
|
};
|
|
1929
|
-
|
|
1928
|
+
timestamp: number;
|
|
1930
1929
|
eventId: string;
|
|
1931
|
-
|
|
1930
|
+
schemaVersion: 1;
|
|
1931
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
1932
1932
|
payloadHash?: string | undefined;
|
|
1933
1933
|
}, {
|
|
1934
1934
|
type: "effectAttempted";
|
|
1935
1935
|
runId: string;
|
|
1936
|
-
timestamp: number;
|
|
1937
1936
|
payload: {
|
|
1938
1937
|
attemptId: string;
|
|
1939
1938
|
activityId: string;
|
|
@@ -1946,9 +1945,10 @@ export declare const EffectAttemptedEventSchema: z.ZodObject<{
|
|
|
1946
1945
|
bytes: number;
|
|
1947
1946
|
schemaVersion: number;
|
|
1948
1947
|
};
|
|
1949
|
-
|
|
1948
|
+
timestamp: number;
|
|
1950
1949
|
eventId: string;
|
|
1951
|
-
|
|
1950
|
+
schemaVersion: 1;
|
|
1951
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
1952
1952
|
payloadHash?: string | undefined;
|
|
1953
1953
|
}>;
|
|
1954
1954
|
export declare const ActivitySucceededEventSchema: z.ZodObject<{
|
|
@@ -2020,7 +2020,6 @@ export declare const ActivitySucceededEventSchema: z.ZodObject<{
|
|
|
2020
2020
|
}, "strip", z.ZodTypeAny, {
|
|
2021
2021
|
type: "activitySucceeded";
|
|
2022
2022
|
runId: string;
|
|
2023
|
-
timestamp: number;
|
|
2024
2023
|
payload: {
|
|
2025
2024
|
attemptId: string;
|
|
2026
2025
|
activityId: string;
|
|
@@ -2037,14 +2036,14 @@ export declare const ActivitySucceededEventSchema: z.ZodObject<{
|
|
|
2037
2036
|
bytes: number;
|
|
2038
2037
|
schemaVersion: number;
|
|
2039
2038
|
};
|
|
2040
|
-
|
|
2039
|
+
timestamp: number;
|
|
2041
2040
|
eventId: string;
|
|
2042
|
-
|
|
2041
|
+
schemaVersion: 1;
|
|
2042
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
2043
2043
|
payloadHash?: string | undefined;
|
|
2044
2044
|
}, {
|
|
2045
2045
|
type: "activitySucceeded";
|
|
2046
2046
|
runId: string;
|
|
2047
|
-
timestamp: number;
|
|
2048
2047
|
payload: {
|
|
2049
2048
|
attemptId: string;
|
|
2050
2049
|
activityId: string;
|
|
@@ -2061,9 +2060,10 @@ export declare const ActivitySucceededEventSchema: z.ZodObject<{
|
|
|
2061
2060
|
bytes: number;
|
|
2062
2061
|
schemaVersion: number;
|
|
2063
2062
|
};
|
|
2064
|
-
|
|
2063
|
+
timestamp: number;
|
|
2065
2064
|
eventId: string;
|
|
2066
|
-
|
|
2065
|
+
schemaVersion: 1;
|
|
2066
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
2067
2067
|
payloadHash?: string | undefined;
|
|
2068
2068
|
}>;
|
|
2069
2069
|
export declare const ActivityFailedEventSchema: z.ZodObject<{
|
|
@@ -2127,7 +2127,6 @@ export declare const ActivityFailedEventSchema: z.ZodObject<{
|
|
|
2127
2127
|
}, "strip", z.ZodTypeAny, {
|
|
2128
2128
|
type: "activityFailed";
|
|
2129
2129
|
runId: string;
|
|
2130
|
-
timestamp: number;
|
|
2131
2130
|
payload: {
|
|
2132
2131
|
error: {
|
|
2133
2132
|
errorCode: "LeaseExpired" | "WorkerCrashed" | "NetworkError" | "ProviderRateLimited" | "IdempotencyInputMismatch" | "IdempotencyConflict" | "InputValidationFailed" | "InputBindingFailed" | "OutputSchemaViolation" | "WaitDeadlineExceeded" | "TtlExpired" | "UnknownProviderError" | "InputUnrecoverable" | "CorruptLog" | "LoopMaxIterationsExceeded" | "LoopBodyFailed";
|
|
@@ -2142,14 +2141,14 @@ export declare const ActivityFailedEventSchema: z.ZodObject<{
|
|
|
2142
2141
|
bytes: number;
|
|
2143
2142
|
schemaVersion: number;
|
|
2144
2143
|
};
|
|
2145
|
-
|
|
2144
|
+
timestamp: number;
|
|
2146
2145
|
eventId: string;
|
|
2147
|
-
|
|
2146
|
+
schemaVersion: 1;
|
|
2147
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
2148
2148
|
payloadHash?: string | undefined;
|
|
2149
2149
|
}, {
|
|
2150
2150
|
type: "activityFailed";
|
|
2151
2151
|
runId: string;
|
|
2152
|
-
timestamp: number;
|
|
2153
2152
|
payload: {
|
|
2154
2153
|
error: {
|
|
2155
2154
|
errorCode: "LeaseExpired" | "WorkerCrashed" | "NetworkError" | "ProviderRateLimited" | "IdempotencyInputMismatch" | "IdempotencyConflict" | "InputValidationFailed" | "InputBindingFailed" | "OutputSchemaViolation" | "WaitDeadlineExceeded" | "TtlExpired" | "UnknownProviderError" | "InputUnrecoverable" | "CorruptLog" | "LoopMaxIterationsExceeded" | "LoopBodyFailed";
|
|
@@ -2164,9 +2163,10 @@ export declare const ActivityFailedEventSchema: z.ZodObject<{
|
|
|
2164
2163
|
bytes: number;
|
|
2165
2164
|
schemaVersion: number;
|
|
2166
2165
|
};
|
|
2167
|
-
|
|
2166
|
+
timestamp: number;
|
|
2168
2167
|
eventId: string;
|
|
2169
|
-
|
|
2168
|
+
schemaVersion: 1;
|
|
2169
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
2170
2170
|
payloadHash?: string | undefined;
|
|
2171
2171
|
}>;
|
|
2172
2172
|
export declare const WaitCreatedEventSchema: z.ZodObject<{
|
|
@@ -2253,7 +2253,6 @@ export declare const WaitCreatedEventSchema: z.ZodObject<{
|
|
|
2253
2253
|
}, "strip", z.ZodTypeAny, {
|
|
2254
2254
|
type: "waitCreated";
|
|
2255
2255
|
runId: string;
|
|
2256
|
-
timestamp: number;
|
|
2257
2256
|
payload: {
|
|
2258
2257
|
nodeId: string;
|
|
2259
2258
|
activityId: string;
|
|
@@ -2275,14 +2274,14 @@ export declare const WaitCreatedEventSchema: z.ZodObject<{
|
|
|
2275
2274
|
bytes: number;
|
|
2276
2275
|
schemaVersion: number;
|
|
2277
2276
|
};
|
|
2278
|
-
|
|
2277
|
+
timestamp: number;
|
|
2279
2278
|
eventId: string;
|
|
2280
|
-
|
|
2279
|
+
schemaVersion: 1;
|
|
2280
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
2281
2281
|
payloadHash?: string | undefined;
|
|
2282
2282
|
}, {
|
|
2283
2283
|
type: "waitCreated";
|
|
2284
2284
|
runId: string;
|
|
2285
|
-
timestamp: number;
|
|
2286
2285
|
payload: {
|
|
2287
2286
|
nodeId: string;
|
|
2288
2287
|
activityId: string;
|
|
@@ -2304,9 +2303,10 @@ export declare const WaitCreatedEventSchema: z.ZodObject<{
|
|
|
2304
2303
|
bytes: number;
|
|
2305
2304
|
schemaVersion: number;
|
|
2306
2305
|
};
|
|
2307
|
-
|
|
2306
|
+
timestamp: number;
|
|
2308
2307
|
eventId: string;
|
|
2309
|
-
|
|
2308
|
+
schemaVersion: 1;
|
|
2309
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
2310
2310
|
payloadHash?: string | undefined;
|
|
2311
2311
|
}>;
|
|
2312
2312
|
export declare const WaitResolvedEventSchema: z.ZodObject<{
|
|
@@ -2348,7 +2348,6 @@ export declare const WaitResolvedEventSchema: z.ZodObject<{
|
|
|
2348
2348
|
}, "strip", z.ZodTypeAny, {
|
|
2349
2349
|
type: "waitResolved";
|
|
2350
2350
|
runId: string;
|
|
2351
|
-
timestamp: number;
|
|
2352
2351
|
payload: {
|
|
2353
2352
|
activityId: string;
|
|
2354
2353
|
resolution: "approved" | "rejected" | "external";
|
|
@@ -2359,14 +2358,14 @@ export declare const WaitResolvedEventSchema: z.ZodObject<{
|
|
|
2359
2358
|
bytes: number;
|
|
2360
2359
|
schemaVersion: number;
|
|
2361
2360
|
};
|
|
2362
|
-
|
|
2361
|
+
timestamp: number;
|
|
2363
2362
|
eventId: string;
|
|
2364
|
-
|
|
2363
|
+
schemaVersion: 1;
|
|
2364
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
2365
2365
|
payloadHash?: string | undefined;
|
|
2366
2366
|
}, {
|
|
2367
2367
|
type: "waitResolved";
|
|
2368
2368
|
runId: string;
|
|
2369
|
-
timestamp: number;
|
|
2370
2369
|
payload: {
|
|
2371
2370
|
activityId: string;
|
|
2372
2371
|
resolution: "approved" | "rejected" | "external";
|
|
@@ -2377,9 +2376,10 @@ export declare const WaitResolvedEventSchema: z.ZodObject<{
|
|
|
2377
2376
|
bytes: number;
|
|
2378
2377
|
schemaVersion: number;
|
|
2379
2378
|
};
|
|
2380
|
-
|
|
2379
|
+
timestamp: number;
|
|
2381
2380
|
eventId: string;
|
|
2382
|
-
|
|
2381
|
+
schemaVersion: 1;
|
|
2382
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
2383
2383
|
payloadHash?: string | undefined;
|
|
2384
2384
|
}>;
|
|
2385
2385
|
export declare const WaitDeadlineExceededEventSchema: z.ZodObject<{
|
|
@@ -2418,7 +2418,6 @@ export declare const WaitDeadlineExceededEventSchema: z.ZodObject<{
|
|
|
2418
2418
|
}, "strip", z.ZodTypeAny, {
|
|
2419
2419
|
type: "waitDeadlineExceeded";
|
|
2420
2420
|
runId: string;
|
|
2421
|
-
timestamp: number;
|
|
2422
2421
|
payload: {
|
|
2423
2422
|
activityId: string;
|
|
2424
2423
|
deadlineAt: number;
|
|
@@ -2428,14 +2427,14 @@ export declare const WaitDeadlineExceededEventSchema: z.ZodObject<{
|
|
|
2428
2427
|
bytes: number;
|
|
2429
2428
|
schemaVersion: number;
|
|
2430
2429
|
};
|
|
2431
|
-
|
|
2430
|
+
timestamp: number;
|
|
2432
2431
|
eventId: string;
|
|
2433
|
-
|
|
2432
|
+
schemaVersion: 1;
|
|
2433
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
2434
2434
|
payloadHash?: string | undefined;
|
|
2435
2435
|
}, {
|
|
2436
2436
|
type: "waitDeadlineExceeded";
|
|
2437
2437
|
runId: string;
|
|
2438
|
-
timestamp: number;
|
|
2439
2438
|
payload: {
|
|
2440
2439
|
activityId: string;
|
|
2441
2440
|
deadlineAt: number;
|
|
@@ -2445,9 +2444,10 @@ export declare const WaitDeadlineExceededEventSchema: z.ZodObject<{
|
|
|
2445
2444
|
bytes: number;
|
|
2446
2445
|
schemaVersion: number;
|
|
2447
2446
|
};
|
|
2448
|
-
|
|
2447
|
+
timestamp: number;
|
|
2449
2448
|
eventId: string;
|
|
2450
|
-
|
|
2449
|
+
schemaVersion: 1;
|
|
2450
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
2451
2451
|
payloadHash?: string | undefined;
|
|
2452
2452
|
}>;
|
|
2453
2453
|
export declare const CancelRequestedEventSchema: z.ZodObject<{
|
|
@@ -2485,7 +2485,6 @@ export declare const CancelRequestedEventSchema: z.ZodObject<{
|
|
|
2485
2485
|
by: z.ZodString;
|
|
2486
2486
|
}, "strip", z.ZodTypeAny, {
|
|
2487
2487
|
reason: string;
|
|
2488
|
-
by: string;
|
|
2489
2488
|
target: {
|
|
2490
2489
|
kind: "run";
|
|
2491
2490
|
runId: string;
|
|
@@ -2496,9 +2495,9 @@ export declare const CancelRequestedEventSchema: z.ZodObject<{
|
|
|
2496
2495
|
kind: "activity";
|
|
2497
2496
|
activityId: string;
|
|
2498
2497
|
};
|
|
2498
|
+
by: string;
|
|
2499
2499
|
}, {
|
|
2500
2500
|
reason: string;
|
|
2501
|
-
by: string;
|
|
2502
2501
|
target: {
|
|
2503
2502
|
kind: "run";
|
|
2504
2503
|
runId: string;
|
|
@@ -2509,6 +2508,7 @@ export declare const CancelRequestedEventSchema: z.ZodObject<{
|
|
|
2509
2508
|
kind: "activity";
|
|
2510
2509
|
activityId: string;
|
|
2511
2510
|
};
|
|
2511
|
+
by: string;
|
|
2512
2512
|
}>, z.ZodObject<{
|
|
2513
2513
|
ref: z.ZodString;
|
|
2514
2514
|
bytes: z.ZodNumber;
|
|
@@ -2531,10 +2531,8 @@ export declare const CancelRequestedEventSchema: z.ZodObject<{
|
|
|
2531
2531
|
}, "strip", z.ZodTypeAny, {
|
|
2532
2532
|
type: "cancelRequested";
|
|
2533
2533
|
runId: string;
|
|
2534
|
-
timestamp: number;
|
|
2535
2534
|
payload: {
|
|
2536
2535
|
reason: string;
|
|
2537
|
-
by: string;
|
|
2538
2536
|
target: {
|
|
2539
2537
|
kind: "run";
|
|
2540
2538
|
runId: string;
|
|
@@ -2545,22 +2543,22 @@ export declare const CancelRequestedEventSchema: z.ZodObject<{
|
|
|
2545
2543
|
kind: "activity";
|
|
2546
2544
|
activityId: string;
|
|
2547
2545
|
};
|
|
2546
|
+
by: string;
|
|
2548
2547
|
} | {
|
|
2549
2548
|
ref: string;
|
|
2550
2549
|
bytes: number;
|
|
2551
2550
|
schemaVersion: number;
|
|
2552
2551
|
};
|
|
2553
|
-
|
|
2552
|
+
timestamp: number;
|
|
2554
2553
|
eventId: string;
|
|
2555
|
-
|
|
2554
|
+
schemaVersion: 1;
|
|
2555
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
2556
2556
|
payloadHash?: string | undefined;
|
|
2557
2557
|
}, {
|
|
2558
2558
|
type: "cancelRequested";
|
|
2559
2559
|
runId: string;
|
|
2560
|
-
timestamp: number;
|
|
2561
2560
|
payload: {
|
|
2562
2561
|
reason: string;
|
|
2563
|
-
by: string;
|
|
2564
2562
|
target: {
|
|
2565
2563
|
kind: "run";
|
|
2566
2564
|
runId: string;
|
|
@@ -2571,14 +2569,16 @@ export declare const CancelRequestedEventSchema: z.ZodObject<{
|
|
|
2571
2569
|
kind: "activity";
|
|
2572
2570
|
activityId: string;
|
|
2573
2571
|
};
|
|
2572
|
+
by: string;
|
|
2574
2573
|
} | {
|
|
2575
2574
|
ref: string;
|
|
2576
2575
|
bytes: number;
|
|
2577
2576
|
schemaVersion: number;
|
|
2578
2577
|
};
|
|
2579
|
-
|
|
2578
|
+
timestamp: number;
|
|
2580
2579
|
eventId: string;
|
|
2581
|
-
|
|
2580
|
+
schemaVersion: 1;
|
|
2581
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
2582
2582
|
payloadHash?: string | undefined;
|
|
2583
2583
|
}>;
|
|
2584
2584
|
export declare const CancelDeliveredEventSchema: z.ZodObject<{
|
|
@@ -2614,7 +2614,6 @@ export declare const CancelDeliveredEventSchema: z.ZodObject<{
|
|
|
2614
2614
|
}>]>;
|
|
2615
2615
|
activityId: z.ZodString;
|
|
2616
2616
|
}, "strip", z.ZodTypeAny, {
|
|
2617
|
-
activityId: string;
|
|
2618
2617
|
target: {
|
|
2619
2618
|
kind: "run";
|
|
2620
2619
|
runId: string;
|
|
@@ -2625,8 +2624,8 @@ export declare const CancelDeliveredEventSchema: z.ZodObject<{
|
|
|
2625
2624
|
kind: "activity";
|
|
2626
2625
|
activityId: string;
|
|
2627
2626
|
};
|
|
2628
|
-
}, {
|
|
2629
2627
|
activityId: string;
|
|
2628
|
+
}, {
|
|
2630
2629
|
target: {
|
|
2631
2630
|
kind: "run";
|
|
2632
2631
|
runId: string;
|
|
@@ -2637,6 +2636,7 @@ export declare const CancelDeliveredEventSchema: z.ZodObject<{
|
|
|
2637
2636
|
kind: "activity";
|
|
2638
2637
|
activityId: string;
|
|
2639
2638
|
};
|
|
2639
|
+
activityId: string;
|
|
2640
2640
|
}>, z.ZodObject<{
|
|
2641
2641
|
ref: z.ZodString;
|
|
2642
2642
|
bytes: z.ZodNumber;
|
|
@@ -2659,9 +2659,7 @@ export declare const CancelDeliveredEventSchema: z.ZodObject<{
|
|
|
2659
2659
|
}, "strip", z.ZodTypeAny, {
|
|
2660
2660
|
type: "cancelDelivered";
|
|
2661
2661
|
runId: string;
|
|
2662
|
-
timestamp: number;
|
|
2663
2662
|
payload: {
|
|
2664
|
-
activityId: string;
|
|
2665
2663
|
target: {
|
|
2666
2664
|
kind: "run";
|
|
2667
2665
|
runId: string;
|
|
@@ -2672,21 +2670,21 @@ export declare const CancelDeliveredEventSchema: z.ZodObject<{
|
|
|
2672
2670
|
kind: "activity";
|
|
2673
2671
|
activityId: string;
|
|
2674
2672
|
};
|
|
2673
|
+
activityId: string;
|
|
2675
2674
|
} | {
|
|
2676
2675
|
ref: string;
|
|
2677
2676
|
bytes: number;
|
|
2678
2677
|
schemaVersion: number;
|
|
2679
2678
|
};
|
|
2680
|
-
|
|
2679
|
+
timestamp: number;
|
|
2681
2680
|
eventId: string;
|
|
2682
|
-
|
|
2681
|
+
schemaVersion: 1;
|
|
2682
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
2683
2683
|
payloadHash?: string | undefined;
|
|
2684
2684
|
}, {
|
|
2685
2685
|
type: "cancelDelivered";
|
|
2686
2686
|
runId: string;
|
|
2687
|
-
timestamp: number;
|
|
2688
2687
|
payload: {
|
|
2689
|
-
activityId: string;
|
|
2690
2688
|
target: {
|
|
2691
2689
|
kind: "run";
|
|
2692
2690
|
runId: string;
|
|
@@ -2697,14 +2695,16 @@ export declare const CancelDeliveredEventSchema: z.ZodObject<{
|
|
|
2697
2695
|
kind: "activity";
|
|
2698
2696
|
activityId: string;
|
|
2699
2697
|
};
|
|
2698
|
+
activityId: string;
|
|
2700
2699
|
} | {
|
|
2701
2700
|
ref: string;
|
|
2702
2701
|
bytes: number;
|
|
2703
2702
|
schemaVersion: number;
|
|
2704
2703
|
};
|
|
2705
|
-
|
|
2704
|
+
timestamp: number;
|
|
2706
2705
|
eventId: string;
|
|
2707
|
-
|
|
2706
|
+
schemaVersion: 1;
|
|
2707
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
2708
2708
|
payloadHash?: string | undefined;
|
|
2709
2709
|
}>;
|
|
2710
2710
|
export declare const ActivityCanceledEventSchema: z.ZodObject<{
|
|
@@ -2743,7 +2743,6 @@ export declare const ActivityCanceledEventSchema: z.ZodObject<{
|
|
|
2743
2743
|
}, "strip", z.ZodTypeAny, {
|
|
2744
2744
|
type: "activityCanceled";
|
|
2745
2745
|
runId: string;
|
|
2746
|
-
timestamp: number;
|
|
2747
2746
|
payload: {
|
|
2748
2747
|
attemptId: string;
|
|
2749
2748
|
activityId: string;
|
|
@@ -2753,14 +2752,14 @@ export declare const ActivityCanceledEventSchema: z.ZodObject<{
|
|
|
2753
2752
|
bytes: number;
|
|
2754
2753
|
schemaVersion: number;
|
|
2755
2754
|
};
|
|
2756
|
-
|
|
2755
|
+
timestamp: number;
|
|
2757
2756
|
eventId: string;
|
|
2758
|
-
|
|
2757
|
+
schemaVersion: 1;
|
|
2758
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
2759
2759
|
payloadHash?: string | undefined;
|
|
2760
2760
|
}, {
|
|
2761
2761
|
type: "activityCanceled";
|
|
2762
2762
|
runId: string;
|
|
2763
|
-
timestamp: number;
|
|
2764
2763
|
payload: {
|
|
2765
2764
|
attemptId: string;
|
|
2766
2765
|
activityId: string;
|
|
@@ -2770,9 +2769,10 @@ export declare const ActivityCanceledEventSchema: z.ZodObject<{
|
|
|
2770
2769
|
bytes: number;
|
|
2771
2770
|
schemaVersion: number;
|
|
2772
2771
|
};
|
|
2773
|
-
|
|
2772
|
+
timestamp: number;
|
|
2774
2773
|
eventId: string;
|
|
2775
|
-
|
|
2774
|
+
schemaVersion: 1;
|
|
2775
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
2776
2776
|
payloadHash?: string | undefined;
|
|
2777
2777
|
}>;
|
|
2778
2778
|
export declare const WorkerLostEventSchema: z.ZodObject<{
|
|
@@ -2808,7 +2808,6 @@ export declare const WorkerLostEventSchema: z.ZodObject<{
|
|
|
2808
2808
|
}, "strip", z.ZodTypeAny, {
|
|
2809
2809
|
type: "workerLost";
|
|
2810
2810
|
runId: string;
|
|
2811
|
-
timestamp: number;
|
|
2812
2811
|
payload: {
|
|
2813
2812
|
workerId: string;
|
|
2814
2813
|
lostActivityIds: string[];
|
|
@@ -2817,14 +2816,14 @@ export declare const WorkerLostEventSchema: z.ZodObject<{
|
|
|
2817
2816
|
bytes: number;
|
|
2818
2817
|
schemaVersion: number;
|
|
2819
2818
|
};
|
|
2820
|
-
|
|
2819
|
+
timestamp: number;
|
|
2821
2820
|
eventId: string;
|
|
2822
|
-
|
|
2821
|
+
schemaVersion: 1;
|
|
2822
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
2823
2823
|
payloadHash?: string | undefined;
|
|
2824
2824
|
}, {
|
|
2825
2825
|
type: "workerLost";
|
|
2826
2826
|
runId: string;
|
|
2827
|
-
timestamp: number;
|
|
2828
2827
|
payload: {
|
|
2829
2828
|
workerId: string;
|
|
2830
2829
|
lostActivityIds: string[];
|
|
@@ -2833,9 +2832,10 @@ export declare const WorkerLostEventSchema: z.ZodObject<{
|
|
|
2833
2832
|
bytes: number;
|
|
2834
2833
|
schemaVersion: number;
|
|
2835
2834
|
};
|
|
2836
|
-
|
|
2835
|
+
timestamp: number;
|
|
2837
2836
|
eventId: string;
|
|
2838
|
-
|
|
2837
|
+
schemaVersion: 1;
|
|
2838
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
2839
2839
|
payloadHash?: string | undefined;
|
|
2840
2840
|
}>;
|
|
2841
2841
|
export declare const ResumeStartedEventSchema: z.ZodObject<{
|
|
@@ -2871,7 +2871,6 @@ export declare const ResumeStartedEventSchema: z.ZodObject<{
|
|
|
2871
2871
|
}, "strip", z.ZodTypeAny, {
|
|
2872
2872
|
type: "resumeStarted";
|
|
2873
2873
|
runId: string;
|
|
2874
|
-
timestamp: number;
|
|
2875
2874
|
payload: {
|
|
2876
2875
|
daemonId: string;
|
|
2877
2876
|
lastSeenEventId: string;
|
|
@@ -2880,14 +2879,14 @@ export declare const ResumeStartedEventSchema: z.ZodObject<{
|
|
|
2880
2879
|
bytes: number;
|
|
2881
2880
|
schemaVersion: number;
|
|
2882
2881
|
};
|
|
2883
|
-
|
|
2882
|
+
timestamp: number;
|
|
2884
2883
|
eventId: string;
|
|
2885
|
-
|
|
2884
|
+
schemaVersion: 1;
|
|
2885
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
2886
2886
|
payloadHash?: string | undefined;
|
|
2887
2887
|
}, {
|
|
2888
2888
|
type: "resumeStarted";
|
|
2889
2889
|
runId: string;
|
|
2890
|
-
timestamp: number;
|
|
2891
2890
|
payload: {
|
|
2892
2891
|
daemonId: string;
|
|
2893
2892
|
lastSeenEventId: string;
|
|
@@ -2896,9 +2895,10 @@ export declare const ResumeStartedEventSchema: z.ZodObject<{
|
|
|
2896
2895
|
bytes: number;
|
|
2897
2896
|
schemaVersion: number;
|
|
2898
2897
|
};
|
|
2899
|
-
|
|
2898
|
+
timestamp: number;
|
|
2900
2899
|
eventId: string;
|
|
2901
|
-
|
|
2900
|
+
schemaVersion: 1;
|
|
2901
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
2902
2902
|
payloadHash?: string | undefined;
|
|
2903
2903
|
}>;
|
|
2904
2904
|
export declare const ReconcileResultEventSchema: z.ZodObject<{
|
|
@@ -2912,15 +2912,15 @@ export declare const ReconcileResultEventSchema: z.ZodObject<{
|
|
|
2912
2912
|
}, "strip", z.ZodTypeAny, {
|
|
2913
2913
|
capability: "none" | "readOnlyLookup" | "idempotentSubmit";
|
|
2914
2914
|
decision: "manual" | "replayed" | "completedByIdempotentSubmit" | "freshRetry";
|
|
2915
|
+
evidence: Record<string, unknown>;
|
|
2915
2916
|
activityId: string;
|
|
2916
2917
|
idempotencyKey: string;
|
|
2917
|
-
evidence: Record<string, unknown>;
|
|
2918
2918
|
}, {
|
|
2919
2919
|
capability: "none" | "readOnlyLookup" | "idempotentSubmit";
|
|
2920
2920
|
decision: "manual" | "replayed" | "completedByIdempotentSubmit" | "freshRetry";
|
|
2921
|
+
evidence: Record<string, unknown>;
|
|
2921
2922
|
activityId: string;
|
|
2922
2923
|
idempotencyKey: string;
|
|
2923
|
-
evidence: Record<string, unknown>;
|
|
2924
2924
|
}>, z.ZodObject<{
|
|
2925
2925
|
ref: z.ZodString;
|
|
2926
2926
|
bytes: z.ZodNumber;
|
|
@@ -2943,40 +2943,40 @@ export declare const ReconcileResultEventSchema: z.ZodObject<{
|
|
|
2943
2943
|
}, "strip", z.ZodTypeAny, {
|
|
2944
2944
|
type: "reconcileResult";
|
|
2945
2945
|
runId: string;
|
|
2946
|
-
timestamp: number;
|
|
2947
2946
|
payload: {
|
|
2948
2947
|
capability: "none" | "readOnlyLookup" | "idempotentSubmit";
|
|
2949
2948
|
decision: "manual" | "replayed" | "completedByIdempotentSubmit" | "freshRetry";
|
|
2949
|
+
evidence: Record<string, unknown>;
|
|
2950
2950
|
activityId: string;
|
|
2951
2951
|
idempotencyKey: string;
|
|
2952
|
-
evidence: Record<string, unknown>;
|
|
2953
2952
|
} | {
|
|
2954
2953
|
ref: string;
|
|
2955
2954
|
bytes: number;
|
|
2956
2955
|
schemaVersion: number;
|
|
2957
2956
|
};
|
|
2958
|
-
|
|
2957
|
+
timestamp: number;
|
|
2959
2958
|
eventId: string;
|
|
2960
|
-
|
|
2959
|
+
schemaVersion: 1;
|
|
2960
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
2961
2961
|
payloadHash?: string | undefined;
|
|
2962
2962
|
}, {
|
|
2963
2963
|
type: "reconcileResult";
|
|
2964
2964
|
runId: string;
|
|
2965
|
-
timestamp: number;
|
|
2966
2965
|
payload: {
|
|
2967
2966
|
capability: "none" | "readOnlyLookup" | "idempotentSubmit";
|
|
2968
2967
|
decision: "manual" | "replayed" | "completedByIdempotentSubmit" | "freshRetry";
|
|
2968
|
+
evidence: Record<string, unknown>;
|
|
2969
2969
|
activityId: string;
|
|
2970
2970
|
idempotencyKey: string;
|
|
2971
|
-
evidence: Record<string, unknown>;
|
|
2972
2971
|
} | {
|
|
2973
2972
|
ref: string;
|
|
2974
2973
|
bytes: number;
|
|
2975
2974
|
schemaVersion: number;
|
|
2976
2975
|
};
|
|
2977
|
-
|
|
2976
|
+
timestamp: number;
|
|
2978
2977
|
eventId: string;
|
|
2979
|
-
|
|
2978
|
+
schemaVersion: 1;
|
|
2979
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
2980
2980
|
payloadHash?: string | undefined;
|
|
2981
2981
|
}>;
|
|
2982
2982
|
/**
|
|
@@ -3110,7 +3110,6 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3110
3110
|
}, "strip", z.ZodTypeAny, {
|
|
3111
3111
|
type: "runCreated";
|
|
3112
3112
|
runId: string;
|
|
3113
|
-
timestamp: number;
|
|
3114
3113
|
payload: {
|
|
3115
3114
|
workflowId: string;
|
|
3116
3115
|
revisionId: string;
|
|
@@ -3138,14 +3137,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3138
3137
|
bytes: number;
|
|
3139
3138
|
schemaVersion: number;
|
|
3140
3139
|
};
|
|
3141
|
-
|
|
3140
|
+
timestamp: number;
|
|
3142
3141
|
eventId: string;
|
|
3143
|
-
|
|
3142
|
+
schemaVersion: 1;
|
|
3143
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
3144
3144
|
payloadHash?: string | undefined;
|
|
3145
3145
|
}, {
|
|
3146
3146
|
type: "runCreated";
|
|
3147
3147
|
runId: string;
|
|
3148
|
-
timestamp: number;
|
|
3149
3148
|
payload: {
|
|
3150
3149
|
workflowId: string;
|
|
3151
3150
|
revisionId: string;
|
|
@@ -3173,9 +3172,10 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3173
3172
|
bytes: number;
|
|
3174
3173
|
schemaVersion: number;
|
|
3175
3174
|
};
|
|
3176
|
-
|
|
3175
|
+
timestamp: number;
|
|
3177
3176
|
eventId: string;
|
|
3178
|
-
|
|
3177
|
+
schemaVersion: 1;
|
|
3178
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
3179
3179
|
payloadHash?: string | undefined;
|
|
3180
3180
|
}>, z.ZodObject<{
|
|
3181
3181
|
type: z.ZodLiteral<"runStarted">;
|
|
@@ -3201,28 +3201,28 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3201
3201
|
}, "strip", z.ZodTypeAny, {
|
|
3202
3202
|
type: "runStarted";
|
|
3203
3203
|
runId: string;
|
|
3204
|
-
timestamp: number;
|
|
3205
3204
|
payload: {} | {
|
|
3206
3205
|
ref: string;
|
|
3207
3206
|
bytes: number;
|
|
3208
3207
|
schemaVersion: number;
|
|
3209
3208
|
};
|
|
3210
|
-
|
|
3209
|
+
timestamp: number;
|
|
3211
3210
|
eventId: string;
|
|
3212
|
-
|
|
3211
|
+
schemaVersion: 1;
|
|
3212
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
3213
3213
|
payloadHash?: string | undefined;
|
|
3214
3214
|
}, {
|
|
3215
3215
|
type: "runStarted";
|
|
3216
3216
|
runId: string;
|
|
3217
|
-
timestamp: number;
|
|
3218
3217
|
payload: {} | {
|
|
3219
3218
|
ref: string;
|
|
3220
3219
|
bytes: number;
|
|
3221
3220
|
schemaVersion: number;
|
|
3222
3221
|
};
|
|
3223
|
-
|
|
3222
|
+
timestamp: number;
|
|
3224
3223
|
eventId: string;
|
|
3225
|
-
|
|
3224
|
+
schemaVersion: 1;
|
|
3225
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
3226
3226
|
payloadHash?: string | undefined;
|
|
3227
3227
|
}>, z.ZodObject<{
|
|
3228
3228
|
type: z.ZodLiteral<"runSucceeded">;
|
|
@@ -3284,7 +3284,6 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3284
3284
|
}, "strip", z.ZodTypeAny, {
|
|
3285
3285
|
type: "runSucceeded";
|
|
3286
3286
|
runId: string;
|
|
3287
|
-
timestamp: number;
|
|
3288
3287
|
payload: {
|
|
3289
3288
|
outputRef: {
|
|
3290
3289
|
outputHash: string;
|
|
@@ -3298,14 +3297,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3298
3297
|
bytes: number;
|
|
3299
3298
|
schemaVersion: number;
|
|
3300
3299
|
};
|
|
3301
|
-
|
|
3300
|
+
timestamp: number;
|
|
3302
3301
|
eventId: string;
|
|
3303
|
-
|
|
3302
|
+
schemaVersion: 1;
|
|
3303
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
3304
3304
|
payloadHash?: string | undefined;
|
|
3305
3305
|
}, {
|
|
3306
3306
|
type: "runSucceeded";
|
|
3307
3307
|
runId: string;
|
|
3308
|
-
timestamp: number;
|
|
3309
3308
|
payload: {
|
|
3310
3309
|
outputRef: {
|
|
3311
3310
|
outputHash: string;
|
|
@@ -3319,9 +3318,10 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3319
3318
|
bytes: number;
|
|
3320
3319
|
schemaVersion: number;
|
|
3321
3320
|
};
|
|
3322
|
-
|
|
3321
|
+
timestamp: number;
|
|
3323
3322
|
eventId: string;
|
|
3324
|
-
|
|
3323
|
+
schemaVersion: 1;
|
|
3324
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
3325
3325
|
payloadHash?: string | undefined;
|
|
3326
3326
|
}>, z.ZodObject<{
|
|
3327
3327
|
type: z.ZodLiteral<"runFailed">;
|
|
@@ -3356,7 +3356,6 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3356
3356
|
}, "strip", z.ZodTypeAny, {
|
|
3357
3357
|
type: "runFailed";
|
|
3358
3358
|
runId: string;
|
|
3359
|
-
timestamp: number;
|
|
3360
3359
|
payload: {
|
|
3361
3360
|
failedNodeId: string;
|
|
3362
3361
|
rootCauseEventId: string;
|
|
@@ -3365,14 +3364,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3365
3364
|
bytes: number;
|
|
3366
3365
|
schemaVersion: number;
|
|
3367
3366
|
};
|
|
3368
|
-
|
|
3367
|
+
timestamp: number;
|
|
3369
3368
|
eventId: string;
|
|
3370
|
-
|
|
3369
|
+
schemaVersion: 1;
|
|
3370
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
3371
3371
|
payloadHash?: string | undefined;
|
|
3372
3372
|
}, {
|
|
3373
3373
|
type: "runFailed";
|
|
3374
3374
|
runId: string;
|
|
3375
|
-
timestamp: number;
|
|
3376
3375
|
payload: {
|
|
3377
3376
|
failedNodeId: string;
|
|
3378
3377
|
rootCauseEventId: string;
|
|
@@ -3381,9 +3380,10 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3381
3380
|
bytes: number;
|
|
3382
3381
|
schemaVersion: number;
|
|
3383
3382
|
};
|
|
3384
|
-
|
|
3383
|
+
timestamp: number;
|
|
3385
3384
|
eventId: string;
|
|
3386
|
-
|
|
3385
|
+
schemaVersion: 1;
|
|
3386
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
3387
3387
|
payloadHash?: string | undefined;
|
|
3388
3388
|
}>, z.ZodObject<{
|
|
3389
3389
|
type: z.ZodLiteral<"runCanceled">;
|
|
@@ -3415,7 +3415,6 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3415
3415
|
}, "strip", z.ZodTypeAny, {
|
|
3416
3416
|
type: "runCanceled";
|
|
3417
3417
|
runId: string;
|
|
3418
|
-
timestamp: number;
|
|
3419
3418
|
payload: {
|
|
3420
3419
|
cancelOriginEventId: string;
|
|
3421
3420
|
} | {
|
|
@@ -3423,14 +3422,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3423
3422
|
bytes: number;
|
|
3424
3423
|
schemaVersion: number;
|
|
3425
3424
|
};
|
|
3426
|
-
|
|
3425
|
+
timestamp: number;
|
|
3427
3426
|
eventId: string;
|
|
3428
|
-
|
|
3427
|
+
schemaVersion: 1;
|
|
3428
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
3429
3429
|
payloadHash?: string | undefined;
|
|
3430
3430
|
}, {
|
|
3431
3431
|
type: "runCanceled";
|
|
3432
3432
|
runId: string;
|
|
3433
|
-
timestamp: number;
|
|
3434
3433
|
payload: {
|
|
3435
3434
|
cancelOriginEventId: string;
|
|
3436
3435
|
} | {
|
|
@@ -3438,9 +3437,10 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3438
3437
|
bytes: number;
|
|
3439
3438
|
schemaVersion: number;
|
|
3440
3439
|
};
|
|
3441
|
-
|
|
3440
|
+
timestamp: number;
|
|
3442
3441
|
eventId: string;
|
|
3443
|
-
|
|
3442
|
+
schemaVersion: 1;
|
|
3443
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
3444
3444
|
payloadHash?: string | undefined;
|
|
3445
3445
|
}>, z.ZodObject<{
|
|
3446
3446
|
type: z.ZodLiteral<"nodeWaiting">;
|
|
@@ -3478,7 +3478,6 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3478
3478
|
}, "strip", z.ZodTypeAny, {
|
|
3479
3479
|
type: "nodeWaiting";
|
|
3480
3480
|
runId: string;
|
|
3481
|
-
timestamp: number;
|
|
3482
3481
|
payload: {
|
|
3483
3482
|
nodeId: string;
|
|
3484
3483
|
waitReason: string;
|
|
@@ -3488,14 +3487,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3488
3487
|
bytes: number;
|
|
3489
3488
|
schemaVersion: number;
|
|
3490
3489
|
};
|
|
3491
|
-
|
|
3490
|
+
timestamp: number;
|
|
3492
3491
|
eventId: string;
|
|
3493
|
-
|
|
3492
|
+
schemaVersion: 1;
|
|
3493
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
3494
3494
|
payloadHash?: string | undefined;
|
|
3495
3495
|
}, {
|
|
3496
3496
|
type: "nodeWaiting";
|
|
3497
3497
|
runId: string;
|
|
3498
|
-
timestamp: number;
|
|
3499
3498
|
payload: {
|
|
3500
3499
|
nodeId: string;
|
|
3501
3500
|
waitReason: string;
|
|
@@ -3505,9 +3504,10 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3505
3504
|
bytes: number;
|
|
3506
3505
|
schemaVersion: number;
|
|
3507
3506
|
};
|
|
3508
|
-
|
|
3507
|
+
timestamp: number;
|
|
3509
3508
|
eventId: string;
|
|
3510
|
-
|
|
3509
|
+
schemaVersion: 1;
|
|
3510
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
3511
3511
|
payloadHash?: string | undefined;
|
|
3512
3512
|
}>, z.ZodObject<{
|
|
3513
3513
|
type: z.ZodLiteral<"nodeRetrying">;
|
|
@@ -3545,7 +3545,6 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3545
3545
|
}, "strip", z.ZodTypeAny, {
|
|
3546
3546
|
type: "nodeRetrying";
|
|
3547
3547
|
runId: string;
|
|
3548
|
-
timestamp: number;
|
|
3549
3548
|
payload: {
|
|
3550
3549
|
nodeId: string;
|
|
3551
3550
|
lastAttemptId: string;
|
|
@@ -3555,14 +3554,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3555
3554
|
bytes: number;
|
|
3556
3555
|
schemaVersion: number;
|
|
3557
3556
|
};
|
|
3558
|
-
|
|
3557
|
+
timestamp: number;
|
|
3559
3558
|
eventId: string;
|
|
3560
|
-
|
|
3559
|
+
schemaVersion: 1;
|
|
3560
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
3561
3561
|
payloadHash?: string | undefined;
|
|
3562
3562
|
}, {
|
|
3563
3563
|
type: "nodeRetrying";
|
|
3564
3564
|
runId: string;
|
|
3565
|
-
timestamp: number;
|
|
3566
3565
|
payload: {
|
|
3567
3566
|
nodeId: string;
|
|
3568
3567
|
lastAttemptId: string;
|
|
@@ -3572,9 +3571,10 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3572
3571
|
bytes: number;
|
|
3573
3572
|
schemaVersion: number;
|
|
3574
3573
|
};
|
|
3575
|
-
|
|
3574
|
+
timestamp: number;
|
|
3576
3575
|
eventId: string;
|
|
3577
|
-
|
|
3576
|
+
schemaVersion: 1;
|
|
3577
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
3578
3578
|
payloadHash?: string | undefined;
|
|
3579
3579
|
}>, z.ZodObject<{
|
|
3580
3580
|
type: z.ZodLiteral<"nodeSucceeded">;
|
|
@@ -3609,7 +3609,6 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3609
3609
|
}, "strip", z.ZodTypeAny, {
|
|
3610
3610
|
type: "nodeSucceeded";
|
|
3611
3611
|
runId: string;
|
|
3612
|
-
timestamp: number;
|
|
3613
3612
|
payload: {
|
|
3614
3613
|
nodeId: string;
|
|
3615
3614
|
lastActivityId: string;
|
|
@@ -3618,14 +3617,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3618
3617
|
bytes: number;
|
|
3619
3618
|
schemaVersion: number;
|
|
3620
3619
|
};
|
|
3621
|
-
|
|
3620
|
+
timestamp: number;
|
|
3622
3621
|
eventId: string;
|
|
3623
|
-
|
|
3622
|
+
schemaVersion: 1;
|
|
3623
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
3624
3624
|
payloadHash?: string | undefined;
|
|
3625
3625
|
}, {
|
|
3626
3626
|
type: "nodeSucceeded";
|
|
3627
3627
|
runId: string;
|
|
3628
|
-
timestamp: number;
|
|
3629
3628
|
payload: {
|
|
3630
3629
|
nodeId: string;
|
|
3631
3630
|
lastActivityId: string;
|
|
@@ -3634,9 +3633,10 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3634
3633
|
bytes: number;
|
|
3635
3634
|
schemaVersion: number;
|
|
3636
3635
|
};
|
|
3637
|
-
|
|
3636
|
+
timestamp: number;
|
|
3638
3637
|
eventId: string;
|
|
3639
|
-
|
|
3638
|
+
schemaVersion: 1;
|
|
3639
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
3640
3640
|
payloadHash?: string | undefined;
|
|
3641
3641
|
}>, z.ZodObject<{
|
|
3642
3642
|
type: z.ZodLiteral<"nodeFailed">;
|
|
@@ -3674,7 +3674,6 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3674
3674
|
}, "strip", z.ZodTypeAny, {
|
|
3675
3675
|
type: "nodeFailed";
|
|
3676
3676
|
runId: string;
|
|
3677
|
-
timestamp: number;
|
|
3678
3677
|
payload: {
|
|
3679
3678
|
nodeId: string;
|
|
3680
3679
|
errorClass: "manual" | "fatal" | "retryable" | "userFault";
|
|
@@ -3684,14 +3683,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3684
3683
|
bytes: number;
|
|
3685
3684
|
schemaVersion: number;
|
|
3686
3685
|
};
|
|
3687
|
-
|
|
3686
|
+
timestamp: number;
|
|
3688
3687
|
eventId: string;
|
|
3689
|
-
|
|
3688
|
+
schemaVersion: 1;
|
|
3689
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
3690
3690
|
payloadHash?: string | undefined;
|
|
3691
3691
|
}, {
|
|
3692
3692
|
type: "nodeFailed";
|
|
3693
3693
|
runId: string;
|
|
3694
|
-
timestamp: number;
|
|
3695
3694
|
payload: {
|
|
3696
3695
|
nodeId: string;
|
|
3697
3696
|
errorClass: "manual" | "fatal" | "retryable" | "userFault";
|
|
@@ -3701,9 +3700,10 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3701
3700
|
bytes: number;
|
|
3702
3701
|
schemaVersion: number;
|
|
3703
3702
|
};
|
|
3704
|
-
|
|
3703
|
+
timestamp: number;
|
|
3705
3704
|
eventId: string;
|
|
3706
|
-
|
|
3705
|
+
schemaVersion: 1;
|
|
3706
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
3707
3707
|
payloadHash?: string | undefined;
|
|
3708
3708
|
}>, z.ZodObject<{
|
|
3709
3709
|
type: z.ZodLiteral<"nodeSkipped">;
|
|
@@ -3738,7 +3738,6 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3738
3738
|
}, "strip", z.ZodTypeAny, {
|
|
3739
3739
|
type: "nodeSkipped";
|
|
3740
3740
|
runId: string;
|
|
3741
|
-
timestamp: number;
|
|
3742
3741
|
payload: {
|
|
3743
3742
|
nodeId: string;
|
|
3744
3743
|
conditionEventId: string;
|
|
@@ -3747,14 +3746,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3747
3746
|
bytes: number;
|
|
3748
3747
|
schemaVersion: number;
|
|
3749
3748
|
};
|
|
3750
|
-
|
|
3749
|
+
timestamp: number;
|
|
3751
3750
|
eventId: string;
|
|
3752
|
-
|
|
3751
|
+
schemaVersion: 1;
|
|
3752
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
3753
3753
|
payloadHash?: string | undefined;
|
|
3754
3754
|
}, {
|
|
3755
3755
|
type: "nodeSkipped";
|
|
3756
3756
|
runId: string;
|
|
3757
|
-
timestamp: number;
|
|
3758
3757
|
payload: {
|
|
3759
3758
|
nodeId: string;
|
|
3760
3759
|
conditionEventId: string;
|
|
@@ -3763,9 +3762,10 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3763
3762
|
bytes: number;
|
|
3764
3763
|
schemaVersion: number;
|
|
3765
3764
|
};
|
|
3766
|
-
|
|
3765
|
+
timestamp: number;
|
|
3767
3766
|
eventId: string;
|
|
3768
|
-
|
|
3767
|
+
schemaVersion: 1;
|
|
3768
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
3769
3769
|
payloadHash?: string | undefined;
|
|
3770
3770
|
}>, z.ZodObject<{
|
|
3771
3771
|
type: z.ZodLiteral<"nodeCanceled">;
|
|
@@ -3800,7 +3800,6 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3800
3800
|
}, "strip", z.ZodTypeAny, {
|
|
3801
3801
|
type: "nodeCanceled";
|
|
3802
3802
|
runId: string;
|
|
3803
|
-
timestamp: number;
|
|
3804
3803
|
payload: {
|
|
3805
3804
|
nodeId: string;
|
|
3806
3805
|
cancelOriginEventId: string;
|
|
@@ -3809,14 +3808,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3809
3808
|
bytes: number;
|
|
3810
3809
|
schemaVersion: number;
|
|
3811
3810
|
};
|
|
3812
|
-
|
|
3811
|
+
timestamp: number;
|
|
3813
3812
|
eventId: string;
|
|
3814
|
-
|
|
3813
|
+
schemaVersion: 1;
|
|
3814
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
3815
3815
|
payloadHash?: string | undefined;
|
|
3816
3816
|
}, {
|
|
3817
3817
|
type: "nodeCanceled";
|
|
3818
3818
|
runId: string;
|
|
3819
|
-
timestamp: number;
|
|
3820
3819
|
payload: {
|
|
3821
3820
|
nodeId: string;
|
|
3822
3821
|
cancelOriginEventId: string;
|
|
@@ -3825,9 +3824,10 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3825
3824
|
bytes: number;
|
|
3826
3825
|
schemaVersion: number;
|
|
3827
3826
|
};
|
|
3828
|
-
|
|
3827
|
+
timestamp: number;
|
|
3829
3828
|
eventId: string;
|
|
3830
|
-
|
|
3829
|
+
schemaVersion: 1;
|
|
3830
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
3831
3831
|
payloadHash?: string | undefined;
|
|
3832
3832
|
}>, z.ZodObject<{
|
|
3833
3833
|
type: z.ZodLiteral<"activityRunning">;
|
|
@@ -3865,7 +3865,6 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3865
3865
|
}, "strip", z.ZodTypeAny, {
|
|
3866
3866
|
type: "activityRunning";
|
|
3867
3867
|
runId: string;
|
|
3868
|
-
timestamp: number;
|
|
3869
3868
|
payload: {
|
|
3870
3869
|
attemptId: string;
|
|
3871
3870
|
activityId: string;
|
|
@@ -3875,14 +3874,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3875
3874
|
bytes: number;
|
|
3876
3875
|
schemaVersion: number;
|
|
3877
3876
|
};
|
|
3878
|
-
|
|
3877
|
+
timestamp: number;
|
|
3879
3878
|
eventId: string;
|
|
3880
|
-
|
|
3879
|
+
schemaVersion: 1;
|
|
3880
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
3881
3881
|
payloadHash?: string | undefined;
|
|
3882
3882
|
}, {
|
|
3883
3883
|
type: "activityRunning";
|
|
3884
3884
|
runId: string;
|
|
3885
|
-
timestamp: number;
|
|
3886
3885
|
payload: {
|
|
3887
3886
|
attemptId: string;
|
|
3888
3887
|
activityId: string;
|
|
@@ -3892,9 +3891,10 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3892
3891
|
bytes: number;
|
|
3893
3892
|
schemaVersion: number;
|
|
3894
3893
|
};
|
|
3895
|
-
|
|
3894
|
+
timestamp: number;
|
|
3896
3895
|
eventId: string;
|
|
3897
|
-
|
|
3896
|
+
schemaVersion: 1;
|
|
3897
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
3898
3898
|
payloadHash?: string | undefined;
|
|
3899
3899
|
}>, z.ZodObject<{
|
|
3900
3900
|
type: z.ZodLiteral<"activityWaiting">;
|
|
@@ -3929,7 +3929,6 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3929
3929
|
}, "strip", z.ZodTypeAny, {
|
|
3930
3930
|
type: "activityWaiting";
|
|
3931
3931
|
runId: string;
|
|
3932
|
-
timestamp: number;
|
|
3933
3932
|
payload: {
|
|
3934
3933
|
reason: string;
|
|
3935
3934
|
activityId: string;
|
|
@@ -3938,14 +3937,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3938
3937
|
bytes: number;
|
|
3939
3938
|
schemaVersion: number;
|
|
3940
3939
|
};
|
|
3941
|
-
|
|
3940
|
+
timestamp: number;
|
|
3942
3941
|
eventId: string;
|
|
3943
|
-
|
|
3942
|
+
schemaVersion: 1;
|
|
3943
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
3944
3944
|
payloadHash?: string | undefined;
|
|
3945
3945
|
}, {
|
|
3946
3946
|
type: "activityWaiting";
|
|
3947
3947
|
runId: string;
|
|
3948
|
-
timestamp: number;
|
|
3949
3948
|
payload: {
|
|
3950
3949
|
reason: string;
|
|
3951
3950
|
activityId: string;
|
|
@@ -3954,9 +3953,10 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3954
3953
|
bytes: number;
|
|
3955
3954
|
schemaVersion: number;
|
|
3956
3955
|
};
|
|
3957
|
-
|
|
3956
|
+
timestamp: number;
|
|
3958
3957
|
eventId: string;
|
|
3959
|
-
|
|
3958
|
+
schemaVersion: 1;
|
|
3959
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
3960
3960
|
payloadHash?: string | undefined;
|
|
3961
3961
|
}>, z.ZodObject<{
|
|
3962
3962
|
type: z.ZodLiteral<"activityTimedOut">;
|
|
@@ -4000,7 +4000,6 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4000
4000
|
}, "strip", z.ZodTypeAny, {
|
|
4001
4001
|
type: "activityTimedOut";
|
|
4002
4002
|
runId: string;
|
|
4003
|
-
timestamp: number;
|
|
4004
4003
|
payload: {
|
|
4005
4004
|
reason: "LeaseExpired";
|
|
4006
4005
|
attemptId: string;
|
|
@@ -4012,14 +4011,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4012
4011
|
bytes: number;
|
|
4013
4012
|
schemaVersion: number;
|
|
4014
4013
|
};
|
|
4015
|
-
|
|
4014
|
+
timestamp: number;
|
|
4016
4015
|
eventId: string;
|
|
4017
|
-
|
|
4016
|
+
schemaVersion: 1;
|
|
4017
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
4018
4018
|
payloadHash?: string | undefined;
|
|
4019
4019
|
}, {
|
|
4020
4020
|
type: "activityTimedOut";
|
|
4021
4021
|
runId: string;
|
|
4022
|
-
timestamp: number;
|
|
4023
4022
|
payload: {
|
|
4024
4023
|
reason: "LeaseExpired";
|
|
4025
4024
|
attemptId: string;
|
|
@@ -4031,9 +4030,10 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4031
4030
|
bytes: number;
|
|
4032
4031
|
schemaVersion: number;
|
|
4033
4032
|
};
|
|
4034
|
-
|
|
4033
|
+
timestamp: number;
|
|
4035
4034
|
eventId: string;
|
|
4036
|
-
|
|
4035
|
+
schemaVersion: 1;
|
|
4036
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
4037
4037
|
payloadHash?: string | undefined;
|
|
4038
4038
|
}>, z.ZodObject<{
|
|
4039
4039
|
type: z.ZodLiteral<"loopStarted">;
|
|
@@ -4068,7 +4068,6 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4068
4068
|
}, "strip", z.ZodTypeAny, {
|
|
4069
4069
|
type: "loopStarted";
|
|
4070
4070
|
runId: string;
|
|
4071
|
-
timestamp: number;
|
|
4072
4071
|
payload: {
|
|
4073
4072
|
maxIterations: number;
|
|
4074
4073
|
loopId: string;
|
|
@@ -4077,14 +4076,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4077
4076
|
bytes: number;
|
|
4078
4077
|
schemaVersion: number;
|
|
4079
4078
|
};
|
|
4080
|
-
|
|
4079
|
+
timestamp: number;
|
|
4081
4080
|
eventId: string;
|
|
4082
|
-
|
|
4081
|
+
schemaVersion: 1;
|
|
4082
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
4083
4083
|
payloadHash?: string | undefined;
|
|
4084
4084
|
}, {
|
|
4085
4085
|
type: "loopStarted";
|
|
4086
4086
|
runId: string;
|
|
4087
|
-
timestamp: number;
|
|
4088
4087
|
payload: {
|
|
4089
4088
|
maxIterations: number;
|
|
4090
4089
|
loopId: string;
|
|
@@ -4093,9 +4092,10 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4093
4092
|
bytes: number;
|
|
4094
4093
|
schemaVersion: number;
|
|
4095
4094
|
};
|
|
4096
|
-
|
|
4095
|
+
timestamp: number;
|
|
4097
4096
|
eventId: string;
|
|
4098
|
-
|
|
4097
|
+
schemaVersion: 1;
|
|
4098
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
4099
4099
|
payloadHash?: string | undefined;
|
|
4100
4100
|
}>, z.ZodObject<{
|
|
4101
4101
|
type: z.ZodLiteral<"loopIterationStarted">;
|
|
@@ -4133,7 +4133,6 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4133
4133
|
}, "strip", z.ZodTypeAny, {
|
|
4134
4134
|
type: "loopIterationStarted";
|
|
4135
4135
|
runId: string;
|
|
4136
|
-
timestamp: number;
|
|
4137
4136
|
payload: {
|
|
4138
4137
|
loopId: string;
|
|
4139
4138
|
iteration: number;
|
|
@@ -4143,14 +4142,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4143
4142
|
bytes: number;
|
|
4144
4143
|
schemaVersion: number;
|
|
4145
4144
|
};
|
|
4146
|
-
|
|
4145
|
+
timestamp: number;
|
|
4147
4146
|
eventId: string;
|
|
4148
|
-
|
|
4147
|
+
schemaVersion: 1;
|
|
4148
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
4149
4149
|
payloadHash?: string | undefined;
|
|
4150
4150
|
}, {
|
|
4151
4151
|
type: "loopIterationStarted";
|
|
4152
4152
|
runId: string;
|
|
4153
|
-
timestamp: number;
|
|
4154
4153
|
payload: {
|
|
4155
4154
|
loopId: string;
|
|
4156
4155
|
iteration: number;
|
|
@@ -4160,9 +4159,10 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4160
4159
|
bytes: number;
|
|
4161
4160
|
schemaVersion: number;
|
|
4162
4161
|
};
|
|
4163
|
-
|
|
4162
|
+
timestamp: number;
|
|
4164
4163
|
eventId: string;
|
|
4165
|
-
|
|
4164
|
+
schemaVersion: 1;
|
|
4165
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
4166
4166
|
payloadHash?: string | undefined;
|
|
4167
4167
|
}>, z.ZodObject<{
|
|
4168
4168
|
type: z.ZodLiteral<"loopIterationFinished">;
|
|
@@ -4215,7 +4215,6 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4215
4215
|
}, "strip", z.ZodTypeAny, {
|
|
4216
4216
|
type: "loopIterationFinished";
|
|
4217
4217
|
runId: string;
|
|
4218
|
-
timestamp: number;
|
|
4219
4218
|
payload: {
|
|
4220
4219
|
loopId: string;
|
|
4221
4220
|
iteration: number;
|
|
@@ -4230,14 +4229,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4230
4229
|
bytes: number;
|
|
4231
4230
|
schemaVersion: number;
|
|
4232
4231
|
};
|
|
4233
|
-
|
|
4232
|
+
timestamp: number;
|
|
4234
4233
|
eventId: string;
|
|
4235
|
-
|
|
4234
|
+
schemaVersion: 1;
|
|
4235
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
4236
4236
|
payloadHash?: string | undefined;
|
|
4237
4237
|
}, {
|
|
4238
4238
|
type: "loopIterationFinished";
|
|
4239
4239
|
runId: string;
|
|
4240
|
-
timestamp: number;
|
|
4241
4240
|
payload: {
|
|
4242
4241
|
loopId: string;
|
|
4243
4242
|
iteration: number;
|
|
@@ -4252,9 +4251,10 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4252
4251
|
bytes: number;
|
|
4253
4252
|
schemaVersion: number;
|
|
4254
4253
|
};
|
|
4255
|
-
|
|
4254
|
+
timestamp: number;
|
|
4256
4255
|
eventId: string;
|
|
4257
|
-
|
|
4256
|
+
schemaVersion: 1;
|
|
4257
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
4258
4258
|
payloadHash?: string | undefined;
|
|
4259
4259
|
}>, z.ZodObject<{
|
|
4260
4260
|
type: z.ZodLiteral<"loopFinished">;
|
|
@@ -4285,7 +4285,7 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4285
4285
|
errorClass: z.ZodOptional<z.ZodEnum<["retryable", "fatal", "userFault", "manual"]>>;
|
|
4286
4286
|
}, "strip", z.ZodTypeAny, {
|
|
4287
4287
|
loopId: string;
|
|
4288
|
-
resolution: "timeout" | "approved" | "max-iterations-exceeded" | "body-failed"
|
|
4288
|
+
resolution: "timeout" | "cancelled" | "approved" | "max-iterations-exceeded" | "body-failed";
|
|
4289
4289
|
finalIteration: number;
|
|
4290
4290
|
errorCode?: "LeaseExpired" | "WorkerCrashed" | "NetworkError" | "ProviderRateLimited" | "IdempotencyInputMismatch" | "IdempotencyConflict" | "InputValidationFailed" | "InputBindingFailed" | "OutputSchemaViolation" | "WaitDeadlineExceeded" | "TtlExpired" | "UnknownProviderError" | "InputUnrecoverable" | "CorruptLog" | "LoopMaxIterationsExceeded" | "LoopBodyFailed" | undefined;
|
|
4291
4291
|
errorClass?: "manual" | "fatal" | "retryable" | "userFault" | undefined;
|
|
@@ -4298,7 +4298,7 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4298
4298
|
} | undefined;
|
|
4299
4299
|
}, {
|
|
4300
4300
|
loopId: string;
|
|
4301
|
-
resolution: "timeout" | "approved" | "max-iterations-exceeded" | "body-failed"
|
|
4301
|
+
resolution: "timeout" | "cancelled" | "approved" | "max-iterations-exceeded" | "body-failed";
|
|
4302
4302
|
finalIteration: number;
|
|
4303
4303
|
errorCode?: "LeaseExpired" | "WorkerCrashed" | "NetworkError" | "ProviderRateLimited" | "IdempotencyInputMismatch" | "IdempotencyConflict" | "InputValidationFailed" | "InputBindingFailed" | "OutputSchemaViolation" | "WaitDeadlineExceeded" | "TtlExpired" | "UnknownProviderError" | "InputUnrecoverable" | "CorruptLog" | "LoopMaxIterationsExceeded" | "LoopBodyFailed" | undefined;
|
|
4304
4304
|
errorClass?: "manual" | "fatal" | "retryable" | "userFault" | undefined;
|
|
@@ -4331,10 +4331,9 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4331
4331
|
}, "strip", z.ZodTypeAny, {
|
|
4332
4332
|
type: "loopFinished";
|
|
4333
4333
|
runId: string;
|
|
4334
|
-
timestamp: number;
|
|
4335
4334
|
payload: {
|
|
4336
4335
|
loopId: string;
|
|
4337
|
-
resolution: "timeout" | "approved" | "max-iterations-exceeded" | "body-failed"
|
|
4336
|
+
resolution: "timeout" | "cancelled" | "approved" | "max-iterations-exceeded" | "body-failed";
|
|
4338
4337
|
finalIteration: number;
|
|
4339
4338
|
errorCode?: "LeaseExpired" | "WorkerCrashed" | "NetworkError" | "ProviderRateLimited" | "IdempotencyInputMismatch" | "IdempotencyConflict" | "InputValidationFailed" | "InputBindingFailed" | "OutputSchemaViolation" | "WaitDeadlineExceeded" | "TtlExpired" | "UnknownProviderError" | "InputUnrecoverable" | "CorruptLog" | "LoopMaxIterationsExceeded" | "LoopBodyFailed" | undefined;
|
|
4340
4339
|
errorClass?: "manual" | "fatal" | "retryable" | "userFault" | undefined;
|
|
@@ -4350,17 +4349,17 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4350
4349
|
bytes: number;
|
|
4351
4350
|
schemaVersion: number;
|
|
4352
4351
|
};
|
|
4353
|
-
|
|
4352
|
+
timestamp: number;
|
|
4354
4353
|
eventId: string;
|
|
4355
|
-
|
|
4354
|
+
schemaVersion: 1;
|
|
4355
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
4356
4356
|
payloadHash?: string | undefined;
|
|
4357
4357
|
}, {
|
|
4358
4358
|
type: "loopFinished";
|
|
4359
4359
|
runId: string;
|
|
4360
|
-
timestamp: number;
|
|
4361
4360
|
payload: {
|
|
4362
4361
|
loopId: string;
|
|
4363
|
-
resolution: "timeout" | "approved" | "max-iterations-exceeded" | "body-failed"
|
|
4362
|
+
resolution: "timeout" | "cancelled" | "approved" | "max-iterations-exceeded" | "body-failed";
|
|
4364
4363
|
finalIteration: number;
|
|
4365
4364
|
errorCode?: "LeaseExpired" | "WorkerCrashed" | "NetworkError" | "ProviderRateLimited" | "IdempotencyInputMismatch" | "IdempotencyConflict" | "InputValidationFailed" | "InputBindingFailed" | "OutputSchemaViolation" | "WaitDeadlineExceeded" | "TtlExpired" | "UnknownProviderError" | "InputUnrecoverable" | "CorruptLog" | "LoopMaxIterationsExceeded" | "LoopBodyFailed" | undefined;
|
|
4366
4365
|
errorClass?: "manual" | "fatal" | "retryable" | "userFault" | undefined;
|
|
@@ -4376,9 +4375,10 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4376
4375
|
bytes: number;
|
|
4377
4376
|
schemaVersion: number;
|
|
4378
4377
|
};
|
|
4379
|
-
|
|
4378
|
+
timestamp: number;
|
|
4380
4379
|
eventId: string;
|
|
4381
|
-
|
|
4380
|
+
schemaVersion: 1;
|
|
4381
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
4382
4382
|
payloadHash?: string | undefined;
|
|
4383
4383
|
}>, z.ZodObject<{
|
|
4384
4384
|
type: z.ZodLiteral<"conditionEvaluated">;
|
|
@@ -4419,7 +4419,6 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4419
4419
|
}, "strip", z.ZodTypeAny, {
|
|
4420
4420
|
type: "conditionEvaluated";
|
|
4421
4421
|
runId: string;
|
|
4422
|
-
timestamp: number;
|
|
4423
4422
|
payload: {
|
|
4424
4423
|
nodeId: string;
|
|
4425
4424
|
conditionExpr: string;
|
|
@@ -4430,14 +4429,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4430
4429
|
bytes: number;
|
|
4431
4430
|
schemaVersion: number;
|
|
4432
4431
|
};
|
|
4433
|
-
|
|
4432
|
+
timestamp: number;
|
|
4434
4433
|
eventId: string;
|
|
4435
|
-
|
|
4434
|
+
schemaVersion: 1;
|
|
4435
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
4436
4436
|
payloadHash?: string | undefined;
|
|
4437
4437
|
}, {
|
|
4438
4438
|
type: "conditionEvaluated";
|
|
4439
4439
|
runId: string;
|
|
4440
|
-
timestamp: number;
|
|
4441
4440
|
payload: {
|
|
4442
4441
|
nodeId: string;
|
|
4443
4442
|
conditionExpr: string;
|
|
@@ -4448,9 +4447,10 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4448
4447
|
bytes: number;
|
|
4449
4448
|
schemaVersion: number;
|
|
4450
4449
|
};
|
|
4451
|
-
|
|
4450
|
+
timestamp: number;
|
|
4452
4451
|
eventId: string;
|
|
4453
|
-
|
|
4452
|
+
schemaVersion: 1;
|
|
4453
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
4454
4454
|
payloadHash?: string | undefined;
|
|
4455
4455
|
}>, z.ZodObject<{
|
|
4456
4456
|
type: z.ZodLiteral<"leaseSigned">;
|
|
@@ -4494,7 +4494,6 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4494
4494
|
}, "strip", z.ZodTypeAny, {
|
|
4495
4495
|
type: "leaseSigned";
|
|
4496
4496
|
runId: string;
|
|
4497
|
-
timestamp: number;
|
|
4498
4497
|
payload: {
|
|
4499
4498
|
timeoutMs: number;
|
|
4500
4499
|
attemptId: string;
|
|
@@ -4506,14 +4505,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4506
4505
|
bytes: number;
|
|
4507
4506
|
schemaVersion: number;
|
|
4508
4507
|
};
|
|
4509
|
-
|
|
4508
|
+
timestamp: number;
|
|
4510
4509
|
eventId: string;
|
|
4511
|
-
|
|
4510
|
+
schemaVersion: 1;
|
|
4511
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
4512
4512
|
payloadHash?: string | undefined;
|
|
4513
4513
|
}, {
|
|
4514
4514
|
type: "leaseSigned";
|
|
4515
4515
|
runId: string;
|
|
4516
|
-
timestamp: number;
|
|
4517
4516
|
payload: {
|
|
4518
4517
|
timeoutMs: number;
|
|
4519
4518
|
attemptId: string;
|
|
@@ -4525,9 +4524,10 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4525
4524
|
bytes: number;
|
|
4526
4525
|
schemaVersion: number;
|
|
4527
4526
|
};
|
|
4528
|
-
|
|
4527
|
+
timestamp: number;
|
|
4529
4528
|
eventId: string;
|
|
4530
|
-
|
|
4529
|
+
schemaVersion: 1;
|
|
4530
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
4531
4531
|
payloadHash?: string | undefined;
|
|
4532
4532
|
}>, z.ZodObject<{
|
|
4533
4533
|
type: z.ZodLiteral<"attemptCreated">;
|
|
@@ -4601,7 +4601,6 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4601
4601
|
}, "strip", z.ZodTypeAny, {
|
|
4602
4602
|
type: "attemptCreated";
|
|
4603
4603
|
runId: string;
|
|
4604
|
-
timestamp: number;
|
|
4605
4604
|
payload: {
|
|
4606
4605
|
nodeId: string;
|
|
4607
4606
|
attemptId: string;
|
|
@@ -4619,14 +4618,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4619
4618
|
bytes: number;
|
|
4620
4619
|
schemaVersion: number;
|
|
4621
4620
|
};
|
|
4622
|
-
|
|
4621
|
+
timestamp: number;
|
|
4623
4622
|
eventId: string;
|
|
4624
|
-
|
|
4623
|
+
schemaVersion: 1;
|
|
4624
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
4625
4625
|
payloadHash?: string | undefined;
|
|
4626
4626
|
}, {
|
|
4627
4627
|
type: "attemptCreated";
|
|
4628
4628
|
runId: string;
|
|
4629
|
-
timestamp: number;
|
|
4630
4629
|
payload: {
|
|
4631
4630
|
nodeId: string;
|
|
4632
4631
|
attemptId: string;
|
|
@@ -4644,9 +4643,10 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4644
4643
|
bytes: number;
|
|
4645
4644
|
schemaVersion: number;
|
|
4646
4645
|
};
|
|
4647
|
-
|
|
4646
|
+
timestamp: number;
|
|
4648
4647
|
eventId: string;
|
|
4649
|
-
|
|
4648
|
+
schemaVersion: 1;
|
|
4649
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
4650
4650
|
payloadHash?: string | undefined;
|
|
4651
4651
|
}>, z.ZodObject<{
|
|
4652
4652
|
type: z.ZodLiteral<"backoffScheduled">;
|
|
@@ -4712,7 +4712,6 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4712
4712
|
}, "strip", z.ZodTypeAny, {
|
|
4713
4713
|
type: "backoffScheduled";
|
|
4714
4714
|
runId: string;
|
|
4715
|
-
timestamp: number;
|
|
4716
4715
|
payload: {
|
|
4717
4716
|
nodeId: string;
|
|
4718
4717
|
lastAttemptId: string;
|
|
@@ -4728,14 +4727,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4728
4727
|
bytes: number;
|
|
4729
4728
|
schemaVersion: number;
|
|
4730
4729
|
};
|
|
4731
|
-
|
|
4730
|
+
timestamp: number;
|
|
4732
4731
|
eventId: string;
|
|
4733
|
-
|
|
4732
|
+
schemaVersion: 1;
|
|
4733
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
4734
4734
|
payloadHash?: string | undefined;
|
|
4735
4735
|
}, {
|
|
4736
4736
|
type: "backoffScheduled";
|
|
4737
4737
|
runId: string;
|
|
4738
|
-
timestamp: number;
|
|
4739
4738
|
payload: {
|
|
4740
4739
|
nodeId: string;
|
|
4741
4740
|
lastAttemptId: string;
|
|
@@ -4751,9 +4750,10 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4751
4750
|
bytes: number;
|
|
4752
4751
|
schemaVersion: number;
|
|
4753
4752
|
};
|
|
4754
|
-
|
|
4753
|
+
timestamp: number;
|
|
4755
4754
|
eventId: string;
|
|
4756
|
-
|
|
4755
|
+
schemaVersion: 1;
|
|
4756
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
4757
4757
|
payloadHash?: string | undefined;
|
|
4758
4758
|
}>, z.ZodObject<{
|
|
4759
4759
|
type: z.ZodLiteral<"backoffElapsed">;
|
|
@@ -4788,7 +4788,6 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4788
4788
|
}, "strip", z.ZodTypeAny, {
|
|
4789
4789
|
type: "backoffElapsed";
|
|
4790
4790
|
runId: string;
|
|
4791
|
-
timestamp: number;
|
|
4792
4791
|
payload: {
|
|
4793
4792
|
nodeId: string;
|
|
4794
4793
|
scheduledAttemptId: string;
|
|
@@ -4797,14 +4796,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4797
4796
|
bytes: number;
|
|
4798
4797
|
schemaVersion: number;
|
|
4799
4798
|
};
|
|
4800
|
-
|
|
4799
|
+
timestamp: number;
|
|
4801
4800
|
eventId: string;
|
|
4802
|
-
|
|
4801
|
+
schemaVersion: 1;
|
|
4802
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
4803
4803
|
payloadHash?: string | undefined;
|
|
4804
4804
|
}, {
|
|
4805
4805
|
type: "backoffElapsed";
|
|
4806
4806
|
runId: string;
|
|
4807
|
-
timestamp: number;
|
|
4808
4807
|
payload: {
|
|
4809
4808
|
nodeId: string;
|
|
4810
4809
|
scheduledAttemptId: string;
|
|
@@ -4813,9 +4812,10 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4813
4812
|
bytes: number;
|
|
4814
4813
|
schemaVersion: number;
|
|
4815
4814
|
};
|
|
4816
|
-
|
|
4815
|
+
timestamp: number;
|
|
4817
4816
|
eventId: string;
|
|
4818
|
-
|
|
4817
|
+
schemaVersion: 1;
|
|
4818
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
4819
4819
|
payloadHash?: string | undefined;
|
|
4820
4820
|
}>, z.ZodObject<{
|
|
4821
4821
|
type: z.ZodLiteral<"effectAttempted">;
|
|
@@ -4862,7 +4862,6 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4862
4862
|
}, "strip", z.ZodTypeAny, {
|
|
4863
4863
|
type: "effectAttempted";
|
|
4864
4864
|
runId: string;
|
|
4865
|
-
timestamp: number;
|
|
4866
4865
|
payload: {
|
|
4867
4866
|
attemptId: string;
|
|
4868
4867
|
activityId: string;
|
|
@@ -4875,14 +4874,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4875
4874
|
bytes: number;
|
|
4876
4875
|
schemaVersion: number;
|
|
4877
4876
|
};
|
|
4878
|
-
|
|
4877
|
+
timestamp: number;
|
|
4879
4878
|
eventId: string;
|
|
4880
|
-
|
|
4879
|
+
schemaVersion: 1;
|
|
4880
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
4881
4881
|
payloadHash?: string | undefined;
|
|
4882
4882
|
}, {
|
|
4883
4883
|
type: "effectAttempted";
|
|
4884
4884
|
runId: string;
|
|
4885
|
-
timestamp: number;
|
|
4886
4885
|
payload: {
|
|
4887
4886
|
attemptId: string;
|
|
4888
4887
|
activityId: string;
|
|
@@ -4895,9 +4894,10 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4895
4894
|
bytes: number;
|
|
4896
4895
|
schemaVersion: number;
|
|
4897
4896
|
};
|
|
4898
|
-
|
|
4897
|
+
timestamp: number;
|
|
4899
4898
|
eventId: string;
|
|
4900
|
-
|
|
4899
|
+
schemaVersion: 1;
|
|
4900
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
4901
4901
|
payloadHash?: string | undefined;
|
|
4902
4902
|
}>, z.ZodObject<{
|
|
4903
4903
|
type: z.ZodLiteral<"activitySucceeded">;
|
|
@@ -4968,7 +4968,6 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4968
4968
|
}, "strip", z.ZodTypeAny, {
|
|
4969
4969
|
type: "activitySucceeded";
|
|
4970
4970
|
runId: string;
|
|
4971
|
-
timestamp: number;
|
|
4972
4971
|
payload: {
|
|
4973
4972
|
attemptId: string;
|
|
4974
4973
|
activityId: string;
|
|
@@ -4985,14 +4984,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4985
4984
|
bytes: number;
|
|
4986
4985
|
schemaVersion: number;
|
|
4987
4986
|
};
|
|
4988
|
-
|
|
4987
|
+
timestamp: number;
|
|
4989
4988
|
eventId: string;
|
|
4990
|
-
|
|
4989
|
+
schemaVersion: 1;
|
|
4990
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
4991
4991
|
payloadHash?: string | undefined;
|
|
4992
4992
|
}, {
|
|
4993
4993
|
type: "activitySucceeded";
|
|
4994
4994
|
runId: string;
|
|
4995
|
-
timestamp: number;
|
|
4996
4995
|
payload: {
|
|
4997
4996
|
attemptId: string;
|
|
4998
4997
|
activityId: string;
|
|
@@ -5009,9 +5008,10 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5009
5008
|
bytes: number;
|
|
5010
5009
|
schemaVersion: number;
|
|
5011
5010
|
};
|
|
5012
|
-
|
|
5011
|
+
timestamp: number;
|
|
5013
5012
|
eventId: string;
|
|
5014
|
-
|
|
5013
|
+
schemaVersion: 1;
|
|
5014
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
5015
5015
|
payloadHash?: string | undefined;
|
|
5016
5016
|
}>, z.ZodObject<{
|
|
5017
5017
|
type: z.ZodLiteral<"activityFailed">;
|
|
@@ -5074,7 +5074,6 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5074
5074
|
}, "strip", z.ZodTypeAny, {
|
|
5075
5075
|
type: "activityFailed";
|
|
5076
5076
|
runId: string;
|
|
5077
|
-
timestamp: number;
|
|
5078
5077
|
payload: {
|
|
5079
5078
|
error: {
|
|
5080
5079
|
errorCode: "LeaseExpired" | "WorkerCrashed" | "NetworkError" | "ProviderRateLimited" | "IdempotencyInputMismatch" | "IdempotencyConflict" | "InputValidationFailed" | "InputBindingFailed" | "OutputSchemaViolation" | "WaitDeadlineExceeded" | "TtlExpired" | "UnknownProviderError" | "InputUnrecoverable" | "CorruptLog" | "LoopMaxIterationsExceeded" | "LoopBodyFailed";
|
|
@@ -5089,14 +5088,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5089
5088
|
bytes: number;
|
|
5090
5089
|
schemaVersion: number;
|
|
5091
5090
|
};
|
|
5092
|
-
|
|
5091
|
+
timestamp: number;
|
|
5093
5092
|
eventId: string;
|
|
5094
|
-
|
|
5093
|
+
schemaVersion: 1;
|
|
5094
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
5095
5095
|
payloadHash?: string | undefined;
|
|
5096
5096
|
}, {
|
|
5097
5097
|
type: "activityFailed";
|
|
5098
5098
|
runId: string;
|
|
5099
|
-
timestamp: number;
|
|
5100
5099
|
payload: {
|
|
5101
5100
|
error: {
|
|
5102
5101
|
errorCode: "LeaseExpired" | "WorkerCrashed" | "NetworkError" | "ProviderRateLimited" | "IdempotencyInputMismatch" | "IdempotencyConflict" | "InputValidationFailed" | "InputBindingFailed" | "OutputSchemaViolation" | "WaitDeadlineExceeded" | "TtlExpired" | "UnknownProviderError" | "InputUnrecoverable" | "CorruptLog" | "LoopMaxIterationsExceeded" | "LoopBodyFailed";
|
|
@@ -5111,9 +5110,10 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5111
5110
|
bytes: number;
|
|
5112
5111
|
schemaVersion: number;
|
|
5113
5112
|
};
|
|
5114
|
-
|
|
5113
|
+
timestamp: number;
|
|
5115
5114
|
eventId: string;
|
|
5116
|
-
|
|
5115
|
+
schemaVersion: 1;
|
|
5116
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
5117
5117
|
payloadHash?: string | undefined;
|
|
5118
5118
|
}>, z.ZodObject<{
|
|
5119
5119
|
type: z.ZodLiteral<"waitCreated">;
|
|
@@ -5199,7 +5199,6 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5199
5199
|
}, "strip", z.ZodTypeAny, {
|
|
5200
5200
|
type: "waitCreated";
|
|
5201
5201
|
runId: string;
|
|
5202
|
-
timestamp: number;
|
|
5203
5202
|
payload: {
|
|
5204
5203
|
nodeId: string;
|
|
5205
5204
|
activityId: string;
|
|
@@ -5221,14 +5220,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5221
5220
|
bytes: number;
|
|
5222
5221
|
schemaVersion: number;
|
|
5223
5222
|
};
|
|
5224
|
-
|
|
5223
|
+
timestamp: number;
|
|
5225
5224
|
eventId: string;
|
|
5226
|
-
|
|
5225
|
+
schemaVersion: 1;
|
|
5226
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
5227
5227
|
payloadHash?: string | undefined;
|
|
5228
5228
|
}, {
|
|
5229
5229
|
type: "waitCreated";
|
|
5230
5230
|
runId: string;
|
|
5231
|
-
timestamp: number;
|
|
5232
5231
|
payload: {
|
|
5233
5232
|
nodeId: string;
|
|
5234
5233
|
activityId: string;
|
|
@@ -5250,9 +5249,10 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5250
5249
|
bytes: number;
|
|
5251
5250
|
schemaVersion: number;
|
|
5252
5251
|
};
|
|
5253
|
-
|
|
5252
|
+
timestamp: number;
|
|
5254
5253
|
eventId: string;
|
|
5255
|
-
|
|
5254
|
+
schemaVersion: 1;
|
|
5255
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
5256
5256
|
payloadHash?: string | undefined;
|
|
5257
5257
|
}>, z.ZodObject<{
|
|
5258
5258
|
type: z.ZodLiteral<"waitResolved">;
|
|
@@ -5293,7 +5293,6 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5293
5293
|
}, "strip", z.ZodTypeAny, {
|
|
5294
5294
|
type: "waitResolved";
|
|
5295
5295
|
runId: string;
|
|
5296
|
-
timestamp: number;
|
|
5297
5296
|
payload: {
|
|
5298
5297
|
activityId: string;
|
|
5299
5298
|
resolution: "approved" | "rejected" | "external";
|
|
@@ -5304,14 +5303,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5304
5303
|
bytes: number;
|
|
5305
5304
|
schemaVersion: number;
|
|
5306
5305
|
};
|
|
5307
|
-
|
|
5306
|
+
timestamp: number;
|
|
5308
5307
|
eventId: string;
|
|
5309
|
-
|
|
5308
|
+
schemaVersion: 1;
|
|
5309
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
5310
5310
|
payloadHash?: string | undefined;
|
|
5311
5311
|
}, {
|
|
5312
5312
|
type: "waitResolved";
|
|
5313
5313
|
runId: string;
|
|
5314
|
-
timestamp: number;
|
|
5315
5314
|
payload: {
|
|
5316
5315
|
activityId: string;
|
|
5317
5316
|
resolution: "approved" | "rejected" | "external";
|
|
@@ -5322,9 +5321,10 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5322
5321
|
bytes: number;
|
|
5323
5322
|
schemaVersion: number;
|
|
5324
5323
|
};
|
|
5325
|
-
|
|
5324
|
+
timestamp: number;
|
|
5326
5325
|
eventId: string;
|
|
5327
|
-
|
|
5326
|
+
schemaVersion: 1;
|
|
5327
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
5328
5328
|
payloadHash?: string | undefined;
|
|
5329
5329
|
}>, z.ZodObject<{
|
|
5330
5330
|
type: z.ZodLiteral<"waitDeadlineExceeded">;
|
|
@@ -5362,7 +5362,6 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5362
5362
|
}, "strip", z.ZodTypeAny, {
|
|
5363
5363
|
type: "waitDeadlineExceeded";
|
|
5364
5364
|
runId: string;
|
|
5365
|
-
timestamp: number;
|
|
5366
5365
|
payload: {
|
|
5367
5366
|
activityId: string;
|
|
5368
5367
|
deadlineAt: number;
|
|
@@ -5372,14 +5371,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5372
5371
|
bytes: number;
|
|
5373
5372
|
schemaVersion: number;
|
|
5374
5373
|
};
|
|
5375
|
-
|
|
5374
|
+
timestamp: number;
|
|
5376
5375
|
eventId: string;
|
|
5377
|
-
|
|
5376
|
+
schemaVersion: 1;
|
|
5377
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
5378
5378
|
payloadHash?: string | undefined;
|
|
5379
5379
|
}, {
|
|
5380
5380
|
type: "waitDeadlineExceeded";
|
|
5381
5381
|
runId: string;
|
|
5382
|
-
timestamp: number;
|
|
5383
5382
|
payload: {
|
|
5384
5383
|
activityId: string;
|
|
5385
5384
|
deadlineAt: number;
|
|
@@ -5389,9 +5388,10 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5389
5388
|
bytes: number;
|
|
5390
5389
|
schemaVersion: number;
|
|
5391
5390
|
};
|
|
5392
|
-
|
|
5391
|
+
timestamp: number;
|
|
5393
5392
|
eventId: string;
|
|
5394
|
-
|
|
5393
|
+
schemaVersion: 1;
|
|
5394
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
5395
5395
|
payloadHash?: string | undefined;
|
|
5396
5396
|
}>, z.ZodObject<{
|
|
5397
5397
|
type: z.ZodLiteral<"cancelRequested">;
|
|
@@ -5428,7 +5428,6 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5428
5428
|
by: z.ZodString;
|
|
5429
5429
|
}, "strip", z.ZodTypeAny, {
|
|
5430
5430
|
reason: string;
|
|
5431
|
-
by: string;
|
|
5432
5431
|
target: {
|
|
5433
5432
|
kind: "run";
|
|
5434
5433
|
runId: string;
|
|
@@ -5439,9 +5438,9 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5439
5438
|
kind: "activity";
|
|
5440
5439
|
activityId: string;
|
|
5441
5440
|
};
|
|
5441
|
+
by: string;
|
|
5442
5442
|
}, {
|
|
5443
5443
|
reason: string;
|
|
5444
|
-
by: string;
|
|
5445
5444
|
target: {
|
|
5446
5445
|
kind: "run";
|
|
5447
5446
|
runId: string;
|
|
@@ -5452,6 +5451,7 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5452
5451
|
kind: "activity";
|
|
5453
5452
|
activityId: string;
|
|
5454
5453
|
};
|
|
5454
|
+
by: string;
|
|
5455
5455
|
}>, z.ZodObject<{
|
|
5456
5456
|
ref: z.ZodString;
|
|
5457
5457
|
bytes: z.ZodNumber;
|
|
@@ -5474,10 +5474,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5474
5474
|
}, "strip", z.ZodTypeAny, {
|
|
5475
5475
|
type: "cancelRequested";
|
|
5476
5476
|
runId: string;
|
|
5477
|
-
timestamp: number;
|
|
5478
5477
|
payload: {
|
|
5479
5478
|
reason: string;
|
|
5480
|
-
by: string;
|
|
5481
5479
|
target: {
|
|
5482
5480
|
kind: "run";
|
|
5483
5481
|
runId: string;
|
|
@@ -5488,22 +5486,22 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5488
5486
|
kind: "activity";
|
|
5489
5487
|
activityId: string;
|
|
5490
5488
|
};
|
|
5489
|
+
by: string;
|
|
5491
5490
|
} | {
|
|
5492
5491
|
ref: string;
|
|
5493
5492
|
bytes: number;
|
|
5494
5493
|
schemaVersion: number;
|
|
5495
5494
|
};
|
|
5496
|
-
|
|
5495
|
+
timestamp: number;
|
|
5497
5496
|
eventId: string;
|
|
5498
|
-
|
|
5497
|
+
schemaVersion: 1;
|
|
5498
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
5499
5499
|
payloadHash?: string | undefined;
|
|
5500
5500
|
}, {
|
|
5501
5501
|
type: "cancelRequested";
|
|
5502
5502
|
runId: string;
|
|
5503
|
-
timestamp: number;
|
|
5504
5503
|
payload: {
|
|
5505
5504
|
reason: string;
|
|
5506
|
-
by: string;
|
|
5507
5505
|
target: {
|
|
5508
5506
|
kind: "run";
|
|
5509
5507
|
runId: string;
|
|
@@ -5514,14 +5512,16 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5514
5512
|
kind: "activity";
|
|
5515
5513
|
activityId: string;
|
|
5516
5514
|
};
|
|
5515
|
+
by: string;
|
|
5517
5516
|
} | {
|
|
5518
5517
|
ref: string;
|
|
5519
5518
|
bytes: number;
|
|
5520
5519
|
schemaVersion: number;
|
|
5521
5520
|
};
|
|
5522
|
-
|
|
5521
|
+
timestamp: number;
|
|
5523
5522
|
eventId: string;
|
|
5524
|
-
|
|
5523
|
+
schemaVersion: 1;
|
|
5524
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
5525
5525
|
payloadHash?: string | undefined;
|
|
5526
5526
|
}>, z.ZodObject<{
|
|
5527
5527
|
type: z.ZodLiteral<"cancelDelivered">;
|
|
@@ -5556,7 +5556,6 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5556
5556
|
}>]>;
|
|
5557
5557
|
activityId: z.ZodString;
|
|
5558
5558
|
}, "strip", z.ZodTypeAny, {
|
|
5559
|
-
activityId: string;
|
|
5560
5559
|
target: {
|
|
5561
5560
|
kind: "run";
|
|
5562
5561
|
runId: string;
|
|
@@ -5567,8 +5566,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5567
5566
|
kind: "activity";
|
|
5568
5567
|
activityId: string;
|
|
5569
5568
|
};
|
|
5570
|
-
}, {
|
|
5571
5569
|
activityId: string;
|
|
5570
|
+
}, {
|
|
5572
5571
|
target: {
|
|
5573
5572
|
kind: "run";
|
|
5574
5573
|
runId: string;
|
|
@@ -5579,6 +5578,7 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5579
5578
|
kind: "activity";
|
|
5580
5579
|
activityId: string;
|
|
5581
5580
|
};
|
|
5581
|
+
activityId: string;
|
|
5582
5582
|
}>, z.ZodObject<{
|
|
5583
5583
|
ref: z.ZodString;
|
|
5584
5584
|
bytes: z.ZodNumber;
|
|
@@ -5601,9 +5601,7 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5601
5601
|
}, "strip", z.ZodTypeAny, {
|
|
5602
5602
|
type: "cancelDelivered";
|
|
5603
5603
|
runId: string;
|
|
5604
|
-
timestamp: number;
|
|
5605
5604
|
payload: {
|
|
5606
|
-
activityId: string;
|
|
5607
5605
|
target: {
|
|
5608
5606
|
kind: "run";
|
|
5609
5607
|
runId: string;
|
|
@@ -5614,21 +5612,21 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5614
5612
|
kind: "activity";
|
|
5615
5613
|
activityId: string;
|
|
5616
5614
|
};
|
|
5615
|
+
activityId: string;
|
|
5617
5616
|
} | {
|
|
5618
5617
|
ref: string;
|
|
5619
5618
|
bytes: number;
|
|
5620
5619
|
schemaVersion: number;
|
|
5621
5620
|
};
|
|
5622
|
-
|
|
5621
|
+
timestamp: number;
|
|
5623
5622
|
eventId: string;
|
|
5624
|
-
|
|
5623
|
+
schemaVersion: 1;
|
|
5624
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
5625
5625
|
payloadHash?: string | undefined;
|
|
5626
5626
|
}, {
|
|
5627
5627
|
type: "cancelDelivered";
|
|
5628
5628
|
runId: string;
|
|
5629
|
-
timestamp: number;
|
|
5630
5629
|
payload: {
|
|
5631
|
-
activityId: string;
|
|
5632
5630
|
target: {
|
|
5633
5631
|
kind: "run";
|
|
5634
5632
|
runId: string;
|
|
@@ -5639,14 +5637,16 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5639
5637
|
kind: "activity";
|
|
5640
5638
|
activityId: string;
|
|
5641
5639
|
};
|
|
5640
|
+
activityId: string;
|
|
5642
5641
|
} | {
|
|
5643
5642
|
ref: string;
|
|
5644
5643
|
bytes: number;
|
|
5645
5644
|
schemaVersion: number;
|
|
5646
5645
|
};
|
|
5647
|
-
|
|
5646
|
+
timestamp: number;
|
|
5648
5647
|
eventId: string;
|
|
5649
|
-
|
|
5648
|
+
schemaVersion: 1;
|
|
5649
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
5650
5650
|
payloadHash?: string | undefined;
|
|
5651
5651
|
}>, z.ZodObject<{
|
|
5652
5652
|
type: z.ZodLiteral<"activityCanceled">;
|
|
@@ -5684,7 +5684,6 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5684
5684
|
}, "strip", z.ZodTypeAny, {
|
|
5685
5685
|
type: "activityCanceled";
|
|
5686
5686
|
runId: string;
|
|
5687
|
-
timestamp: number;
|
|
5688
5687
|
payload: {
|
|
5689
5688
|
attemptId: string;
|
|
5690
5689
|
activityId: string;
|
|
@@ -5694,14 +5693,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5694
5693
|
bytes: number;
|
|
5695
5694
|
schemaVersion: number;
|
|
5696
5695
|
};
|
|
5697
|
-
|
|
5696
|
+
timestamp: number;
|
|
5698
5697
|
eventId: string;
|
|
5699
|
-
|
|
5698
|
+
schemaVersion: 1;
|
|
5699
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
5700
5700
|
payloadHash?: string | undefined;
|
|
5701
5701
|
}, {
|
|
5702
5702
|
type: "activityCanceled";
|
|
5703
5703
|
runId: string;
|
|
5704
|
-
timestamp: number;
|
|
5705
5704
|
payload: {
|
|
5706
5705
|
attemptId: string;
|
|
5707
5706
|
activityId: string;
|
|
@@ -5711,9 +5710,10 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5711
5710
|
bytes: number;
|
|
5712
5711
|
schemaVersion: number;
|
|
5713
5712
|
};
|
|
5714
|
-
|
|
5713
|
+
timestamp: number;
|
|
5715
5714
|
eventId: string;
|
|
5716
|
-
|
|
5715
|
+
schemaVersion: 1;
|
|
5716
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
5717
5717
|
payloadHash?: string | undefined;
|
|
5718
5718
|
}>, z.ZodObject<{
|
|
5719
5719
|
type: z.ZodLiteral<"workerLost">;
|
|
@@ -5748,7 +5748,6 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5748
5748
|
}, "strip", z.ZodTypeAny, {
|
|
5749
5749
|
type: "workerLost";
|
|
5750
5750
|
runId: string;
|
|
5751
|
-
timestamp: number;
|
|
5752
5751
|
payload: {
|
|
5753
5752
|
workerId: string;
|
|
5754
5753
|
lostActivityIds: string[];
|
|
@@ -5757,14 +5756,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5757
5756
|
bytes: number;
|
|
5758
5757
|
schemaVersion: number;
|
|
5759
5758
|
};
|
|
5760
|
-
|
|
5759
|
+
timestamp: number;
|
|
5761
5760
|
eventId: string;
|
|
5762
|
-
|
|
5761
|
+
schemaVersion: 1;
|
|
5762
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
5763
5763
|
payloadHash?: string | undefined;
|
|
5764
5764
|
}, {
|
|
5765
5765
|
type: "workerLost";
|
|
5766
5766
|
runId: string;
|
|
5767
|
-
timestamp: number;
|
|
5768
5767
|
payload: {
|
|
5769
5768
|
workerId: string;
|
|
5770
5769
|
lostActivityIds: string[];
|
|
@@ -5773,9 +5772,10 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5773
5772
|
bytes: number;
|
|
5774
5773
|
schemaVersion: number;
|
|
5775
5774
|
};
|
|
5776
|
-
|
|
5775
|
+
timestamp: number;
|
|
5777
5776
|
eventId: string;
|
|
5778
|
-
|
|
5777
|
+
schemaVersion: 1;
|
|
5778
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
5779
5779
|
payloadHash?: string | undefined;
|
|
5780
5780
|
}>, z.ZodObject<{
|
|
5781
5781
|
type: z.ZodLiteral<"resumeStarted">;
|
|
@@ -5810,7 +5810,6 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5810
5810
|
}, "strip", z.ZodTypeAny, {
|
|
5811
5811
|
type: "resumeStarted";
|
|
5812
5812
|
runId: string;
|
|
5813
|
-
timestamp: number;
|
|
5814
5813
|
payload: {
|
|
5815
5814
|
daemonId: string;
|
|
5816
5815
|
lastSeenEventId: string;
|
|
@@ -5819,14 +5818,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5819
5818
|
bytes: number;
|
|
5820
5819
|
schemaVersion: number;
|
|
5821
5820
|
};
|
|
5822
|
-
|
|
5821
|
+
timestamp: number;
|
|
5823
5822
|
eventId: string;
|
|
5824
|
-
|
|
5823
|
+
schemaVersion: 1;
|
|
5824
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
5825
5825
|
payloadHash?: string | undefined;
|
|
5826
5826
|
}, {
|
|
5827
5827
|
type: "resumeStarted";
|
|
5828
5828
|
runId: string;
|
|
5829
|
-
timestamp: number;
|
|
5830
5829
|
payload: {
|
|
5831
5830
|
daemonId: string;
|
|
5832
5831
|
lastSeenEventId: string;
|
|
@@ -5835,9 +5834,10 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5835
5834
|
bytes: number;
|
|
5836
5835
|
schemaVersion: number;
|
|
5837
5836
|
};
|
|
5838
|
-
|
|
5837
|
+
timestamp: number;
|
|
5839
5838
|
eventId: string;
|
|
5840
|
-
|
|
5839
|
+
schemaVersion: 1;
|
|
5840
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
5841
5841
|
payloadHash?: string | undefined;
|
|
5842
5842
|
}>, z.ZodObject<{
|
|
5843
5843
|
type: z.ZodLiteral<"reconcileResult">;
|
|
@@ -5850,15 +5850,15 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5850
5850
|
}, "strip", z.ZodTypeAny, {
|
|
5851
5851
|
capability: "none" | "readOnlyLookup" | "idempotentSubmit";
|
|
5852
5852
|
decision: "manual" | "replayed" | "completedByIdempotentSubmit" | "freshRetry";
|
|
5853
|
+
evidence: Record<string, unknown>;
|
|
5853
5854
|
activityId: string;
|
|
5854
5855
|
idempotencyKey: string;
|
|
5855
|
-
evidence: Record<string, unknown>;
|
|
5856
5856
|
}, {
|
|
5857
5857
|
capability: "none" | "readOnlyLookup" | "idempotentSubmit";
|
|
5858
5858
|
decision: "manual" | "replayed" | "completedByIdempotentSubmit" | "freshRetry";
|
|
5859
|
+
evidence: Record<string, unknown>;
|
|
5859
5860
|
activityId: string;
|
|
5860
5861
|
idempotencyKey: string;
|
|
5861
|
-
evidence: Record<string, unknown>;
|
|
5862
5862
|
}>, z.ZodObject<{
|
|
5863
5863
|
ref: z.ZodString;
|
|
5864
5864
|
bytes: z.ZodNumber;
|
|
@@ -5881,40 +5881,40 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5881
5881
|
}, "strip", z.ZodTypeAny, {
|
|
5882
5882
|
type: "reconcileResult";
|
|
5883
5883
|
runId: string;
|
|
5884
|
-
timestamp: number;
|
|
5885
5884
|
payload: {
|
|
5886
5885
|
capability: "none" | "readOnlyLookup" | "idempotentSubmit";
|
|
5887
5886
|
decision: "manual" | "replayed" | "completedByIdempotentSubmit" | "freshRetry";
|
|
5887
|
+
evidence: Record<string, unknown>;
|
|
5888
5888
|
activityId: string;
|
|
5889
5889
|
idempotencyKey: string;
|
|
5890
|
-
evidence: Record<string, unknown>;
|
|
5891
5890
|
} | {
|
|
5892
5891
|
ref: string;
|
|
5893
5892
|
bytes: number;
|
|
5894
5893
|
schemaVersion: number;
|
|
5895
5894
|
};
|
|
5896
|
-
|
|
5895
|
+
timestamp: number;
|
|
5897
5896
|
eventId: string;
|
|
5898
|
-
|
|
5897
|
+
schemaVersion: 1;
|
|
5898
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
5899
5899
|
payloadHash?: string | undefined;
|
|
5900
5900
|
}, {
|
|
5901
5901
|
type: "reconcileResult";
|
|
5902
5902
|
runId: string;
|
|
5903
|
-
timestamp: number;
|
|
5904
5903
|
payload: {
|
|
5905
5904
|
capability: "none" | "readOnlyLookup" | "idempotentSubmit";
|
|
5906
5905
|
decision: "manual" | "replayed" | "completedByIdempotentSubmit" | "freshRetry";
|
|
5906
|
+
evidence: Record<string, unknown>;
|
|
5907
5907
|
activityId: string;
|
|
5908
5908
|
idempotencyKey: string;
|
|
5909
|
-
evidence: Record<string, unknown>;
|
|
5910
5909
|
} | {
|
|
5911
5910
|
ref: string;
|
|
5912
5911
|
bytes: number;
|
|
5913
5912
|
schemaVersion: number;
|
|
5914
5913
|
};
|
|
5915
|
-
|
|
5914
|
+
timestamp: number;
|
|
5916
5915
|
eventId: string;
|
|
5917
|
-
|
|
5916
|
+
schemaVersion: 1;
|
|
5917
|
+
actor: "worker" | "human" | "system" | "scheduler" | "hostExecutor" | "supervisor";
|
|
5918
5918
|
payloadHash?: string | undefined;
|
|
5919
5919
|
}>]>;
|
|
5920
5920
|
export type WorkflowEvent = z.infer<typeof EventSchema>;
|