@trigger.dev/core 0.0.0-prerelease-20250110154019 → 0.0.0-prerelease-20250116162419

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 (131) hide show
  1. package/dist/commonjs/schemas/api.d.ts +2137 -2137
  2. package/dist/commonjs/schemas/events.d.ts +8 -8
  3. package/dist/commonjs/schemas/fetch.d.ts +54 -54
  4. package/dist/commonjs/schemas/integrations.d.ts +4 -4
  5. package/dist/commonjs/schemas/notifications.d.ts +80 -80
  6. package/dist/commonjs/schemas/properties.d.ts +4 -4
  7. package/dist/commonjs/schemas/request.d.ts +4 -4
  8. package/dist/commonjs/schemas/requestFilter.d.ts +2 -2
  9. package/dist/commonjs/schemas/runs.d.ts +39 -39
  10. package/dist/commonjs/schemas/schedules.d.ts +12 -12
  11. package/dist/commonjs/schemas/statuses.d.ts +24 -24
  12. package/dist/commonjs/schemas/tasks.d.ts +54 -54
  13. package/dist/commonjs/schemas/triggers.d.ts +36 -36
  14. package/dist/commonjs/v3/apiClient/index.d.ts +114 -111
  15. package/dist/commonjs/v3/apiClient/index.js +3 -0
  16. package/dist/commonjs/v3/apiClient/index.js.map +1 -1
  17. package/dist/commonjs/v3/apiClient/runStream.d.ts +1 -0
  18. package/dist/commonjs/v3/apiClient/runStream.js +3 -0
  19. package/dist/commonjs/v3/apiClient/runStream.js.map +1 -1
  20. package/dist/commonjs/v3/apiClient/stream.d.ts +1 -0
  21. package/dist/commonjs/v3/apiClient/stream.js +3 -0
  22. package/dist/commonjs/v3/apiClient/stream.js.map +1 -1
  23. package/dist/commonjs/v3/apiClientManager/index.d.ts +1 -1
  24. package/dist/commonjs/v3/config.d.ts +17 -0
  25. package/dist/commonjs/v3/errors.d.ts +14 -1
  26. package/dist/commonjs/v3/errors.js +35 -1
  27. package/dist/commonjs/v3/errors.js.map +1 -1
  28. package/dist/commonjs/v3/links.d.ts +3 -0
  29. package/dist/commonjs/v3/links.js +3 -0
  30. package/dist/commonjs/v3/links.js.map +1 -1
  31. package/dist/commonjs/v3/otel/tracingSDK.d.ts +2 -0
  32. package/dist/commonjs/v3/otel/tracingSDK.js +51 -0
  33. package/dist/commonjs/v3/otel/tracingSDK.js.map +1 -1
  34. package/dist/commonjs/v3/runtime/devRuntimeManager.d.ts +1 -0
  35. package/dist/commonjs/v3/runtime/devRuntimeManager.js +36 -30
  36. package/dist/commonjs/v3/runtime/devRuntimeManager.js.map +1 -1
  37. package/dist/commonjs/v3/runtime/index.d.ts +4 -0
  38. package/dist/commonjs/v3/runtime/index.js +4 -0
  39. package/dist/commonjs/v3/runtime/index.js.map +1 -1
  40. package/dist/commonjs/v3/runtime/preventMultipleWaits.js +31 -0
  41. package/dist/commonjs/v3/runtime/preventMultipleWaits.js.map +1 -0
  42. package/dist/commonjs/v3/runtime/prodRuntimeManager.d.ts +1 -0
  43. package/dist/commonjs/v3/runtime/prodRuntimeManager.js +41 -33
  44. package/dist/commonjs/v3/runtime/prodRuntimeManager.js.map +1 -1
  45. package/dist/commonjs/v3/schemas/api.d.ts +541 -517
  46. package/dist/commonjs/v3/schemas/api.js +2 -0
  47. package/dist/commonjs/v3/schemas/api.js.map +1 -1
  48. package/dist/commonjs/v3/schemas/build.d.ts +346 -346
  49. package/dist/commonjs/v3/schemas/common.d.ts +166 -165
  50. package/dist/commonjs/v3/schemas/common.js +1 -0
  51. package/dist/commonjs/v3/schemas/common.js.map +1 -1
  52. package/dist/commonjs/v3/schemas/fetch.d.ts +31 -31
  53. package/dist/commonjs/v3/schemas/messages.d.ts +4610 -4610
  54. package/dist/commonjs/v3/schemas/openTelemetry.d.ts +20 -20
  55. package/dist/commonjs/v3/schemas/resources.d.ts +84 -84
  56. package/dist/commonjs/v3/schemas/schemas.d.ts +457 -457
  57. package/dist/commonjs/v3/schemas/style.d.ts +10 -10
  58. package/dist/commonjs/v3/semanticInternalAttributes.d.ts +1 -0
  59. package/dist/commonjs/v3/semanticInternalAttributes.js +1 -0
  60. package/dist/commonjs/v3/semanticInternalAttributes.js.map +1 -1
  61. package/dist/commonjs/v3/types/tasks.d.ts +7 -3
  62. package/dist/commonjs/v3/types/tasks.js.map +1 -1
  63. package/dist/commonjs/v3/workers/taskExecutor.js +5 -2
  64. package/dist/commonjs/v3/workers/taskExecutor.js.map +1 -1
  65. package/dist/commonjs/version.js +1 -1
  66. package/dist/esm/schemas/api.d.ts +2137 -2137
  67. package/dist/esm/schemas/events.d.ts +8 -8
  68. package/dist/esm/schemas/fetch.d.ts +54 -54
  69. package/dist/esm/schemas/integrations.d.ts +4 -4
  70. package/dist/esm/schemas/notifications.d.ts +80 -80
  71. package/dist/esm/schemas/properties.d.ts +4 -4
  72. package/dist/esm/schemas/request.d.ts +4 -4
  73. package/dist/esm/schemas/requestFilter.d.ts +2 -2
  74. package/dist/esm/schemas/runs.d.ts +39 -39
  75. package/dist/esm/schemas/schedules.d.ts +12 -12
  76. package/dist/esm/schemas/statuses.d.ts +24 -24
  77. package/dist/esm/schemas/tasks.d.ts +54 -54
  78. package/dist/esm/schemas/triggers.d.ts +36 -36
  79. package/dist/esm/v3/apiClient/index.d.ts +28 -25
  80. package/dist/esm/v3/apiClient/index.js +3 -0
  81. package/dist/esm/v3/apiClient/index.js.map +1 -1
  82. package/dist/esm/v3/apiClient/runStream.d.ts +1 -0
  83. package/dist/esm/v3/apiClient/runStream.js +3 -0
  84. package/dist/esm/v3/apiClient/runStream.js.map +1 -1
  85. package/dist/esm/v3/apiClient/stream.d.ts +1 -0
  86. package/dist/esm/v3/apiClient/stream.js +3 -0
  87. package/dist/esm/v3/apiClient/stream.js.map +1 -1
  88. package/dist/esm/v3/config.d.ts +17 -0
  89. package/dist/esm/v3/errors.d.ts +14 -1
  90. package/dist/esm/v3/errors.js +33 -0
  91. package/dist/esm/v3/errors.js.map +1 -1
  92. package/dist/esm/v3/links.d.ts +3 -0
  93. package/dist/esm/v3/links.js +3 -0
  94. package/dist/esm/v3/links.js.map +1 -1
  95. package/dist/esm/v3/otel/tracingSDK.d.ts +2 -0
  96. package/dist/esm/v3/otel/tracingSDK.js +51 -0
  97. package/dist/esm/v3/otel/tracingSDK.js.map +1 -1
  98. package/dist/esm/v3/runtime/devRuntimeManager.d.ts +1 -0
  99. package/dist/esm/v3/runtime/devRuntimeManager.js +36 -30
  100. package/dist/esm/v3/runtime/devRuntimeManager.js.map +1 -1
  101. package/dist/esm/v3/runtime/index.d.ts +4 -0
  102. package/dist/esm/v3/runtime/index.js +4 -0
  103. package/dist/esm/v3/runtime/index.js.map +1 -1
  104. package/dist/esm/v3/runtime/preventMultipleWaits.d.ts +1 -0
  105. package/dist/esm/v3/runtime/preventMultipleWaits.js +28 -0
  106. package/dist/esm/v3/runtime/preventMultipleWaits.js.map +1 -0
  107. package/dist/esm/v3/runtime/prodRuntimeManager.d.ts +1 -0
  108. package/dist/esm/v3/runtime/prodRuntimeManager.js +41 -33
  109. package/dist/esm/v3/runtime/prodRuntimeManager.js.map +1 -1
  110. package/dist/esm/v3/schemas/api.d.ts +161 -137
  111. package/dist/esm/v3/schemas/api.js +3 -1
  112. package/dist/esm/v3/schemas/api.js.map +1 -1
  113. package/dist/esm/v3/schemas/build.d.ts +88 -88
  114. package/dist/esm/v3/schemas/common.d.ts +166 -165
  115. package/dist/esm/v3/schemas/common.js +1 -0
  116. package/dist/esm/v3/schemas/common.js.map +1 -1
  117. package/dist/esm/v3/schemas/fetch.d.ts +10 -10
  118. package/dist/esm/v3/schemas/messages.d.ts +1676 -1676
  119. package/dist/esm/v3/schemas/openTelemetry.d.ts +20 -20
  120. package/dist/esm/v3/schemas/resources.d.ts +4 -4
  121. package/dist/esm/v3/schemas/schemas.d.ts +52 -52
  122. package/dist/esm/v3/schemas/style.d.ts +10 -10
  123. package/dist/esm/v3/semanticInternalAttributes.d.ts +1 -0
  124. package/dist/esm/v3/semanticInternalAttributes.js +1 -0
  125. package/dist/esm/v3/semanticInternalAttributes.js.map +1 -1
  126. package/dist/esm/v3/types/tasks.d.ts +7 -3
  127. package/dist/esm/v3/types/tasks.js.map +1 -1
  128. package/dist/esm/v3/workers/taskExecutor.js +6 -3
  129. package/dist/esm/v3/workers/taskExecutor.js.map +1 -1
  130. package/dist/esm/version.js +1 -1
  131. package/package.json +1 -1
@@ -58,20 +58,20 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
58
58
  maxDuration: z.ZodOptional<z.ZodNumber>;
59
59
  }, "strip", z.ZodTypeAny, {
60
60
  id: string;
61
- startedAt: Date;
62
61
  payload: string;
63
62
  payloadType: string;
64
63
  tags: string[];
65
64
  isTest: boolean;
66
65
  createdAt: Date;
66
+ startedAt: Date;
67
67
  durationMs: number;
68
68
  costInCents: number;
69
69
  baseCostInCents: number;
70
+ metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
70
71
  context?: any;
71
72
  idempotencyKey?: string | undefined;
72
73
  maxAttempts?: number | undefined;
73
74
  version?: string | undefined;
74
- metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
75
75
  maxDuration?: number | undefined;
76
76
  }, {
77
77
  id: string;
@@ -79,16 +79,16 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
79
79
  payloadType: string;
80
80
  tags: string[];
81
81
  createdAt: Date;
82
- startedAt?: Date | undefined;
82
+ metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
83
83
  context?: any;
84
84
  isTest?: boolean | undefined;
85
+ startedAt?: Date | undefined;
85
86
  idempotencyKey?: string | undefined;
86
87
  maxAttempts?: number | undefined;
87
88
  durationMs?: number | undefined;
88
89
  costInCents?: number | undefined;
89
90
  baseCostInCents?: number | undefined;
90
91
  version?: string | undefined;
91
- metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
92
92
  maxDuration?: number | undefined;
93
93
  }>;
94
94
  queue: z.ZodObject<{
@@ -156,14 +156,14 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
156
156
  memory: z.ZodNumber;
157
157
  centsPerMs: z.ZodNumber;
158
158
  }, "strip", z.ZodTypeAny, {
159
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
160
159
  cpu: number;
161
160
  memory: number;
161
+ name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
162
162
  centsPerMs: number;
163
163
  }, {
164
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
165
164
  cpu: number;
166
165
  memory: number;
166
+ name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
167
167
  centsPerMs: number;
168
168
  }>>;
169
169
  }, "strip", z.ZodTypeAny, {
@@ -182,20 +182,20 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
182
182
  };
183
183
  run: {
184
184
  id: string;
185
- startedAt: Date;
186
185
  payload: string;
187
186
  payloadType: string;
188
187
  tags: string[];
189
188
  isTest: boolean;
190
189
  createdAt: Date;
190
+ startedAt: Date;
191
191
  durationMs: number;
192
192
  costInCents: number;
193
193
  baseCostInCents: number;
194
+ metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
194
195
  context?: any;
195
196
  idempotencyKey?: string | undefined;
196
197
  maxAttempts?: number | undefined;
197
198
  version?: string | undefined;
198
- metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
199
199
  maxDuration?: number | undefined;
200
200
  };
201
201
  queue: {
@@ -222,9 +222,9 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
222
222
  id: string;
223
223
  } | undefined;
224
224
  machine?: {
225
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
226
225
  cpu: number;
227
226
  memory: number;
227
+ name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
228
228
  centsPerMs: number;
229
229
  } | undefined;
230
230
  }, {
@@ -247,16 +247,16 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
247
247
  payloadType: string;
248
248
  tags: string[];
249
249
  createdAt: Date;
250
- startedAt?: Date | undefined;
250
+ metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
251
251
  context?: any;
252
252
  isTest?: boolean | undefined;
253
+ startedAt?: Date | undefined;
253
254
  idempotencyKey?: string | undefined;
254
255
  maxAttempts?: number | undefined;
255
256
  durationMs?: number | undefined;
256
257
  costInCents?: number | undefined;
257
258
  baseCostInCents?: number | undefined;
258
259
  version?: string | undefined;
259
- metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
260
260
  maxDuration?: number | undefined;
261
261
  };
262
262
  queue: {
@@ -283,9 +283,9 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
283
283
  id: string;
284
284
  } | undefined;
285
285
  machine?: {
286
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
287
286
  cpu: number;
288
287
  memory: number;
288
+ name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
289
289
  centsPerMs: number;
290
290
  } | undefined;
291
291
  }>;
@@ -308,20 +308,20 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
308
308
  };
309
309
  run: {
310
310
  id: string;
311
- startedAt: Date;
312
311
  payload: string;
313
312
  payloadType: string;
314
313
  tags: string[];
315
314
  isTest: boolean;
316
315
  createdAt: Date;
316
+ startedAt: Date;
317
317
  durationMs: number;
318
318
  costInCents: number;
319
319
  baseCostInCents: number;
320
+ metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
320
321
  context?: any;
321
322
  idempotencyKey?: string | undefined;
322
323
  maxAttempts?: number | undefined;
323
324
  version?: string | undefined;
324
- metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
325
325
  maxDuration?: number | undefined;
326
326
  };
327
327
  queue: {
@@ -348,9 +348,9 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
348
348
  id: string;
349
349
  } | undefined;
350
350
  machine?: {
351
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
352
351
  cpu: number;
353
352
  memory: number;
353
+ name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
354
354
  centsPerMs: number;
355
355
  } | undefined;
356
356
  };
@@ -377,16 +377,16 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
377
377
  payloadType: string;
378
378
  tags: string[];
379
379
  createdAt: Date;
380
- startedAt?: Date | undefined;
380
+ metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
381
381
  context?: any;
382
382
  isTest?: boolean | undefined;
383
+ startedAt?: Date | undefined;
383
384
  idempotencyKey?: string | undefined;
384
385
  maxAttempts?: number | undefined;
385
386
  durationMs?: number | undefined;
386
387
  costInCents?: number | undefined;
387
388
  baseCostInCents?: number | undefined;
388
389
  version?: string | undefined;
389
- metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
390
390
  maxDuration?: number | undefined;
391
391
  };
392
392
  queue: {
@@ -413,9 +413,9 @@ export declare const TaskRunExecutionPayload: z.ZodObject<{
413
413
  id: string;
414
414
  } | undefined;
415
415
  machine?: {
416
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
417
416
  cpu: number;
418
417
  memory: number;
418
+ name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
419
419
  centsPerMs: number;
420
420
  } | undefined;
421
421
  };
@@ -478,20 +478,20 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
478
478
  maxDuration: z.ZodOptional<z.ZodNumber>;
479
479
  }, "strip", z.ZodTypeAny, {
480
480
  id: string;
481
- startedAt: Date;
482
481
  payload: string;
483
482
  payloadType: string;
484
483
  tags: string[];
485
484
  isTest: boolean;
486
485
  createdAt: Date;
486
+ startedAt: Date;
487
487
  durationMs: number;
488
488
  costInCents: number;
489
489
  baseCostInCents: number;
490
+ metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
490
491
  context?: any;
491
492
  idempotencyKey?: string | undefined;
492
493
  maxAttempts?: number | undefined;
493
494
  version?: string | undefined;
494
- metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
495
495
  maxDuration?: number | undefined;
496
496
  }, {
497
497
  id: string;
@@ -499,16 +499,16 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
499
499
  payloadType: string;
500
500
  tags: string[];
501
501
  createdAt: Date;
502
- startedAt?: Date | undefined;
502
+ metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
503
503
  context?: any;
504
504
  isTest?: boolean | undefined;
505
+ startedAt?: Date | undefined;
505
506
  idempotencyKey?: string | undefined;
506
507
  maxAttempts?: number | undefined;
507
508
  durationMs?: number | undefined;
508
509
  costInCents?: number | undefined;
509
510
  baseCostInCents?: number | undefined;
510
511
  version?: string | undefined;
511
- metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
512
512
  maxDuration?: number | undefined;
513
513
  }>;
514
514
  queue: z.ZodObject<{
@@ -576,14 +576,14 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
576
576
  memory: z.ZodNumber;
577
577
  centsPerMs: z.ZodNumber;
578
578
  }, "strip", z.ZodTypeAny, {
579
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
580
579
  cpu: number;
581
580
  memory: number;
581
+ name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
582
582
  centsPerMs: number;
583
583
  }, {
584
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
585
584
  cpu: number;
586
585
  memory: number;
586
+ name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
587
587
  centsPerMs: number;
588
588
  }>>;
589
589
  }, {
@@ -606,14 +606,14 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
606
606
  memory: z.ZodNumber;
607
607
  centsPerMs: z.ZodNumber;
608
608
  }, "strip", z.ZodTypeAny, {
609
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
610
609
  cpu: number;
611
610
  memory: number;
611
+ name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
612
612
  centsPerMs: number;
613
613
  }, {
614
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
615
614
  cpu: number;
616
615
  memory: number;
616
+ name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
617
617
  centsPerMs: number;
618
618
  }>>;
619
619
  }>, "strip", z.ZodTypeAny, {
@@ -632,20 +632,20 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
632
632
  };
633
633
  run: {
634
634
  id: string;
635
- startedAt: Date;
636
635
  payload: string;
637
636
  payloadType: string;
638
637
  tags: string[];
639
638
  isTest: boolean;
640
639
  createdAt: Date;
640
+ startedAt: Date;
641
641
  durationMs: number;
642
642
  costInCents: number;
643
643
  baseCostInCents: number;
644
+ metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
644
645
  context?: any;
645
646
  idempotencyKey?: string | undefined;
646
647
  maxAttempts?: number | undefined;
647
648
  version?: string | undefined;
648
- metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
649
649
  maxDuration?: number | undefined;
650
650
  };
651
651
  queue: {
@@ -669,9 +669,9 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
669
669
  ref: string;
670
670
  };
671
671
  machine: {
672
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
673
672
  cpu: number;
674
673
  memory: number;
674
+ name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
675
675
  centsPerMs: number;
676
676
  };
677
677
  worker: {
@@ -702,16 +702,16 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
702
702
  payloadType: string;
703
703
  tags: string[];
704
704
  createdAt: Date;
705
- startedAt?: Date | undefined;
705
+ metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
706
706
  context?: any;
707
707
  isTest?: boolean | undefined;
708
+ startedAt?: Date | undefined;
708
709
  idempotencyKey?: string | undefined;
709
710
  maxAttempts?: number | undefined;
710
711
  durationMs?: number | undefined;
711
712
  costInCents?: number | undefined;
712
713
  baseCostInCents?: number | undefined;
713
714
  version?: string | undefined;
714
- metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
715
715
  maxDuration?: number | undefined;
716
716
  };
717
717
  queue: {
@@ -743,9 +743,9 @@ export declare const ProdTaskRunExecution: z.ZodObject<z.objectUtil.extendShape<
743
743
  id: string;
744
744
  } | undefined;
745
745
  machine?: {
746
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
747
746
  cpu: number;
748
747
  memory: number;
748
+ name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
749
749
  centsPerMs: number;
750
750
  } | undefined;
751
751
  }>;
@@ -806,20 +806,20 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
806
806
  maxDuration: z.ZodOptional<z.ZodNumber>;
807
807
  }, "strip", z.ZodTypeAny, {
808
808
  id: string;
809
- startedAt: Date;
810
809
  payload: string;
811
810
  payloadType: string;
812
811
  tags: string[];
813
812
  isTest: boolean;
814
813
  createdAt: Date;
814
+ startedAt: Date;
815
815
  durationMs: number;
816
816
  costInCents: number;
817
817
  baseCostInCents: number;
818
+ metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
818
819
  context?: any;
819
820
  idempotencyKey?: string | undefined;
820
821
  maxAttempts?: number | undefined;
821
822
  version?: string | undefined;
822
- metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
823
823
  maxDuration?: number | undefined;
824
824
  }, {
825
825
  id: string;
@@ -827,16 +827,16 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
827
827
  payloadType: string;
828
828
  tags: string[];
829
829
  createdAt: Date;
830
- startedAt?: Date | undefined;
830
+ metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
831
831
  context?: any;
832
832
  isTest?: boolean | undefined;
833
+ startedAt?: Date | undefined;
833
834
  idempotencyKey?: string | undefined;
834
835
  maxAttempts?: number | undefined;
835
836
  durationMs?: number | undefined;
836
837
  costInCents?: number | undefined;
837
838
  baseCostInCents?: number | undefined;
838
839
  version?: string | undefined;
839
- metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
840
840
  maxDuration?: number | undefined;
841
841
  }>;
842
842
  queue: z.ZodObject<{
@@ -904,14 +904,14 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
904
904
  memory: z.ZodNumber;
905
905
  centsPerMs: z.ZodNumber;
906
906
  }, "strip", z.ZodTypeAny, {
907
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
908
907
  cpu: number;
909
908
  memory: number;
909
+ name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
910
910
  centsPerMs: number;
911
911
  }, {
912
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
913
912
  cpu: number;
914
913
  memory: number;
914
+ name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
915
915
  centsPerMs: number;
916
916
  }>>;
917
917
  }, {
@@ -934,14 +934,14 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
934
934
  memory: z.ZodNumber;
935
935
  centsPerMs: z.ZodNumber;
936
936
  }, "strip", z.ZodTypeAny, {
937
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
938
937
  cpu: number;
939
938
  memory: number;
939
+ name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
940
940
  centsPerMs: number;
941
941
  }, {
942
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
943
942
  cpu: number;
944
943
  memory: number;
944
+ name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
945
945
  centsPerMs: number;
946
946
  }>>;
947
947
  }>, "strip", z.ZodTypeAny, {
@@ -960,20 +960,20 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
960
960
  };
961
961
  run: {
962
962
  id: string;
963
- startedAt: Date;
964
963
  payload: string;
965
964
  payloadType: string;
966
965
  tags: string[];
967
966
  isTest: boolean;
968
967
  createdAt: Date;
968
+ startedAt: Date;
969
969
  durationMs: number;
970
970
  costInCents: number;
971
971
  baseCostInCents: number;
972
+ metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
972
973
  context?: any;
973
974
  idempotencyKey?: string | undefined;
974
975
  maxAttempts?: number | undefined;
975
976
  version?: string | undefined;
976
- metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
977
977
  maxDuration?: number | undefined;
978
978
  };
979
979
  queue: {
@@ -997,9 +997,9 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
997
997
  ref: string;
998
998
  };
999
999
  machine: {
1000
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
1001
1000
  cpu: number;
1002
1001
  memory: number;
1002
+ name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
1003
1003
  centsPerMs: number;
1004
1004
  };
1005
1005
  worker: {
@@ -1030,16 +1030,16 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
1030
1030
  payloadType: string;
1031
1031
  tags: string[];
1032
1032
  createdAt: Date;
1033
- startedAt?: Date | undefined;
1033
+ metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
1034
1034
  context?: any;
1035
1035
  isTest?: boolean | undefined;
1036
+ startedAt?: Date | undefined;
1036
1037
  idempotencyKey?: string | undefined;
1037
1038
  maxAttempts?: number | undefined;
1038
1039
  durationMs?: number | undefined;
1039
1040
  costInCents?: number | undefined;
1040
1041
  baseCostInCents?: number | undefined;
1041
1042
  version?: string | undefined;
1042
- metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
1043
1043
  maxDuration?: number | undefined;
1044
1044
  };
1045
1045
  queue: {
@@ -1071,9 +1071,9 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
1071
1071
  id: string;
1072
1072
  } | undefined;
1073
1073
  machine?: {
1074
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
1075
1074
  cpu: number;
1076
1075
  memory: number;
1076
+ name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
1077
1077
  centsPerMs: number;
1078
1078
  } | undefined;
1079
1079
  }>;
@@ -1096,20 +1096,20 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
1096
1096
  };
1097
1097
  run: {
1098
1098
  id: string;
1099
- startedAt: Date;
1100
1099
  payload: string;
1101
1100
  payloadType: string;
1102
1101
  tags: string[];
1103
1102
  isTest: boolean;
1104
1103
  createdAt: Date;
1104
+ startedAt: Date;
1105
1105
  durationMs: number;
1106
1106
  costInCents: number;
1107
1107
  baseCostInCents: number;
1108
+ metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
1108
1109
  context?: any;
1109
1110
  idempotencyKey?: string | undefined;
1110
1111
  maxAttempts?: number | undefined;
1111
1112
  version?: string | undefined;
1112
- metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
1113
1113
  maxDuration?: number | undefined;
1114
1114
  };
1115
1115
  queue: {
@@ -1133,9 +1133,9 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
1133
1133
  ref: string;
1134
1134
  };
1135
1135
  machine: {
1136
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
1137
1136
  cpu: number;
1138
1137
  memory: number;
1138
+ name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
1139
1139
  centsPerMs: number;
1140
1140
  };
1141
1141
  worker: {
@@ -1170,16 +1170,16 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
1170
1170
  payloadType: string;
1171
1171
  tags: string[];
1172
1172
  createdAt: Date;
1173
- startedAt?: Date | undefined;
1173
+ metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
1174
1174
  context?: any;
1175
1175
  isTest?: boolean | undefined;
1176
+ startedAt?: Date | undefined;
1176
1177
  idempotencyKey?: string | undefined;
1177
1178
  maxAttempts?: number | undefined;
1178
1179
  durationMs?: number | undefined;
1179
1180
  costInCents?: number | undefined;
1180
1181
  baseCostInCents?: number | undefined;
1181
1182
  version?: string | undefined;
1182
- metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
1183
1183
  maxDuration?: number | undefined;
1184
1184
  };
1185
1185
  queue: {
@@ -1211,9 +1211,9 @@ export declare const ProdTaskRunExecutionPayload: z.ZodObject<{
1211
1211
  id: string;
1212
1212
  } | undefined;
1213
1213
  machine?: {
1214
- name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
1215
1214
  cpu: number;
1216
1215
  memory: number;
1216
+ name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
1217
1217
  centsPerMs: number;
1218
1218
  } | undefined;
1219
1219
  };
@@ -9,26 +9,26 @@ declare const Accessory: z.ZodObject<{
9
9
  url: z.ZodOptional<z.ZodString>;
10
10
  }, "strip", z.ZodTypeAny, {
11
11
  text: string;
12
- variant?: string | undefined;
13
12
  url?: string | undefined;
13
+ variant?: string | undefined;
14
14
  }, {
15
15
  text: string;
16
- variant?: string | undefined;
17
16
  url?: string | undefined;
17
+ variant?: string | undefined;
18
18
  }>, "many">;
19
19
  style: z.ZodOptional<z.ZodEnum<["codepath"]>>;
20
20
  }, "strip", z.ZodTypeAny, {
21
21
  items: {
22
22
  text: string;
23
- variant?: string | undefined;
24
23
  url?: string | undefined;
24
+ variant?: string | undefined;
25
25
  }[];
26
26
  style?: "codepath" | undefined;
27
27
  }, {
28
28
  items: {
29
29
  text: string;
30
- variant?: string | undefined;
31
30
  url?: string | undefined;
31
+ variant?: string | undefined;
32
32
  }[];
33
33
  style?: "codepath" | undefined;
34
34
  }>;
@@ -43,26 +43,26 @@ export declare const TaskEventStyle: z.ZodDefault<z.ZodObject<{
43
43
  url: z.ZodOptional<z.ZodString>;
44
44
  }, "strip", z.ZodTypeAny, {
45
45
  text: string;
46
- variant?: string | undefined;
47
46
  url?: string | undefined;
47
+ variant?: string | undefined;
48
48
  }, {
49
49
  text: string;
50
- variant?: string | undefined;
51
50
  url?: string | undefined;
51
+ variant?: string | undefined;
52
52
  }>, "many">;
53
53
  style: z.ZodOptional<z.ZodEnum<["codepath"]>>;
54
54
  }, "strip", z.ZodTypeAny, {
55
55
  items: {
56
56
  text: string;
57
- variant?: string | undefined;
58
57
  url?: string | undefined;
58
+ variant?: string | undefined;
59
59
  }[];
60
60
  style?: "codepath" | undefined;
61
61
  }, {
62
62
  items: {
63
63
  text: string;
64
- variant?: string | undefined;
65
64
  url?: string | undefined;
65
+ variant?: string | undefined;
66
66
  }[];
67
67
  style?: "codepath" | undefined;
68
68
  }>>;
@@ -72,8 +72,8 @@ export declare const TaskEventStyle: z.ZodDefault<z.ZodObject<{
72
72
  accessory?: {
73
73
  items: {
74
74
  text: string;
75
- variant?: string | undefined;
76
75
  url?: string | undefined;
76
+ variant?: string | undefined;
77
77
  }[];
78
78
  style?: "codepath" | undefined;
79
79
  } | undefined;
@@ -83,8 +83,8 @@ export declare const TaskEventStyle: z.ZodDefault<z.ZodObject<{
83
83
  accessory?: {
84
84
  items: {
85
85
  text: string;
86
- variant?: string | undefined;
87
86
  url?: string | undefined;
87
+ variant?: string | undefined;
88
88
  }[];
89
89
  style?: "codepath" | undefined;
90
90
  } | undefined;
@@ -51,4 +51,5 @@ export declare const SemanticInternalAttributes: {
51
51
  RATE_LIMIT_LIMIT: string;
52
52
  RATE_LIMIT_REMAINING: string;
53
53
  RATE_LIMIT_RESET: string;
54
+ SPAN_ATTEMPT: string;
54
55
  };
@@ -51,5 +51,6 @@ export const SemanticInternalAttributes = {
51
51
  RATE_LIMIT_LIMIT: "response.rateLimit.limit",
52
52
  RATE_LIMIT_REMAINING: "response.rateLimit.remaining",
53
53
  RATE_LIMIT_RESET: "response.rateLimit.reset",
54
+ SPAN_ATTEMPT: "$span.attempt",
54
55
  };
55
56
  //# sourceMappingURL=semanticInternalAttributes.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"semanticInternalAttributes.js","sourceRoot":"","sources":["../../../src/v3/semanticInternalAttributes.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACxC,cAAc,EAAE,oBAAoB;IACpC,gBAAgB,EAAE,sBAAsB;IACxC,eAAe,EAAE,qBAAqB;IACtC,iBAAiB,EAAE,uBAAuB;IAC1C,iBAAiB,EAAE,uBAAuB;IAC1C,UAAU,EAAE,gBAAgB;IAC5B,WAAW,EAAE,iBAAiB;IAC9B,YAAY,EAAE,mBAAmB;IACjC,WAAW,EAAE,aAAa;IAC1B,UAAU,EAAE,gBAAgB;IAC5B,cAAc,EAAE,oBAAoB;IACpC,MAAM,EAAE,YAAY;IACpB,WAAW,EAAE,gBAAgB;IAC7B,QAAQ,EAAE,cAAc;IACxB,SAAS,EAAE,aAAa;IACxB,SAAS,EAAE,mBAAmB;IAC9B,gBAAgB,EAAE,qBAAqB;IACvC,UAAU,EAAE,gBAAgB;IAC5B,QAAQ,EAAE,cAAc;IACxB,mBAAmB,EAAE,kBAAkB;IACvC,kBAAkB,EAAE,iBAAiB;IACrC,qBAAqB,EAAE,oBAAoB;IAC3C,2BAA2B,EAAE,wBAAwB;IACrD,YAAY,EAAE,eAAe;IAC7B,OAAO,EAAE,eAAe;IACxB,MAAM,EAAE,SAAS;IACjB,WAAW,EAAE,mBAAmB;IAChC,KAAK,EAAE,QAAQ;IACf,UAAU,EAAE,aAAa;IACzB,aAAa,EAAE,gBAAgB;IAC/B,eAAe,EAAE,kBAAkB;IACnC,QAAQ,EAAE,WAAW;IACrB,OAAO,EAAE,UAAU;IACnB,OAAO,EAAE,UAAU;IACnB,YAAY,EAAE,oBAAoB;IAClC,IAAI,EAAE,OAAO;IACb,YAAY,EAAE,eAAe;IAC7B,SAAS,EAAE,WAAW;IACtB,cAAc,EAAE,gBAAgB;IAChC,WAAW,EAAE,aAAa;IAC1B,WAAW,EAAE,aAAa;IAC1B,YAAY,EAAE,cAAc;IAC5B,QAAQ,EAAE,UAAU;IACpB,WAAW,EAAE,aAAa;IAC1B,WAAW,EAAE,aAAa;IAC1B,UAAU,EAAE,aAAa;IACzB,eAAe,EAAE,wBAAwB;IACzC,iBAAiB,EAAE,mBAAmB;IACtC,mBAAmB,EAAE,oBAAoB;IACzC,gBAAgB,EAAE,0BAA0B;IAC5C,oBAAoB,EAAE,8BAA8B;IACpD,gBAAgB,EAAE,0BAA0B;CAC7C,CAAC"}
1
+ {"version":3,"file":"semanticInternalAttributes.js","sourceRoot":"","sources":["../../../src/v3/semanticInternalAttributes.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACxC,cAAc,EAAE,oBAAoB;IACpC,gBAAgB,EAAE,sBAAsB;IACxC,eAAe,EAAE,qBAAqB;IACtC,iBAAiB,EAAE,uBAAuB;IAC1C,iBAAiB,EAAE,uBAAuB;IAC1C,UAAU,EAAE,gBAAgB;IAC5B,WAAW,EAAE,iBAAiB;IAC9B,YAAY,EAAE,mBAAmB;IACjC,WAAW,EAAE,aAAa;IAC1B,UAAU,EAAE,gBAAgB;IAC5B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3
  import { RunTags } from "../schemas/api.js";
4
- import { MachineCpu, MachineMemory, RetryOptions, TaskMetadata, TaskRunContext } from "../schemas/index.js";
4
+ import { MachineCpu, MachineMemory, MachinePresetName, RetryOptions, TaskMetadata, TaskRunContext } from "../schemas/index.js";
5
5
  import { QueueOptions } from "../schemas/schemas.js";
6
6
  import { IdempotencyKey } from "./idempotencyKeys.js";
7
7
  import { AnySchemaParseFn, inferSchemaIn, inferSchemaOut, Schema } from "./schemas.js";
@@ -165,8 +165,8 @@ type CommonTaskOptions<TIdentifier extends string, TPayload = void, TOutput = un
165
165
  */
166
166
  memory?: MachineMemory;
167
167
  /** Preset to use for the machine. Defaults to small-1x */
168
- preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
169
- };
168
+ preset?: MachinePresetName;
169
+ } | MachinePresetName;
170
170
  /**
171
171
  * The maximum duration in compute-time seconds that a task run is allowed to run. If the task run exceeds this duration, it will be stopped.
172
172
  *
@@ -521,6 +521,10 @@ export type TriggerOptions = {
521
521
  * Minimum value is 5 seconds
522
522
  */
523
523
  maxDuration?: number;
524
+ /**
525
+ * The machine preset to use for this run. This will override the task's machine preset and any defaults.
526
+ */
527
+ machine?: MachinePresetName;
524
528
  };
525
529
  export type TriggerAndWaitOptions = Omit<TriggerOptions, "idempotencyKey" | "idempotencyKeyTTL">;
526
530
  export type BatchTriggerOptions = {
@@ -1 +1 @@
1
- {"version":3,"file":"tasks.js","sourceRoot":"","sources":["../../../../src/v3/types/tasks.ts"],"names":[],"mappings":"AA8BA,MAAM,OAAO,kBAAmB,SAAQ,KAAK;IAC3B,MAAM,CAAS;IACf,KAAK,CAAS;IACd,KAAK,CAAW;IAEhC,YAAY,MAAc,EAAE,KAAa,EAAE,YAAqB;QAC9D,IAAI,YAAY,YAAY,KAAK,EAAE,CAAC;YAClC,KAAK,CAAC,YAAY,MAAM,KAAK,YAAY,CAAC,OAAO,EAAE,CAAC,CAAC;YACrD,IAAI,CAA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