@trigger.dev/core 4.5.7 → 4.5.9

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 (67) hide show
  1. package/dist/commonjs/logger.d.ts +1 -0
  2. package/dist/commonjs/logger.js +101 -29
  3. package/dist/commonjs/logger.js.map +1 -1
  4. package/dist/commonjs/v3/apiClient/index.d.ts +22 -3
  5. package/dist/commonjs/v3/apiClient/index.js +73 -4
  6. package/dist/commonjs/v3/apiClient/index.js.map +1 -1
  7. package/dist/commonjs/v3/apiKeys.d.ts +7 -0
  8. package/dist/commonjs/v3/apiKeys.js +14 -0
  9. package/dist/commonjs/v3/apiKeys.js.map +1 -0
  10. package/dist/commonjs/v3/apiKeys.test.d.ts +1 -0
  11. package/dist/commonjs/v3/apiKeys.test.js +19 -0
  12. package/dist/commonjs/v3/apiKeys.test.js.map +1 -0
  13. package/dist/commonjs/v3/index.d.ts +1 -0
  14. package/dist/commonjs/v3/index.js +1 -0
  15. package/dist/commonjs/v3/index.js.map +1 -1
  16. package/dist/commonjs/v3/jwt.d.ts +2 -0
  17. package/dist/commonjs/v3/jwt.js +32 -0
  18. package/dist/commonjs/v3/jwt.js.map +1 -1
  19. package/dist/commonjs/v3/runEngineWorker/supervisor/http.d.ts +18 -15
  20. package/dist/commonjs/v3/runEngineWorker/supervisor/http.js +53 -12
  21. package/dist/commonjs/v3/runEngineWorker/supervisor/http.js.map +1 -1
  22. package/dist/commonjs/v3/runEngineWorker/supervisor/schemas.d.ts +24 -24
  23. package/dist/commonjs/v3/runEngineWorker/supervisor/types.d.ts +8 -0
  24. package/dist/commonjs/v3/runEngineWorker/workload/http.d.ts +2 -2
  25. package/dist/commonjs/v3/runEngineWorker/workload/schemas.d.ts +20 -20
  26. package/dist/commonjs/v3/schemas/api.d.ts +18 -18
  27. package/dist/commonjs/v3/schemas/checkpoints.d.ts +4 -4
  28. package/dist/commonjs/v3/schemas/common.d.ts +8 -8
  29. package/dist/commonjs/v3/schemas/messages.d.ts +8 -8
  30. package/dist/commonjs/v3/schemas/runEngine.d.ts +10 -10
  31. package/dist/commonjs/v3/utils/structuredLogger.js +3 -2
  32. package/dist/commonjs/v3/utils/structuredLogger.js.map +1 -1
  33. package/dist/commonjs/version.js +1 -1
  34. package/dist/esm/logger.d.ts +1 -0
  35. package/dist/esm/logger.js +100 -29
  36. package/dist/esm/logger.js.map +1 -1
  37. package/dist/esm/v3/apiClient/index.d.ts +22 -3
  38. package/dist/esm/v3/apiClient/index.js +73 -4
  39. package/dist/esm/v3/apiClient/index.js.map +1 -1
  40. package/dist/esm/v3/apiKeys.d.ts +7 -0
  41. package/dist/esm/v3/apiKeys.js +11 -0
  42. package/dist/esm/v3/apiKeys.js.map +1 -0
  43. package/dist/esm/v3/apiKeys.test.d.ts +1 -0
  44. package/dist/esm/v3/apiKeys.test.js +17 -0
  45. package/dist/esm/v3/apiKeys.test.js.map +1 -0
  46. package/dist/esm/v3/index.d.ts +1 -0
  47. package/dist/esm/v3/index.js +1 -0
  48. package/dist/esm/v3/index.js.map +1 -1
  49. package/dist/esm/v3/jwt.d.ts +2 -0
  50. package/dist/esm/v3/jwt.js +30 -0
  51. package/dist/esm/v3/jwt.js.map +1 -1
  52. package/dist/esm/v3/runEngineWorker/supervisor/http.d.ts +18 -15
  53. package/dist/esm/v3/runEngineWorker/supervisor/http.js +53 -12
  54. package/dist/esm/v3/runEngineWorker/supervisor/http.js.map +1 -1
  55. package/dist/esm/v3/runEngineWorker/supervisor/schemas.d.ts +24 -24
  56. package/dist/esm/v3/runEngineWorker/supervisor/types.d.ts +8 -0
  57. package/dist/esm/v3/runEngineWorker/workload/http.d.ts +2 -2
  58. package/dist/esm/v3/runEngineWorker/workload/schemas.d.ts +20 -20
  59. package/dist/esm/v3/schemas/api.d.ts +18 -18
  60. package/dist/esm/v3/schemas/checkpoints.d.ts +4 -4
  61. package/dist/esm/v3/schemas/common.d.ts +8 -8
  62. package/dist/esm/v3/schemas/messages.d.ts +8 -8
  63. package/dist/esm/v3/schemas/runEngine.d.ts +10 -10
  64. package/dist/esm/v3/utils/structuredLogger.js +3 -2
  65. package/dist/esm/v3/utils/structuredLogger.js.map +1 -1
  66. package/dist/esm/version.js +1 -1
  67. package/package.json +1 -1
@@ -480,6 +480,7 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
480
480
  ok: true;
481
481
  id: string;
482
482
  outputType: string;
483
+ output?: string | undefined;
483
484
  metadata?: {
484
485
  metadata?: Record<string, import("../../../index.js").DeserializedJson> | undefined;
485
486
  operations?: ({
@@ -560,11 +561,11 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
560
561
  dataType: string;
561
562
  data?: string | undefined;
562
563
  } | undefined;
563
- output?: string | undefined;
564
564
  }, {
565
565
  ok: true;
566
566
  id: string;
567
567
  outputType: string;
568
+ output?: string | undefined;
568
569
  metadata?: {
569
570
  metadata?: Record<string, import("../../../index.js").DeserializedJson> | undefined;
570
571
  operations?: ({
@@ -645,7 +646,6 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
645
646
  dataType: string;
646
647
  data?: string | undefined;
647
648
  } | undefined;
648
- output?: string | undefined;
649
649
  }>, z.ZodObject<{
650
650
  ok: z.ZodLiteral<false>;
651
651
  id: z.ZodString;
@@ -1400,6 +1400,7 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
1400
1400
  ok: true;
1401
1401
  id: string;
1402
1402
  outputType: string;
1403
+ output?: string | undefined;
1403
1404
  metadata?: {
1404
1405
  metadata?: Record<string, import("../../../index.js").DeserializedJson> | undefined;
1405
1406
  operations?: ({
@@ -1480,7 +1481,6 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
1480
1481
  dataType: string;
1481
1482
  data?: string | undefined;
1482
1483
  } | undefined;
1483
- output?: string | undefined;
1484
1484
  };
1485
1485
  }, {
1486
1486
  completion: {
@@ -1593,6 +1593,7 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
1593
1593
  ok: true;
1594
1594
  id: string;
1595
1595
  outputType: string;
1596
+ output?: string | undefined;
1596
1597
  metadata?: {
1597
1598
  metadata?: Record<string, import("../../../index.js").DeserializedJson> | undefined;
1598
1599
  operations?: ({
@@ -1673,7 +1674,6 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
1673
1674
  dataType: string;
1674
1675
  data?: string | undefined;
1675
1676
  } | undefined;
1676
- output?: string | undefined;
1677
1677
  };
1678
1678
  }>;
1679
1679
  export type WorkloadRunAttemptCompleteRequestBody = z.infer<typeof WorkloadRunAttemptCompleteRequestBody>;
@@ -2778,8 +2778,8 @@ export declare const WorkloadRunLatestSnapshotResponseBody: z.ZodObject<{
2778
2778
  friendlyId: string;
2779
2779
  completedAt: Date;
2780
2780
  outputIsError: boolean;
2781
- idempotencyKey?: string | undefined;
2782
2781
  output?: string | undefined;
2782
+ idempotencyKey?: string | undefined;
2783
2783
  outputType?: string | undefined;
2784
2784
  index?: number | undefined;
2785
2785
  completedByTaskRun?: {
@@ -2801,8 +2801,8 @@ export declare const WorkloadRunLatestSnapshotResponseBody: z.ZodObject<{
2801
2801
  friendlyId: string;
2802
2802
  completedAt: Date;
2803
2803
  outputIsError: boolean;
2804
- idempotencyKey?: string | undefined;
2805
2804
  output?: string | undefined;
2805
+ idempotencyKey?: string | undefined;
2806
2806
  outputType?: string | undefined;
2807
2807
  index?: number | undefined;
2808
2808
  completedByTaskRun?: {
@@ -2841,8 +2841,8 @@ export declare const WorkloadRunLatestSnapshotResponseBody: z.ZodObject<{
2841
2841
  friendlyId: string;
2842
2842
  completedAt: Date;
2843
2843
  outputIsError: boolean;
2844
- idempotencyKey?: string | undefined;
2845
2844
  output?: string | undefined;
2845
+ idempotencyKey?: string | undefined;
2846
2846
  outputType?: string | undefined;
2847
2847
  index?: number | undefined;
2848
2848
  completedByTaskRun?: {
@@ -2893,8 +2893,8 @@ export declare const WorkloadRunLatestSnapshotResponseBody: z.ZodObject<{
2893
2893
  friendlyId: string;
2894
2894
  completedAt: Date;
2895
2895
  outputIsError: boolean;
2896
- idempotencyKey?: string | undefined;
2897
2896
  output?: string | undefined;
2897
+ idempotencyKey?: string | undefined;
2898
2898
  outputType?: string | undefined;
2899
2899
  index?: number | undefined;
2900
2900
  completedByTaskRun?: {
@@ -2947,8 +2947,8 @@ export declare const WorkloadRunLatestSnapshotResponseBody: z.ZodObject<{
2947
2947
  friendlyId: string;
2948
2948
  completedAt: Date;
2949
2949
  outputIsError: boolean;
2950
- idempotencyKey?: string | undefined;
2951
2950
  output?: string | undefined;
2951
+ idempotencyKey?: string | undefined;
2952
2952
  outputType?: string | undefined;
2953
2953
  index?: number | undefined;
2954
2954
  completedByTaskRun?: {
@@ -3001,8 +3001,8 @@ export declare const WorkloadRunLatestSnapshotResponseBody: z.ZodObject<{
3001
3001
  friendlyId: string;
3002
3002
  completedAt: Date;
3003
3003
  outputIsError: boolean;
3004
- idempotencyKey?: string | undefined;
3005
3004
  output?: string | undefined;
3005
+ idempotencyKey?: string | undefined;
3006
3006
  outputType?: string | undefined;
3007
3007
  index?: number | undefined;
3008
3008
  completedByTaskRun?: {
@@ -3146,8 +3146,8 @@ export declare const WorkloadDequeueFromVersionResponseBody: z.ZodArray<z.ZodObj
3146
3146
  friendlyId: string;
3147
3147
  completedAt: Date;
3148
3148
  outputIsError: boolean;
3149
- idempotencyKey?: string | undefined;
3150
3149
  output?: string | undefined;
3150
+ idempotencyKey?: string | undefined;
3151
3151
  outputType?: string | undefined;
3152
3152
  index?: number | undefined;
3153
3153
  completedByTaskRun?: {
@@ -3169,8 +3169,8 @@ export declare const WorkloadDequeueFromVersionResponseBody: z.ZodArray<z.ZodObj
3169
3169
  friendlyId: string;
3170
3170
  completedAt: Date;
3171
3171
  outputIsError: boolean;
3172
- idempotencyKey?: string | undefined;
3173
3172
  output?: string | undefined;
3173
+ idempotencyKey?: string | undefined;
3174
3174
  outputType?: string | undefined;
3175
3175
  index?: number | undefined;
3176
3176
  completedByTaskRun?: {
@@ -3392,8 +3392,8 @@ export declare const WorkloadDequeueFromVersionResponseBody: z.ZodArray<z.ZodObj
3392
3392
  friendlyId: string;
3393
3393
  completedAt: Date;
3394
3394
  outputIsError: boolean;
3395
- idempotencyKey?: string | undefined;
3396
3395
  output?: string | undefined;
3396
+ idempotencyKey?: string | undefined;
3397
3397
  outputType?: string | undefined;
3398
3398
  index?: number | undefined;
3399
3399
  completedByTaskRun?: {
@@ -3483,8 +3483,8 @@ export declare const WorkloadDequeueFromVersionResponseBody: z.ZodArray<z.ZodObj
3483
3483
  friendlyId: string;
3484
3484
  completedAt: Date;
3485
3485
  outputIsError: boolean;
3486
- idempotencyKey?: string | undefined;
3487
3486
  output?: string | undefined;
3487
+ idempotencyKey?: string | undefined;
3488
3488
  outputType?: string | undefined;
3489
3489
  index?: number | undefined;
3490
3490
  completedByTaskRun?: {
@@ -3652,8 +3652,8 @@ export declare const WorkloadRunSnapshotsSinceResponseBody: z.ZodObject<{
3652
3652
  friendlyId: string;
3653
3653
  completedAt: Date;
3654
3654
  outputIsError: boolean;
3655
- idempotencyKey?: string | undefined;
3656
3655
  output?: string | undefined;
3656
+ idempotencyKey?: string | undefined;
3657
3657
  outputType?: string | undefined;
3658
3658
  index?: number | undefined;
3659
3659
  completedByTaskRun?: {
@@ -3675,8 +3675,8 @@ export declare const WorkloadRunSnapshotsSinceResponseBody: z.ZodObject<{
3675
3675
  friendlyId: string;
3676
3676
  completedAt: Date;
3677
3677
  outputIsError: boolean;
3678
- idempotencyKey?: string | undefined;
3679
3678
  output?: string | undefined;
3679
+ idempotencyKey?: string | undefined;
3680
3680
  outputType?: string | undefined;
3681
3681
  index?: number | undefined;
3682
3682
  completedByTaskRun?: {
@@ -3715,8 +3715,8 @@ export declare const WorkloadRunSnapshotsSinceResponseBody: z.ZodObject<{
3715
3715
  friendlyId: string;
3716
3716
  completedAt: Date;
3717
3717
  outputIsError: boolean;
3718
- idempotencyKey?: string | undefined;
3719
3718
  output?: string | undefined;
3719
+ idempotencyKey?: string | undefined;
3720
3720
  outputType?: string | undefined;
3721
3721
  index?: number | undefined;
3722
3722
  completedByTaskRun?: {
@@ -3767,8 +3767,8 @@ export declare const WorkloadRunSnapshotsSinceResponseBody: z.ZodObject<{
3767
3767
  friendlyId: string;
3768
3768
  completedAt: Date;
3769
3769
  outputIsError: boolean;
3770
- idempotencyKey?: string | undefined;
3771
3770
  output?: string | undefined;
3771
+ idempotencyKey?: string | undefined;
3772
3772
  outputType?: string | undefined;
3773
3773
  index?: number | undefined;
3774
3774
  completedByTaskRun?: {
@@ -3821,8 +3821,8 @@ export declare const WorkloadRunSnapshotsSinceResponseBody: z.ZodObject<{
3821
3821
  friendlyId: string;
3822
3822
  completedAt: Date;
3823
3823
  outputIsError: boolean;
3824
- idempotencyKey?: string | undefined;
3825
3824
  output?: string | undefined;
3825
+ idempotencyKey?: string | undefined;
3826
3826
  outputType?: string | undefined;
3827
3827
  index?: number | undefined;
3828
3828
  completedByTaskRun?: {
@@ -3875,8 +3875,8 @@ export declare const WorkloadRunSnapshotsSinceResponseBody: z.ZodObject<{
3875
3875
  friendlyId: string;
3876
3876
  completedAt: Date;
3877
3877
  outputIsError: boolean;
3878
- idempotencyKey?: string | undefined;
3879
3878
  output?: string | undefined;
3879
+ idempotencyKey?: string | undefined;
3880
3880
  outputType?: string | undefined;
3881
3881
  index?: number | undefined;
3882
3882
  completedByTaskRun?: {
@@ -18,8 +18,8 @@ export declare const WhoAmIResponseSchema: z.ZodObject<{
18
18
  orgTitle: string;
19
19
  }>>;
20
20
  }, "strip", z.ZodTypeAny, {
21
- userId: string;
22
21
  email: string;
22
+ userId: string;
23
23
  dashboardUrl: string;
24
24
  project?: {
25
25
  url: string;
@@ -27,8 +27,8 @@ export declare const WhoAmIResponseSchema: z.ZodObject<{
27
27
  orgTitle: string;
28
28
  } | undefined;
29
29
  }, {
30
- userId: string;
31
30
  email: string;
31
+ userId: string;
32
32
  dashboardUrl: string;
33
33
  project?: {
34
34
  url: string;
@@ -3650,14 +3650,14 @@ export declare const GenerateRegistryCredentialsResponseBody: z.ZodObject<{
3650
3650
  expiresAt: z.ZodString;
3651
3651
  repositoryUri: z.ZodString;
3652
3652
  }, "strip", z.ZodTypeAny, {
3653
+ password: string;
3653
3654
  expiresAt: string;
3654
3655
  username: string;
3655
- password: string;
3656
3656
  repositoryUri: string;
3657
3657
  }, {
3658
+ password: string;
3658
3659
  expiresAt: string;
3659
3660
  username: string;
3660
- password: string;
3661
3661
  repositoryUri: string;
3662
3662
  }>;
3663
3663
  export type GenerateRegistryCredentialsResponseBody = z.infer<typeof GenerateRegistryCredentialsResponseBody>;
@@ -4438,8 +4438,8 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
4438
4438
  friendlyId: string;
4439
4439
  completedAt: Date;
4440
4440
  outputIsError: boolean;
4441
- idempotencyKey?: string | undefined;
4442
4441
  output?: string | undefined;
4442
+ idempotencyKey?: string | undefined;
4443
4443
  outputType?: string | undefined;
4444
4444
  index?: number | undefined;
4445
4445
  completedByTaskRun?: {
@@ -4461,8 +4461,8 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
4461
4461
  friendlyId: string;
4462
4462
  completedAt: Date;
4463
4463
  outputIsError: boolean;
4464
- idempotencyKey?: string | undefined;
4465
4464
  output?: string | undefined;
4465
+ idempotencyKey?: string | undefined;
4466
4466
  outputType?: string | undefined;
4467
4467
  index?: number | undefined;
4468
4468
  completedByTaskRun?: {
@@ -4684,8 +4684,8 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
4684
4684
  friendlyId: string;
4685
4685
  completedAt: Date;
4686
4686
  outputIsError: boolean;
4687
- idempotencyKey?: string | undefined;
4688
4687
  output?: string | undefined;
4688
+ idempotencyKey?: string | undefined;
4689
4689
  outputType?: string | undefined;
4690
4690
  index?: number | undefined;
4691
4691
  completedByTaskRun?: {
@@ -4775,8 +4775,8 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
4775
4775
  friendlyId: string;
4776
4776
  completedAt: Date;
4777
4777
  outputIsError: boolean;
4778
- idempotencyKey?: string | undefined;
4779
4778
  output?: string | undefined;
4779
+ idempotencyKey?: string | undefined;
4780
4780
  outputType?: string | undefined;
4781
4781
  index?: number | undefined;
4782
4782
  completedByTaskRun?: {
@@ -4868,8 +4868,8 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
4868
4868
  friendlyId: string;
4869
4869
  completedAt: Date;
4870
4870
  outputIsError: boolean;
4871
- idempotencyKey?: string | undefined;
4872
4871
  output?: string | undefined;
4872
+ idempotencyKey?: string | undefined;
4873
4873
  outputType?: string | undefined;
4874
4874
  index?: number | undefined;
4875
4875
  completedByTaskRun?: {
@@ -4961,8 +4961,8 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
4961
4961
  friendlyId: string;
4962
4962
  completedAt: Date;
4963
4963
  outputIsError: boolean;
4964
- idempotencyKey?: string | undefined;
4965
4964
  output?: string | undefined;
4965
+ idempotencyKey?: string | undefined;
4966
4966
  outputType?: string | undefined;
4967
4967
  index?: number | undefined;
4968
4968
  completedByTaskRun?: {
@@ -6302,12 +6302,12 @@ export declare const RetrieveRunResponse: z.ZodObject<{
6302
6302
  name?: string | undefined;
6303
6303
  stackTrace?: string | undefined;
6304
6304
  } | undefined;
6305
+ output?: any;
6305
6306
  metadata?: Record<string, any> | undefined;
6306
6307
  startedAt?: Date | undefined;
6307
6308
  idempotencyKey?: string | undefined;
6308
6309
  version?: string | undefined;
6309
6310
  region?: string | undefined;
6310
- output?: any;
6311
6311
  ttl?: string | undefined;
6312
6312
  schedule?: {
6313
6313
  id: string;
@@ -6450,12 +6450,12 @@ export declare const RetrieveRunResponse: z.ZodObject<{
6450
6450
  name?: string | undefined;
6451
6451
  stackTrace?: string | undefined;
6452
6452
  } | undefined;
6453
+ output?: any;
6453
6454
  metadata?: Record<string, any> | undefined;
6454
6455
  startedAt?: Date | undefined;
6455
6456
  idempotencyKey?: string | undefined;
6456
6457
  version?: string | undefined;
6457
6458
  region?: string | undefined;
6458
- output?: any;
6459
6459
  ttl?: string | undefined;
6460
6460
  schedule?: {
6461
6461
  id: string;
@@ -8004,11 +8004,11 @@ export declare const SubscribeRunRawShape: z.ZodObject<{
8004
8004
  message?: string | undefined;
8005
8005
  stackTrace?: string | undefined;
8006
8006
  } | null | undefined;
8007
+ output?: string | null | undefined;
8007
8008
  metadata?: string | null | undefined;
8008
8009
  payloadType?: string | null | undefined;
8009
8010
  startedAt?: string | Date | null | undefined;
8010
8011
  idempotencyKey?: string | null | undefined;
8011
- output?: string | null | undefined;
8012
8012
  outputType?: string | null | undefined;
8013
8013
  ttl?: string | null | undefined;
8014
8014
  expiredAt?: string | Date | null | undefined;
@@ -8042,6 +8042,7 @@ export declare const SubscribeRunRawShape: z.ZodObject<{
8042
8042
  message?: string | undefined;
8043
8043
  stackTrace?: string | undefined;
8044
8044
  } | null | undefined;
8045
+ output?: string | null | undefined;
8045
8046
  metadata?: string | null | undefined;
8046
8047
  payloadType?: string | null | undefined;
8047
8048
  isTest?: boolean | undefined;
@@ -8049,7 +8050,6 @@ export declare const SubscribeRunRawShape: z.ZodObject<{
8049
8050
  idempotencyKey?: string | null | undefined;
8050
8051
  baseCostInCents?: number | undefined;
8051
8052
  costInCents?: number | undefined;
8052
- output?: string | null | undefined;
8053
8053
  outputType?: string | null | undefined;
8054
8054
  ttl?: string | null | undefined;
8055
8055
  expiredAt?: string | null | undefined;
@@ -10134,27 +10134,27 @@ export declare const ReadSessionStreamRecordsResponseBody: z.ZodObject<{
10134
10134
  }, "strip", z.ZodTypeAny, {
10135
10135
  id: string;
10136
10136
  seqNum: number;
10137
- data?: unknown;
10138
10137
  headers?: [string, string][] | undefined;
10138
+ data?: unknown;
10139
10139
  }, {
10140
10140
  id: string;
10141
10141
  seqNum: number;
10142
- data?: unknown;
10143
10142
  headers?: [string, string][] | undefined;
10143
+ data?: unknown;
10144
10144
  }>, "many">;
10145
10145
  }, "strip", z.ZodTypeAny, {
10146
10146
  records: {
10147
10147
  id: string;
10148
10148
  seqNum: number;
10149
- data?: unknown;
10150
10149
  headers?: [string, string][] | undefined;
10150
+ data?: unknown;
10151
10151
  }[];
10152
10152
  }, {
10153
10153
  records: {
10154
10154
  id: string;
10155
10155
  seqNum: number;
10156
- data?: unknown;
10157
10156
  headers?: [string, string][] | undefined;
10157
+ data?: unknown;
10158
10158
  }[];
10159
10159
  }>;
10160
10160
  export type ReadSessionStreamRecordsResponseBody = z.infer<typeof ReadSessionStreamRecordsResponseBody>;
@@ -255,8 +255,8 @@ export declare const CheckpointServiceRestoreRequestBody: z.ZodObject<{
255
255
  friendlyId: string;
256
256
  completedAt: Date;
257
257
  outputIsError: boolean;
258
- idempotencyKey?: string | undefined;
259
258
  output?: string | undefined;
259
+ idempotencyKey?: string | undefined;
260
260
  outputType?: string | undefined;
261
261
  index?: number | undefined;
262
262
  completedByTaskRun?: {
@@ -278,8 +278,8 @@ export declare const CheckpointServiceRestoreRequestBody: z.ZodObject<{
278
278
  friendlyId: string;
279
279
  completedAt: Date;
280
280
  outputIsError: boolean;
281
- idempotencyKey?: string | undefined;
282
281
  output?: string | undefined;
282
+ idempotencyKey?: string | undefined;
283
283
  outputType?: string | undefined;
284
284
  index?: number | undefined;
285
285
  completedByTaskRun?: {
@@ -385,8 +385,8 @@ export declare const CheckpointServiceRestoreRequestBody: z.ZodObject<{
385
385
  friendlyId: string;
386
386
  completedAt: Date;
387
387
  outputIsError: boolean;
388
- idempotencyKey?: string | undefined;
389
388
  output?: string | undefined;
389
+ idempotencyKey?: string | undefined;
390
390
  outputType?: string | undefined;
391
391
  index?: number | undefined;
392
392
  completedByTaskRun?: {
@@ -476,8 +476,8 @@ export declare const CheckpointServiceRestoreRequestBody: z.ZodObject<{
476
476
  friendlyId: string;
477
477
  completedAt: Date;
478
478
  outputIsError: boolean;
479
- idempotencyKey?: string | undefined;
480
479
  output?: string | undefined;
480
+ idempotencyKey?: string | undefined;
481
481
  outputType?: string | undefined;
482
482
  index?: number | undefined;
483
483
  completedByTaskRun?: {
@@ -4356,6 +4356,7 @@ export declare const TaskRunSuccessfulExecutionResult: z.ZodObject<{
4356
4356
  ok: true;
4357
4357
  id: string;
4358
4358
  outputType: string;
4359
+ output?: string | undefined;
4359
4360
  metadata?: {
4360
4361
  metadata?: Record<string, import("../../schemas/json.js").DeserializedJson> | undefined;
4361
4362
  operations?: ({
@@ -4436,11 +4437,11 @@ export declare const TaskRunSuccessfulExecutionResult: z.ZodObject<{
4436
4437
  dataType: string;
4437
4438
  data?: string | undefined;
4438
4439
  } | undefined;
4439
- output?: string | undefined;
4440
4440
  }, {
4441
4441
  ok: true;
4442
4442
  id: string;
4443
4443
  outputType: string;
4444
+ output?: string | undefined;
4444
4445
  metadata?: {
4445
4446
  metadata?: Record<string, import("../../schemas/json.js").DeserializedJson> | undefined;
4446
4447
  operations?: ({
@@ -4521,7 +4522,6 @@ export declare const TaskRunSuccessfulExecutionResult: z.ZodObject<{
4521
4522
  dataType: string;
4522
4523
  data?: string | undefined;
4523
4524
  } | undefined;
4524
- output?: string | undefined;
4525
4525
  }>;
4526
4526
  export type TaskRunSuccessfulExecutionResult = z.infer<typeof TaskRunSuccessfulExecutionResult>;
4527
4527
  export declare const TaskRunExecutionResult: z.ZodDiscriminatedUnion<"ok", [z.ZodObject<{
@@ -4897,6 +4897,7 @@ export declare const TaskRunExecutionResult: z.ZodDiscriminatedUnion<"ok", [z.Zo
4897
4897
  ok: true;
4898
4898
  id: string;
4899
4899
  outputType: string;
4900
+ output?: string | undefined;
4900
4901
  metadata?: {
4901
4902
  metadata?: Record<string, import("../../schemas/json.js").DeserializedJson> | undefined;
4902
4903
  operations?: ({
@@ -4977,11 +4978,11 @@ export declare const TaskRunExecutionResult: z.ZodDiscriminatedUnion<"ok", [z.Zo
4977
4978
  dataType: string;
4978
4979
  data?: string | undefined;
4979
4980
  } | undefined;
4980
- output?: string | undefined;
4981
4981
  }, {
4982
4982
  ok: true;
4983
4983
  id: string;
4984
4984
  outputType: string;
4985
+ output?: string | undefined;
4985
4986
  metadata?: {
4986
4987
  metadata?: Record<string, import("../../schemas/json.js").DeserializedJson> | undefined;
4987
4988
  operations?: ({
@@ -5062,7 +5063,6 @@ export declare const TaskRunExecutionResult: z.ZodDiscriminatedUnion<"ok", [z.Zo
5062
5063
  dataType: string;
5063
5064
  data?: string | undefined;
5064
5065
  } | undefined;
5065
- output?: string | undefined;
5066
5066
  }>, z.ZodObject<{
5067
5067
  ok: z.ZodLiteral<false>;
5068
5068
  id: z.ZodString;
@@ -6083,6 +6083,7 @@ export declare const BatchTaskRunExecutionResult: z.ZodObject<{
6083
6083
  ok: true;
6084
6084
  id: string;
6085
6085
  outputType: string;
6086
+ output?: string | undefined;
6086
6087
  metadata?: {
6087
6088
  metadata?: Record<string, import("../../schemas/json.js").DeserializedJson> | undefined;
6088
6089
  operations?: ({
@@ -6163,11 +6164,11 @@ export declare const BatchTaskRunExecutionResult: z.ZodObject<{
6163
6164
  dataType: string;
6164
6165
  data?: string | undefined;
6165
6166
  } | undefined;
6166
- output?: string | undefined;
6167
6167
  }, {
6168
6168
  ok: true;
6169
6169
  id: string;
6170
6170
  outputType: string;
6171
+ output?: string | undefined;
6171
6172
  metadata?: {
6172
6173
  metadata?: Record<string, import("../../schemas/json.js").DeserializedJson> | undefined;
6173
6174
  operations?: ({
@@ -6248,7 +6249,6 @@ export declare const BatchTaskRunExecutionResult: z.ZodObject<{
6248
6249
  dataType: string;
6249
6250
  data?: string | undefined;
6250
6251
  } | undefined;
6251
- output?: string | undefined;
6252
6252
  }>, z.ZodObject<{
6253
6253
  ok: z.ZodLiteral<false>;
6254
6254
  id: z.ZodString;
@@ -7005,6 +7005,7 @@ export declare const BatchTaskRunExecutionResult: z.ZodObject<{
7005
7005
  ok: true;
7006
7006
  id: string;
7007
7007
  outputType: string;
7008
+ output?: string | undefined;
7008
7009
  metadata?: {
7009
7010
  metadata?: Record<string, import("../../schemas/json.js").DeserializedJson> | undefined;
7010
7011
  operations?: ({
@@ -7085,7 +7086,6 @@ export declare const BatchTaskRunExecutionResult: z.ZodObject<{
7085
7086
  dataType: string;
7086
7087
  data?: string | undefined;
7087
7088
  } | undefined;
7088
- output?: string | undefined;
7089
7089
  })[];
7090
7090
  }, {
7091
7091
  id: string;
@@ -7199,6 +7199,7 @@ export declare const BatchTaskRunExecutionResult: z.ZodObject<{
7199
7199
  ok: true;
7200
7200
  id: string;
7201
7201
  outputType: string;
7202
+ output?: string | undefined;
7202
7203
  metadata?: {
7203
7204
  metadata?: Record<string, import("../../schemas/json.js").DeserializedJson> | undefined;
7204
7205
  operations?: ({
@@ -7279,7 +7280,6 @@ export declare const BatchTaskRunExecutionResult: z.ZodObject<{
7279
7280
  dataType: string;
7280
7281
  data?: string | undefined;
7281
7282
  } | undefined;
7282
- output?: string | undefined;
7283
7283
  })[];
7284
7284
  }>;
7285
7285
  export type BatchTaskRunExecutionResult = z.infer<typeof BatchTaskRunExecutionResult>;
@@ -1666,6 +1666,7 @@ export declare const ExecutorToWorkerMessageCatalog: {
1666
1666
  ok: true;
1667
1667
  id: string;
1668
1668
  outputType: string;
1669
+ output?: string | undefined;
1669
1670
  metadata?: {
1670
1671
  metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
1671
1672
  operations?: ({
@@ -1746,11 +1747,11 @@ export declare const ExecutorToWorkerMessageCatalog: {
1746
1747
  dataType: string;
1747
1748
  data?: string | undefined;
1748
1749
  } | undefined;
1749
- output?: string | undefined;
1750
1750
  }, {
1751
1751
  ok: true;
1752
1752
  id: string;
1753
1753
  outputType: string;
1754
+ output?: string | undefined;
1754
1755
  metadata?: {
1755
1756
  metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
1756
1757
  operations?: ({
@@ -1831,7 +1832,6 @@ export declare const ExecutorToWorkerMessageCatalog: {
1831
1832
  dataType: string;
1832
1833
  data?: string | undefined;
1833
1834
  } | undefined;
1834
- output?: string | undefined;
1835
1835
  }>, z.ZodObject<{
1836
1836
  ok: z.ZodLiteral<false>;
1837
1837
  id: z.ZodString;
@@ -2694,6 +2694,7 @@ export declare const ExecutorToWorkerMessageCatalog: {
2694
2694
  ok: true;
2695
2695
  id: string;
2696
2696
  outputType: string;
2697
+ output?: string | undefined;
2697
2698
  metadata?: {
2698
2699
  metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
2699
2700
  operations?: ({
@@ -2774,7 +2775,6 @@ export declare const ExecutorToWorkerMessageCatalog: {
2774
2775
  dataType: string;
2775
2776
  data?: string | undefined;
2776
2777
  } | undefined;
2777
- output?: string | undefined;
2778
2778
  };
2779
2779
  }, {
2780
2780
  execution: {
@@ -2994,6 +2994,7 @@ export declare const ExecutorToWorkerMessageCatalog: {
2994
2994
  ok: true;
2995
2995
  id: string;
2996
2996
  outputType: string;
2997
+ output?: string | undefined;
2997
2998
  metadata?: {
2998
2999
  metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
2999
3000
  operations?: ({
@@ -3074,7 +3075,6 @@ export declare const ExecutorToWorkerMessageCatalog: {
3074
3075
  dataType: string;
3075
3076
  data?: string | undefined;
3076
3077
  } | undefined;
3077
- output?: string | undefined;
3078
3078
  };
3079
3079
  version?: "v1" | undefined;
3080
3080
  }>;
@@ -4092,8 +4092,8 @@ export declare const WorkerToExecutorMessageCatalog: {
4092
4092
  friendlyId: string;
4093
4093
  completedAt: Date;
4094
4094
  outputIsError: boolean;
4095
- idempotencyKey?: string | undefined;
4096
4095
  output?: string | undefined;
4096
+ idempotencyKey?: string | undefined;
4097
4097
  outputType?: string | undefined;
4098
4098
  index?: number | undefined;
4099
4099
  completedByTaskRun?: {
@@ -4115,8 +4115,8 @@ export declare const WorkerToExecutorMessageCatalog: {
4115
4115
  friendlyId: string;
4116
4116
  completedAt: Date;
4117
4117
  outputIsError: boolean;
4118
- idempotencyKey?: string | undefined;
4119
4118
  output?: string | undefined;
4119
+ idempotencyKey?: string | undefined;
4120
4120
  outputType?: string | undefined;
4121
4121
  index?: number | undefined;
4122
4122
  completedByTaskRun?: {
@@ -4141,8 +4141,8 @@ export declare const WorkerToExecutorMessageCatalog: {
4141
4141
  friendlyId: string;
4142
4142
  completedAt: Date;
4143
4143
  outputIsError: boolean;
4144
- idempotencyKey?: string | undefined;
4145
4144
  output?: string | undefined;
4145
+ idempotencyKey?: string | undefined;
4146
4146
  outputType?: string | undefined;
4147
4147
  index?: number | undefined;
4148
4148
  completedByTaskRun?: {
@@ -4166,8 +4166,8 @@ export declare const WorkerToExecutorMessageCatalog: {
4166
4166
  friendlyId: string;
4167
4167
  completedAt: Date;
4168
4168
  outputIsError: boolean;
4169
- idempotencyKey?: string | undefined;
4170
4169
  output?: string | undefined;
4170
+ idempotencyKey?: string | undefined;
4171
4171
  outputType?: string | undefined;
4172
4172
  index?: number | undefined;
4173
4173
  completedByTaskRun?: {