deepline 0.3.477 → 0.3.479

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 (168) hide show
  1. package/dist/bundling-sources/sdk/src/client-core.ts +5 -4
  2. package/dist/bundling-sources/sdk/src/http-core.ts +84 -3
  3. package/dist/bundling-sources/sdk/src/http.ts +2 -0
  4. package/dist/bundling-sources/sdk/src/play.ts +8 -2
  5. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  6. package/dist/bundling-sources/shared_libs/integration-contracts/billing-entitlements.ts +11 -0
  7. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +18 -0
  8. package/dist/bundling-sources/shared_libs/play-runtime/context.ts +10 -2
  9. package/dist/bundling-sources/shared_libs/play-runtime/governor/app-runtime-rate-state-backend.ts +11 -1
  10. package/dist/bundling-sources/shared_libs/play-runtime/protocol.ts +5 -0
  11. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-payload-transport.ts +77 -4
  12. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-session-execution.ts +83 -1
  13. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona.ts +7 -0
  14. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-rate-state.ts +60 -27
  15. package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +13 -12
  16. package/dist/bundling-sources/shared_libs/plays/bundling/index.ts +5 -2
  17. package/dist/bundling-sources/shared_libs/plays/sandbox-runtime-limits.ts +37 -12
  18. package/dist/bundling-sources/shared_libs/product-notifications/billing-sales.ts +3 -1
  19. package/dist/bundling-sources/shared_libs/product-notifications/catalog.ts +29 -0
  20. package/dist/bundling-sources/shared_libs/product-notifications/events.ts +15 -0
  21. package/dist/bundling-sources/shared_libs/product-notifications/slack-delivery.ts +57 -5
  22. package/dist/bundling-sources/shared_libs/product-notifications/slack-transport.ts +19 -0
  23. package/dist/cli/{auth-XVXRRWIQ.mjs → auth-D7DYB57R.mjs} +5 -5
  24. package/dist/cli/auth-MZDFNRPG.js +41 -0
  25. package/dist/cli/{billing-2H7GFJDT.js → billing-DHGSNM6E.js} +107 -87
  26. package/dist/cli/{billing-EOPUJ4JI.mjs → billing-DT4JT4QN.mjs} +34 -14
  27. package/dist/cli/{chunk-CH4VMDB5.js → chunk-27GSBTWD.js} +70 -52
  28. package/dist/cli/{chunk-PQQNMMWM.mjs → chunk-27PXHD2P.mjs} +1 -1
  29. package/dist/cli/{chunk-ACDXGOXE.js → chunk-33O2JGHE.js} +63 -11
  30. package/dist/cli/{chunk-255O6APS.js → chunk-3GIM7XRH.js} +2 -2
  31. package/dist/cli/{chunk-6IJJCRE5.mjs → chunk-3PHOAUU4.mjs} +23 -5
  32. package/dist/cli/{chunk-NC52JG66.js → chunk-3SGA53DX.js} +3 -3
  33. package/dist/cli/{chunk-RHIFH3GD.mjs → chunk-6C3QY5JS.mjs} +1 -1
  34. package/dist/cli/{chunk-NJMYX2TP.mjs → chunk-6QIXWFPO.mjs} +3 -3
  35. package/dist/cli/chunk-7I4B6V2S.mjs +127 -0
  36. package/dist/cli/{chunk-MZSLFWOT.js → chunk-7UFFWPQ2.js} +13 -9
  37. package/dist/cli/{chunk-RGNMMDSJ.js → chunk-AFHFZU5V.js} +37 -37
  38. package/dist/cli/{chunk-KWQNNPMH.js → chunk-AKVNUNL7.js} +3 -3
  39. package/dist/cli/{chunk-LXKGZKTL.js → chunk-CK2Q6AWR.js} +26 -26
  40. package/dist/cli/{chunk-DFKHXZQ7.mjs → chunk-D6MLXRMQ.mjs} +10 -10
  41. package/dist/cli/{chunk-7CILZKLE.js → chunk-EMVWC5LP.js} +5 -5
  42. package/dist/cli/{chunk-75NLWBYQ.js → chunk-FBEXJVQL.js} +93 -93
  43. package/dist/cli/{chunk-JS4UO6G4.mjs → chunk-FKEZ5DIJ.mjs} +2 -1
  44. package/dist/cli/{chunk-ZDPL5AIK.js → chunk-FV7WGK5X.js} +5 -5
  45. package/dist/cli/{chunk-E2CUSH56.js → chunk-G6V34EQ5.js} +16 -16
  46. package/dist/cli/{chunk-DS3DZUES.mjs → chunk-GICSDK72.mjs} +2 -2
  47. package/dist/cli/{chunk-C2V2HQDW.mjs → chunk-GONL4EFT.mjs} +2 -2
  48. package/dist/cli/{chunk-6KKDIISC.js → chunk-GQCH6Y7W.js} +1 -1
  49. package/dist/cli/{chunk-3UKKM6OS.js → chunk-GSULE54L.js} +7 -6
  50. package/dist/cli/{chunk-2YNLW43I.mjs → chunk-GZ43YXHT.mjs} +2 -2
  51. package/dist/cli/{chunk-UYA7LJGC.mjs → chunk-IL5AF6AR.mjs} +4 -2
  52. package/dist/cli/{chunk-R5FNCFEK.js → chunk-J5VDE42G.js} +3 -3
  53. package/dist/cli/{chunk-KMXBZIKO.mjs → chunk-JFGOMQW6.mjs} +2 -2
  54. package/dist/cli/{chunk-C46DWB56.mjs → chunk-JKUFOP7M.mjs} +1 -1
  55. package/dist/cli/{chunk-23EEVP5W.js → chunk-JMCTNS6S.js} +6 -6
  56. package/dist/cli/{chunk-ISEUOYCB.mjs → chunk-JNFNNJ75.mjs} +4 -4
  57. package/dist/cli/{chunk-C2AN2HTB.mjs → chunk-K5RRY7DJ.mjs} +4 -4
  58. package/dist/cli/{chunk-M2UL4ZS5.js → chunk-LXYDN5FE.js} +7 -7
  59. package/dist/cli/{chunk-3W6E3WVU.js → chunk-N4M6CO5H.js} +9 -9
  60. package/dist/cli/{chunk-RLCAECZH.mjs → chunk-N7E25EU2.mjs} +5 -5
  61. package/dist/cli/{chunk-YZA5UJXM.mjs → chunk-O5BUFQ2P.mjs} +1 -1
  62. package/dist/cli/{chunk-WFVEMDQL.js → chunk-OKAZHDYN.js} +4 -2
  63. package/dist/cli/{chunk-4RAENEAX.js → chunk-OVFCPV24.js} +53 -53
  64. package/dist/cli/{chunk-NO7ZC2GV.mjs → chunk-PUOKABQF.mjs} +5 -5
  65. package/dist/cli/{chunk-SG2SZQ4K.mjs → chunk-RJVUILW4.mjs} +2 -2
  66. package/dist/cli/{chunk-SVU2VR6Q.mjs → chunk-TZCHXF4R.mjs} +2 -2
  67. package/dist/cli/{chunk-XQLYPHYW.mjs → chunk-UOYA35OT.mjs} +1 -1
  68. package/dist/cli/{chunk-THMGJOR4.js → chunk-VKBLXJCK.js} +8 -8
  69. package/dist/cli/{chunk-UBNS6GSV.js → chunk-VRZXGJXH.js} +21 -21
  70. package/dist/cli/{chunk-DMWHEYZM.js → chunk-W4HIOBQQ.js} +2 -2
  71. package/dist/cli/{chunk-347EE4YE.js → chunk-W6N2S5N7.js} +8 -8
  72. package/dist/cli/{chunk-WRHLAAGN.mjs → chunk-XBYW5EHY.mjs} +1 -1
  73. package/dist/cli/{chunk-LJYTYNQZ.mjs → chunk-XDFARN7U.mjs} +55 -3
  74. package/dist/cli/{chunk-2QT6KN54.js → chunk-Y2MVDYV6.js} +10 -10
  75. package/dist/cli/{chunk-QODW5ILA.mjs → chunk-YC2QBF2W.mjs} +2 -2
  76. package/dist/cli/chunk-YGCKMI5P.js +127 -0
  77. package/dist/cli/{chunk-3A7TDUZV.mjs → chunk-ZBSUXXZS.mjs} +13 -9
  78. package/dist/cli/{chunk-2GZFIWSA.mjs → chunk-ZJRVHQSZ.mjs} +4 -4
  79. package/dist/cli/command-docs.js +2 -2
  80. package/dist/cli/command-docs.mjs +1 -1
  81. package/dist/cli/{csv-ECB7TYR2.js → csv-DQWOZ2BL.js} +13 -13
  82. package/dist/cli/{csv-IDRPTSSC.mjs → csv-JXFOD7DJ.mjs} +4 -4
  83. package/dist/cli/{db-FOBZD44N.mjs → db-NOGMZAQE.mjs} +6 -6
  84. package/dist/cli/{db-S74XZZ77.js → db-Q2OAAXRX.js} +27 -27
  85. package/dist/cli/describe-THHHNUEA.js +48 -0
  86. package/dist/cli/{describe-KMTPPI2J.mjs → describe-VKZTZLX6.mjs} +17 -17
  87. package/dist/cli/describe-core.d.mts +3 -3
  88. package/dist/cli/describe-core.d.ts +3 -3
  89. package/dist/cli/{executions-ZE3JMNA4.js → executions-B3GDZ4GQ.js} +8 -8
  90. package/dist/cli/{executions-4JAIVE2E.mjs → executions-XU3JMNI3.mjs} +6 -6
  91. package/dist/cli/{feedback-W6VA47A3.js → feedback-5IW3ZKRP.js} +8 -8
  92. package/dist/cli/{feedback-EUX5PDBA.mjs → feedback-R5UQXINE.mjs} +4 -4
  93. package/dist/cli/{git-UOVG4PLH.mjs → git-7B4H7VEL.mjs} +5 -5
  94. package/dist/cli/git-BX27JAW4.js +25 -0
  95. package/dist/cli/index.js +161 -142
  96. package/dist/cli/index.mjs +65 -46
  97. package/dist/cli/{legacy-noops-3H35EH5Y.js → legacy-noops-AVT6T5QI.js} +8 -8
  98. package/dist/cli/{legacy-noops-ZBWUNFWV.mjs → legacy-noops-KY7JAALE.mjs} +5 -5
  99. package/dist/cli/{monitors-AYSGSUAK.mjs → monitors-G7L7AFXR.mjs} +7 -7
  100. package/dist/cli/{monitors-PI3KPLR2.js → monitors-GZB6CWK2.js} +91 -91
  101. package/dist/cli/{org-2BIG7U4V.mjs → org-QDUBOQTH.mjs} +6 -6
  102. package/dist/cli/{org-MVS3Y6BK.js → org-ZHHKAPCE.js} +72 -72
  103. package/dist/cli/{pages-VB6FOVDE.js → pages-5P3SPMN5.js} +17 -17
  104. package/dist/cli/{pages-4TRRL24G.mjs → pages-Q4WGQCST.mjs} +6 -6
  105. package/dist/cli/{play-BLT6IT2O.js → play-IRLKESZB.js} +585 -678
  106. package/dist/cli/{play-JR3VUOZM.mjs → play-WRSHD4RE.mjs} +26 -119
  107. package/dist/cli/{providers-547DPK4S.mjs → providers-7CQUHS57.mjs} +6 -6
  108. package/dist/cli/{providers-BBXIAGW4.js → providers-LKEYLN6D.js} +9 -9
  109. package/dist/cli/{quickstart-NTLXD7HS.mjs → quickstart-I6NYGMEE.mjs} +4 -4
  110. package/dist/cli/{quickstart-RNPI5B6J.js → quickstart-KS45M5SR.js} +6 -6
  111. package/dist/cli/{run-QZ4SFECD.mjs → run-AZETCL7R.mjs} +22 -22
  112. package/dist/cli/{run-BCCEXBOG.js → run-BLMOBNAN.js} +36 -36
  113. package/dist/cli/{search-PYNELH4C.mjs → search-EEKEP67Y.mjs} +7 -7
  114. package/dist/cli/search-PEQXXY2B.js +32 -0
  115. package/dist/cli/{secrets-O5WGREQ7.mjs → secrets-HAULG2EW.mjs} +6 -6
  116. package/dist/cli/{secrets-VD35LMYJ.js → secrets-M6NU3TD2.js} +15 -15
  117. package/dist/cli/{sessions-2TL6Z5J5.mjs → sessions-5MB4XKOK.mjs} +5 -5
  118. package/dist/cli/{sessions-NGGIBYXF.js → sessions-DSR5AHIA.js} +6 -6
  119. package/dist/cli/{settings-ERFNZRHO.js → settings-6US327NQ.js} +78 -78
  120. package/dist/cli/{settings-6KM74AJT.mjs → settings-JUQP4HYQ.mjs} +11 -11
  121. package/dist/cli/{setup-6X7EJ6RG.js → setup-5ZRSEQUD.js} +44 -44
  122. package/dist/cli/{setup-Y3BN6XRS.mjs → setup-JRH4UC47.mjs} +9 -9
  123. package/dist/cli/{skills-OUBQASHI.mjs → skills-HFOZ5WDH.mjs} +7 -7
  124. package/dist/cli/skills-P67KCVDR.js +33 -0
  125. package/dist/cli/{tools-EELZ5FF5.mjs → tools-CJEBZNPB.mjs} +16 -16
  126. package/dist/cli/tools-PDBEAI22.js +55 -0
  127. package/dist/cli/update-G6DI3BQW.js +33 -0
  128. package/dist/cli/{update-TX7SW32Y.mjs → update-VQJEPAAK.mjs} +9 -9
  129. package/dist/cli/{workflow-PUNQG7LG.mjs → workflow-EYWE3T75.mjs} +7 -7
  130. package/dist/cli/{workflow-5AI2BJA7.js → workflow-NKPDRZOP.js} +17 -17
  131. package/dist/{client-AjmfA5nR.d.mts → client-B9N1bcGc.d.mts} +1 -1
  132. package/dist/{client-DMyY-QL8.d.ts → client-Btw075Hq.d.ts} +1 -1
  133. package/dist/{client-core-C705vFyV.d.ts → client-core-DvGWlwtX.d.ts} +45 -6
  134. package/dist/{client-core-CpBbvLEX.d.mts → client-core-TulbIeRB.d.mts} +45 -6
  135. package/dist/{compiler-manifest-hqIAukR0.d.mts → compiler-manifest-gkO9ZkVg.d.mts} +37 -17
  136. package/dist/{compiler-manifest-hqIAukR0.d.ts → compiler-manifest-gkO9ZkVg.d.ts} +37 -17
  137. package/dist/{errors-CRO2qQ6k.d.ts → errors-Cc92LKH-.d.ts} +1 -1
  138. package/dist/{errors-DIHVetNY.d.mts → errors-CeCCOKSA.d.mts} +1 -1
  139. package/dist/{index-B8DVoeYt.d.ts → index-DJQKdV76.d.ts} +1 -1
  140. package/dist/{index-DVZ_X4Gb.d.mts → index-DsqWJL3Q.d.mts} +1 -1
  141. package/dist/index.d.mts +15 -9
  142. package/dist/index.d.ts +15 -9
  143. package/dist/index.js +9 -9
  144. package/dist/index.mjs +6 -6
  145. package/dist/install-integrity.json +112 -110
  146. package/dist/plays/bundle-play-file.d.mts +3 -3
  147. package/dist/plays/bundle-play-file.d.ts +3 -3
  148. package/dist/plays/bundle-play-file.mjs +2 -1
  149. package/dist/plays/play-description.d.mts +2 -2
  150. package/dist/plays/play-description.d.ts +2 -2
  151. package/dist/plays/run-request.d.mts +2 -2
  152. package/dist/plays/run-request.d.ts +2 -2
  153. package/dist/release.d.mts +1 -1
  154. package/dist/release.d.ts +1 -1
  155. package/dist/release.js +2 -2
  156. package/dist/release.mjs +1 -1
  157. package/dist/server.d.mts +4 -4
  158. package/dist/server.d.ts +4 -4
  159. package/dist/server.js +5 -5
  160. package/dist/server.mjs +3 -3
  161. package/package.json +1 -1
  162. package/dist/cli/auth-QITP34OX.js +0 -41
  163. package/dist/cli/describe-PI7HCT7K.js +0 -48
  164. package/dist/cli/git-NDOGCQZY.js +0 -25
  165. package/dist/cli/search-YHEICYQL.js +0 -32
  166. package/dist/cli/skills-F7MPYC4P.js +0 -33
  167. package/dist/cli/tools-MCWDAK53.js +0 -55
  168. package/dist/cli/update-G5BRJOVT.js +0 -33
@@ -5,7 +5,7 @@ import {
5
5
  parsePlayRunHeaderFlag,
6
6
  parsePlayRunOptions,
7
7
  resolvePlayRunCliOptions
8
- } from "./chunk-SVU2VR6Q.mjs";
8
+ } from "./chunk-TZCHXF4R.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-C46DWB56.mjs";
20
+ } from "./chunk-JKUFOP7M.mjs";
21
21
  import {
22
22
  registerDeprecatedSearchCommand
23
- } from "./chunk-NJMYX2TP.mjs";
23
+ } from "./chunk-6QIXWFPO.mjs";
24
24
  import {
25
25
  handleDeploymentGet,
26
26
  handleDeploymentsList
27
- } from "./chunk-KMXBZIKO.mjs";
27
+ } from "./chunk-JFGOMQW6.mjs";
28
28
  import {
29
29
  buildPlayDashboardUrl
30
30
  } from "./chunk-JVHOS3K3.mjs";
@@ -40,11 +40,19 @@ import {
40
40
  isAstNode,
41
41
  listPlayFileExports,
42
42
  parsePlaySourceForAnalysis
43
- } from "./chunk-3A7TDUZV.mjs";
43
+ } from "./chunk-ZBSUXXZS.mjs";
44
44
  import {
45
45
  resolveEnabledExecutionProfile
46
46
  } from "./chunk-F6QV42MC.mjs";
47
47
  import "./chunk-H7HIDGZ7.mjs";
48
+ import {
49
+ MAX_PLAY_SANDBOX_RUNTIME_LIMITS,
50
+ PLAY_SANDBOX_SIZE_LIMITS,
51
+ STANDARD_PLAY_SANDBOX_RUNTIME_LIMITS,
52
+ modalSandboxMemoryLimitGiBForPlay,
53
+ playSandboxSizeForLimits,
54
+ resolvePlaySandboxRuntimeLimits
55
+ } from "./chunk-7I4B6V2S.mjs";
48
56
  import "./chunk-FR2ILQ4G.mjs";
49
57
  import {
50
58
  parseCsvDataInput
@@ -52,10 +60,10 @@ import {
52
60
  import {
53
61
  pinLocalPlayImports,
54
62
  planLocalPlayExecution
55
- } from "./chunk-C2V2HQDW.mjs";
63
+ } from "./chunk-GONL4EFT.mjs";
56
64
  import {
57
65
  DeeplineClient
58
- } from "./chunk-SG2SZQ4K.mjs";
66
+ } from "./chunk-RJVUILW4.mjs";
59
67
  import "./chunk-ZCALLYF6.mjs";
60
68
  import {
61
69
  RUN_EVENT_SEARCH_KIND_VALUES,
@@ -69,7 +77,7 @@ import {
69
77
  normalizePlayStatus,
70
78
  normalizeRunEventOperationRequest,
71
79
  parseLogLevel
72
- } from "./chunk-JS4UO6G4.mjs";
80
+ } from "./chunk-FKEZ5DIJ.mjs";
73
81
  import "./chunk-L2VKAASU.mjs";
74
82
  import {
75
83
  CSV_DATA_INPUT_KEY,
@@ -89,18 +97,18 @@ import "./chunk-UBKA33KY.mjs";
89
97
  import {
90
98
  checkPlayRunCompatibility,
91
99
  usesInlinePlayAdmission
92
- } from "./chunk-2YNLW43I.mjs";
100
+ } from "./chunk-GZ43YXHT.mjs";
93
101
  import {
94
102
  isCliTraceEnabled,
95
103
  recordCliTrace,
96
104
  resolveCliMaintenancePolicy,
97
105
  traceCliSpan
98
- } from "./chunk-XQLYPHYW.mjs";
99
- import "./chunk-C2AN2HTB.mjs";
106
+ } from "./chunk-UOYA35OT.mjs";
107
+ import "./chunk-K5RRY7DJ.mjs";
100
108
  import {
101
109
  createCliProgress,
102
110
  getActiveCliProgress
103
- } from "./chunk-WRHLAAGN.mjs";
111
+ } from "./chunk-XBYW5EHY.mjs";
104
112
  import {
105
113
  argsWantJson,
106
114
  describeArgs,
@@ -114,17 +122,17 @@ import {
114
122
  printJsonError,
115
123
  renderCommandEnvelopeText,
116
124
  shouldEmitJson
117
- } from "./chunk-QODW5ILA.mjs";
118
- import "./chunk-YZA5UJXM.mjs";
125
+ } from "./chunk-YC2QBF2W.mjs";
126
+ import "./chunk-O5BUFQ2P.mjs";
119
127
  import {
120
128
  fetchWithDeploymentProtection
121
- } from "./chunk-LJYTYNQZ.mjs";
129
+ } from "./chunk-XDFARN7U.mjs";
122
130
  import "./chunk-4QF2K7TM.mjs";
123
131
  import "./chunk-DLIRSHV6.mjs";
124
132
  import {
125
133
  DeeplineError
126
134
  } from "./chunk-HBL4PM5Q.mjs";
127
- import "./chunk-PQQNMMWM.mjs";
135
+ import "./chunk-27PXHD2P.mjs";
128
136
  import "./chunk-WZYKRD7T.mjs";
129
137
  import {
130
138
  __commonJS,
@@ -5281,107 +5289,6 @@ ${hint}`;
5281
5289
  });
5282
5290
  }
5283
5291
 
5284
- // ../plays/sandbox-runtime-limits.ts
5285
- var PLAY_SANDBOX_SIZE_LIMITS = {
5286
- standard: {
5287
- memoryGiB: 1,
5288
- cpu: 1,
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
5300
- }
5301
- };
5302
- var STANDARD_PLAY_SANDBOX_RUNTIME_LIMITS = {
5303
- timeoutSeconds: 30 * 60,
5304
- ...PLAY_SANDBOX_SIZE_LIMITS.standard
5305
- };
5306
- var MAX_PLAY_SANDBOX_RUNTIME_LIMITS = {
5307
- timeoutSeconds: 4 * 60 * 60,
5308
- ...PLAY_SANDBOX_SIZE_LIMITS.xlarge
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
- );
5331
- function parseTimeout(value) {
5332
- const match = /^(\d+)\s*([mh])$/i.exec(value.trim());
5333
- if (!match) return null;
5334
- const amount = Number(match[1]);
5335
- if (!Number.isSafeInteger(amount) || amount <= 0) return null;
5336
- return amount * (match[2].toLowerCase() === "h" ? 3600 : 60);
5337
- }
5338
- function validatePlaySandboxRuntimeLimits(value) {
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
- );
5343
- }
5344
- if (!Number.isSafeInteger(value.timeoutSeconds) || value.timeoutSeconds <= 0) {
5345
- throw new Error(
5346
- 'Invalid runtime sandbox timeout. Use timeout like "90m" or "2h".'
5347
- );
5348
- }
5349
- if (value.timeoutSeconds > MAX_PLAY_SANDBOX_RUNTIME_LIMITS.timeoutSeconds) {
5350
- throw new Error(
5351
- `Requested runtime timeoutSeconds=${value.timeoutSeconds} exceeds this organisation's maximum ${MAX_PLAY_SANDBOX_RUNTIME_LIMITS.timeoutSeconds}.`
5352
- );
5353
- }
5354
- return { ...value };
5355
- }
5356
- function resolvePlaySandboxRuntimeLimits(declaration) {
5357
- const base = STANDARD_PLAY_SANDBOX_RUNTIME_LIMITS;
5358
- if (!declaration) return { ...base };
5359
- const unsupportedProperties = Object.keys(declaration).filter(
5360
- (key) => key !== "timeout" && key !== "size"
5361
- );
5362
- if (unsupportedProperties.length > 0) {
5363
- throw new Error(
5364
- `Unsupported runtime sandbox option${unsupportedProperties.length === 1 ? "" : "s"}: ${unsupportedProperties.join(", ")}. Use runtime.size with a Deepline prebuilt sandbox. Supported sizes: ${supportedPlaySandboxSizes}.`
5365
- );
5366
- }
5367
- if (declaration.size !== void 0 && !Object.hasOwn(PLAY_SANDBOX_SIZE_LIMITS, declaration.size)) {
5368
- throw new Error(
5369
- `Unsupported runtime sandbox size "${String(declaration.size)}". Supported sizes: ${supportedPlaySandboxSizes}.`
5370
- );
5371
- }
5372
- const timeoutSeconds = declaration.timeout ? parseTimeout(declaration.timeout) : base.timeoutSeconds;
5373
- if (timeoutSeconds === null) {
5374
- throw new Error(
5375
- 'Invalid runtime sandbox timeout. Use timeout like "90m" or "2h".'
5376
- );
5377
- }
5378
- const size = declaration.size ?? "standard";
5379
- return validatePlaySandboxRuntimeLimits({
5380
- timeoutSeconds,
5381
- ...PLAY_SANDBOX_SIZE_LIMITS[size]
5382
- });
5383
- }
5384
-
5385
5292
  // ../play-runtime/worker-api-types.ts
5386
5293
  var DAYTONA_COMPUTE_PRICING_USD = {
5387
5294
  vcpuSecond: 14e-6,
@@ -16368,7 +16275,7 @@ Examples:
16368
16275
  process.exitCode = await ownView();
16369
16276
  return;
16370
16277
  }
16371
- const { describeAnything } = await import("./describe-KMTPPI2J.mjs");
16278
+ const { describeAnything } = await import("./describe-VKZTZLX6.mjs");
16372
16279
  process.exitCode = await describeAnything(
16373
16280
  name,
16374
16281
  {
@@ -16702,7 +16609,7 @@ Examples:
16702
16609
  new Option2("--log-failed", "Attach terminal-failure logs").hideHelp()
16703
16610
  ).action(async (runId, options) => {
16704
16611
  if (TOOL_EXECUTION_ID.test(runId)) {
16705
- const { getToolExecutionReceipt } = await import("./tools-EELZ5FF5.mjs");
16612
+ const { getToolExecutionReceipt } = await import("./tools-CJEBZNPB.mjs");
16706
16613
  process.exitCode = await getToolExecutionReceipt(runId, {
16707
16614
  receiptJson: options.json !== void 0
16708
16615
  });
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  DeeplineClient
3
- } from "./chunk-SG2SZQ4K.mjs";
4
- import "./chunk-JS4UO6G4.mjs";
3
+ } from "./chunk-RJVUILW4.mjs";
4
+ import "./chunk-FKEZ5DIJ.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-QODW5ILA.mjs";
13
- import "./chunk-YZA5UJXM.mjs";
14
- import "./chunk-LJYTYNQZ.mjs";
12
+ } from "./chunk-YC2QBF2W.mjs";
13
+ import "./chunk-O5BUFQ2P.mjs";
14
+ import "./chunk-XDFARN7U.mjs";
15
15
  import "./chunk-4QF2K7TM.mjs";
16
16
  import "./chunk-DLIRSHV6.mjs";
17
17
  import "./chunk-HBL4PM5Q.mjs";
18
- import "./chunk-PQQNMMWM.mjs";
18
+ import "./chunk-27PXHD2P.mjs";
19
19
  import "./chunk-WZYKRD7T.mjs";
20
20
  import "./chunk-KRD6H754.mjs";
21
21
 
@@ -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 _chunk7CILZKLEjs = require('./chunk-7CILZKLE.js');
4
- require('./chunk-3UKKM6OS.js');
3
+ var _chunkEMVWC5LPjs = require('./chunk-EMVWC5LP.js');
4
+ require('./chunk-GSULE54L.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 _chunkM2UL4ZS5js = require('./chunk-M2UL4ZS5.js');
13
- require('./chunk-NC52JG66.js');
14
- require('./chunk-ACDXGOXE.js');
12
+ var _chunkLXYDN5FEjs = require('./chunk-LXYDN5FE.js');
13
+ require('./chunk-3SGA53DX.js');
14
+ require('./chunk-33O2JGHE.js');
15
15
  require('./chunk-ALJJRZNJ.js');
16
16
  require('./chunk-XNYIZMNQ.js');
17
17
  require('./chunk-DIAWYWT5.js');
18
- require('./chunk-6KKDIISC.js');
18
+ require('./chunk-GQCH6Y7W.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, _chunk7CILZKLEjs.DeeplineClient)();
24
+ const client = new (0, _chunkEMVWC5LPjs.DeeplineClient)();
25
25
  const changed = options.changed === true;
26
- const emitJson = options.json === true || _chunkM2UL4ZS5js.shouldEmitJson.call(void 0, );
26
+ const emitJson = options.json === true || _chunkLXYDN5FEjs.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
- _chunkM2UL4ZS5js.printCommandEnvelope.call(void 0,
45
+ _chunkLXYDN5FEjs.printCommandEnvelope.call(void 0,
46
46
  {
47
47
  providers,
48
48
  count: providers.length,
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  printCommandEnvelope,
3
3
  shouldEmitJson
4
- } from "./chunk-QODW5ILA.mjs";
5
- import "./chunk-YZA5UJXM.mjs";
6
- import "./chunk-LJYTYNQZ.mjs";
4
+ } from "./chunk-YC2QBF2W.mjs";
5
+ import "./chunk-O5BUFQ2P.mjs";
6
+ import "./chunk-XDFARN7U.mjs";
7
7
  import "./chunk-4QF2K7TM.mjs";
8
8
  import "./chunk-DLIRSHV6.mjs";
9
9
  import "./chunk-HBL4PM5Q.mjs";
10
- import "./chunk-PQQNMMWM.mjs";
10
+ import "./chunk-27PXHD2P.mjs";
11
11
  import "./chunk-WZYKRD7T.mjs";
12
12
  import {
13
13
  DEEPLINE_GTM_SKILL,
@@ -1,13 +1,13 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkM2UL4ZS5js = require('./chunk-M2UL4ZS5.js');
5
- require('./chunk-NC52JG66.js');
6
- require('./chunk-ACDXGOXE.js');
4
+ var _chunkLXYDN5FEjs = require('./chunk-LXYDN5FE.js');
5
+ require('./chunk-3SGA53DX.js');
6
+ require('./chunk-33O2JGHE.js');
7
7
  require('./chunk-ALJJRZNJ.js');
8
8
  require('./chunk-XNYIZMNQ.js');
9
9
  require('./chunk-DIAWYWT5.js');
10
- require('./chunk-6KKDIISC.js');
10
+ require('./chunk-GQCH6Y7W.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 = _chunkM2UL4ZS5js.shouldEmitJson.call(void 0, options.json === true);
20
+ const jsonOutput = _chunkLXYDN5FEjs.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
- _chunkM2UL4ZS5js.printCommandEnvelope.call(void 0,
25
+ _chunkLXYDN5FEjs.printCommandEnvelope.call(void 0,
26
26
  {
27
27
  ok: true,
28
28
  status: "deprecated",
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  findNamed,
3
3
  nothingNamed
4
- } from "./chunk-2GZFIWSA.mjs";
5
- import "./chunk-DFKHXZQ7.mjs";
4
+ } from "./chunk-ZJRVHQSZ.mjs";
5
+ import "./chunk-D6MLXRMQ.mjs";
6
6
  import {
7
7
  looksLikeFilePath,
8
8
  resolvePlayRunCliOptions
9
- } from "./chunk-SVU2VR6Q.mjs";
9
+ } from "./chunk-TZCHXF4R.mjs";
10
10
  import {
11
11
  openLogDestination,
12
12
  preflightExecutionOutput,
13
13
  writeExecutionOutput
14
- } from "./chunk-C46DWB56.mjs";
15
- import "./chunk-NJMYX2TP.mjs";
14
+ } from "./chunk-JKUFOP7M.mjs";
15
+ import "./chunk-6QIXWFPO.mjs";
16
16
  import {
17
17
  DEEPLINE_NAMESPACE
18
18
  } from "./chunk-OWUZKXE7.mjs";
@@ -23,29 +23,29 @@ import "./chunk-LJ5747UC.mjs";
23
23
  import "./chunk-F6QV42MC.mjs";
24
24
  import "./chunk-FR2ILQ4G.mjs";
25
25
  import "./chunk-FIVKWNMT.mjs";
26
- import "./chunk-SG2SZQ4K.mjs";
26
+ import "./chunk-RJVUILW4.mjs";
27
27
  import "./chunk-3RGWTKK3.mjs";
28
- import "./chunk-JS4UO6G4.mjs";
28
+ import "./chunk-FKEZ5DIJ.mjs";
29
29
  import "./chunk-L2VKAASU.mjs";
30
30
  import "./chunk-NELMCOWK.mjs";
31
31
  import "./chunk-S3A4IXBQ.mjs";
32
32
  import "./chunk-UBKA33KY.mjs";
33
- import "./chunk-RLCAECZH.mjs";
34
- import "./chunk-NO7ZC2GV.mjs";
35
- import "./chunk-RHIFH3GD.mjs";
36
- import "./chunk-ISEUOYCB.mjs";
37
- import "./chunk-XQLYPHYW.mjs";
38
- import "./chunk-C2AN2HTB.mjs";
33
+ import "./chunk-N7E25EU2.mjs";
34
+ import "./chunk-PUOKABQF.mjs";
35
+ import "./chunk-6C3QY5JS.mjs";
36
+ import "./chunk-JNFNNJ75.mjs";
37
+ import "./chunk-UOYA35OT.mjs";
38
+ import "./chunk-K5RRY7DJ.mjs";
39
39
  import {
40
40
  createCliProgress
41
- } from "./chunk-WRHLAAGN.mjs";
42
- import "./chunk-QODW5ILA.mjs";
43
- import "./chunk-YZA5UJXM.mjs";
44
- import "./chunk-LJYTYNQZ.mjs";
41
+ } from "./chunk-XBYW5EHY.mjs";
42
+ import "./chunk-YC2QBF2W.mjs";
43
+ import "./chunk-O5BUFQ2P.mjs";
44
+ import "./chunk-XDFARN7U.mjs";
45
45
  import "./chunk-4QF2K7TM.mjs";
46
46
  import "./chunk-DLIRSHV6.mjs";
47
47
  import "./chunk-HBL4PM5Q.mjs";
48
- import "./chunk-PQQNMMWM.mjs";
48
+ import "./chunk-27PXHD2P.mjs";
49
49
  import "./chunk-WZYKRD7T.mjs";
50
50
  import "./chunk-KRD6H754.mjs";
51
51
 
@@ -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 import("./tools-EELZ5FF5.mjs");
117
+ const { parseToolExecuteTimeout } = await import("./tools-CJEBZNPB.mjs");
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 import("./play-JR3VUOZM.mjs");
138
+ const { writeInlinePlay } = await import("./play-WRSHD4RE.mjs");
139
139
  let file;
140
140
  try {
141
141
  file = writeInlinePlay(options.eval);
@@ -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 import("./tools-EELZ5FF5.mjs");
198
+ const { executeToolForReceipt } = await import("./tools-CJEBZNPB.mjs");
199
199
  return executeToolForReceipt({
200
200
  toolId: runner.toolId,
201
201
  params: input,
@@ -226,7 +226,7 @@ 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 import("./play-JR3VUOZM.mjs");
229
+ const { handlePlayRun, writePlayRunReceipt } = await import("./play-WRSHD4RE.mjs");
230
230
  const { output, options, revision } = play;
231
231
  if (options.dryRun) {
232
232
  return handlePlayRun(
@@ -1,18 +1,18 @@
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 _chunk2QT6KN54js = require('./chunk-2QT6KN54.js');
5
- require('./chunk-75NLWBYQ.js');
4
+ var _chunkY2MVDYV6js = require('./chunk-Y2MVDYV6.js');
5
+ require('./chunk-FBEXJVQL.js');
6
6
 
7
7
 
8
8
 
9
- var _chunk3W6E3WVUjs = require('./chunk-3W6E3WVU.js');
9
+ var _chunkN4M6CO5Hjs = require('./chunk-N4M6CO5H.js');
10
10
 
11
11
 
12
12
 
13
13
 
14
- var _chunkR5FNCFEKjs = require('./chunk-R5FNCFEK.js');
15
- require('./chunk-THMGJOR4.js');
14
+ var _chunkJ5VDE42Gjs = require('./chunk-J5VDE42G.js');
15
+ require('./chunk-VKBLXJCK.js');
16
16
 
17
17
 
18
18
  var _chunkAK7UKQ5Rjs = require('./chunk-AK7UKQ5R.js');
@@ -23,29 +23,29 @@ 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-7CILZKLE.js');
26
+ require('./chunk-EMVWC5LP.js');
27
27
  require('./chunk-NPZBE64X.js');
28
- require('./chunk-3UKKM6OS.js');
28
+ require('./chunk-GSULE54L.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-UBNS6GSV.js');
34
- require('./chunk-E2CUSH56.js');
35
- require('./chunk-255O6APS.js');
36
- require('./chunk-RGNMMDSJ.js');
37
- require('./chunk-DMWHEYZM.js');
38
- require('./chunk-4RAENEAX.js');
33
+ require('./chunk-VRZXGJXH.js');
34
+ require('./chunk-G6V34EQ5.js');
35
+ require('./chunk-3GIM7XRH.js');
36
+ require('./chunk-AFHFZU5V.js');
37
+ require('./chunk-W4HIOBQQ.js');
38
+ require('./chunk-OVFCPV24.js');
39
39
 
40
40
 
41
- var _chunkKWQNNPMHjs = require('./chunk-KWQNNPMH.js');
42
- require('./chunk-M2UL4ZS5.js');
43
- require('./chunk-NC52JG66.js');
44
- require('./chunk-ACDXGOXE.js');
41
+ var _chunkAKVNUNL7js = require('./chunk-AKVNUNL7.js');
42
+ require('./chunk-LXYDN5FE.js');
43
+ require('./chunk-3SGA53DX.js');
44
+ require('./chunk-33O2JGHE.js');
45
45
  require('./chunk-ALJJRZNJ.js');
46
46
  require('./chunk-XNYIZMNQ.js');
47
47
  require('./chunk-DIAWYWT5.js');
48
- require('./chunk-6KKDIISC.js');
48
+ require('./chunk-GQCH6Y7W.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
- _chunkR5FNCFEKjs.writeExecutionOutput.call(void 0,
83
+ _chunkJ5VDE42Gjs.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 (!_chunkR5FNCFEKjs.preflightExecutionOutput.call(void 0, output)) return 2;
99
+ if (!_chunkJ5VDE42Gjs.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-MCWDAK53.js")));
117
+ const { parseToolExecuteTimeout } = await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-PDBEAI22.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-BLT6IT2O.js")));
138
+ const { writeInlinePlay } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-IRLKESZB.js")));
139
139
  let file;
140
140
  try {
141
141
  file = writeInlinePlay(options.eval);
@@ -158,19 +158,19 @@ async function runAnything(name, options) {
158
158
  output
159
159
  );
160
160
  }
161
- if (_chunk3W6E3WVUjs.looksLikeFilePath.call(void 0, name)) {
161
+ if (_chunkN4M6CO5Hjs.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 _chunk2QT6KN54js.findNamed.call(void 0, base, {});
166
+ let found = await _chunkY2MVDYV6js.findNamed.call(void 0, base, {});
167
167
  if (!found.chosen && revision) {
168
- found = await _chunk2QT6KN54js.findNamed.call(void 0, name, {});
168
+ found = await _chunkY2MVDYV6js.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(_chunk2QT6KN54js.nothingNamed.call(void 0, base), output);
173
+ if (!chosen) return refuse(_chunkY2MVDYV6js.nothingNamed.call(void 0, base), output);
174
174
  const { described } = chosen;
175
175
  if (described.kind === "custom_play" && shadowed) {
176
176
  console.error(
@@ -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-MCWDAK53.js")));
198
+ const { executeToolForReceipt } = await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-PDBEAI22.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
- _chunkR5FNCFEKjs.writeExecutionOutput.call(void 0,
212
+ _chunkJ5VDE42Gjs.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-BLT6IT2O.js")));
229
+ const { handlePlayRun, writePlayRunReceipt } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-IRLKESZB.js")));
230
230
  const { output, options, revision } = play;
231
231
  if (options.dryRun) {
232
232
  return handlePlayRun(
233
- _chunk3W6E3WVUjs.resolvePlayRunCliOptions.call(void 0, reference, {
233
+ _chunkN4M6CO5Hjs.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 = _chunkKWQNNPMHjs.createCliProgress.call(void 0, true);
243
- if (!play.noWait) progress.setLogWriter(_chunkR5FNCFEKjs.openLogDestination.call(void 0, output));
242
+ const progress = _chunkAKVNUNL7js.createCliProgress.call(void 0, true);
243
+ if (!play.noWait) progress.setLogWriter(_chunkJ5VDE42Gjs.openLogDestination.call(void 0, output));
244
244
  try {
245
245
  const code = await handlePlayRun(
246
- _chunk3W6E3WVUjs.resolvePlayRunCliOptions.call(void 0, reference, {
246
+ _chunkN4M6CO5Hjs.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
- _chunkR5FNCFEKjs.writeExecutionOutput.call(void 0,
279
+ _chunkJ5VDE42Gjs.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
- _chunkR5FNCFEKjs.writeExecutionOutput.call(void 0,
294
+ _chunkJ5VDE42Gjs.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
- _chunkR5FNCFEKjs.writeExecutionOutput.call(void 0,
306
+ _chunkJ5VDE42Gjs.writeExecutionOutput.call(void 0,
307
307
  {
308
308
  id,
309
309
  status: "failed",