@trigger.dev/core 0.0.0-prerelease-20240718194312 → 0.0.0-prerelease-20240724110801

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 (47) hide show
  1. package/dist/{catalog-h79CG5Wy.d.ts → catalog-1uqiDu4t.d.ts} +2 -2
  2. package/dist/{catalog-H7yFiZ60.d.mts → catalog-HfeyVfYa.d.mts} +2 -2
  3. package/dist/{manager-KvCabW1a.d.mts → manager-CkUnBH2E.d.mts} +1 -1
  4. package/dist/{manager-OBA35PzR.d.ts → manager-y-nT-ymn.d.ts} +1 -1
  5. package/dist/v3/dev/index.d.mts +2 -2
  6. package/dist/v3/dev/index.d.ts +2 -2
  7. package/dist/v3/errors.d.mts +1 -1
  8. package/dist/v3/errors.d.ts +1 -1
  9. package/dist/v3/index.d.mts +45 -33
  10. package/dist/v3/index.d.ts +45 -33
  11. package/dist/v3/index.js +29 -2
  12. package/dist/v3/index.js.map +1 -1
  13. package/dist/v3/index.mjs +28 -3
  14. package/dist/v3/index.mjs.map +1 -1
  15. package/dist/v3/otel/index.js +1 -1
  16. package/dist/v3/otel/index.js.map +1 -1
  17. package/dist/v3/otel/index.mjs +1 -1
  18. package/dist/v3/otel/index.mjs.map +1 -1
  19. package/dist/v3/prod/index.d.mts +3 -3
  20. package/dist/v3/prod/index.d.ts +3 -3
  21. package/dist/v3/schemas/index.d.mts +87 -21
  22. package/dist/v3/schemas/index.d.ts +87 -21
  23. package/dist/v3/schemas/index.js +16 -1
  24. package/dist/v3/schemas/index.js.map +1 -1
  25. package/dist/v3/schemas/index.mjs +15 -2
  26. package/dist/v3/schemas/index.mjs.map +1 -1
  27. package/dist/v3/utils/ioSerialization.js +27 -2
  28. package/dist/v3/utils/ioSerialization.js.map +1 -1
  29. package/dist/v3/utils/ioSerialization.mjs +27 -2
  30. package/dist/v3/utils/ioSerialization.mjs.map +1 -1
  31. package/dist/v3/utils/retries.d.mts +1 -1
  32. package/dist/v3/utils/retries.d.ts +1 -1
  33. package/dist/v3/workers/index.d.mts +6 -6
  34. package/dist/v3/workers/index.d.ts +6 -6
  35. package/dist/v3/workers/index.js +27 -2
  36. package/dist/v3/workers/index.js.map +1 -1
  37. package/dist/v3/workers/index.mjs +27 -2
  38. package/dist/v3/workers/index.mjs.map +1 -1
  39. package/dist/v3/zodfetch.d.mts +1 -1
  40. package/dist/v3/zodfetch.d.ts +1 -1
  41. package/package.json +3 -3
  42. package/dist/{common-CLW82lkt.d.mts → common-ufw5MzBe.d.mts} +66 -66
  43. package/dist/{common-CLW82lkt.d.ts → common-ufw5MzBe.d.ts} +66 -66
  44. package/dist/{messages-JvHJ83wv.d.mts → messages-7b5K4qKr.d.mts} +666 -666
  45. package/dist/{messages-JvHJ83wv.d.ts → messages-7b5K4qKr.d.ts} +666 -666
  46. package/dist/{schemas-C9ssfehv.d.mts → schemas-kjSfajbV.d.mts} +48 -48
  47. package/dist/{schemas-C9ssfehv.d.ts → schemas-kjSfajbV.d.ts} +48 -48
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import { R as RetryOptions } from '../schemas-C9ssfehv.mjs';
2
+ import { R as RetryOptions } from '../schemas-kjSfajbV.mjs';
3
3
  import { Attributes, Span } from '@opentelemetry/api';
4
4
  import { T as TriggerTracer } from '../tracer-N0p2Fuuv.mjs';
5
5
  import '@opentelemetry/api-logs';
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import { R as RetryOptions } from '../schemas-C9ssfehv.js';
2
+ import { R as RetryOptions } from '../schemas-kjSfajbV.js';
3
3
  import { Attributes, Span } from '@opentelemetry/api';
4
4
  import { T as TriggerTracer } from '../tracer-N0p2Fuuv.js';
5
5
  import '@opentelemetry/api-logs';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trigger.dev/core",
3
- "version": "0.0.0-prerelease-20240718194312",
3
+ "version": "0.0.0-prerelease-20240724110801",
4
4
  "description": "Core code used across the Trigger.dev SDK and platform",
5
5
  "license": "MIT",
6
6
  "main": "./dist/index.js",
@@ -298,8 +298,8 @@
298
298
  "ts-jest": "^29.1.1",
299
299
  "tsup": "^8.0.1",
300
300
  "typescript": "^5.3.0",
301
- "@trigger.dev/tsup": "0.0.0",
302
- "@trigger.dev/tsconfig": "0.0.0"
301
+ "@trigger.dev/tsconfig": "0.0.0",
302
+ "@trigger.dev/tsup": "0.0.0"
303
303
  },
304
304
  "engines": {
305
305
  "node": ">=18.0.0"
@@ -43,13 +43,13 @@ declare const TaskRunBuiltInError: z.ZodObject<{
43
43
  message: z.ZodString;
44
44
  stackTrace: z.ZodString;
45
45
  }, "strip", z.ZodTypeAny, {
46
- message: string;
47
46
  type: "BUILT_IN_ERROR";
47
+ message: string;
48
48
  name: string;
49
49
  stackTrace: string;
50
50
  }, {
51
- message: string;
52
51
  type: "BUILT_IN_ERROR";
52
+ message: string;
53
53
  name: string;
54
54
  stackTrace: string;
55
55
  }>;
@@ -96,13 +96,13 @@ declare const TaskRunInternalError: z.ZodObject<{
96
96
  message: z.ZodOptional<z.ZodString>;
97
97
  stackTrace: z.ZodOptional<z.ZodString>;
98
98
  }, "strip", z.ZodTypeAny, {
99
- code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT";
100
99
  type: "INTERNAL_ERROR";
100
+ code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT";
101
101
  message?: string | undefined;
102
102
  stackTrace?: string | undefined;
103
103
  }, {
104
- code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT";
105
104
  type: "INTERNAL_ERROR";
105
+ code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT";
106
106
  message?: string | undefined;
107
107
  stackTrace?: string | undefined;
108
108
  }>;
@@ -113,13 +113,13 @@ declare const TaskRunError: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
113
113
  message: z.ZodString;
114
114
  stackTrace: z.ZodString;
115
115
  }, "strip", z.ZodTypeAny, {
116
- message: string;
117
116
  type: "BUILT_IN_ERROR";
117
+ message: string;
118
118
  name: string;
119
119
  stackTrace: string;
120
120
  }, {
121
- message: string;
122
121
  type: "BUILT_IN_ERROR";
122
+ message: string;
123
123
  name: string;
124
124
  stackTrace: string;
125
125
  }>, z.ZodObject<{
@@ -146,13 +146,13 @@ declare const TaskRunError: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
146
146
  message: z.ZodOptional<z.ZodString>;
147
147
  stackTrace: z.ZodOptional<z.ZodString>;
148
148
  }, "strip", z.ZodTypeAny, {
149
- code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT";
150
149
  type: "INTERNAL_ERROR";
150
+ code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT";
151
151
  message?: string | undefined;
152
152
  stackTrace?: string | undefined;
153
153
  }, {
154
- code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT";
155
154
  type: "INTERNAL_ERROR";
155
+ code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT";
156
156
  message?: string | undefined;
157
157
  stackTrace?: string | undefined;
158
158
  }>]>;
@@ -257,12 +257,12 @@ declare const TaskRunExecutionOrganization: z.ZodObject<{
257
257
  slug: z.ZodString;
258
258
  name: z.ZodString;
259
259
  }, "strip", z.ZodTypeAny, {
260
- id: string;
261
260
  name: string;
261
+ id: string;
262
262
  slug: string;
263
263
  }, {
264
- id: string;
265
264
  name: string;
265
+ id: string;
266
266
  slug: string;
267
267
  }>;
268
268
  type TaskRunExecutionOrganization = z.infer<typeof TaskRunExecutionOrganization>;
@@ -272,13 +272,13 @@ declare const TaskRunExecutionProject: z.ZodObject<{
272
272
  slug: z.ZodString;
273
273
  name: z.ZodString;
274
274
  }, "strip", z.ZodTypeAny, {
275
- id: string;
276
275
  name: string;
276
+ id: string;
277
277
  slug: string;
278
278
  ref: string;
279
279
  }, {
280
- id: string;
281
280
  name: string;
281
+ id: string;
282
282
  slug: string;
283
283
  ref: string;
284
284
  }>;
@@ -287,11 +287,11 @@ declare const TaskRunExecutionQueue: z.ZodObject<{
287
287
  id: z.ZodString;
288
288
  name: z.ZodString;
289
289
  }, "strip", z.ZodTypeAny, {
290
- id: string;
291
290
  name: string;
292
- }, {
293
291
  id: string;
292
+ }, {
294
293
  name: string;
294
+ id: string;
295
295
  }>;
296
296
  type TaskRunExecutionQueue = z.infer<typeof TaskRunExecutionQueue>;
297
297
  declare const TaskRunExecutionBatch: z.ZodObject<{
@@ -384,11 +384,11 @@ declare const TaskRunExecution: z.ZodObject<{
384
384
  id: z.ZodString;
385
385
  name: z.ZodString;
386
386
  }, "strip", z.ZodTypeAny, {
387
- id: string;
388
387
  name: string;
389
- }, {
390
388
  id: string;
389
+ }, {
391
390
  name: string;
391
+ id: string;
392
392
  }>;
393
393
  environment: z.ZodObject<{
394
394
  id: z.ZodString;
@@ -408,12 +408,12 @@ declare const TaskRunExecution: z.ZodObject<{
408
408
  slug: z.ZodString;
409
409
  name: z.ZodString;
410
410
  }, "strip", z.ZodTypeAny, {
411
- id: string;
412
411
  name: string;
412
+ id: string;
413
413
  slug: string;
414
414
  }, {
415
- id: string;
416
415
  name: string;
416
+ id: string;
417
417
  slug: string;
418
418
  }>;
419
419
  project: z.ZodObject<{
@@ -422,13 +422,13 @@ declare const TaskRunExecution: z.ZodObject<{
422
422
  slug: z.ZodString;
423
423
  name: z.ZodString;
424
424
  }, "strip", z.ZodTypeAny, {
425
- id: string;
426
425
  name: string;
426
+ id: string;
427
427
  slug: string;
428
428
  ref: string;
429
429
  }, {
430
- id: string;
431
430
  name: string;
431
+ id: string;
432
432
  slug: string;
433
433
  ref: string;
434
434
  }>;
@@ -485,8 +485,8 @@ declare const TaskRunExecution: z.ZodObject<{
485
485
  maxAttempts?: number | undefined;
486
486
  };
487
487
  queue: {
488
- id: string;
489
488
  name: string;
489
+ id: string;
490
490
  };
491
491
  environment: {
492
492
  type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
@@ -494,13 +494,13 @@ declare const TaskRunExecution: z.ZodObject<{
494
494
  slug: string;
495
495
  };
496
496
  organization: {
497
- id: string;
498
497
  name: string;
498
+ id: string;
499
499
  slug: string;
500
500
  };
501
501
  project: {
502
- id: string;
503
502
  name: string;
503
+ id: string;
504
504
  slug: string;
505
505
  ref: string;
506
506
  };
@@ -543,8 +543,8 @@ declare const TaskRunExecution: z.ZodObject<{
543
543
  baseCostInCents?: number | undefined;
544
544
  };
545
545
  queue: {
546
- id: string;
547
546
  name: string;
547
+ id: string;
548
548
  };
549
549
  environment: {
550
550
  type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
@@ -552,13 +552,13 @@ declare const TaskRunExecution: z.ZodObject<{
552
552
  slug: string;
553
553
  };
554
554
  organization: {
555
- id: string;
556
555
  name: string;
556
+ id: string;
557
557
  slug: string;
558
558
  };
559
559
  project: {
560
- id: string;
561
560
  name: string;
561
+ id: string;
562
562
  slug: string;
563
563
  ref: string;
564
564
  };
@@ -648,11 +648,11 @@ declare const TaskRunContext: z.ZodObject<{
648
648
  id: z.ZodString;
649
649
  name: z.ZodString;
650
650
  }, "strip", z.ZodTypeAny, {
651
- id: string;
652
651
  name: string;
653
- }, {
654
652
  id: string;
653
+ }, {
655
654
  name: string;
655
+ id: string;
656
656
  }>;
657
657
  environment: z.ZodObject<{
658
658
  id: z.ZodString;
@@ -672,12 +672,12 @@ declare const TaskRunContext: z.ZodObject<{
672
672
  slug: z.ZodString;
673
673
  name: z.ZodString;
674
674
  }, "strip", z.ZodTypeAny, {
675
- id: string;
676
675
  name: string;
676
+ id: string;
677
677
  slug: string;
678
678
  }, {
679
- id: string;
680
679
  name: string;
680
+ id: string;
681
681
  slug: string;
682
682
  }>;
683
683
  project: z.ZodObject<{
@@ -686,13 +686,13 @@ declare const TaskRunContext: z.ZodObject<{
686
686
  slug: z.ZodString;
687
687
  name: z.ZodString;
688
688
  }, "strip", z.ZodTypeAny, {
689
- id: string;
690
689
  name: string;
690
+ id: string;
691
691
  slug: string;
692
692
  ref: string;
693
693
  }, {
694
- id: string;
695
694
  name: string;
695
+ id: string;
696
696
  slug: string;
697
697
  ref: string;
698
698
  }>;
@@ -745,8 +745,8 @@ declare const TaskRunContext: z.ZodObject<{
745
745
  maxAttempts?: number | undefined;
746
746
  };
747
747
  queue: {
748
- id: string;
749
748
  name: string;
749
+ id: string;
750
750
  };
751
751
  environment: {
752
752
  type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
@@ -754,13 +754,13 @@ declare const TaskRunContext: z.ZodObject<{
754
754
  slug: string;
755
755
  };
756
756
  organization: {
757
- id: string;
758
757
  name: string;
758
+ id: string;
759
759
  slug: string;
760
760
  };
761
761
  project: {
762
- id: string;
763
762
  name: string;
763
+ id: string;
764
764
  slug: string;
765
765
  ref: string;
766
766
  };
@@ -799,8 +799,8 @@ declare const TaskRunContext: z.ZodObject<{
799
799
  baseCostInCents?: number | undefined;
800
800
  };
801
801
  queue: {
802
- id: string;
803
802
  name: string;
803
+ id: string;
804
804
  };
805
805
  environment: {
806
806
  type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
@@ -808,13 +808,13 @@ declare const TaskRunContext: z.ZodObject<{
808
808
  slug: string;
809
809
  };
810
810
  organization: {
811
- id: string;
812
811
  name: string;
812
+ id: string;
813
813
  slug: string;
814
814
  };
815
815
  project: {
816
- id: string;
817
816
  name: string;
817
+ id: string;
818
818
  slug: string;
819
819
  ref: string;
820
820
  };
@@ -860,13 +860,13 @@ declare const TaskRunFailedExecutionResult: z.ZodObject<{
860
860
  message: z.ZodString;
861
861
  stackTrace: z.ZodString;
862
862
  }, "strip", z.ZodTypeAny, {
863
- message: string;
864
863
  type: "BUILT_IN_ERROR";
864
+ message: string;
865
865
  name: string;
866
866
  stackTrace: string;
867
867
  }, {
868
- message: string;
869
868
  type: "BUILT_IN_ERROR";
869
+ message: string;
870
870
  name: string;
871
871
  stackTrace: string;
872
872
  }>, z.ZodObject<{
@@ -893,13 +893,13 @@ declare const TaskRunFailedExecutionResult: z.ZodObject<{
893
893
  message: z.ZodOptional<z.ZodString>;
894
894
  stackTrace: z.ZodOptional<z.ZodString>;
895
895
  }, "strip", z.ZodTypeAny, {
896
- code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT";
897
896
  type: "INTERNAL_ERROR";
897
+ code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT";
898
898
  message?: string | undefined;
899
899
  stackTrace?: string | undefined;
900
900
  }, {
901
- code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT";
902
901
  type: "INTERNAL_ERROR";
902
+ code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT";
903
903
  message?: string | undefined;
904
904
  stackTrace?: string | undefined;
905
905
  }>]>;
@@ -926,8 +926,8 @@ declare const TaskRunFailedExecutionResult: z.ZodObject<{
926
926
  }>>;
927
927
  }, "strip", z.ZodTypeAny, {
928
928
  error: {
929
- message: string;
930
929
  type: "BUILT_IN_ERROR";
930
+ message: string;
931
931
  name: string;
932
932
  stackTrace: string;
933
933
  } | {
@@ -937,8 +937,8 @@ declare const TaskRunFailedExecutionResult: z.ZodObject<{
937
937
  type: "STRING_ERROR";
938
938
  raw: string;
939
939
  } | {
940
- code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT";
941
940
  type: "INTERNAL_ERROR";
941
+ code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT";
942
942
  message?: string | undefined;
943
943
  stackTrace?: string | undefined;
944
944
  };
@@ -955,8 +955,8 @@ declare const TaskRunFailedExecutionResult: z.ZodObject<{
955
955
  } | undefined;
956
956
  }, {
957
957
  error: {
958
- message: string;
959
958
  type: "BUILT_IN_ERROR";
959
+ message: string;
960
960
  name: string;
961
961
  stackTrace: string;
962
962
  } | {
@@ -966,8 +966,8 @@ declare const TaskRunFailedExecutionResult: z.ZodObject<{
966
966
  type: "STRING_ERROR";
967
967
  raw: string;
968
968
  } | {
969
- code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT";
970
969
  type: "INTERNAL_ERROR";
970
+ code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT";
971
971
  message?: string | undefined;
972
972
  stackTrace?: string | undefined;
973
973
  };
@@ -1051,13 +1051,13 @@ declare const TaskRunExecutionResult: z.ZodDiscriminatedUnion<"ok", [z.ZodObject
1051
1051
  message: z.ZodString;
1052
1052
  stackTrace: z.ZodString;
1053
1053
  }, "strip", z.ZodTypeAny, {
1054
- message: string;
1055
1054
  type: "BUILT_IN_ERROR";
1055
+ message: string;
1056
1056
  name: string;
1057
1057
  stackTrace: string;
1058
1058
  }, {
1059
- message: string;
1060
1059
  type: "BUILT_IN_ERROR";
1060
+ message: string;
1061
1061
  name: string;
1062
1062
  stackTrace: string;
1063
1063
  }>, z.ZodObject<{
@@ -1084,13 +1084,13 @@ declare const TaskRunExecutionResult: z.ZodDiscriminatedUnion<"ok", [z.ZodObject
1084
1084
  message: z.ZodOptional<z.ZodString>;
1085
1085
  stackTrace: z.ZodOptional<z.ZodString>;
1086
1086
  }, "strip", z.ZodTypeAny, {
1087
- code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT";
1088
1087
  type: "INTERNAL_ERROR";
1088
+ code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT";
1089
1089
  message?: string | undefined;
1090
1090
  stackTrace?: string | undefined;
1091
1091
  }, {
1092
- code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT";
1093
1092
  type: "INTERNAL_ERROR";
1093
+ code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT";
1094
1094
  message?: string | undefined;
1095
1095
  stackTrace?: string | undefined;
1096
1096
  }>]>;
@@ -1117,8 +1117,8 @@ declare const TaskRunExecutionResult: z.ZodDiscriminatedUnion<"ok", [z.ZodObject
1117
1117
  }>>;
1118
1118
  }, "strip", z.ZodTypeAny, {
1119
1119
  error: {
1120
- message: string;
1121
1120
  type: "BUILT_IN_ERROR";
1121
+ message: string;
1122
1122
  name: string;
1123
1123
  stackTrace: string;
1124
1124
  } | {
@@ -1128,8 +1128,8 @@ declare const TaskRunExecutionResult: z.ZodDiscriminatedUnion<"ok", [z.ZodObject
1128
1128
  type: "STRING_ERROR";
1129
1129
  raw: string;
1130
1130
  } | {
1131
- code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT";
1132
1131
  type: "INTERNAL_ERROR";
1132
+ code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT";
1133
1133
  message?: string | undefined;
1134
1134
  stackTrace?: string | undefined;
1135
1135
  };
@@ -1146,8 +1146,8 @@ declare const TaskRunExecutionResult: z.ZodDiscriminatedUnion<"ok", [z.ZodObject
1146
1146
  } | undefined;
1147
1147
  }, {
1148
1148
  error: {
1149
- message: string;
1150
1149
  type: "BUILT_IN_ERROR";
1150
+ message: string;
1151
1151
  name: string;
1152
1152
  stackTrace: string;
1153
1153
  } | {
@@ -1157,8 +1157,8 @@ declare const TaskRunExecutionResult: z.ZodDiscriminatedUnion<"ok", [z.ZodObject
1157
1157
  type: "STRING_ERROR";
1158
1158
  raw: string;
1159
1159
  } | {
1160
- code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT";
1161
1160
  type: "INTERNAL_ERROR";
1161
+ code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT";
1162
1162
  message?: string | undefined;
1163
1163
  stackTrace?: string | undefined;
1164
1164
  };
@@ -1214,13 +1214,13 @@ declare const BatchTaskRunExecutionResult: z.ZodObject<{
1214
1214
  message: z.ZodString;
1215
1215
  stackTrace: z.ZodString;
1216
1216
  }, "strip", z.ZodTypeAny, {
1217
- message: string;
1218
1217
  type: "BUILT_IN_ERROR";
1218
+ message: string;
1219
1219
  name: string;
1220
1220
  stackTrace: string;
1221
1221
  }, {
1222
- message: string;
1223
1222
  type: "BUILT_IN_ERROR";
1223
+ message: string;
1224
1224
  name: string;
1225
1225
  stackTrace: string;
1226
1226
  }>, z.ZodObject<{
@@ -1247,13 +1247,13 @@ declare const BatchTaskRunExecutionResult: z.ZodObject<{
1247
1247
  message: z.ZodOptional<z.ZodString>;
1248
1248
  stackTrace: z.ZodOptional<z.ZodString>;
1249
1249
  }, "strip", z.ZodTypeAny, {
1250
- code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT";
1251
1250
  type: "INTERNAL_ERROR";
1251
+ code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT";
1252
1252
  message?: string | undefined;
1253
1253
  stackTrace?: string | undefined;
1254
1254
  }, {
1255
- code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT";
1256
1255
  type: "INTERNAL_ERROR";
1256
+ code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT";
1257
1257
  message?: string | undefined;
1258
1258
  stackTrace?: string | undefined;
1259
1259
  }>]>;
@@ -1280,8 +1280,8 @@ declare const BatchTaskRunExecutionResult: z.ZodObject<{
1280
1280
  }>>;
1281
1281
  }, "strip", z.ZodTypeAny, {
1282
1282
  error: {
1283
- message: string;
1284
1283
  type: "BUILT_IN_ERROR";
1284
+ message: string;
1285
1285
  name: string;
1286
1286
  stackTrace: string;
1287
1287
  } | {
@@ -1291,8 +1291,8 @@ declare const BatchTaskRunExecutionResult: z.ZodObject<{
1291
1291
  type: "STRING_ERROR";
1292
1292
  raw: string;
1293
1293
  } | {
1294
- code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT";
1295
1294
  type: "INTERNAL_ERROR";
1295
+ code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT";
1296
1296
  message?: string | undefined;
1297
1297
  stackTrace?: string | undefined;
1298
1298
  };
@@ -1309,8 +1309,8 @@ declare const BatchTaskRunExecutionResult: z.ZodObject<{
1309
1309
  } | undefined;
1310
1310
  }, {
1311
1311
  error: {
1312
- message: string;
1313
1312
  type: "BUILT_IN_ERROR";
1313
+ message: string;
1314
1314
  name: string;
1315
1315
  stackTrace: string;
1316
1316
  } | {
@@ -1320,8 +1320,8 @@ declare const BatchTaskRunExecutionResult: z.ZodObject<{
1320
1320
  type: "STRING_ERROR";
1321
1321
  raw: string;
1322
1322
  } | {
1323
- code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT";
1324
1323
  type: "INTERNAL_ERROR";
1324
+ code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT";
1325
1325
  message?: string | undefined;
1326
1326
  stackTrace?: string | undefined;
1327
1327
  };
@@ -1349,8 +1349,8 @@ declare const BatchTaskRunExecutionResult: z.ZodObject<{
1349
1349
  } | undefined;
1350
1350
  } | {
1351
1351
  error: {
1352
- message: string;
1353
1352
  type: "BUILT_IN_ERROR";
1353
+ message: string;
1354
1354
  name: string;
1355
1355
  stackTrace: string;
1356
1356
  } | {
@@ -1360,8 +1360,8 @@ declare const BatchTaskRunExecutionResult: z.ZodObject<{
1360
1360
  type: "STRING_ERROR";
1361
1361
  raw: string;
1362
1362
  } | {
1363
- code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT";
1364
1363
  type: "INTERNAL_ERROR";
1364
+ code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT";
1365
1365
  message?: string | undefined;
1366
1366
  stackTrace?: string | undefined;
1367
1367
  };
@@ -1389,8 +1389,8 @@ declare const BatchTaskRunExecutionResult: z.ZodObject<{
1389
1389
  } | undefined;
1390
1390
  } | {
1391
1391
  error: {
1392
- message: string;
1393
1392
  type: "BUILT_IN_ERROR";
1393
+ message: string;
1394
1394
  name: string;
1395
1395
  stackTrace: string;
1396
1396
  } | {
@@ -1400,8 +1400,8 @@ declare const BatchTaskRunExecutionResult: z.ZodObject<{
1400
1400
  type: "STRING_ERROR";
1401
1401
  raw: string;
1402
1402
  } | {
1403
- code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT";
1404
1403
  type: "INTERNAL_ERROR";
1404
+ code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_RUN_CANCELLED" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT";
1405
1405
  message?: string | undefined;
1406
1406
  stackTrace?: string | undefined;
1407
1407
  };