botmux 2.84.0 → 2.84.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/README.md +4 -0
- package/dist/adapters/backend/sandbox.d.ts +4 -0
- package/dist/adapters/backend/sandbox.d.ts.map +1 -1
- package/dist/adapters/backend/sandbox.js +14 -0
- package/dist/adapters/backend/sandbox.js.map +1 -1
- package/dist/adapters/cli/claude-code.d.ts.map +1 -1
- package/dist/adapters/cli/claude-code.js +4 -1
- package/dist/adapters/cli/claude-code.js.map +1 -1
- package/dist/adapters/cli/types.d.ts +11 -0
- package/dist/adapters/cli/types.d.ts.map +1 -1
- package/dist/bot-registry.d.ts +7 -0
- package/dist/bot-registry.d.ts.map +1 -1
- package/dist/bot-registry.js +27 -0
- package/dist/bot-registry.js.map +1 -1
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +30 -65
- package/dist/cli.js.map +1 -1
- package/dist/core/command-handler.d.ts.map +1 -1
- package/dist/core/command-handler.js +42 -1
- package/dist/core/command-handler.js.map +1 -1
- package/dist/core/dashboard-ipc-server.d.ts.map +1 -1
- package/dist/core/dashboard-ipc-server.js +58 -1
- package/dist/core/dashboard-ipc-server.js.map +1 -1
- package/dist/core/passthrough-commands.d.ts.map +1 -1
- package/dist/core/passthrough-commands.js +1 -1
- package/dist/core/passthrough-commands.js.map +1 -1
- package/dist/core/pending-response.d.ts +2 -39
- package/dist/core/pending-response.d.ts.map +1 -1
- package/dist/core/pending-response.js +5 -99
- package/dist/core/pending-response.js.map +1 -1
- package/dist/core/session-manager.d.ts.map +1 -1
- package/dist/core/session-manager.js +4 -16
- package/dist/core/session-manager.js.map +1 -1
- package/dist/core/skills/claude-plugin-delivery.d.ts +6 -0
- package/dist/core/skills/claude-plugin-delivery.d.ts.map +1 -0
- package/dist/core/skills/claude-plugin-delivery.js +21 -0
- package/dist/core/skills/claude-plugin-delivery.js.map +1 -0
- package/dist/core/skills/cli-admin-command.d.ts +7 -0
- package/dist/core/skills/cli-admin-command.d.ts.map +1 -0
- package/dist/core/skills/cli-admin-command.js +243 -0
- package/dist/core/skills/cli-admin-command.js.map +1 -0
- package/dist/core/skills/cli-session-command.d.ts +7 -0
- package/dist/core/skills/cli-session-command.d.ts.map +1 -0
- package/dist/core/skills/cli-session-command.js +45 -0
- package/dist/core/skills/cli-session-command.js.map +1 -0
- package/dist/core/skills/delivery.d.ts +11 -0
- package/dist/core/skills/delivery.d.ts.map +1 -0
- package/dist/core/skills/delivery.js +22 -0
- package/dist/core/skills/delivery.js.map +1 -0
- package/dist/core/skills/discovery.d.ts +3 -0
- package/dist/core/skills/discovery.d.ts.map +1 -0
- package/dist/core/skills/discovery.js +34 -0
- package/dist/core/skills/discovery.js.map +1 -0
- package/dist/core/skills/frontmatter.d.ts +9 -0
- package/dist/core/skills/frontmatter.d.ts.map +1 -0
- package/dist/core/skills/frontmatter.js +42 -0
- package/dist/core/skills/frontmatter.js.map +1 -0
- package/dist/core/skills/im-command.d.ts +9 -0
- package/dist/core/skills/im-command.d.ts.map +1 -0
- package/dist/core/skills/im-command.js +107 -0
- package/dist/core/skills/im-command.js.map +1 -0
- package/dist/core/skills/manifest-store.d.ts +4 -0
- package/dist/core/skills/manifest-store.d.ts.map +1 -0
- package/dist/core/skills/manifest-store.js +26 -0
- package/dist/core/skills/manifest-store.js.map +1 -0
- package/dist/core/skills/package.d.ts +13 -0
- package/dist/core/skills/package.d.ts.map +1 -0
- package/dist/core/skills/package.js +35 -0
- package/dist/core/skills/package.js.map +1 -0
- package/dist/core/skills/policy.d.ts +18 -0
- package/dist/core/skills/policy.d.ts.map +1 -0
- package/dist/core/skills/policy.js +69 -0
- package/dist/core/skills/policy.js.map +1 -0
- package/dist/core/skills/prompt.d.ts +3 -0
- package/dist/core/skills/prompt.d.ts.map +1 -0
- package/dist/core/skills/prompt.js +25 -0
- package/dist/core/skills/prompt.js.map +1 -0
- package/dist/core/skills/references.d.ts +21 -0
- package/dist/core/skills/references.d.ts.map +1 -0
- package/dist/core/skills/references.js +27 -0
- package/dist/core/skills/references.js.map +1 -0
- package/dist/core/skills/registry-paths.d.ts +5 -0
- package/dist/core/skills/registry-paths.d.ts.map +1 -0
- package/dist/core/skills/registry-paths.js +15 -0
- package/dist/core/skills/registry-paths.js.map +1 -0
- package/dist/core/skills/resource-reader.d.ts +9 -0
- package/dist/core/skills/resource-reader.d.ts.map +1 -0
- package/dist/core/skills/resource-reader.js +97 -0
- package/dist/core/skills/resource-reader.js.map +1 -0
- package/dist/core/skills/session-resolver.d.ts +14 -0
- package/dist/core/skills/session-resolver.d.ts.map +1 -0
- package/dist/core/skills/session-resolver.js +24 -0
- package/dist/core/skills/session-resolver.js.map +1 -0
- package/dist/core/skills/session-runtime.d.ts +14 -0
- package/dist/core/skills/session-runtime.d.ts.map +1 -0
- package/dist/core/skills/session-runtime.js +32 -0
- package/dist/core/skills/session-runtime.js.map +1 -0
- package/dist/core/skills/sources.d.ts +21 -0
- package/dist/core/skills/sources.d.ts.map +1 -0
- package/dist/core/skills/sources.js +155 -0
- package/dist/core/skills/sources.js.map +1 -0
- package/dist/core/skills/types.d.ts +71 -0
- package/dist/core/skills/types.d.ts.map +1 -0
- package/dist/core/skills/types.js +2 -0
- package/dist/core/skills/types.js.map +1 -0
- package/dist/core/types.d.ts +10 -3
- package/dist/core/types.d.ts.map +1 -1
- package/dist/core/types.js.map +1 -1
- package/dist/core/worker-pool.d.ts +14 -1
- package/dist/core/worker-pool.d.ts.map +1 -1
- package/dist/core/worker-pool.js +89 -62
- package/dist/core/worker-pool.js.map +1 -1
- package/dist/daemon.d.ts +2 -2
- package/dist/daemon.d.ts.map +1 -1
- package/dist/daemon.js +49 -52
- package/dist/daemon.js.map +1 -1
- package/dist/dashboard/skill-install-request.d.ts +21 -0
- package/dist/dashboard/skill-install-request.d.ts.map +1 -0
- package/dist/dashboard/skill-install-request.js +62 -0
- package/dist/dashboard/skill-install-request.js.map +1 -0
- package/dist/dashboard/web/app.d.ts.map +1 -1
- package/dist/dashboard/web/app.js +4 -1
- package/dist/dashboard/web/app.js.map +1 -1
- package/dist/dashboard/web/i18n.d.ts.map +1 -1
- package/dist/dashboard/web/i18n.js +138 -0
- package/dist/dashboard/web/i18n.js.map +1 -1
- package/dist/dashboard/web/skills.d.ts +2 -0
- package/dist/dashboard/web/skills.d.ts.map +1 -0
- package/dist/dashboard/web/skills.js +539 -0
- package/dist/dashboard/web/skills.js.map +1 -0
- package/dist/dashboard-web/app.js +594 -451
- package/dist/dashboard-web/index.html +1 -0
- package/dist/dashboard-web/style.css +793 -0
- package/dist/dashboard.js +231 -0
- package/dist/dashboard.js.map +1 -1
- package/dist/global-config.d.ts +7 -0
- package/dist/global-config.d.ts.map +1 -1
- package/dist/global-config.js +16 -0
- package/dist/global-config.js.map +1 -1
- package/dist/i18n/en.d.ts.map +1 -1
- package/dist/i18n/en.js +2 -5
- package/dist/i18n/en.js.map +1 -1
- package/dist/i18n/zh.d.ts.map +1 -1
- package/dist/i18n/zh.js +2 -5
- package/dist/i18n/zh.js.map +1 -1
- package/dist/im/lark/card-builder.d.ts +0 -3
- package/dist/im/lark/card-builder.d.ts.map +1 -1
- package/dist/im/lark/card-builder.js +0 -33
- package/dist/im/lark/card-builder.js.map +1 -1
- package/dist/services/bot-config-store.d.ts +4 -4
- package/dist/services/bot-config-store.d.ts.map +1 -1
- package/dist/services/bot-config-store.js +24 -1
- package/dist/services/bot-config-store.js.map +1 -1
- package/dist/services/session-store.d.ts +1 -0
- package/dist/services/session-store.d.ts.map +1 -1
- package/dist/services/session-store.js +12 -5
- package/dist/services/session-store.js.map +1 -1
- package/dist/services/skill-registry-store.d.ts +42 -0
- package/dist/services/skill-registry-store.d.ts.map +1 -0
- package/dist/services/skill-registry-store.js +343 -0
- package/dist/services/skill-registry-store.js.map +1 -0
- package/dist/skills/installer.d.ts.map +1 -1
- package/dist/skills/installer.js +3 -0
- package/dist/skills/installer.js.map +1 -1
- package/dist/types.d.ts +2 -5
- package/dist/types.d.ts.map +1 -1
- package/dist/utils/file-lock.d.ts +1 -0
- package/dist/utils/file-lock.d.ts.map +1 -1
- package/dist/utils/file-lock.js +87 -1
- package/dist/utils/file-lock.js.map +1 -1
- package/dist/worker.js +2 -0
- package/dist/worker.js.map +1 -1
- package/dist/workflows/definition.d.ts +16 -16
- package/dist/workflows/events/schema.d.ts +280 -280
- package/package.json +1 -1
- package/dist/services/pending-response-transaction-store.d.ts +0 -12
- package/dist/services/pending-response-transaction-store.d.ts.map +0 -1
- package/dist/services/pending-response-transaction-store.js +0 -52
- package/dist/services/pending-response-transaction-store.js.map +0 -1
|
@@ -117,6 +117,8 @@ export declare const RunCreatedEventSchema: z.ZodObject<{
|
|
|
117
117
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
118
118
|
}, "strip", z.ZodTypeAny, {
|
|
119
119
|
type: "runCreated";
|
|
120
|
+
runId: string;
|
|
121
|
+
timestamp: number;
|
|
120
122
|
payload: {
|
|
121
123
|
workflowId: string;
|
|
122
124
|
revisionId: string;
|
|
@@ -140,14 +142,14 @@ export declare const RunCreatedEventSchema: z.ZodObject<{
|
|
|
140
142
|
bytes: number;
|
|
141
143
|
schemaVersion: number;
|
|
142
144
|
};
|
|
143
|
-
timestamp: number;
|
|
144
|
-
runId: string;
|
|
145
145
|
schemaVersion: 1;
|
|
146
146
|
eventId: string;
|
|
147
147
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
148
148
|
payloadHash?: string | undefined;
|
|
149
149
|
}, {
|
|
150
150
|
type: "runCreated";
|
|
151
|
+
runId: string;
|
|
152
|
+
timestamp: number;
|
|
151
153
|
payload: {
|
|
152
154
|
workflowId: string;
|
|
153
155
|
revisionId: string;
|
|
@@ -171,8 +173,6 @@ export declare const RunCreatedEventSchema: z.ZodObject<{
|
|
|
171
173
|
bytes: number;
|
|
172
174
|
schemaVersion: number;
|
|
173
175
|
};
|
|
174
|
-
timestamp: number;
|
|
175
|
-
runId: string;
|
|
176
176
|
schemaVersion: 1;
|
|
177
177
|
eventId: string;
|
|
178
178
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
@@ -201,26 +201,26 @@ export declare const RunStartedEventSchema: z.ZodObject<{
|
|
|
201
201
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
202
202
|
}, "strip", z.ZodTypeAny, {
|
|
203
203
|
type: "runStarted";
|
|
204
|
+
runId: string;
|
|
205
|
+
timestamp: number;
|
|
204
206
|
payload: {} | {
|
|
205
207
|
ref: string;
|
|
206
208
|
bytes: number;
|
|
207
209
|
schemaVersion: number;
|
|
208
210
|
};
|
|
209
|
-
timestamp: number;
|
|
210
|
-
runId: string;
|
|
211
211
|
schemaVersion: 1;
|
|
212
212
|
eventId: string;
|
|
213
213
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
214
214
|
payloadHash?: string | undefined;
|
|
215
215
|
}, {
|
|
216
216
|
type: "runStarted";
|
|
217
|
+
runId: string;
|
|
218
|
+
timestamp: number;
|
|
217
219
|
payload: {} | {
|
|
218
220
|
ref: string;
|
|
219
221
|
bytes: number;
|
|
220
222
|
schemaVersion: number;
|
|
221
223
|
};
|
|
222
|
-
timestamp: number;
|
|
223
|
-
runId: string;
|
|
224
224
|
schemaVersion: 1;
|
|
225
225
|
eventId: string;
|
|
226
226
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
@@ -285,6 +285,8 @@ export declare const RunSucceededEventSchema: z.ZodObject<{
|
|
|
285
285
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
286
286
|
}, "strip", z.ZodTypeAny, {
|
|
287
287
|
type: "runSucceeded";
|
|
288
|
+
runId: string;
|
|
289
|
+
timestamp: number;
|
|
288
290
|
payload: {
|
|
289
291
|
outputRef: {
|
|
290
292
|
outputHash: string;
|
|
@@ -298,14 +300,14 @@ export declare const RunSucceededEventSchema: z.ZodObject<{
|
|
|
298
300
|
bytes: number;
|
|
299
301
|
schemaVersion: number;
|
|
300
302
|
};
|
|
301
|
-
timestamp: number;
|
|
302
|
-
runId: string;
|
|
303
303
|
schemaVersion: 1;
|
|
304
304
|
eventId: string;
|
|
305
305
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
306
306
|
payloadHash?: string | undefined;
|
|
307
307
|
}, {
|
|
308
308
|
type: "runSucceeded";
|
|
309
|
+
runId: string;
|
|
310
|
+
timestamp: number;
|
|
309
311
|
payload: {
|
|
310
312
|
outputRef: {
|
|
311
313
|
outputHash: string;
|
|
@@ -319,8 +321,6 @@ export declare const RunSucceededEventSchema: z.ZodObject<{
|
|
|
319
321
|
bytes: number;
|
|
320
322
|
schemaVersion: number;
|
|
321
323
|
};
|
|
322
|
-
timestamp: number;
|
|
323
|
-
runId: string;
|
|
324
324
|
schemaVersion: 1;
|
|
325
325
|
eventId: string;
|
|
326
326
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
@@ -358,6 +358,8 @@ export declare const RunFailedEventSchema: z.ZodObject<{
|
|
|
358
358
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
359
359
|
}, "strip", z.ZodTypeAny, {
|
|
360
360
|
type: "runFailed";
|
|
361
|
+
runId: string;
|
|
362
|
+
timestamp: number;
|
|
361
363
|
payload: {
|
|
362
364
|
failedNodeId: string;
|
|
363
365
|
rootCauseEventId: string;
|
|
@@ -366,14 +368,14 @@ export declare const RunFailedEventSchema: z.ZodObject<{
|
|
|
366
368
|
bytes: number;
|
|
367
369
|
schemaVersion: number;
|
|
368
370
|
};
|
|
369
|
-
timestamp: number;
|
|
370
|
-
runId: string;
|
|
371
371
|
schemaVersion: 1;
|
|
372
372
|
eventId: string;
|
|
373
373
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
374
374
|
payloadHash?: string | undefined;
|
|
375
375
|
}, {
|
|
376
376
|
type: "runFailed";
|
|
377
|
+
runId: string;
|
|
378
|
+
timestamp: number;
|
|
377
379
|
payload: {
|
|
378
380
|
failedNodeId: string;
|
|
379
381
|
rootCauseEventId: string;
|
|
@@ -382,8 +384,6 @@ export declare const RunFailedEventSchema: z.ZodObject<{
|
|
|
382
384
|
bytes: number;
|
|
383
385
|
schemaVersion: number;
|
|
384
386
|
};
|
|
385
|
-
timestamp: number;
|
|
386
|
-
runId: string;
|
|
387
387
|
schemaVersion: 1;
|
|
388
388
|
eventId: string;
|
|
389
389
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
@@ -418,6 +418,8 @@ export declare const RunCanceledEventSchema: z.ZodObject<{
|
|
|
418
418
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
419
419
|
}, "strip", z.ZodTypeAny, {
|
|
420
420
|
type: "runCanceled";
|
|
421
|
+
runId: string;
|
|
422
|
+
timestamp: number;
|
|
421
423
|
payload: {
|
|
422
424
|
cancelOriginEventId: string;
|
|
423
425
|
} | {
|
|
@@ -425,14 +427,14 @@ export declare const RunCanceledEventSchema: z.ZodObject<{
|
|
|
425
427
|
bytes: number;
|
|
426
428
|
schemaVersion: number;
|
|
427
429
|
};
|
|
428
|
-
timestamp: number;
|
|
429
|
-
runId: string;
|
|
430
430
|
schemaVersion: 1;
|
|
431
431
|
eventId: string;
|
|
432
432
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
433
433
|
payloadHash?: string | undefined;
|
|
434
434
|
}, {
|
|
435
435
|
type: "runCanceled";
|
|
436
|
+
runId: string;
|
|
437
|
+
timestamp: number;
|
|
436
438
|
payload: {
|
|
437
439
|
cancelOriginEventId: string;
|
|
438
440
|
} | {
|
|
@@ -440,8 +442,6 @@ export declare const RunCanceledEventSchema: z.ZodObject<{
|
|
|
440
442
|
bytes: number;
|
|
441
443
|
schemaVersion: number;
|
|
442
444
|
};
|
|
443
|
-
timestamp: number;
|
|
444
|
-
runId: string;
|
|
445
445
|
schemaVersion: 1;
|
|
446
446
|
eventId: string;
|
|
447
447
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
@@ -482,6 +482,8 @@ export declare const NodeWaitingEventSchema: z.ZodObject<{
|
|
|
482
482
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
483
483
|
}, "strip", z.ZodTypeAny, {
|
|
484
484
|
type: "nodeWaiting";
|
|
485
|
+
runId: string;
|
|
486
|
+
timestamp: number;
|
|
485
487
|
payload: {
|
|
486
488
|
nodeId: string;
|
|
487
489
|
waitReason: string;
|
|
@@ -491,14 +493,14 @@ export declare const NodeWaitingEventSchema: z.ZodObject<{
|
|
|
491
493
|
bytes: number;
|
|
492
494
|
schemaVersion: number;
|
|
493
495
|
};
|
|
494
|
-
timestamp: number;
|
|
495
|
-
runId: string;
|
|
496
496
|
schemaVersion: 1;
|
|
497
497
|
eventId: string;
|
|
498
498
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
499
499
|
payloadHash?: string | undefined;
|
|
500
500
|
}, {
|
|
501
501
|
type: "nodeWaiting";
|
|
502
|
+
runId: string;
|
|
503
|
+
timestamp: number;
|
|
502
504
|
payload: {
|
|
503
505
|
nodeId: string;
|
|
504
506
|
waitReason: string;
|
|
@@ -508,8 +510,6 @@ export declare const NodeWaitingEventSchema: z.ZodObject<{
|
|
|
508
510
|
bytes: number;
|
|
509
511
|
schemaVersion: number;
|
|
510
512
|
};
|
|
511
|
-
timestamp: number;
|
|
512
|
-
runId: string;
|
|
513
513
|
schemaVersion: 1;
|
|
514
514
|
eventId: string;
|
|
515
515
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
@@ -550,6 +550,8 @@ export declare const NodeRetryingEventSchema: z.ZodObject<{
|
|
|
550
550
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
551
551
|
}, "strip", z.ZodTypeAny, {
|
|
552
552
|
type: "nodeRetrying";
|
|
553
|
+
runId: string;
|
|
554
|
+
timestamp: number;
|
|
553
555
|
payload: {
|
|
554
556
|
nodeId: string;
|
|
555
557
|
lastAttemptId: string;
|
|
@@ -559,14 +561,14 @@ export declare const NodeRetryingEventSchema: z.ZodObject<{
|
|
|
559
561
|
bytes: number;
|
|
560
562
|
schemaVersion: number;
|
|
561
563
|
};
|
|
562
|
-
timestamp: number;
|
|
563
|
-
runId: string;
|
|
564
564
|
schemaVersion: 1;
|
|
565
565
|
eventId: string;
|
|
566
566
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
567
567
|
payloadHash?: string | undefined;
|
|
568
568
|
}, {
|
|
569
569
|
type: "nodeRetrying";
|
|
570
|
+
runId: string;
|
|
571
|
+
timestamp: number;
|
|
570
572
|
payload: {
|
|
571
573
|
nodeId: string;
|
|
572
574
|
lastAttemptId: string;
|
|
@@ -576,8 +578,6 @@ export declare const NodeRetryingEventSchema: z.ZodObject<{
|
|
|
576
578
|
bytes: number;
|
|
577
579
|
schemaVersion: number;
|
|
578
580
|
};
|
|
579
|
-
timestamp: number;
|
|
580
|
-
runId: string;
|
|
581
581
|
schemaVersion: 1;
|
|
582
582
|
eventId: string;
|
|
583
583
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
@@ -615,6 +615,8 @@ export declare const NodeSucceededEventSchema: z.ZodObject<{
|
|
|
615
615
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
616
616
|
}, "strip", z.ZodTypeAny, {
|
|
617
617
|
type: "nodeSucceeded";
|
|
618
|
+
runId: string;
|
|
619
|
+
timestamp: number;
|
|
618
620
|
payload: {
|
|
619
621
|
nodeId: string;
|
|
620
622
|
lastActivityId: string;
|
|
@@ -623,14 +625,14 @@ export declare const NodeSucceededEventSchema: z.ZodObject<{
|
|
|
623
625
|
bytes: number;
|
|
624
626
|
schemaVersion: number;
|
|
625
627
|
};
|
|
626
|
-
timestamp: number;
|
|
627
|
-
runId: string;
|
|
628
628
|
schemaVersion: 1;
|
|
629
629
|
eventId: string;
|
|
630
630
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
631
631
|
payloadHash?: string | undefined;
|
|
632
632
|
}, {
|
|
633
633
|
type: "nodeSucceeded";
|
|
634
|
+
runId: string;
|
|
635
|
+
timestamp: number;
|
|
634
636
|
payload: {
|
|
635
637
|
nodeId: string;
|
|
636
638
|
lastActivityId: string;
|
|
@@ -639,8 +641,6 @@ export declare const NodeSucceededEventSchema: z.ZodObject<{
|
|
|
639
641
|
bytes: number;
|
|
640
642
|
schemaVersion: number;
|
|
641
643
|
};
|
|
642
|
-
timestamp: number;
|
|
643
|
-
runId: string;
|
|
644
644
|
schemaVersion: 1;
|
|
645
645
|
eventId: string;
|
|
646
646
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
@@ -681,6 +681,8 @@ export declare const NodeFailedEventSchema: z.ZodObject<{
|
|
|
681
681
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
682
682
|
}, "strip", z.ZodTypeAny, {
|
|
683
683
|
type: "nodeFailed";
|
|
684
|
+
runId: string;
|
|
685
|
+
timestamp: number;
|
|
684
686
|
payload: {
|
|
685
687
|
nodeId: string;
|
|
686
688
|
errorClass: "manual" | "retryable" | "fatal" | "userFault";
|
|
@@ -690,14 +692,14 @@ export declare const NodeFailedEventSchema: z.ZodObject<{
|
|
|
690
692
|
bytes: number;
|
|
691
693
|
schemaVersion: number;
|
|
692
694
|
};
|
|
693
|
-
timestamp: number;
|
|
694
|
-
runId: string;
|
|
695
695
|
schemaVersion: 1;
|
|
696
696
|
eventId: string;
|
|
697
697
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
698
698
|
payloadHash?: string | undefined;
|
|
699
699
|
}, {
|
|
700
700
|
type: "nodeFailed";
|
|
701
|
+
runId: string;
|
|
702
|
+
timestamp: number;
|
|
701
703
|
payload: {
|
|
702
704
|
nodeId: string;
|
|
703
705
|
errorClass: "manual" | "retryable" | "fatal" | "userFault";
|
|
@@ -707,8 +709,6 @@ export declare const NodeFailedEventSchema: z.ZodObject<{
|
|
|
707
709
|
bytes: number;
|
|
708
710
|
schemaVersion: number;
|
|
709
711
|
};
|
|
710
|
-
timestamp: number;
|
|
711
|
-
runId: string;
|
|
712
712
|
schemaVersion: 1;
|
|
713
713
|
eventId: string;
|
|
714
714
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
@@ -746,6 +746,8 @@ export declare const NodeSkippedEventSchema: z.ZodObject<{
|
|
|
746
746
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
747
747
|
}, "strip", z.ZodTypeAny, {
|
|
748
748
|
type: "nodeSkipped";
|
|
749
|
+
runId: string;
|
|
750
|
+
timestamp: number;
|
|
749
751
|
payload: {
|
|
750
752
|
nodeId: string;
|
|
751
753
|
conditionEventId: string;
|
|
@@ -754,14 +756,14 @@ export declare const NodeSkippedEventSchema: z.ZodObject<{
|
|
|
754
756
|
bytes: number;
|
|
755
757
|
schemaVersion: number;
|
|
756
758
|
};
|
|
757
|
-
timestamp: number;
|
|
758
|
-
runId: string;
|
|
759
759
|
schemaVersion: 1;
|
|
760
760
|
eventId: string;
|
|
761
761
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
762
762
|
payloadHash?: string | undefined;
|
|
763
763
|
}, {
|
|
764
764
|
type: "nodeSkipped";
|
|
765
|
+
runId: string;
|
|
766
|
+
timestamp: number;
|
|
765
767
|
payload: {
|
|
766
768
|
nodeId: string;
|
|
767
769
|
conditionEventId: string;
|
|
@@ -770,8 +772,6 @@ export declare const NodeSkippedEventSchema: z.ZodObject<{
|
|
|
770
772
|
bytes: number;
|
|
771
773
|
schemaVersion: number;
|
|
772
774
|
};
|
|
773
|
-
timestamp: number;
|
|
774
|
-
runId: string;
|
|
775
775
|
schemaVersion: 1;
|
|
776
776
|
eventId: string;
|
|
777
777
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
@@ -809,6 +809,8 @@ export declare const NodeCanceledEventSchema: z.ZodObject<{
|
|
|
809
809
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
810
810
|
}, "strip", z.ZodTypeAny, {
|
|
811
811
|
type: "nodeCanceled";
|
|
812
|
+
runId: string;
|
|
813
|
+
timestamp: number;
|
|
812
814
|
payload: {
|
|
813
815
|
nodeId: string;
|
|
814
816
|
cancelOriginEventId: string;
|
|
@@ -817,14 +819,14 @@ export declare const NodeCanceledEventSchema: z.ZodObject<{
|
|
|
817
819
|
bytes: number;
|
|
818
820
|
schemaVersion: number;
|
|
819
821
|
};
|
|
820
|
-
timestamp: number;
|
|
821
|
-
runId: string;
|
|
822
822
|
schemaVersion: 1;
|
|
823
823
|
eventId: string;
|
|
824
824
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
825
825
|
payloadHash?: string | undefined;
|
|
826
826
|
}, {
|
|
827
827
|
type: "nodeCanceled";
|
|
828
|
+
runId: string;
|
|
829
|
+
timestamp: number;
|
|
828
830
|
payload: {
|
|
829
831
|
nodeId: string;
|
|
830
832
|
cancelOriginEventId: string;
|
|
@@ -833,8 +835,6 @@ export declare const NodeCanceledEventSchema: z.ZodObject<{
|
|
|
833
835
|
bytes: number;
|
|
834
836
|
schemaVersion: number;
|
|
835
837
|
};
|
|
836
|
-
timestamp: number;
|
|
837
|
-
runId: string;
|
|
838
838
|
schemaVersion: 1;
|
|
839
839
|
eventId: string;
|
|
840
840
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
@@ -875,6 +875,8 @@ export declare const ActivityRunningEventSchema: z.ZodObject<{
|
|
|
875
875
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
876
876
|
}, "strip", z.ZodTypeAny, {
|
|
877
877
|
type: "activityRunning";
|
|
878
|
+
runId: string;
|
|
879
|
+
timestamp: number;
|
|
878
880
|
payload: {
|
|
879
881
|
attemptId: string;
|
|
880
882
|
activityId: string;
|
|
@@ -884,14 +886,14 @@ export declare const ActivityRunningEventSchema: z.ZodObject<{
|
|
|
884
886
|
bytes: number;
|
|
885
887
|
schemaVersion: number;
|
|
886
888
|
};
|
|
887
|
-
timestamp: number;
|
|
888
|
-
runId: string;
|
|
889
889
|
schemaVersion: 1;
|
|
890
890
|
eventId: string;
|
|
891
891
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
892
892
|
payloadHash?: string | undefined;
|
|
893
893
|
}, {
|
|
894
894
|
type: "activityRunning";
|
|
895
|
+
runId: string;
|
|
896
|
+
timestamp: number;
|
|
895
897
|
payload: {
|
|
896
898
|
attemptId: string;
|
|
897
899
|
activityId: string;
|
|
@@ -901,8 +903,6 @@ export declare const ActivityRunningEventSchema: z.ZodObject<{
|
|
|
901
903
|
bytes: number;
|
|
902
904
|
schemaVersion: number;
|
|
903
905
|
};
|
|
904
|
-
timestamp: number;
|
|
905
|
-
runId: string;
|
|
906
906
|
schemaVersion: 1;
|
|
907
907
|
eventId: string;
|
|
908
908
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
@@ -940,6 +940,8 @@ export declare const ActivityWaitingEventSchema: z.ZodObject<{
|
|
|
940
940
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
941
941
|
}, "strip", z.ZodTypeAny, {
|
|
942
942
|
type: "activityWaiting";
|
|
943
|
+
runId: string;
|
|
944
|
+
timestamp: number;
|
|
943
945
|
payload: {
|
|
944
946
|
reason: string;
|
|
945
947
|
activityId: string;
|
|
@@ -948,14 +950,14 @@ export declare const ActivityWaitingEventSchema: z.ZodObject<{
|
|
|
948
950
|
bytes: number;
|
|
949
951
|
schemaVersion: number;
|
|
950
952
|
};
|
|
951
|
-
timestamp: number;
|
|
952
|
-
runId: string;
|
|
953
953
|
schemaVersion: 1;
|
|
954
954
|
eventId: string;
|
|
955
955
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
956
956
|
payloadHash?: string | undefined;
|
|
957
957
|
}, {
|
|
958
958
|
type: "activityWaiting";
|
|
959
|
+
runId: string;
|
|
960
|
+
timestamp: number;
|
|
959
961
|
payload: {
|
|
960
962
|
reason: string;
|
|
961
963
|
activityId: string;
|
|
@@ -964,8 +966,6 @@ export declare const ActivityWaitingEventSchema: z.ZodObject<{
|
|
|
964
966
|
bytes: number;
|
|
965
967
|
schemaVersion: number;
|
|
966
968
|
};
|
|
967
|
-
timestamp: number;
|
|
968
|
-
runId: string;
|
|
969
969
|
schemaVersion: 1;
|
|
970
970
|
eventId: string;
|
|
971
971
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
@@ -1012,6 +1012,8 @@ export declare const ActivityTimedOutEventSchema: z.ZodObject<{
|
|
|
1012
1012
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
1013
1013
|
}, "strip", z.ZodTypeAny, {
|
|
1014
1014
|
type: "activityTimedOut";
|
|
1015
|
+
runId: string;
|
|
1016
|
+
timestamp: number;
|
|
1015
1017
|
payload: {
|
|
1016
1018
|
reason: "LeaseExpired";
|
|
1017
1019
|
attemptId: string;
|
|
@@ -1023,14 +1025,14 @@ export declare const ActivityTimedOutEventSchema: z.ZodObject<{
|
|
|
1023
1025
|
bytes: number;
|
|
1024
1026
|
schemaVersion: number;
|
|
1025
1027
|
};
|
|
1026
|
-
timestamp: number;
|
|
1027
|
-
runId: string;
|
|
1028
1028
|
schemaVersion: 1;
|
|
1029
1029
|
eventId: string;
|
|
1030
1030
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
1031
1031
|
payloadHash?: string | undefined;
|
|
1032
1032
|
}, {
|
|
1033
1033
|
type: "activityTimedOut";
|
|
1034
|
+
runId: string;
|
|
1035
|
+
timestamp: number;
|
|
1034
1036
|
payload: {
|
|
1035
1037
|
reason: "LeaseExpired";
|
|
1036
1038
|
attemptId: string;
|
|
@@ -1042,8 +1044,6 @@ export declare const ActivityTimedOutEventSchema: z.ZodObject<{
|
|
|
1042
1044
|
bytes: number;
|
|
1043
1045
|
schemaVersion: number;
|
|
1044
1046
|
};
|
|
1045
|
-
timestamp: number;
|
|
1046
|
-
runId: string;
|
|
1047
1047
|
schemaVersion: 1;
|
|
1048
1048
|
eventId: string;
|
|
1049
1049
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
@@ -1081,6 +1081,8 @@ export declare const LoopStartedEventSchema: z.ZodObject<{
|
|
|
1081
1081
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
1082
1082
|
}, "strip", z.ZodTypeAny, {
|
|
1083
1083
|
type: "loopStarted";
|
|
1084
|
+
runId: string;
|
|
1085
|
+
timestamp: number;
|
|
1084
1086
|
payload: {
|
|
1085
1087
|
loopId: string;
|
|
1086
1088
|
maxIterations: number;
|
|
@@ -1089,14 +1091,14 @@ export declare const LoopStartedEventSchema: z.ZodObject<{
|
|
|
1089
1091
|
bytes: number;
|
|
1090
1092
|
schemaVersion: number;
|
|
1091
1093
|
};
|
|
1092
|
-
timestamp: number;
|
|
1093
|
-
runId: string;
|
|
1094
1094
|
schemaVersion: 1;
|
|
1095
1095
|
eventId: string;
|
|
1096
1096
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
1097
1097
|
payloadHash?: string | undefined;
|
|
1098
1098
|
}, {
|
|
1099
1099
|
type: "loopStarted";
|
|
1100
|
+
runId: string;
|
|
1101
|
+
timestamp: number;
|
|
1100
1102
|
payload: {
|
|
1101
1103
|
loopId: string;
|
|
1102
1104
|
maxIterations: number;
|
|
@@ -1105,8 +1107,6 @@ export declare const LoopStartedEventSchema: z.ZodObject<{
|
|
|
1105
1107
|
bytes: number;
|
|
1106
1108
|
schemaVersion: number;
|
|
1107
1109
|
};
|
|
1108
|
-
timestamp: number;
|
|
1109
|
-
runId: string;
|
|
1110
1110
|
schemaVersion: 1;
|
|
1111
1111
|
eventId: string;
|
|
1112
1112
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
@@ -1147,6 +1147,8 @@ export declare const LoopIterationStartedEventSchema: z.ZodObject<{
|
|
|
1147
1147
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
1148
1148
|
}, "strip", z.ZodTypeAny, {
|
|
1149
1149
|
type: "loopIterationStarted";
|
|
1150
|
+
runId: string;
|
|
1151
|
+
timestamp: number;
|
|
1150
1152
|
payload: {
|
|
1151
1153
|
loopId: string;
|
|
1152
1154
|
iteration: number;
|
|
@@ -1156,14 +1158,14 @@ export declare const LoopIterationStartedEventSchema: z.ZodObject<{
|
|
|
1156
1158
|
bytes: number;
|
|
1157
1159
|
schemaVersion: number;
|
|
1158
1160
|
};
|
|
1159
|
-
timestamp: number;
|
|
1160
|
-
runId: string;
|
|
1161
1161
|
schemaVersion: 1;
|
|
1162
1162
|
eventId: string;
|
|
1163
1163
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
1164
1164
|
payloadHash?: string | undefined;
|
|
1165
1165
|
}, {
|
|
1166
1166
|
type: "loopIterationStarted";
|
|
1167
|
+
runId: string;
|
|
1168
|
+
timestamp: number;
|
|
1167
1169
|
payload: {
|
|
1168
1170
|
loopId: string;
|
|
1169
1171
|
iteration: number;
|
|
@@ -1173,8 +1175,6 @@ export declare const LoopIterationStartedEventSchema: z.ZodObject<{
|
|
|
1173
1175
|
bytes: number;
|
|
1174
1176
|
schemaVersion: number;
|
|
1175
1177
|
};
|
|
1176
|
-
timestamp: number;
|
|
1177
|
-
runId: string;
|
|
1178
1178
|
schemaVersion: 1;
|
|
1179
1179
|
eventId: string;
|
|
1180
1180
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
@@ -1230,6 +1230,8 @@ export declare const LoopIterationFinishedEventSchema: z.ZodObject<{
|
|
|
1230
1230
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
1231
1231
|
}, "strip", z.ZodTypeAny, {
|
|
1232
1232
|
type: "loopIterationFinished";
|
|
1233
|
+
runId: string;
|
|
1234
|
+
timestamp: number;
|
|
1233
1235
|
payload: {
|
|
1234
1236
|
loopId: string;
|
|
1235
1237
|
iteration: number;
|
|
@@ -1244,14 +1246,14 @@ export declare const LoopIterationFinishedEventSchema: z.ZodObject<{
|
|
|
1244
1246
|
bytes: number;
|
|
1245
1247
|
schemaVersion: number;
|
|
1246
1248
|
};
|
|
1247
|
-
timestamp: number;
|
|
1248
|
-
runId: string;
|
|
1249
1249
|
schemaVersion: 1;
|
|
1250
1250
|
eventId: string;
|
|
1251
1251
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
1252
1252
|
payloadHash?: string | undefined;
|
|
1253
1253
|
}, {
|
|
1254
1254
|
type: "loopIterationFinished";
|
|
1255
|
+
runId: string;
|
|
1256
|
+
timestamp: number;
|
|
1255
1257
|
payload: {
|
|
1256
1258
|
loopId: string;
|
|
1257
1259
|
iteration: number;
|
|
@@ -1266,8 +1268,6 @@ export declare const LoopIterationFinishedEventSchema: z.ZodObject<{
|
|
|
1266
1268
|
bytes: number;
|
|
1267
1269
|
schemaVersion: number;
|
|
1268
1270
|
};
|
|
1269
|
-
timestamp: number;
|
|
1270
|
-
runId: string;
|
|
1271
1271
|
schemaVersion: 1;
|
|
1272
1272
|
eventId: string;
|
|
1273
1273
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
@@ -1347,6 +1347,8 @@ export declare const LoopFinishedEventSchema: z.ZodObject<{
|
|
|
1347
1347
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
1348
1348
|
}, "strip", z.ZodTypeAny, {
|
|
1349
1349
|
type: "loopFinished";
|
|
1350
|
+
runId: string;
|
|
1351
|
+
timestamp: number;
|
|
1350
1352
|
payload: {
|
|
1351
1353
|
loopId: string;
|
|
1352
1354
|
resolution: "timeout" | "approved" | "max-iterations-exceeded" | "body-failed" | "cancelled";
|
|
@@ -1365,14 +1367,14 @@ export declare const LoopFinishedEventSchema: z.ZodObject<{
|
|
|
1365
1367
|
bytes: number;
|
|
1366
1368
|
schemaVersion: number;
|
|
1367
1369
|
};
|
|
1368
|
-
timestamp: number;
|
|
1369
|
-
runId: string;
|
|
1370
1370
|
schemaVersion: 1;
|
|
1371
1371
|
eventId: string;
|
|
1372
1372
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
1373
1373
|
payloadHash?: string | undefined;
|
|
1374
1374
|
}, {
|
|
1375
1375
|
type: "loopFinished";
|
|
1376
|
+
runId: string;
|
|
1377
|
+
timestamp: number;
|
|
1376
1378
|
payload: {
|
|
1377
1379
|
loopId: string;
|
|
1378
1380
|
resolution: "timeout" | "approved" | "max-iterations-exceeded" | "body-failed" | "cancelled";
|
|
@@ -1391,8 +1393,6 @@ export declare const LoopFinishedEventSchema: z.ZodObject<{
|
|
|
1391
1393
|
bytes: number;
|
|
1392
1394
|
schemaVersion: number;
|
|
1393
1395
|
};
|
|
1394
|
-
timestamp: number;
|
|
1395
|
-
runId: string;
|
|
1396
1396
|
schemaVersion: 1;
|
|
1397
1397
|
eventId: string;
|
|
1398
1398
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
@@ -1436,6 +1436,8 @@ export declare const ConditionEvaluatedEventSchema: z.ZodObject<{
|
|
|
1436
1436
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
1437
1437
|
}, "strip", z.ZodTypeAny, {
|
|
1438
1438
|
type: "conditionEvaluated";
|
|
1439
|
+
runId: string;
|
|
1440
|
+
timestamp: number;
|
|
1439
1441
|
payload: {
|
|
1440
1442
|
nodeId: string;
|
|
1441
1443
|
conditionExpr: string;
|
|
@@ -1446,14 +1448,14 @@ export declare const ConditionEvaluatedEventSchema: z.ZodObject<{
|
|
|
1446
1448
|
bytes: number;
|
|
1447
1449
|
schemaVersion: number;
|
|
1448
1450
|
};
|
|
1449
|
-
timestamp: number;
|
|
1450
|
-
runId: string;
|
|
1451
1451
|
schemaVersion: 1;
|
|
1452
1452
|
eventId: string;
|
|
1453
1453
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
1454
1454
|
payloadHash?: string | undefined;
|
|
1455
1455
|
}, {
|
|
1456
1456
|
type: "conditionEvaluated";
|
|
1457
|
+
runId: string;
|
|
1458
|
+
timestamp: number;
|
|
1457
1459
|
payload: {
|
|
1458
1460
|
nodeId: string;
|
|
1459
1461
|
conditionExpr: string;
|
|
@@ -1464,8 +1466,6 @@ export declare const ConditionEvaluatedEventSchema: z.ZodObject<{
|
|
|
1464
1466
|
bytes: number;
|
|
1465
1467
|
schemaVersion: number;
|
|
1466
1468
|
};
|
|
1467
|
-
timestamp: number;
|
|
1468
|
-
runId: string;
|
|
1469
1469
|
schemaVersion: 1;
|
|
1470
1470
|
eventId: string;
|
|
1471
1471
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
@@ -1512,6 +1512,8 @@ export declare const LeaseSignedEventSchema: z.ZodObject<{
|
|
|
1512
1512
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
1513
1513
|
}, "strip", z.ZodTypeAny, {
|
|
1514
1514
|
type: "leaseSigned";
|
|
1515
|
+
runId: string;
|
|
1516
|
+
timestamp: number;
|
|
1515
1517
|
payload: {
|
|
1516
1518
|
timeoutMs: number;
|
|
1517
1519
|
attemptId: string;
|
|
@@ -1523,14 +1525,14 @@ export declare const LeaseSignedEventSchema: z.ZodObject<{
|
|
|
1523
1525
|
bytes: number;
|
|
1524
1526
|
schemaVersion: number;
|
|
1525
1527
|
};
|
|
1526
|
-
timestamp: number;
|
|
1527
|
-
runId: string;
|
|
1528
1528
|
schemaVersion: 1;
|
|
1529
1529
|
eventId: string;
|
|
1530
1530
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
1531
1531
|
payloadHash?: string | undefined;
|
|
1532
1532
|
}, {
|
|
1533
1533
|
type: "leaseSigned";
|
|
1534
|
+
runId: string;
|
|
1535
|
+
timestamp: number;
|
|
1534
1536
|
payload: {
|
|
1535
1537
|
timeoutMs: number;
|
|
1536
1538
|
attemptId: string;
|
|
@@ -1542,8 +1544,6 @@ export declare const LeaseSignedEventSchema: z.ZodObject<{
|
|
|
1542
1544
|
bytes: number;
|
|
1543
1545
|
schemaVersion: number;
|
|
1544
1546
|
};
|
|
1545
|
-
timestamp: number;
|
|
1546
|
-
runId: string;
|
|
1547
1547
|
schemaVersion: 1;
|
|
1548
1548
|
eventId: string;
|
|
1549
1549
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
@@ -1620,6 +1620,8 @@ export declare const AttemptCreatedEventSchema: z.ZodObject<{
|
|
|
1620
1620
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
1621
1621
|
}, "strip", z.ZodTypeAny, {
|
|
1622
1622
|
type: "attemptCreated";
|
|
1623
|
+
runId: string;
|
|
1624
|
+
timestamp: number;
|
|
1623
1625
|
payload: {
|
|
1624
1626
|
nodeId: string;
|
|
1625
1627
|
attemptId: string;
|
|
@@ -1637,14 +1639,14 @@ export declare const AttemptCreatedEventSchema: z.ZodObject<{
|
|
|
1637
1639
|
bytes: number;
|
|
1638
1640
|
schemaVersion: number;
|
|
1639
1641
|
};
|
|
1640
|
-
timestamp: number;
|
|
1641
|
-
runId: string;
|
|
1642
1642
|
schemaVersion: 1;
|
|
1643
1643
|
eventId: string;
|
|
1644
1644
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
1645
1645
|
payloadHash?: string | undefined;
|
|
1646
1646
|
}, {
|
|
1647
1647
|
type: "attemptCreated";
|
|
1648
|
+
runId: string;
|
|
1649
|
+
timestamp: number;
|
|
1648
1650
|
payload: {
|
|
1649
1651
|
nodeId: string;
|
|
1650
1652
|
attemptId: string;
|
|
@@ -1662,8 +1664,6 @@ export declare const AttemptCreatedEventSchema: z.ZodObject<{
|
|
|
1662
1664
|
bytes: number;
|
|
1663
1665
|
schemaVersion: number;
|
|
1664
1666
|
};
|
|
1665
|
-
timestamp: number;
|
|
1666
|
-
runId: string;
|
|
1667
1667
|
schemaVersion: 1;
|
|
1668
1668
|
eventId: string;
|
|
1669
1669
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
@@ -1732,6 +1732,8 @@ export declare const BackoffScheduledEventSchema: z.ZodObject<{
|
|
|
1732
1732
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
1733
1733
|
}, "strip", z.ZodTypeAny, {
|
|
1734
1734
|
type: "backoffScheduled";
|
|
1735
|
+
runId: string;
|
|
1736
|
+
timestamp: number;
|
|
1735
1737
|
payload: {
|
|
1736
1738
|
nodeId: string;
|
|
1737
1739
|
lastAttemptId: string;
|
|
@@ -1747,14 +1749,14 @@ export declare const BackoffScheduledEventSchema: z.ZodObject<{
|
|
|
1747
1749
|
bytes: number;
|
|
1748
1750
|
schemaVersion: number;
|
|
1749
1751
|
};
|
|
1750
|
-
timestamp: number;
|
|
1751
|
-
runId: string;
|
|
1752
1752
|
schemaVersion: 1;
|
|
1753
1753
|
eventId: string;
|
|
1754
1754
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
1755
1755
|
payloadHash?: string | undefined;
|
|
1756
1756
|
}, {
|
|
1757
1757
|
type: "backoffScheduled";
|
|
1758
|
+
runId: string;
|
|
1759
|
+
timestamp: number;
|
|
1758
1760
|
payload: {
|
|
1759
1761
|
nodeId: string;
|
|
1760
1762
|
lastAttemptId: string;
|
|
@@ -1770,8 +1772,6 @@ export declare const BackoffScheduledEventSchema: z.ZodObject<{
|
|
|
1770
1772
|
bytes: number;
|
|
1771
1773
|
schemaVersion: number;
|
|
1772
1774
|
};
|
|
1773
|
-
timestamp: number;
|
|
1774
|
-
runId: string;
|
|
1775
1775
|
schemaVersion: 1;
|
|
1776
1776
|
eventId: string;
|
|
1777
1777
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
@@ -1809,6 +1809,8 @@ export declare const BackoffElapsedEventSchema: z.ZodObject<{
|
|
|
1809
1809
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
1810
1810
|
}, "strip", z.ZodTypeAny, {
|
|
1811
1811
|
type: "backoffElapsed";
|
|
1812
|
+
runId: string;
|
|
1813
|
+
timestamp: number;
|
|
1812
1814
|
payload: {
|
|
1813
1815
|
nodeId: string;
|
|
1814
1816
|
scheduledAttemptId: string;
|
|
@@ -1817,14 +1819,14 @@ export declare const BackoffElapsedEventSchema: z.ZodObject<{
|
|
|
1817
1819
|
bytes: number;
|
|
1818
1820
|
schemaVersion: number;
|
|
1819
1821
|
};
|
|
1820
|
-
timestamp: number;
|
|
1821
|
-
runId: string;
|
|
1822
1822
|
schemaVersion: 1;
|
|
1823
1823
|
eventId: string;
|
|
1824
1824
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
1825
1825
|
payloadHash?: string | undefined;
|
|
1826
1826
|
}, {
|
|
1827
1827
|
type: "backoffElapsed";
|
|
1828
|
+
runId: string;
|
|
1829
|
+
timestamp: number;
|
|
1828
1830
|
payload: {
|
|
1829
1831
|
nodeId: string;
|
|
1830
1832
|
scheduledAttemptId: string;
|
|
@@ -1833,8 +1835,6 @@ export declare const BackoffElapsedEventSchema: z.ZodObject<{
|
|
|
1833
1835
|
bytes: number;
|
|
1834
1836
|
schemaVersion: number;
|
|
1835
1837
|
};
|
|
1836
|
-
timestamp: number;
|
|
1837
|
-
runId: string;
|
|
1838
1838
|
schemaVersion: 1;
|
|
1839
1839
|
eventId: string;
|
|
1840
1840
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
@@ -1884,6 +1884,8 @@ export declare const EffectAttemptedEventSchema: z.ZodObject<{
|
|
|
1884
1884
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
1885
1885
|
}, "strip", z.ZodTypeAny, {
|
|
1886
1886
|
type: "effectAttempted";
|
|
1887
|
+
runId: string;
|
|
1888
|
+
timestamp: number;
|
|
1887
1889
|
payload: {
|
|
1888
1890
|
attemptId: string;
|
|
1889
1891
|
activityId: string;
|
|
@@ -1896,14 +1898,14 @@ export declare const EffectAttemptedEventSchema: z.ZodObject<{
|
|
|
1896
1898
|
bytes: number;
|
|
1897
1899
|
schemaVersion: number;
|
|
1898
1900
|
};
|
|
1899
|
-
timestamp: number;
|
|
1900
|
-
runId: string;
|
|
1901
1901
|
schemaVersion: 1;
|
|
1902
1902
|
eventId: string;
|
|
1903
1903
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
1904
1904
|
payloadHash?: string | undefined;
|
|
1905
1905
|
}, {
|
|
1906
1906
|
type: "effectAttempted";
|
|
1907
|
+
runId: string;
|
|
1908
|
+
timestamp: number;
|
|
1907
1909
|
payload: {
|
|
1908
1910
|
attemptId: string;
|
|
1909
1911
|
activityId: string;
|
|
@@ -1916,8 +1918,6 @@ export declare const EffectAttemptedEventSchema: z.ZodObject<{
|
|
|
1916
1918
|
bytes: number;
|
|
1917
1919
|
schemaVersion: number;
|
|
1918
1920
|
};
|
|
1919
|
-
timestamp: number;
|
|
1920
|
-
runId: string;
|
|
1921
1921
|
schemaVersion: 1;
|
|
1922
1922
|
eventId: string;
|
|
1923
1923
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
@@ -1991,6 +1991,8 @@ export declare const ActivitySucceededEventSchema: z.ZodObject<{
|
|
|
1991
1991
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
1992
1992
|
}, "strip", z.ZodTypeAny, {
|
|
1993
1993
|
type: "activitySucceeded";
|
|
1994
|
+
runId: string;
|
|
1995
|
+
timestamp: number;
|
|
1994
1996
|
payload: {
|
|
1995
1997
|
attemptId: string;
|
|
1996
1998
|
activityId: string;
|
|
@@ -2007,14 +2009,14 @@ export declare const ActivitySucceededEventSchema: z.ZodObject<{
|
|
|
2007
2009
|
bytes: number;
|
|
2008
2010
|
schemaVersion: number;
|
|
2009
2011
|
};
|
|
2010
|
-
timestamp: number;
|
|
2011
|
-
runId: string;
|
|
2012
2012
|
schemaVersion: 1;
|
|
2013
2013
|
eventId: string;
|
|
2014
2014
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
2015
2015
|
payloadHash?: string | undefined;
|
|
2016
2016
|
}, {
|
|
2017
2017
|
type: "activitySucceeded";
|
|
2018
|
+
runId: string;
|
|
2019
|
+
timestamp: number;
|
|
2018
2020
|
payload: {
|
|
2019
2021
|
attemptId: string;
|
|
2020
2022
|
activityId: string;
|
|
@@ -2031,8 +2033,6 @@ export declare const ActivitySucceededEventSchema: z.ZodObject<{
|
|
|
2031
2033
|
bytes: number;
|
|
2032
2034
|
schemaVersion: number;
|
|
2033
2035
|
};
|
|
2034
|
-
timestamp: number;
|
|
2035
|
-
runId: string;
|
|
2036
2036
|
schemaVersion: 1;
|
|
2037
2037
|
eventId: string;
|
|
2038
2038
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
@@ -2098,6 +2098,8 @@ export declare const ActivityFailedEventSchema: z.ZodObject<{
|
|
|
2098
2098
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
2099
2099
|
}, "strip", z.ZodTypeAny, {
|
|
2100
2100
|
type: "activityFailed";
|
|
2101
|
+
runId: string;
|
|
2102
|
+
timestamp: number;
|
|
2101
2103
|
payload: {
|
|
2102
2104
|
error: {
|
|
2103
2105
|
errorCode: "LeaseExpired" | "WorkerCrashed" | "NetworkError" | "ProviderRateLimited" | "IdempotencyInputMismatch" | "IdempotencyConflict" | "InputValidationFailed" | "InputBindingFailed" | "OutputSchemaViolation" | "WaitDeadlineExceeded" | "TtlExpired" | "UnknownProviderError" | "InputUnrecoverable" | "CorruptLog" | "LoopMaxIterationsExceeded" | "LoopBodyFailed";
|
|
@@ -2112,14 +2114,14 @@ export declare const ActivityFailedEventSchema: z.ZodObject<{
|
|
|
2112
2114
|
bytes: number;
|
|
2113
2115
|
schemaVersion: number;
|
|
2114
2116
|
};
|
|
2115
|
-
timestamp: number;
|
|
2116
|
-
runId: string;
|
|
2117
2117
|
schemaVersion: 1;
|
|
2118
2118
|
eventId: string;
|
|
2119
2119
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
2120
2120
|
payloadHash?: string | undefined;
|
|
2121
2121
|
}, {
|
|
2122
2122
|
type: "activityFailed";
|
|
2123
|
+
runId: string;
|
|
2124
|
+
timestamp: number;
|
|
2123
2125
|
payload: {
|
|
2124
2126
|
error: {
|
|
2125
2127
|
errorCode: "LeaseExpired" | "WorkerCrashed" | "NetworkError" | "ProviderRateLimited" | "IdempotencyInputMismatch" | "IdempotencyConflict" | "InputValidationFailed" | "InputBindingFailed" | "OutputSchemaViolation" | "WaitDeadlineExceeded" | "TtlExpired" | "UnknownProviderError" | "InputUnrecoverable" | "CorruptLog" | "LoopMaxIterationsExceeded" | "LoopBodyFailed";
|
|
@@ -2134,8 +2136,6 @@ export declare const ActivityFailedEventSchema: z.ZodObject<{
|
|
|
2134
2136
|
bytes: number;
|
|
2135
2137
|
schemaVersion: number;
|
|
2136
2138
|
};
|
|
2137
|
-
timestamp: number;
|
|
2138
|
-
runId: string;
|
|
2139
2139
|
schemaVersion: 1;
|
|
2140
2140
|
eventId: string;
|
|
2141
2141
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
@@ -2224,6 +2224,8 @@ export declare const WaitCreatedEventSchema: z.ZodObject<{
|
|
|
2224
2224
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
2225
2225
|
}, "strip", z.ZodTypeAny, {
|
|
2226
2226
|
type: "waitCreated";
|
|
2227
|
+
runId: string;
|
|
2228
|
+
timestamp: number;
|
|
2227
2229
|
payload: {
|
|
2228
2230
|
nodeId: string;
|
|
2229
2231
|
activityId: string;
|
|
@@ -2245,14 +2247,14 @@ export declare const WaitCreatedEventSchema: z.ZodObject<{
|
|
|
2245
2247
|
bytes: number;
|
|
2246
2248
|
schemaVersion: number;
|
|
2247
2249
|
};
|
|
2248
|
-
timestamp: number;
|
|
2249
|
-
runId: string;
|
|
2250
2250
|
schemaVersion: 1;
|
|
2251
2251
|
eventId: string;
|
|
2252
2252
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
2253
2253
|
payloadHash?: string | undefined;
|
|
2254
2254
|
}, {
|
|
2255
2255
|
type: "waitCreated";
|
|
2256
|
+
runId: string;
|
|
2257
|
+
timestamp: number;
|
|
2256
2258
|
payload: {
|
|
2257
2259
|
nodeId: string;
|
|
2258
2260
|
activityId: string;
|
|
@@ -2274,8 +2276,6 @@ export declare const WaitCreatedEventSchema: z.ZodObject<{
|
|
|
2274
2276
|
bytes: number;
|
|
2275
2277
|
schemaVersion: number;
|
|
2276
2278
|
};
|
|
2277
|
-
timestamp: number;
|
|
2278
|
-
runId: string;
|
|
2279
2279
|
schemaVersion: 1;
|
|
2280
2280
|
eventId: string;
|
|
2281
2281
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
@@ -2319,6 +2319,8 @@ export declare const WaitResolvedEventSchema: z.ZodObject<{
|
|
|
2319
2319
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
2320
2320
|
}, "strip", z.ZodTypeAny, {
|
|
2321
2321
|
type: "waitResolved";
|
|
2322
|
+
runId: string;
|
|
2323
|
+
timestamp: number;
|
|
2322
2324
|
payload: {
|
|
2323
2325
|
activityId: string;
|
|
2324
2326
|
resolution: "approved" | "rejected" | "external";
|
|
@@ -2329,14 +2331,14 @@ export declare const WaitResolvedEventSchema: z.ZodObject<{
|
|
|
2329
2331
|
bytes: number;
|
|
2330
2332
|
schemaVersion: number;
|
|
2331
2333
|
};
|
|
2332
|
-
timestamp: number;
|
|
2333
|
-
runId: string;
|
|
2334
2334
|
schemaVersion: 1;
|
|
2335
2335
|
eventId: string;
|
|
2336
2336
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
2337
2337
|
payloadHash?: string | undefined;
|
|
2338
2338
|
}, {
|
|
2339
2339
|
type: "waitResolved";
|
|
2340
|
+
runId: string;
|
|
2341
|
+
timestamp: number;
|
|
2340
2342
|
payload: {
|
|
2341
2343
|
activityId: string;
|
|
2342
2344
|
resolution: "approved" | "rejected" | "external";
|
|
@@ -2347,8 +2349,6 @@ export declare const WaitResolvedEventSchema: z.ZodObject<{
|
|
|
2347
2349
|
bytes: number;
|
|
2348
2350
|
schemaVersion: number;
|
|
2349
2351
|
};
|
|
2350
|
-
timestamp: number;
|
|
2351
|
-
runId: string;
|
|
2352
2352
|
schemaVersion: 1;
|
|
2353
2353
|
eventId: string;
|
|
2354
2354
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
@@ -2389,6 +2389,8 @@ export declare const WaitDeadlineExceededEventSchema: z.ZodObject<{
|
|
|
2389
2389
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
2390
2390
|
}, "strip", z.ZodTypeAny, {
|
|
2391
2391
|
type: "waitDeadlineExceeded";
|
|
2392
|
+
runId: string;
|
|
2393
|
+
timestamp: number;
|
|
2392
2394
|
payload: {
|
|
2393
2395
|
activityId: string;
|
|
2394
2396
|
deadlineAt: number;
|
|
@@ -2398,14 +2400,14 @@ export declare const WaitDeadlineExceededEventSchema: z.ZodObject<{
|
|
|
2398
2400
|
bytes: number;
|
|
2399
2401
|
schemaVersion: number;
|
|
2400
2402
|
};
|
|
2401
|
-
timestamp: number;
|
|
2402
|
-
runId: string;
|
|
2403
2403
|
schemaVersion: 1;
|
|
2404
2404
|
eventId: string;
|
|
2405
2405
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
2406
2406
|
payloadHash?: string | undefined;
|
|
2407
2407
|
}, {
|
|
2408
2408
|
type: "waitDeadlineExceeded";
|
|
2409
|
+
runId: string;
|
|
2410
|
+
timestamp: number;
|
|
2409
2411
|
payload: {
|
|
2410
2412
|
activityId: string;
|
|
2411
2413
|
deadlineAt: number;
|
|
@@ -2415,8 +2417,6 @@ export declare const WaitDeadlineExceededEventSchema: z.ZodObject<{
|
|
|
2415
2417
|
bytes: number;
|
|
2416
2418
|
schemaVersion: number;
|
|
2417
2419
|
};
|
|
2418
|
-
timestamp: number;
|
|
2419
|
-
runId: string;
|
|
2420
2420
|
schemaVersion: 1;
|
|
2421
2421
|
eventId: string;
|
|
2422
2422
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
@@ -2502,6 +2502,8 @@ export declare const CancelRequestedEventSchema: z.ZodObject<{
|
|
|
2502
2502
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
2503
2503
|
}, "strip", z.ZodTypeAny, {
|
|
2504
2504
|
type: "cancelRequested";
|
|
2505
|
+
runId: string;
|
|
2506
|
+
timestamp: number;
|
|
2505
2507
|
payload: {
|
|
2506
2508
|
reason: string;
|
|
2507
2509
|
by: string;
|
|
@@ -2520,14 +2522,14 @@ export declare const CancelRequestedEventSchema: z.ZodObject<{
|
|
|
2520
2522
|
bytes: number;
|
|
2521
2523
|
schemaVersion: number;
|
|
2522
2524
|
};
|
|
2523
|
-
timestamp: number;
|
|
2524
|
-
runId: string;
|
|
2525
2525
|
schemaVersion: 1;
|
|
2526
2526
|
eventId: string;
|
|
2527
2527
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
2528
2528
|
payloadHash?: string | undefined;
|
|
2529
2529
|
}, {
|
|
2530
2530
|
type: "cancelRequested";
|
|
2531
|
+
runId: string;
|
|
2532
|
+
timestamp: number;
|
|
2531
2533
|
payload: {
|
|
2532
2534
|
reason: string;
|
|
2533
2535
|
by: string;
|
|
@@ -2546,8 +2548,6 @@ export declare const CancelRequestedEventSchema: z.ZodObject<{
|
|
|
2546
2548
|
bytes: number;
|
|
2547
2549
|
schemaVersion: number;
|
|
2548
2550
|
};
|
|
2549
|
-
timestamp: number;
|
|
2550
|
-
runId: string;
|
|
2551
2551
|
schemaVersion: 1;
|
|
2552
2552
|
eventId: string;
|
|
2553
2553
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
@@ -2630,6 +2630,8 @@ export declare const CancelDeliveredEventSchema: z.ZodObject<{
|
|
|
2630
2630
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
2631
2631
|
}, "strip", z.ZodTypeAny, {
|
|
2632
2632
|
type: "cancelDelivered";
|
|
2633
|
+
runId: string;
|
|
2634
|
+
timestamp: number;
|
|
2633
2635
|
payload: {
|
|
2634
2636
|
activityId: string;
|
|
2635
2637
|
target: {
|
|
@@ -2647,14 +2649,14 @@ export declare const CancelDeliveredEventSchema: z.ZodObject<{
|
|
|
2647
2649
|
bytes: number;
|
|
2648
2650
|
schemaVersion: number;
|
|
2649
2651
|
};
|
|
2650
|
-
timestamp: number;
|
|
2651
|
-
runId: string;
|
|
2652
2652
|
schemaVersion: 1;
|
|
2653
2653
|
eventId: string;
|
|
2654
2654
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
2655
2655
|
payloadHash?: string | undefined;
|
|
2656
2656
|
}, {
|
|
2657
2657
|
type: "cancelDelivered";
|
|
2658
|
+
runId: string;
|
|
2659
|
+
timestamp: number;
|
|
2658
2660
|
payload: {
|
|
2659
2661
|
activityId: string;
|
|
2660
2662
|
target: {
|
|
@@ -2672,8 +2674,6 @@ export declare const CancelDeliveredEventSchema: z.ZodObject<{
|
|
|
2672
2674
|
bytes: number;
|
|
2673
2675
|
schemaVersion: number;
|
|
2674
2676
|
};
|
|
2675
|
-
timestamp: number;
|
|
2676
|
-
runId: string;
|
|
2677
2677
|
schemaVersion: 1;
|
|
2678
2678
|
eventId: string;
|
|
2679
2679
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
@@ -2714,6 +2714,8 @@ export declare const ActivityCanceledEventSchema: z.ZodObject<{
|
|
|
2714
2714
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
2715
2715
|
}, "strip", z.ZodTypeAny, {
|
|
2716
2716
|
type: "activityCanceled";
|
|
2717
|
+
runId: string;
|
|
2718
|
+
timestamp: number;
|
|
2717
2719
|
payload: {
|
|
2718
2720
|
attemptId: string;
|
|
2719
2721
|
activityId: string;
|
|
@@ -2723,14 +2725,14 @@ export declare const ActivityCanceledEventSchema: z.ZodObject<{
|
|
|
2723
2725
|
bytes: number;
|
|
2724
2726
|
schemaVersion: number;
|
|
2725
2727
|
};
|
|
2726
|
-
timestamp: number;
|
|
2727
|
-
runId: string;
|
|
2728
2728
|
schemaVersion: 1;
|
|
2729
2729
|
eventId: string;
|
|
2730
2730
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
2731
2731
|
payloadHash?: string | undefined;
|
|
2732
2732
|
}, {
|
|
2733
2733
|
type: "activityCanceled";
|
|
2734
|
+
runId: string;
|
|
2735
|
+
timestamp: number;
|
|
2734
2736
|
payload: {
|
|
2735
2737
|
attemptId: string;
|
|
2736
2738
|
activityId: string;
|
|
@@ -2740,8 +2742,6 @@ export declare const ActivityCanceledEventSchema: z.ZodObject<{
|
|
|
2740
2742
|
bytes: number;
|
|
2741
2743
|
schemaVersion: number;
|
|
2742
2744
|
};
|
|
2743
|
-
timestamp: number;
|
|
2744
|
-
runId: string;
|
|
2745
2745
|
schemaVersion: 1;
|
|
2746
2746
|
eventId: string;
|
|
2747
2747
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
@@ -2779,6 +2779,8 @@ export declare const WorkerLostEventSchema: z.ZodObject<{
|
|
|
2779
2779
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
2780
2780
|
}, "strip", z.ZodTypeAny, {
|
|
2781
2781
|
type: "workerLost";
|
|
2782
|
+
runId: string;
|
|
2783
|
+
timestamp: number;
|
|
2782
2784
|
payload: {
|
|
2783
2785
|
workerId: string;
|
|
2784
2786
|
lostActivityIds: string[];
|
|
@@ -2787,14 +2789,14 @@ export declare const WorkerLostEventSchema: z.ZodObject<{
|
|
|
2787
2789
|
bytes: number;
|
|
2788
2790
|
schemaVersion: number;
|
|
2789
2791
|
};
|
|
2790
|
-
timestamp: number;
|
|
2791
|
-
runId: string;
|
|
2792
2792
|
schemaVersion: 1;
|
|
2793
2793
|
eventId: string;
|
|
2794
2794
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
2795
2795
|
payloadHash?: string | undefined;
|
|
2796
2796
|
}, {
|
|
2797
2797
|
type: "workerLost";
|
|
2798
|
+
runId: string;
|
|
2799
|
+
timestamp: number;
|
|
2798
2800
|
payload: {
|
|
2799
2801
|
workerId: string;
|
|
2800
2802
|
lostActivityIds: string[];
|
|
@@ -2803,8 +2805,6 @@ export declare const WorkerLostEventSchema: z.ZodObject<{
|
|
|
2803
2805
|
bytes: number;
|
|
2804
2806
|
schemaVersion: number;
|
|
2805
2807
|
};
|
|
2806
|
-
timestamp: number;
|
|
2807
|
-
runId: string;
|
|
2808
2808
|
schemaVersion: 1;
|
|
2809
2809
|
eventId: string;
|
|
2810
2810
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
@@ -2842,6 +2842,8 @@ export declare const ResumeStartedEventSchema: z.ZodObject<{
|
|
|
2842
2842
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
2843
2843
|
}, "strip", z.ZodTypeAny, {
|
|
2844
2844
|
type: "resumeStarted";
|
|
2845
|
+
runId: string;
|
|
2846
|
+
timestamp: number;
|
|
2845
2847
|
payload: {
|
|
2846
2848
|
daemonId: string;
|
|
2847
2849
|
lastSeenEventId: string;
|
|
@@ -2850,14 +2852,14 @@ export declare const ResumeStartedEventSchema: z.ZodObject<{
|
|
|
2850
2852
|
bytes: number;
|
|
2851
2853
|
schemaVersion: number;
|
|
2852
2854
|
};
|
|
2853
|
-
timestamp: number;
|
|
2854
|
-
runId: string;
|
|
2855
2855
|
schemaVersion: 1;
|
|
2856
2856
|
eventId: string;
|
|
2857
2857
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
2858
2858
|
payloadHash?: string | undefined;
|
|
2859
2859
|
}, {
|
|
2860
2860
|
type: "resumeStarted";
|
|
2861
|
+
runId: string;
|
|
2862
|
+
timestamp: number;
|
|
2861
2863
|
payload: {
|
|
2862
2864
|
daemonId: string;
|
|
2863
2865
|
lastSeenEventId: string;
|
|
@@ -2866,8 +2868,6 @@ export declare const ResumeStartedEventSchema: z.ZodObject<{
|
|
|
2866
2868
|
bytes: number;
|
|
2867
2869
|
schemaVersion: number;
|
|
2868
2870
|
};
|
|
2869
|
-
timestamp: number;
|
|
2870
|
-
runId: string;
|
|
2871
2871
|
schemaVersion: 1;
|
|
2872
2872
|
eventId: string;
|
|
2873
2873
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
@@ -2914,6 +2914,8 @@ export declare const ReconcileResultEventSchema: z.ZodObject<{
|
|
|
2914
2914
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
2915
2915
|
}, "strip", z.ZodTypeAny, {
|
|
2916
2916
|
type: "reconcileResult";
|
|
2917
|
+
runId: string;
|
|
2918
|
+
timestamp: number;
|
|
2917
2919
|
payload: {
|
|
2918
2920
|
capability: "none" | "readOnlyLookup" | "idempotentSubmit";
|
|
2919
2921
|
decision: "manual" | "replayed" | "completedByIdempotentSubmit" | "freshRetry";
|
|
@@ -2925,14 +2927,14 @@ export declare const ReconcileResultEventSchema: z.ZodObject<{
|
|
|
2925
2927
|
bytes: number;
|
|
2926
2928
|
schemaVersion: number;
|
|
2927
2929
|
};
|
|
2928
|
-
timestamp: number;
|
|
2929
|
-
runId: string;
|
|
2930
2930
|
schemaVersion: 1;
|
|
2931
2931
|
eventId: string;
|
|
2932
2932
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
2933
2933
|
payloadHash?: string | undefined;
|
|
2934
2934
|
}, {
|
|
2935
2935
|
type: "reconcileResult";
|
|
2936
|
+
runId: string;
|
|
2937
|
+
timestamp: number;
|
|
2936
2938
|
payload: {
|
|
2937
2939
|
capability: "none" | "readOnlyLookup" | "idempotentSubmit";
|
|
2938
2940
|
decision: "manual" | "replayed" | "completedByIdempotentSubmit" | "freshRetry";
|
|
@@ -2944,8 +2946,6 @@ export declare const ReconcileResultEventSchema: z.ZodObject<{
|
|
|
2944
2946
|
bytes: number;
|
|
2945
2947
|
schemaVersion: number;
|
|
2946
2948
|
};
|
|
2947
|
-
timestamp: number;
|
|
2948
|
-
runId: string;
|
|
2949
2949
|
schemaVersion: 1;
|
|
2950
2950
|
eventId: string;
|
|
2951
2951
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
@@ -3061,6 +3061,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3061
3061
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
3062
3062
|
}, "strip", z.ZodTypeAny, {
|
|
3063
3063
|
type: "runCreated";
|
|
3064
|
+
runId: string;
|
|
3065
|
+
timestamp: number;
|
|
3064
3066
|
payload: {
|
|
3065
3067
|
workflowId: string;
|
|
3066
3068
|
revisionId: string;
|
|
@@ -3084,14 +3086,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3084
3086
|
bytes: number;
|
|
3085
3087
|
schemaVersion: number;
|
|
3086
3088
|
};
|
|
3087
|
-
timestamp: number;
|
|
3088
|
-
runId: string;
|
|
3089
3089
|
schemaVersion: 1;
|
|
3090
3090
|
eventId: string;
|
|
3091
3091
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
3092
3092
|
payloadHash?: string | undefined;
|
|
3093
3093
|
}, {
|
|
3094
3094
|
type: "runCreated";
|
|
3095
|
+
runId: string;
|
|
3096
|
+
timestamp: number;
|
|
3095
3097
|
payload: {
|
|
3096
3098
|
workflowId: string;
|
|
3097
3099
|
revisionId: string;
|
|
@@ -3115,8 +3117,6 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3115
3117
|
bytes: number;
|
|
3116
3118
|
schemaVersion: number;
|
|
3117
3119
|
};
|
|
3118
|
-
timestamp: number;
|
|
3119
|
-
runId: string;
|
|
3120
3120
|
schemaVersion: 1;
|
|
3121
3121
|
eventId: string;
|
|
3122
3122
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
@@ -3144,26 +3144,26 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3144
3144
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
3145
3145
|
}, "strip", z.ZodTypeAny, {
|
|
3146
3146
|
type: "runStarted";
|
|
3147
|
+
runId: string;
|
|
3148
|
+
timestamp: number;
|
|
3147
3149
|
payload: {} | {
|
|
3148
3150
|
ref: string;
|
|
3149
3151
|
bytes: number;
|
|
3150
3152
|
schemaVersion: number;
|
|
3151
3153
|
};
|
|
3152
|
-
timestamp: number;
|
|
3153
|
-
runId: string;
|
|
3154
3154
|
schemaVersion: 1;
|
|
3155
3155
|
eventId: string;
|
|
3156
3156
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
3157
3157
|
payloadHash?: string | undefined;
|
|
3158
3158
|
}, {
|
|
3159
3159
|
type: "runStarted";
|
|
3160
|
+
runId: string;
|
|
3161
|
+
timestamp: number;
|
|
3160
3162
|
payload: {} | {
|
|
3161
3163
|
ref: string;
|
|
3162
3164
|
bytes: number;
|
|
3163
3165
|
schemaVersion: number;
|
|
3164
3166
|
};
|
|
3165
|
-
timestamp: number;
|
|
3166
|
-
runId: string;
|
|
3167
3167
|
schemaVersion: 1;
|
|
3168
3168
|
eventId: string;
|
|
3169
3169
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
@@ -3227,6 +3227,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3227
3227
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
3228
3228
|
}, "strip", z.ZodTypeAny, {
|
|
3229
3229
|
type: "runSucceeded";
|
|
3230
|
+
runId: string;
|
|
3231
|
+
timestamp: number;
|
|
3230
3232
|
payload: {
|
|
3231
3233
|
outputRef: {
|
|
3232
3234
|
outputHash: string;
|
|
@@ -3240,14 +3242,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3240
3242
|
bytes: number;
|
|
3241
3243
|
schemaVersion: number;
|
|
3242
3244
|
};
|
|
3243
|
-
timestamp: number;
|
|
3244
|
-
runId: string;
|
|
3245
3245
|
schemaVersion: 1;
|
|
3246
3246
|
eventId: string;
|
|
3247
3247
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
3248
3248
|
payloadHash?: string | undefined;
|
|
3249
3249
|
}, {
|
|
3250
3250
|
type: "runSucceeded";
|
|
3251
|
+
runId: string;
|
|
3252
|
+
timestamp: number;
|
|
3251
3253
|
payload: {
|
|
3252
3254
|
outputRef: {
|
|
3253
3255
|
outputHash: string;
|
|
@@ -3261,8 +3263,6 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3261
3263
|
bytes: number;
|
|
3262
3264
|
schemaVersion: number;
|
|
3263
3265
|
};
|
|
3264
|
-
timestamp: number;
|
|
3265
|
-
runId: string;
|
|
3266
3266
|
schemaVersion: 1;
|
|
3267
3267
|
eventId: string;
|
|
3268
3268
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
@@ -3299,6 +3299,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3299
3299
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
3300
3300
|
}, "strip", z.ZodTypeAny, {
|
|
3301
3301
|
type: "runFailed";
|
|
3302
|
+
runId: string;
|
|
3303
|
+
timestamp: number;
|
|
3302
3304
|
payload: {
|
|
3303
3305
|
failedNodeId: string;
|
|
3304
3306
|
rootCauseEventId: string;
|
|
@@ -3307,14 +3309,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3307
3309
|
bytes: number;
|
|
3308
3310
|
schemaVersion: number;
|
|
3309
3311
|
};
|
|
3310
|
-
timestamp: number;
|
|
3311
|
-
runId: string;
|
|
3312
3312
|
schemaVersion: 1;
|
|
3313
3313
|
eventId: string;
|
|
3314
3314
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
3315
3315
|
payloadHash?: string | undefined;
|
|
3316
3316
|
}, {
|
|
3317
3317
|
type: "runFailed";
|
|
3318
|
+
runId: string;
|
|
3319
|
+
timestamp: number;
|
|
3318
3320
|
payload: {
|
|
3319
3321
|
failedNodeId: string;
|
|
3320
3322
|
rootCauseEventId: string;
|
|
@@ -3323,8 +3325,6 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3323
3325
|
bytes: number;
|
|
3324
3326
|
schemaVersion: number;
|
|
3325
3327
|
};
|
|
3326
|
-
timestamp: number;
|
|
3327
|
-
runId: string;
|
|
3328
3328
|
schemaVersion: 1;
|
|
3329
3329
|
eventId: string;
|
|
3330
3330
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
@@ -3358,6 +3358,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3358
3358
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
3359
3359
|
}, "strip", z.ZodTypeAny, {
|
|
3360
3360
|
type: "runCanceled";
|
|
3361
|
+
runId: string;
|
|
3362
|
+
timestamp: number;
|
|
3361
3363
|
payload: {
|
|
3362
3364
|
cancelOriginEventId: string;
|
|
3363
3365
|
} | {
|
|
@@ -3365,14 +3367,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3365
3367
|
bytes: number;
|
|
3366
3368
|
schemaVersion: number;
|
|
3367
3369
|
};
|
|
3368
|
-
timestamp: number;
|
|
3369
|
-
runId: string;
|
|
3370
3370
|
schemaVersion: 1;
|
|
3371
3371
|
eventId: string;
|
|
3372
3372
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
3373
3373
|
payloadHash?: string | undefined;
|
|
3374
3374
|
}, {
|
|
3375
3375
|
type: "runCanceled";
|
|
3376
|
+
runId: string;
|
|
3377
|
+
timestamp: number;
|
|
3376
3378
|
payload: {
|
|
3377
3379
|
cancelOriginEventId: string;
|
|
3378
3380
|
} | {
|
|
@@ -3380,8 +3382,6 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3380
3382
|
bytes: number;
|
|
3381
3383
|
schemaVersion: number;
|
|
3382
3384
|
};
|
|
3383
|
-
timestamp: number;
|
|
3384
|
-
runId: string;
|
|
3385
3385
|
schemaVersion: 1;
|
|
3386
3386
|
eventId: string;
|
|
3387
3387
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
@@ -3421,6 +3421,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3421
3421
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
3422
3422
|
}, "strip", z.ZodTypeAny, {
|
|
3423
3423
|
type: "nodeWaiting";
|
|
3424
|
+
runId: string;
|
|
3425
|
+
timestamp: number;
|
|
3424
3426
|
payload: {
|
|
3425
3427
|
nodeId: string;
|
|
3426
3428
|
waitReason: string;
|
|
@@ -3430,14 +3432,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3430
3432
|
bytes: number;
|
|
3431
3433
|
schemaVersion: number;
|
|
3432
3434
|
};
|
|
3433
|
-
timestamp: number;
|
|
3434
|
-
runId: string;
|
|
3435
3435
|
schemaVersion: 1;
|
|
3436
3436
|
eventId: string;
|
|
3437
3437
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
3438
3438
|
payloadHash?: string | undefined;
|
|
3439
3439
|
}, {
|
|
3440
3440
|
type: "nodeWaiting";
|
|
3441
|
+
runId: string;
|
|
3442
|
+
timestamp: number;
|
|
3441
3443
|
payload: {
|
|
3442
3444
|
nodeId: string;
|
|
3443
3445
|
waitReason: string;
|
|
@@ -3447,8 +3449,6 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3447
3449
|
bytes: number;
|
|
3448
3450
|
schemaVersion: number;
|
|
3449
3451
|
};
|
|
3450
|
-
timestamp: number;
|
|
3451
|
-
runId: string;
|
|
3452
3452
|
schemaVersion: 1;
|
|
3453
3453
|
eventId: string;
|
|
3454
3454
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
@@ -3488,6 +3488,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3488
3488
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
3489
3489
|
}, "strip", z.ZodTypeAny, {
|
|
3490
3490
|
type: "nodeRetrying";
|
|
3491
|
+
runId: string;
|
|
3492
|
+
timestamp: number;
|
|
3491
3493
|
payload: {
|
|
3492
3494
|
nodeId: string;
|
|
3493
3495
|
lastAttemptId: string;
|
|
@@ -3497,14 +3499,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3497
3499
|
bytes: number;
|
|
3498
3500
|
schemaVersion: number;
|
|
3499
3501
|
};
|
|
3500
|
-
timestamp: number;
|
|
3501
|
-
runId: string;
|
|
3502
3502
|
schemaVersion: 1;
|
|
3503
3503
|
eventId: string;
|
|
3504
3504
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
3505
3505
|
payloadHash?: string | undefined;
|
|
3506
3506
|
}, {
|
|
3507
3507
|
type: "nodeRetrying";
|
|
3508
|
+
runId: string;
|
|
3509
|
+
timestamp: number;
|
|
3508
3510
|
payload: {
|
|
3509
3511
|
nodeId: string;
|
|
3510
3512
|
lastAttemptId: string;
|
|
@@ -3514,8 +3516,6 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3514
3516
|
bytes: number;
|
|
3515
3517
|
schemaVersion: number;
|
|
3516
3518
|
};
|
|
3517
|
-
timestamp: number;
|
|
3518
|
-
runId: string;
|
|
3519
3519
|
schemaVersion: 1;
|
|
3520
3520
|
eventId: string;
|
|
3521
3521
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
@@ -3552,6 +3552,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3552
3552
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
3553
3553
|
}, "strip", z.ZodTypeAny, {
|
|
3554
3554
|
type: "nodeSucceeded";
|
|
3555
|
+
runId: string;
|
|
3556
|
+
timestamp: number;
|
|
3555
3557
|
payload: {
|
|
3556
3558
|
nodeId: string;
|
|
3557
3559
|
lastActivityId: string;
|
|
@@ -3560,14 +3562,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3560
3562
|
bytes: number;
|
|
3561
3563
|
schemaVersion: number;
|
|
3562
3564
|
};
|
|
3563
|
-
timestamp: number;
|
|
3564
|
-
runId: string;
|
|
3565
3565
|
schemaVersion: 1;
|
|
3566
3566
|
eventId: string;
|
|
3567
3567
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
3568
3568
|
payloadHash?: string | undefined;
|
|
3569
3569
|
}, {
|
|
3570
3570
|
type: "nodeSucceeded";
|
|
3571
|
+
runId: string;
|
|
3572
|
+
timestamp: number;
|
|
3571
3573
|
payload: {
|
|
3572
3574
|
nodeId: string;
|
|
3573
3575
|
lastActivityId: string;
|
|
@@ -3576,8 +3578,6 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3576
3578
|
bytes: number;
|
|
3577
3579
|
schemaVersion: number;
|
|
3578
3580
|
};
|
|
3579
|
-
timestamp: number;
|
|
3580
|
-
runId: string;
|
|
3581
3581
|
schemaVersion: 1;
|
|
3582
3582
|
eventId: string;
|
|
3583
3583
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
@@ -3617,6 +3617,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3617
3617
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
3618
3618
|
}, "strip", z.ZodTypeAny, {
|
|
3619
3619
|
type: "nodeFailed";
|
|
3620
|
+
runId: string;
|
|
3621
|
+
timestamp: number;
|
|
3620
3622
|
payload: {
|
|
3621
3623
|
nodeId: string;
|
|
3622
3624
|
errorClass: "manual" | "retryable" | "fatal" | "userFault";
|
|
@@ -3626,14 +3628,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3626
3628
|
bytes: number;
|
|
3627
3629
|
schemaVersion: number;
|
|
3628
3630
|
};
|
|
3629
|
-
timestamp: number;
|
|
3630
|
-
runId: string;
|
|
3631
3631
|
schemaVersion: 1;
|
|
3632
3632
|
eventId: string;
|
|
3633
3633
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
3634
3634
|
payloadHash?: string | undefined;
|
|
3635
3635
|
}, {
|
|
3636
3636
|
type: "nodeFailed";
|
|
3637
|
+
runId: string;
|
|
3638
|
+
timestamp: number;
|
|
3637
3639
|
payload: {
|
|
3638
3640
|
nodeId: string;
|
|
3639
3641
|
errorClass: "manual" | "retryable" | "fatal" | "userFault";
|
|
@@ -3643,8 +3645,6 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3643
3645
|
bytes: number;
|
|
3644
3646
|
schemaVersion: number;
|
|
3645
3647
|
};
|
|
3646
|
-
timestamp: number;
|
|
3647
|
-
runId: string;
|
|
3648
3648
|
schemaVersion: 1;
|
|
3649
3649
|
eventId: string;
|
|
3650
3650
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
@@ -3681,6 +3681,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3681
3681
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
3682
3682
|
}, "strip", z.ZodTypeAny, {
|
|
3683
3683
|
type: "nodeSkipped";
|
|
3684
|
+
runId: string;
|
|
3685
|
+
timestamp: number;
|
|
3684
3686
|
payload: {
|
|
3685
3687
|
nodeId: string;
|
|
3686
3688
|
conditionEventId: string;
|
|
@@ -3689,14 +3691,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3689
3691
|
bytes: number;
|
|
3690
3692
|
schemaVersion: number;
|
|
3691
3693
|
};
|
|
3692
|
-
timestamp: number;
|
|
3693
|
-
runId: string;
|
|
3694
3694
|
schemaVersion: 1;
|
|
3695
3695
|
eventId: string;
|
|
3696
3696
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
3697
3697
|
payloadHash?: string | undefined;
|
|
3698
3698
|
}, {
|
|
3699
3699
|
type: "nodeSkipped";
|
|
3700
|
+
runId: string;
|
|
3701
|
+
timestamp: number;
|
|
3700
3702
|
payload: {
|
|
3701
3703
|
nodeId: string;
|
|
3702
3704
|
conditionEventId: string;
|
|
@@ -3705,8 +3707,6 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3705
3707
|
bytes: number;
|
|
3706
3708
|
schemaVersion: number;
|
|
3707
3709
|
};
|
|
3708
|
-
timestamp: number;
|
|
3709
|
-
runId: string;
|
|
3710
3710
|
schemaVersion: 1;
|
|
3711
3711
|
eventId: string;
|
|
3712
3712
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
@@ -3743,6 +3743,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3743
3743
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
3744
3744
|
}, "strip", z.ZodTypeAny, {
|
|
3745
3745
|
type: "nodeCanceled";
|
|
3746
|
+
runId: string;
|
|
3747
|
+
timestamp: number;
|
|
3746
3748
|
payload: {
|
|
3747
3749
|
nodeId: string;
|
|
3748
3750
|
cancelOriginEventId: string;
|
|
@@ -3751,14 +3753,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3751
3753
|
bytes: number;
|
|
3752
3754
|
schemaVersion: number;
|
|
3753
3755
|
};
|
|
3754
|
-
timestamp: number;
|
|
3755
|
-
runId: string;
|
|
3756
3756
|
schemaVersion: 1;
|
|
3757
3757
|
eventId: string;
|
|
3758
3758
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
3759
3759
|
payloadHash?: string | undefined;
|
|
3760
3760
|
}, {
|
|
3761
3761
|
type: "nodeCanceled";
|
|
3762
|
+
runId: string;
|
|
3763
|
+
timestamp: number;
|
|
3762
3764
|
payload: {
|
|
3763
3765
|
nodeId: string;
|
|
3764
3766
|
cancelOriginEventId: string;
|
|
@@ -3767,8 +3769,6 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3767
3769
|
bytes: number;
|
|
3768
3770
|
schemaVersion: number;
|
|
3769
3771
|
};
|
|
3770
|
-
timestamp: number;
|
|
3771
|
-
runId: string;
|
|
3772
3772
|
schemaVersion: 1;
|
|
3773
3773
|
eventId: string;
|
|
3774
3774
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
@@ -3808,6 +3808,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3808
3808
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
3809
3809
|
}, "strip", z.ZodTypeAny, {
|
|
3810
3810
|
type: "activityRunning";
|
|
3811
|
+
runId: string;
|
|
3812
|
+
timestamp: number;
|
|
3811
3813
|
payload: {
|
|
3812
3814
|
attemptId: string;
|
|
3813
3815
|
activityId: string;
|
|
@@ -3817,14 +3819,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3817
3819
|
bytes: number;
|
|
3818
3820
|
schemaVersion: number;
|
|
3819
3821
|
};
|
|
3820
|
-
timestamp: number;
|
|
3821
|
-
runId: string;
|
|
3822
3822
|
schemaVersion: 1;
|
|
3823
3823
|
eventId: string;
|
|
3824
3824
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
3825
3825
|
payloadHash?: string | undefined;
|
|
3826
3826
|
}, {
|
|
3827
3827
|
type: "activityRunning";
|
|
3828
|
+
runId: string;
|
|
3829
|
+
timestamp: number;
|
|
3828
3830
|
payload: {
|
|
3829
3831
|
attemptId: string;
|
|
3830
3832
|
activityId: string;
|
|
@@ -3834,8 +3836,6 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3834
3836
|
bytes: number;
|
|
3835
3837
|
schemaVersion: number;
|
|
3836
3838
|
};
|
|
3837
|
-
timestamp: number;
|
|
3838
|
-
runId: string;
|
|
3839
3839
|
schemaVersion: 1;
|
|
3840
3840
|
eventId: string;
|
|
3841
3841
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
@@ -3872,6 +3872,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3872
3872
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
3873
3873
|
}, "strip", z.ZodTypeAny, {
|
|
3874
3874
|
type: "activityWaiting";
|
|
3875
|
+
runId: string;
|
|
3876
|
+
timestamp: number;
|
|
3875
3877
|
payload: {
|
|
3876
3878
|
reason: string;
|
|
3877
3879
|
activityId: string;
|
|
@@ -3880,14 +3882,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3880
3882
|
bytes: number;
|
|
3881
3883
|
schemaVersion: number;
|
|
3882
3884
|
};
|
|
3883
|
-
timestamp: number;
|
|
3884
|
-
runId: string;
|
|
3885
3885
|
schemaVersion: 1;
|
|
3886
3886
|
eventId: string;
|
|
3887
3887
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
3888
3888
|
payloadHash?: string | undefined;
|
|
3889
3889
|
}, {
|
|
3890
3890
|
type: "activityWaiting";
|
|
3891
|
+
runId: string;
|
|
3892
|
+
timestamp: number;
|
|
3891
3893
|
payload: {
|
|
3892
3894
|
reason: string;
|
|
3893
3895
|
activityId: string;
|
|
@@ -3896,8 +3898,6 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3896
3898
|
bytes: number;
|
|
3897
3899
|
schemaVersion: number;
|
|
3898
3900
|
};
|
|
3899
|
-
timestamp: number;
|
|
3900
|
-
runId: string;
|
|
3901
3901
|
schemaVersion: 1;
|
|
3902
3902
|
eventId: string;
|
|
3903
3903
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
@@ -3943,6 +3943,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3943
3943
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
3944
3944
|
}, "strip", z.ZodTypeAny, {
|
|
3945
3945
|
type: "activityTimedOut";
|
|
3946
|
+
runId: string;
|
|
3947
|
+
timestamp: number;
|
|
3946
3948
|
payload: {
|
|
3947
3949
|
reason: "LeaseExpired";
|
|
3948
3950
|
attemptId: string;
|
|
@@ -3954,14 +3956,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3954
3956
|
bytes: number;
|
|
3955
3957
|
schemaVersion: number;
|
|
3956
3958
|
};
|
|
3957
|
-
timestamp: number;
|
|
3958
|
-
runId: string;
|
|
3959
3959
|
schemaVersion: 1;
|
|
3960
3960
|
eventId: string;
|
|
3961
3961
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
3962
3962
|
payloadHash?: string | undefined;
|
|
3963
3963
|
}, {
|
|
3964
3964
|
type: "activityTimedOut";
|
|
3965
|
+
runId: string;
|
|
3966
|
+
timestamp: number;
|
|
3965
3967
|
payload: {
|
|
3966
3968
|
reason: "LeaseExpired";
|
|
3967
3969
|
attemptId: string;
|
|
@@ -3973,8 +3975,6 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3973
3975
|
bytes: number;
|
|
3974
3976
|
schemaVersion: number;
|
|
3975
3977
|
};
|
|
3976
|
-
timestamp: number;
|
|
3977
|
-
runId: string;
|
|
3978
3978
|
schemaVersion: 1;
|
|
3979
3979
|
eventId: string;
|
|
3980
3980
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
@@ -4011,6 +4011,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4011
4011
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
4012
4012
|
}, "strip", z.ZodTypeAny, {
|
|
4013
4013
|
type: "loopStarted";
|
|
4014
|
+
runId: string;
|
|
4015
|
+
timestamp: number;
|
|
4014
4016
|
payload: {
|
|
4015
4017
|
loopId: string;
|
|
4016
4018
|
maxIterations: number;
|
|
@@ -4019,14 +4021,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4019
4021
|
bytes: number;
|
|
4020
4022
|
schemaVersion: number;
|
|
4021
4023
|
};
|
|
4022
|
-
timestamp: number;
|
|
4023
|
-
runId: string;
|
|
4024
4024
|
schemaVersion: 1;
|
|
4025
4025
|
eventId: string;
|
|
4026
4026
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
4027
4027
|
payloadHash?: string | undefined;
|
|
4028
4028
|
}, {
|
|
4029
4029
|
type: "loopStarted";
|
|
4030
|
+
runId: string;
|
|
4031
|
+
timestamp: number;
|
|
4030
4032
|
payload: {
|
|
4031
4033
|
loopId: string;
|
|
4032
4034
|
maxIterations: number;
|
|
@@ -4035,8 +4037,6 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4035
4037
|
bytes: number;
|
|
4036
4038
|
schemaVersion: number;
|
|
4037
4039
|
};
|
|
4038
|
-
timestamp: number;
|
|
4039
|
-
runId: string;
|
|
4040
4040
|
schemaVersion: 1;
|
|
4041
4041
|
eventId: string;
|
|
4042
4042
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
@@ -4076,6 +4076,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4076
4076
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
4077
4077
|
}, "strip", z.ZodTypeAny, {
|
|
4078
4078
|
type: "loopIterationStarted";
|
|
4079
|
+
runId: string;
|
|
4080
|
+
timestamp: number;
|
|
4079
4081
|
payload: {
|
|
4080
4082
|
loopId: string;
|
|
4081
4083
|
iteration: number;
|
|
@@ -4085,14 +4087,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4085
4087
|
bytes: number;
|
|
4086
4088
|
schemaVersion: number;
|
|
4087
4089
|
};
|
|
4088
|
-
timestamp: number;
|
|
4089
|
-
runId: string;
|
|
4090
4090
|
schemaVersion: 1;
|
|
4091
4091
|
eventId: string;
|
|
4092
4092
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
4093
4093
|
payloadHash?: string | undefined;
|
|
4094
4094
|
}, {
|
|
4095
4095
|
type: "loopIterationStarted";
|
|
4096
|
+
runId: string;
|
|
4097
|
+
timestamp: number;
|
|
4096
4098
|
payload: {
|
|
4097
4099
|
loopId: string;
|
|
4098
4100
|
iteration: number;
|
|
@@ -4102,8 +4104,6 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4102
4104
|
bytes: number;
|
|
4103
4105
|
schemaVersion: number;
|
|
4104
4106
|
};
|
|
4105
|
-
timestamp: number;
|
|
4106
|
-
runId: string;
|
|
4107
4107
|
schemaVersion: 1;
|
|
4108
4108
|
eventId: string;
|
|
4109
4109
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
@@ -4158,6 +4158,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4158
4158
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
4159
4159
|
}, "strip", z.ZodTypeAny, {
|
|
4160
4160
|
type: "loopIterationFinished";
|
|
4161
|
+
runId: string;
|
|
4162
|
+
timestamp: number;
|
|
4161
4163
|
payload: {
|
|
4162
4164
|
loopId: string;
|
|
4163
4165
|
iteration: number;
|
|
@@ -4172,14 +4174,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4172
4174
|
bytes: number;
|
|
4173
4175
|
schemaVersion: number;
|
|
4174
4176
|
};
|
|
4175
|
-
timestamp: number;
|
|
4176
|
-
runId: string;
|
|
4177
4177
|
schemaVersion: 1;
|
|
4178
4178
|
eventId: string;
|
|
4179
4179
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
4180
4180
|
payloadHash?: string | undefined;
|
|
4181
4181
|
}, {
|
|
4182
4182
|
type: "loopIterationFinished";
|
|
4183
|
+
runId: string;
|
|
4184
|
+
timestamp: number;
|
|
4183
4185
|
payload: {
|
|
4184
4186
|
loopId: string;
|
|
4185
4187
|
iteration: number;
|
|
@@ -4194,8 +4196,6 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4194
4196
|
bytes: number;
|
|
4195
4197
|
schemaVersion: number;
|
|
4196
4198
|
};
|
|
4197
|
-
timestamp: number;
|
|
4198
|
-
runId: string;
|
|
4199
4199
|
schemaVersion: 1;
|
|
4200
4200
|
eventId: string;
|
|
4201
4201
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
@@ -4274,6 +4274,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4274
4274
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
4275
4275
|
}, "strip", z.ZodTypeAny, {
|
|
4276
4276
|
type: "loopFinished";
|
|
4277
|
+
runId: string;
|
|
4278
|
+
timestamp: number;
|
|
4277
4279
|
payload: {
|
|
4278
4280
|
loopId: string;
|
|
4279
4281
|
resolution: "timeout" | "approved" | "max-iterations-exceeded" | "body-failed" | "cancelled";
|
|
@@ -4292,14 +4294,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4292
4294
|
bytes: number;
|
|
4293
4295
|
schemaVersion: number;
|
|
4294
4296
|
};
|
|
4295
|
-
timestamp: number;
|
|
4296
|
-
runId: string;
|
|
4297
4297
|
schemaVersion: 1;
|
|
4298
4298
|
eventId: string;
|
|
4299
4299
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
4300
4300
|
payloadHash?: string | undefined;
|
|
4301
4301
|
}, {
|
|
4302
4302
|
type: "loopFinished";
|
|
4303
|
+
runId: string;
|
|
4304
|
+
timestamp: number;
|
|
4303
4305
|
payload: {
|
|
4304
4306
|
loopId: string;
|
|
4305
4307
|
resolution: "timeout" | "approved" | "max-iterations-exceeded" | "body-failed" | "cancelled";
|
|
@@ -4318,8 +4320,6 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4318
4320
|
bytes: number;
|
|
4319
4321
|
schemaVersion: number;
|
|
4320
4322
|
};
|
|
4321
|
-
timestamp: number;
|
|
4322
|
-
runId: string;
|
|
4323
4323
|
schemaVersion: 1;
|
|
4324
4324
|
eventId: string;
|
|
4325
4325
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
@@ -4362,6 +4362,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4362
4362
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
4363
4363
|
}, "strip", z.ZodTypeAny, {
|
|
4364
4364
|
type: "conditionEvaluated";
|
|
4365
|
+
runId: string;
|
|
4366
|
+
timestamp: number;
|
|
4365
4367
|
payload: {
|
|
4366
4368
|
nodeId: string;
|
|
4367
4369
|
conditionExpr: string;
|
|
@@ -4372,14 +4374,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4372
4374
|
bytes: number;
|
|
4373
4375
|
schemaVersion: number;
|
|
4374
4376
|
};
|
|
4375
|
-
timestamp: number;
|
|
4376
|
-
runId: string;
|
|
4377
4377
|
schemaVersion: 1;
|
|
4378
4378
|
eventId: string;
|
|
4379
4379
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
4380
4380
|
payloadHash?: string | undefined;
|
|
4381
4381
|
}, {
|
|
4382
4382
|
type: "conditionEvaluated";
|
|
4383
|
+
runId: string;
|
|
4384
|
+
timestamp: number;
|
|
4383
4385
|
payload: {
|
|
4384
4386
|
nodeId: string;
|
|
4385
4387
|
conditionExpr: string;
|
|
@@ -4390,8 +4392,6 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4390
4392
|
bytes: number;
|
|
4391
4393
|
schemaVersion: number;
|
|
4392
4394
|
};
|
|
4393
|
-
timestamp: number;
|
|
4394
|
-
runId: string;
|
|
4395
4395
|
schemaVersion: 1;
|
|
4396
4396
|
eventId: string;
|
|
4397
4397
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
@@ -4437,6 +4437,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4437
4437
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
4438
4438
|
}, "strip", z.ZodTypeAny, {
|
|
4439
4439
|
type: "leaseSigned";
|
|
4440
|
+
runId: string;
|
|
4441
|
+
timestamp: number;
|
|
4440
4442
|
payload: {
|
|
4441
4443
|
timeoutMs: number;
|
|
4442
4444
|
attemptId: string;
|
|
@@ -4448,14 +4450,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4448
4450
|
bytes: number;
|
|
4449
4451
|
schemaVersion: number;
|
|
4450
4452
|
};
|
|
4451
|
-
timestamp: number;
|
|
4452
|
-
runId: string;
|
|
4453
4453
|
schemaVersion: 1;
|
|
4454
4454
|
eventId: string;
|
|
4455
4455
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
4456
4456
|
payloadHash?: string | undefined;
|
|
4457
4457
|
}, {
|
|
4458
4458
|
type: "leaseSigned";
|
|
4459
|
+
runId: string;
|
|
4460
|
+
timestamp: number;
|
|
4459
4461
|
payload: {
|
|
4460
4462
|
timeoutMs: number;
|
|
4461
4463
|
attemptId: string;
|
|
@@ -4467,8 +4469,6 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4467
4469
|
bytes: number;
|
|
4468
4470
|
schemaVersion: number;
|
|
4469
4471
|
};
|
|
4470
|
-
timestamp: number;
|
|
4471
|
-
runId: string;
|
|
4472
4472
|
schemaVersion: 1;
|
|
4473
4473
|
eventId: string;
|
|
4474
4474
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
@@ -4544,6 +4544,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4544
4544
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
4545
4545
|
}, "strip", z.ZodTypeAny, {
|
|
4546
4546
|
type: "attemptCreated";
|
|
4547
|
+
runId: string;
|
|
4548
|
+
timestamp: number;
|
|
4547
4549
|
payload: {
|
|
4548
4550
|
nodeId: string;
|
|
4549
4551
|
attemptId: string;
|
|
@@ -4561,14 +4563,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4561
4563
|
bytes: number;
|
|
4562
4564
|
schemaVersion: number;
|
|
4563
4565
|
};
|
|
4564
|
-
timestamp: number;
|
|
4565
|
-
runId: string;
|
|
4566
4566
|
schemaVersion: 1;
|
|
4567
4567
|
eventId: string;
|
|
4568
4568
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
4569
4569
|
payloadHash?: string | undefined;
|
|
4570
4570
|
}, {
|
|
4571
4571
|
type: "attemptCreated";
|
|
4572
|
+
runId: string;
|
|
4573
|
+
timestamp: number;
|
|
4572
4574
|
payload: {
|
|
4573
4575
|
nodeId: string;
|
|
4574
4576
|
attemptId: string;
|
|
@@ -4586,8 +4588,6 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4586
4588
|
bytes: number;
|
|
4587
4589
|
schemaVersion: number;
|
|
4588
4590
|
};
|
|
4589
|
-
timestamp: number;
|
|
4590
|
-
runId: string;
|
|
4591
4591
|
schemaVersion: 1;
|
|
4592
4592
|
eventId: string;
|
|
4593
4593
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
@@ -4655,6 +4655,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4655
4655
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
4656
4656
|
}, "strip", z.ZodTypeAny, {
|
|
4657
4657
|
type: "backoffScheduled";
|
|
4658
|
+
runId: string;
|
|
4659
|
+
timestamp: number;
|
|
4658
4660
|
payload: {
|
|
4659
4661
|
nodeId: string;
|
|
4660
4662
|
lastAttemptId: string;
|
|
@@ -4670,14 +4672,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4670
4672
|
bytes: number;
|
|
4671
4673
|
schemaVersion: number;
|
|
4672
4674
|
};
|
|
4673
|
-
timestamp: number;
|
|
4674
|
-
runId: string;
|
|
4675
4675
|
schemaVersion: 1;
|
|
4676
4676
|
eventId: string;
|
|
4677
4677
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
4678
4678
|
payloadHash?: string | undefined;
|
|
4679
4679
|
}, {
|
|
4680
4680
|
type: "backoffScheduled";
|
|
4681
|
+
runId: string;
|
|
4682
|
+
timestamp: number;
|
|
4681
4683
|
payload: {
|
|
4682
4684
|
nodeId: string;
|
|
4683
4685
|
lastAttemptId: string;
|
|
@@ -4693,8 +4695,6 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4693
4695
|
bytes: number;
|
|
4694
4696
|
schemaVersion: number;
|
|
4695
4697
|
};
|
|
4696
|
-
timestamp: number;
|
|
4697
|
-
runId: string;
|
|
4698
4698
|
schemaVersion: 1;
|
|
4699
4699
|
eventId: string;
|
|
4700
4700
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
@@ -4731,6 +4731,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4731
4731
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
4732
4732
|
}, "strip", z.ZodTypeAny, {
|
|
4733
4733
|
type: "backoffElapsed";
|
|
4734
|
+
runId: string;
|
|
4735
|
+
timestamp: number;
|
|
4734
4736
|
payload: {
|
|
4735
4737
|
nodeId: string;
|
|
4736
4738
|
scheduledAttemptId: string;
|
|
@@ -4739,14 +4741,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4739
4741
|
bytes: number;
|
|
4740
4742
|
schemaVersion: number;
|
|
4741
4743
|
};
|
|
4742
|
-
timestamp: number;
|
|
4743
|
-
runId: string;
|
|
4744
4744
|
schemaVersion: 1;
|
|
4745
4745
|
eventId: string;
|
|
4746
4746
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
4747
4747
|
payloadHash?: string | undefined;
|
|
4748
4748
|
}, {
|
|
4749
4749
|
type: "backoffElapsed";
|
|
4750
|
+
runId: string;
|
|
4751
|
+
timestamp: number;
|
|
4750
4752
|
payload: {
|
|
4751
4753
|
nodeId: string;
|
|
4752
4754
|
scheduledAttemptId: string;
|
|
@@ -4755,8 +4757,6 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4755
4757
|
bytes: number;
|
|
4756
4758
|
schemaVersion: number;
|
|
4757
4759
|
};
|
|
4758
|
-
timestamp: number;
|
|
4759
|
-
runId: string;
|
|
4760
4760
|
schemaVersion: 1;
|
|
4761
4761
|
eventId: string;
|
|
4762
4762
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
@@ -4805,6 +4805,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4805
4805
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
4806
4806
|
}, "strip", z.ZodTypeAny, {
|
|
4807
4807
|
type: "effectAttempted";
|
|
4808
|
+
runId: string;
|
|
4809
|
+
timestamp: number;
|
|
4808
4810
|
payload: {
|
|
4809
4811
|
attemptId: string;
|
|
4810
4812
|
activityId: string;
|
|
@@ -4817,14 +4819,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4817
4819
|
bytes: number;
|
|
4818
4820
|
schemaVersion: number;
|
|
4819
4821
|
};
|
|
4820
|
-
timestamp: number;
|
|
4821
|
-
runId: string;
|
|
4822
4822
|
schemaVersion: 1;
|
|
4823
4823
|
eventId: string;
|
|
4824
4824
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
4825
4825
|
payloadHash?: string | undefined;
|
|
4826
4826
|
}, {
|
|
4827
4827
|
type: "effectAttempted";
|
|
4828
|
+
runId: string;
|
|
4829
|
+
timestamp: number;
|
|
4828
4830
|
payload: {
|
|
4829
4831
|
attemptId: string;
|
|
4830
4832
|
activityId: string;
|
|
@@ -4837,8 +4839,6 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4837
4839
|
bytes: number;
|
|
4838
4840
|
schemaVersion: number;
|
|
4839
4841
|
};
|
|
4840
|
-
timestamp: number;
|
|
4841
|
-
runId: string;
|
|
4842
4842
|
schemaVersion: 1;
|
|
4843
4843
|
eventId: string;
|
|
4844
4844
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
@@ -4911,6 +4911,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4911
4911
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
4912
4912
|
}, "strip", z.ZodTypeAny, {
|
|
4913
4913
|
type: "activitySucceeded";
|
|
4914
|
+
runId: string;
|
|
4915
|
+
timestamp: number;
|
|
4914
4916
|
payload: {
|
|
4915
4917
|
attemptId: string;
|
|
4916
4918
|
activityId: string;
|
|
@@ -4927,14 +4929,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4927
4929
|
bytes: number;
|
|
4928
4930
|
schemaVersion: number;
|
|
4929
4931
|
};
|
|
4930
|
-
timestamp: number;
|
|
4931
|
-
runId: string;
|
|
4932
4932
|
schemaVersion: 1;
|
|
4933
4933
|
eventId: string;
|
|
4934
4934
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
4935
4935
|
payloadHash?: string | undefined;
|
|
4936
4936
|
}, {
|
|
4937
4937
|
type: "activitySucceeded";
|
|
4938
|
+
runId: string;
|
|
4939
|
+
timestamp: number;
|
|
4938
4940
|
payload: {
|
|
4939
4941
|
attemptId: string;
|
|
4940
4942
|
activityId: string;
|
|
@@ -4951,8 +4953,6 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4951
4953
|
bytes: number;
|
|
4952
4954
|
schemaVersion: number;
|
|
4953
4955
|
};
|
|
4954
|
-
timestamp: number;
|
|
4955
|
-
runId: string;
|
|
4956
4956
|
schemaVersion: 1;
|
|
4957
4957
|
eventId: string;
|
|
4958
4958
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
@@ -5017,6 +5017,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5017
5017
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
5018
5018
|
}, "strip", z.ZodTypeAny, {
|
|
5019
5019
|
type: "activityFailed";
|
|
5020
|
+
runId: string;
|
|
5021
|
+
timestamp: number;
|
|
5020
5022
|
payload: {
|
|
5021
5023
|
error: {
|
|
5022
5024
|
errorCode: "LeaseExpired" | "WorkerCrashed" | "NetworkError" | "ProviderRateLimited" | "IdempotencyInputMismatch" | "IdempotencyConflict" | "InputValidationFailed" | "InputBindingFailed" | "OutputSchemaViolation" | "WaitDeadlineExceeded" | "TtlExpired" | "UnknownProviderError" | "InputUnrecoverable" | "CorruptLog" | "LoopMaxIterationsExceeded" | "LoopBodyFailed";
|
|
@@ -5031,14 +5033,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5031
5033
|
bytes: number;
|
|
5032
5034
|
schemaVersion: number;
|
|
5033
5035
|
};
|
|
5034
|
-
timestamp: number;
|
|
5035
|
-
runId: string;
|
|
5036
5036
|
schemaVersion: 1;
|
|
5037
5037
|
eventId: string;
|
|
5038
5038
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
5039
5039
|
payloadHash?: string | undefined;
|
|
5040
5040
|
}, {
|
|
5041
5041
|
type: "activityFailed";
|
|
5042
|
+
runId: string;
|
|
5043
|
+
timestamp: number;
|
|
5042
5044
|
payload: {
|
|
5043
5045
|
error: {
|
|
5044
5046
|
errorCode: "LeaseExpired" | "WorkerCrashed" | "NetworkError" | "ProviderRateLimited" | "IdempotencyInputMismatch" | "IdempotencyConflict" | "InputValidationFailed" | "InputBindingFailed" | "OutputSchemaViolation" | "WaitDeadlineExceeded" | "TtlExpired" | "UnknownProviderError" | "InputUnrecoverable" | "CorruptLog" | "LoopMaxIterationsExceeded" | "LoopBodyFailed";
|
|
@@ -5053,8 +5055,6 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5053
5055
|
bytes: number;
|
|
5054
5056
|
schemaVersion: number;
|
|
5055
5057
|
};
|
|
5056
|
-
timestamp: number;
|
|
5057
|
-
runId: string;
|
|
5058
5058
|
schemaVersion: 1;
|
|
5059
5059
|
eventId: string;
|
|
5060
5060
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
@@ -5142,6 +5142,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5142
5142
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
5143
5143
|
}, "strip", z.ZodTypeAny, {
|
|
5144
5144
|
type: "waitCreated";
|
|
5145
|
+
runId: string;
|
|
5146
|
+
timestamp: number;
|
|
5145
5147
|
payload: {
|
|
5146
5148
|
nodeId: string;
|
|
5147
5149
|
activityId: string;
|
|
@@ -5163,14 +5165,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5163
5165
|
bytes: number;
|
|
5164
5166
|
schemaVersion: number;
|
|
5165
5167
|
};
|
|
5166
|
-
timestamp: number;
|
|
5167
|
-
runId: string;
|
|
5168
5168
|
schemaVersion: 1;
|
|
5169
5169
|
eventId: string;
|
|
5170
5170
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
5171
5171
|
payloadHash?: string | undefined;
|
|
5172
5172
|
}, {
|
|
5173
5173
|
type: "waitCreated";
|
|
5174
|
+
runId: string;
|
|
5175
|
+
timestamp: number;
|
|
5174
5176
|
payload: {
|
|
5175
5177
|
nodeId: string;
|
|
5176
5178
|
activityId: string;
|
|
@@ -5192,8 +5194,6 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5192
5194
|
bytes: number;
|
|
5193
5195
|
schemaVersion: number;
|
|
5194
5196
|
};
|
|
5195
|
-
timestamp: number;
|
|
5196
|
-
runId: string;
|
|
5197
5197
|
schemaVersion: 1;
|
|
5198
5198
|
eventId: string;
|
|
5199
5199
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
@@ -5236,6 +5236,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5236
5236
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
5237
5237
|
}, "strip", z.ZodTypeAny, {
|
|
5238
5238
|
type: "waitResolved";
|
|
5239
|
+
runId: string;
|
|
5240
|
+
timestamp: number;
|
|
5239
5241
|
payload: {
|
|
5240
5242
|
activityId: string;
|
|
5241
5243
|
resolution: "approved" | "rejected" | "external";
|
|
@@ -5246,14 +5248,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5246
5248
|
bytes: number;
|
|
5247
5249
|
schemaVersion: number;
|
|
5248
5250
|
};
|
|
5249
|
-
timestamp: number;
|
|
5250
|
-
runId: string;
|
|
5251
5251
|
schemaVersion: 1;
|
|
5252
5252
|
eventId: string;
|
|
5253
5253
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
5254
5254
|
payloadHash?: string | undefined;
|
|
5255
5255
|
}, {
|
|
5256
5256
|
type: "waitResolved";
|
|
5257
|
+
runId: string;
|
|
5258
|
+
timestamp: number;
|
|
5257
5259
|
payload: {
|
|
5258
5260
|
activityId: string;
|
|
5259
5261
|
resolution: "approved" | "rejected" | "external";
|
|
@@ -5264,8 +5266,6 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5264
5266
|
bytes: number;
|
|
5265
5267
|
schemaVersion: number;
|
|
5266
5268
|
};
|
|
5267
|
-
timestamp: number;
|
|
5268
|
-
runId: string;
|
|
5269
5269
|
schemaVersion: 1;
|
|
5270
5270
|
eventId: string;
|
|
5271
5271
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
@@ -5305,6 +5305,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5305
5305
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
5306
5306
|
}, "strip", z.ZodTypeAny, {
|
|
5307
5307
|
type: "waitDeadlineExceeded";
|
|
5308
|
+
runId: string;
|
|
5309
|
+
timestamp: number;
|
|
5308
5310
|
payload: {
|
|
5309
5311
|
activityId: string;
|
|
5310
5312
|
deadlineAt: number;
|
|
@@ -5314,14 +5316,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5314
5316
|
bytes: number;
|
|
5315
5317
|
schemaVersion: number;
|
|
5316
5318
|
};
|
|
5317
|
-
timestamp: number;
|
|
5318
|
-
runId: string;
|
|
5319
5319
|
schemaVersion: 1;
|
|
5320
5320
|
eventId: string;
|
|
5321
5321
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
5322
5322
|
payloadHash?: string | undefined;
|
|
5323
5323
|
}, {
|
|
5324
5324
|
type: "waitDeadlineExceeded";
|
|
5325
|
+
runId: string;
|
|
5326
|
+
timestamp: number;
|
|
5325
5327
|
payload: {
|
|
5326
5328
|
activityId: string;
|
|
5327
5329
|
deadlineAt: number;
|
|
@@ -5331,8 +5333,6 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5331
5333
|
bytes: number;
|
|
5332
5334
|
schemaVersion: number;
|
|
5333
5335
|
};
|
|
5334
|
-
timestamp: number;
|
|
5335
|
-
runId: string;
|
|
5336
5336
|
schemaVersion: 1;
|
|
5337
5337
|
eventId: string;
|
|
5338
5338
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
@@ -5417,6 +5417,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5417
5417
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
5418
5418
|
}, "strip", z.ZodTypeAny, {
|
|
5419
5419
|
type: "cancelRequested";
|
|
5420
|
+
runId: string;
|
|
5421
|
+
timestamp: number;
|
|
5420
5422
|
payload: {
|
|
5421
5423
|
reason: string;
|
|
5422
5424
|
by: string;
|
|
@@ -5435,14 +5437,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5435
5437
|
bytes: number;
|
|
5436
5438
|
schemaVersion: number;
|
|
5437
5439
|
};
|
|
5438
|
-
timestamp: number;
|
|
5439
|
-
runId: string;
|
|
5440
5440
|
schemaVersion: 1;
|
|
5441
5441
|
eventId: string;
|
|
5442
5442
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
5443
5443
|
payloadHash?: string | undefined;
|
|
5444
5444
|
}, {
|
|
5445
5445
|
type: "cancelRequested";
|
|
5446
|
+
runId: string;
|
|
5447
|
+
timestamp: number;
|
|
5446
5448
|
payload: {
|
|
5447
5449
|
reason: string;
|
|
5448
5450
|
by: string;
|
|
@@ -5461,8 +5463,6 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5461
5463
|
bytes: number;
|
|
5462
5464
|
schemaVersion: number;
|
|
5463
5465
|
};
|
|
5464
|
-
timestamp: number;
|
|
5465
|
-
runId: string;
|
|
5466
5466
|
schemaVersion: 1;
|
|
5467
5467
|
eventId: string;
|
|
5468
5468
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
@@ -5544,6 +5544,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5544
5544
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
5545
5545
|
}, "strip", z.ZodTypeAny, {
|
|
5546
5546
|
type: "cancelDelivered";
|
|
5547
|
+
runId: string;
|
|
5548
|
+
timestamp: number;
|
|
5547
5549
|
payload: {
|
|
5548
5550
|
activityId: string;
|
|
5549
5551
|
target: {
|
|
@@ -5561,14 +5563,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5561
5563
|
bytes: number;
|
|
5562
5564
|
schemaVersion: number;
|
|
5563
5565
|
};
|
|
5564
|
-
timestamp: number;
|
|
5565
|
-
runId: string;
|
|
5566
5566
|
schemaVersion: 1;
|
|
5567
5567
|
eventId: string;
|
|
5568
5568
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
5569
5569
|
payloadHash?: string | undefined;
|
|
5570
5570
|
}, {
|
|
5571
5571
|
type: "cancelDelivered";
|
|
5572
|
+
runId: string;
|
|
5573
|
+
timestamp: number;
|
|
5572
5574
|
payload: {
|
|
5573
5575
|
activityId: string;
|
|
5574
5576
|
target: {
|
|
@@ -5586,8 +5588,6 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5586
5588
|
bytes: number;
|
|
5587
5589
|
schemaVersion: number;
|
|
5588
5590
|
};
|
|
5589
|
-
timestamp: number;
|
|
5590
|
-
runId: string;
|
|
5591
5591
|
schemaVersion: 1;
|
|
5592
5592
|
eventId: string;
|
|
5593
5593
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
@@ -5627,6 +5627,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5627
5627
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
5628
5628
|
}, "strip", z.ZodTypeAny, {
|
|
5629
5629
|
type: "activityCanceled";
|
|
5630
|
+
runId: string;
|
|
5631
|
+
timestamp: number;
|
|
5630
5632
|
payload: {
|
|
5631
5633
|
attemptId: string;
|
|
5632
5634
|
activityId: string;
|
|
@@ -5636,14 +5638,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5636
5638
|
bytes: number;
|
|
5637
5639
|
schemaVersion: number;
|
|
5638
5640
|
};
|
|
5639
|
-
timestamp: number;
|
|
5640
|
-
runId: string;
|
|
5641
5641
|
schemaVersion: 1;
|
|
5642
5642
|
eventId: string;
|
|
5643
5643
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
5644
5644
|
payloadHash?: string | undefined;
|
|
5645
5645
|
}, {
|
|
5646
5646
|
type: "activityCanceled";
|
|
5647
|
+
runId: string;
|
|
5648
|
+
timestamp: number;
|
|
5647
5649
|
payload: {
|
|
5648
5650
|
attemptId: string;
|
|
5649
5651
|
activityId: string;
|
|
@@ -5653,8 +5655,6 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5653
5655
|
bytes: number;
|
|
5654
5656
|
schemaVersion: number;
|
|
5655
5657
|
};
|
|
5656
|
-
timestamp: number;
|
|
5657
|
-
runId: string;
|
|
5658
5658
|
schemaVersion: 1;
|
|
5659
5659
|
eventId: string;
|
|
5660
5660
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
@@ -5691,6 +5691,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5691
5691
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
5692
5692
|
}, "strip", z.ZodTypeAny, {
|
|
5693
5693
|
type: "workerLost";
|
|
5694
|
+
runId: string;
|
|
5695
|
+
timestamp: number;
|
|
5694
5696
|
payload: {
|
|
5695
5697
|
workerId: string;
|
|
5696
5698
|
lostActivityIds: string[];
|
|
@@ -5699,14 +5701,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5699
5701
|
bytes: number;
|
|
5700
5702
|
schemaVersion: number;
|
|
5701
5703
|
};
|
|
5702
|
-
timestamp: number;
|
|
5703
|
-
runId: string;
|
|
5704
5704
|
schemaVersion: 1;
|
|
5705
5705
|
eventId: string;
|
|
5706
5706
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
5707
5707
|
payloadHash?: string | undefined;
|
|
5708
5708
|
}, {
|
|
5709
5709
|
type: "workerLost";
|
|
5710
|
+
runId: string;
|
|
5711
|
+
timestamp: number;
|
|
5710
5712
|
payload: {
|
|
5711
5713
|
workerId: string;
|
|
5712
5714
|
lostActivityIds: string[];
|
|
@@ -5715,8 +5717,6 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5715
5717
|
bytes: number;
|
|
5716
5718
|
schemaVersion: number;
|
|
5717
5719
|
};
|
|
5718
|
-
timestamp: number;
|
|
5719
|
-
runId: string;
|
|
5720
5720
|
schemaVersion: 1;
|
|
5721
5721
|
eventId: string;
|
|
5722
5722
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
@@ -5753,6 +5753,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5753
5753
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
5754
5754
|
}, "strip", z.ZodTypeAny, {
|
|
5755
5755
|
type: "resumeStarted";
|
|
5756
|
+
runId: string;
|
|
5757
|
+
timestamp: number;
|
|
5756
5758
|
payload: {
|
|
5757
5759
|
daemonId: string;
|
|
5758
5760
|
lastSeenEventId: string;
|
|
@@ -5761,14 +5763,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5761
5763
|
bytes: number;
|
|
5762
5764
|
schemaVersion: number;
|
|
5763
5765
|
};
|
|
5764
|
-
timestamp: number;
|
|
5765
|
-
runId: string;
|
|
5766
5766
|
schemaVersion: 1;
|
|
5767
5767
|
eventId: string;
|
|
5768
5768
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
5769
5769
|
payloadHash?: string | undefined;
|
|
5770
5770
|
}, {
|
|
5771
5771
|
type: "resumeStarted";
|
|
5772
|
+
runId: string;
|
|
5773
|
+
timestamp: number;
|
|
5772
5774
|
payload: {
|
|
5773
5775
|
daemonId: string;
|
|
5774
5776
|
lastSeenEventId: string;
|
|
@@ -5777,8 +5779,6 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5777
5779
|
bytes: number;
|
|
5778
5780
|
schemaVersion: number;
|
|
5779
5781
|
};
|
|
5780
|
-
timestamp: number;
|
|
5781
|
-
runId: string;
|
|
5782
5782
|
schemaVersion: 1;
|
|
5783
5783
|
eventId: string;
|
|
5784
5784
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
@@ -5824,6 +5824,8 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5824
5824
|
payloadHash: z.ZodOptional<z.ZodString>;
|
|
5825
5825
|
}, "strip", z.ZodTypeAny, {
|
|
5826
5826
|
type: "reconcileResult";
|
|
5827
|
+
runId: string;
|
|
5828
|
+
timestamp: number;
|
|
5827
5829
|
payload: {
|
|
5828
5830
|
capability: "none" | "readOnlyLookup" | "idempotentSubmit";
|
|
5829
5831
|
decision: "manual" | "replayed" | "completedByIdempotentSubmit" | "freshRetry";
|
|
@@ -5835,14 +5837,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5835
5837
|
bytes: number;
|
|
5836
5838
|
schemaVersion: number;
|
|
5837
5839
|
};
|
|
5838
|
-
timestamp: number;
|
|
5839
|
-
runId: string;
|
|
5840
5840
|
schemaVersion: 1;
|
|
5841
5841
|
eventId: string;
|
|
5842
5842
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|
|
5843
5843
|
payloadHash?: string | undefined;
|
|
5844
5844
|
}, {
|
|
5845
5845
|
type: "reconcileResult";
|
|
5846
|
+
runId: string;
|
|
5847
|
+
timestamp: number;
|
|
5846
5848
|
payload: {
|
|
5847
5849
|
capability: "none" | "readOnlyLookup" | "idempotentSubmit";
|
|
5848
5850
|
decision: "manual" | "replayed" | "completedByIdempotentSubmit" | "freshRetry";
|
|
@@ -5854,8 +5856,6 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5854
5856
|
bytes: number;
|
|
5855
5857
|
schemaVersion: number;
|
|
5856
5858
|
};
|
|
5857
|
-
timestamp: number;
|
|
5858
|
-
runId: string;
|
|
5859
5859
|
schemaVersion: 1;
|
|
5860
5860
|
eventId: string;
|
|
5861
5861
|
actor: "worker" | "scheduler" | "hostExecutor" | "human" | "supervisor" | "system";
|