@trigger.dev/core 3.0.0-beta.35 → 3.0.0-beta.36

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 (37) hide show
  1. package/dist/{catalog-BUwiuDbt.d.mts → catalog-XTlJQaMn.d.mts} +3 -3
  2. package/dist/{catalog-eKgqBHUA.d.ts → catalog-dRKTgwQ7.d.ts} +3 -3
  3. package/dist/{manager-uPyMRN8k.d.mts → manager-JkbddlcO.d.mts} +19 -19
  4. package/dist/{manager-uPyMRN8k.d.ts → manager-JkbddlcO.d.ts} +19 -19
  5. package/dist/{messages-l9PdIyKF.d.mts → messages-6_-q72KG.d.mts} +119 -119
  6. package/dist/{messages-l9PdIyKF.d.ts → messages-6_-q72KG.d.ts} +119 -119
  7. package/dist/{schemas-b8tRw8dX.d.mts → schemas-r4ZP9S-F.d.mts} +2 -2
  8. package/dist/{schemas-b8tRw8dX.d.ts → schemas-r4ZP9S-F.d.ts} +2 -2
  9. package/dist/v3/dev/index.d.mts +1 -1
  10. package/dist/v3/dev/index.d.ts +1 -1
  11. package/dist/v3/index.d.mts +579 -122
  12. package/dist/v3/index.d.ts +579 -122
  13. package/dist/v3/index.js +739 -319
  14. package/dist/v3/index.js.map +1 -1
  15. package/dist/v3/index.mjs +730 -318
  16. package/dist/v3/index.mjs.map +1 -1
  17. package/dist/v3/otel/index.js +1 -1
  18. package/dist/v3/otel/index.js.map +1 -1
  19. package/dist/v3/otel/index.mjs +1 -1
  20. package/dist/v3/otel/index.mjs.map +1 -1
  21. package/dist/v3/prod/index.d.mts +2 -2
  22. package/dist/v3/prod/index.d.ts +2 -2
  23. package/dist/v3/workers/index.d.mts +6 -6
  24. package/dist/v3/workers/index.d.ts +6 -6
  25. package/dist/v3/workers/index.js +463 -51
  26. package/dist/v3/workers/index.js.map +1 -1
  27. package/dist/v3/workers/index.mjs +463 -51
  28. package/dist/v3/workers/index.mjs.map +1 -1
  29. package/dist/v3/zodMessageHandler.d.mts +1 -1
  30. package/dist/v3/zodMessageHandler.d.ts +1 -1
  31. package/dist/v3/zodfetch.d.mts +194 -10
  32. package/dist/v3/zodfetch.d.ts +194 -10
  33. package/dist/v3/zodfetch.js +336 -38
  34. package/dist/v3/zodfetch.js.map +1 -1
  35. package/dist/v3/zodfetch.mjs +320 -37
  36. package/dist/v3/zodfetch.mjs.map +1 -1
  37. package/package.json +1 -1
@@ -1812,6 +1812,7 @@ declare const TaskFileMetadata: z.ZodObject<{
1812
1812
  type TaskFileMetadata = z.infer<typeof TaskFileMetadata>;
1813
1813
  declare const TaskMetadataWithFilePath: z.ZodObject<{
1814
1814
  id: z.ZodString;
1815
+ packageVersion: z.ZodString;
1815
1816
  queue: z.ZodOptional<z.ZodObject<{
1816
1817
  /** You can define a shared queue and then pass the name in to your task.
1817
1818
  *
@@ -2062,7 +2063,6 @@ declare const TaskMetadataWithFilePath: z.ZodObject<{
2062
2063
  maxTimeoutInMs?: number | undefined;
2063
2064
  randomize?: boolean | undefined;
2064
2065
  }>>;
2065
- packageVersion: z.ZodString;
2066
2066
  machine: z.ZodOptional<z.ZodObject<{
2067
2067
  version: z.ZodOptional<z.ZodDefault<z.ZodLiteral<"v1">>>;
2068
2068
  cpu: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodLiteral<0.25>, z.ZodLiteral<0.5>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<4>]>>>;
@@ -2328,4 +2328,4 @@ declare const TaskRunExecutionLazyAttemptPayload: z.ZodObject<{
2328
2328
  }>;
2329
2329
  type TaskRunExecutionLazyAttemptPayload = z.infer<typeof TaskRunExecutionLazyAttemptPayload>;
2330
2330
 
2331
- export { Config as C, EnvironmentType as E, FixedWindowRateLimit as F, MachineCpu as M, type Prettify as P, QueueOptions as Q, RetryOptions as R, SlidingWindowRateLimit as S, TaskFileMetadata as T, WaitReason as W, TaskMetadataWithFilePath as a, MachineMemory as b, Machine as c, TaskRunExecutionPayload as d, ProdTaskRunExecution as e, ProdTaskRunExecutionPayload as f, RateLimitOptions as g, TaskMetadata as h, PostStartCauses as i, PreStopCauses as j, type ResolvedConfig as k, TaskRunExecutionLazyAttemptPayload as l, type RequireKeys as m };
2331
+ export { Config as C, EnvironmentType as E, FixedWindowRateLimit as F, MachineCpu as M, type Prettify as P, QueueOptions as Q, RetryOptions as R, SlidingWindowRateLimit as S, TaskFileMetadata as T, WaitReason as W, TaskMetadataWithFilePath as a, TaskMetadata as b, MachineMemory as c, Machine as d, TaskRunExecutionPayload as e, ProdTaskRunExecution as f, ProdTaskRunExecutionPayload as g, RateLimitOptions as h, PostStartCauses as i, PreStopCauses as j, type ResolvedConfig as k, TaskRunExecutionLazyAttemptPayload as l, type RequireKeys as m };
@@ -1812,6 +1812,7 @@ declare const TaskFileMetadata: z.ZodObject<{
1812
1812
  type TaskFileMetadata = z.infer<typeof TaskFileMetadata>;
1813
1813
  declare const TaskMetadataWithFilePath: z.ZodObject<{
1814
1814
  id: z.ZodString;
1815
+ packageVersion: z.ZodString;
1815
1816
  queue: z.ZodOptional<z.ZodObject<{
1816
1817
  /** You can define a shared queue and then pass the name in to your task.
1817
1818
  *
@@ -2062,7 +2063,6 @@ declare const TaskMetadataWithFilePath: z.ZodObject<{
2062
2063
  maxTimeoutInMs?: number | undefined;
2063
2064
  randomize?: boolean | undefined;
2064
2065
  }>>;
2065
- packageVersion: z.ZodString;
2066
2066
  machine: z.ZodOptional<z.ZodObject<{
2067
2067
  version: z.ZodOptional<z.ZodDefault<z.ZodLiteral<"v1">>>;
2068
2068
  cpu: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodLiteral<0.25>, z.ZodLiteral<0.5>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<4>]>>>;
@@ -2328,4 +2328,4 @@ declare const TaskRunExecutionLazyAttemptPayload: z.ZodObject<{
2328
2328
  }>;
2329
2329
  type TaskRunExecutionLazyAttemptPayload = z.infer<typeof TaskRunExecutionLazyAttemptPayload>;
2330
2330
 
2331
- export { Config as C, EnvironmentType as E, FixedWindowRateLimit as F, MachineCpu as M, type Prettify as P, QueueOptions as Q, RetryOptions as R, SlidingWindowRateLimit as S, TaskFileMetadata as T, WaitReason as W, TaskMetadataWithFilePath as a, MachineMemory as b, Machine as c, TaskRunExecutionPayload as d, ProdTaskRunExecution as e, ProdTaskRunExecutionPayload as f, RateLimitOptions as g, TaskMetadata as h, PostStartCauses as i, PreStopCauses as j, type ResolvedConfig as k, TaskRunExecutionLazyAttemptPayload as l, type RequireKeys as m };
2331
+ export { Config as C, EnvironmentType as E, FixedWindowRateLimit as F, MachineCpu as M, type Prettify as P, QueueOptions as Q, RetryOptions as R, SlidingWindowRateLimit as S, TaskFileMetadata as T, WaitReason as W, TaskMetadataWithFilePath as a, TaskMetadata as b, MachineMemory as c, Machine as d, TaskRunExecutionPayload as e, ProdTaskRunExecution as f, ProdTaskRunExecutionPayload as g, RateLimitOptions as h, PostStartCauses as i, PreStopCauses as j, type ResolvedConfig as k, TaskRunExecutionLazyAttemptPayload as l, type RequireKeys as m };
@@ -1,4 +1,4 @@
1
- import { R as RuntimeManager, T as TaskRunExecutionResult, B as BatchTaskRunExecutionResult, b as TaskRunContext } from '../../manager-uPyMRN8k.mjs';
1
+ import { R as RuntimeManager, T as TaskRunExecutionResult, B as BatchTaskRunExecutionResult, a as TaskRunContext } from '../../manager-JkbddlcO.mjs';
2
2
  import 'zod';
3
3
 
4
4
  declare class DevRuntimeManager implements RuntimeManager {
@@ -1,4 +1,4 @@
1
- import { R as RuntimeManager, T as TaskRunExecutionResult, B as BatchTaskRunExecutionResult, b as TaskRunContext } from '../../manager-uPyMRN8k.js';
1
+ import { R as RuntimeManager, T as TaskRunExecutionResult, B as BatchTaskRunExecutionResult, a as TaskRunContext } from '../../manager-JkbddlcO.js';
2
2
  import 'zod';
3
3
 
4
4
  declare class DevRuntimeManager implements RuntimeManager {