@trigger.dev/core 3.0.0-beta.45 → 3.0.0-beta.46

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 (55) hide show
  1. package/dist/{catalog-mlNxCacM.d.ts → catalog-9G8AqnI9.d.ts} +1 -1
  2. package/dist/{catalog-QcLmPVsr.d.mts → catalog-Y0mRLMtJ.d.mts} +1 -1
  3. package/dist/{messages-EJX0bMsF.d.mts → messages-nXkzt5CT.d.mts} +71 -70
  4. package/dist/{messages-EJX0bMsF.d.ts → messages-nXkzt5CT.d.ts} +71 -70
  5. package/dist/{schemas-Sb0sJcEt.d.mts → schemas-CeAee_C2.d.mts} +3 -0
  6. package/dist/{schemas-Sb0sJcEt.d.ts → schemas-CeAee_C2.d.ts} +3 -0
  7. package/dist/v3/dev/index.js.map +1 -1
  8. package/dist/v3/dev/index.mjs.map +1 -1
  9. package/dist/v3/index.d.mts +6 -6
  10. package/dist/v3/index.d.ts +6 -6
  11. package/dist/v3/index.js +34 -41
  12. package/dist/v3/index.js.map +1 -1
  13. package/dist/v3/index.mjs +34 -42
  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 +2 -2
  20. package/dist/v3/prod/index.d.ts +2 -2
  21. package/dist/v3/prod/index.js +7 -131
  22. package/dist/v3/prod/index.js.map +1 -1
  23. package/dist/v3/prod/index.mjs +7 -131
  24. package/dist/v3/prod/index.mjs.map +1 -1
  25. package/dist/v3/schemas/index.d.mts +3 -3
  26. package/dist/v3/schemas/index.d.ts +3 -3
  27. package/dist/v3/schemas/index.js +32 -39
  28. package/dist/v3/schemas/index.js.map +1 -1
  29. package/dist/v3/schemas/index.mjs +32 -40
  30. package/dist/v3/schemas/index.mjs.map +1 -1
  31. package/dist/v3/utils/timers.d.mts +6 -0
  32. package/dist/v3/utils/timers.d.ts +6 -0
  33. package/dist/v3/utils/timers.js +31 -0
  34. package/dist/v3/utils/timers.js.map +1 -0
  35. package/dist/v3/utils/timers.mjs +28 -0
  36. package/dist/v3/utils/timers.mjs.map +1 -0
  37. package/dist/v3/workers/index.d.mts +4 -4
  38. package/dist/v3/workers/index.d.ts +4 -4
  39. package/dist/v3/workers/index.js +2 -1
  40. package/dist/v3/workers/index.js.map +1 -1
  41. package/dist/v3/workers/index.mjs +2 -1
  42. package/dist/v3/workers/index.mjs.map +1 -1
  43. package/dist/v3/zodNamespace.js +41 -18
  44. package/dist/v3/zodNamespace.js.map +1 -1
  45. package/dist/v3/zodNamespace.mjs +42 -19
  46. package/dist/v3/zodNamespace.mjs.map +1 -1
  47. package/dist/v3/zodSocket.d.mts +8 -3
  48. package/dist/v3/zodSocket.d.ts +8 -3
  49. package/dist/v3/zodSocket.js +56 -25
  50. package/dist/v3/zodSocket.js.map +1 -1
  51. package/dist/v3/zodSocket.mjs +57 -26
  52. package/dist/v3/zodSocket.mjs.map +1 -1
  53. package/dist/v3/zodfetch.d.mts +1 -1
  54. package/dist/v3/zodfetch.d.ts +1 -1
  55. package/package.json +10 -2
@@ -1,7 +1,7 @@
1
1
  import { Context as Context$1, Span, SpanOptions, Tracer } from '@opentelemetry/api';
2
2
  import { Logger } from '@opentelemetry/api-logs';
3
3
  import { M as MachinePresetName, a as TaskRunContext } from './common-55Mqj8JP.js';
4
- import { R as RetryOptions, P as Prettify, b as TaskMetadata, T as TaskFileMetadata, a as TaskMetadataWithFilePath } from './schemas-Sb0sJcEt.js';
4
+ import { R as RetryOptions, P as Prettify, b as TaskMetadata, T as TaskFileMetadata, a as TaskMetadataWithFilePath } from './schemas-CeAee_C2.js';
5
5
  import { InstrumentationOption } from '@opentelemetry/instrumentation';
6
6
 
7
7
  type TriggerTracerConfig = {
@@ -1,7 +1,7 @@
1
1
  import { Context as Context$1, Span, SpanOptions, Tracer } from '@opentelemetry/api';
2
2
  import { Logger } from '@opentelemetry/api-logs';
3
3
  import { M as MachinePresetName, a as TaskRunContext } from './common-55Mqj8JP.mjs';
4
- import { R as RetryOptions, P as Prettify, b as TaskMetadata, T as TaskFileMetadata, a as TaskMetadataWithFilePath } from './schemas-Sb0sJcEt.mjs';
4
+ import { R as RetryOptions, P as Prettify, b as TaskMetadata, T as TaskFileMetadata, a as TaskMetadataWithFilePath } from './schemas-CeAee_C2.mjs';
5
5
  import { InstrumentationOption } from '@opentelemetry/instrumentation';
6
6
 
7
7
  type TriggerTracerConfig = {
@@ -596,6 +596,7 @@ declare const BackgroundWorkerServerMessages: z.ZodDiscriminatedUnion<"type", [z
596
596
  type: z.ZodLiteral<"EXECUTE_RUN_LAZY_ATTEMPT">;
597
597
  payload: z.ZodObject<{
598
598
  runId: z.ZodString;
599
+ attemptCount: z.ZodOptional<z.ZodNumber>;
599
600
  messageId: z.ZodString;
600
601
  isTest: z.ZodBoolean;
601
602
  traceContext: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -605,12 +606,14 @@ declare const BackgroundWorkerServerMessages: z.ZodDiscriminatedUnion<"type", [z
605
606
  traceContext: Record<string, unknown>;
606
607
  runId: string;
607
608
  messageId: string;
609
+ attemptCount?: number | undefined;
608
610
  environment?: Record<string, string> | undefined;
609
611
  }, {
610
612
  isTest: boolean;
611
613
  traceContext: Record<string, unknown>;
612
614
  runId: string;
613
615
  messageId: string;
616
+ attemptCount?: number | undefined;
614
617
  environment?: Record<string, string> | undefined;
615
618
  }>;
616
619
  }, "strip", z.ZodTypeAny, {
@@ -620,6 +623,7 @@ declare const BackgroundWorkerServerMessages: z.ZodDiscriminatedUnion<"type", [z
620
623
  traceContext: Record<string, unknown>;
621
624
  runId: string;
622
625
  messageId: string;
626
+ attemptCount?: number | undefined;
623
627
  environment?: Record<string, string> | undefined;
624
628
  };
625
629
  }, {
@@ -629,6 +633,7 @@ declare const BackgroundWorkerServerMessages: z.ZodDiscriminatedUnion<"type", [z
629
633
  traceContext: Record<string, unknown>;
630
634
  runId: string;
631
635
  messageId: string;
636
+ attemptCount?: number | undefined;
632
637
  environment?: Record<string, string> | undefined;
633
638
  };
634
639
  }>]>;
@@ -1243,6 +1248,7 @@ declare const serverWebsocketMessages: {
1243
1248
  type: z.ZodLiteral<"EXECUTE_RUN_LAZY_ATTEMPT">;
1244
1249
  payload: z.ZodObject<{
1245
1250
  runId: z.ZodString;
1251
+ attemptCount: z.ZodOptional<z.ZodNumber>;
1246
1252
  messageId: z.ZodString;
1247
1253
  isTest: z.ZodBoolean;
1248
1254
  traceContext: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -1252,12 +1258,14 @@ declare const serverWebsocketMessages: {
1252
1258
  traceContext: Record<string, unknown>;
1253
1259
  runId: string;
1254
1260
  messageId: string;
1261
+ attemptCount?: number | undefined;
1255
1262
  environment?: Record<string, string> | undefined;
1256
1263
  }, {
1257
1264
  isTest: boolean;
1258
1265
  traceContext: Record<string, unknown>;
1259
1266
  runId: string;
1260
1267
  messageId: string;
1268
+ attemptCount?: number | undefined;
1261
1269
  environment?: Record<string, string> | undefined;
1262
1270
  }>;
1263
1271
  }, "strip", z.ZodTypeAny, {
@@ -1267,6 +1275,7 @@ declare const serverWebsocketMessages: {
1267
1275
  traceContext: Record<string, unknown>;
1268
1276
  runId: string;
1269
1277
  messageId: string;
1278
+ attemptCount?: number | undefined;
1270
1279
  environment?: Record<string, string> | undefined;
1271
1280
  };
1272
1281
  }, {
@@ -1276,6 +1285,7 @@ declare const serverWebsocketMessages: {
1276
1285
  traceContext: Record<string, unknown>;
1277
1286
  runId: string;
1278
1287
  messageId: string;
1288
+ attemptCount?: number | undefined;
1279
1289
  environment?: Record<string, string> | undefined;
1280
1290
  };
1281
1291
  }>]>;
@@ -1372,6 +1382,7 @@ declare const serverWebsocketMessages: {
1372
1382
  traceContext: Record<string, unknown>;
1373
1383
  runId: string;
1374
1384
  messageId: string;
1385
+ attemptCount?: number | undefined;
1375
1386
  environment?: Record<string, string> | undefined;
1376
1387
  };
1377
1388
  };
@@ -1469,6 +1480,7 @@ declare const serverWebsocketMessages: {
1469
1480
  traceContext: Record<string, unknown>;
1470
1481
  runId: string;
1471
1482
  messageId: string;
1483
+ attemptCount?: number | undefined;
1472
1484
  environment?: Record<string, string> | undefined;
1473
1485
  };
1474
1486
  };
@@ -7146,82 +7158,26 @@ declare const ProdChildToWorkerMessages: {
7146
7158
  version?: "v1" | undefined;
7147
7159
  }>;
7148
7160
  };
7149
- TASK_RUN_HEARTBEAT: {
7150
- message: z.ZodObject<{
7151
- version: z.ZodDefault<z.ZodLiteral<"v1">>;
7152
- id: z.ZodString;
7153
- }, "strip", z.ZodTypeAny, {
7154
- id: string;
7155
- version: "v1";
7156
- }, {
7157
- id: string;
7158
- version?: "v1" | undefined;
7159
- }>;
7160
- };
7161
7161
  READY_TO_DISPOSE: {
7162
7162
  message: z.ZodUndefined;
7163
7163
  };
7164
- READY_FOR_CHECKPOINT: {
7165
- message: z.ZodObject<{
7166
- version: z.ZodDefault<z.ZodLiteral<"v1">>;
7167
- }, "strip", z.ZodTypeAny, {
7168
- version: "v1";
7169
- }, {
7170
- version?: "v1" | undefined;
7171
- }>;
7172
- };
7173
- CANCEL_CHECKPOINT: {
7174
- message: z.ZodDefault<z.ZodDiscriminatedUnion<"version", [z.ZodObject<{
7175
- version: z.ZodLiteral<"v1">;
7176
- }, "strip", z.ZodTypeAny, {
7177
- version: "v1";
7178
- }, {
7179
- version: "v1";
7180
- }>, z.ZodObject<{
7181
- version: z.ZodLiteral<"v2">;
7182
- reason: z.ZodOptional<z.ZodEnum<["WAIT_FOR_DURATION", "WAIT_FOR_TASK", "WAIT_FOR_BATCH"]>>;
7183
- }, "strip", z.ZodTypeAny, {
7184
- version: "v2";
7185
- reason?: "WAIT_FOR_DURATION" | "WAIT_FOR_TASK" | "WAIT_FOR_BATCH" | undefined;
7186
- }, {
7187
- version: "v2";
7188
- reason?: "WAIT_FOR_DURATION" | "WAIT_FOR_TASK" | "WAIT_FOR_BATCH" | undefined;
7189
- }>]>>;
7190
- callback: z.ZodObject<{
7191
- version: z.ZodLiteral<"v2">;
7192
- checkpointCanceled: z.ZodBoolean;
7193
- reason: z.ZodOptional<z.ZodEnum<["WAIT_FOR_DURATION", "WAIT_FOR_TASK", "WAIT_FOR_BATCH"]>>;
7194
- }, "strip", z.ZodTypeAny, {
7195
- version: "v2";
7196
- checkpointCanceled: boolean;
7197
- reason?: "WAIT_FOR_DURATION" | "WAIT_FOR_TASK" | "WAIT_FOR_BATCH" | undefined;
7198
- }, {
7199
- version: "v2";
7200
- checkpointCanceled: boolean;
7201
- reason?: "WAIT_FOR_DURATION" | "WAIT_FOR_TASK" | "WAIT_FOR_BATCH" | undefined;
7202
- }>;
7203
- };
7204
7164
  WAIT_FOR_DURATION: {
7205
7165
  message: z.ZodObject<{
7206
7166
  version: z.ZodDefault<z.ZodLiteral<"v1">>;
7207
7167
  ms: z.ZodNumber;
7208
7168
  now: z.ZodNumber;
7169
+ waitThresholdInMs: z.ZodNumber;
7209
7170
  }, "strip", z.ZodTypeAny, {
7210
7171
  version: "v1";
7211
7172
  ms: number;
7212
7173
  now: number;
7174
+ waitThresholdInMs: number;
7213
7175
  }, {
7214
7176
  ms: number;
7215
7177
  now: number;
7178
+ waitThresholdInMs: number;
7216
7179
  version?: "v1" | undefined;
7217
7180
  }>;
7218
- callback: z.ZodObject<{
7219
- willCheckpointAndRestore: z.ZodBoolean;
7220
- }, "strip", z.ZodTypeAny, {
7221
- willCheckpointAndRestore: boolean;
7222
- }, {
7223
- willCheckpointAndRestore: boolean;
7224
- }>;
7225
7181
  };
7226
7182
  WAIT_FOR_TASK: {
7227
7183
  message: z.ZodObject<{
@@ -11268,6 +11224,7 @@ declare const CoordinatorToPlatformMessages: {
11268
11224
  success: z.ZodLiteral<true>;
11269
11225
  lazyPayload: z.ZodObject<{
11270
11226
  runId: z.ZodString;
11227
+ attemptCount: z.ZodOptional<z.ZodNumber>;
11271
11228
  messageId: z.ZodString;
11272
11229
  isTest: z.ZodBoolean;
11273
11230
  traceContext: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -11277,12 +11234,14 @@ declare const CoordinatorToPlatformMessages: {
11277
11234
  traceContext: Record<string, unknown>;
11278
11235
  runId: string;
11279
11236
  messageId: string;
11237
+ attemptCount?: number | undefined;
11280
11238
  environment?: Record<string, string> | undefined;
11281
11239
  }, {
11282
11240
  isTest: boolean;
11283
11241
  traceContext: Record<string, unknown>;
11284
11242
  runId: string;
11285
11243
  messageId: string;
11244
+ attemptCount?: number | undefined;
11286
11245
  environment?: Record<string, string> | undefined;
11287
11246
  }>;
11288
11247
  }, "strip", z.ZodTypeAny, {
@@ -11292,6 +11251,7 @@ declare const CoordinatorToPlatformMessages: {
11292
11251
  traceContext: Record<string, unknown>;
11293
11252
  runId: string;
11294
11253
  messageId: string;
11254
+ attemptCount?: number | undefined;
11295
11255
  environment?: Record<string, string> | undefined;
11296
11256
  };
11297
11257
  }, {
@@ -11301,6 +11261,7 @@ declare const CoordinatorToPlatformMessages: {
11301
11261
  traceContext: Record<string, unknown>;
11302
11262
  runId: string;
11303
11263
  messageId: string;
11264
+ attemptCount?: number | undefined;
11304
11265
  environment?: Record<string, string> | undefined;
11305
11266
  };
11306
11267
  }>]>;
@@ -13094,6 +13055,18 @@ declare const PlatformToCoordinatorMessages: {
13094
13055
  version?: "v1" | undefined;
13095
13056
  }>;
13096
13057
  };
13058
+ DYNAMIC_CONFIG: {
13059
+ message: z.ZodObject<{
13060
+ version: z.ZodDefault<z.ZodLiteral<"v1">>;
13061
+ checkpointThresholdInMs: z.ZodNumber;
13062
+ }, "strip", z.ZodTypeAny, {
13063
+ version: "v1";
13064
+ checkpointThresholdInMs: number;
13065
+ }, {
13066
+ checkpointThresholdInMs: number;
13067
+ version?: "v1" | undefined;
13068
+ }>;
13069
+ };
13097
13070
  };
13098
13071
  declare const ClientToSharedQueueMessages: {
13099
13072
  READY_FOR_TASKS: {
@@ -14881,6 +14854,7 @@ declare const SharedQueueToClientMessages: {
14881
14854
  type: z.ZodLiteral<"EXECUTE_RUN_LAZY_ATTEMPT">;
14882
14855
  payload: z.ZodObject<{
14883
14856
  runId: z.ZodString;
14857
+ attemptCount: z.ZodOptional<z.ZodNumber>;
14884
14858
  messageId: z.ZodString;
14885
14859
  isTest: z.ZodBoolean;
14886
14860
  traceContext: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -14890,12 +14864,14 @@ declare const SharedQueueToClientMessages: {
14890
14864
  traceContext: Record<string, unknown>;
14891
14865
  runId: string;
14892
14866
  messageId: string;
14867
+ attemptCount?: number | undefined;
14893
14868
  environment?: Record<string, string> | undefined;
14894
14869
  }, {
14895
14870
  isTest: boolean;
14896
14871
  traceContext: Record<string, unknown>;
14897
14872
  runId: string;
14898
14873
  messageId: string;
14874
+ attemptCount?: number | undefined;
14899
14875
  environment?: Record<string, string> | undefined;
14900
14876
  }>;
14901
14877
  }, "strip", z.ZodTypeAny, {
@@ -14905,6 +14881,7 @@ declare const SharedQueueToClientMessages: {
14905
14881
  traceContext: Record<string, unknown>;
14906
14882
  runId: string;
14907
14883
  messageId: string;
14884
+ attemptCount?: number | undefined;
14908
14885
  environment?: Record<string, string> | undefined;
14909
14886
  };
14910
14887
  }, {
@@ -14914,6 +14891,7 @@ declare const SharedQueueToClientMessages: {
14914
14891
  traceContext: Record<string, unknown>;
14915
14892
  runId: string;
14916
14893
  messageId: string;
14894
+ attemptCount?: number | undefined;
14917
14895
  environment?: Record<string, string> | undefined;
14918
14896
  };
14919
14897
  }>]>;
@@ -15010,6 +14988,7 @@ declare const SharedQueueToClientMessages: {
15010
14988
  traceContext: Record<string, unknown>;
15011
14989
  runId: string;
15012
14990
  messageId: string;
14991
+ attemptCount?: number | undefined;
15013
14992
  environment?: Record<string, string> | undefined;
15014
14993
  };
15015
14994
  };
@@ -15107,6 +15086,7 @@ declare const SharedQueueToClientMessages: {
15107
15086
  traceContext: Record<string, unknown>;
15108
15087
  runId: string;
15109
15088
  messageId: string;
15089
+ attemptCount?: number | undefined;
15110
15090
  environment?: Record<string, string> | undefined;
15111
15091
  };
15112
15092
  };
@@ -15115,15 +15095,12 @@ declare const SharedQueueToClientMessages: {
15115
15095
  };
15116
15096
  };
15117
15097
  declare const ProdWorkerToCoordinatorMessages: {
15118
- LOG: {
15098
+ TEST: {
15119
15099
  message: z.ZodObject<{
15120
15100
  version: z.ZodDefault<z.ZodLiteral<"v1">>;
15121
- text: z.ZodString;
15122
15101
  }, "strip", z.ZodTypeAny, {
15123
15102
  version: "v1";
15124
- text: string;
15125
15103
  }, {
15126
- text: string;
15127
15104
  version?: "v1" | undefined;
15128
15105
  }>;
15129
15106
  callback: z.ZodVoid;
@@ -17060,17 +17037,17 @@ declare const ProdWorkerToCoordinatorMessages: {
17060
17037
  };
17061
17038
  WAIT_FOR_TASK: {
17062
17039
  message: z.ZodObject<{
17063
- version: z.ZodDefault<z.ZodLiteral<"v1">>;
17040
+ version: z.ZodDefault<z.ZodEnum<["v1", "v2"]>>;
17064
17041
  friendlyId: z.ZodString;
17065
17042
  attemptFriendlyId: z.ZodString;
17066
17043
  }, "strip", z.ZodTypeAny, {
17067
- version: "v1";
17044
+ version: "v1" | "v2";
17068
17045
  friendlyId: string;
17069
17046
  attemptFriendlyId: string;
17070
17047
  }, {
17071
17048
  friendlyId: string;
17072
17049
  attemptFriendlyId: string;
17073
- version?: "v1" | undefined;
17050
+ version?: "v1" | "v2" | undefined;
17074
17051
  }>;
17075
17052
  callback: z.ZodObject<{
17076
17053
  willCheckpointAndRestore: z.ZodBoolean;
@@ -17082,12 +17059,12 @@ declare const ProdWorkerToCoordinatorMessages: {
17082
17059
  };
17083
17060
  WAIT_FOR_BATCH: {
17084
17061
  message: z.ZodObject<{
17085
- version: z.ZodDefault<z.ZodLiteral<"v1">>;
17062
+ version: z.ZodDefault<z.ZodEnum<["v1", "v2"]>>;
17086
17063
  batchFriendlyId: z.ZodString;
17087
17064
  runFriendlyIds: z.ZodArray<z.ZodString, "many">;
17088
17065
  attemptFriendlyId: z.ZodString;
17089
17066
  }, "strip", z.ZodTypeAny, {
17090
- version: "v1";
17067
+ version: "v1" | "v2";
17091
17068
  batchFriendlyId: string;
17092
17069
  runFriendlyIds: string[];
17093
17070
  attemptFriendlyId: string;
@@ -17095,7 +17072,7 @@ declare const ProdWorkerToCoordinatorMessages: {
17095
17072
  batchFriendlyId: string;
17096
17073
  runFriendlyIds: string[];
17097
17074
  attemptFriendlyId: string;
17098
- version?: "v1" | undefined;
17075
+ version?: "v1" | "v2" | undefined;
17099
17076
  }>;
17100
17077
  callback: z.ZodObject<{
17101
17078
  willCheckpointAndRestore: z.ZodBoolean;
@@ -17764,6 +17741,18 @@ declare const ProdWorkerToCoordinatorMessages: {
17764
17741
  version?: "v1" | undefined;
17765
17742
  }>;
17766
17743
  };
17744
+ SET_STATE: {
17745
+ message: z.ZodObject<{
17746
+ version: z.ZodDefault<z.ZodLiteral<"v1">>;
17747
+ attemptFriendlyId: z.ZodOptional<z.ZodString>;
17748
+ }, "strip", z.ZodTypeAny, {
17749
+ version: "v1";
17750
+ attemptFriendlyId?: string | undefined;
17751
+ }, {
17752
+ version?: "v1" | undefined;
17753
+ attemptFriendlyId?: string | undefined;
17754
+ }>;
17755
+ };
17767
17756
  };
17768
17757
  declare const CoordinatorToProdWorkerMessages: {
17769
17758
  RESUME_AFTER_DEPENDENCY: {
@@ -18981,6 +18970,7 @@ declare const CoordinatorToProdWorkerMessages: {
18981
18970
  version: z.ZodDefault<z.ZodLiteral<"v1">>;
18982
18971
  lazyPayload: z.ZodObject<{
18983
18972
  runId: z.ZodString;
18973
+ attemptCount: z.ZodOptional<z.ZodNumber>;
18984
18974
  messageId: z.ZodString;
18985
18975
  isTest: z.ZodBoolean;
18986
18976
  traceContext: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -18990,12 +18980,14 @@ declare const CoordinatorToProdWorkerMessages: {
18990
18980
  traceContext: Record<string, unknown>;
18991
18981
  runId: string;
18992
18982
  messageId: string;
18983
+ attemptCount?: number | undefined;
18993
18984
  environment?: Record<string, string> | undefined;
18994
18985
  }, {
18995
18986
  isTest: boolean;
18996
18987
  traceContext: Record<string, unknown>;
18997
18988
  runId: string;
18998
18989
  messageId: string;
18990
+ attemptCount?: number | undefined;
18999
18991
  environment?: Record<string, string> | undefined;
19000
18992
  }>;
19001
18993
  }, "strip", z.ZodTypeAny, {
@@ -19005,6 +18997,7 @@ declare const CoordinatorToProdWorkerMessages: {
19005
18997
  traceContext: Record<string, unknown>;
19006
18998
  runId: string;
19007
18999
  messageId: string;
19000
+ attemptCount?: number | undefined;
19008
19001
  environment?: Record<string, string> | undefined;
19009
19002
  };
19010
19003
  }, {
@@ -19013,6 +19006,7 @@ declare const CoordinatorToProdWorkerMessages: {
19013
19006
  traceContext: Record<string, unknown>;
19014
19007
  runId: string;
19015
19008
  messageId: string;
19009
+ attemptCount?: number | undefined;
19016
19010
  environment?: Record<string, string> | undefined;
19017
19011
  };
19018
19012
  version?: "v1" | undefined;
@@ -19089,5 +19083,12 @@ declare const ProdWorkerSocketData: z.ZodObject<{
19089
19083
  deploymentVersion: string;
19090
19084
  attemptFriendlyId?: string | undefined;
19091
19085
  }>;
19086
+ declare const CoordinatorSocketData: z.ZodObject<{
19087
+ supportsDynamicConfig: z.ZodOptional<z.ZodString>;
19088
+ }, "strip", z.ZodTypeAny, {
19089
+ supportsDynamicConfig?: string | undefined;
19090
+ }, {
19091
+ supportsDynamicConfig?: string | undefined;
19092
+ }>;
19092
19093
 
19093
- export { BackgroundWorkerProperties as B, CoordinatorToPlatformMessages as C, ProdWorkerToChildMessages as P, SharedQueueToClientMessages as S, TaskMetadataFailedToParseData as T, UncaughtExceptionMessage as U, ProdChildToWorkerMessages as a, BackgroundWorkerServerMessages as b, BackgroundWorkerClientMessages as c, clientWebsocketMessages as d, childToWorkerMessages as e, ProviderToPlatformMessages as f, PlatformToProviderMessages as g, PlatformToCoordinatorMessages as h, ClientToSharedQueueMessages as i, ProdWorkerToCoordinatorMessages as j, CoordinatorToProdWorkerMessages as k, ProdWorkerSocketData as l, serverWebsocketMessages as s, workerToChildMessages as w };
19094
+ export { BackgroundWorkerProperties as B, CoordinatorToPlatformMessages as C, ProdWorkerToChildMessages as P, SharedQueueToClientMessages as S, TaskMetadataFailedToParseData as T, UncaughtExceptionMessage as U, ProdChildToWorkerMessages as a, BackgroundWorkerServerMessages as b, BackgroundWorkerClientMessages as c, clientWebsocketMessages as d, childToWorkerMessages as e, ProviderToPlatformMessages as f, PlatformToProviderMessages as g, PlatformToCoordinatorMessages as h, ClientToSharedQueueMessages as i, ProdWorkerToCoordinatorMessages as j, CoordinatorToProdWorkerMessages as k, ProdWorkerSocketData as l, CoordinatorSocketData as m, serverWebsocketMessages as s, workerToChildMessages as w };