deepline 0.3.472 → 0.3.474

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 (184) hide show
  1. package/dist/bundling-sources/sdk/src/client-core.ts +4 -1
  2. package/dist/bundling-sources/sdk/src/play.ts +7 -2
  3. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  4. package/dist/bundling-sources/shared_libs/integration-contracts/billing-entitlements.ts +3 -1
  5. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +18 -0
  6. package/dist/bundling-sources/shared_libs/observability/scheduled-work-control.ts +17 -0
  7. package/dist/bundling-sources/shared_libs/observability/scheduled-work-manual.ts +55 -0
  8. package/dist/bundling-sources/shared_libs/play-runtime/deployment/fly-machines.ts +101 -2
  9. package/dist/bundling-sources/shared_libs/play-runtime/modal-runtime-config.ts +62 -20
  10. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-launch-transport.ts +2 -2
  11. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-lifecycle.ts +24 -8
  12. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-payload-transport.ts +19 -7
  13. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-runtime-watchdog.ts +196 -10
  14. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona.ts +40 -17
  15. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/local-process.ts +4 -1
  16. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/modal-resource-usage.ts +222 -0
  17. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/modal.ts +46 -14
  18. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/types.ts +2 -0
  19. package/dist/bundling-sources/shared_libs/play-runtime/runtime-incident-drills.ts +9 -5
  20. package/dist/bundling-sources/shared_libs/play-runtime/sandbox-compute-usage.ts +8 -0
  21. package/dist/bundling-sources/shared_libs/play-runtime/sandbox-runs/contract.ts +2 -0
  22. package/dist/bundling-sources/shared_libs/play-runtime/sandbox-runs/runner-backend-adapter.ts +2 -0
  23. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +5 -1
  24. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/run-ledger-outbox-recovery.ts +14 -5
  25. package/dist/bundling-sources/shared_libs/play-runtime/worker-api-types.ts +36 -0
  26. package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +18 -8
  27. package/dist/bundling-sources/shared_libs/plays/bundling/index.ts +1 -1
  28. package/dist/bundling-sources/shared_libs/plays/sandbox-runtime-limits.ts +64 -16
  29. package/dist/bundling-sources/shared_libs/plays/tool-result-types.ts +1 -1
  30. package/dist/bundling-sources/shared_libs/product-notifications/billing-sales.ts +14 -1
  31. package/dist/bundling-sources/shared_libs/product-notifications/catalog.ts +40 -0
  32. package/dist/bundling-sources/shared_libs/product-notifications/default-policy.ts +23 -1
  33. package/dist/bundling-sources/shared_libs/product-notifications/events.ts +18 -0
  34. package/dist/bundling-sources/shared_libs/product-notifications/slack-delivery.ts +2 -1
  35. package/dist/cli/auth-O6KAH543.js +41 -0
  36. package/dist/cli/{auth-35DAEPHC.mjs → auth-QMANU5PV.mjs} +5 -5
  37. package/dist/cli/{billing-5ED5X2IO.js → billing-WZ5POBZX.js} +85 -83
  38. package/dist/cli/{billing-CXVBJEC4.mjs → billing-YJAP4VZN.mjs} +12 -10
  39. package/dist/cli/{chunk-CFDQZQE2.mjs → chunk-26CZVDQN.mjs} +2 -2
  40. package/dist/cli/{chunk-UXFUD2MB.mjs → chunk-35SZHTRW.mjs} +5 -5
  41. package/dist/cli/{chunk-R73LE2IM.mjs → chunk-3MZPWIOE.mjs} +1 -1
  42. package/dist/cli/{chunk-HBVT4FW5.js → chunk-3NRZFMX4.js} +6 -6
  43. package/dist/cli/{chunk-SBPI7AEB.js → chunk-3ODBCZLL.js} +272 -258
  44. package/dist/cli/{chunk-ODAARZSK.js → chunk-475V572K.js} +36 -36
  45. package/dist/cli/{chunk-L3AXQXNT.js → chunk-4C34LGI4.js} +13 -13
  46. package/dist/cli/{chunk-V6OMS7E2.js → chunk-4IOY2SCQ.js} +10 -2
  47. package/dist/cli/{chunk-6ZTSHKJF.js → chunk-5QS4T4KR.js} +10 -3
  48. package/dist/cli/{chunk-R6L6JRDR.mjs → chunk-7IYOWIEJ.mjs} +2 -2
  49. package/dist/cli/{chunk-RDOPZK7A.js → chunk-AIPTW3EK.js} +18 -4
  50. package/dist/cli/{chunk-T5GRG37B.js → chunk-AK7UKQ5R.js} +5 -5
  51. package/dist/cli/{chunk-2G4R4APL.js → chunk-AWJKYS25.js} +2 -2
  52. package/dist/cli/{chunk-IPJ27SD2.mjs → chunk-BB4RZMWA.mjs} +5 -5
  53. package/dist/cli/{chunk-GJPRBELO.js → chunk-CXBEZAPU.js} +16 -16
  54. package/dist/cli/{chunk-Z52WEIBR.js → chunk-DKR7QPEO.js} +11 -7
  55. package/dist/cli/{chunk-YK64LQPQ.mjs → chunk-DQZBERDL.mjs} +1 -1
  56. package/dist/cli/{chunk-YUNPYX5T.mjs → chunk-DUGZKPRK.mjs} +10 -3
  57. package/dist/cli/{chunk-2S36YV2K.mjs → chunk-EIKONWW7.mjs} +1 -1
  58. package/dist/cli/{chunk-VDHDTXCK.js → chunk-EK2TAZJZ.js} +2 -2
  59. package/dist/cli/{chunk-2DND7LLL.js → chunk-G3UHAYRX.js} +8 -8
  60. package/dist/cli/{chunk-UPXGN62E.js → chunk-IK3VOGDR.js} +21 -21
  61. package/dist/cli/{chunk-UKKCS6Z4.js → chunk-JCNJQH6X.js} +1 -1
  62. package/dist/cli/{chunk-ZZQIS3TH.mjs → chunk-JEYX3345.mjs} +3 -3
  63. package/dist/cli/{chunk-QSCLOPWR.mjs → chunk-JJVYUKLY.mjs} +16 -2
  64. package/dist/cli/{chunk-XSSIBO74.js → chunk-JSXMJSBE.js} +8 -8
  65. package/dist/cli/{chunk-4NFBYW7X.mjs → chunk-KKWQ24VM.mjs} +2 -2
  66. package/dist/cli/{chunk-3L76SFGN.js → chunk-LHOEWAVD.js} +53 -53
  67. package/dist/cli/{chunk-NZBZFEVA.mjs → chunk-MKSB2FTU.mjs} +4 -4
  68. package/dist/cli/{chunk-MRZ7AO72.mjs → chunk-MNK4ZK2C.mjs} +26 -12
  69. package/dist/cli/{chunk-6PKONIIP.mjs → chunk-MXUJVCKV.mjs} +5 -5
  70. package/dist/cli/{chunk-7KAS4QOW.js → chunk-N62MS3XJ.js} +6 -6
  71. package/dist/cli/{chunk-SYWOSAW7.js → chunk-ORQYKA4I.js} +4 -4
  72. package/dist/cli/{chunk-X3RAGNNZ.mjs → chunk-OWUZKXE7.mjs} +1 -1
  73. package/dist/cli/{chunk-LQUOZGM6.js → chunk-PGKELBIY.js} +51 -51
  74. package/dist/cli/{chunk-52VOORHM.mjs → chunk-RGIQ5ZJX.mjs} +2 -2
  75. package/dist/cli/{chunk-M475BQ77.js → chunk-RLQIGBFK.js} +3 -3
  76. package/dist/cli/{chunk-5FHU67AT.js → chunk-RXITRC37.js} +3 -3
  77. package/dist/cli/{chunk-XSX6TJUA.mjs → chunk-SD7QWZTV.mjs} +10 -2
  78. package/dist/cli/{chunk-H7YFUC3J.js → chunk-STLJYWUC.js} +7 -7
  79. package/dist/cli/{chunk-T5H7ETIM.mjs → chunk-THDXVSNL.mjs} +4 -4
  80. package/dist/cli/{chunk-JRZW4LWK.mjs → chunk-UGYLGT7B.mjs} +1 -1
  81. package/dist/cli/{chunk-YNW47NOJ.mjs → chunk-UKX4FESF.mjs} +2 -2
  82. package/dist/cli/{chunk-RZHUHL53.mjs → chunk-V4ILQ2DS.mjs} +11 -7
  83. package/dist/cli/{chunk-QLVYYDUI.js → chunk-XNP7XTBN.js} +26 -26
  84. package/dist/cli/{chunk-SKVMC6K6.js → chunk-XP7FAYLN.js} +5 -5
  85. package/dist/cli/{chunk-RMQB72WW.js → chunk-YFDTF2XC.js} +9 -9
  86. package/dist/cli/{chunk-KQJHIVCE.mjs → chunk-YK64UZXN.mjs} +1 -1
  87. package/dist/cli/{chunk-IIQ6O5F3.js → chunk-YKNULB7V.js} +5 -5
  88. package/dist/cli/{chunk-YMB2CD55.mjs → chunk-YVJ6IWVD.mjs} +1 -1
  89. package/dist/cli/{chunk-TMMODGPV.mjs → chunk-YX762HFK.mjs} +2 -2
  90. package/dist/cli/{chunk-OMPW5ELS.mjs → chunk-Z27NSLPC.mjs} +1 -1
  91. package/dist/cli/{chunk-FHIO7WI2.mjs → chunk-ZGC2SUAA.mjs} +2 -2
  92. package/dist/cli/{chunk-C5PY2PP6.mjs → chunk-ZRWQKTSX.mjs} +3 -3
  93. package/dist/cli/command-docs.js +2 -2
  94. package/dist/cli/command-docs.mjs +1 -1
  95. package/dist/cli/{csv-SQJQM3B2.js → csv-ENKCFCSM.js} +13 -13
  96. package/dist/cli/{csv-OSDYY3QW.mjs → csv-QCLQOIEA.mjs} +4 -4
  97. package/dist/cli/{db-ATDYXAD5.js → db-5TLBZDT3.js} +27 -27
  98. package/dist/cli/{db-2M6BU6G5.mjs → db-P25LGP33.mjs} +6 -6
  99. package/dist/cli/describe-44L7OBGM.js +48 -0
  100. package/dist/cli/{describe-WIAJCWF3.mjs → describe-W2H5DHR6.mjs} +19 -19
  101. package/dist/cli/describe-core.d.mts +3 -3
  102. package/dist/cli/describe-core.d.ts +3 -3
  103. package/dist/cli/describe-core.js +3 -3
  104. package/dist/cli/describe-core.mjs +2 -2
  105. package/dist/cli/{executions-2J6CCJL2.mjs → executions-VYZCYUBR.mjs} +6 -6
  106. package/dist/cli/{executions-Y32LMYH6.js → executions-YHFAWJOJ.js} +8 -8
  107. package/dist/cli/{feedback-L4AVIMGI.mjs → feedback-K2FWYYLZ.mjs} +4 -4
  108. package/dist/cli/{feedback-RXQLS6QU.js → feedback-RJF3QSBB.js} +8 -8
  109. package/dist/cli/git-F3EI5DY5.js +25 -0
  110. package/dist/cli/{git-V3K77AWH.mjs → git-S3APUPLL.mjs} +5 -5
  111. package/dist/cli/index.js +139 -139
  112. package/dist/cli/index.mjs +41 -41
  113. package/dist/cli/{legacy-noops-B2KJT4CZ.js → legacy-noops-3SWNRE7Z.js} +8 -8
  114. package/dist/cli/{legacy-noops-LOGMYOY5.mjs → legacy-noops-ICYZACTW.mjs} +5 -5
  115. package/dist/cli/{monitors-5ETSB7S7.mjs → monitors-DEZCEQLB.mjs} +7 -7
  116. package/dist/cli/{monitors-A5WYUCGD.js → monitors-VRIWTRPG.js} +91 -91
  117. package/dist/cli/{org-BJOAUSXL.mjs → org-IQW5ZIAO.mjs} +6 -6
  118. package/dist/cli/{org-7EZDWYKK.js → org-NX752DTE.js} +72 -72
  119. package/dist/cli/{pages-3BYGBTVK.mjs → pages-5WQRVVKX.mjs} +6 -6
  120. package/dist/cli/{pages-45VNTEQU.js → pages-YIBWYGVS.js} +17 -17
  121. package/dist/cli/{play-5KER3JFU.js → play-3EXNH3HD.js} +662 -601
  122. package/dist/cli/{play-R7JQV533.mjs → play-WOMJXS4O.mjs} +110 -49
  123. package/dist/cli/{providers-OHMZ6QIF.js → providers-C2WYSR2Y.js} +9 -9
  124. package/dist/cli/{providers-RMFCE6MM.mjs → providers-XDVPYRTS.mjs} +6 -6
  125. package/dist/cli/{quickstart-GNRE4SAT.js → quickstart-7RABZF66.js} +6 -6
  126. package/dist/cli/{quickstart-IHR4VC5K.mjs → quickstart-YMSIL2TK.mjs} +4 -4
  127. package/dist/cli/{run-77QIMUUV.js → run-5QVVWFGL.js} +39 -39
  128. package/dist/cli/{run-Y4MIRFJY.mjs → run-A4JD6TAR.mjs} +24 -24
  129. package/dist/cli/{search-24YKTHMK.mjs → search-2TOSF2G3.mjs} +7 -7
  130. package/dist/cli/search-772R7YHI.js +32 -0
  131. package/dist/cli/{secrets-KHX62AWC.mjs → secrets-BUN4ORE7.mjs} +6 -6
  132. package/dist/cli/{secrets-SSEBT3IS.js → secrets-Q7UVOSNM.js} +15 -15
  133. package/dist/cli/{sessions-H7T25HGE.mjs → sessions-IAOORI6X.mjs} +5 -5
  134. package/dist/cli/{sessions-E6KNWYEH.js → sessions-NXQOQ4HX.js} +6 -6
  135. package/dist/cli/{settings-XSJG6M32.mjs → settings-BMI373AI.mjs} +11 -11
  136. package/dist/cli/{settings-GXUYF5G7.js → settings-WD4KSY5S.js} +78 -78
  137. package/dist/cli/{setup-JP5YPIA4.js → setup-3IA7BVPE.js} +44 -44
  138. package/dist/cli/{setup-GD7IOD4U.mjs → setup-55VIWAWR.mjs} +9 -9
  139. package/dist/cli/{skills-HLHE3ENN.mjs → skills-GKITMBTM.mjs} +7 -7
  140. package/dist/cli/skills-PUUTFMP3.js +31 -0
  141. package/dist/cli/tools-3WX7TUUG.js +55 -0
  142. package/dist/cli/{tools-Q4XIQX7W.mjs → tools-XHCFC7GP.mjs} +17 -17
  143. package/dist/cli/update-PC3CLODV.js +33 -0
  144. package/dist/cli/{update-3KRMR2QJ.mjs → update-SWB24YKE.mjs} +9 -9
  145. package/dist/cli/{workflow-NMUESL3O.js → workflow-5QPMFI3Z.js} +17 -17
  146. package/dist/cli/{workflow-NOZ7WFEY.mjs → workflow-XO4CKUA7.mjs} +7 -7
  147. package/dist/{client-C9bJ0QXu.d.mts → client-Bgl0_zXi.d.mts} +1 -1
  148. package/dist/{client-CuNH54w3.d.ts → client-_ah6IuhK.d.ts} +1 -1
  149. package/dist/{client-core-CSiXbe2n.d.mts → client-core-Bfsedm0_.d.mts} +44 -3
  150. package/dist/{client-core-C8Q6DKga.d.ts → client-core-C-ZF5vh9.d.ts} +44 -3
  151. package/dist/{compiler-manifest-Zwm9yqOA.d.ts → compiler-manifest-CCOqDGjU.d.mts} +12 -10
  152. package/dist/{compiler-manifest-Zwm9yqOA.d.mts → compiler-manifest-CCOqDGjU.d.ts} +12 -10
  153. package/dist/{errors-nEsqNLL8.d.mts → errors-BLccD7tG.d.mts} +1 -1
  154. package/dist/{errors-CsYwlpn4.d.ts → errors-Cy3kPnsi.d.ts} +1 -1
  155. package/dist/{index-CXF2jtza.d.mts → index-4-j44HuT.d.mts} +1 -1
  156. package/dist/{index-9pUZqkPH.d.ts → index-D5e4h1-H.d.ts} +1 -1
  157. package/dist/index.d.mts +14 -9
  158. package/dist/index.d.ts +14 -9
  159. package/dist/index.js +9 -9
  160. package/dist/index.mjs +6 -6
  161. package/dist/install-integrity.json +115 -114
  162. package/dist/plays/bundle-play-file.d.mts +3 -3
  163. package/dist/plays/bundle-play-file.d.ts +3 -3
  164. package/dist/plays/bundle-play-file.mjs +1 -1
  165. package/dist/plays/play-description.d.mts +2 -2
  166. package/dist/plays/play-description.d.ts +2 -2
  167. package/dist/plays/run-request.d.mts +2 -2
  168. package/dist/plays/run-request.d.ts +2 -2
  169. package/dist/release.d.mts +1 -1
  170. package/dist/release.d.ts +1 -1
  171. package/dist/release.js +2 -2
  172. package/dist/release.mjs +1 -1
  173. package/dist/server.d.mts +4 -4
  174. package/dist/server.d.ts +4 -4
  175. package/dist/server.js +5 -5
  176. package/dist/server.mjs +3 -3
  177. package/package.json +1 -1
  178. package/dist/cli/auth-Q5TM66UI.js +0 -41
  179. package/dist/cli/describe-37QXXDCF.js +0 -48
  180. package/dist/cli/git-JGUR335T.js +0 -25
  181. package/dist/cli/search-S3VO2UKV.js +0 -32
  182. package/dist/cli/skills-C4KTW3US.js +0 -31
  183. package/dist/cli/tools-KS7JMRK6.js +0 -55
  184. package/dist/cli/update-GYTQYK2W.js +0 -33
@@ -5,7 +5,7 @@ import {
5
5
  parsePlayRunHeaderFlag,
6
6
  parsePlayRunOptions,
7
7
  resolvePlayRunCliOptions
8
- } from "./chunk-FHIO7WI2.mjs";
8
+ } from "./chunk-ZGC2SUAA.mjs";
9
9
  import {
10
10
  TABLE_EXPORT_ERROR_COLUMN,
11
11
  addDescribeOptions,
@@ -17,14 +17,14 @@ import {
17
17
  underscoreKeysLast,
18
18
  writeExecutionOutput,
19
19
  writeRunDatasetCsv
20
- } from "./chunk-QSCLOPWR.mjs";
20
+ } from "./chunk-JJVYUKLY.mjs";
21
21
  import {
22
22
  registerDeprecatedSearchCommand
23
- } from "./chunk-C5PY2PP6.mjs";
23
+ } from "./chunk-ZRWQKTSX.mjs";
24
24
  import {
25
25
  handleDeploymentGet,
26
26
  handleDeploymentsList
27
- } from "./chunk-R6L6JRDR.mjs";
27
+ } from "./chunk-7IYOWIEJ.mjs";
28
28
  import {
29
29
  buildPlayDashboardUrl
30
30
  } from "./chunk-JVHOS3K3.mjs";
@@ -40,7 +40,7 @@ import {
40
40
  isAstNode,
41
41
  listPlayFileExports,
42
42
  parsePlaySourceForAnalysis
43
- } from "./chunk-RZHUHL53.mjs";
43
+ } from "./chunk-V4ILQ2DS.mjs";
44
44
  import {
45
45
  resolveEnabledExecutionProfile
46
46
  } from "./chunk-F6QV42MC.mjs";
@@ -52,10 +52,10 @@ import {
52
52
  import {
53
53
  pinLocalPlayImports,
54
54
  planLocalPlayExecution
55
- } from "./chunk-TMMODGPV.mjs";
55
+ } from "./chunk-YX762HFK.mjs";
56
56
  import {
57
57
  DeeplineClient
58
- } from "./chunk-CFDQZQE2.mjs";
58
+ } from "./chunk-26CZVDQN.mjs";
59
59
  import "./chunk-ZCALLYF6.mjs";
60
60
  import {
61
61
  RUN_EVENT_SEARCH_KIND_VALUES,
@@ -69,7 +69,7 @@ import {
69
69
  normalizePlayStatus,
70
70
  normalizeRunEventOperationRequest,
71
71
  parseLogLevel
72
- } from "./chunk-YK64LQPQ.mjs";
72
+ } from "./chunk-DQZBERDL.mjs";
73
73
  import "./chunk-L2VKAASU.mjs";
74
74
  import {
75
75
  CSV_DATA_INPUT_KEY,
@@ -89,18 +89,18 @@ import "./chunk-UBKA33KY.mjs";
89
89
  import {
90
90
  checkPlayRunCompatibility,
91
91
  usesInlinePlayAdmission
92
- } from "./chunk-52VOORHM.mjs";
92
+ } from "./chunk-RGIQ5ZJX.mjs";
93
93
  import {
94
94
  isCliTraceEnabled,
95
95
  recordCliTrace,
96
96
  resolveCliMaintenancePolicy,
97
97
  traceCliSpan
98
- } from "./chunk-2S36YV2K.mjs";
99
- import "./chunk-T5H7ETIM.mjs";
98
+ } from "./chunk-EIKONWW7.mjs";
99
+ import "./chunk-THDXVSNL.mjs";
100
100
  import {
101
101
  createCliProgress,
102
102
  getActiveCliProgress
103
- } from "./chunk-R73LE2IM.mjs";
103
+ } from "./chunk-3MZPWIOE.mjs";
104
104
  import {
105
105
  argsWantJson,
106
106
  describeArgs,
@@ -114,17 +114,17 @@ import {
114
114
  printJsonError,
115
115
  renderCommandEnvelopeText,
116
116
  shouldEmitJson
117
- } from "./chunk-4NFBYW7X.mjs";
118
- import "./chunk-KQJHIVCE.mjs";
117
+ } from "./chunk-KKWQ24VM.mjs";
118
+ import "./chunk-YK64UZXN.mjs";
119
119
  import {
120
120
  fetchWithDeploymentProtection
121
- } from "./chunk-OMPW5ELS.mjs";
121
+ } from "./chunk-Z27NSLPC.mjs";
122
122
  import "./chunk-4QF2K7TM.mjs";
123
123
  import "./chunk-DLIRSHV6.mjs";
124
124
  import {
125
125
  DeeplineError
126
126
  } from "./chunk-HBL4PM5Q.mjs";
127
- import "./chunk-JRZW4LWK.mjs";
127
+ import "./chunk-UGYLGT7B.mjs";
128
128
  import "./chunk-WZYKRD7T.mjs";
129
129
  import {
130
130
  __commonJS,
@@ -5287,6 +5287,16 @@ var PLAY_SANDBOX_SIZE_LIMITS = {
5287
5287
  memoryGiB: 1,
5288
5288
  cpu: 1,
5289
5289
  diskGiB: 3
5290
+ },
5291
+ large: {
5292
+ memoryGiB: 4,
5293
+ cpu: 2,
5294
+ diskGiB: 8
5295
+ },
5296
+ xlarge: {
5297
+ memoryGiB: 8,
5298
+ cpu: 4,
5299
+ diskGiB: 10
5290
5300
  }
5291
5301
  };
5292
5302
  var STANDARD_PLAY_SANDBOX_RUNTIME_LIMITS = {
@@ -5295,10 +5305,29 @@ var STANDARD_PLAY_SANDBOX_RUNTIME_LIMITS = {
5295
5305
  };
5296
5306
  var MAX_PLAY_SANDBOX_RUNTIME_LIMITS = {
5297
5307
  timeoutSeconds: 4 * 60 * 60,
5298
- memoryGiB: STANDARD_PLAY_SANDBOX_RUNTIME_LIMITS.memoryGiB,
5299
- cpu: STANDARD_PLAY_SANDBOX_RUNTIME_LIMITS.cpu,
5300
- diskGiB: STANDARD_PLAY_SANDBOX_RUNTIME_LIMITS.diskGiB
5308
+ ...PLAY_SANDBOX_SIZE_LIMITS.xlarge
5301
5309
  };
5310
+ function modalSandboxMemoryLimitGiBForPlay(input) {
5311
+ if (!Object.values(PLAY_SANDBOX_SIZE_LIMITS).some(
5312
+ (profile) => profile.memoryGiB === input.memoryGiB
5313
+ )) {
5314
+ throw new Error(
5315
+ `Unsupported Modal memory reservation: ${input.memoryGiB} GiB.`
5316
+ );
5317
+ }
5318
+ return Math.min(
5319
+ Math.max(4, input.memoryGiB * 2),
5320
+ MAX_PLAY_SANDBOX_RUNTIME_LIMITS.memoryGiB
5321
+ );
5322
+ }
5323
+ function playSandboxSizeForLimits(limits) {
5324
+ return Object.entries(PLAY_SANDBOX_SIZE_LIMITS).find(
5325
+ ([, profile]) => profile.memoryGiB === limits.memoryGiB && profile.cpu === limits.cpu && profile.diskGiB === limits.diskGiB
5326
+ )?.[0] ?? null;
5327
+ }
5328
+ var supportedPlaySandboxSizes = Object.keys(PLAY_SANDBOX_SIZE_LIMITS).join(
5329
+ ", "
5330
+ );
5302
5331
  function parseTimeout(value) {
5303
5332
  const match = /^(\d+)\s*([mh])$/i.exec(value.trim());
5304
5333
  if (!match) return null;
@@ -5307,13 +5336,10 @@ function parseTimeout(value) {
5307
5336
  return amount * (match[2].toLowerCase() === "h" ? 3600 : 60);
5308
5337
  }
5309
5338
  function validatePlaySandboxRuntimeLimits(value) {
5310
- const base = STANDARD_PLAY_SANDBOX_RUNTIME_LIMITS;
5311
- for (const key of ["memoryGiB", "cpu", "diskGiB"]) {
5312
- if (value[key] !== base[key]) {
5313
- throw new Error(
5314
- `Unsupported runtime sandbox resources: ${key}=${value[key]}. Use runtime.size with a Deepline prebuilt sandbox. Supported sizes: "standard" (${base.cpu} CPU, ${base.memoryGiB}GiB memory, ${base.diskGiB}GiB disk).`
5315
- );
5316
- }
5339
+ if (!playSandboxSizeForLimits(value)) {
5340
+ throw new Error(
5341
+ `Unsupported runtime sandbox resources: cpu=${value.cpu} memoryGiB=${value.memoryGiB} diskGiB=${value.diskGiB}. Use runtime.size with a Deepline prebuilt sandbox. Supported sizes: ${supportedPlaySandboxSizes}.`
5342
+ );
5317
5343
  }
5318
5344
  if (!Number.isSafeInteger(value.timeoutSeconds) || value.timeoutSeconds <= 0) {
5319
5345
  throw new Error(
@@ -5335,12 +5361,12 @@ function resolvePlaySandboxRuntimeLimits(declaration) {
5335
5361
  );
5336
5362
  if (unsupportedProperties.length > 0) {
5337
5363
  throw new Error(
5338
- `Unsupported runtime sandbox option${unsupportedProperties.length === 1 ? "" : "s"}: ${unsupportedProperties.join(", ")}. Use runtime.size with a Deepline prebuilt sandbox. Supported sizes: "standard".`
5364
+ `Unsupported runtime sandbox option${unsupportedProperties.length === 1 ? "" : "s"}: ${unsupportedProperties.join(", ")}. Use runtime.size with a Deepline prebuilt sandbox. Supported sizes: ${supportedPlaySandboxSizes}.`
5339
5365
  );
5340
5366
  }
5341
- if (declaration.size !== void 0 && declaration.size !== "standard") {
5367
+ if (declaration.size !== void 0 && !Object.hasOwn(PLAY_SANDBOX_SIZE_LIMITS, declaration.size)) {
5342
5368
  throw new Error(
5343
- `Unsupported runtime sandbox size "${String(declaration.size)}". Supported sizes: "standard".`
5369
+ `Unsupported runtime sandbox size "${String(declaration.size)}". Supported sizes: ${supportedPlaySandboxSizes}.`
5344
5370
  );
5345
5371
  }
5346
5372
  const timeoutSeconds = declaration.timeout ? parseTimeout(declaration.timeout) : base.timeoutSeconds;
@@ -5368,9 +5394,21 @@ var MODAL_SANDBOX_COMPUTE_PRICING_USD = {
5368
5394
  memoryGiBSecond: 667e-8
5369
5395
  };
5370
5396
  var MODAL_SANDBOX_CPU_CORES = 0.5;
5397
+ function modalSandboxResourcesForPlay(input) {
5398
+ return {
5399
+ physicalCpuCores: MODAL_SANDBOX_CPU_CORES * input.cpu,
5400
+ memoryMiB: input.memoryGiB * 1024
5401
+ };
5402
+ }
5371
5403
  function roundUsd(amount) {
5372
5404
  return Number(Math.max(0, amount).toFixed(12));
5373
5405
  }
5406
+ function sandboxSizeMetadata(cpu, memoryGiB) {
5407
+ const entry = Object.entries(PLAY_SANDBOX_SIZE_LIMITS).find(
5408
+ ([, limits]) => limits.cpu === cpu && limits.memoryGiB === memoryGiB
5409
+ );
5410
+ return entry ? { sandboxSize: entry[0] } : {};
5411
+ }
5374
5412
  function resolveDaytonaSandboxComputeItem(input) {
5375
5413
  const billableSeconds = Math.max(1, Math.ceil(input.wallTimeSeconds));
5376
5414
  const cpu = Math.max(0, input.cpu);
@@ -5389,6 +5427,7 @@ function resolveDaytonaSandboxComputeItem(input) {
5389
5427
  units: billableSeconds,
5390
5428
  providerCostUsd,
5391
5429
  metadata: {
5430
+ ...sandboxSizeMetadata(cpu, memoryGiB),
5392
5431
  sandboxId: input.sandboxId ?? null,
5393
5432
  cpu,
5394
5433
  memoryGiB,
@@ -5413,9 +5452,20 @@ function resolveModalSandboxComputeItem(input) {
5413
5452
  units: billableSeconds,
5414
5453
  providerCostUsd,
5415
5454
  metadata: {
5455
+ ...sandboxSizeMetadata(
5456
+ physicalCpuCores / MODAL_SANDBOX_CPU_CORES,
5457
+ memoryGiB
5458
+ ),
5416
5459
  sandboxId: input.sandboxId ?? null,
5417
5460
  physicalCpuCores,
5418
5461
  memoryGiB,
5462
+ ...input.memoryLimitGiB === void 0 ? {} : {
5463
+ memoryLimitGiB: input.memoryLimitGiB,
5464
+ // The Preview evaluation preserves the existing compute price.
5465
+ // Sampled burst cost is diagnostic until provider billing can be
5466
+ // reconciled; a hard ceiling is never presented as actual usage.
5467
+ costBasis: "reserved_resources"
5468
+ },
5419
5469
  startedAt: input.startedAt,
5420
5470
  endedAt: input.endedAt
5421
5471
  }
@@ -5437,17 +5487,24 @@ var DEFAULT_USD_PER_CUSTOMER_CREDIT = 0.1;
5437
5487
  var DEFAULT_PROVIDER_MARKUP_MULTIPLIER = 1.4;
5438
5488
  var MAX_SANDBOX_COMPUTE_BILLING_SECONDS = 60 * 60;
5439
5489
  var MAX_SANDBOX_COMPUTE_PROVIDER_COST_USD = Math.max(
5440
- resolveDaytonaSandboxComputeItem({
5441
- itemId: "billing-cap",
5442
- wallTimeSeconds: MAX_SANDBOX_COMPUTE_BILLING_SECONDS,
5443
- ...STANDARD_PLAY_SANDBOX_RUNTIME_LIMITS
5444
- }).providerCostUsd,
5445
- resolveModalSandboxComputeItem({
5446
- itemId: "billing-cap",
5447
- wallTimeSeconds: MAX_SANDBOX_COMPUTE_BILLING_SECONDS,
5448
- physicalCpuCores: MODAL_SANDBOX_CPU_CORES,
5449
- memoryGiB: STANDARD_PLAY_SANDBOX_RUNTIME_LIMITS.memoryGiB
5450
- }).providerCostUsd
5490
+ ...Object.values(PLAY_SANDBOX_SIZE_LIMITS).flatMap((profile) => {
5491
+ const modalResources = modalSandboxResourcesForPlay(profile);
5492
+ return [
5493
+ resolveDaytonaSandboxComputeItem({
5494
+ itemId: "billing-cap",
5495
+ wallTimeSeconds: MAX_SANDBOX_COMPUTE_BILLING_SECONDS,
5496
+ cpu: profile.cpu,
5497
+ memoryGiB: profile.memoryGiB,
5498
+ diskGiB: profile.diskGiB
5499
+ }).providerCostUsd,
5500
+ resolveModalSandboxComputeItem({
5501
+ itemId: "billing-cap",
5502
+ wallTimeSeconds: MAX_SANDBOX_COMPUTE_BILLING_SECONDS,
5503
+ physicalCpuCores: modalResources.physicalCpuCores,
5504
+ memoryGiB: profile.memoryGiB
5505
+ }).providerCostUsd
5506
+ ];
5507
+ })
5451
5508
  );
5452
5509
  function roundUpCredits(value) {
5453
5510
  if (!Number.isFinite(value) || value <= 0) return 0;
@@ -5471,29 +5528,33 @@ function estimateDaytonaMaximumComputeCredits(limits) {
5471
5528
  item.providerCostUsd * COMPUTE_BILLING_MARKUP_MULTIPLIER * DEFAULT_PROVIDER_MARKUP_MULTIPLIER / DEFAULT_USD_PER_CUSTOMER_CREDIT
5472
5529
  );
5473
5530
  }
5474
- function estimateModalMaximumComputeCredits(limits) {
5531
+ function estimateModalMaximumComputeCredits(limits, elasticMemory = false) {
5532
+ const resources = modalSandboxResourcesForPlay(limits);
5475
5533
  const item = resolveModalSandboxComputeItem({
5476
5534
  itemId: "estimate",
5477
5535
  wallTimeSeconds: maximumPlaySandboxBillingSeconds(limits),
5478
- physicalCpuCores: MODAL_SANDBOX_CPU_CORES,
5479
- memoryGiB: limits.memoryGiB
5536
+ physicalCpuCores: resources.physicalCpuCores,
5537
+ memoryGiB: elasticMemory ? modalSandboxMemoryLimitGiBForPlay(limits) : limits.memoryGiB
5480
5538
  });
5481
5539
  return roundUpCredits(
5482
5540
  item.providerCostUsd * COMPUTE_BILLING_MARKUP_MULTIPLIER * DEFAULT_PROVIDER_MARKUP_MULTIPLIER / DEFAULT_USD_PER_CUSTOMER_CREDIT
5483
5541
  );
5484
5542
  }
5485
- function estimateMaximumSandboxComputeCredits(limits) {
5543
+ function estimateMaximumSandboxComputeCredits(limits, elasticMemory = false) {
5486
5544
  return Math.max(
5487
5545
  estimateDaytonaMaximumComputeCredits(limits),
5488
- estimateModalMaximumComputeCredits(limits)
5546
+ estimateModalMaximumComputeCredits(limits, elasticMemory)
5489
5547
  );
5490
5548
  }
5491
5549
  function formatNonStandardSandboxRuntimeWarning(limits) {
5492
- if (limits.timeoutSeconds <= STANDARD_PLAY_SANDBOX_RUNTIME_LIMITS.timeoutSeconds) {
5550
+ const size = playSandboxSizeForLimits(limits);
5551
+ if (!size) return null;
5552
+ if (size === "standard" && limits.timeoutSeconds <= STANDARD_PLAY_SANDBOX_RUNTIME_LIMITS.timeoutSeconds) {
5493
5553
  return null;
5494
5554
  }
5495
5555
  const maximumComputeCredits = estimateMaximumSandboxComputeCredits(limits);
5496
- return `This Play requests the standard sandbox for up to ${limits.timeoutSeconds}s (${limits.memoryGiB}GiB memory, ${limits.cpu} CPU, ${limits.diskGiB}GiB disk). Maximum compute estimate across Daytona and Modal: ${maximumComputeCredits.toFixed(2)} Deepline credits. Longer runtimes are risky.`;
5556
+ const quotedTimeout = `${Math.ceil(limits.timeoutSeconds / 60)}m`;
5557
+ return `This Play requests the ${size} sandbox for up to ${limits.timeoutSeconds}s (${limits.memoryGiB}GiB memory, ${limits.cpu} CPU, ${limits.diskGiB}GiB disk). Resource-based pricing estimate: ${maximumComputeCredits.toFixed(2)} Deepline credits. Workspace plan pricing can differ. Run deepline billing quote --sandbox-timeout ${quotedTimeout} --sandbox-size ${size} for your workspace's session ceiling.`;
5497
5558
  }
5498
5559
 
5499
5560
  // ../play-runtime/internal-step-ids.ts
@@ -16290,7 +16351,7 @@ Examples:
16290
16351
  process.exitCode = await ownView();
16291
16352
  return;
16292
16353
  }
16293
- const { describeAnything } = await import("./describe-WIAJCWF3.mjs");
16354
+ const { describeAnything } = await import("./describe-W2H5DHR6.mjs");
16294
16355
  process.exitCode = await describeAnything(
16295
16356
  name,
16296
16357
  {
@@ -16624,7 +16685,7 @@ Examples:
16624
16685
  new Option2("--log-failed", "Attach terminal-failure logs").hideHelp()
16625
16686
  ).action(async (runId, options) => {
16626
16687
  if (TOOL_EXECUTION_ID.test(runId)) {
16627
- const { getToolExecutionReceipt } = await import("./tools-Q4XIQX7W.mjs");
16688
+ const { getToolExecutionReceipt } = await import("./tools-XHCFC7GP.mjs");
16628
16689
  process.exitCode = await getToolExecutionReceipt(runId, {
16629
16690
  receiptJson: options.json !== void 0
16630
16691
  });
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
2
2
 
3
- var _chunkSKVMC6K6js = require('./chunk-SKVMC6K6.js');
4
- require('./chunk-7KAS4QOW.js');
3
+ var _chunkXP7FAYLNjs = require('./chunk-XP7FAYLN.js');
4
+ require('./chunk-N62MS3XJ.js');
5
5
  require('./chunk-E4CABWXL.js');
6
6
  require('./chunk-JDMR33HS.js');
7
7
  require('./chunk-NMU3VR5U.js');
@@ -9,21 +9,21 @@ require('./chunk-XDVT3GOM.js');
9
9
 
10
10
 
11
11
 
12
- var _chunkH7YFUC3Jjs = require('./chunk-H7YFUC3J.js');
13
- require('./chunk-5FHU67AT.js');
14
- require('./chunk-SYWOSAW7.js');
12
+ var _chunkSTLJYWUCjs = require('./chunk-STLJYWUC.js');
13
+ require('./chunk-RXITRC37.js');
14
+ require('./chunk-ORQYKA4I.js');
15
15
  require('./chunk-ALJJRZNJ.js');
16
16
  require('./chunk-XNYIZMNQ.js');
17
17
  require('./chunk-DIAWYWT5.js');
18
- require('./chunk-UKKCS6Z4.js');
18
+ require('./chunk-JCNJQH6X.js');
19
19
  require('./chunk-OG64RBAC.js');
20
20
  require('./chunk-COGTRVWW.js');
21
21
 
22
22
  // src/cli/commands/providers.ts
23
23
  async function listProviders(options = {}) {
24
- const client = new (0, _chunkSKVMC6K6js.DeeplineClient)();
24
+ const client = new (0, _chunkXP7FAYLNjs.DeeplineClient)();
25
25
  const changed = options.changed === true;
26
- const emitJson = options.json === true || _chunkH7YFUC3Jjs.shouldEmitJson.call(void 0, );
26
+ const emitJson = options.json === true || _chunkSTLJYWUCjs.shouldEmitJson.call(void 0, );
27
27
  const providers = await client.listProviders({ changed });
28
28
  const render = {
29
29
  sections: [
@@ -42,7 +42,7 @@ async function listProviders(options = {}) {
42
42
  }
43
43
  ]
44
44
  };
45
- _chunkH7YFUC3Jjs.printCommandEnvelope.call(void 0,
45
+ _chunkSTLJYWUCjs.printCommandEnvelope.call(void 0,
46
46
  {
47
47
  providers,
48
48
  count: providers.length,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  DeeplineClient
3
- } from "./chunk-CFDQZQE2.mjs";
4
- import "./chunk-YK64LQPQ.mjs";
3
+ } from "./chunk-26CZVDQN.mjs";
4
+ import "./chunk-DQZBERDL.mjs";
5
5
  import "./chunk-L2VKAASU.mjs";
6
6
  import "./chunk-NELMCOWK.mjs";
7
7
  import "./chunk-S3A4IXBQ.mjs";
@@ -9,13 +9,13 @@ import "./chunk-UBKA33KY.mjs";
9
9
  import {
10
10
  printCommandEnvelope,
11
11
  shouldEmitJson
12
- } from "./chunk-4NFBYW7X.mjs";
13
- import "./chunk-KQJHIVCE.mjs";
14
- import "./chunk-OMPW5ELS.mjs";
12
+ } from "./chunk-KKWQ24VM.mjs";
13
+ import "./chunk-YK64UZXN.mjs";
14
+ import "./chunk-Z27NSLPC.mjs";
15
15
  import "./chunk-4QF2K7TM.mjs";
16
16
  import "./chunk-DLIRSHV6.mjs";
17
17
  import "./chunk-HBL4PM5Q.mjs";
18
- import "./chunk-JRZW4LWK.mjs";
18
+ import "./chunk-UGYLGT7B.mjs";
19
19
  import "./chunk-WZYKRD7T.mjs";
20
20
  import "./chunk-KRD6H754.mjs";
21
21
 
@@ -1,13 +1,13 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkH7YFUC3Jjs = require('./chunk-H7YFUC3J.js');
5
- require('./chunk-5FHU67AT.js');
6
- require('./chunk-SYWOSAW7.js');
4
+ var _chunkSTLJYWUCjs = require('./chunk-STLJYWUC.js');
5
+ require('./chunk-RXITRC37.js');
6
+ require('./chunk-ORQYKA4I.js');
7
7
  require('./chunk-ALJJRZNJ.js');
8
8
  require('./chunk-XNYIZMNQ.js');
9
9
  require('./chunk-DIAWYWT5.js');
10
- require('./chunk-UKKCS6Z4.js');
10
+ require('./chunk-JCNJQH6X.js');
11
11
  require('./chunk-OG64RBAC.js');
12
12
 
13
13
 
@@ -17,12 +17,12 @@ require('./chunk-COGTRVWW.js');
17
17
 
18
18
  // src/cli/commands/quickstart.ts
19
19
  async function handleQuickstart(options) {
20
- const jsonOutput = _chunkH7YFUC3Jjs.shouldEmitJson.call(void 0, options.json === true);
20
+ const jsonOutput = _chunkSTLJYWUCjs.shouldEmitJson.call(void 0, options.json === true);
21
21
  const gettingStarted = {
22
22
  skill: _chunk6V7KVRR5js.DEEPLINE_GTM_SKILL,
23
23
  examples: _chunk6V7KVRR5js.DEEPLINE_GTM_STARTER_PROMPTS
24
24
  };
25
- _chunkH7YFUC3Jjs.printCommandEnvelope.call(void 0,
25
+ _chunkSTLJYWUCjs.printCommandEnvelope.call(void 0,
26
26
  {
27
27
  ok: true,
28
28
  status: "deprecated",
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  printCommandEnvelope,
3
3
  shouldEmitJson
4
- } from "./chunk-4NFBYW7X.mjs";
5
- import "./chunk-KQJHIVCE.mjs";
6
- import "./chunk-OMPW5ELS.mjs";
4
+ } from "./chunk-KKWQ24VM.mjs";
5
+ import "./chunk-YK64UZXN.mjs";
6
+ import "./chunk-Z27NSLPC.mjs";
7
7
  import "./chunk-4QF2K7TM.mjs";
8
8
  import "./chunk-DLIRSHV6.mjs";
9
9
  import "./chunk-HBL4PM5Q.mjs";
10
- import "./chunk-JRZW4LWK.mjs";
10
+ import "./chunk-UGYLGT7B.mjs";
11
11
  import "./chunk-WZYKRD7T.mjs";
12
12
  import {
13
13
  DEEPLINE_GTM_SKILL,
@@ -1,51 +1,51 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
3
 
4
- var _chunkL3AXQXNTjs = require('./chunk-L3AXQXNT.js');
5
- require('./chunk-SBPI7AEB.js');
4
+ var _chunk4C34LGI4js = require('./chunk-4C34LGI4.js');
5
+ require('./chunk-3ODBCZLL.js');
6
6
 
7
7
 
8
8
 
9
- var _chunkRMQB72WWjs = require('./chunk-RMQB72WW.js');
9
+ var _chunkYFDTF2XCjs = require('./chunk-YFDTF2XC.js');
10
10
 
11
11
 
12
12
 
13
13
 
14
- var _chunkRDOPZK7Ajs = require('./chunk-RDOPZK7A.js');
15
- require('./chunk-2DND7LLL.js');
14
+ var _chunkAIPTW3EKjs = require('./chunk-AIPTW3EK.js');
15
+ require('./chunk-G3UHAYRX.js');
16
16
 
17
17
 
18
- var _chunkT5GRG37Bjs = require('./chunk-T5GRG37B.js');
19
- require('./chunk-V6OMS7E2.js');
18
+ var _chunkAK7UKQ5Rjs = require('./chunk-AK7UKQ5R.js');
19
+ require('./chunk-4IOY2SCQ.js');
20
20
  require('./chunk-IAYSWZDJ.js');
21
21
  require('./chunk-AID3OYVJ.js');
22
22
  require('./chunk-ZM2YPJQJ.js');
23
23
  require('./chunk-VLEVVDWG.js');
24
24
  require('./chunk-J33TSWO5.js');
25
25
  require('./chunk-HGFFYVXN.js');
26
- require('./chunk-SKVMC6K6.js');
26
+ require('./chunk-XP7FAYLN.js');
27
27
  require('./chunk-NPZBE64X.js');
28
- require('./chunk-7KAS4QOW.js');
28
+ require('./chunk-N62MS3XJ.js');
29
29
  require('./chunk-E4CABWXL.js');
30
30
  require('./chunk-JDMR33HS.js');
31
31
  require('./chunk-NMU3VR5U.js');
32
32
  require('./chunk-XDVT3GOM.js');
33
- require('./chunk-UPXGN62E.js');
34
- require('./chunk-GJPRBELO.js');
35
- require('./chunk-VDHDTXCK.js');
36
- require('./chunk-ODAARZSK.js');
37
- require('./chunk-2G4R4APL.js');
38
- require('./chunk-3L76SFGN.js');
33
+ require('./chunk-IK3VOGDR.js');
34
+ require('./chunk-CXBEZAPU.js');
35
+ require('./chunk-EK2TAZJZ.js');
36
+ require('./chunk-475V572K.js');
37
+ require('./chunk-AWJKYS25.js');
38
+ require('./chunk-LHOEWAVD.js');
39
39
 
40
40
 
41
- var _chunkM475BQ77js = require('./chunk-M475BQ77.js');
42
- require('./chunk-H7YFUC3J.js');
43
- require('./chunk-5FHU67AT.js');
44
- require('./chunk-SYWOSAW7.js');
41
+ var _chunkRLQIGBFKjs = require('./chunk-RLQIGBFK.js');
42
+ require('./chunk-STLJYWUC.js');
43
+ require('./chunk-RXITRC37.js');
44
+ require('./chunk-ORQYKA4I.js');
45
45
  require('./chunk-ALJJRZNJ.js');
46
46
  require('./chunk-XNYIZMNQ.js');
47
47
  require('./chunk-DIAWYWT5.js');
48
- require('./chunk-UKKCS6Z4.js');
48
+ require('./chunk-JCNJQH6X.js');
49
49
  require('./chunk-OG64RBAC.js');
50
50
  require('./chunk-COGTRVWW.js');
51
51
 
@@ -80,7 +80,7 @@ function readInput(options) {
80
80
  return input;
81
81
  }
82
82
  function refuse(message, output) {
83
- _chunkRDOPZK7Ajs.writeExecutionOutput.call(void 0,
83
+ _chunkAIPTW3EKjs.writeExecutionOutput.call(void 0,
84
84
  { id: null, status: "failed", error: { message }, ran: false },
85
85
  output
86
86
  );
@@ -96,7 +96,7 @@ async function runAnything(name, options) {
96
96
  logsOut: options.logsOut,
97
97
  fields: _optionalChain([options, 'access', _7 => _7.fields, 'optionalAccess', _8 => _8.split, 'call', _9 => _9(","), 'access', _10 => _10.map, 'call', _11 => _11((path) => path.trim()), 'access', _12 => _12.filter, 'call', _13 => _13(Boolean)])
98
98
  };
99
- if (!_chunkRDOPZK7Ajs.preflightExecutionOutput.call(void 0, output)) return 2;
99
+ if (!_chunkAIPTW3EKjs.preflightExecutionOutput.call(void 0, output)) return 2;
100
100
  let input;
101
101
  let timeoutMs;
102
102
  try {
@@ -114,7 +114,7 @@ async function runAnything(name, options) {
114
114
  throw new Error("--max-credits takes a number of credits above 0.");
115
115
  }
116
116
  if (options.timeout !== void 0 && options.timeout !== "0") {
117
- const { parseToolExecuteTimeout } = await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-KS7JMRK6.js")));
117
+ const { parseToolExecuteTimeout } = await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-3WX7TUUG.js")));
118
118
  timeoutMs = parseToolExecuteTimeout(options.timeout);
119
119
  }
120
120
  } catch (error) {
@@ -135,7 +135,7 @@ async function runAnything(name, options) {
135
135
  if (name !== void 0) {
136
136
  return refuse("Use a name or -e, not both.", output);
137
137
  }
138
- const { writeInlinePlay } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-5KER3JFU.js")));
138
+ const { writeInlinePlay } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-3EXNH3HD.js")));
139
139
  let file;
140
140
  try {
141
141
  file = writeInlinePlay(options.eval);
@@ -158,23 +158,23 @@ async function runAnything(name, options) {
158
158
  output
159
159
  );
160
160
  }
161
- if (_chunkRMQB72WWjs.looksLikeFilePath.call(void 0, name)) {
161
+ if (_chunkYFDTF2XCjs.looksLikeFilePath.call(void 0, name)) {
162
162
  output.label = `${name} (play file)`;
163
163
  return runPlay(name, play);
164
164
  }
165
165
  let { base, revision } = splitRevision(name);
166
- let found = await _chunkL3AXQXNTjs.findNamed.call(void 0, base, {});
166
+ let found = await _chunk4C34LGI4js.findNamed.call(void 0, base, {});
167
167
  if (!found.chosen && revision) {
168
- found = await _chunkL3AXQXNTjs.findNamed.call(void 0, name, {});
168
+ found = await _chunk4C34LGI4js.findNamed.call(void 0, name, {});
169
169
  if (found.chosen)
170
170
  ({ base, revision } = { base: name, revision: void 0 });
171
171
  }
172
172
  const { chosen, shadowed } = found;
173
- if (!chosen) return refuse(_chunkL3AXQXNTjs.nothingNamed.call(void 0, base), output);
173
+ if (!chosen) return refuse(_chunk4C34LGI4js.nothingNamed.call(void 0, base), output);
174
174
  const { described } = chosen;
175
175
  if (described.kind === "custom_play" && shadowed) {
176
176
  console.error(
177
- `Running your workspace play "${base}". It has the same name as a Deepline ${shadowed.described.kind.replace("_", " ")}; run that one with: deepline run ${_chunkT5GRG37Bjs.DEEPLINE_NAMESPACE}${base}`
177
+ `Running your workspace play "${base}". It has the same name as a Deepline ${shadowed.described.kind.replace("_", " ")}; run that one with: deepline run ${_chunkAK7UKQ5Rjs.DEEPLINE_NAMESPACE}${base}`
178
178
  );
179
179
  }
180
180
  const { runner } = described;
@@ -195,7 +195,7 @@ async function runAnything(name, options) {
195
195
  if (runner.via === "play") {
196
196
  return runPlay(runner.reference, { ...play, revision });
197
197
  }
198
- const { executeToolForReceipt } = await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-KS7JMRK6.js")));
198
+ const { executeToolForReceipt } = await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-3WX7TUUG.js")));
199
199
  return executeToolForReceipt({
200
200
  toolId: runner.toolId,
201
201
  params: input,
@@ -209,7 +209,7 @@ function dryRun(described, input, output) {
209
209
  const missing = described.inputs.filter((field) => field.required && !(field.name in input)).map((field) => field.name);
210
210
  const known = new Set(described.inputs.map((field) => field.name));
211
211
  const unknown = known.size ? Object.keys(input).filter((key) => !known.has(key)) : [];
212
- _chunkRDOPZK7Ajs.writeExecutionOutput.call(void 0,
212
+ _chunkAIPTW3EKjs.writeExecutionOutput.call(void 0,
213
213
  {
214
214
  id: null,
215
215
  status: "dry_run",
@@ -226,11 +226,11 @@ function dryRun(described, input, output) {
226
226
  return missing.length ? 2 : 0;
227
227
  }
228
228
  async function runPlay(reference, play) {
229
- const { handlePlayRun, writePlayRunReceipt } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-5KER3JFU.js")));
229
+ const { handlePlayRun, writePlayRunReceipt } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-3EXNH3HD.js")));
230
230
  const { output, options, revision } = play;
231
231
  if (options.dryRun) {
232
232
  return handlePlayRun(
233
- _chunkRMQB72WWjs.resolvePlayRunCliOptions.call(void 0, reference, {
233
+ _chunkYFDTF2XCjs.resolvePlayRunCliOptions.call(void 0, reference, {
234
234
  input: JSON.stringify(play.input),
235
235
  dryRun: true,
236
236
  json: output.receiptJson === true
@@ -239,11 +239,11 @@ async function runPlay(reference, play) {
239
239
  }
240
240
  let id = null;
241
241
  let written = false;
242
- const progress = _chunkM475BQ77js.createCliProgress.call(void 0, true);
243
- if (!play.noWait) progress.setLogWriter(_chunkRDOPZK7Ajs.openLogDestination.call(void 0, output));
242
+ const progress = _chunkRLQIGBFKjs.createCliProgress.call(void 0, true);
243
+ if (!play.noWait) progress.setLogWriter(_chunkAIPTW3EKjs.openLogDestination.call(void 0, output));
244
244
  try {
245
245
  const code = await handlePlayRun(
246
- _chunkRMQB72WWjs.resolvePlayRunCliOptions.call(void 0, reference, {
246
+ _chunkYFDTF2XCjs.resolvePlayRunCliOptions.call(void 0, reference, {
247
247
  input: JSON.stringify(play.input),
248
248
  // The receipt is the only thing on stdout.
249
249
  json: true,
@@ -276,7 +276,7 @@ async function runPlay(reference, play) {
276
276
  },
277
277
  writeStarted: (runId, status) => {
278
278
  written = true;
279
- _chunkRDOPZK7Ajs.writeExecutionOutput.call(void 0,
279
+ _chunkAIPTW3EKjs.writeExecutionOutput.call(void 0,
280
280
  {
281
281
  id: runId,
282
282
  status,
@@ -291,7 +291,7 @@ async function runPlay(reference, play) {
291
291
  }
292
292
  );
293
293
  if (!written) {
294
- _chunkRDOPZK7Ajs.writeExecutionOutput.call(void 0,
294
+ _chunkAIPTW3EKjs.writeExecutionOutput.call(void 0,
295
295
  {
296
296
  id,
297
297
  status: "failed",
@@ -303,7 +303,7 @@ async function runPlay(reference, play) {
303
303
  return code;
304
304
  } catch (error) {
305
305
  if (written) throw error;
306
- _chunkRDOPZK7Ajs.writeExecutionOutput.call(void 0,
306
+ _chunkAIPTW3EKjs.writeExecutionOutput.call(void 0,
307
307
  {
308
308
  id,
309
309
  status: "failed",