botmux 3.18.6 → 3.18.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (239) hide show
  1. package/dist/.runtime-build-id +1 -1
  2. package/dist/adapters/backend/riff-backend.d.ts +158 -0
  3. package/dist/adapters/backend/riff-backend.d.ts.map +1 -1
  4. package/dist/adapters/backend/riff-backend.js +330 -7
  5. package/dist/adapters/backend/riff-backend.js.map +1 -1
  6. package/dist/adapters/backend/sandbox.d.ts +42 -0
  7. package/dist/adapters/backend/sandbox.d.ts.map +1 -1
  8. package/dist/adapters/backend/sandbox.js +95 -5
  9. package/dist/adapters/backend/sandbox.js.map +1 -1
  10. package/dist/adapters/cli/codex-app.d.ts.map +1 -1
  11. package/dist/adapters/cli/codex-app.js +2 -1
  12. package/dist/adapters/cli/codex-app.js.map +1 -1
  13. package/dist/adapters/cli/dsh.d.ts.map +1 -1
  14. package/dist/adapters/cli/dsh.js +2 -1
  15. package/dist/adapters/cli/dsh.js.map +1 -1
  16. package/dist/adapters/cli/mir.d.ts.map +1 -1
  17. package/dist/adapters/cli/mir.js +2 -1
  18. package/dist/adapters/cli/mir.js.map +1 -1
  19. package/dist/adapters/cli/mira.d.ts.map +1 -1
  20. package/dist/adapters/cli/mira.js +2 -1
  21. package/dist/adapters/cli/mira.js.map +1 -1
  22. package/dist/adapters/hook-command.d.ts +3 -5
  23. package/dist/adapters/hook-command.d.ts.map +1 -1
  24. package/dist/adapters/hook-command.js +59 -13
  25. package/dist/adapters/hook-command.js.map +1 -1
  26. package/dist/autostart.d.ts +76 -0
  27. package/dist/autostart.d.ts.map +1 -1
  28. package/dist/autostart.js +105 -28
  29. package/dist/autostart.js.map +1 -1
  30. package/dist/bot-registry.d.ts +12 -0
  31. package/dist/bot-registry.d.ts.map +1 -1
  32. package/dist/bot-registry.js +43 -3
  33. package/dist/bot-registry.js.map +1 -1
  34. package/dist/cli/dashboard-command.d.ts +142 -0
  35. package/dist/cli/dashboard-command.d.ts.map +1 -1
  36. package/dist/cli/dashboard-command.js +160 -0
  37. package/dist/cli/dashboard-command.js.map +1 -1
  38. package/dist/cli/dashboard-endpoint.d.ts +66 -0
  39. package/dist/cli/dashboard-endpoint.d.ts.map +1 -1
  40. package/dist/cli/dashboard-endpoint.js +144 -30
  41. package/dist/cli/dashboard-endpoint.js.map +1 -1
  42. package/dist/cli/send-dispatch.d.ts +2 -0
  43. package/dist/cli/send-dispatch.d.ts.map +1 -1
  44. package/dist/cli/send-dispatch.js +8 -2
  45. package/dist/cli/send-dispatch.js.map +1 -1
  46. package/dist/cli.d.ts.map +1 -1
  47. package/dist/cli.js +270 -38
  48. package/dist/cli.js.map +1 -1
  49. package/dist/core/binary-self-update.d.ts +7 -0
  50. package/dist/core/binary-self-update.d.ts.map +1 -1
  51. package/dist/core/binary-self-update.js +17 -0
  52. package/dist/core/binary-self-update.js.map +1 -1
  53. package/dist/core/command-handler.d.ts.map +1 -1
  54. package/dist/core/command-handler.js +52 -1
  55. package/dist/core/command-handler.js.map +1 -1
  56. package/dist/core/cost-calculator.d.ts +9 -1
  57. package/dist/core/cost-calculator.d.ts.map +1 -1
  58. package/dist/core/cost-calculator.js +5 -0
  59. package/dist/core/cost-calculator.js.map +1 -1
  60. package/dist/core/passthrough-commands.d.ts.map +1 -1
  61. package/dist/core/passthrough-commands.js +1 -1
  62. package/dist/core/passthrough-commands.js.map +1 -1
  63. package/dist/core/self-spawn.d.ts +46 -1
  64. package/dist/core/self-spawn.d.ts.map +1 -1
  65. package/dist/core/self-spawn.js +57 -0
  66. package/dist/core/self-spawn.js.map +1 -1
  67. package/dist/core/worker-pool.d.ts.map +1 -1
  68. package/dist/core/worker-pool.js +81 -5
  69. package/dist/core/worker-pool.js.map +1 -1
  70. package/dist/daemon.d.ts.map +1 -1
  71. package/dist/daemon.js +93 -0
  72. package/dist/daemon.js.map +1 -1
  73. package/dist/dashboard/autostart-api.d.ts.map +1 -1
  74. package/dist/dashboard/autostart-api.js +16 -3
  75. package/dist/dashboard/autostart-api.js.map +1 -1
  76. package/dist/dashboard/bot-onboarding.d.ts +2 -1
  77. package/dist/dashboard/bot-onboarding.d.ts.map +1 -1
  78. package/dist/dashboard/bot-onboarding.js +22 -6
  79. package/dist/dashboard/bot-onboarding.js.map +1 -1
  80. package/dist/dashboard/bot-payload.d.ts +1 -0
  81. package/dist/dashboard/bot-payload.d.ts.map +1 -1
  82. package/dist/dashboard/bot-payload.js +3 -0
  83. package/dist/dashboard/bot-payload.js.map +1 -1
  84. package/dist/dashboard/connector-api.d.ts.map +1 -1
  85. package/dist/dashboard/connector-api.js +28 -0
  86. package/dist/dashboard/connector-api.js.map +1 -1
  87. package/dist/dashboard/trigger-api.d.ts.map +1 -1
  88. package/dist/dashboard/trigger-api.js +33 -21
  89. package/dist/dashboard/trigger-api.js.map +1 -1
  90. package/dist/dashboard/web/bot-defaults-page.d.ts.map +1 -1
  91. package/dist/dashboard/web/bot-defaults-page.js +12 -2
  92. package/dist/dashboard/web/bot-defaults-page.js.map +1 -1
  93. package/dist/dashboard/web/bot-defaults.d.ts +2 -0
  94. package/dist/dashboard/web/bot-defaults.d.ts.map +1 -1
  95. package/dist/dashboard/web/bot-defaults.js.map +1 -1
  96. package/dist/dashboard/web/bot-onboarding.d.ts +40 -1
  97. package/dist/dashboard/web/bot-onboarding.d.ts.map +1 -1
  98. package/dist/dashboard/web/bot-onboarding.js +52 -2
  99. package/dist/dashboard/web/bot-onboarding.js.map +1 -1
  100. package/dist/dashboard/web/i18n.d.ts.map +1 -1
  101. package/dist/dashboard/web/i18n.js +2 -0
  102. package/dist/dashboard/web/i18n.js.map +1 -1
  103. package/dist/dashboard/webhook-routes.d.ts.map +1 -1
  104. package/dist/dashboard/webhook-routes.js +272 -30
  105. package/dist/dashboard/webhook-routes.js.map +1 -1
  106. package/dist/dashboard-web/app.js +1 -1
  107. package/dist/dashboard-web/chunks/{agent-workbench-dock-page-XHJUYFGN.js → agent-workbench-dock-page-6LC422N6.js} +1 -1
  108. package/dist/dashboard-web/chunks/{agent-workbench-page-FLKTLIRM.js → agent-workbench-page-RSAWY7O2.js} +1 -1
  109. package/dist/dashboard-web/chunks/{bot-defaults-page-XMGLZZ2E.js → bot-defaults-page-67RAWCSQ.js} +1 -1
  110. package/dist/dashboard-web/chunks/{chunk-TLG45URB.js → chunk-IA5KMD5O.js} +1 -1
  111. package/dist/dashboard-web/chunks/{chunk-BU3Q6XC6.js → chunk-K232GT3M.js} +2 -2
  112. package/dist/dashboard-web/chunks/chunk-MMLTCXHP.js +10 -0
  113. package/dist/dashboard-web/chunks/{chunk-ECFC7UG2.js → chunk-R3LJUCEO.js} +1 -1
  114. package/dist/dashboard-web/chunks/{chunk-Z67OSM5P.js → chunk-YJA3KY3J.js} +1 -1
  115. package/dist/dashboard-web/chunks/{connectors-page-WDM4CEAU.js → connectors-page-DJCTHSFB.js} +1 -1
  116. package/dist/dashboard-web/chunks/{feedback-page-GMJ4FLJ4.js → feedback-page-O7SZRKNM.js} +1 -1
  117. package/dist/dashboard-web/chunks/{groups-page-L4ZJNWVR.js → groups-page-7PONUYHE.js} +1 -1
  118. package/dist/dashboard-web/chunks/{insights-page-7LUJU2CX.js → insights-page-J6DAAJ6D.js} +1 -1
  119. package/dist/dashboard-web/chunks/{monitor-room-7LZUJQPF.js → monitor-room-F3QNEW7N.js} +1 -1
  120. package/dist/dashboard-web/chunks/{monitoring-page-AUSXMPYO.js → monitoring-page-JHDD2VS2.js} +1 -1
  121. package/dist/dashboard-web/chunks/{office-page-6ZU6MAZN.js → office-page-MMTN4IKD.js} +1 -1
  122. package/dist/dashboard-web/chunks/{overview-page-QBC5CIYH.js → overview-page-IQ2UJAJP.js} +1 -1
  123. package/dist/dashboard-web/chunks/{roles-page-QO3YCA7D.js → roles-page-FNI4MGX6.js} +1 -1
  124. package/dist/dashboard-web/chunks/{schedules-page-YNGSKDQW.js → schedules-page-6PUU63KS.js} +1 -1
  125. package/dist/dashboard-web/chunks/{sessions-page-BWR4UB6X.js → sessions-page-O4N72EXT.js} +4 -4
  126. package/dist/dashboard-web/chunks/{settings-page-2IRIS3FP.js → settings-page-G7B3STUF.js} +1 -1
  127. package/dist/dashboard-web/chunks/{skills-page-5RZPM6HJ.js → skills-page-CEWKQOIG.js} +1 -1
  128. package/dist/dashboard-web/chunks/{team-federation-page-KERG6LKC.js → team-federation-page-NUP4VK4H.js} +1 -1
  129. package/dist/dashboard-web/chunks/{v3-page-766CBD7H.js → v3-page-M4XF6D5Z.js} +1 -1
  130. package/dist/dashboard-web/chunks/{whiteboards-page-2M6XZD5C.js → whiteboards-page-L755NZX6.js} +1 -1
  131. package/dist/dashboard-web/style.css +13 -0
  132. package/dist/dashboard.js +3 -0
  133. package/dist/dashboard.js.map +1 -1
  134. package/dist/global-config.d.ts +3 -0
  135. package/dist/global-config.d.ts.map +1 -1
  136. package/dist/global-config.js +10 -3
  137. package/dist/global-config.js.map +1 -1
  138. package/dist/i18n/en.d.ts.map +1 -1
  139. package/dist/i18n/en.js +19 -1
  140. package/dist/i18n/en.js.map +1 -1
  141. package/dist/i18n/zh.d.ts.map +1 -1
  142. package/dist/i18n/zh.js +19 -1
  143. package/dist/i18n/zh.js.map +1 -1
  144. package/dist/im/lark/api-gate.d.ts +53 -0
  145. package/dist/im/lark/api-gate.d.ts.map +1 -0
  146. package/dist/im/lark/api-gate.js +322 -0
  147. package/dist/im/lark/api-gate.js.map +1 -0
  148. package/dist/im/lark/audio-transcribe.d.ts +23 -0
  149. package/dist/im/lark/audio-transcribe.d.ts.map +1 -0
  150. package/dist/im/lark/audio-transcribe.js +126 -0
  151. package/dist/im/lark/audio-transcribe.js.map +1 -0
  152. package/dist/im/lark/card-builder.d.ts +6 -0
  153. package/dist/im/lark/card-builder.d.ts.map +1 -1
  154. package/dist/im/lark/card-builder.js +53 -1
  155. package/dist/im/lark/card-builder.js.map +1 -1
  156. package/dist/im/lark/card-handler.d.ts +10 -0
  157. package/dist/im/lark/card-handler.d.ts.map +1 -1
  158. package/dist/im/lark/card-handler.js +68 -1
  159. package/dist/im/lark/card-handler.js.map +1 -1
  160. package/dist/im/lark/client.d.ts.map +1 -1
  161. package/dist/im/lark/client.js +247 -224
  162. package/dist/im/lark/client.js.map +1 -1
  163. package/dist/im/lark/event-dispatcher.d.ts.map +1 -1
  164. package/dist/im/lark/event-dispatcher.js +34 -3
  165. package/dist/im/lark/event-dispatcher.js.map +1 -1
  166. package/dist/im/lark/message-parser.d.ts +16 -0
  167. package/dist/im/lark/message-parser.d.ts.map +1 -1
  168. package/dist/im/lark/message-parser.js +31 -0
  169. package/dist/im/lark/message-parser.js.map +1 -1
  170. package/dist/services/budget-tracker.d.ts +61 -0
  171. package/dist/services/budget-tracker.d.ts.map +1 -0
  172. package/dist/services/budget-tracker.js +306 -0
  173. package/dist/services/budget-tracker.js.map +1 -0
  174. package/dist/services/connector-store.d.ts +16 -0
  175. package/dist/services/connector-store.d.ts.map +1 -1
  176. package/dist/services/connector-store.js.map +1 -1
  177. package/dist/services/failed-turn-retry.d.ts +43 -0
  178. package/dist/services/failed-turn-retry.d.ts.map +1 -0
  179. package/dist/services/failed-turn-retry.js +50 -0
  180. package/dist/services/failed-turn-retry.js.map +1 -0
  181. package/dist/services/model-pricing.d.ts +80 -0
  182. package/dist/services/model-pricing.d.ts.map +1 -0
  183. package/dist/services/model-pricing.js +182 -0
  184. package/dist/services/model-pricing.js.map +1 -0
  185. package/dist/services/session-store.d.ts.map +1 -1
  186. package/dist/services/session-store.js +13 -3
  187. package/dist/services/session-store.js.map +1 -1
  188. package/dist/services/trigger-types.d.ts +10 -0
  189. package/dist/services/trigger-types.d.ts.map +1 -1
  190. package/dist/services/trigger-types.js.map +1 -1
  191. package/dist/services/usage-ledger.d.ts +10 -0
  192. package/dist/services/usage-ledger.d.ts.map +1 -1
  193. package/dist/services/usage-ledger.js +36 -0
  194. package/dist/services/usage-ledger.js.map +1 -1
  195. package/dist/services/voice/asr.d.ts +17 -0
  196. package/dist/services/voice/asr.d.ts.map +1 -0
  197. package/dist/services/voice/asr.js +64 -0
  198. package/dist/services/voice/asr.js.map +1 -0
  199. package/dist/services/voice/index.d.ts +17 -2
  200. package/dist/services/voice/index.d.ts.map +1 -1
  201. package/dist/services/voice/index.js +43 -0
  202. package/dist/services/voice/index.js.map +1 -1
  203. package/dist/services/voice/types.d.ts +15 -0
  204. package/dist/services/voice/types.d.ts.map +1 -1
  205. package/dist/services/webhook-idempotency.d.ts +134 -0
  206. package/dist/services/webhook-idempotency.d.ts.map +1 -0
  207. package/dist/services/webhook-idempotency.js +265 -0
  208. package/dist/services/webhook-idempotency.js.map +1 -0
  209. package/dist/setup/app-name.d.ts +1 -0
  210. package/dist/setup/app-name.d.ts.map +1 -1
  211. package/dist/setup/app-name.js +7 -0
  212. package/dist/setup/app-name.js.map +1 -1
  213. package/dist/setup/bot-config-editor.d.ts +28 -0
  214. package/dist/setup/bot-config-editor.d.ts.map +1 -1
  215. package/dist/setup/bot-config-editor.js +73 -0
  216. package/dist/setup/bot-config-editor.js.map +1 -1
  217. package/dist/setup/open-platform-automation.d.ts +26 -0
  218. package/dist/setup/open-platform-automation.d.ts.map +1 -1
  219. package/dist/setup/open-platform-automation.js +90 -1
  220. package/dist/setup/open-platform-automation.js.map +1 -1
  221. package/dist/setup/open-platform-outcome.d.ts.map +1 -1
  222. package/dist/setup/open-platform-outcome.js +8 -2
  223. package/dist/setup/open-platform-outcome.js.map +1 -1
  224. package/dist/types.d.ts +20 -1
  225. package/dist/types.d.ts.map +1 -1
  226. package/dist/utils/usage-limit-tracker.d.ts +29 -9
  227. package/dist/utils/usage-limit-tracker.d.ts.map +1 -1
  228. package/dist/utils/usage-limit-tracker.js +122 -14
  229. package/dist/utils/usage-limit-tracker.js.map +1 -1
  230. package/dist/worker.js +27 -6
  231. package/dist/worker.js.map +1 -1
  232. package/dist/workflows/definition.d.ts +56 -56
  233. package/dist/workflows/events/payloads.d.ts +2 -2
  234. package/dist/workflows/events/schema.d.ts +430 -430
  235. package/dist/workflows/migration/v2-run-archive-schema.d.ts +2 -2
  236. package/dist/workflows/v3/run-envelope.d.ts +56 -56
  237. package/package.json +9 -8
  238. package/scripts/postinstall-bin.mjs +25 -0
  239. package/dist/dashboard-web/chunks/chunk-NJCJR3U2.js +0 -10
@@ -5,12 +5,12 @@ export declare const PayloadRefSchema: z.ZodObject<{
5
5
  bytes: z.ZodNumber;
6
6
  schemaVersion: z.ZodNumber;
7
7
  }, "strip", z.ZodTypeAny, {
8
- ref: string;
9
8
  schemaVersion: number;
9
+ ref: string;
10
10
  bytes: number;
11
11
  }, {
12
- ref: string;
13
12
  schemaVersion: number;
13
+ ref: string;
14
14
  bytes: number;
15
15
  }>;
16
16
  export type PayloadRef = z.infer<typeof PayloadRefSchema>;
@@ -154,12 +154,12 @@ export declare const RunCreatedEventSchema: z.ZodObject<{
154
154
  bytes: z.ZodNumber;
155
155
  schemaVersion: z.ZodNumber;
156
156
  }, "strip", z.ZodTypeAny, {
157
- ref: string;
158
157
  schemaVersion: number;
158
+ ref: string;
159
159
  bytes: number;
160
160
  }, {
161
- ref: string;
162
161
  schemaVersion: number;
162
+ ref: string;
163
163
  bytes: number;
164
164
  }>]>;
165
165
  eventId: z.ZodString;
@@ -198,14 +198,14 @@ export declare const RunCreatedEventSchema: z.ZodObject<{
198
198
  sandboxNetwork?: boolean | undefined;
199
199
  }> | undefined;
200
200
  } | {
201
- ref: string;
202
201
  schemaVersion: number;
202
+ ref: string;
203
203
  bytes: number;
204
204
  };
205
205
  schemaVersion: 1;
206
206
  runId: string;
207
207
  timestamp: number;
208
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
208
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
209
209
  eventId: string;
210
210
  payloadHash?: string | undefined;
211
211
  }, {
@@ -238,14 +238,14 @@ export declare const RunCreatedEventSchema: z.ZodObject<{
238
238
  sandboxNetwork?: boolean | undefined;
239
239
  }> | undefined;
240
240
  } | {
241
- ref: string;
242
241
  schemaVersion: number;
242
+ ref: string;
243
243
  bytes: number;
244
244
  };
245
245
  schemaVersion: 1;
246
246
  runId: string;
247
247
  timestamp: number;
248
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
248
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
249
249
  eventId: string;
250
250
  payloadHash?: string | undefined;
251
251
  }>;
@@ -256,12 +256,12 @@ export declare const RunStartedEventSchema: z.ZodObject<{
256
256
  bytes: z.ZodNumber;
257
257
  schemaVersion: z.ZodNumber;
258
258
  }, "strip", z.ZodTypeAny, {
259
- ref: string;
260
259
  schemaVersion: number;
260
+ ref: string;
261
261
  bytes: number;
262
262
  }, {
263
- ref: string;
264
263
  schemaVersion: number;
264
+ ref: string;
265
265
  bytes: number;
266
266
  }>]>;
267
267
  eventId: z.ZodString;
@@ -273,27 +273,27 @@ export declare const RunStartedEventSchema: z.ZodObject<{
273
273
  }, "strip", z.ZodTypeAny, {
274
274
  type: "runStarted";
275
275
  payload: {} | {
276
- ref: string;
277
276
  schemaVersion: number;
277
+ ref: string;
278
278
  bytes: number;
279
279
  };
280
280
  schemaVersion: 1;
281
281
  runId: string;
282
282
  timestamp: number;
283
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
283
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
284
284
  eventId: string;
285
285
  payloadHash?: string | undefined;
286
286
  }, {
287
287
  type: "runStarted";
288
288
  payload: {} | {
289
- ref: string;
290
289
  schemaVersion: number;
290
+ ref: string;
291
291
  bytes: number;
292
292
  };
293
293
  schemaVersion: 1;
294
294
  runId: string;
295
295
  timestamp: number;
296
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
296
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
297
297
  eventId: string;
298
298
  payloadHash?: string | undefined;
299
299
  }>;
@@ -340,12 +340,12 @@ export declare const RunSucceededEventSchema: z.ZodObject<{
340
340
  bytes: z.ZodNumber;
341
341
  schemaVersion: z.ZodNumber;
342
342
  }, "strip", z.ZodTypeAny, {
343
- ref: string;
344
343
  schemaVersion: number;
344
+ ref: string;
345
345
  bytes: number;
346
346
  }, {
347
- ref: string;
348
347
  schemaVersion: number;
348
+ ref: string;
349
349
  bytes: number;
350
350
  }>]>;
351
351
  eventId: z.ZodString;
@@ -365,14 +365,14 @@ export declare const RunSucceededEventSchema: z.ZodObject<{
365
365
  outputPath?: string | undefined;
366
366
  };
367
367
  } | {
368
- ref: string;
369
368
  schemaVersion: number;
369
+ ref: string;
370
370
  bytes: number;
371
371
  };
372
372
  schemaVersion: 1;
373
373
  runId: string;
374
374
  timestamp: number;
375
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
375
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
376
376
  eventId: string;
377
377
  payloadHash?: string | undefined;
378
378
  }, {
@@ -386,14 +386,14 @@ export declare const RunSucceededEventSchema: z.ZodObject<{
386
386
  outputPath?: string | undefined;
387
387
  };
388
388
  } | {
389
- ref: string;
390
389
  schemaVersion: number;
390
+ ref: string;
391
391
  bytes: number;
392
392
  };
393
393
  schemaVersion: 1;
394
394
  runId: string;
395
395
  timestamp: number;
396
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
396
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
397
397
  eventId: string;
398
398
  payloadHash?: string | undefined;
399
399
  }>;
@@ -413,12 +413,12 @@ export declare const RunFailedEventSchema: z.ZodObject<{
413
413
  bytes: z.ZodNumber;
414
414
  schemaVersion: z.ZodNumber;
415
415
  }, "strip", z.ZodTypeAny, {
416
- ref: string;
417
416
  schemaVersion: number;
417
+ ref: string;
418
418
  bytes: number;
419
419
  }, {
420
- ref: string;
421
420
  schemaVersion: number;
421
+ ref: string;
422
422
  bytes: number;
423
423
  }>]>;
424
424
  eventId: z.ZodString;
@@ -433,14 +433,14 @@ export declare const RunFailedEventSchema: z.ZodObject<{
433
433
  failedNodeId: string;
434
434
  rootCauseEventId: string;
435
435
  } | {
436
- ref: string;
437
436
  schemaVersion: number;
437
+ ref: string;
438
438
  bytes: number;
439
439
  };
440
440
  schemaVersion: 1;
441
441
  runId: string;
442
442
  timestamp: number;
443
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
443
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
444
444
  eventId: string;
445
445
  payloadHash?: string | undefined;
446
446
  }, {
@@ -449,14 +449,14 @@ export declare const RunFailedEventSchema: z.ZodObject<{
449
449
  failedNodeId: string;
450
450
  rootCauseEventId: string;
451
451
  } | {
452
- ref: string;
453
452
  schemaVersion: number;
453
+ ref: string;
454
454
  bytes: number;
455
455
  };
456
456
  schemaVersion: 1;
457
457
  runId: string;
458
458
  timestamp: number;
459
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
459
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
460
460
  eventId: string;
461
461
  payloadHash?: string | undefined;
462
462
  }>;
@@ -473,12 +473,12 @@ export declare const RunCanceledEventSchema: z.ZodObject<{
473
473
  bytes: z.ZodNumber;
474
474
  schemaVersion: z.ZodNumber;
475
475
  }, "strip", z.ZodTypeAny, {
476
- ref: string;
477
476
  schemaVersion: number;
477
+ ref: string;
478
478
  bytes: number;
479
479
  }, {
480
- ref: string;
481
480
  schemaVersion: number;
481
+ ref: string;
482
482
  bytes: number;
483
483
  }>]>;
484
484
  eventId: z.ZodString;
@@ -492,14 +492,14 @@ export declare const RunCanceledEventSchema: z.ZodObject<{
492
492
  payload: {
493
493
  cancelOriginEventId: string;
494
494
  } | {
495
- ref: string;
496
495
  schemaVersion: number;
496
+ ref: string;
497
497
  bytes: number;
498
498
  };
499
499
  schemaVersion: 1;
500
500
  runId: string;
501
501
  timestamp: number;
502
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
502
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
503
503
  eventId: string;
504
504
  payloadHash?: string | undefined;
505
505
  }, {
@@ -507,14 +507,14 @@ export declare const RunCanceledEventSchema: z.ZodObject<{
507
507
  payload: {
508
508
  cancelOriginEventId: string;
509
509
  } | {
510
- ref: string;
511
510
  schemaVersion: number;
511
+ ref: string;
512
512
  bytes: number;
513
513
  };
514
514
  schemaVersion: 1;
515
515
  runId: string;
516
516
  timestamp: number;
517
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
517
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
518
518
  eventId: string;
519
519
  payloadHash?: string | undefined;
520
520
  }>;
@@ -537,12 +537,12 @@ export declare const NodeWaitingEventSchema: z.ZodObject<{
537
537
  bytes: z.ZodNumber;
538
538
  schemaVersion: z.ZodNumber;
539
539
  }, "strip", z.ZodTypeAny, {
540
- ref: string;
541
540
  schemaVersion: number;
541
+ ref: string;
542
542
  bytes: number;
543
543
  }, {
544
- ref: string;
545
544
  schemaVersion: number;
545
+ ref: string;
546
546
  bytes: number;
547
547
  }>]>;
548
548
  eventId: z.ZodString;
@@ -558,14 +558,14 @@ export declare const NodeWaitingEventSchema: z.ZodObject<{
558
558
  waitReason: string;
559
559
  deadlineAt?: number | undefined;
560
560
  } | {
561
- ref: string;
562
561
  schemaVersion: number;
562
+ ref: string;
563
563
  bytes: number;
564
564
  };
565
565
  schemaVersion: 1;
566
566
  runId: string;
567
567
  timestamp: number;
568
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
568
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
569
569
  eventId: string;
570
570
  payloadHash?: string | undefined;
571
571
  }, {
@@ -575,14 +575,14 @@ export declare const NodeWaitingEventSchema: z.ZodObject<{
575
575
  waitReason: string;
576
576
  deadlineAt?: number | undefined;
577
577
  } | {
578
- ref: string;
579
578
  schemaVersion: number;
579
+ ref: string;
580
580
  bytes: number;
581
581
  };
582
582
  schemaVersion: 1;
583
583
  runId: string;
584
584
  timestamp: number;
585
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
585
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
586
586
  eventId: string;
587
587
  payloadHash?: string | undefined;
588
588
  }>;
@@ -605,12 +605,12 @@ export declare const NodeRetryingEventSchema: z.ZodObject<{
605
605
  bytes: z.ZodNumber;
606
606
  schemaVersion: z.ZodNumber;
607
607
  }, "strip", z.ZodTypeAny, {
608
- ref: string;
609
608
  schemaVersion: number;
609
+ ref: string;
610
610
  bytes: number;
611
611
  }, {
612
- ref: string;
613
612
  schemaVersion: number;
613
+ ref: string;
614
614
  bytes: number;
615
615
  }>]>;
616
616
  eventId: z.ZodString;
@@ -626,14 +626,14 @@ export declare const NodeRetryingEventSchema: z.ZodObject<{
626
626
  lastAttemptId: string;
627
627
  nextBackoffMs: number;
628
628
  } | {
629
- ref: string;
630
629
  schemaVersion: number;
630
+ ref: string;
631
631
  bytes: number;
632
632
  };
633
633
  schemaVersion: 1;
634
634
  runId: string;
635
635
  timestamp: number;
636
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
636
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
637
637
  eventId: string;
638
638
  payloadHash?: string | undefined;
639
639
  }, {
@@ -643,14 +643,14 @@ export declare const NodeRetryingEventSchema: z.ZodObject<{
643
643
  lastAttemptId: string;
644
644
  nextBackoffMs: number;
645
645
  } | {
646
- ref: string;
647
646
  schemaVersion: number;
647
+ ref: string;
648
648
  bytes: number;
649
649
  };
650
650
  schemaVersion: 1;
651
651
  runId: string;
652
652
  timestamp: number;
653
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
653
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
654
654
  eventId: string;
655
655
  payloadHash?: string | undefined;
656
656
  }>;
@@ -670,12 +670,12 @@ export declare const NodeSucceededEventSchema: z.ZodObject<{
670
670
  bytes: z.ZodNumber;
671
671
  schemaVersion: z.ZodNumber;
672
672
  }, "strip", z.ZodTypeAny, {
673
- ref: string;
674
673
  schemaVersion: number;
674
+ ref: string;
675
675
  bytes: number;
676
676
  }, {
677
- ref: string;
678
677
  schemaVersion: number;
678
+ ref: string;
679
679
  bytes: number;
680
680
  }>]>;
681
681
  eventId: z.ZodString;
@@ -690,14 +690,14 @@ export declare const NodeSucceededEventSchema: z.ZodObject<{
690
690
  nodeId: string;
691
691
  lastActivityId: string;
692
692
  } | {
693
- ref: string;
694
693
  schemaVersion: number;
694
+ ref: string;
695
695
  bytes: number;
696
696
  };
697
697
  schemaVersion: 1;
698
698
  runId: string;
699
699
  timestamp: number;
700
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
700
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
701
701
  eventId: string;
702
702
  payloadHash?: string | undefined;
703
703
  }, {
@@ -706,14 +706,14 @@ export declare const NodeSucceededEventSchema: z.ZodObject<{
706
706
  nodeId: string;
707
707
  lastActivityId: string;
708
708
  } | {
709
- ref: string;
710
709
  schemaVersion: number;
710
+ ref: string;
711
711
  bytes: number;
712
712
  };
713
713
  schemaVersion: 1;
714
714
  runId: string;
715
715
  timestamp: number;
716
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
716
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
717
717
  eventId: string;
718
718
  payloadHash?: string | undefined;
719
719
  }>;
@@ -736,12 +736,12 @@ export declare const NodeFailedEventSchema: z.ZodObject<{
736
736
  bytes: z.ZodNumber;
737
737
  schemaVersion: z.ZodNumber;
738
738
  }, "strip", z.ZodTypeAny, {
739
- ref: string;
740
739
  schemaVersion: number;
740
+ ref: string;
741
741
  bytes: number;
742
742
  }, {
743
- ref: string;
744
743
  schemaVersion: number;
744
+ ref: string;
745
745
  bytes: number;
746
746
  }>]>;
747
747
  eventId: z.ZodString;
@@ -757,14 +757,14 @@ export declare const NodeFailedEventSchema: z.ZodObject<{
757
757
  errorClass: "retryable" | "fatal" | "userFault" | "manual";
758
758
  lastActivityId: string;
759
759
  } | {
760
- ref: string;
761
760
  schemaVersion: number;
761
+ ref: string;
762
762
  bytes: number;
763
763
  };
764
764
  schemaVersion: 1;
765
765
  runId: string;
766
766
  timestamp: number;
767
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
767
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
768
768
  eventId: string;
769
769
  payloadHash?: string | undefined;
770
770
  }, {
@@ -774,14 +774,14 @@ export declare const NodeFailedEventSchema: z.ZodObject<{
774
774
  errorClass: "retryable" | "fatal" | "userFault" | "manual";
775
775
  lastActivityId: string;
776
776
  } | {
777
- ref: string;
778
777
  schemaVersion: number;
778
+ ref: string;
779
779
  bytes: number;
780
780
  };
781
781
  schemaVersion: 1;
782
782
  runId: string;
783
783
  timestamp: number;
784
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
784
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
785
785
  eventId: string;
786
786
  payloadHash?: string | undefined;
787
787
  }>;
@@ -801,12 +801,12 @@ export declare const NodeSkippedEventSchema: z.ZodObject<{
801
801
  bytes: z.ZodNumber;
802
802
  schemaVersion: z.ZodNumber;
803
803
  }, "strip", z.ZodTypeAny, {
804
- ref: string;
805
804
  schemaVersion: number;
805
+ ref: string;
806
806
  bytes: number;
807
807
  }, {
808
- ref: string;
809
808
  schemaVersion: number;
809
+ ref: string;
810
810
  bytes: number;
811
811
  }>]>;
812
812
  eventId: z.ZodString;
@@ -821,14 +821,14 @@ export declare const NodeSkippedEventSchema: z.ZodObject<{
821
821
  nodeId: string;
822
822
  conditionEventId: string;
823
823
  } | {
824
- ref: string;
825
824
  schemaVersion: number;
825
+ ref: string;
826
826
  bytes: number;
827
827
  };
828
828
  schemaVersion: 1;
829
829
  runId: string;
830
830
  timestamp: number;
831
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
831
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
832
832
  eventId: string;
833
833
  payloadHash?: string | undefined;
834
834
  }, {
@@ -837,14 +837,14 @@ export declare const NodeSkippedEventSchema: z.ZodObject<{
837
837
  nodeId: string;
838
838
  conditionEventId: string;
839
839
  } | {
840
- ref: string;
841
840
  schemaVersion: number;
841
+ ref: string;
842
842
  bytes: number;
843
843
  };
844
844
  schemaVersion: 1;
845
845
  runId: string;
846
846
  timestamp: number;
847
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
847
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
848
848
  eventId: string;
849
849
  payloadHash?: string | undefined;
850
850
  }>;
@@ -864,12 +864,12 @@ export declare const NodeCanceledEventSchema: z.ZodObject<{
864
864
  bytes: z.ZodNumber;
865
865
  schemaVersion: z.ZodNumber;
866
866
  }, "strip", z.ZodTypeAny, {
867
- ref: string;
868
867
  schemaVersion: number;
868
+ ref: string;
869
869
  bytes: number;
870
870
  }, {
871
- ref: string;
872
871
  schemaVersion: number;
872
+ ref: string;
873
873
  bytes: number;
874
874
  }>]>;
875
875
  eventId: z.ZodString;
@@ -884,14 +884,14 @@ export declare const NodeCanceledEventSchema: z.ZodObject<{
884
884
  nodeId: string;
885
885
  cancelOriginEventId: string;
886
886
  } | {
887
- ref: string;
888
887
  schemaVersion: number;
888
+ ref: string;
889
889
  bytes: number;
890
890
  };
891
891
  schemaVersion: 1;
892
892
  runId: string;
893
893
  timestamp: number;
894
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
894
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
895
895
  eventId: string;
896
896
  payloadHash?: string | undefined;
897
897
  }, {
@@ -900,14 +900,14 @@ export declare const NodeCanceledEventSchema: z.ZodObject<{
900
900
  nodeId: string;
901
901
  cancelOriginEventId: string;
902
902
  } | {
903
- ref: string;
904
903
  schemaVersion: number;
904
+ ref: string;
905
905
  bytes: number;
906
906
  };
907
907
  schemaVersion: 1;
908
908
  runId: string;
909
909
  timestamp: number;
910
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
910
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
911
911
  eventId: string;
912
912
  payloadHash?: string | undefined;
913
913
  }>;
@@ -930,12 +930,12 @@ export declare const ActivityRunningEventSchema: z.ZodObject<{
930
930
  bytes: z.ZodNumber;
931
931
  schemaVersion: z.ZodNumber;
932
932
  }, "strip", z.ZodTypeAny, {
933
- ref: string;
934
933
  schemaVersion: number;
934
+ ref: string;
935
935
  bytes: number;
936
936
  }, {
937
- ref: string;
938
937
  schemaVersion: number;
938
+ ref: string;
939
939
  bytes: number;
940
940
  }>]>;
941
941
  eventId: z.ZodString;
@@ -951,14 +951,14 @@ export declare const ActivityRunningEventSchema: z.ZodObject<{
951
951
  leaseId: string;
952
952
  activityId: string;
953
953
  } | {
954
- ref: string;
955
954
  schemaVersion: number;
955
+ ref: string;
956
956
  bytes: number;
957
957
  };
958
958
  schemaVersion: 1;
959
959
  runId: string;
960
960
  timestamp: number;
961
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
961
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
962
962
  eventId: string;
963
963
  payloadHash?: string | undefined;
964
964
  }, {
@@ -968,14 +968,14 @@ export declare const ActivityRunningEventSchema: z.ZodObject<{
968
968
  leaseId: string;
969
969
  activityId: string;
970
970
  } | {
971
- ref: string;
972
971
  schemaVersion: number;
972
+ ref: string;
973
973
  bytes: number;
974
974
  };
975
975
  schemaVersion: 1;
976
976
  runId: string;
977
977
  timestamp: number;
978
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
978
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
979
979
  eventId: string;
980
980
  payloadHash?: string | undefined;
981
981
  }>;
@@ -995,12 +995,12 @@ export declare const ActivityWaitingEventSchema: z.ZodObject<{
995
995
  bytes: z.ZodNumber;
996
996
  schemaVersion: z.ZodNumber;
997
997
  }, "strip", z.ZodTypeAny, {
998
- ref: string;
999
998
  schemaVersion: number;
999
+ ref: string;
1000
1000
  bytes: number;
1001
1001
  }, {
1002
- ref: string;
1003
1002
  schemaVersion: number;
1003
+ ref: string;
1004
1004
  bytes: number;
1005
1005
  }>]>;
1006
1006
  eventId: z.ZodString;
@@ -1015,14 +1015,14 @@ export declare const ActivityWaitingEventSchema: z.ZodObject<{
1015
1015
  reason: string;
1016
1016
  activityId: string;
1017
1017
  } | {
1018
- ref: string;
1019
1018
  schemaVersion: number;
1019
+ ref: string;
1020
1020
  bytes: number;
1021
1021
  };
1022
1022
  schemaVersion: 1;
1023
1023
  runId: string;
1024
1024
  timestamp: number;
1025
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
1025
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
1026
1026
  eventId: string;
1027
1027
  payloadHash?: string | undefined;
1028
1028
  }, {
@@ -1031,14 +1031,14 @@ export declare const ActivityWaitingEventSchema: z.ZodObject<{
1031
1031
  reason: string;
1032
1032
  activityId: string;
1033
1033
  } | {
1034
- ref: string;
1035
1034
  schemaVersion: number;
1035
+ ref: string;
1036
1036
  bytes: number;
1037
1037
  };
1038
1038
  schemaVersion: 1;
1039
1039
  runId: string;
1040
1040
  timestamp: number;
1041
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
1041
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
1042
1042
  eventId: string;
1043
1043
  payloadHash?: string | undefined;
1044
1044
  }>;
@@ -1067,12 +1067,12 @@ export declare const ActivityTimedOutEventSchema: z.ZodObject<{
1067
1067
  bytes: z.ZodNumber;
1068
1068
  schemaVersion: z.ZodNumber;
1069
1069
  }, "strip", z.ZodTypeAny, {
1070
- ref: string;
1071
1070
  schemaVersion: number;
1071
+ ref: string;
1072
1072
  bytes: number;
1073
1073
  }, {
1074
- ref: string;
1075
1074
  schemaVersion: number;
1075
+ ref: string;
1076
1076
  bytes: number;
1077
1077
  }>]>;
1078
1078
  eventId: z.ZodString;
@@ -1090,14 +1090,14 @@ export declare const ActivityTimedOutEventSchema: z.ZodObject<{
1090
1090
  activityId: string;
1091
1091
  runningMs: number;
1092
1092
  } | {
1093
- ref: string;
1094
1093
  schemaVersion: number;
1094
+ ref: string;
1095
1095
  bytes: number;
1096
1096
  };
1097
1097
  schemaVersion: 1;
1098
1098
  runId: string;
1099
1099
  timestamp: number;
1100
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
1100
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
1101
1101
  eventId: string;
1102
1102
  payloadHash?: string | undefined;
1103
1103
  }, {
@@ -1109,14 +1109,14 @@ export declare const ActivityTimedOutEventSchema: z.ZodObject<{
1109
1109
  activityId: string;
1110
1110
  runningMs: number;
1111
1111
  } | {
1112
- ref: string;
1113
1112
  schemaVersion: number;
1113
+ ref: string;
1114
1114
  bytes: number;
1115
1115
  };
1116
1116
  schemaVersion: 1;
1117
1117
  runId: string;
1118
1118
  timestamp: number;
1119
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
1119
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
1120
1120
  eventId: string;
1121
1121
  payloadHash?: string | undefined;
1122
1122
  }>;
@@ -1136,12 +1136,12 @@ export declare const LoopStartedEventSchema: z.ZodObject<{
1136
1136
  bytes: z.ZodNumber;
1137
1137
  schemaVersion: z.ZodNumber;
1138
1138
  }, "strip", z.ZodTypeAny, {
1139
- ref: string;
1140
1139
  schemaVersion: number;
1140
+ ref: string;
1141
1141
  bytes: number;
1142
1142
  }, {
1143
- ref: string;
1144
1143
  schemaVersion: number;
1144
+ ref: string;
1145
1145
  bytes: number;
1146
1146
  }>]>;
1147
1147
  eventId: z.ZodString;
@@ -1156,14 +1156,14 @@ export declare const LoopStartedEventSchema: z.ZodObject<{
1156
1156
  maxIterations: number;
1157
1157
  loopId: string;
1158
1158
  } | {
1159
- ref: string;
1160
1159
  schemaVersion: number;
1160
+ ref: string;
1161
1161
  bytes: number;
1162
1162
  };
1163
1163
  schemaVersion: 1;
1164
1164
  runId: string;
1165
1165
  timestamp: number;
1166
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
1166
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
1167
1167
  eventId: string;
1168
1168
  payloadHash?: string | undefined;
1169
1169
  }, {
@@ -1172,14 +1172,14 @@ export declare const LoopStartedEventSchema: z.ZodObject<{
1172
1172
  maxIterations: number;
1173
1173
  loopId: string;
1174
1174
  } | {
1175
- ref: string;
1176
1175
  schemaVersion: number;
1176
+ ref: string;
1177
1177
  bytes: number;
1178
1178
  };
1179
1179
  schemaVersion: 1;
1180
1180
  runId: string;
1181
1181
  timestamp: number;
1182
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
1182
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
1183
1183
  eventId: string;
1184
1184
  payloadHash?: string | undefined;
1185
1185
  }>;
@@ -1202,12 +1202,12 @@ export declare const LoopIterationStartedEventSchema: z.ZodObject<{
1202
1202
  bytes: z.ZodNumber;
1203
1203
  schemaVersion: z.ZodNumber;
1204
1204
  }, "strip", z.ZodTypeAny, {
1205
- ref: string;
1206
1205
  schemaVersion: number;
1206
+ ref: string;
1207
1207
  bytes: number;
1208
1208
  }, {
1209
- ref: string;
1210
1209
  schemaVersion: number;
1210
+ ref: string;
1211
1211
  bytes: number;
1212
1212
  }>]>;
1213
1213
  eventId: z.ZodString;
@@ -1223,14 +1223,14 @@ export declare const LoopIterationStartedEventSchema: z.ZodObject<{
1223
1223
  iteration: number;
1224
1224
  prevResolution: "initial" | "rejected";
1225
1225
  } | {
1226
- ref: string;
1227
1226
  schemaVersion: number;
1227
+ ref: string;
1228
1228
  bytes: number;
1229
1229
  };
1230
1230
  schemaVersion: 1;
1231
1231
  runId: string;
1232
1232
  timestamp: number;
1233
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
1233
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
1234
1234
  eventId: string;
1235
1235
  payloadHash?: string | undefined;
1236
1236
  }, {
@@ -1240,14 +1240,14 @@ export declare const LoopIterationStartedEventSchema: z.ZodObject<{
1240
1240
  iteration: number;
1241
1241
  prevResolution: "initial" | "rejected";
1242
1242
  } | {
1243
- ref: string;
1244
1243
  schemaVersion: number;
1244
+ ref: string;
1245
1245
  bytes: number;
1246
1246
  };
1247
1247
  schemaVersion: 1;
1248
1248
  runId: string;
1249
1249
  timestamp: number;
1250
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
1250
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
1251
1251
  eventId: string;
1252
1252
  payloadHash?: string | undefined;
1253
1253
  }>;
@@ -1285,12 +1285,12 @@ export declare const LoopIterationFinishedEventSchema: z.ZodObject<{
1285
1285
  bytes: z.ZodNumber;
1286
1286
  schemaVersion: z.ZodNumber;
1287
1287
  }, "strip", z.ZodTypeAny, {
1288
- ref: string;
1289
1288
  schemaVersion: number;
1289
+ ref: string;
1290
1290
  bytes: number;
1291
1291
  }, {
1292
- ref: string;
1293
1292
  schemaVersion: number;
1293
+ ref: string;
1294
1294
  bytes: number;
1295
1295
  }>]>;
1296
1296
  eventId: z.ZodString;
@@ -1311,14 +1311,14 @@ export declare const LoopIterationFinishedEventSchema: z.ZodObject<{
1311
1311
  comment?: string | undefined;
1312
1312
  timedOut?: boolean | undefined;
1313
1313
  } | {
1314
- ref: string;
1315
1314
  schemaVersion: number;
1315
+ ref: string;
1316
1316
  bytes: number;
1317
1317
  };
1318
1318
  schemaVersion: 1;
1319
1319
  runId: string;
1320
1320
  timestamp: number;
1321
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
1321
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
1322
1322
  eventId: string;
1323
1323
  payloadHash?: string | undefined;
1324
1324
  }, {
@@ -1333,14 +1333,14 @@ export declare const LoopIterationFinishedEventSchema: z.ZodObject<{
1333
1333
  comment?: string | undefined;
1334
1334
  timedOut?: boolean | undefined;
1335
1335
  } | {
1336
- ref: string;
1337
1336
  schemaVersion: number;
1337
+ ref: string;
1338
1338
  bytes: number;
1339
1339
  };
1340
1340
  schemaVersion: 1;
1341
1341
  runId: string;
1342
1342
  timestamp: number;
1343
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
1343
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
1344
1344
  eventId: string;
1345
1345
  payloadHash?: string | undefined;
1346
1346
  }>;
@@ -1402,12 +1402,12 @@ export declare const LoopFinishedEventSchema: z.ZodObject<{
1402
1402
  bytes: z.ZodNumber;
1403
1403
  schemaVersion: z.ZodNumber;
1404
1404
  }, "strip", z.ZodTypeAny, {
1405
- ref: string;
1406
1405
  schemaVersion: number;
1406
+ ref: string;
1407
1407
  bytes: number;
1408
1408
  }, {
1409
- ref: string;
1410
1409
  schemaVersion: number;
1410
+ ref: string;
1411
1411
  bytes: number;
1412
1412
  }>]>;
1413
1413
  eventId: z.ZodString;
@@ -1432,14 +1432,14 @@ export declare const LoopFinishedEventSchema: z.ZodObject<{
1432
1432
  outputPath?: string | undefined;
1433
1433
  } | undefined;
1434
1434
  } | {
1435
- ref: string;
1436
1435
  schemaVersion: number;
1436
+ ref: string;
1437
1437
  bytes: number;
1438
1438
  };
1439
1439
  schemaVersion: 1;
1440
1440
  runId: string;
1441
1441
  timestamp: number;
1442
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
1442
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
1443
1443
  eventId: string;
1444
1444
  payloadHash?: string | undefined;
1445
1445
  }, {
@@ -1458,14 +1458,14 @@ export declare const LoopFinishedEventSchema: z.ZodObject<{
1458
1458
  outputPath?: string | undefined;
1459
1459
  } | undefined;
1460
1460
  } | {
1461
- ref: string;
1462
1461
  schemaVersion: number;
1462
+ ref: string;
1463
1463
  bytes: number;
1464
1464
  };
1465
1465
  schemaVersion: 1;
1466
1466
  runId: string;
1467
1467
  timestamp: number;
1468
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
1468
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
1469
1469
  eventId: string;
1470
1470
  payloadHash?: string | undefined;
1471
1471
  }>;
@@ -1491,12 +1491,12 @@ export declare const ConditionEvaluatedEventSchema: z.ZodObject<{
1491
1491
  bytes: z.ZodNumber;
1492
1492
  schemaVersion: z.ZodNumber;
1493
1493
  }, "strip", z.ZodTypeAny, {
1494
- ref: string;
1495
1494
  schemaVersion: number;
1495
+ ref: string;
1496
1496
  bytes: number;
1497
1497
  }, {
1498
- ref: string;
1499
1498
  schemaVersion: number;
1499
+ ref: string;
1500
1500
  bytes: number;
1501
1501
  }>]>;
1502
1502
  eventId: z.ZodString;
@@ -1513,14 +1513,14 @@ export declare const ConditionEvaluatedEventSchema: z.ZodObject<{
1513
1513
  resultTrue: boolean;
1514
1514
  evaluatedInputs?: Record<string, unknown> | undefined;
1515
1515
  } | {
1516
- ref: string;
1517
1516
  schemaVersion: number;
1517
+ ref: string;
1518
1518
  bytes: number;
1519
1519
  };
1520
1520
  schemaVersion: 1;
1521
1521
  runId: string;
1522
1522
  timestamp: number;
1523
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
1523
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
1524
1524
  eventId: string;
1525
1525
  payloadHash?: string | undefined;
1526
1526
  }, {
@@ -1531,14 +1531,14 @@ export declare const ConditionEvaluatedEventSchema: z.ZodObject<{
1531
1531
  resultTrue: boolean;
1532
1532
  evaluatedInputs?: Record<string, unknown> | undefined;
1533
1533
  } | {
1534
- ref: string;
1535
1534
  schemaVersion: number;
1535
+ ref: string;
1536
1536
  bytes: number;
1537
1537
  };
1538
1538
  schemaVersion: 1;
1539
1539
  runId: string;
1540
1540
  timestamp: number;
1541
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
1541
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
1542
1542
  eventId: string;
1543
1543
  payloadHash?: string | undefined;
1544
1544
  }>;
@@ -1551,14 +1551,14 @@ export declare const LeaseSignedEventSchema: z.ZodObject<{
1551
1551
  timeoutMs: z.ZodNumber;
1552
1552
  maxOutputBytes: z.ZodNumber;
1553
1553
  }, "strip", z.ZodTypeAny, {
1554
- timeoutMs: number;
1555
1554
  attemptId: string;
1555
+ timeoutMs: number;
1556
1556
  leaseId: string;
1557
1557
  activityId: string;
1558
1558
  maxOutputBytes: number;
1559
1559
  }, {
1560
- timeoutMs: number;
1561
1560
  attemptId: string;
1561
+ timeoutMs: number;
1562
1562
  leaseId: string;
1563
1563
  activityId: string;
1564
1564
  maxOutputBytes: number;
@@ -1567,12 +1567,12 @@ export declare const LeaseSignedEventSchema: z.ZodObject<{
1567
1567
  bytes: z.ZodNumber;
1568
1568
  schemaVersion: z.ZodNumber;
1569
1569
  }, "strip", z.ZodTypeAny, {
1570
- ref: string;
1571
1570
  schemaVersion: number;
1571
+ ref: string;
1572
1572
  bytes: number;
1573
1573
  }, {
1574
- ref: string;
1575
1574
  schemaVersion: number;
1575
+ ref: string;
1576
1576
  bytes: number;
1577
1577
  }>]>;
1578
1578
  eventId: z.ZodString;
@@ -1584,39 +1584,39 @@ export declare const LeaseSignedEventSchema: z.ZodObject<{
1584
1584
  }, "strip", z.ZodTypeAny, {
1585
1585
  type: "leaseSigned";
1586
1586
  payload: {
1587
- timeoutMs: number;
1588
1587
  attemptId: string;
1588
+ timeoutMs: number;
1589
1589
  leaseId: string;
1590
1590
  activityId: string;
1591
1591
  maxOutputBytes: number;
1592
1592
  } | {
1593
- ref: string;
1594
1593
  schemaVersion: number;
1594
+ ref: string;
1595
1595
  bytes: number;
1596
1596
  };
1597
1597
  schemaVersion: 1;
1598
1598
  runId: string;
1599
1599
  timestamp: number;
1600
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
1600
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
1601
1601
  eventId: string;
1602
1602
  payloadHash?: string | undefined;
1603
1603
  }, {
1604
1604
  type: "leaseSigned";
1605
1605
  payload: {
1606
- timeoutMs: number;
1607
1606
  attemptId: string;
1607
+ timeoutMs: number;
1608
1608
  leaseId: string;
1609
1609
  activityId: string;
1610
1610
  maxOutputBytes: number;
1611
1611
  } | {
1612
- ref: string;
1613
1612
  schemaVersion: number;
1613
+ ref: string;
1614
1614
  bytes: number;
1615
1615
  };
1616
1616
  schemaVersion: 1;
1617
1617
  runId: string;
1618
1618
  timestamp: number;
1619
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
1619
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
1620
1620
  eventId: string;
1621
1621
  payloadHash?: string | undefined;
1622
1622
  }>;
@@ -1675,12 +1675,12 @@ export declare const AttemptCreatedEventSchema: z.ZodObject<{
1675
1675
  bytes: z.ZodNumber;
1676
1676
  schemaVersion: z.ZodNumber;
1677
1677
  }, "strip", z.ZodTypeAny, {
1678
- ref: string;
1679
1678
  schemaVersion: number;
1679
+ ref: string;
1680
1680
  bytes: number;
1681
1681
  }, {
1682
- ref: string;
1683
1682
  schemaVersion: number;
1683
+ ref: string;
1684
1684
  bytes: number;
1685
1685
  }>]>;
1686
1686
  eventId: z.ZodString;
@@ -1704,14 +1704,14 @@ export declare const AttemptCreatedEventSchema: z.ZodObject<{
1704
1704
  activityId: string;
1705
1705
  attemptNumber: number;
1706
1706
  } | {
1707
- ref: string;
1708
1707
  schemaVersion: number;
1708
+ ref: string;
1709
1709
  bytes: number;
1710
1710
  };
1711
1711
  schemaVersion: 1;
1712
1712
  runId: string;
1713
1713
  timestamp: number;
1714
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
1714
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
1715
1715
  eventId: string;
1716
1716
  payloadHash?: string | undefined;
1717
1717
  }, {
@@ -1729,14 +1729,14 @@ export declare const AttemptCreatedEventSchema: z.ZodObject<{
1729
1729
  activityId: string;
1730
1730
  attemptNumber: number;
1731
1731
  } | {
1732
- ref: string;
1733
1732
  schemaVersion: number;
1733
+ ref: string;
1734
1734
  bytes: number;
1735
1735
  };
1736
1736
  schemaVersion: 1;
1737
1737
  runId: string;
1738
1738
  timestamp: number;
1739
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
1739
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
1740
1740
  eventId: string;
1741
1741
  payloadHash?: string | undefined;
1742
1742
  }>;
@@ -1787,12 +1787,12 @@ export declare const BackoffScheduledEventSchema: z.ZodObject<{
1787
1787
  bytes: z.ZodNumber;
1788
1788
  schemaVersion: z.ZodNumber;
1789
1789
  }, "strip", z.ZodTypeAny, {
1790
- ref: string;
1791
1790
  schemaVersion: number;
1791
+ ref: string;
1792
1792
  bytes: number;
1793
1793
  }, {
1794
- ref: string;
1795
1794
  schemaVersion: number;
1795
+ ref: string;
1796
1796
  bytes: number;
1797
1797
  }>]>;
1798
1798
  eventId: z.ZodString;
@@ -1814,14 +1814,14 @@ export declare const BackoffScheduledEventSchema: z.ZodObject<{
1814
1814
  jitter?: boolean | undefined;
1815
1815
  };
1816
1816
  } | {
1817
- ref: string;
1818
1817
  schemaVersion: number;
1818
+ ref: string;
1819
1819
  bytes: number;
1820
1820
  };
1821
1821
  schemaVersion: 1;
1822
1822
  runId: string;
1823
1823
  timestamp: number;
1824
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
1824
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
1825
1825
  eventId: string;
1826
1826
  payloadHash?: string | undefined;
1827
1827
  }, {
@@ -1837,14 +1837,14 @@ export declare const BackoffScheduledEventSchema: z.ZodObject<{
1837
1837
  jitter?: boolean | undefined;
1838
1838
  };
1839
1839
  } | {
1840
- ref: string;
1841
1840
  schemaVersion: number;
1841
+ ref: string;
1842
1842
  bytes: number;
1843
1843
  };
1844
1844
  schemaVersion: 1;
1845
1845
  runId: string;
1846
1846
  timestamp: number;
1847
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
1847
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
1848
1848
  eventId: string;
1849
1849
  payloadHash?: string | undefined;
1850
1850
  }>;
@@ -1864,12 +1864,12 @@ export declare const BackoffElapsedEventSchema: z.ZodObject<{
1864
1864
  bytes: z.ZodNumber;
1865
1865
  schemaVersion: z.ZodNumber;
1866
1866
  }, "strip", z.ZodTypeAny, {
1867
- ref: string;
1868
1867
  schemaVersion: number;
1868
+ ref: string;
1869
1869
  bytes: number;
1870
1870
  }, {
1871
- ref: string;
1872
1871
  schemaVersion: number;
1872
+ ref: string;
1873
1873
  bytes: number;
1874
1874
  }>]>;
1875
1875
  eventId: z.ZodString;
@@ -1884,14 +1884,14 @@ export declare const BackoffElapsedEventSchema: z.ZodObject<{
1884
1884
  nodeId: string;
1885
1885
  scheduledAttemptId: string;
1886
1886
  } | {
1887
- ref: string;
1888
1887
  schemaVersion: number;
1888
+ ref: string;
1889
1889
  bytes: number;
1890
1890
  };
1891
1891
  schemaVersion: 1;
1892
1892
  runId: string;
1893
1893
  timestamp: number;
1894
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
1894
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
1895
1895
  eventId: string;
1896
1896
  payloadHash?: string | undefined;
1897
1897
  }, {
@@ -1900,14 +1900,14 @@ export declare const BackoffElapsedEventSchema: z.ZodObject<{
1900
1900
  nodeId: string;
1901
1901
  scheduledAttemptId: string;
1902
1902
  } | {
1903
- ref: string;
1904
1903
  schemaVersion: number;
1904
+ ref: string;
1905
1905
  bytes: number;
1906
1906
  };
1907
1907
  schemaVersion: 1;
1908
1908
  runId: string;
1909
1909
  timestamp: number;
1910
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
1910
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
1911
1911
  eventId: string;
1912
1912
  payloadHash?: string | undefined;
1913
1913
  }>;
@@ -1939,12 +1939,12 @@ export declare const EffectAttemptedEventSchema: z.ZodObject<{
1939
1939
  bytes: z.ZodNumber;
1940
1940
  schemaVersion: z.ZodNumber;
1941
1941
  }, "strip", z.ZodTypeAny, {
1942
- ref: string;
1943
1942
  schemaVersion: number;
1943
+ ref: string;
1944
1944
  bytes: number;
1945
1945
  }, {
1946
- ref: string;
1947
1946
  schemaVersion: number;
1947
+ ref: string;
1948
1948
  bytes: number;
1949
1949
  }>]>;
1950
1950
  eventId: z.ZodString;
@@ -1963,14 +1963,14 @@ export declare const EffectAttemptedEventSchema: z.ZodObject<{
1963
1963
  idempotencyTtlMs: number;
1964
1964
  activityId: string;
1965
1965
  } | {
1966
- ref: string;
1967
1966
  schemaVersion: number;
1967
+ ref: string;
1968
1968
  bytes: number;
1969
1969
  };
1970
1970
  schemaVersion: 1;
1971
1971
  runId: string;
1972
1972
  timestamp: number;
1973
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
1973
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
1974
1974
  eventId: string;
1975
1975
  payloadHash?: string | undefined;
1976
1976
  }, {
@@ -1983,14 +1983,14 @@ export declare const EffectAttemptedEventSchema: z.ZodObject<{
1983
1983
  idempotencyTtlMs: number;
1984
1984
  activityId: string;
1985
1985
  } | {
1986
- ref: string;
1987
1986
  schemaVersion: number;
1987
+ ref: string;
1988
1988
  bytes: number;
1989
1989
  };
1990
1990
  schemaVersion: 1;
1991
1991
  runId: string;
1992
1992
  timestamp: number;
1993
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
1993
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
1994
1994
  eventId: string;
1995
1995
  payloadHash?: string | undefined;
1996
1996
  }>;
@@ -2046,12 +2046,12 @@ export declare const ActivitySucceededEventSchema: z.ZodObject<{
2046
2046
  bytes: z.ZodNumber;
2047
2047
  schemaVersion: z.ZodNumber;
2048
2048
  }, "strip", z.ZodTypeAny, {
2049
- ref: string;
2050
2049
  schemaVersion: number;
2050
+ ref: string;
2051
2051
  bytes: number;
2052
2052
  }, {
2053
- ref: string;
2054
2053
  schemaVersion: number;
2054
+ ref: string;
2055
2055
  bytes: number;
2056
2056
  }>]>;
2057
2057
  eventId: z.ZodString;
@@ -2074,14 +2074,14 @@ export declare const ActivitySucceededEventSchema: z.ZodObject<{
2074
2074
  };
2075
2075
  externalRefs?: Record<string, unknown> | undefined;
2076
2076
  } | {
2077
- ref: string;
2078
2077
  schemaVersion: number;
2078
+ ref: string;
2079
2079
  bytes: number;
2080
2080
  };
2081
2081
  schemaVersion: 1;
2082
2082
  runId: string;
2083
2083
  timestamp: number;
2084
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
2084
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
2085
2085
  eventId: string;
2086
2086
  payloadHash?: string | undefined;
2087
2087
  }, {
@@ -2098,14 +2098,14 @@ export declare const ActivitySucceededEventSchema: z.ZodObject<{
2098
2098
  };
2099
2099
  externalRefs?: Record<string, unknown> | undefined;
2100
2100
  } | {
2101
- ref: string;
2102
2101
  schemaVersion: number;
2102
+ ref: string;
2103
2103
  bytes: number;
2104
2104
  };
2105
2105
  schemaVersion: 1;
2106
2106
  runId: string;
2107
2107
  timestamp: number;
2108
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
2108
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
2109
2109
  eventId: string;
2110
2110
  payloadHash?: string | undefined;
2111
2111
  }>;
@@ -2153,12 +2153,12 @@ export declare const ActivityFailedEventSchema: z.ZodObject<{
2153
2153
  bytes: z.ZodNumber;
2154
2154
  schemaVersion: z.ZodNumber;
2155
2155
  }, "strip", z.ZodTypeAny, {
2156
- ref: string;
2157
2156
  schemaVersion: number;
2157
+ ref: string;
2158
2158
  bytes: number;
2159
2159
  }, {
2160
- ref: string;
2161
2160
  schemaVersion: number;
2161
+ ref: string;
2162
2162
  bytes: number;
2163
2163
  }>]>;
2164
2164
  eventId: z.ZodString;
@@ -2179,14 +2179,14 @@ export declare const ActivityFailedEventSchema: z.ZodObject<{
2179
2179
  attemptId: string;
2180
2180
  activityId: string;
2181
2181
  } | {
2182
- ref: string;
2183
2182
  schemaVersion: number;
2183
+ ref: string;
2184
2184
  bytes: number;
2185
2185
  };
2186
2186
  schemaVersion: 1;
2187
2187
  runId: string;
2188
2188
  timestamp: number;
2189
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
2189
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
2190
2190
  eventId: string;
2191
2191
  payloadHash?: string | undefined;
2192
2192
  }, {
@@ -2201,14 +2201,14 @@ export declare const ActivityFailedEventSchema: z.ZodObject<{
2201
2201
  attemptId: string;
2202
2202
  activityId: string;
2203
2203
  } | {
2204
- ref: string;
2205
2204
  schemaVersion: number;
2205
+ ref: string;
2206
2206
  bytes: number;
2207
2207
  };
2208
2208
  schemaVersion: 1;
2209
2209
  runId: string;
2210
2210
  timestamp: number;
2211
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
2211
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
2212
2212
  eventId: string;
2213
2213
  payloadHash?: string | undefined;
2214
2214
  }>;
@@ -2279,12 +2279,12 @@ export declare const WaitCreatedEventSchema: z.ZodObject<{
2279
2279
  bytes: z.ZodNumber;
2280
2280
  schemaVersion: z.ZodNumber;
2281
2281
  }, "strip", z.ZodTypeAny, {
2282
- ref: string;
2283
2282
  schemaVersion: number;
2283
+ ref: string;
2284
2284
  bytes: number;
2285
2285
  }, {
2286
- ref: string;
2287
2286
  schemaVersion: number;
2287
+ ref: string;
2288
2288
  bytes: number;
2289
2289
  }>]>;
2290
2290
  eventId: z.ZodString;
@@ -2312,14 +2312,14 @@ export declare const WaitCreatedEventSchema: z.ZodObject<{
2312
2312
  } | undefined;
2313
2313
  onTimeout?: "fail" | "success" | undefined;
2314
2314
  } | {
2315
- ref: string;
2316
2315
  schemaVersion: number;
2316
+ ref: string;
2317
2317
  bytes: number;
2318
2318
  };
2319
2319
  schemaVersion: 1;
2320
2320
  runId: string;
2321
2321
  timestamp: number;
2322
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
2322
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
2323
2323
  eventId: string;
2324
2324
  payloadHash?: string | undefined;
2325
2325
  }, {
@@ -2341,14 +2341,14 @@ export declare const WaitCreatedEventSchema: z.ZodObject<{
2341
2341
  } | undefined;
2342
2342
  onTimeout?: "fail" | "success" | undefined;
2343
2343
  } | {
2344
- ref: string;
2345
2344
  schemaVersion: number;
2345
+ ref: string;
2346
2346
  bytes: number;
2347
2347
  };
2348
2348
  schemaVersion: 1;
2349
2349
  runId: string;
2350
2350
  timestamp: number;
2351
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
2351
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
2352
2352
  eventId: string;
2353
2353
  payloadHash?: string | undefined;
2354
2354
  }>;
@@ -2374,12 +2374,12 @@ export declare const WaitResolvedEventSchema: z.ZodObject<{
2374
2374
  bytes: z.ZodNumber;
2375
2375
  schemaVersion: z.ZodNumber;
2376
2376
  }, "strip", z.ZodTypeAny, {
2377
- ref: string;
2378
2377
  schemaVersion: number;
2378
+ ref: string;
2379
2379
  bytes: number;
2380
2380
  }, {
2381
- ref: string;
2382
2381
  schemaVersion: number;
2382
+ ref: string;
2383
2383
  bytes: number;
2384
2384
  }>]>;
2385
2385
  eventId: z.ZodString;
@@ -2396,14 +2396,14 @@ export declare const WaitResolvedEventSchema: z.ZodObject<{
2396
2396
  activityId: string;
2397
2397
  comment?: string | undefined;
2398
2398
  } | {
2399
- ref: string;
2400
2399
  schemaVersion: number;
2400
+ ref: string;
2401
2401
  bytes: number;
2402
2402
  };
2403
2403
  schemaVersion: 1;
2404
2404
  runId: string;
2405
2405
  timestamp: number;
2406
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
2406
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
2407
2407
  eventId: string;
2408
2408
  payloadHash?: string | undefined;
2409
2409
  }, {
@@ -2414,14 +2414,14 @@ export declare const WaitResolvedEventSchema: z.ZodObject<{
2414
2414
  activityId: string;
2415
2415
  comment?: string | undefined;
2416
2416
  } | {
2417
- ref: string;
2418
2417
  schemaVersion: number;
2418
+ ref: string;
2419
2419
  bytes: number;
2420
2420
  };
2421
2421
  schemaVersion: 1;
2422
2422
  runId: string;
2423
2423
  timestamp: number;
2424
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
2424
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
2425
2425
  eventId: string;
2426
2426
  payloadHash?: string | undefined;
2427
2427
  }>;
@@ -2444,12 +2444,12 @@ export declare const WaitDeadlineExceededEventSchema: z.ZodObject<{
2444
2444
  bytes: z.ZodNumber;
2445
2445
  schemaVersion: z.ZodNumber;
2446
2446
  }, "strip", z.ZodTypeAny, {
2447
- ref: string;
2448
2447
  schemaVersion: number;
2448
+ ref: string;
2449
2449
  bytes: number;
2450
2450
  }, {
2451
- ref: string;
2452
2451
  schemaVersion: number;
2452
+ ref: string;
2453
2453
  bytes: number;
2454
2454
  }>]>;
2455
2455
  eventId: z.ZodString;
@@ -2465,14 +2465,14 @@ export declare const WaitDeadlineExceededEventSchema: z.ZodObject<{
2465
2465
  activityId: string;
2466
2466
  exceededAtMs: number;
2467
2467
  } | {
2468
- ref: string;
2469
2468
  schemaVersion: number;
2469
+ ref: string;
2470
2470
  bytes: number;
2471
2471
  };
2472
2472
  schemaVersion: 1;
2473
2473
  runId: string;
2474
2474
  timestamp: number;
2475
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
2475
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
2476
2476
  eventId: string;
2477
2477
  payloadHash?: string | undefined;
2478
2478
  }, {
@@ -2482,14 +2482,14 @@ export declare const WaitDeadlineExceededEventSchema: z.ZodObject<{
2482
2482
  activityId: string;
2483
2483
  exceededAtMs: number;
2484
2484
  } | {
2485
- ref: string;
2486
2485
  schemaVersion: number;
2486
+ ref: string;
2487
2487
  bytes: number;
2488
2488
  };
2489
2489
  schemaVersion: 1;
2490
2490
  runId: string;
2491
2491
  timestamp: number;
2492
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
2492
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
2493
2493
  eventId: string;
2494
2494
  payloadHash?: string | undefined;
2495
2495
  }>;
@@ -2557,12 +2557,12 @@ export declare const CancelRequestedEventSchema: z.ZodObject<{
2557
2557
  bytes: z.ZodNumber;
2558
2558
  schemaVersion: z.ZodNumber;
2559
2559
  }, "strip", z.ZodTypeAny, {
2560
- ref: string;
2561
2560
  schemaVersion: number;
2561
+ ref: string;
2562
2562
  bytes: number;
2563
2563
  }, {
2564
- ref: string;
2565
2564
  schemaVersion: number;
2565
+ ref: string;
2566
2566
  bytes: number;
2567
2567
  }>]>;
2568
2568
  eventId: z.ZodString;
@@ -2587,14 +2587,14 @@ export declare const CancelRequestedEventSchema: z.ZodObject<{
2587
2587
  reason: string;
2588
2588
  by: string;
2589
2589
  } | {
2590
- ref: string;
2591
2590
  schemaVersion: number;
2591
+ ref: string;
2592
2592
  bytes: number;
2593
2593
  };
2594
2594
  schemaVersion: 1;
2595
2595
  runId: string;
2596
2596
  timestamp: number;
2597
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
2597
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
2598
2598
  eventId: string;
2599
2599
  payloadHash?: string | undefined;
2600
2600
  }, {
@@ -2613,14 +2613,14 @@ export declare const CancelRequestedEventSchema: z.ZodObject<{
2613
2613
  reason: string;
2614
2614
  by: string;
2615
2615
  } | {
2616
- ref: string;
2617
2616
  schemaVersion: number;
2617
+ ref: string;
2618
2618
  bytes: number;
2619
2619
  };
2620
2620
  schemaVersion: 1;
2621
2621
  runId: string;
2622
2622
  timestamp: number;
2623
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
2623
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
2624
2624
  eventId: string;
2625
2625
  payloadHash?: string | undefined;
2626
2626
  }>;
@@ -2685,12 +2685,12 @@ export declare const CancelDeliveredEventSchema: z.ZodObject<{
2685
2685
  bytes: z.ZodNumber;
2686
2686
  schemaVersion: z.ZodNumber;
2687
2687
  }, "strip", z.ZodTypeAny, {
2688
- ref: string;
2689
2688
  schemaVersion: number;
2689
+ ref: string;
2690
2690
  bytes: number;
2691
2691
  }, {
2692
- ref: string;
2693
2692
  schemaVersion: number;
2693
+ ref: string;
2694
2694
  bytes: number;
2695
2695
  }>]>;
2696
2696
  eventId: z.ZodString;
@@ -2714,14 +2714,14 @@ export declare const CancelDeliveredEventSchema: z.ZodObject<{
2714
2714
  };
2715
2715
  activityId: string;
2716
2716
  } | {
2717
- ref: string;
2718
2717
  schemaVersion: number;
2718
+ ref: string;
2719
2719
  bytes: number;
2720
2720
  };
2721
2721
  schemaVersion: 1;
2722
2722
  runId: string;
2723
2723
  timestamp: number;
2724
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
2724
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
2725
2725
  eventId: string;
2726
2726
  payloadHash?: string | undefined;
2727
2727
  }, {
@@ -2739,14 +2739,14 @@ export declare const CancelDeliveredEventSchema: z.ZodObject<{
2739
2739
  };
2740
2740
  activityId: string;
2741
2741
  } | {
2742
- ref: string;
2743
2742
  schemaVersion: number;
2743
+ ref: string;
2744
2744
  bytes: number;
2745
2745
  };
2746
2746
  schemaVersion: 1;
2747
2747
  runId: string;
2748
2748
  timestamp: number;
2749
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
2749
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
2750
2750
  eventId: string;
2751
2751
  payloadHash?: string | undefined;
2752
2752
  }>;
@@ -2769,12 +2769,12 @@ export declare const ActivityCanceledEventSchema: z.ZodObject<{
2769
2769
  bytes: z.ZodNumber;
2770
2770
  schemaVersion: z.ZodNumber;
2771
2771
  }, "strip", z.ZodTypeAny, {
2772
- ref: string;
2773
2772
  schemaVersion: number;
2773
+ ref: string;
2774
2774
  bytes: number;
2775
2775
  }, {
2776
- ref: string;
2777
2776
  schemaVersion: number;
2777
+ ref: string;
2778
2778
  bytes: number;
2779
2779
  }>]>;
2780
2780
  eventId: z.ZodString;
@@ -2790,14 +2790,14 @@ export declare const ActivityCanceledEventSchema: z.ZodObject<{
2790
2790
  activityId: string;
2791
2791
  cancelOriginEventId: string;
2792
2792
  } | {
2793
- ref: string;
2794
2793
  schemaVersion: number;
2794
+ ref: string;
2795
2795
  bytes: number;
2796
2796
  };
2797
2797
  schemaVersion: 1;
2798
2798
  runId: string;
2799
2799
  timestamp: number;
2800
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
2800
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
2801
2801
  eventId: string;
2802
2802
  payloadHash?: string | undefined;
2803
2803
  }, {
@@ -2807,14 +2807,14 @@ export declare const ActivityCanceledEventSchema: z.ZodObject<{
2807
2807
  activityId: string;
2808
2808
  cancelOriginEventId: string;
2809
2809
  } | {
2810
- ref: string;
2811
2810
  schemaVersion: number;
2811
+ ref: string;
2812
2812
  bytes: number;
2813
2813
  };
2814
2814
  schemaVersion: 1;
2815
2815
  runId: string;
2816
2816
  timestamp: number;
2817
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
2817
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
2818
2818
  eventId: string;
2819
2819
  payloadHash?: string | undefined;
2820
2820
  }>;
@@ -2834,12 +2834,12 @@ export declare const WorkerLostEventSchema: z.ZodObject<{
2834
2834
  bytes: z.ZodNumber;
2835
2835
  schemaVersion: z.ZodNumber;
2836
2836
  }, "strip", z.ZodTypeAny, {
2837
- ref: string;
2838
2837
  schemaVersion: number;
2838
+ ref: string;
2839
2839
  bytes: number;
2840
2840
  }, {
2841
- ref: string;
2842
2841
  schemaVersion: number;
2842
+ ref: string;
2843
2843
  bytes: number;
2844
2844
  }>]>;
2845
2845
  eventId: z.ZodString;
@@ -2854,14 +2854,14 @@ export declare const WorkerLostEventSchema: z.ZodObject<{
2854
2854
  workerId: string;
2855
2855
  lostActivityIds: string[];
2856
2856
  } | {
2857
- ref: string;
2858
2857
  schemaVersion: number;
2858
+ ref: string;
2859
2859
  bytes: number;
2860
2860
  };
2861
2861
  schemaVersion: 1;
2862
2862
  runId: string;
2863
2863
  timestamp: number;
2864
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
2864
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
2865
2865
  eventId: string;
2866
2866
  payloadHash?: string | undefined;
2867
2867
  }, {
@@ -2870,14 +2870,14 @@ export declare const WorkerLostEventSchema: z.ZodObject<{
2870
2870
  workerId: string;
2871
2871
  lostActivityIds: string[];
2872
2872
  } | {
2873
- ref: string;
2874
2873
  schemaVersion: number;
2874
+ ref: string;
2875
2875
  bytes: number;
2876
2876
  };
2877
2877
  schemaVersion: 1;
2878
2878
  runId: string;
2879
2879
  timestamp: number;
2880
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
2880
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
2881
2881
  eventId: string;
2882
2882
  payloadHash?: string | undefined;
2883
2883
  }>;
@@ -2897,12 +2897,12 @@ export declare const ResumeStartedEventSchema: z.ZodObject<{
2897
2897
  bytes: z.ZodNumber;
2898
2898
  schemaVersion: z.ZodNumber;
2899
2899
  }, "strip", z.ZodTypeAny, {
2900
- ref: string;
2901
2900
  schemaVersion: number;
2901
+ ref: string;
2902
2902
  bytes: number;
2903
2903
  }, {
2904
- ref: string;
2905
2904
  schemaVersion: number;
2905
+ ref: string;
2906
2906
  bytes: number;
2907
2907
  }>]>;
2908
2908
  eventId: z.ZodString;
@@ -2917,14 +2917,14 @@ export declare const ResumeStartedEventSchema: z.ZodObject<{
2917
2917
  daemonId: string;
2918
2918
  lastSeenEventId: string;
2919
2919
  } | {
2920
- ref: string;
2921
2920
  schemaVersion: number;
2921
+ ref: string;
2922
2922
  bytes: number;
2923
2923
  };
2924
2924
  schemaVersion: 1;
2925
2925
  runId: string;
2926
2926
  timestamp: number;
2927
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
2927
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
2928
2928
  eventId: string;
2929
2929
  payloadHash?: string | undefined;
2930
2930
  }, {
@@ -2933,14 +2933,14 @@ export declare const ResumeStartedEventSchema: z.ZodObject<{
2933
2933
  daemonId: string;
2934
2934
  lastSeenEventId: string;
2935
2935
  } | {
2936
- ref: string;
2937
2936
  schemaVersion: number;
2937
+ ref: string;
2938
2938
  bytes: number;
2939
2939
  };
2940
2940
  schemaVersion: 1;
2941
2941
  runId: string;
2942
2942
  timestamp: number;
2943
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
2943
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
2944
2944
  eventId: string;
2945
2945
  payloadHash?: string | undefined;
2946
2946
  }>;
@@ -2969,12 +2969,12 @@ export declare const ReconcileResultEventSchema: z.ZodObject<{
2969
2969
  bytes: z.ZodNumber;
2970
2970
  schemaVersion: z.ZodNumber;
2971
2971
  }, "strip", z.ZodTypeAny, {
2972
- ref: string;
2973
2972
  schemaVersion: number;
2973
+ ref: string;
2974
2974
  bytes: number;
2975
2975
  }, {
2976
- ref: string;
2977
2976
  schemaVersion: number;
2977
+ ref: string;
2978
2978
  bytes: number;
2979
2979
  }>]>;
2980
2980
  eventId: z.ZodString;
@@ -2992,14 +2992,14 @@ export declare const ReconcileResultEventSchema: z.ZodObject<{
2992
2992
  idempotencyKey: string;
2993
2993
  activityId: string;
2994
2994
  } | {
2995
- ref: string;
2996
2995
  schemaVersion: number;
2996
+ ref: string;
2997
2997
  bytes: number;
2998
2998
  };
2999
2999
  schemaVersion: 1;
3000
3000
  runId: string;
3001
3001
  timestamp: number;
3002
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
3002
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
3003
3003
  eventId: string;
3004
3004
  payloadHash?: string | undefined;
3005
3005
  }, {
@@ -3011,14 +3011,14 @@ export declare const ReconcileResultEventSchema: z.ZodObject<{
3011
3011
  idempotencyKey: string;
3012
3012
  activityId: string;
3013
3013
  } | {
3014
- ref: string;
3015
3014
  schemaVersion: number;
3015
+ ref: string;
3016
3016
  bytes: number;
3017
3017
  };
3018
3018
  schemaVersion: 1;
3019
3019
  runId: string;
3020
3020
  timestamp: number;
3021
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
3021
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
3022
3022
  eventId: string;
3023
3023
  payloadHash?: string | undefined;
3024
3024
  }>;
@@ -3169,12 +3169,12 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3169
3169
  bytes: z.ZodNumber;
3170
3170
  schemaVersion: z.ZodNumber;
3171
3171
  }, "strip", z.ZodTypeAny, {
3172
- ref: string;
3173
3172
  schemaVersion: number;
3173
+ ref: string;
3174
3174
  bytes: number;
3175
3175
  }, {
3176
- ref: string;
3177
3176
  schemaVersion: number;
3177
+ ref: string;
3178
3178
  bytes: number;
3179
3179
  }>]>;
3180
3180
  eventId: z.ZodString;
@@ -3213,14 +3213,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3213
3213
  sandboxNetwork?: boolean | undefined;
3214
3214
  }> | undefined;
3215
3215
  } | {
3216
- ref: string;
3217
3216
  schemaVersion: number;
3217
+ ref: string;
3218
3218
  bytes: number;
3219
3219
  };
3220
3220
  schemaVersion: 1;
3221
3221
  runId: string;
3222
3222
  timestamp: number;
3223
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
3223
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
3224
3224
  eventId: string;
3225
3225
  payloadHash?: string | undefined;
3226
3226
  }, {
@@ -3253,14 +3253,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3253
3253
  sandboxNetwork?: boolean | undefined;
3254
3254
  }> | undefined;
3255
3255
  } | {
3256
- ref: string;
3257
3256
  schemaVersion: number;
3257
+ ref: string;
3258
3258
  bytes: number;
3259
3259
  };
3260
3260
  schemaVersion: 1;
3261
3261
  runId: string;
3262
3262
  timestamp: number;
3263
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
3263
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
3264
3264
  eventId: string;
3265
3265
  payloadHash?: string | undefined;
3266
3266
  }>, z.ZodObject<{
@@ -3270,12 +3270,12 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3270
3270
  bytes: z.ZodNumber;
3271
3271
  schemaVersion: z.ZodNumber;
3272
3272
  }, "strip", z.ZodTypeAny, {
3273
- ref: string;
3274
3273
  schemaVersion: number;
3274
+ ref: string;
3275
3275
  bytes: number;
3276
3276
  }, {
3277
- ref: string;
3278
3277
  schemaVersion: number;
3278
+ ref: string;
3279
3279
  bytes: number;
3280
3280
  }>]>;
3281
3281
  eventId: z.ZodString;
@@ -3287,27 +3287,27 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3287
3287
  }, "strip", z.ZodTypeAny, {
3288
3288
  type: "runStarted";
3289
3289
  payload: {} | {
3290
- ref: string;
3291
3290
  schemaVersion: number;
3291
+ ref: string;
3292
3292
  bytes: number;
3293
3293
  };
3294
3294
  schemaVersion: 1;
3295
3295
  runId: string;
3296
3296
  timestamp: number;
3297
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
3297
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
3298
3298
  eventId: string;
3299
3299
  payloadHash?: string | undefined;
3300
3300
  }, {
3301
3301
  type: "runStarted";
3302
3302
  payload: {} | {
3303
- ref: string;
3304
3303
  schemaVersion: number;
3304
+ ref: string;
3305
3305
  bytes: number;
3306
3306
  };
3307
3307
  schemaVersion: 1;
3308
3308
  runId: string;
3309
3309
  timestamp: number;
3310
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
3310
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
3311
3311
  eventId: string;
3312
3312
  payloadHash?: string | undefined;
3313
3313
  }>, z.ZodObject<{
@@ -3353,12 +3353,12 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3353
3353
  bytes: z.ZodNumber;
3354
3354
  schemaVersion: z.ZodNumber;
3355
3355
  }, "strip", z.ZodTypeAny, {
3356
- ref: string;
3357
3356
  schemaVersion: number;
3357
+ ref: string;
3358
3358
  bytes: number;
3359
3359
  }, {
3360
- ref: string;
3361
3360
  schemaVersion: number;
3361
+ ref: string;
3362
3362
  bytes: number;
3363
3363
  }>]>;
3364
3364
  eventId: z.ZodString;
@@ -3378,14 +3378,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3378
3378
  outputPath?: string | undefined;
3379
3379
  };
3380
3380
  } | {
3381
- ref: string;
3382
3381
  schemaVersion: number;
3382
+ ref: string;
3383
3383
  bytes: number;
3384
3384
  };
3385
3385
  schemaVersion: 1;
3386
3386
  runId: string;
3387
3387
  timestamp: number;
3388
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
3388
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
3389
3389
  eventId: string;
3390
3390
  payloadHash?: string | undefined;
3391
3391
  }, {
@@ -3399,14 +3399,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3399
3399
  outputPath?: string | undefined;
3400
3400
  };
3401
3401
  } | {
3402
- ref: string;
3403
3402
  schemaVersion: number;
3403
+ ref: string;
3404
3404
  bytes: number;
3405
3405
  };
3406
3406
  schemaVersion: 1;
3407
3407
  runId: string;
3408
3408
  timestamp: number;
3409
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
3409
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
3410
3410
  eventId: string;
3411
3411
  payloadHash?: string | undefined;
3412
3412
  }>, z.ZodObject<{
@@ -3425,12 +3425,12 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3425
3425
  bytes: z.ZodNumber;
3426
3426
  schemaVersion: z.ZodNumber;
3427
3427
  }, "strip", z.ZodTypeAny, {
3428
- ref: string;
3429
3428
  schemaVersion: number;
3429
+ ref: string;
3430
3430
  bytes: number;
3431
3431
  }, {
3432
- ref: string;
3433
3432
  schemaVersion: number;
3433
+ ref: string;
3434
3434
  bytes: number;
3435
3435
  }>]>;
3436
3436
  eventId: z.ZodString;
@@ -3445,14 +3445,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3445
3445
  failedNodeId: string;
3446
3446
  rootCauseEventId: string;
3447
3447
  } | {
3448
- ref: string;
3449
3448
  schemaVersion: number;
3449
+ ref: string;
3450
3450
  bytes: number;
3451
3451
  };
3452
3452
  schemaVersion: 1;
3453
3453
  runId: string;
3454
3454
  timestamp: number;
3455
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
3455
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
3456
3456
  eventId: string;
3457
3457
  payloadHash?: string | undefined;
3458
3458
  }, {
@@ -3461,14 +3461,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3461
3461
  failedNodeId: string;
3462
3462
  rootCauseEventId: string;
3463
3463
  } | {
3464
- ref: string;
3465
3464
  schemaVersion: number;
3465
+ ref: string;
3466
3466
  bytes: number;
3467
3467
  };
3468
3468
  schemaVersion: 1;
3469
3469
  runId: string;
3470
3470
  timestamp: number;
3471
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
3471
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
3472
3472
  eventId: string;
3473
3473
  payloadHash?: string | undefined;
3474
3474
  }>, z.ZodObject<{
@@ -3484,12 +3484,12 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3484
3484
  bytes: z.ZodNumber;
3485
3485
  schemaVersion: z.ZodNumber;
3486
3486
  }, "strip", z.ZodTypeAny, {
3487
- ref: string;
3488
3487
  schemaVersion: number;
3488
+ ref: string;
3489
3489
  bytes: number;
3490
3490
  }, {
3491
- ref: string;
3492
3491
  schemaVersion: number;
3492
+ ref: string;
3493
3493
  bytes: number;
3494
3494
  }>]>;
3495
3495
  eventId: z.ZodString;
@@ -3503,14 +3503,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3503
3503
  payload: {
3504
3504
  cancelOriginEventId: string;
3505
3505
  } | {
3506
- ref: string;
3507
3506
  schemaVersion: number;
3507
+ ref: string;
3508
3508
  bytes: number;
3509
3509
  };
3510
3510
  schemaVersion: 1;
3511
3511
  runId: string;
3512
3512
  timestamp: number;
3513
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
3513
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
3514
3514
  eventId: string;
3515
3515
  payloadHash?: string | undefined;
3516
3516
  }, {
@@ -3518,14 +3518,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3518
3518
  payload: {
3519
3519
  cancelOriginEventId: string;
3520
3520
  } | {
3521
- ref: string;
3522
3521
  schemaVersion: number;
3522
+ ref: string;
3523
3523
  bytes: number;
3524
3524
  };
3525
3525
  schemaVersion: 1;
3526
3526
  runId: string;
3527
3527
  timestamp: number;
3528
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
3528
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
3529
3529
  eventId: string;
3530
3530
  payloadHash?: string | undefined;
3531
3531
  }>, z.ZodObject<{
@@ -3547,12 +3547,12 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3547
3547
  bytes: z.ZodNumber;
3548
3548
  schemaVersion: z.ZodNumber;
3549
3549
  }, "strip", z.ZodTypeAny, {
3550
- ref: string;
3551
3550
  schemaVersion: number;
3551
+ ref: string;
3552
3552
  bytes: number;
3553
3553
  }, {
3554
- ref: string;
3555
3554
  schemaVersion: number;
3555
+ ref: string;
3556
3556
  bytes: number;
3557
3557
  }>]>;
3558
3558
  eventId: z.ZodString;
@@ -3568,14 +3568,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3568
3568
  waitReason: string;
3569
3569
  deadlineAt?: number | undefined;
3570
3570
  } | {
3571
- ref: string;
3572
3571
  schemaVersion: number;
3572
+ ref: string;
3573
3573
  bytes: number;
3574
3574
  };
3575
3575
  schemaVersion: 1;
3576
3576
  runId: string;
3577
3577
  timestamp: number;
3578
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
3578
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
3579
3579
  eventId: string;
3580
3580
  payloadHash?: string | undefined;
3581
3581
  }, {
@@ -3585,14 +3585,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3585
3585
  waitReason: string;
3586
3586
  deadlineAt?: number | undefined;
3587
3587
  } | {
3588
- ref: string;
3589
3588
  schemaVersion: number;
3589
+ ref: string;
3590
3590
  bytes: number;
3591
3591
  };
3592
3592
  schemaVersion: 1;
3593
3593
  runId: string;
3594
3594
  timestamp: number;
3595
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
3595
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
3596
3596
  eventId: string;
3597
3597
  payloadHash?: string | undefined;
3598
3598
  }>, z.ZodObject<{
@@ -3614,12 +3614,12 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3614
3614
  bytes: z.ZodNumber;
3615
3615
  schemaVersion: z.ZodNumber;
3616
3616
  }, "strip", z.ZodTypeAny, {
3617
- ref: string;
3618
3617
  schemaVersion: number;
3618
+ ref: string;
3619
3619
  bytes: number;
3620
3620
  }, {
3621
- ref: string;
3622
3621
  schemaVersion: number;
3622
+ ref: string;
3623
3623
  bytes: number;
3624
3624
  }>]>;
3625
3625
  eventId: z.ZodString;
@@ -3635,14 +3635,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3635
3635
  lastAttemptId: string;
3636
3636
  nextBackoffMs: number;
3637
3637
  } | {
3638
- ref: string;
3639
3638
  schemaVersion: number;
3639
+ ref: string;
3640
3640
  bytes: number;
3641
3641
  };
3642
3642
  schemaVersion: 1;
3643
3643
  runId: string;
3644
3644
  timestamp: number;
3645
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
3645
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
3646
3646
  eventId: string;
3647
3647
  payloadHash?: string | undefined;
3648
3648
  }, {
@@ -3652,14 +3652,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3652
3652
  lastAttemptId: string;
3653
3653
  nextBackoffMs: number;
3654
3654
  } | {
3655
- ref: string;
3656
3655
  schemaVersion: number;
3656
+ ref: string;
3657
3657
  bytes: number;
3658
3658
  };
3659
3659
  schemaVersion: 1;
3660
3660
  runId: string;
3661
3661
  timestamp: number;
3662
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
3662
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
3663
3663
  eventId: string;
3664
3664
  payloadHash?: string | undefined;
3665
3665
  }>, z.ZodObject<{
@@ -3678,12 +3678,12 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3678
3678
  bytes: z.ZodNumber;
3679
3679
  schemaVersion: z.ZodNumber;
3680
3680
  }, "strip", z.ZodTypeAny, {
3681
- ref: string;
3682
3681
  schemaVersion: number;
3682
+ ref: string;
3683
3683
  bytes: number;
3684
3684
  }, {
3685
- ref: string;
3686
3685
  schemaVersion: number;
3686
+ ref: string;
3687
3687
  bytes: number;
3688
3688
  }>]>;
3689
3689
  eventId: z.ZodString;
@@ -3698,14 +3698,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3698
3698
  nodeId: string;
3699
3699
  lastActivityId: string;
3700
3700
  } | {
3701
- ref: string;
3702
3701
  schemaVersion: number;
3702
+ ref: string;
3703
3703
  bytes: number;
3704
3704
  };
3705
3705
  schemaVersion: 1;
3706
3706
  runId: string;
3707
3707
  timestamp: number;
3708
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
3708
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
3709
3709
  eventId: string;
3710
3710
  payloadHash?: string | undefined;
3711
3711
  }, {
@@ -3714,14 +3714,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3714
3714
  nodeId: string;
3715
3715
  lastActivityId: string;
3716
3716
  } | {
3717
- ref: string;
3718
3717
  schemaVersion: number;
3718
+ ref: string;
3719
3719
  bytes: number;
3720
3720
  };
3721
3721
  schemaVersion: 1;
3722
3722
  runId: string;
3723
3723
  timestamp: number;
3724
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
3724
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
3725
3725
  eventId: string;
3726
3726
  payloadHash?: string | undefined;
3727
3727
  }>, z.ZodObject<{
@@ -3743,12 +3743,12 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3743
3743
  bytes: z.ZodNumber;
3744
3744
  schemaVersion: z.ZodNumber;
3745
3745
  }, "strip", z.ZodTypeAny, {
3746
- ref: string;
3747
3746
  schemaVersion: number;
3747
+ ref: string;
3748
3748
  bytes: number;
3749
3749
  }, {
3750
- ref: string;
3751
3750
  schemaVersion: number;
3751
+ ref: string;
3752
3752
  bytes: number;
3753
3753
  }>]>;
3754
3754
  eventId: z.ZodString;
@@ -3764,14 +3764,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3764
3764
  errorClass: "retryable" | "fatal" | "userFault" | "manual";
3765
3765
  lastActivityId: string;
3766
3766
  } | {
3767
- ref: string;
3768
3767
  schemaVersion: number;
3768
+ ref: string;
3769
3769
  bytes: number;
3770
3770
  };
3771
3771
  schemaVersion: 1;
3772
3772
  runId: string;
3773
3773
  timestamp: number;
3774
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
3774
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
3775
3775
  eventId: string;
3776
3776
  payloadHash?: string | undefined;
3777
3777
  }, {
@@ -3781,14 +3781,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3781
3781
  errorClass: "retryable" | "fatal" | "userFault" | "manual";
3782
3782
  lastActivityId: string;
3783
3783
  } | {
3784
- ref: string;
3785
3784
  schemaVersion: number;
3785
+ ref: string;
3786
3786
  bytes: number;
3787
3787
  };
3788
3788
  schemaVersion: 1;
3789
3789
  runId: string;
3790
3790
  timestamp: number;
3791
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
3791
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
3792
3792
  eventId: string;
3793
3793
  payloadHash?: string | undefined;
3794
3794
  }>, z.ZodObject<{
@@ -3807,12 +3807,12 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3807
3807
  bytes: z.ZodNumber;
3808
3808
  schemaVersion: z.ZodNumber;
3809
3809
  }, "strip", z.ZodTypeAny, {
3810
- ref: string;
3811
3810
  schemaVersion: number;
3811
+ ref: string;
3812
3812
  bytes: number;
3813
3813
  }, {
3814
- ref: string;
3815
3814
  schemaVersion: number;
3815
+ ref: string;
3816
3816
  bytes: number;
3817
3817
  }>]>;
3818
3818
  eventId: z.ZodString;
@@ -3827,14 +3827,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3827
3827
  nodeId: string;
3828
3828
  conditionEventId: string;
3829
3829
  } | {
3830
- ref: string;
3831
3830
  schemaVersion: number;
3831
+ ref: string;
3832
3832
  bytes: number;
3833
3833
  };
3834
3834
  schemaVersion: 1;
3835
3835
  runId: string;
3836
3836
  timestamp: number;
3837
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
3837
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
3838
3838
  eventId: string;
3839
3839
  payloadHash?: string | undefined;
3840
3840
  }, {
@@ -3843,14 +3843,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3843
3843
  nodeId: string;
3844
3844
  conditionEventId: string;
3845
3845
  } | {
3846
- ref: string;
3847
3846
  schemaVersion: number;
3847
+ ref: string;
3848
3848
  bytes: number;
3849
3849
  };
3850
3850
  schemaVersion: 1;
3851
3851
  runId: string;
3852
3852
  timestamp: number;
3853
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
3853
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
3854
3854
  eventId: string;
3855
3855
  payloadHash?: string | undefined;
3856
3856
  }>, z.ZodObject<{
@@ -3869,12 +3869,12 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3869
3869
  bytes: z.ZodNumber;
3870
3870
  schemaVersion: z.ZodNumber;
3871
3871
  }, "strip", z.ZodTypeAny, {
3872
- ref: string;
3873
3872
  schemaVersion: number;
3873
+ ref: string;
3874
3874
  bytes: number;
3875
3875
  }, {
3876
- ref: string;
3877
3876
  schemaVersion: number;
3877
+ ref: string;
3878
3878
  bytes: number;
3879
3879
  }>]>;
3880
3880
  eventId: z.ZodString;
@@ -3889,14 +3889,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3889
3889
  nodeId: string;
3890
3890
  cancelOriginEventId: string;
3891
3891
  } | {
3892
- ref: string;
3893
3892
  schemaVersion: number;
3893
+ ref: string;
3894
3894
  bytes: number;
3895
3895
  };
3896
3896
  schemaVersion: 1;
3897
3897
  runId: string;
3898
3898
  timestamp: number;
3899
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
3899
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
3900
3900
  eventId: string;
3901
3901
  payloadHash?: string | undefined;
3902
3902
  }, {
@@ -3905,14 +3905,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3905
3905
  nodeId: string;
3906
3906
  cancelOriginEventId: string;
3907
3907
  } | {
3908
- ref: string;
3909
3908
  schemaVersion: number;
3909
+ ref: string;
3910
3910
  bytes: number;
3911
3911
  };
3912
3912
  schemaVersion: 1;
3913
3913
  runId: string;
3914
3914
  timestamp: number;
3915
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
3915
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
3916
3916
  eventId: string;
3917
3917
  payloadHash?: string | undefined;
3918
3918
  }>, z.ZodObject<{
@@ -3934,12 +3934,12 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3934
3934
  bytes: z.ZodNumber;
3935
3935
  schemaVersion: z.ZodNumber;
3936
3936
  }, "strip", z.ZodTypeAny, {
3937
- ref: string;
3938
3937
  schemaVersion: number;
3938
+ ref: string;
3939
3939
  bytes: number;
3940
3940
  }, {
3941
- ref: string;
3942
3941
  schemaVersion: number;
3942
+ ref: string;
3943
3943
  bytes: number;
3944
3944
  }>]>;
3945
3945
  eventId: z.ZodString;
@@ -3955,14 +3955,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3955
3955
  leaseId: string;
3956
3956
  activityId: string;
3957
3957
  } | {
3958
- ref: string;
3959
3958
  schemaVersion: number;
3959
+ ref: string;
3960
3960
  bytes: number;
3961
3961
  };
3962
3962
  schemaVersion: 1;
3963
3963
  runId: string;
3964
3964
  timestamp: number;
3965
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
3965
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
3966
3966
  eventId: string;
3967
3967
  payloadHash?: string | undefined;
3968
3968
  }, {
@@ -3972,14 +3972,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3972
3972
  leaseId: string;
3973
3973
  activityId: string;
3974
3974
  } | {
3975
- ref: string;
3976
3975
  schemaVersion: number;
3976
+ ref: string;
3977
3977
  bytes: number;
3978
3978
  };
3979
3979
  schemaVersion: 1;
3980
3980
  runId: string;
3981
3981
  timestamp: number;
3982
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
3982
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
3983
3983
  eventId: string;
3984
3984
  payloadHash?: string | undefined;
3985
3985
  }>, z.ZodObject<{
@@ -3998,12 +3998,12 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3998
3998
  bytes: z.ZodNumber;
3999
3999
  schemaVersion: z.ZodNumber;
4000
4000
  }, "strip", z.ZodTypeAny, {
4001
- ref: string;
4002
4001
  schemaVersion: number;
4002
+ ref: string;
4003
4003
  bytes: number;
4004
4004
  }, {
4005
- ref: string;
4006
4005
  schemaVersion: number;
4006
+ ref: string;
4007
4007
  bytes: number;
4008
4008
  }>]>;
4009
4009
  eventId: z.ZodString;
@@ -4018,14 +4018,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4018
4018
  reason: string;
4019
4019
  activityId: string;
4020
4020
  } | {
4021
- ref: string;
4022
4021
  schemaVersion: number;
4022
+ ref: string;
4023
4023
  bytes: number;
4024
4024
  };
4025
4025
  schemaVersion: 1;
4026
4026
  runId: string;
4027
4027
  timestamp: number;
4028
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
4028
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
4029
4029
  eventId: string;
4030
4030
  payloadHash?: string | undefined;
4031
4031
  }, {
@@ -4034,14 +4034,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4034
4034
  reason: string;
4035
4035
  activityId: string;
4036
4036
  } | {
4037
- ref: string;
4038
4037
  schemaVersion: number;
4038
+ ref: string;
4039
4039
  bytes: number;
4040
4040
  };
4041
4041
  schemaVersion: 1;
4042
4042
  runId: string;
4043
4043
  timestamp: number;
4044
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
4044
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
4045
4045
  eventId: string;
4046
4046
  payloadHash?: string | undefined;
4047
4047
  }>, z.ZodObject<{
@@ -4069,12 +4069,12 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4069
4069
  bytes: z.ZodNumber;
4070
4070
  schemaVersion: z.ZodNumber;
4071
4071
  }, "strip", z.ZodTypeAny, {
4072
- ref: string;
4073
4072
  schemaVersion: number;
4073
+ ref: string;
4074
4074
  bytes: number;
4075
4075
  }, {
4076
- ref: string;
4077
4076
  schemaVersion: number;
4077
+ ref: string;
4078
4078
  bytes: number;
4079
4079
  }>]>;
4080
4080
  eventId: z.ZodString;
@@ -4092,14 +4092,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4092
4092
  activityId: string;
4093
4093
  runningMs: number;
4094
4094
  } | {
4095
- ref: string;
4096
4095
  schemaVersion: number;
4096
+ ref: string;
4097
4097
  bytes: number;
4098
4098
  };
4099
4099
  schemaVersion: 1;
4100
4100
  runId: string;
4101
4101
  timestamp: number;
4102
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
4102
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
4103
4103
  eventId: string;
4104
4104
  payloadHash?: string | undefined;
4105
4105
  }, {
@@ -4111,14 +4111,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4111
4111
  activityId: string;
4112
4112
  runningMs: number;
4113
4113
  } | {
4114
- ref: string;
4115
4114
  schemaVersion: number;
4115
+ ref: string;
4116
4116
  bytes: number;
4117
4117
  };
4118
4118
  schemaVersion: 1;
4119
4119
  runId: string;
4120
4120
  timestamp: number;
4121
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
4121
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
4122
4122
  eventId: string;
4123
4123
  payloadHash?: string | undefined;
4124
4124
  }>, z.ZodObject<{
@@ -4137,12 +4137,12 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4137
4137
  bytes: z.ZodNumber;
4138
4138
  schemaVersion: z.ZodNumber;
4139
4139
  }, "strip", z.ZodTypeAny, {
4140
- ref: string;
4141
4140
  schemaVersion: number;
4141
+ ref: string;
4142
4142
  bytes: number;
4143
4143
  }, {
4144
- ref: string;
4145
4144
  schemaVersion: number;
4145
+ ref: string;
4146
4146
  bytes: number;
4147
4147
  }>]>;
4148
4148
  eventId: z.ZodString;
@@ -4157,14 +4157,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4157
4157
  maxIterations: number;
4158
4158
  loopId: string;
4159
4159
  } | {
4160
- ref: string;
4161
4160
  schemaVersion: number;
4161
+ ref: string;
4162
4162
  bytes: number;
4163
4163
  };
4164
4164
  schemaVersion: 1;
4165
4165
  runId: string;
4166
4166
  timestamp: number;
4167
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
4167
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
4168
4168
  eventId: string;
4169
4169
  payloadHash?: string | undefined;
4170
4170
  }, {
@@ -4173,14 +4173,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4173
4173
  maxIterations: number;
4174
4174
  loopId: string;
4175
4175
  } | {
4176
- ref: string;
4177
4176
  schemaVersion: number;
4177
+ ref: string;
4178
4178
  bytes: number;
4179
4179
  };
4180
4180
  schemaVersion: 1;
4181
4181
  runId: string;
4182
4182
  timestamp: number;
4183
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
4183
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
4184
4184
  eventId: string;
4185
4185
  payloadHash?: string | undefined;
4186
4186
  }>, z.ZodObject<{
@@ -4202,12 +4202,12 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4202
4202
  bytes: z.ZodNumber;
4203
4203
  schemaVersion: z.ZodNumber;
4204
4204
  }, "strip", z.ZodTypeAny, {
4205
- ref: string;
4206
4205
  schemaVersion: number;
4206
+ ref: string;
4207
4207
  bytes: number;
4208
4208
  }, {
4209
- ref: string;
4210
4209
  schemaVersion: number;
4210
+ ref: string;
4211
4211
  bytes: number;
4212
4212
  }>]>;
4213
4213
  eventId: z.ZodString;
@@ -4223,14 +4223,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4223
4223
  iteration: number;
4224
4224
  prevResolution: "initial" | "rejected";
4225
4225
  } | {
4226
- ref: string;
4227
4226
  schemaVersion: number;
4227
+ ref: string;
4228
4228
  bytes: number;
4229
4229
  };
4230
4230
  schemaVersion: 1;
4231
4231
  runId: string;
4232
4232
  timestamp: number;
4233
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
4233
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
4234
4234
  eventId: string;
4235
4235
  payloadHash?: string | undefined;
4236
4236
  }, {
@@ -4240,14 +4240,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4240
4240
  iteration: number;
4241
4241
  prevResolution: "initial" | "rejected";
4242
4242
  } | {
4243
- ref: string;
4244
4243
  schemaVersion: number;
4244
+ ref: string;
4245
4245
  bytes: number;
4246
4246
  };
4247
4247
  schemaVersion: 1;
4248
4248
  runId: string;
4249
4249
  timestamp: number;
4250
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
4250
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
4251
4251
  eventId: string;
4252
4252
  payloadHash?: string | undefined;
4253
4253
  }>, z.ZodObject<{
@@ -4284,12 +4284,12 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4284
4284
  bytes: z.ZodNumber;
4285
4285
  schemaVersion: z.ZodNumber;
4286
4286
  }, "strip", z.ZodTypeAny, {
4287
- ref: string;
4288
4287
  schemaVersion: number;
4288
+ ref: string;
4289
4289
  bytes: number;
4290
4290
  }, {
4291
- ref: string;
4292
4291
  schemaVersion: number;
4292
+ ref: string;
4293
4293
  bytes: number;
4294
4294
  }>]>;
4295
4295
  eventId: z.ZodString;
@@ -4310,14 +4310,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4310
4310
  comment?: string | undefined;
4311
4311
  timedOut?: boolean | undefined;
4312
4312
  } | {
4313
- ref: string;
4314
4313
  schemaVersion: number;
4314
+ ref: string;
4315
4315
  bytes: number;
4316
4316
  };
4317
4317
  schemaVersion: 1;
4318
4318
  runId: string;
4319
4319
  timestamp: number;
4320
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
4320
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
4321
4321
  eventId: string;
4322
4322
  payloadHash?: string | undefined;
4323
4323
  }, {
@@ -4332,14 +4332,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4332
4332
  comment?: string | undefined;
4333
4333
  timedOut?: boolean | undefined;
4334
4334
  } | {
4335
- ref: string;
4336
4335
  schemaVersion: number;
4336
+ ref: string;
4337
4337
  bytes: number;
4338
4338
  };
4339
4339
  schemaVersion: 1;
4340
4340
  runId: string;
4341
4341
  timestamp: number;
4342
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
4342
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
4343
4343
  eventId: string;
4344
4344
  payloadHash?: string | undefined;
4345
4345
  }>, z.ZodObject<{
@@ -4400,12 +4400,12 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4400
4400
  bytes: z.ZodNumber;
4401
4401
  schemaVersion: z.ZodNumber;
4402
4402
  }, "strip", z.ZodTypeAny, {
4403
- ref: string;
4404
4403
  schemaVersion: number;
4404
+ ref: string;
4405
4405
  bytes: number;
4406
4406
  }, {
4407
- ref: string;
4408
4407
  schemaVersion: number;
4408
+ ref: string;
4409
4409
  bytes: number;
4410
4410
  }>]>;
4411
4411
  eventId: z.ZodString;
@@ -4430,14 +4430,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4430
4430
  outputPath?: string | undefined;
4431
4431
  } | undefined;
4432
4432
  } | {
4433
- ref: string;
4434
4433
  schemaVersion: number;
4434
+ ref: string;
4435
4435
  bytes: number;
4436
4436
  };
4437
4437
  schemaVersion: 1;
4438
4438
  runId: string;
4439
4439
  timestamp: number;
4440
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
4440
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
4441
4441
  eventId: string;
4442
4442
  payloadHash?: string | undefined;
4443
4443
  }, {
@@ -4456,14 +4456,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4456
4456
  outputPath?: string | undefined;
4457
4457
  } | undefined;
4458
4458
  } | {
4459
- ref: string;
4460
4459
  schemaVersion: number;
4460
+ ref: string;
4461
4461
  bytes: number;
4462
4462
  };
4463
4463
  schemaVersion: 1;
4464
4464
  runId: string;
4465
4465
  timestamp: number;
4466
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
4466
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
4467
4467
  eventId: string;
4468
4468
  payloadHash?: string | undefined;
4469
4469
  }>, z.ZodObject<{
@@ -4488,12 +4488,12 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4488
4488
  bytes: z.ZodNumber;
4489
4489
  schemaVersion: z.ZodNumber;
4490
4490
  }, "strip", z.ZodTypeAny, {
4491
- ref: string;
4492
4491
  schemaVersion: number;
4492
+ ref: string;
4493
4493
  bytes: number;
4494
4494
  }, {
4495
- ref: string;
4496
4495
  schemaVersion: number;
4496
+ ref: string;
4497
4497
  bytes: number;
4498
4498
  }>]>;
4499
4499
  eventId: z.ZodString;
@@ -4510,14 +4510,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4510
4510
  resultTrue: boolean;
4511
4511
  evaluatedInputs?: Record<string, unknown> | undefined;
4512
4512
  } | {
4513
- ref: string;
4514
4513
  schemaVersion: number;
4514
+ ref: string;
4515
4515
  bytes: number;
4516
4516
  };
4517
4517
  schemaVersion: 1;
4518
4518
  runId: string;
4519
4519
  timestamp: number;
4520
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
4520
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
4521
4521
  eventId: string;
4522
4522
  payloadHash?: string | undefined;
4523
4523
  }, {
@@ -4528,14 +4528,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4528
4528
  resultTrue: boolean;
4529
4529
  evaluatedInputs?: Record<string, unknown> | undefined;
4530
4530
  } | {
4531
- ref: string;
4532
4531
  schemaVersion: number;
4532
+ ref: string;
4533
4533
  bytes: number;
4534
4534
  };
4535
4535
  schemaVersion: 1;
4536
4536
  runId: string;
4537
4537
  timestamp: number;
4538
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
4538
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
4539
4539
  eventId: string;
4540
4540
  payloadHash?: string | undefined;
4541
4541
  }>, z.ZodObject<{
@@ -4547,14 +4547,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4547
4547
  timeoutMs: z.ZodNumber;
4548
4548
  maxOutputBytes: z.ZodNumber;
4549
4549
  }, "strip", z.ZodTypeAny, {
4550
- timeoutMs: number;
4551
4550
  attemptId: string;
4551
+ timeoutMs: number;
4552
4552
  leaseId: string;
4553
4553
  activityId: string;
4554
4554
  maxOutputBytes: number;
4555
4555
  }, {
4556
- timeoutMs: number;
4557
4556
  attemptId: string;
4557
+ timeoutMs: number;
4558
4558
  leaseId: string;
4559
4559
  activityId: string;
4560
4560
  maxOutputBytes: number;
@@ -4563,12 +4563,12 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4563
4563
  bytes: z.ZodNumber;
4564
4564
  schemaVersion: z.ZodNumber;
4565
4565
  }, "strip", z.ZodTypeAny, {
4566
- ref: string;
4567
4566
  schemaVersion: number;
4567
+ ref: string;
4568
4568
  bytes: number;
4569
4569
  }, {
4570
- ref: string;
4571
4570
  schemaVersion: number;
4571
+ ref: string;
4572
4572
  bytes: number;
4573
4573
  }>]>;
4574
4574
  eventId: z.ZodString;
@@ -4580,39 +4580,39 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4580
4580
  }, "strip", z.ZodTypeAny, {
4581
4581
  type: "leaseSigned";
4582
4582
  payload: {
4583
- timeoutMs: number;
4584
4583
  attemptId: string;
4584
+ timeoutMs: number;
4585
4585
  leaseId: string;
4586
4586
  activityId: string;
4587
4587
  maxOutputBytes: number;
4588
4588
  } | {
4589
- ref: string;
4590
4589
  schemaVersion: number;
4590
+ ref: string;
4591
4591
  bytes: number;
4592
4592
  };
4593
4593
  schemaVersion: 1;
4594
4594
  runId: string;
4595
4595
  timestamp: number;
4596
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
4596
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
4597
4597
  eventId: string;
4598
4598
  payloadHash?: string | undefined;
4599
4599
  }, {
4600
4600
  type: "leaseSigned";
4601
4601
  payload: {
4602
- timeoutMs: number;
4603
4602
  attemptId: string;
4603
+ timeoutMs: number;
4604
4604
  leaseId: string;
4605
4605
  activityId: string;
4606
4606
  maxOutputBytes: number;
4607
4607
  } | {
4608
- ref: string;
4609
4608
  schemaVersion: number;
4609
+ ref: string;
4610
4610
  bytes: number;
4611
4611
  };
4612
4612
  schemaVersion: 1;
4613
4613
  runId: string;
4614
4614
  timestamp: number;
4615
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
4615
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
4616
4616
  eventId: string;
4617
4617
  payloadHash?: string | undefined;
4618
4618
  }>, z.ZodObject<{
@@ -4670,12 +4670,12 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4670
4670
  bytes: z.ZodNumber;
4671
4671
  schemaVersion: z.ZodNumber;
4672
4672
  }, "strip", z.ZodTypeAny, {
4673
- ref: string;
4674
4673
  schemaVersion: number;
4674
+ ref: string;
4675
4675
  bytes: number;
4676
4676
  }, {
4677
- ref: string;
4678
4677
  schemaVersion: number;
4678
+ ref: string;
4679
4679
  bytes: number;
4680
4680
  }>]>;
4681
4681
  eventId: z.ZodString;
@@ -4699,14 +4699,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4699
4699
  activityId: string;
4700
4700
  attemptNumber: number;
4701
4701
  } | {
4702
- ref: string;
4703
4702
  schemaVersion: number;
4703
+ ref: string;
4704
4704
  bytes: number;
4705
4705
  };
4706
4706
  schemaVersion: 1;
4707
4707
  runId: string;
4708
4708
  timestamp: number;
4709
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
4709
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
4710
4710
  eventId: string;
4711
4711
  payloadHash?: string | undefined;
4712
4712
  }, {
@@ -4724,14 +4724,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4724
4724
  activityId: string;
4725
4725
  attemptNumber: number;
4726
4726
  } | {
4727
- ref: string;
4728
4727
  schemaVersion: number;
4728
+ ref: string;
4729
4729
  bytes: number;
4730
4730
  };
4731
4731
  schemaVersion: 1;
4732
4732
  runId: string;
4733
4733
  timestamp: number;
4734
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
4734
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
4735
4735
  eventId: string;
4736
4736
  payloadHash?: string | undefined;
4737
4737
  }>, z.ZodObject<{
@@ -4781,12 +4781,12 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4781
4781
  bytes: z.ZodNumber;
4782
4782
  schemaVersion: z.ZodNumber;
4783
4783
  }, "strip", z.ZodTypeAny, {
4784
- ref: string;
4785
4784
  schemaVersion: number;
4785
+ ref: string;
4786
4786
  bytes: number;
4787
4787
  }, {
4788
- ref: string;
4789
4788
  schemaVersion: number;
4789
+ ref: string;
4790
4790
  bytes: number;
4791
4791
  }>]>;
4792
4792
  eventId: z.ZodString;
@@ -4808,14 +4808,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4808
4808
  jitter?: boolean | undefined;
4809
4809
  };
4810
4810
  } | {
4811
- ref: string;
4812
4811
  schemaVersion: number;
4812
+ ref: string;
4813
4813
  bytes: number;
4814
4814
  };
4815
4815
  schemaVersion: 1;
4816
4816
  runId: string;
4817
4817
  timestamp: number;
4818
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
4818
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
4819
4819
  eventId: string;
4820
4820
  payloadHash?: string | undefined;
4821
4821
  }, {
@@ -4831,14 +4831,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4831
4831
  jitter?: boolean | undefined;
4832
4832
  };
4833
4833
  } | {
4834
- ref: string;
4835
4834
  schemaVersion: number;
4835
+ ref: string;
4836
4836
  bytes: number;
4837
4837
  };
4838
4838
  schemaVersion: 1;
4839
4839
  runId: string;
4840
4840
  timestamp: number;
4841
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
4841
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
4842
4842
  eventId: string;
4843
4843
  payloadHash?: string | undefined;
4844
4844
  }>, z.ZodObject<{
@@ -4857,12 +4857,12 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4857
4857
  bytes: z.ZodNumber;
4858
4858
  schemaVersion: z.ZodNumber;
4859
4859
  }, "strip", z.ZodTypeAny, {
4860
- ref: string;
4861
4860
  schemaVersion: number;
4861
+ ref: string;
4862
4862
  bytes: number;
4863
4863
  }, {
4864
- ref: string;
4865
4864
  schemaVersion: number;
4865
+ ref: string;
4866
4866
  bytes: number;
4867
4867
  }>]>;
4868
4868
  eventId: z.ZodString;
@@ -4877,14 +4877,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4877
4877
  nodeId: string;
4878
4878
  scheduledAttemptId: string;
4879
4879
  } | {
4880
- ref: string;
4881
4880
  schemaVersion: number;
4881
+ ref: string;
4882
4882
  bytes: number;
4883
4883
  };
4884
4884
  schemaVersion: 1;
4885
4885
  runId: string;
4886
4886
  timestamp: number;
4887
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
4887
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
4888
4888
  eventId: string;
4889
4889
  payloadHash?: string | undefined;
4890
4890
  }, {
@@ -4893,14 +4893,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4893
4893
  nodeId: string;
4894
4894
  scheduledAttemptId: string;
4895
4895
  } | {
4896
- ref: string;
4897
4896
  schemaVersion: number;
4897
+ ref: string;
4898
4898
  bytes: number;
4899
4899
  };
4900
4900
  schemaVersion: 1;
4901
4901
  runId: string;
4902
4902
  timestamp: number;
4903
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
4903
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
4904
4904
  eventId: string;
4905
4905
  payloadHash?: string | undefined;
4906
4906
  }>, z.ZodObject<{
@@ -4931,12 +4931,12 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4931
4931
  bytes: z.ZodNumber;
4932
4932
  schemaVersion: z.ZodNumber;
4933
4933
  }, "strip", z.ZodTypeAny, {
4934
- ref: string;
4935
4934
  schemaVersion: number;
4935
+ ref: string;
4936
4936
  bytes: number;
4937
4937
  }, {
4938
- ref: string;
4939
4938
  schemaVersion: number;
4939
+ ref: string;
4940
4940
  bytes: number;
4941
4941
  }>]>;
4942
4942
  eventId: z.ZodString;
@@ -4955,14 +4955,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4955
4955
  idempotencyTtlMs: number;
4956
4956
  activityId: string;
4957
4957
  } | {
4958
- ref: string;
4959
4958
  schemaVersion: number;
4959
+ ref: string;
4960
4960
  bytes: number;
4961
4961
  };
4962
4962
  schemaVersion: 1;
4963
4963
  runId: string;
4964
4964
  timestamp: number;
4965
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
4965
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
4966
4966
  eventId: string;
4967
4967
  payloadHash?: string | undefined;
4968
4968
  }, {
@@ -4975,14 +4975,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4975
4975
  idempotencyTtlMs: number;
4976
4976
  activityId: string;
4977
4977
  } | {
4978
- ref: string;
4979
4978
  schemaVersion: number;
4979
+ ref: string;
4980
4980
  bytes: number;
4981
4981
  };
4982
4982
  schemaVersion: 1;
4983
4983
  runId: string;
4984
4984
  timestamp: number;
4985
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
4985
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
4986
4986
  eventId: string;
4987
4987
  payloadHash?: string | undefined;
4988
4988
  }>, z.ZodObject<{
@@ -5037,12 +5037,12 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5037
5037
  bytes: z.ZodNumber;
5038
5038
  schemaVersion: z.ZodNumber;
5039
5039
  }, "strip", z.ZodTypeAny, {
5040
- ref: string;
5041
5040
  schemaVersion: number;
5041
+ ref: string;
5042
5042
  bytes: number;
5043
5043
  }, {
5044
- ref: string;
5045
5044
  schemaVersion: number;
5045
+ ref: string;
5046
5046
  bytes: number;
5047
5047
  }>]>;
5048
5048
  eventId: z.ZodString;
@@ -5065,14 +5065,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5065
5065
  };
5066
5066
  externalRefs?: Record<string, unknown> | undefined;
5067
5067
  } | {
5068
- ref: string;
5069
5068
  schemaVersion: number;
5069
+ ref: string;
5070
5070
  bytes: number;
5071
5071
  };
5072
5072
  schemaVersion: 1;
5073
5073
  runId: string;
5074
5074
  timestamp: number;
5075
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
5075
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
5076
5076
  eventId: string;
5077
5077
  payloadHash?: string | undefined;
5078
5078
  }, {
@@ -5089,14 +5089,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5089
5089
  };
5090
5090
  externalRefs?: Record<string, unknown> | undefined;
5091
5091
  } | {
5092
- ref: string;
5093
5092
  schemaVersion: number;
5093
+ ref: string;
5094
5094
  bytes: number;
5095
5095
  };
5096
5096
  schemaVersion: 1;
5097
5097
  runId: string;
5098
5098
  timestamp: number;
5099
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
5099
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
5100
5100
  eventId: string;
5101
5101
  payloadHash?: string | undefined;
5102
5102
  }>, z.ZodObject<{
@@ -5143,12 +5143,12 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5143
5143
  bytes: z.ZodNumber;
5144
5144
  schemaVersion: z.ZodNumber;
5145
5145
  }, "strip", z.ZodTypeAny, {
5146
- ref: string;
5147
5146
  schemaVersion: number;
5147
+ ref: string;
5148
5148
  bytes: number;
5149
5149
  }, {
5150
- ref: string;
5151
5150
  schemaVersion: number;
5151
+ ref: string;
5152
5152
  bytes: number;
5153
5153
  }>]>;
5154
5154
  eventId: z.ZodString;
@@ -5169,14 +5169,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5169
5169
  attemptId: string;
5170
5170
  activityId: string;
5171
5171
  } | {
5172
- ref: string;
5173
5172
  schemaVersion: number;
5173
+ ref: string;
5174
5174
  bytes: number;
5175
5175
  };
5176
5176
  schemaVersion: 1;
5177
5177
  runId: string;
5178
5178
  timestamp: number;
5179
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
5179
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
5180
5180
  eventId: string;
5181
5181
  payloadHash?: string | undefined;
5182
5182
  }, {
@@ -5191,14 +5191,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5191
5191
  attemptId: string;
5192
5192
  activityId: string;
5193
5193
  } | {
5194
- ref: string;
5195
5194
  schemaVersion: number;
5195
+ ref: string;
5196
5196
  bytes: number;
5197
5197
  };
5198
5198
  schemaVersion: 1;
5199
5199
  runId: string;
5200
5200
  timestamp: number;
5201
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
5201
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
5202
5202
  eventId: string;
5203
5203
  payloadHash?: string | undefined;
5204
5204
  }>, z.ZodObject<{
@@ -5268,12 +5268,12 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5268
5268
  bytes: z.ZodNumber;
5269
5269
  schemaVersion: z.ZodNumber;
5270
5270
  }, "strip", z.ZodTypeAny, {
5271
- ref: string;
5272
5271
  schemaVersion: number;
5272
+ ref: string;
5273
5273
  bytes: number;
5274
5274
  }, {
5275
- ref: string;
5276
5275
  schemaVersion: number;
5276
+ ref: string;
5277
5277
  bytes: number;
5278
5278
  }>]>;
5279
5279
  eventId: z.ZodString;
@@ -5301,14 +5301,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5301
5301
  } | undefined;
5302
5302
  onTimeout?: "fail" | "success" | undefined;
5303
5303
  } | {
5304
- ref: string;
5305
5304
  schemaVersion: number;
5305
+ ref: string;
5306
5306
  bytes: number;
5307
5307
  };
5308
5308
  schemaVersion: 1;
5309
5309
  runId: string;
5310
5310
  timestamp: number;
5311
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
5311
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
5312
5312
  eventId: string;
5313
5313
  payloadHash?: string | undefined;
5314
5314
  }, {
@@ -5330,14 +5330,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5330
5330
  } | undefined;
5331
5331
  onTimeout?: "fail" | "success" | undefined;
5332
5332
  } | {
5333
- ref: string;
5334
5333
  schemaVersion: number;
5334
+ ref: string;
5335
5335
  bytes: number;
5336
5336
  };
5337
5337
  schemaVersion: 1;
5338
5338
  runId: string;
5339
5339
  timestamp: number;
5340
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
5340
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
5341
5341
  eventId: string;
5342
5342
  payloadHash?: string | undefined;
5343
5343
  }>, z.ZodObject<{
@@ -5362,12 +5362,12 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5362
5362
  bytes: z.ZodNumber;
5363
5363
  schemaVersion: z.ZodNumber;
5364
5364
  }, "strip", z.ZodTypeAny, {
5365
- ref: string;
5366
5365
  schemaVersion: number;
5366
+ ref: string;
5367
5367
  bytes: number;
5368
5368
  }, {
5369
- ref: string;
5370
5369
  schemaVersion: number;
5370
+ ref: string;
5371
5371
  bytes: number;
5372
5372
  }>]>;
5373
5373
  eventId: z.ZodString;
@@ -5384,14 +5384,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5384
5384
  activityId: string;
5385
5385
  comment?: string | undefined;
5386
5386
  } | {
5387
- ref: string;
5388
5387
  schemaVersion: number;
5388
+ ref: string;
5389
5389
  bytes: number;
5390
5390
  };
5391
5391
  schemaVersion: 1;
5392
5392
  runId: string;
5393
5393
  timestamp: number;
5394
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
5394
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
5395
5395
  eventId: string;
5396
5396
  payloadHash?: string | undefined;
5397
5397
  }, {
@@ -5402,14 +5402,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5402
5402
  activityId: string;
5403
5403
  comment?: string | undefined;
5404
5404
  } | {
5405
- ref: string;
5406
5405
  schemaVersion: number;
5406
+ ref: string;
5407
5407
  bytes: number;
5408
5408
  };
5409
5409
  schemaVersion: 1;
5410
5410
  runId: string;
5411
5411
  timestamp: number;
5412
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
5412
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
5413
5413
  eventId: string;
5414
5414
  payloadHash?: string | undefined;
5415
5415
  }>, z.ZodObject<{
@@ -5431,12 +5431,12 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5431
5431
  bytes: z.ZodNumber;
5432
5432
  schemaVersion: z.ZodNumber;
5433
5433
  }, "strip", z.ZodTypeAny, {
5434
- ref: string;
5435
5434
  schemaVersion: number;
5435
+ ref: string;
5436
5436
  bytes: number;
5437
5437
  }, {
5438
- ref: string;
5439
5438
  schemaVersion: number;
5439
+ ref: string;
5440
5440
  bytes: number;
5441
5441
  }>]>;
5442
5442
  eventId: z.ZodString;
@@ -5452,14 +5452,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5452
5452
  activityId: string;
5453
5453
  exceededAtMs: number;
5454
5454
  } | {
5455
- ref: string;
5456
5455
  schemaVersion: number;
5456
+ ref: string;
5457
5457
  bytes: number;
5458
5458
  };
5459
5459
  schemaVersion: 1;
5460
5460
  runId: string;
5461
5461
  timestamp: number;
5462
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
5462
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
5463
5463
  eventId: string;
5464
5464
  payloadHash?: string | undefined;
5465
5465
  }, {
@@ -5469,14 +5469,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5469
5469
  activityId: string;
5470
5470
  exceededAtMs: number;
5471
5471
  } | {
5472
- ref: string;
5473
5472
  schemaVersion: number;
5473
+ ref: string;
5474
5474
  bytes: number;
5475
5475
  };
5476
5476
  schemaVersion: 1;
5477
5477
  runId: string;
5478
5478
  timestamp: number;
5479
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
5479
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
5480
5480
  eventId: string;
5481
5481
  payloadHash?: string | undefined;
5482
5482
  }>, z.ZodObject<{
@@ -5543,12 +5543,12 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5543
5543
  bytes: z.ZodNumber;
5544
5544
  schemaVersion: z.ZodNumber;
5545
5545
  }, "strip", z.ZodTypeAny, {
5546
- ref: string;
5547
5546
  schemaVersion: number;
5547
+ ref: string;
5548
5548
  bytes: number;
5549
5549
  }, {
5550
- ref: string;
5551
5550
  schemaVersion: number;
5551
+ ref: string;
5552
5552
  bytes: number;
5553
5553
  }>]>;
5554
5554
  eventId: z.ZodString;
@@ -5573,14 +5573,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5573
5573
  reason: string;
5574
5574
  by: string;
5575
5575
  } | {
5576
- ref: string;
5577
5576
  schemaVersion: number;
5577
+ ref: string;
5578
5578
  bytes: number;
5579
5579
  };
5580
5580
  schemaVersion: 1;
5581
5581
  runId: string;
5582
5582
  timestamp: number;
5583
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
5583
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
5584
5584
  eventId: string;
5585
5585
  payloadHash?: string | undefined;
5586
5586
  }, {
@@ -5599,14 +5599,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5599
5599
  reason: string;
5600
5600
  by: string;
5601
5601
  } | {
5602
- ref: string;
5603
5602
  schemaVersion: number;
5603
+ ref: string;
5604
5604
  bytes: number;
5605
5605
  };
5606
5606
  schemaVersion: 1;
5607
5607
  runId: string;
5608
5608
  timestamp: number;
5609
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
5609
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
5610
5610
  eventId: string;
5611
5611
  payloadHash?: string | undefined;
5612
5612
  }>, z.ZodObject<{
@@ -5670,12 +5670,12 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5670
5670
  bytes: z.ZodNumber;
5671
5671
  schemaVersion: z.ZodNumber;
5672
5672
  }, "strip", z.ZodTypeAny, {
5673
- ref: string;
5674
5673
  schemaVersion: number;
5674
+ ref: string;
5675
5675
  bytes: number;
5676
5676
  }, {
5677
- ref: string;
5678
5677
  schemaVersion: number;
5678
+ ref: string;
5679
5679
  bytes: number;
5680
5680
  }>]>;
5681
5681
  eventId: z.ZodString;
@@ -5699,14 +5699,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5699
5699
  };
5700
5700
  activityId: string;
5701
5701
  } | {
5702
- ref: string;
5703
5702
  schemaVersion: number;
5703
+ ref: string;
5704
5704
  bytes: number;
5705
5705
  };
5706
5706
  schemaVersion: 1;
5707
5707
  runId: string;
5708
5708
  timestamp: number;
5709
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
5709
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
5710
5710
  eventId: string;
5711
5711
  payloadHash?: string | undefined;
5712
5712
  }, {
@@ -5724,14 +5724,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5724
5724
  };
5725
5725
  activityId: string;
5726
5726
  } | {
5727
- ref: string;
5728
5727
  schemaVersion: number;
5728
+ ref: string;
5729
5729
  bytes: number;
5730
5730
  };
5731
5731
  schemaVersion: 1;
5732
5732
  runId: string;
5733
5733
  timestamp: number;
5734
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
5734
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
5735
5735
  eventId: string;
5736
5736
  payloadHash?: string | undefined;
5737
5737
  }>, z.ZodObject<{
@@ -5753,12 +5753,12 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5753
5753
  bytes: z.ZodNumber;
5754
5754
  schemaVersion: z.ZodNumber;
5755
5755
  }, "strip", z.ZodTypeAny, {
5756
- ref: string;
5757
5756
  schemaVersion: number;
5757
+ ref: string;
5758
5758
  bytes: number;
5759
5759
  }, {
5760
- ref: string;
5761
5760
  schemaVersion: number;
5761
+ ref: string;
5762
5762
  bytes: number;
5763
5763
  }>]>;
5764
5764
  eventId: z.ZodString;
@@ -5774,14 +5774,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5774
5774
  activityId: string;
5775
5775
  cancelOriginEventId: string;
5776
5776
  } | {
5777
- ref: string;
5778
5777
  schemaVersion: number;
5778
+ ref: string;
5779
5779
  bytes: number;
5780
5780
  };
5781
5781
  schemaVersion: 1;
5782
5782
  runId: string;
5783
5783
  timestamp: number;
5784
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
5784
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
5785
5785
  eventId: string;
5786
5786
  payloadHash?: string | undefined;
5787
5787
  }, {
@@ -5791,14 +5791,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5791
5791
  activityId: string;
5792
5792
  cancelOriginEventId: string;
5793
5793
  } | {
5794
- ref: string;
5795
5794
  schemaVersion: number;
5795
+ ref: string;
5796
5796
  bytes: number;
5797
5797
  };
5798
5798
  schemaVersion: 1;
5799
5799
  runId: string;
5800
5800
  timestamp: number;
5801
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
5801
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
5802
5802
  eventId: string;
5803
5803
  payloadHash?: string | undefined;
5804
5804
  }>, z.ZodObject<{
@@ -5817,12 +5817,12 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5817
5817
  bytes: z.ZodNumber;
5818
5818
  schemaVersion: z.ZodNumber;
5819
5819
  }, "strip", z.ZodTypeAny, {
5820
- ref: string;
5821
5820
  schemaVersion: number;
5821
+ ref: string;
5822
5822
  bytes: number;
5823
5823
  }, {
5824
- ref: string;
5825
5824
  schemaVersion: number;
5825
+ ref: string;
5826
5826
  bytes: number;
5827
5827
  }>]>;
5828
5828
  eventId: z.ZodString;
@@ -5837,14 +5837,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5837
5837
  workerId: string;
5838
5838
  lostActivityIds: string[];
5839
5839
  } | {
5840
- ref: string;
5841
5840
  schemaVersion: number;
5841
+ ref: string;
5842
5842
  bytes: number;
5843
5843
  };
5844
5844
  schemaVersion: 1;
5845
5845
  runId: string;
5846
5846
  timestamp: number;
5847
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
5847
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
5848
5848
  eventId: string;
5849
5849
  payloadHash?: string | undefined;
5850
5850
  }, {
@@ -5853,14 +5853,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5853
5853
  workerId: string;
5854
5854
  lostActivityIds: string[];
5855
5855
  } | {
5856
- ref: string;
5857
5856
  schemaVersion: number;
5857
+ ref: string;
5858
5858
  bytes: number;
5859
5859
  };
5860
5860
  schemaVersion: 1;
5861
5861
  runId: string;
5862
5862
  timestamp: number;
5863
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
5863
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
5864
5864
  eventId: string;
5865
5865
  payloadHash?: string | undefined;
5866
5866
  }>, z.ZodObject<{
@@ -5879,12 +5879,12 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5879
5879
  bytes: z.ZodNumber;
5880
5880
  schemaVersion: z.ZodNumber;
5881
5881
  }, "strip", z.ZodTypeAny, {
5882
- ref: string;
5883
5882
  schemaVersion: number;
5883
+ ref: string;
5884
5884
  bytes: number;
5885
5885
  }, {
5886
- ref: string;
5887
5886
  schemaVersion: number;
5887
+ ref: string;
5888
5888
  bytes: number;
5889
5889
  }>]>;
5890
5890
  eventId: z.ZodString;
@@ -5899,14 +5899,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5899
5899
  daemonId: string;
5900
5900
  lastSeenEventId: string;
5901
5901
  } | {
5902
- ref: string;
5903
5902
  schemaVersion: number;
5903
+ ref: string;
5904
5904
  bytes: number;
5905
5905
  };
5906
5906
  schemaVersion: 1;
5907
5907
  runId: string;
5908
5908
  timestamp: number;
5909
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
5909
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
5910
5910
  eventId: string;
5911
5911
  payloadHash?: string | undefined;
5912
5912
  }, {
@@ -5915,14 +5915,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5915
5915
  daemonId: string;
5916
5916
  lastSeenEventId: string;
5917
5917
  } | {
5918
- ref: string;
5919
5918
  schemaVersion: number;
5919
+ ref: string;
5920
5920
  bytes: number;
5921
5921
  };
5922
5922
  schemaVersion: 1;
5923
5923
  runId: string;
5924
5924
  timestamp: number;
5925
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
5925
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
5926
5926
  eventId: string;
5927
5927
  payloadHash?: string | undefined;
5928
5928
  }>, z.ZodObject<{
@@ -5950,12 +5950,12 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5950
5950
  bytes: z.ZodNumber;
5951
5951
  schemaVersion: z.ZodNumber;
5952
5952
  }, "strip", z.ZodTypeAny, {
5953
- ref: string;
5954
5953
  schemaVersion: number;
5954
+ ref: string;
5955
5955
  bytes: number;
5956
5956
  }, {
5957
- ref: string;
5958
5957
  schemaVersion: number;
5958
+ ref: string;
5959
5959
  bytes: number;
5960
5960
  }>]>;
5961
5961
  eventId: z.ZodString;
@@ -5973,14 +5973,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5973
5973
  idempotencyKey: string;
5974
5974
  activityId: string;
5975
5975
  } | {
5976
- ref: string;
5977
5976
  schemaVersion: number;
5977
+ ref: string;
5978
5978
  bytes: number;
5979
5979
  };
5980
5980
  schemaVersion: 1;
5981
5981
  runId: string;
5982
5982
  timestamp: number;
5983
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
5983
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
5984
5984
  eventId: string;
5985
5985
  payloadHash?: string | undefined;
5986
5986
  }, {
@@ -5992,14 +5992,14 @@ export declare const EventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5992
5992
  idempotencyKey: string;
5993
5993
  activityId: string;
5994
5994
  } | {
5995
- ref: string;
5996
5995
  schemaVersion: number;
5996
+ ref: string;
5997
5997
  bytes: number;
5998
5998
  };
5999
5999
  schemaVersion: 1;
6000
6000
  runId: string;
6001
6001
  timestamp: number;
6002
- actor: "system" | "worker" | "human" | "supervisor" | "scheduler" | "hostExecutor";
6002
+ actor: "worker" | "supervisor" | "system" | "human" | "scheduler" | "hostExecutor";
6003
6003
  eventId: string;
6004
6004
  payloadHash?: string | undefined;
6005
6005
  }>]>;