@trigger.dev/core 4.5.4 → 4.5.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.
Files changed (107) hide show
  1. package/dist/commonjs/v3/apiClient/core.d.ts +7 -0
  2. package/dist/commonjs/v3/apiClient/core.js +1 -0
  3. package/dist/commonjs/v3/apiClient/core.js.map +1 -1
  4. package/dist/commonjs/v3/build/resolvedConfig.d.ts +6 -5
  5. package/dist/commonjs/v3/build/runtime.d.ts +3 -0
  6. package/dist/commonjs/v3/build/runtime.js +28 -1
  7. package/dist/commonjs/v3/build/runtime.js.map +1 -1
  8. package/dist/commonjs/v3/build/runtime.test.d.ts +1 -0
  9. package/dist/commonjs/v3/build/runtime.test.js +34 -0
  10. package/dist/commonjs/v3/build/runtime.test.js.map +1 -0
  11. package/dist/commonjs/v3/config.d.ts +2 -2
  12. package/dist/commonjs/v3/index.d.ts +1 -0
  13. package/dist/commonjs/v3/index.js +1 -0
  14. package/dist/commonjs/v3/index.js.map +1 -1
  15. package/dist/commonjs/v3/jwt.d.ts +1 -0
  16. package/dist/commonjs/v3/jwt.js +6 -4
  17. package/dist/commonjs/v3/jwt.js.map +1 -1
  18. package/dist/commonjs/v3/runEngineWorker/consts.d.ts +1 -0
  19. package/dist/commonjs/v3/runEngineWorker/consts.js +3 -0
  20. package/dist/commonjs/v3/runEngineWorker/consts.js.map +1 -1
  21. package/dist/commonjs/v3/runEngineWorker/supervisor/http.d.ts +8 -5
  22. package/dist/commonjs/v3/runEngineWorker/supervisor/http.js +15 -5
  23. package/dist/commonjs/v3/runEngineWorker/supervisor/http.js.map +1 -1
  24. package/dist/commonjs/v3/runEngineWorker/supervisor/schemas.d.ts +40 -30
  25. package/dist/commonjs/v3/runEngineWorker/types.d.ts +1 -0
  26. package/dist/commonjs/v3/runEngineWorker/workload/http.d.ts +1 -0
  27. package/dist/commonjs/v3/runEngineWorker/workload/schemas.d.ts +35 -30
  28. package/dist/commonjs/v3/runMetadata/operations.d.ts +1 -1
  29. package/dist/commonjs/v3/runMetadata/operations.js +7 -0
  30. package/dist/commonjs/v3/runMetadata/operations.js.map +1 -1
  31. package/dist/commonjs/v3/schemas/api.d.ts +64 -17
  32. package/dist/commonjs/v3/schemas/api.js +21 -4
  33. package/dist/commonjs/v3/schemas/api.js.map +1 -1
  34. package/dist/commonjs/v3/schemas/build.d.ts +23 -21
  35. package/dist/commonjs/v3/schemas/build.js +9 -2
  36. package/dist/commonjs/v3/schemas/build.js.map +1 -1
  37. package/dist/commonjs/v3/schemas/checkpoints.d.ts +5 -0
  38. package/dist/commonjs/v3/schemas/common.d.ts +121 -115
  39. package/dist/commonjs/v3/schemas/common.js +21 -5
  40. package/dist/commonjs/v3/schemas/common.js.map +1 -1
  41. package/dist/commonjs/v3/schemas/messages.d.ts +35 -35
  42. package/dist/commonjs/v3/schemas/runEngine.d.ts +5 -0
  43. package/dist/commonjs/v3/schemas/runEngine.js +2 -0
  44. package/dist/commonjs/v3/schemas/runEngine.js.map +1 -1
  45. package/dist/commonjs/v3/utils/flattenAttributes.js +11 -2
  46. package/dist/commonjs/v3/utils/flattenAttributes.js.map +1 -1
  47. package/dist/commonjs/v3/workloadDeploymentToken.d.ts +68 -0
  48. package/dist/commonjs/v3/workloadDeploymentToken.js +73 -0
  49. package/dist/commonjs/v3/workloadDeploymentToken.js.map +1 -0
  50. package/dist/commonjs/v3/workloadDeploymentToken.test.d.ts +1 -0
  51. package/dist/commonjs/v3/workloadDeploymentToken.test.js +110 -0
  52. package/dist/commonjs/v3/workloadDeploymentToken.test.js.map +1 -0
  53. package/dist/commonjs/version.js +1 -1
  54. package/dist/esm/v3/apiClient/core.d.ts +7 -0
  55. package/dist/esm/v3/apiClient/core.js +1 -0
  56. package/dist/esm/v3/apiClient/core.js.map +1 -1
  57. package/dist/esm/v3/build/resolvedConfig.d.ts +6 -5
  58. package/dist/esm/v3/build/runtime.d.ts +3 -0
  59. package/dist/esm/v3/build/runtime.js +26 -1
  60. package/dist/esm/v3/build/runtime.js.map +1 -1
  61. package/dist/esm/v3/build/runtime.test.d.ts +1 -0
  62. package/dist/esm/v3/build/runtime.test.js +32 -0
  63. package/dist/esm/v3/build/runtime.test.js.map +1 -0
  64. package/dist/esm/v3/config.d.ts +2 -2
  65. package/dist/esm/v3/index.d.ts +1 -0
  66. package/dist/esm/v3/index.js +1 -0
  67. package/dist/esm/v3/index.js.map +1 -1
  68. package/dist/esm/v3/jwt.d.ts +1 -0
  69. package/dist/esm/v3/jwt.js +6 -4
  70. package/dist/esm/v3/jwt.js.map +1 -1
  71. package/dist/esm/v3/runEngineWorker/consts.d.ts +1 -0
  72. package/dist/esm/v3/runEngineWorker/consts.js +3 -0
  73. package/dist/esm/v3/runEngineWorker/consts.js.map +1 -1
  74. package/dist/esm/v3/runEngineWorker/supervisor/http.d.ts +8 -5
  75. package/dist/esm/v3/runEngineWorker/supervisor/http.js +15 -5
  76. package/dist/esm/v3/runEngineWorker/supervisor/http.js.map +1 -1
  77. package/dist/esm/v3/runEngineWorker/supervisor/schemas.d.ts +40 -30
  78. package/dist/esm/v3/runEngineWorker/types.d.ts +1 -0
  79. package/dist/esm/v3/runEngineWorker/workload/http.d.ts +1 -0
  80. package/dist/esm/v3/runEngineWorker/workload/schemas.d.ts +35 -30
  81. package/dist/esm/v3/runMetadata/operations.d.ts +1 -1
  82. package/dist/esm/v3/runMetadata/operations.js +7 -0
  83. package/dist/esm/v3/runMetadata/operations.js.map +1 -1
  84. package/dist/esm/v3/schemas/api.d.ts +64 -17
  85. package/dist/esm/v3/schemas/api.js +17 -0
  86. package/dist/esm/v3/schemas/api.js.map +1 -1
  87. package/dist/esm/v3/schemas/build.d.ts +23 -21
  88. package/dist/esm/v3/schemas/build.js +8 -1
  89. package/dist/esm/v3/schemas/build.js.map +1 -1
  90. package/dist/esm/v3/schemas/checkpoints.d.ts +5 -0
  91. package/dist/esm/v3/schemas/common.d.ts +121 -115
  92. package/dist/esm/v3/schemas/common.js +20 -5
  93. package/dist/esm/v3/schemas/common.js.map +1 -1
  94. package/dist/esm/v3/schemas/messages.d.ts +35 -35
  95. package/dist/esm/v3/schemas/runEngine.d.ts +5 -0
  96. package/dist/esm/v3/schemas/runEngine.js +2 -0
  97. package/dist/esm/v3/schemas/runEngine.js.map +1 -1
  98. package/dist/esm/v3/utils/flattenAttributes.js +11 -2
  99. package/dist/esm/v3/utils/flattenAttributes.js.map +1 -1
  100. package/dist/esm/v3/workloadDeploymentToken.d.ts +68 -0
  101. package/dist/esm/v3/workloadDeploymentToken.js +66 -0
  102. package/dist/esm/v3/workloadDeploymentToken.js.map +1 -0
  103. package/dist/esm/v3/workloadDeploymentToken.test.d.ts +1 -0
  104. package/dist/esm/v3/workloadDeploymentToken.test.js +108 -0
  105. package/dist/esm/v3/workloadDeploymentToken.test.js.map +1 -0
  106. package/dist/esm/version.js +1 -1
  107. package/package.json +1 -1
@@ -390,14 +390,17 @@ export declare const WorkerApiDequeueResponseBody: z.ZodArray<z.ZodObject<{
390
390
  id: z.ZodString;
391
391
  friendlyId: z.ZodString;
392
392
  version: z.ZodString;
393
+ runtime: z.ZodOptional<z.ZodString>;
393
394
  }, "strip", z.ZodTypeAny, {
394
395
  id: string;
395
396
  version: string;
396
397
  friendlyId: string;
398
+ runtime?: string | undefined;
397
399
  }, {
398
400
  id: string;
399
401
  version: string;
400
402
  friendlyId: string;
403
+ runtime?: string | undefined;
401
404
  }>;
402
405
  deployment: z.ZodObject<{
403
406
  id: z.ZodOptional<z.ZodString>;
@@ -611,6 +614,7 @@ export declare const WorkerApiDequeueResponseBody: z.ZodArray<z.ZodObject<{
611
614
  id: string;
612
615
  version: string;
613
616
  friendlyId: string;
617
+ runtime?: string | undefined;
614
618
  };
615
619
  checkpoint?: {
616
620
  type: import("../../schemas/runEngine.js").CheckpointTypeEnum;
@@ -701,6 +705,7 @@ export declare const WorkerApiDequeueResponseBody: z.ZodArray<z.ZodObject<{
701
705
  id: string;
702
706
  version: string;
703
707
  friendlyId: string;
708
+ runtime?: string | undefined;
704
709
  };
705
710
  checkpoint?: {
706
711
  type: import("../../schemas/runEngine.js").CheckpointTypeEnum;
@@ -1618,7 +1623,7 @@ export declare const WorkerApiRunAttemptCompleteRequestBody: z.ZodObject<{
1618
1623
  type: "update";
1619
1624
  }>, z.ZodObject<{
1620
1625
  type: z.ZodLiteral<"set">;
1621
- key: z.ZodString;
1626
+ key: z.ZodEffects<z.ZodString, string, string>;
1622
1627
  value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
1623
1628
  }, "strip", z.ZodTypeAny, {
1624
1629
  value: import("../../../index.js").DeserializedJson;
@@ -1630,7 +1635,7 @@ export declare const WorkerApiRunAttemptCompleteRequestBody: z.ZodObject<{
1630
1635
  key: string;
1631
1636
  }>, z.ZodObject<{
1632
1637
  type: z.ZodLiteral<"delete">;
1633
- key: z.ZodString;
1638
+ key: z.ZodEffects<z.ZodString, string, string>;
1634
1639
  }, "strip", z.ZodTypeAny, {
1635
1640
  type: "delete";
1636
1641
  key: string;
@@ -1639,7 +1644,7 @@ export declare const WorkerApiRunAttemptCompleteRequestBody: z.ZodObject<{
1639
1644
  key: string;
1640
1645
  }>, z.ZodObject<{
1641
1646
  type: z.ZodLiteral<"append">;
1642
- key: z.ZodString;
1647
+ key: z.ZodEffects<z.ZodString, string, string>;
1643
1648
  value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
1644
1649
  }, "strip", z.ZodTypeAny, {
1645
1650
  value: import("../../../index.js").DeserializedJson;
@@ -1651,7 +1656,7 @@ export declare const WorkerApiRunAttemptCompleteRequestBody: z.ZodObject<{
1651
1656
  key: string;
1652
1657
  }>, z.ZodObject<{
1653
1658
  type: z.ZodLiteral<"remove">;
1654
- key: z.ZodString;
1659
+ key: z.ZodEffects<z.ZodString, string, string>;
1655
1660
  value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
1656
1661
  }, "strip", z.ZodTypeAny, {
1657
1662
  value: import("../../../index.js").DeserializedJson;
@@ -1663,7 +1668,7 @@ export declare const WorkerApiRunAttemptCompleteRequestBody: z.ZodObject<{
1663
1668
  key: string;
1664
1669
  }>, z.ZodObject<{
1665
1670
  type: z.ZodLiteral<"increment">;
1666
- key: z.ZodString;
1671
+ key: z.ZodEffects<z.ZodString, string, string>;
1667
1672
  value: z.ZodNumber;
1668
1673
  }, "strip", z.ZodTypeAny, {
1669
1674
  value: number;
@@ -1685,7 +1690,7 @@ export declare const WorkerApiRunAttemptCompleteRequestBody: z.ZodObject<{
1685
1690
  type: "update";
1686
1691
  }>, z.ZodObject<{
1687
1692
  type: z.ZodLiteral<"set">;
1688
- key: z.ZodString;
1693
+ key: z.ZodEffects<z.ZodString, string, string>;
1689
1694
  value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
1690
1695
  }, "strip", z.ZodTypeAny, {
1691
1696
  value: import("../../../index.js").DeserializedJson;
@@ -1697,7 +1702,7 @@ export declare const WorkerApiRunAttemptCompleteRequestBody: z.ZodObject<{
1697
1702
  key: string;
1698
1703
  }>, z.ZodObject<{
1699
1704
  type: z.ZodLiteral<"delete">;
1700
- key: z.ZodString;
1705
+ key: z.ZodEffects<z.ZodString, string, string>;
1701
1706
  }, "strip", z.ZodTypeAny, {
1702
1707
  type: "delete";
1703
1708
  key: string;
@@ -1706,7 +1711,7 @@ export declare const WorkerApiRunAttemptCompleteRequestBody: z.ZodObject<{
1706
1711
  key: string;
1707
1712
  }>, z.ZodObject<{
1708
1713
  type: z.ZodLiteral<"append">;
1709
- key: z.ZodString;
1714
+ key: z.ZodEffects<z.ZodString, string, string>;
1710
1715
  value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
1711
1716
  }, "strip", z.ZodTypeAny, {
1712
1717
  value: import("../../../index.js").DeserializedJson;
@@ -1718,7 +1723,7 @@ export declare const WorkerApiRunAttemptCompleteRequestBody: z.ZodObject<{
1718
1723
  key: string;
1719
1724
  }>, z.ZodObject<{
1720
1725
  type: z.ZodLiteral<"remove">;
1721
- key: z.ZodString;
1726
+ key: z.ZodEffects<z.ZodString, string, string>;
1722
1727
  value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
1723
1728
  }, "strip", z.ZodTypeAny, {
1724
1729
  value: import("../../../index.js").DeserializedJson;
@@ -1730,7 +1735,7 @@ export declare const WorkerApiRunAttemptCompleteRequestBody: z.ZodObject<{
1730
1735
  key: string;
1731
1736
  }>, z.ZodObject<{
1732
1737
  type: z.ZodLiteral<"increment">;
1733
- key: z.ZodString;
1738
+ key: z.ZodEffects<z.ZodString, string, string>;
1734
1739
  value: z.ZodNumber;
1735
1740
  }, "strip", z.ZodTypeAny, {
1736
1741
  value: number;
@@ -1752,7 +1757,7 @@ export declare const WorkerApiRunAttemptCompleteRequestBody: z.ZodObject<{
1752
1757
  type: "update";
1753
1758
  }>, z.ZodObject<{
1754
1759
  type: z.ZodLiteral<"set">;
1755
- key: z.ZodString;
1760
+ key: z.ZodEffects<z.ZodString, string, string>;
1756
1761
  value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
1757
1762
  }, "strip", z.ZodTypeAny, {
1758
1763
  value: import("../../../index.js").DeserializedJson;
@@ -1764,7 +1769,7 @@ export declare const WorkerApiRunAttemptCompleteRequestBody: z.ZodObject<{
1764
1769
  key: string;
1765
1770
  }>, z.ZodObject<{
1766
1771
  type: z.ZodLiteral<"delete">;
1767
- key: z.ZodString;
1772
+ key: z.ZodEffects<z.ZodString, string, string>;
1768
1773
  }, "strip", z.ZodTypeAny, {
1769
1774
  type: "delete";
1770
1775
  key: string;
@@ -1773,7 +1778,7 @@ export declare const WorkerApiRunAttemptCompleteRequestBody: z.ZodObject<{
1773
1778
  key: string;
1774
1779
  }>, z.ZodObject<{
1775
1780
  type: z.ZodLiteral<"append">;
1776
- key: z.ZodString;
1781
+ key: z.ZodEffects<z.ZodString, string, string>;
1777
1782
  value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
1778
1783
  }, "strip", z.ZodTypeAny, {
1779
1784
  value: import("../../../index.js").DeserializedJson;
@@ -1785,7 +1790,7 @@ export declare const WorkerApiRunAttemptCompleteRequestBody: z.ZodObject<{
1785
1790
  key: string;
1786
1791
  }>, z.ZodObject<{
1787
1792
  type: z.ZodLiteral<"remove">;
1788
- key: z.ZodString;
1793
+ key: z.ZodEffects<z.ZodString, string, string>;
1789
1794
  value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
1790
1795
  }, "strip", z.ZodTypeAny, {
1791
1796
  value: import("../../../index.js").DeserializedJson;
@@ -1797,7 +1802,7 @@ export declare const WorkerApiRunAttemptCompleteRequestBody: z.ZodObject<{
1797
1802
  key: string;
1798
1803
  }>, z.ZodObject<{
1799
1804
  type: z.ZodLiteral<"increment">;
1800
- key: z.ZodString;
1805
+ key: z.ZodEffects<z.ZodString, string, string>;
1801
1806
  value: z.ZodNumber;
1802
1807
  }, "strip", z.ZodTypeAny, {
1803
1808
  value: number;
@@ -2218,7 +2223,7 @@ export declare const WorkerApiRunAttemptCompleteRequestBody: z.ZodObject<{
2218
2223
  type: "update";
2219
2224
  }>, z.ZodObject<{
2220
2225
  type: z.ZodLiteral<"set">;
2221
- key: z.ZodString;
2226
+ key: z.ZodEffects<z.ZodString, string, string>;
2222
2227
  value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
2223
2228
  }, "strip", z.ZodTypeAny, {
2224
2229
  value: import("../../../index.js").DeserializedJson;
@@ -2230,7 +2235,7 @@ export declare const WorkerApiRunAttemptCompleteRequestBody: z.ZodObject<{
2230
2235
  key: string;
2231
2236
  }>, z.ZodObject<{
2232
2237
  type: z.ZodLiteral<"delete">;
2233
- key: z.ZodString;
2238
+ key: z.ZodEffects<z.ZodString, string, string>;
2234
2239
  }, "strip", z.ZodTypeAny, {
2235
2240
  type: "delete";
2236
2241
  key: string;
@@ -2239,7 +2244,7 @@ export declare const WorkerApiRunAttemptCompleteRequestBody: z.ZodObject<{
2239
2244
  key: string;
2240
2245
  }>, z.ZodObject<{
2241
2246
  type: z.ZodLiteral<"append">;
2242
- key: z.ZodString;
2247
+ key: z.ZodEffects<z.ZodString, string, string>;
2243
2248
  value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
2244
2249
  }, "strip", z.ZodTypeAny, {
2245
2250
  value: import("../../../index.js").DeserializedJson;
@@ -2251,7 +2256,7 @@ export declare const WorkerApiRunAttemptCompleteRequestBody: z.ZodObject<{
2251
2256
  key: string;
2252
2257
  }>, z.ZodObject<{
2253
2258
  type: z.ZodLiteral<"remove">;
2254
- key: z.ZodString;
2259
+ key: z.ZodEffects<z.ZodString, string, string>;
2255
2260
  value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
2256
2261
  }, "strip", z.ZodTypeAny, {
2257
2262
  value: import("../../../index.js").DeserializedJson;
@@ -2263,7 +2268,7 @@ export declare const WorkerApiRunAttemptCompleteRequestBody: z.ZodObject<{
2263
2268
  key: string;
2264
2269
  }>, z.ZodObject<{
2265
2270
  type: z.ZodLiteral<"increment">;
2266
- key: z.ZodString;
2271
+ key: z.ZodEffects<z.ZodString, string, string>;
2267
2272
  value: z.ZodNumber;
2268
2273
  }, "strip", z.ZodTypeAny, {
2269
2274
  value: number;
@@ -2285,7 +2290,7 @@ export declare const WorkerApiRunAttemptCompleteRequestBody: z.ZodObject<{
2285
2290
  type: "update";
2286
2291
  }>, z.ZodObject<{
2287
2292
  type: z.ZodLiteral<"set">;
2288
- key: z.ZodString;
2293
+ key: z.ZodEffects<z.ZodString, string, string>;
2289
2294
  value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
2290
2295
  }, "strip", z.ZodTypeAny, {
2291
2296
  value: import("../../../index.js").DeserializedJson;
@@ -2297,7 +2302,7 @@ export declare const WorkerApiRunAttemptCompleteRequestBody: z.ZodObject<{
2297
2302
  key: string;
2298
2303
  }>, z.ZodObject<{
2299
2304
  type: z.ZodLiteral<"delete">;
2300
- key: z.ZodString;
2305
+ key: z.ZodEffects<z.ZodString, string, string>;
2301
2306
  }, "strip", z.ZodTypeAny, {
2302
2307
  type: "delete";
2303
2308
  key: string;
@@ -2306,7 +2311,7 @@ export declare const WorkerApiRunAttemptCompleteRequestBody: z.ZodObject<{
2306
2311
  key: string;
2307
2312
  }>, z.ZodObject<{
2308
2313
  type: z.ZodLiteral<"append">;
2309
- key: z.ZodString;
2314
+ key: z.ZodEffects<z.ZodString, string, string>;
2310
2315
  value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
2311
2316
  }, "strip", z.ZodTypeAny, {
2312
2317
  value: import("../../../index.js").DeserializedJson;
@@ -2318,7 +2323,7 @@ export declare const WorkerApiRunAttemptCompleteRequestBody: z.ZodObject<{
2318
2323
  key: string;
2319
2324
  }>, z.ZodObject<{
2320
2325
  type: z.ZodLiteral<"remove">;
2321
- key: z.ZodString;
2326
+ key: z.ZodEffects<z.ZodString, string, string>;
2322
2327
  value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
2323
2328
  }, "strip", z.ZodTypeAny, {
2324
2329
  value: import("../../../index.js").DeserializedJson;
@@ -2330,7 +2335,7 @@ export declare const WorkerApiRunAttemptCompleteRequestBody: z.ZodObject<{
2330
2335
  key: string;
2331
2336
  }>, z.ZodObject<{
2332
2337
  type: z.ZodLiteral<"increment">;
2333
- key: z.ZodString;
2338
+ key: z.ZodEffects<z.ZodString, string, string>;
2334
2339
  value: z.ZodNumber;
2335
2340
  }, "strip", z.ZodTypeAny, {
2336
2341
  value: number;
@@ -2352,7 +2357,7 @@ export declare const WorkerApiRunAttemptCompleteRequestBody: z.ZodObject<{
2352
2357
  type: "update";
2353
2358
  }>, z.ZodObject<{
2354
2359
  type: z.ZodLiteral<"set">;
2355
- key: z.ZodString;
2360
+ key: z.ZodEffects<z.ZodString, string, string>;
2356
2361
  value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
2357
2362
  }, "strip", z.ZodTypeAny, {
2358
2363
  value: import("../../../index.js").DeserializedJson;
@@ -2364,7 +2369,7 @@ export declare const WorkerApiRunAttemptCompleteRequestBody: z.ZodObject<{
2364
2369
  key: string;
2365
2370
  }>, z.ZodObject<{
2366
2371
  type: z.ZodLiteral<"delete">;
2367
- key: z.ZodString;
2372
+ key: z.ZodEffects<z.ZodString, string, string>;
2368
2373
  }, "strip", z.ZodTypeAny, {
2369
2374
  type: "delete";
2370
2375
  key: string;
@@ -2373,7 +2378,7 @@ export declare const WorkerApiRunAttemptCompleteRequestBody: z.ZodObject<{
2373
2378
  key: string;
2374
2379
  }>, z.ZodObject<{
2375
2380
  type: z.ZodLiteral<"append">;
2376
- key: z.ZodString;
2381
+ key: z.ZodEffects<z.ZodString, string, string>;
2377
2382
  value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
2378
2383
  }, "strip", z.ZodTypeAny, {
2379
2384
  value: import("../../../index.js").DeserializedJson;
@@ -2385,7 +2390,7 @@ export declare const WorkerApiRunAttemptCompleteRequestBody: z.ZodObject<{
2385
2390
  key: string;
2386
2391
  }>, z.ZodObject<{
2387
2392
  type: z.ZodLiteral<"remove">;
2388
- key: z.ZodString;
2393
+ key: z.ZodEffects<z.ZodString, string, string>;
2389
2394
  value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
2390
2395
  }, "strip", z.ZodTypeAny, {
2391
2396
  value: import("../../../index.js").DeserializedJson;
@@ -2397,7 +2402,7 @@ export declare const WorkerApiRunAttemptCompleteRequestBody: z.ZodObject<{
2397
2402
  key: string;
2398
2403
  }>, z.ZodObject<{
2399
2404
  type: z.ZodLiteral<"increment">;
2400
- key: z.ZodString;
2405
+ key: z.ZodEffects<z.ZodString, string, string>;
2401
2406
  value: z.ZodNumber;
2402
2407
  }, "strip", z.ZodTypeAny, {
2403
2408
  value: number;
@@ -3807,14 +3812,17 @@ export declare const WorkerApiDequeueFromVersionResponseBody: z.ZodArray<z.ZodOb
3807
3812
  id: z.ZodString;
3808
3813
  friendlyId: z.ZodString;
3809
3814
  version: z.ZodString;
3815
+ runtime: z.ZodOptional<z.ZodString>;
3810
3816
  }, "strip", z.ZodTypeAny, {
3811
3817
  id: string;
3812
3818
  version: string;
3813
3819
  friendlyId: string;
3820
+ runtime?: string | undefined;
3814
3821
  }, {
3815
3822
  id: string;
3816
3823
  version: string;
3817
3824
  friendlyId: string;
3825
+ runtime?: string | undefined;
3818
3826
  }>;
3819
3827
  deployment: z.ZodObject<{
3820
3828
  id: z.ZodOptional<z.ZodString>;
@@ -4028,6 +4036,7 @@ export declare const WorkerApiDequeueFromVersionResponseBody: z.ZodArray<z.ZodOb
4028
4036
  id: string;
4029
4037
  version: string;
4030
4038
  friendlyId: string;
4039
+ runtime?: string | undefined;
4031
4040
  };
4032
4041
  checkpoint?: {
4033
4042
  type: import("../../schemas/runEngine.js").CheckpointTypeEnum;
@@ -4118,6 +4127,7 @@ export declare const WorkerApiDequeueFromVersionResponseBody: z.ZodArray<z.ZodOb
4118
4127
  id: string;
4119
4128
  version: string;
4120
4129
  friendlyId: string;
4130
+ runtime?: string | undefined;
4121
4131
  };
4122
4132
  checkpoint?: {
4123
4133
  type: import("../../schemas/runEngine.js").CheckpointTypeEnum;
@@ -49,4 +49,5 @@ export type WorkloadClientSocketData = {
49
49
  runnerId: string;
50
50
  runFriendlyId?: string;
51
51
  snapshotId?: string;
52
+ deploymentFriendlyId?: string;
52
53
  };
@@ -337,6 +337,7 @@ export declare class WorkloadHttpClient {
337
337
  id: string;
338
338
  version: string;
339
339
  friendlyId: string;
340
+ runtime?: string | undefined;
340
341
  };
341
342
  checkpoint?: {
342
343
  type: import("../../index.js").CheckpointTypeEnum;
@@ -133,7 +133,7 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
133
133
  type: "update";
134
134
  }>, z.ZodObject<{
135
135
  type: z.ZodLiteral<"set">;
136
- key: z.ZodString;
136
+ key: z.ZodEffects<z.ZodString, string, string>;
137
137
  value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
138
138
  }, "strip", z.ZodTypeAny, {
139
139
  value: import("../../../index.js").DeserializedJson;
@@ -145,7 +145,7 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
145
145
  key: string;
146
146
  }>, z.ZodObject<{
147
147
  type: z.ZodLiteral<"delete">;
148
- key: z.ZodString;
148
+ key: z.ZodEffects<z.ZodString, string, string>;
149
149
  }, "strip", z.ZodTypeAny, {
150
150
  type: "delete";
151
151
  key: string;
@@ -154,7 +154,7 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
154
154
  key: string;
155
155
  }>, z.ZodObject<{
156
156
  type: z.ZodLiteral<"append">;
157
- key: z.ZodString;
157
+ key: z.ZodEffects<z.ZodString, string, string>;
158
158
  value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
159
159
  }, "strip", z.ZodTypeAny, {
160
160
  value: import("../../../index.js").DeserializedJson;
@@ -166,7 +166,7 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
166
166
  key: string;
167
167
  }>, z.ZodObject<{
168
168
  type: z.ZodLiteral<"remove">;
169
- key: z.ZodString;
169
+ key: z.ZodEffects<z.ZodString, string, string>;
170
170
  value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
171
171
  }, "strip", z.ZodTypeAny, {
172
172
  value: import("../../../index.js").DeserializedJson;
@@ -178,7 +178,7 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
178
178
  key: string;
179
179
  }>, z.ZodObject<{
180
180
  type: z.ZodLiteral<"increment">;
181
- key: z.ZodString;
181
+ key: z.ZodEffects<z.ZodString, string, string>;
182
182
  value: z.ZodNumber;
183
183
  }, "strip", z.ZodTypeAny, {
184
184
  value: number;
@@ -200,7 +200,7 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
200
200
  type: "update";
201
201
  }>, z.ZodObject<{
202
202
  type: z.ZodLiteral<"set">;
203
- key: z.ZodString;
203
+ key: z.ZodEffects<z.ZodString, string, string>;
204
204
  value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
205
205
  }, "strip", z.ZodTypeAny, {
206
206
  value: import("../../../index.js").DeserializedJson;
@@ -212,7 +212,7 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
212
212
  key: string;
213
213
  }>, z.ZodObject<{
214
214
  type: z.ZodLiteral<"delete">;
215
- key: z.ZodString;
215
+ key: z.ZodEffects<z.ZodString, string, string>;
216
216
  }, "strip", z.ZodTypeAny, {
217
217
  type: "delete";
218
218
  key: string;
@@ -221,7 +221,7 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
221
221
  key: string;
222
222
  }>, z.ZodObject<{
223
223
  type: z.ZodLiteral<"append">;
224
- key: z.ZodString;
224
+ key: z.ZodEffects<z.ZodString, string, string>;
225
225
  value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
226
226
  }, "strip", z.ZodTypeAny, {
227
227
  value: import("../../../index.js").DeserializedJson;
@@ -233,7 +233,7 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
233
233
  key: string;
234
234
  }>, z.ZodObject<{
235
235
  type: z.ZodLiteral<"remove">;
236
- key: z.ZodString;
236
+ key: z.ZodEffects<z.ZodString, string, string>;
237
237
  value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
238
238
  }, "strip", z.ZodTypeAny, {
239
239
  value: import("../../../index.js").DeserializedJson;
@@ -245,7 +245,7 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
245
245
  key: string;
246
246
  }>, z.ZodObject<{
247
247
  type: z.ZodLiteral<"increment">;
248
- key: z.ZodString;
248
+ key: z.ZodEffects<z.ZodString, string, string>;
249
249
  value: z.ZodNumber;
250
250
  }, "strip", z.ZodTypeAny, {
251
251
  value: number;
@@ -267,7 +267,7 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
267
267
  type: "update";
268
268
  }>, z.ZodObject<{
269
269
  type: z.ZodLiteral<"set">;
270
- key: z.ZodString;
270
+ key: z.ZodEffects<z.ZodString, string, string>;
271
271
  value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
272
272
  }, "strip", z.ZodTypeAny, {
273
273
  value: import("../../../index.js").DeserializedJson;
@@ -279,7 +279,7 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
279
279
  key: string;
280
280
  }>, z.ZodObject<{
281
281
  type: z.ZodLiteral<"delete">;
282
- key: z.ZodString;
282
+ key: z.ZodEffects<z.ZodString, string, string>;
283
283
  }, "strip", z.ZodTypeAny, {
284
284
  type: "delete";
285
285
  key: string;
@@ -288,7 +288,7 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
288
288
  key: string;
289
289
  }>, z.ZodObject<{
290
290
  type: z.ZodLiteral<"append">;
291
- key: z.ZodString;
291
+ key: z.ZodEffects<z.ZodString, string, string>;
292
292
  value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
293
293
  }, "strip", z.ZodTypeAny, {
294
294
  value: import("../../../index.js").DeserializedJson;
@@ -300,7 +300,7 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
300
300
  key: string;
301
301
  }>, z.ZodObject<{
302
302
  type: z.ZodLiteral<"remove">;
303
- key: z.ZodString;
303
+ key: z.ZodEffects<z.ZodString, string, string>;
304
304
  value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
305
305
  }, "strip", z.ZodTypeAny, {
306
306
  value: import("../../../index.js").DeserializedJson;
@@ -312,7 +312,7 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
312
312
  key: string;
313
313
  }>, z.ZodObject<{
314
314
  type: z.ZodLiteral<"increment">;
315
- key: z.ZodString;
315
+ key: z.ZodEffects<z.ZodString, string, string>;
316
316
  value: z.ZodNumber;
317
317
  }, "strip", z.ZodTypeAny, {
318
318
  value: number;
@@ -733,7 +733,7 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
733
733
  type: "update";
734
734
  }>, z.ZodObject<{
735
735
  type: z.ZodLiteral<"set">;
736
- key: z.ZodString;
736
+ key: z.ZodEffects<z.ZodString, string, string>;
737
737
  value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
738
738
  }, "strip", z.ZodTypeAny, {
739
739
  value: import("../../../index.js").DeserializedJson;
@@ -745,7 +745,7 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
745
745
  key: string;
746
746
  }>, z.ZodObject<{
747
747
  type: z.ZodLiteral<"delete">;
748
- key: z.ZodString;
748
+ key: z.ZodEffects<z.ZodString, string, string>;
749
749
  }, "strip", z.ZodTypeAny, {
750
750
  type: "delete";
751
751
  key: string;
@@ -754,7 +754,7 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
754
754
  key: string;
755
755
  }>, z.ZodObject<{
756
756
  type: z.ZodLiteral<"append">;
757
- key: z.ZodString;
757
+ key: z.ZodEffects<z.ZodString, string, string>;
758
758
  value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
759
759
  }, "strip", z.ZodTypeAny, {
760
760
  value: import("../../../index.js").DeserializedJson;
@@ -766,7 +766,7 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
766
766
  key: string;
767
767
  }>, z.ZodObject<{
768
768
  type: z.ZodLiteral<"remove">;
769
- key: z.ZodString;
769
+ key: z.ZodEffects<z.ZodString, string, string>;
770
770
  value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
771
771
  }, "strip", z.ZodTypeAny, {
772
772
  value: import("../../../index.js").DeserializedJson;
@@ -778,7 +778,7 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
778
778
  key: string;
779
779
  }>, z.ZodObject<{
780
780
  type: z.ZodLiteral<"increment">;
781
- key: z.ZodString;
781
+ key: z.ZodEffects<z.ZodString, string, string>;
782
782
  value: z.ZodNumber;
783
783
  }, "strip", z.ZodTypeAny, {
784
784
  value: number;
@@ -800,7 +800,7 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
800
800
  type: "update";
801
801
  }>, z.ZodObject<{
802
802
  type: z.ZodLiteral<"set">;
803
- key: z.ZodString;
803
+ key: z.ZodEffects<z.ZodString, string, string>;
804
804
  value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
805
805
  }, "strip", z.ZodTypeAny, {
806
806
  value: import("../../../index.js").DeserializedJson;
@@ -812,7 +812,7 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
812
812
  key: string;
813
813
  }>, z.ZodObject<{
814
814
  type: z.ZodLiteral<"delete">;
815
- key: z.ZodString;
815
+ key: z.ZodEffects<z.ZodString, string, string>;
816
816
  }, "strip", z.ZodTypeAny, {
817
817
  type: "delete";
818
818
  key: string;
@@ -821,7 +821,7 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
821
821
  key: string;
822
822
  }>, z.ZodObject<{
823
823
  type: z.ZodLiteral<"append">;
824
- key: z.ZodString;
824
+ key: z.ZodEffects<z.ZodString, string, string>;
825
825
  value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
826
826
  }, "strip", z.ZodTypeAny, {
827
827
  value: import("../../../index.js").DeserializedJson;
@@ -833,7 +833,7 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
833
833
  key: string;
834
834
  }>, z.ZodObject<{
835
835
  type: z.ZodLiteral<"remove">;
836
- key: z.ZodString;
836
+ key: z.ZodEffects<z.ZodString, string, string>;
837
837
  value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
838
838
  }, "strip", z.ZodTypeAny, {
839
839
  value: import("../../../index.js").DeserializedJson;
@@ -845,7 +845,7 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
845
845
  key: string;
846
846
  }>, z.ZodObject<{
847
847
  type: z.ZodLiteral<"increment">;
848
- key: z.ZodString;
848
+ key: z.ZodEffects<z.ZodString, string, string>;
849
849
  value: z.ZodNumber;
850
850
  }, "strip", z.ZodTypeAny, {
851
851
  value: number;
@@ -867,7 +867,7 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
867
867
  type: "update";
868
868
  }>, z.ZodObject<{
869
869
  type: z.ZodLiteral<"set">;
870
- key: z.ZodString;
870
+ key: z.ZodEffects<z.ZodString, string, string>;
871
871
  value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
872
872
  }, "strip", z.ZodTypeAny, {
873
873
  value: import("../../../index.js").DeserializedJson;
@@ -879,7 +879,7 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
879
879
  key: string;
880
880
  }>, z.ZodObject<{
881
881
  type: z.ZodLiteral<"delete">;
882
- key: z.ZodString;
882
+ key: z.ZodEffects<z.ZodString, string, string>;
883
883
  }, "strip", z.ZodTypeAny, {
884
884
  type: "delete";
885
885
  key: string;
@@ -888,7 +888,7 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
888
888
  key: string;
889
889
  }>, z.ZodObject<{
890
890
  type: z.ZodLiteral<"append">;
891
- key: z.ZodString;
891
+ key: z.ZodEffects<z.ZodString, string, string>;
892
892
  value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
893
893
  }, "strip", z.ZodTypeAny, {
894
894
  value: import("../../../index.js").DeserializedJson;
@@ -900,7 +900,7 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
900
900
  key: string;
901
901
  }>, z.ZodObject<{
902
902
  type: z.ZodLiteral<"remove">;
903
- key: z.ZodString;
903
+ key: z.ZodEffects<z.ZodString, string, string>;
904
904
  value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
905
905
  }, "strip", z.ZodTypeAny, {
906
906
  value: import("../../../index.js").DeserializedJson;
@@ -912,7 +912,7 @@ export declare const WorkloadRunAttemptCompleteRequestBody: z.ZodObject<{
912
912
  key: string;
913
913
  }>, z.ZodObject<{
914
914
  type: z.ZodLiteral<"increment">;
915
- key: z.ZodString;
915
+ key: z.ZodEffects<z.ZodString, string, string>;
916
916
  value: z.ZodNumber;
917
917
  }, "strip", z.ZodTypeAny, {
918
918
  value: number;
@@ -3191,14 +3191,17 @@ export declare const WorkloadDequeueFromVersionResponseBody: z.ZodArray<z.ZodObj
3191
3191
  id: z.ZodString;
3192
3192
  friendlyId: z.ZodString;
3193
3193
  version: z.ZodString;
3194
+ runtime: z.ZodOptional<z.ZodString>;
3194
3195
  }, "strip", z.ZodTypeAny, {
3195
3196
  id: string;
3196
3197
  version: string;
3197
3198
  friendlyId: string;
3199
+ runtime?: string | undefined;
3198
3200
  }, {
3199
3201
  id: string;
3200
3202
  version: string;
3201
3203
  friendlyId: string;
3204
+ runtime?: string | undefined;
3202
3205
  }>;
3203
3206
  deployment: z.ZodObject<{
3204
3207
  id: z.ZodOptional<z.ZodString>;
@@ -3412,6 +3415,7 @@ export declare const WorkloadDequeueFromVersionResponseBody: z.ZodArray<z.ZodObj
3412
3415
  id: string;
3413
3416
  version: string;
3414
3417
  friendlyId: string;
3418
+ runtime?: string | undefined;
3415
3419
  };
3416
3420
  checkpoint?: {
3417
3421
  type: import("../../index.js").CheckpointTypeEnum;
@@ -3502,6 +3506,7 @@ export declare const WorkloadDequeueFromVersionResponseBody: z.ZodArray<z.ZodObj
3502
3506
  id: string;
3503
3507
  version: string;
3504
3508
  friendlyId: string;
3509
+ runtime?: string | undefined;
3505
3510
  };
3506
3511
  checkpoint?: {
3507
3512
  type: import("../../index.js").CheckpointTypeEnum;
@@ -1,4 +1,4 @@
1
- import type { RunMetadataChangeOperation } from "../schemas/common.js";
1
+ import { type RunMetadataChangeOperation } from "../schemas/common.js";
2
2
  export type ApplyOperationResult = {
3
3
  newMetadata: Record<string, unknown>;
4
4
  unappliedOperations: RunMetadataChangeOperation[];