@trigger.dev/core 0.0.0-v3-prerelease-20240708183321 → 0.0.0-v3-prerelease-20240717092755

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 (155) hide show
  1. package/dist/api--StDLb4h.d.ts +13879 -0
  2. package/dist/api-a39zAY3E.d.mts +13879 -0
  3. package/dist/{catalog-NxVZnWZh.d.ts → catalog-U7_q4XsM.d.mts} +12 -34
  4. package/dist/{catalog-N-X0Te3W.d.mts → catalog-bSnBE19I.d.ts} +12 -34
  5. package/dist/{common-fIyU5pmz.d.mts → common-CLW82lkt.d.mts} +1 -1
  6. package/dist/{common-fIyU5pmz.d.ts → common-CLW82lkt.d.ts} +1 -1
  7. package/dist/{eventFilterMatches-2kHImluE.d.mts → eventFilter-66NaBAMi.d.mts} +1 -3
  8. package/dist/{eventFilterMatches-2kHImluE.d.ts → eventFilter-66NaBAMi.d.ts} +1 -3
  9. package/dist/eventFilterMatches.d.mts +6 -0
  10. package/dist/eventFilterMatches.d.ts +6 -0
  11. package/dist/eventFilterMatches.js +165 -0
  12. package/dist/eventFilterMatches.js.map +1 -0
  13. package/dist/eventFilterMatches.mjs +163 -0
  14. package/dist/eventFilterMatches.mjs.map +1 -0
  15. package/dist/index.d.mts +14 -16716
  16. package/dist/index.d.ts +14 -16716
  17. package/dist/index.js +1 -1
  18. package/dist/index.js.map +1 -1
  19. package/dist/index.mjs +1 -1
  20. package/dist/index.mjs.map +1 -1
  21. package/dist/json-DBPEJQRe.d.mts +16 -0
  22. package/dist/json-DBPEJQRe.d.ts +16 -0
  23. package/dist/{manager-X_HrWQ7_.d.mts → manager-KvCabW1a.d.mts} +1 -1
  24. package/dist/{manager-2ZQ3_twq.d.ts → manager-OBA35PzR.d.ts} +1 -1
  25. package/dist/{messages-Sggr4tid.d.mts → messages-CHPNqMXf.d.mts} +41 -32
  26. package/dist/{messages-Sggr4tid.d.ts → messages-CHPNqMXf.d.ts} +41 -32
  27. package/dist/replacements.d.mts +22 -0
  28. package/dist/replacements.d.ts +22 -0
  29. package/dist/replacements.js +33 -0
  30. package/dist/replacements.js.map +1 -0
  31. package/dist/replacements.mjs +28 -0
  32. package/dist/replacements.mjs.map +1 -0
  33. package/dist/requestFilter-HNZQEpQb.d.ts +180 -0
  34. package/dist/requestFilter-b5W2_1oP.d.mts +180 -0
  35. package/dist/requestFilterMatches.d.mts +13 -0
  36. package/dist/requestFilterMatches.d.ts +13 -0
  37. package/dist/requestFilterMatches.js +238 -0
  38. package/dist/requestFilterMatches.js.map +1 -0
  39. package/dist/requestFilterMatches.mjs +235 -0
  40. package/dist/requestFilterMatches.mjs.map +1 -0
  41. package/dist/retry.d.mts +10 -0
  42. package/dist/retry.d.ts +10 -0
  43. package/dist/retry.js +100 -0
  44. package/dist/retry.js.map +1 -0
  45. package/dist/retry.mjs +97 -0
  46. package/dist/retry.mjs.map +1 -0
  47. package/dist/schemas/index.d.mts +2611 -0
  48. package/dist/schemas/index.d.ts +2611 -0
  49. package/dist/schemas/index.js +1630 -0
  50. package/dist/schemas/index.js.map +1 -0
  51. package/dist/schemas/index.mjs +1463 -0
  52. package/dist/schemas/index.mjs.map +1 -0
  53. package/dist/{schemas-Zy7mGFgD.d.mts → schemas-WHkFakb3.d.mts} +4 -1
  54. package/dist/{schemas-Zy7mGFgD.d.ts → schemas-WHkFakb3.d.ts} +4 -1
  55. package/dist/taskLogger-CzADe4je.d.ts +33 -0
  56. package/dist/taskLogger-r_AFTX45.d.mts +33 -0
  57. package/dist/types.d.mts +11 -0
  58. package/dist/types.d.ts +11 -0
  59. package/dist/types.js +4 -0
  60. package/dist/types.js.map +1 -0
  61. package/dist/types.mjs +3 -0
  62. package/dist/types.mjs.map +1 -0
  63. package/dist/utils.d.mts +7 -0
  64. package/dist/utils.d.ts +7 -0
  65. package/dist/utils.js +33 -0
  66. package/dist/utils.js.map +1 -0
  67. package/dist/utils.mjs +30 -0
  68. package/dist/utils.mjs.map +1 -0
  69. package/dist/v3/dev/index.d.mts +2 -2
  70. package/dist/v3/dev/index.d.ts +2 -2
  71. package/dist/v3/errors.d.mts +39 -0
  72. package/dist/v3/errors.d.ts +39 -0
  73. package/dist/v3/errors.js +204 -0
  74. package/dist/v3/errors.js.map +1 -0
  75. package/dist/v3/errors.mjs +195 -0
  76. package/dist/v3/errors.mjs.map +1 -0
  77. package/dist/v3/index.d.mts +46 -211
  78. package/dist/v3/index.d.ts +46 -211
  79. package/dist/v3/index.js +8 -2
  80. package/dist/v3/index.js.map +1 -1
  81. package/dist/v3/index.mjs +8 -2
  82. package/dist/v3/index.mjs.map +1 -1
  83. package/dist/v3/logger-api.d.mts +24 -0
  84. package/dist/v3/logger-api.d.ts +24 -0
  85. package/dist/v3/logger-api.js +118 -0
  86. package/dist/v3/logger-api.js.map +1 -0
  87. package/dist/v3/logger-api.mjs +116 -0
  88. package/dist/v3/logger-api.mjs.map +1 -0
  89. package/dist/v3/otel/index.js +1 -1
  90. package/dist/v3/otel/index.js.map +1 -1
  91. package/dist/v3/otel/index.mjs +1 -1
  92. package/dist/v3/otel/index.mjs.map +1 -1
  93. package/dist/v3/prod/index.d.mts +3 -3
  94. package/dist/v3/prod/index.d.ts +3 -3
  95. package/dist/v3/schemas/index.d.mts +110 -110
  96. package/dist/v3/schemas/index.d.ts +110 -110
  97. package/dist/v3/schemas/index.js +7 -1
  98. package/dist/v3/schemas/index.js.map +1 -1
  99. package/dist/v3/schemas/index.mjs +7 -1
  100. package/dist/v3/schemas/index.mjs.map +1 -1
  101. package/dist/v3/semanticInternalAttributes.d.mts +56 -0
  102. package/dist/v3/semanticInternalAttributes.d.ts +56 -0
  103. package/dist/v3/semanticInternalAttributes.js +61 -0
  104. package/dist/v3/semanticInternalAttributes.js.map +1 -0
  105. package/dist/v3/semanticInternalAttributes.mjs +59 -0
  106. package/dist/v3/semanticInternalAttributes.mjs.map +1 -0
  107. package/dist/v3/utils/flattenAttributes.d.mts +8 -0
  108. package/dist/v3/utils/flattenAttributes.d.ts +8 -0
  109. package/dist/v3/utils/flattenAttributes.js +131 -0
  110. package/dist/v3/utils/flattenAttributes.js.map +1 -0
  111. package/dist/v3/utils/flattenAttributes.mjs +126 -0
  112. package/dist/v3/utils/flattenAttributes.mjs.map +1 -0
  113. package/dist/v3/utils/ioSerialization.d.mts +21 -0
  114. package/dist/v3/utils/ioSerialization.d.ts +21 -0
  115. package/dist/v3/utils/ioSerialization.js +2348 -0
  116. package/dist/v3/utils/ioSerialization.js.map +1 -0
  117. package/dist/v3/utils/ioSerialization.mjs +2339 -0
  118. package/dist/v3/utils/ioSerialization.mjs.map +1 -0
  119. package/dist/v3/utils/omit.d.mts +3 -0
  120. package/dist/v3/utils/omit.d.ts +3 -0
  121. package/dist/v3/utils/omit.js +20 -0
  122. package/dist/v3/utils/omit.js.map +1 -0
  123. package/dist/v3/utils/omit.mjs +18 -0
  124. package/dist/v3/utils/omit.mjs.map +1 -0
  125. package/dist/v3/utils/retries.d.mts +46 -0
  126. package/dist/v3/utils/retries.d.ts +46 -0
  127. package/dist/v3/utils/retries.js +118 -0
  128. package/dist/v3/utils/retries.js.map +1 -0
  129. package/dist/v3/utils/retries.mjs +113 -0
  130. package/dist/v3/utils/retries.mjs.map +1 -0
  131. package/dist/v3/workers/index.d.mts +7 -6
  132. package/dist/v3/workers/index.d.ts +7 -6
  133. package/dist/v3/workers/index.js +3 -2
  134. package/dist/v3/workers/index.js.map +1 -1
  135. package/dist/v3/workers/index.mjs +3 -2
  136. package/dist/v3/workers/index.mjs.map +1 -1
  137. package/dist/v3/zodIpc.js.map +1 -1
  138. package/dist/v3/zodIpc.mjs.map +1 -1
  139. package/dist/v3/zodMessageHandler.d.mts +15 -2
  140. package/dist/v3/zodMessageHandler.d.ts +15 -2
  141. package/dist/v3/zodMessageHandler.js +59 -13
  142. package/dist/v3/zodMessageHandler.js.map +1 -1
  143. package/dist/v3/zodMessageHandler.mjs +59 -13
  144. package/dist/v3/zodMessageHandler.mjs.map +1 -1
  145. package/dist/v3/zodNamespace.js.map +1 -1
  146. package/dist/v3/zodNamespace.mjs.map +1 -1
  147. package/dist/v3/zodfetch.d.mts +1 -1
  148. package/dist/v3/zodfetch.d.ts +1 -1
  149. package/dist/versions.d.mts +11 -0
  150. package/dist/versions.d.ts +11 -0
  151. package/dist/versions.js +31 -0
  152. package/dist/versions.js.map +1 -0
  153. package/dist/versions.mjs +27 -0
  154. package/dist/versions.mjs.map +1 -0
  155. package/package.json +139 -19
@@ -0,0 +1,16 @@
1
+ import { z } from 'zod';
2
+
3
+ declare const LiteralSchema: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
4
+ type Literal = z.infer<typeof LiteralSchema>;
5
+ type DeserializedJson = Literal | {
6
+ [key: string]: DeserializedJson;
7
+ } | DeserializedJson[];
8
+ declare const DeserializedJsonSchema: z.ZodType<DeserializedJson>;
9
+ declare const SerializableSchema: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate, z.ZodUndefined, z.ZodSymbol]>;
10
+ type Serializable = z.infer<typeof SerializableSchema>;
11
+ type SerializableJson = Serializable | {
12
+ [key: string]: SerializableJson;
13
+ } | SerializableJson[];
14
+ declare const SerializableJsonSchema: z.ZodType<SerializableJson>;
15
+
16
+ export { type DeserializedJson as D, type SerializableJson as S, DeserializedJsonSchema as a, SerializableJsonSchema as b };
@@ -0,0 +1,16 @@
1
+ import { z } from 'zod';
2
+
3
+ declare const LiteralSchema: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
4
+ type Literal = z.infer<typeof LiteralSchema>;
5
+ type DeserializedJson = Literal | {
6
+ [key: string]: DeserializedJson;
7
+ } | DeserializedJson[];
8
+ declare const DeserializedJsonSchema: z.ZodType<DeserializedJson>;
9
+ declare const SerializableSchema: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodDate, z.ZodUndefined, z.ZodSymbol]>;
10
+ type Serializable = z.infer<typeof SerializableSchema>;
11
+ type SerializableJson = Serializable | {
12
+ [key: string]: SerializableJson;
13
+ } | SerializableJson[];
14
+ declare const SerializableJsonSchema: z.ZodType<SerializableJson>;
15
+
16
+ export { type DeserializedJson as D, type SerializableJson as S, DeserializedJsonSchema as a, SerializableJsonSchema as b };
@@ -1,4 +1,4 @@
1
- import { a as TaskRunContext, T as TaskRunExecutionResult, B as BatchTaskRunExecutionResult } from './common-fIyU5pmz.mjs';
1
+ import { a as TaskRunContext, T as TaskRunExecutionResult, B as BatchTaskRunExecutionResult } from './common-CLW82lkt.mjs';
2
2
 
3
3
  interface RuntimeManager {
4
4
  disable(): void;
@@ -1,4 +1,4 @@
1
- import { a as TaskRunContext, T as TaskRunExecutionResult, B as BatchTaskRunExecutionResult } from './common-fIyU5pmz.js';
1
+ import { a as TaskRunContext, T as TaskRunExecutionResult, B as BatchTaskRunExecutionResult } from './common-CLW82lkt.js';
2
2
 
3
3
  interface RuntimeManager {
4
4
  disable(): void;
@@ -3851,6 +3851,11 @@ declare const workerToChildMessages: {
3851
3851
  }>;
3852
3852
  }, "strip", z.ZodTypeAny, {
3853
3853
  version: "v1";
3854
+ metadata: {
3855
+ id: string;
3856
+ version: string;
3857
+ contentHash: string;
3858
+ };
3854
3859
  execution: {
3855
3860
  task: {
3856
3861
  id: string;
@@ -3911,12 +3916,12 @@ declare const workerToChildMessages: {
3911
3916
  } | undefined;
3912
3917
  };
3913
3918
  traceContext: Record<string, unknown>;
3919
+ }, {
3914
3920
  metadata: {
3915
3921
  id: string;
3916
3922
  version: string;
3917
3923
  contentHash: string;
3918
3924
  };
3919
- }, {
3920
3925
  execution: {
3921
3926
  task: {
3922
3927
  id: string;
@@ -3977,11 +3982,6 @@ declare const workerToChildMessages: {
3977
3982
  } | undefined;
3978
3983
  };
3979
3984
  traceContext: Record<string, unknown>;
3980
- metadata: {
3981
- id: string;
3982
- version: string;
3983
- contentHash: string;
3984
- };
3985
3985
  version?: "v1" | undefined;
3986
3986
  }>;
3987
3987
  TASK_RUN_COMPLETED_NOTIFICATION: z.ZodDiscriminatedUnion<"version", [z.ZodObject<{
@@ -7597,6 +7597,11 @@ declare const ProdWorkerToChildMessages: {
7597
7597
  }>;
7598
7598
  }, "strip", z.ZodTypeAny, {
7599
7599
  version: "v1";
7600
+ metadata: {
7601
+ id: string;
7602
+ version: string;
7603
+ contentHash: string;
7604
+ };
7600
7605
  execution: {
7601
7606
  task: {
7602
7607
  id: string;
@@ -7657,12 +7662,12 @@ declare const ProdWorkerToChildMessages: {
7657
7662
  } | undefined;
7658
7663
  };
7659
7664
  traceContext: Record<string, unknown>;
7665
+ }, {
7660
7666
  metadata: {
7661
7667
  id: string;
7662
7668
  version: string;
7663
7669
  contentHash: string;
7664
7670
  };
7665
- }, {
7666
7671
  execution: {
7667
7672
  task: {
7668
7673
  id: string;
@@ -7723,11 +7728,6 @@ declare const ProdWorkerToChildMessages: {
7723
7728
  } | undefined;
7724
7729
  };
7725
7730
  traceContext: Record<string, unknown>;
7726
- metadata: {
7727
- id: string;
7728
- version: string;
7729
- contentHash: string;
7730
- };
7731
7731
  version?: "v1" | undefined;
7732
7732
  }>;
7733
7733
  };
@@ -8751,8 +8751,8 @@ declare const PlatformToProviderMessages: {
8751
8751
  deploymentId: z.ZodString;
8752
8752
  }, "strip", z.ZodTypeAny, {
8753
8753
  version: "v1";
8754
- imageTag: string;
8755
8754
  apiKey: string;
8755
+ imageTag: string;
8756
8756
  apiUrl: string;
8757
8757
  projectId: string;
8758
8758
  shortCode: string;
@@ -8761,8 +8761,8 @@ declare const PlatformToProviderMessages: {
8761
8761
  orgId: string;
8762
8762
  deploymentId: string;
8763
8763
  }, {
8764
- imageTag: string;
8765
8764
  apiKey: string;
8765
+ imageTag: string;
8766
8766
  apiUrl: string;
8767
8767
  projectId: string;
8768
8768
  shortCode: string;
@@ -8852,12 +8852,12 @@ declare const PlatformToProviderMessages: {
8852
8852
  centsPerMs: number;
8853
8853
  };
8854
8854
  version: "v1";
8855
+ location: string;
8855
8856
  runId: string;
8856
8857
  projectId: string;
8857
8858
  envId: string;
8858
8859
  envType: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
8859
8860
  orgId: string;
8860
- location: string;
8861
8861
  imageRef: string;
8862
8862
  checkpointId: string;
8863
8863
  reason?: string | undefined;
@@ -8869,12 +8869,12 @@ declare const PlatformToProviderMessages: {
8869
8869
  memory: number;
8870
8870
  centsPerMs: number;
8871
8871
  };
8872
+ location: string;
8872
8873
  runId: string;
8873
8874
  projectId: string;
8874
8875
  envId: string;
8875
8876
  envType: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
8876
8877
  orgId: string;
8877
- location: string;
8878
8878
  imageRef: string;
8879
8879
  checkpointId: string;
8880
8880
  version?: "v1" | undefined;
@@ -9236,7 +9236,6 @@ declare const CoordinatorToPlatformMessages: {
9236
9236
  triggerSource?: string | undefined;
9237
9237
  }>, "many">;
9238
9238
  }, "strip", z.ZodTypeAny, {
9239
- packageVersion: string;
9240
9239
  contentHash: string;
9241
9240
  tasks: {
9242
9241
  id: string;
@@ -9293,9 +9292,9 @@ declare const CoordinatorToPlatformMessages: {
9293
9292
  } | undefined;
9294
9293
  triggerSource?: string | undefined;
9295
9294
  }[];
9295
+ packageVersion: string;
9296
9296
  cliPackageVersion?: string | undefined;
9297
9297
  }, {
9298
- packageVersion: string;
9299
9298
  contentHash: string;
9300
9299
  tasks: {
9301
9300
  id: string;
@@ -9352,6 +9351,7 @@ declare const CoordinatorToPlatformMessages: {
9352
9351
  } | undefined;
9353
9352
  triggerSource?: string | undefined;
9354
9353
  }[];
9354
+ packageVersion: string;
9355
9355
  cliPackageVersion?: string | undefined;
9356
9356
  }>;
9357
9357
  envId: z.ZodString;
@@ -9361,7 +9361,6 @@ declare const CoordinatorToPlatformMessages: {
9361
9361
  }, "strip", z.ZodTypeAny, {
9362
9362
  version: "v1";
9363
9363
  metadata: {
9364
- packageVersion: string;
9365
9364
  contentHash: string;
9366
9365
  tasks: {
9367
9366
  id: string;
@@ -9418,6 +9417,7 @@ declare const CoordinatorToPlatformMessages: {
9418
9417
  } | undefined;
9419
9418
  triggerSource?: string | undefined;
9420
9419
  }[];
9420
+ packageVersion: string;
9421
9421
  cliPackageVersion?: string | undefined;
9422
9422
  };
9423
9423
  envId: string;
@@ -9426,7 +9426,6 @@ declare const CoordinatorToPlatformMessages: {
9426
9426
  }, {
9427
9427
  version: "v1";
9428
9428
  metadata: {
9429
- packageVersion: string;
9430
9429
  contentHash: string;
9431
9430
  tasks: {
9432
9431
  id: string;
@@ -9483,6 +9482,7 @@ declare const CoordinatorToPlatformMessages: {
9483
9482
  } | undefined;
9484
9483
  triggerSource?: string | undefined;
9485
9484
  }[];
9485
+ packageVersion: string;
9486
9486
  cliPackageVersion?: string | undefined;
9487
9487
  };
9488
9488
  envId: string;
@@ -9825,7 +9825,6 @@ declare const CoordinatorToPlatformMessages: {
9825
9825
  triggerSource?: string | undefined;
9826
9826
  }>, "many">;
9827
9827
  }, "strip", z.ZodTypeAny, {
9828
- packageVersion: string;
9829
9828
  contentHash: string;
9830
9829
  tasks: {
9831
9830
  id: string;
@@ -9882,9 +9881,9 @@ declare const CoordinatorToPlatformMessages: {
9882
9881
  } | undefined;
9883
9882
  triggerSource?: string | undefined;
9884
9883
  }[];
9884
+ packageVersion: string;
9885
9885
  cliPackageVersion?: string | undefined;
9886
9886
  }, {
9887
- packageVersion: string;
9888
9887
  contentHash: string;
9889
9888
  tasks: {
9890
9889
  id: string;
@@ -9941,6 +9940,7 @@ declare const CoordinatorToPlatformMessages: {
9941
9940
  } | undefined;
9942
9941
  triggerSource?: string | undefined;
9943
9942
  }[];
9943
+ packageVersion: string;
9944
9944
  cliPackageVersion?: string | undefined;
9945
9945
  }>;
9946
9946
  envId: z.ZodString;
@@ -9951,7 +9951,6 @@ declare const CoordinatorToPlatformMessages: {
9951
9951
  }, "strip", z.ZodTypeAny, {
9952
9952
  version: "v2";
9953
9953
  metadata: {
9954
- packageVersion: string;
9955
9954
  contentHash: string;
9956
9955
  tasks: {
9957
9956
  id: string;
@@ -10008,6 +10007,7 @@ declare const CoordinatorToPlatformMessages: {
10008
10007
  } | undefined;
10009
10008
  triggerSource?: string | undefined;
10010
10009
  }[];
10010
+ packageVersion: string;
10011
10011
  cliPackageVersion?: string | undefined;
10012
10012
  };
10013
10013
  supportsLazyAttempts: boolean;
@@ -10017,7 +10017,6 @@ declare const CoordinatorToPlatformMessages: {
10017
10017
  }, {
10018
10018
  version: "v2";
10019
10019
  metadata: {
10020
- packageVersion: string;
10021
10020
  contentHash: string;
10022
10021
  tasks: {
10023
10022
  id: string;
@@ -10074,6 +10073,7 @@ declare const CoordinatorToPlatformMessages: {
10074
10073
  } | undefined;
10075
10074
  triggerSource?: string | undefined;
10076
10075
  }[];
10076
+ packageVersion: string;
10077
10077
  cliPackageVersion?: string | undefined;
10078
10078
  };
10079
10079
  supportsLazyAttempts: boolean;
@@ -12338,6 +12338,7 @@ declare const CoordinatorToPlatformMessages: {
12338
12338
  }>]>;
12339
12339
  }, "strip", z.ZodTypeAny, {
12340
12340
  version: "v1";
12341
+ location: string;
12341
12342
  reason: {
12342
12343
  type: "WAIT_FOR_DURATION";
12343
12344
  ms: number;
@@ -12353,10 +12354,10 @@ declare const CoordinatorToPlatformMessages: {
12353
12354
  type: "RETRYING_AFTER_FAILURE";
12354
12355
  attemptNumber: number;
12355
12356
  };
12356
- location: string;
12357
12357
  attemptFriendlyId: string;
12358
12358
  docker: boolean;
12359
12359
  }, {
12360
+ location: string;
12360
12361
  reason: {
12361
12362
  type: "WAIT_FOR_DURATION";
12362
12363
  ms: number;
@@ -12372,7 +12373,6 @@ declare const CoordinatorToPlatformMessages: {
12372
12373
  type: "RETRYING_AFTER_FAILURE";
12373
12374
  attemptNumber: number;
12374
12375
  };
12375
- location: string;
12376
12376
  attemptFriendlyId: string;
12377
12377
  docker: boolean;
12378
12378
  version?: "v1" | undefined;
@@ -14359,6 +14359,15 @@ declare const ClientToSharedQueueMessages: {
14359
14359
  version?: "v1" | undefined;
14360
14360
  }>;
14361
14361
  };
14362
+ PING: {
14363
+ message: z.ZodObject<{
14364
+ version: z.ZodDefault<z.ZodLiteral<"v1">>;
14365
+ }, "strip", z.ZodTypeAny, {
14366
+ version: "v1";
14367
+ }, {
14368
+ version?: "v1" | undefined;
14369
+ }>;
14370
+ };
14362
14371
  };
14363
14372
  declare const SharedQueueToClientMessages: {
14364
14373
  SERVER_READY: {
@@ -15237,7 +15246,6 @@ declare const ProdWorkerToCoordinatorMessages: {
15237
15246
  };
15238
15247
  INDEX_TASKS: {
15239
15248
  message: z.ZodDiscriminatedUnion<"version", [z.ZodObject<{
15240
- packageVersion: z.ZodString;
15241
15249
  tasks: z.ZodArray<z.ZodObject<{
15242
15250
  id: z.ZodString;
15243
15251
  filePath: z.ZodString;
@@ -15569,10 +15577,10 @@ declare const ProdWorkerToCoordinatorMessages: {
15569
15577
  } | undefined;
15570
15578
  triggerSource?: string | undefined;
15571
15579
  }>, "many">;
15580
+ packageVersion: z.ZodString;
15572
15581
  deploymentId: z.ZodString;
15573
15582
  version: z.ZodLiteral<"v1">;
15574
15583
  }, "strip", z.ZodTypeAny, {
15575
- packageVersion: string;
15576
15584
  version: "v1";
15577
15585
  tasks: {
15578
15586
  id: string;
@@ -15629,9 +15637,9 @@ declare const ProdWorkerToCoordinatorMessages: {
15629
15637
  } | undefined;
15630
15638
  triggerSource?: string | undefined;
15631
15639
  }[];
15640
+ packageVersion: string;
15632
15641
  deploymentId: string;
15633
15642
  }, {
15634
- packageVersion: string;
15635
15643
  version: "v1";
15636
15644
  tasks: {
15637
15645
  id: string;
@@ -15688,9 +15696,9 @@ declare const ProdWorkerToCoordinatorMessages: {
15688
15696
  } | undefined;
15689
15697
  triggerSource?: string | undefined;
15690
15698
  }[];
15699
+ packageVersion: string;
15691
15700
  deploymentId: string;
15692
15701
  }>, z.ZodObject<{
15693
- packageVersion: z.ZodString;
15694
15702
  tasks: z.ZodArray<z.ZodObject<{
15695
15703
  id: z.ZodString;
15696
15704
  filePath: z.ZodString;
@@ -16022,11 +16030,11 @@ declare const ProdWorkerToCoordinatorMessages: {
16022
16030
  } | undefined;
16023
16031
  triggerSource?: string | undefined;
16024
16032
  }>, "many">;
16033
+ packageVersion: z.ZodString;
16025
16034
  deploymentId: z.ZodString;
16026
16035
  version: z.ZodLiteral<"v2">;
16027
16036
  supportsLazyAttempts: z.ZodBoolean;
16028
16037
  }, "strip", z.ZodTypeAny, {
16029
- packageVersion: string;
16030
16038
  version: "v2";
16031
16039
  tasks: {
16032
16040
  id: string;
@@ -16083,10 +16091,10 @@ declare const ProdWorkerToCoordinatorMessages: {
16083
16091
  } | undefined;
16084
16092
  triggerSource?: string | undefined;
16085
16093
  }[];
16094
+ packageVersion: string;
16086
16095
  supportsLazyAttempts: boolean;
16087
16096
  deploymentId: string;
16088
16097
  }, {
16089
- packageVersion: string;
16090
16098
  version: "v2";
16091
16099
  tasks: {
16092
16100
  id: string;
@@ -16143,6 +16151,7 @@ declare const ProdWorkerToCoordinatorMessages: {
16143
16151
  } | undefined;
16144
16152
  triggerSource?: string | undefined;
16145
16153
  }[];
16154
+ packageVersion: string;
16146
16155
  supportsLazyAttempts: boolean;
16147
16156
  deploymentId: string;
16148
16157
  }>]>;