@trigger.dev/core 3.0.0-beta.5 → 3.0.0-beta.6

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.
package/dist/v3/index.mjs CHANGED
@@ -799,6 +799,27 @@ var ProviderToPlatformMessages = {
799
799
  callback: z.object({
800
800
  status: z.literal("ok")
801
801
  })
802
+ },
803
+ WORKER_CRASHED: {
804
+ message: z.object({
805
+ version: z.literal("v1").default("v1"),
806
+ runId: z.string(),
807
+ reason: z.string().optional(),
808
+ exitCode: z.number().optional(),
809
+ message: z.string().optional(),
810
+ logs: z.string().optional()
811
+ })
812
+ },
813
+ INDEXING_FAILED: {
814
+ message: z.object({
815
+ version: z.literal("v1").default("v1"),
816
+ deploymentId: z.string(),
817
+ error: z.object({
818
+ name: z.string(),
819
+ message: z.string(),
820
+ stack: z.string().optional()
821
+ })
822
+ })
802
823
  }
803
824
  };
804
825
  var PlatformToProviderMessages = {
@@ -821,7 +842,8 @@ var PlatformToProviderMessages = {
821
842
  envId: z.string(),
822
843
  envType: EnvironmentType,
823
844
  orgId: z.string(),
824
- projectId: z.string()
845
+ projectId: z.string(),
846
+ deploymentId: z.string()
825
847
  }),
826
848
  callback: z.discriminatedUnion("success", [
827
849
  z.object({