deepline 0.3.492 → 0.3.494

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 (185) hide show
  1. package/dist/bundling-sources/sdk/src/client-core.ts +11 -5
  2. package/dist/bundling-sources/sdk/src/plays/run-request.ts +1 -0
  3. package/dist/bundling-sources/sdk/src/release.ts +2 -2
  4. package/dist/bundling-sources/sdk/src/types.ts +11 -4
  5. package/dist/bundling-sources/shared_libs/monitors/fleets/verdict.ts +25 -9
  6. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +36 -0
  7. package/dist/bundling-sources/shared_libs/observability/scheduled-work-manual.ts +5 -4
  8. package/dist/bundling-sources/shared_libs/play-runtime/crustdata-company-identify-batching.ts +162 -0
  9. package/dist/bundling-sources/shared_libs/play-runtime/daytona-sandbox-reaper.ts +19 -3
  10. package/dist/bundling-sources/shared_libs/play-runtime/play-runtime-batching-registry.ts +2 -0
  11. package/dist/bundling-sources/shared_libs/play-runtime/receipt-sql.ts +17 -23
  12. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-modal-fallback.ts +28 -1
  13. package/dist/bundling-sources/shared_libs/play-runtime/runtime-sandbox-placement-policy.ts +75 -0
  14. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +20 -0
  15. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +412 -59
  16. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-capacity.ts +38 -10
  17. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-ledger-reconciliation.ts +19 -11
  18. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-operation.ts +165 -12
  19. package/dist/bundling-sources/shared_libs/play-runtime/tool-result.ts +15 -0
  20. package/dist/bundling-sources/shared_libs/play-runtime/work-receipt-state-machine.ts +358 -0
  21. package/dist/bundling-sources/shared_libs/plays/field-catalog.ts +101 -3
  22. package/dist/cli/{auth-4I6QY5WX.mjs → auth-6X5YXMFN.mjs} +5 -5
  23. package/dist/cli/auth-RWLCLMDY.js +43 -0
  24. package/dist/cli/{billing-2H4GOJZY.js → billing-5F5PZB77.js} +80 -80
  25. package/dist/cli/{billing-4F6L4JSI.mjs → billing-IN74SDSC.mjs} +7 -7
  26. package/dist/cli/{chunk-3RGWTKK3.mjs → chunk-2GEYN3H4.mjs} +89 -3
  27. package/dist/cli/{chunk-JJAHWKJ2.js → chunk-3KVFOKPR.js} +73 -59
  28. package/dist/cli/{chunk-NBL6JMIY.js → chunk-4A5WXQJK.js} +17 -17
  29. package/dist/cli/{chunk-YOCEY4EI.mjs → chunk-4RWH4LRQ.mjs} +5 -5
  30. package/dist/cli/{chunk-OGNIB64W.js → chunk-4ZKZS43N.js} +23 -15
  31. package/dist/cli/{chunk-TKLDKIJU.mjs → chunk-5JPKRDFC.mjs} +7 -5
  32. package/dist/cli/{chunk-3TISK5RQ.js → chunk-5WYH2LAP.js} +6 -6
  33. package/dist/cli/{chunk-MQ2LQOAM.mjs → chunk-65NMOP4T.mjs} +23 -9
  34. package/dist/cli/{chunk-O65HDVA7.mjs → chunk-6DMLWM7L.mjs} +5 -5
  35. package/dist/cli/{chunk-OTUT3XTX.mjs → chunk-6XZR2642.mjs} +8 -7
  36. package/dist/cli/{chunk-Q3CCCTRQ.js → chunk-7B7A36XZ.js} +14 -14
  37. package/dist/cli/{chunk-O3K22ZC7.js → chunk-AARXOBVD.js} +35 -11
  38. package/dist/cli/{chunk-DVGCPOEA.mjs → chunk-BLHQRETG.mjs} +187 -187
  39. package/dist/cli/{chunk-NPZBE64X.js → chunk-BLMB4N63.js} +89 -3
  40. package/dist/cli/{chunk-OTDX4A4W.js → chunk-BNI653WN.js} +21 -21
  41. package/dist/cli/{chunk-E47VAVAR.js → chunk-BU5Y7HOD.js} +5 -5
  42. package/dist/cli/{chunk-CGDUFVNE.mjs → chunk-C5R3UH5V.mjs} +29 -2
  43. package/dist/cli/{chunk-HFEJ7JJT.js → chunk-CAWOSHEC.js} +26 -26
  44. package/dist/cli/{chunk-TVUE4CPW.js → chunk-CK5MA6S6.js} +32 -32
  45. package/dist/cli/{chunk-Y7QCMOGZ.mjs → chunk-DKKAJ3U2.mjs} +6 -6
  46. package/dist/cli/{chunk-ONONSV2Q.mjs → chunk-DVQHG6AM.mjs} +1 -0
  47. package/dist/cli/{chunk-3BRDP4UP.mjs → chunk-EG3OSUBO.mjs} +1 -1
  48. package/dist/cli/{chunk-ZCKUNXXR.mjs → chunk-FAT6CUZK.mjs} +1 -1
  49. package/dist/cli/{chunk-YNWET57Z.js → chunk-GBICEYUA.js} +13 -13
  50. package/dist/cli/{chunk-42Z6VC2Q.js → chunk-GDNQXLBM.js} +2 -2
  51. package/dist/cli/{chunk-SE23YSBK.js → chunk-GLDBMKTV.js} +3 -3
  52. package/dist/cli/{chunk-OKHBAAJG.mjs → chunk-GNSGDIA4.mjs} +2 -2
  53. package/dist/cli/{chunk-W4FEX5ZF.js → chunk-GSCCDGGT.js} +261 -261
  54. package/dist/cli/{chunk-A7ZMG2QZ.mjs → chunk-H46X7YDU.mjs} +35 -11
  55. package/dist/cli/{chunk-3IBKEOL4.js → chunk-HINVMRGQ.js} +4 -4
  56. package/dist/cli/{chunk-HHTVRICE.js → chunk-I42EOZKQ.js} +44 -17
  57. package/dist/cli/{chunk-MPITIXW4.mjs → chunk-IPWYDANJ.mjs} +13 -5
  58. package/dist/cli/{chunk-YVOYZPMY.mjs → chunk-IZJSX3SZ.mjs} +2 -2
  59. package/dist/cli/{chunk-FFOJRD53.mjs → chunk-J2HOVZOE.mjs} +3 -3
  60. package/dist/cli/{chunk-EFFHRXKB.js → chunk-J3UHNUWI.js} +2 -2
  61. package/dist/cli/{chunk-4IP5MLWU.js → chunk-JO5FFSR7.js} +6 -1
  62. package/dist/cli/{chunk-PIC6M4X3.mjs → chunk-KR2XEI5T.mjs} +1 -1
  63. package/dist/cli/{chunk-FTXIJTV2.mjs → chunk-KSHAFYYG.mjs} +2 -2
  64. package/dist/cli/{chunk-6YO4OJPM.mjs → chunk-KVCQL6SP.mjs} +99 -24
  65. package/dist/cli/{chunk-RC366IJS.mjs → chunk-L2P2XRPO.mjs} +38 -6
  66. package/dist/cli/{chunk-R5MP3CIY.mjs → chunk-L4QPBQUX.mjs} +3 -3
  67. package/dist/cli/{chunk-4RB74KJX.js → chunk-L6KA4ENU.js} +47 -15
  68. package/dist/cli/{chunk-MJFVF5AW.mjs → chunk-L6L57RSG.mjs} +2 -2
  69. package/dist/cli/{chunk-F6EQWY4E.mjs → chunk-MWZNMWR2.mjs} +2 -2
  70. package/dist/cli/{chunk-LCCFGSV7.mjs → chunk-ODWTFVE4.mjs} +2 -2
  71. package/dist/cli/{chunk-AUQQVDAB.js → chunk-PKV5CD3W.js} +1 -0
  72. package/dist/cli/{chunk-UUH4GQRL.mjs → chunk-QOEI42IU.mjs} +2 -2
  73. package/dist/cli/{chunk-JHBRJDUC.js → chunk-QSRWBOPV.js} +11 -10
  74. package/dist/cli/{chunk-4OLXMJ2L.js → chunk-RLX5ZFNX.js} +8 -6
  75. package/dist/cli/{chunk-EANFUHRM.mjs → chunk-RPFNIMUO.mjs} +1 -1
  76. package/dist/cli/{chunk-DJOLMS2A.js → chunk-S3XQH7DW.js} +2 -2
  77. package/dist/cli/{chunk-DEJIN4DF.mjs → chunk-SAW3FBCA.mjs} +5 -0
  78. package/dist/cli/{chunk-GDSZWTJK.mjs → chunk-TLQXN4ZZ.mjs} +12 -12
  79. package/dist/cli/{chunk-O2FB42N2.js → chunk-USWLB4KV.js} +234 -234
  80. package/dist/cli/{chunk-BDUFZSUL.js → chunk-VMPM2FKT.js} +8 -8
  81. package/dist/cli/{chunk-4GJIJHRQ.mjs → chunk-WCZBIE5L.mjs} +1 -1
  82. package/dist/cli/{chunk-NF7NUKWF.js → chunk-WP45PUPW.js} +132 -57
  83. package/dist/cli/{chunk-FPLN7PHP.js → chunk-X6HIIHQO.js} +5 -5
  84. package/dist/cli/{chunk-B2JE3HD6.js → chunk-Y4GRL533.js} +3 -3
  85. package/dist/cli/{chunk-ZDTPSVGF.js → chunk-ZZD245Z2.js} +10 -10
  86. package/dist/cli/command-docs.js +2 -2
  87. package/dist/cli/command-docs.mjs +1 -1
  88. package/dist/cli/{csv-JGJNDRSA.js → csv-QD7JJGSP.js} +13 -13
  89. package/dist/cli/{csv-VGXGV7YM.mjs → csv-UBW4ID5D.mjs} +4 -4
  90. package/dist/cli/{db-W52WJ6E5.js → db-AARR3WYD.js} +28 -28
  91. package/dist/cli/{db-OYG27ZBM.mjs → db-QFDXKIVD.mjs} +7 -7
  92. package/dist/cli/describe-OBVIAC2H.mjs +50 -0
  93. package/dist/cli/describe-RYJ6HDYD.js +50 -0
  94. package/dist/cli/describe-core.d.mts +5 -11
  95. package/dist/cli/describe-core.d.ts +5 -11
  96. package/dist/cli/describe-core.js +5 -5
  97. package/dist/cli/describe-core.mjs +4 -4
  98. package/dist/cli/{executions-EVE4KUGL.mjs → executions-IZYUDYTZ.mjs} +7 -7
  99. package/dist/cli/{executions-LAJHZGPY.js → executions-KXY7KMZY.js} +9 -9
  100. package/dist/cli/{feedback-ZABCN7RT.js → feedback-3334HBPD.js} +8 -8
  101. package/dist/cli/{feedback-75QB7KVG.mjs → feedback-IVCVBERN.mjs} +4 -4
  102. package/dist/cli/getting-started.d.mts +12 -10
  103. package/dist/cli/getting-started.d.ts +12 -10
  104. package/dist/cli/getting-started.js +4 -2
  105. package/dist/cli/getting-started.mjs +3 -1
  106. package/dist/cli/git-4VLYFHNU.js +25 -0
  107. package/dist/cli/{git-QIFEYQGY.mjs → git-JHNVET5A.mjs} +5 -5
  108. package/dist/cli/index.js +143 -143
  109. package/dist/cli/index.mjs +43 -43
  110. package/dist/cli/{legacy-noops-2TBIAMCM.js → legacy-noops-DBA32JCV.js} +8 -8
  111. package/dist/cli/{legacy-noops-PNTWBBGY.mjs → legacy-noops-WGVBUOCC.mjs} +5 -5
  112. package/dist/cli/{monitors-UKBOEGBS.js → monitors-GHWZ5AZS.js} +169 -129
  113. package/dist/cli/{monitors-LOHUYJEI.mjs → monitors-ZGANC7JY.mjs} +49 -9
  114. package/dist/cli/{org-JRUKUOUF.mjs → org-CUS42N2T.mjs} +7 -7
  115. package/dist/cli/{org-E7A6QLBW.js → org-S7JWP264.js} +73 -73
  116. package/dist/cli/{pages-K76HA473.mjs → pages-IH56T6L6.mjs} +7 -7
  117. package/dist/cli/{pages-EUDFFLLD.js → pages-QXRZDEJW.js} +18 -18
  118. package/dist/cli/{play-UWHNUJRA.js → play-4C5PYS62.js} +661 -566
  119. package/dist/cli/{play-DG2N66SV.mjs → play-Z65ZFOQH.mjs} +147 -52
  120. package/dist/cli/{providers-RUTTPUZD.mjs → providers-FSZSJX4Z.mjs} +7 -7
  121. package/dist/cli/{providers-DZX6TTC6.js → providers-XYQGYF3O.js} +10 -10
  122. package/dist/cli/{quickstart-RGZZN2YE.mjs → quickstart-DHWVE32I.mjs} +5 -5
  123. package/dist/cli/{quickstart-U4NMD7KX.js → quickstart-ZA25RJT3.js} +13 -13
  124. package/dist/cli/{run-5UNF4FHG.js → run-5MP6LEHM.js} +45 -44
  125. package/dist/cli/{run-MOJWQYFQ.mjs → run-WRPPEPLG.mjs} +30 -29
  126. package/dist/cli/search-4SQFVNTB.js +32 -0
  127. package/dist/cli/{search-5B3ZDU7H.mjs → search-A6NVJPKX.mjs} +8 -8
  128. package/dist/cli/{search-output-QS4IWWHA.mjs → search-output-PAOUMVXY.mjs} +7 -4
  129. package/dist/cli/{search-output-VQWJS3FN.js → search-output-YA6TXWGO.js} +9 -6
  130. package/dist/cli/{secrets-S3PJMEAC.js → secrets-AZYOGH3I.js} +16 -16
  131. package/dist/cli/{secrets-V5XVDBIS.mjs → secrets-ZGF7JOBI.mjs} +7 -7
  132. package/dist/cli/{sessions-Y5QMEZ3D.js → sessions-GCIN5VXT.js} +6 -6
  133. package/dist/cli/{sessions-5V3X24XI.mjs → sessions-RNEAXZPV.mjs} +5 -5
  134. package/dist/cli/{settings-3U6RRO5F.js → settings-LMEZNLBB.js} +80 -80
  135. package/dist/cli/{settings-LHZYY5PT.mjs → settings-NO5KXQJF.mjs} +13 -13
  136. package/dist/cli/{setup-AJLWXYAN.mjs → setup-GCYB4IFS.mjs} +13 -13
  137. package/dist/cli/{setup-MLLIGO2S.js → setup-XKTZPYYH.js} +57 -57
  138. package/dist/cli/{skills-5O2MUWKK.mjs → skills-TY4HHIKH.mjs} +10 -10
  139. package/dist/cli/skills-V4APQA2I.js +36 -0
  140. package/dist/cli/tools-HKQLQ7HT.js +57 -0
  141. package/dist/cli/{tools-PWNMI5CD.mjs → tools-RDTHHYJ3.mjs} +21 -21
  142. package/dist/cli/{update-SXT4QW7S.mjs → update-BRLLTTCS.mjs} +10 -10
  143. package/dist/cli/update-Z4MUAHWM.js +34 -0
  144. package/dist/cli/{workflow-KPRM6ARO.mjs → workflow-F72EVZWM.mjs} +8 -8
  145. package/dist/cli/{workflow-3WTF5IYT.js → workflow-YHA4WE3K.js} +18 -18
  146. package/dist/{client-Cb1ej1Vr.d.ts → client-97yTcdLl.d.ts} +1 -1
  147. package/dist/{client-vWpbLNCB.d.mts → client-CFo9qalW.d.mts} +1 -1
  148. package/dist/{client-core-BmVs6SP0.d.ts → client-core-BRZrY13B.d.ts} +15 -8
  149. package/dist/{client-core-CoBTvsXG.d.mts → client-core-Dl6xgfLq.d.mts} +15 -8
  150. package/dist/{compiler-manifest-BFTwq1HI.d.mts → compiler-manifest-CPEF48NM.d.mts} +91 -0
  151. package/dist/{compiler-manifest-BFTwq1HI.d.ts → compiler-manifest-CPEF48NM.d.ts} +91 -0
  152. package/dist/{errors-c3pMsylw.d.ts → errors-B-PJXveg.d.ts} +1 -1
  153. package/dist/{errors-w31ybrQM.d.mts → errors-BWbPzqwo.d.mts} +1 -1
  154. package/dist/{index-DvNtxucX.d.mts → index-BJ8AA1F9.d.mts} +1 -1
  155. package/dist/{index-CQ-15-QL.d.ts → index-CvVxPpE8.d.ts} +1 -1
  156. package/dist/index.d.mts +7 -7
  157. package/dist/index.d.ts +7 -7
  158. package/dist/index.js +27 -19
  159. package/dist/index.mjs +16 -8
  160. package/dist/install-integrity.json +123 -122
  161. package/dist/plays/bundle-play-file.d.mts +3 -3
  162. package/dist/plays/bundle-play-file.d.ts +3 -3
  163. package/dist/plays/play-description.d.mts +2 -2
  164. package/dist/plays/play-description.d.ts +2 -2
  165. package/dist/plays/run-request.d.mts +2 -2
  166. package/dist/plays/run-request.d.ts +2 -2
  167. package/dist/plays/run-request.js +2 -2
  168. package/dist/plays/run-request.mjs +1 -1
  169. package/dist/release.d.mts +2 -2
  170. package/dist/release.d.ts +2 -2
  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 +6 -6
  176. package/dist/server.mjs +4 -4
  177. package/package.json +1 -1
  178. package/dist/cli/auth-7BCLZU6K.js +0 -43
  179. package/dist/cli/describe-FIXCRO5N.mjs +0 -50
  180. package/dist/cli/describe-G3O6OUBG.js +0 -50
  181. package/dist/cli/git-QBAR46NW.js +0 -25
  182. package/dist/cli/search-3DAEJL6S.js +0 -32
  183. package/dist/cli/skills-BBLIML5M.js +0 -36
  184. package/dist/cli/tools-X5SQXUMM.js +0 -57
  185. package/dist/cli/update-AEJ2ZSZQ.js +0 -34
@@ -20,7 +20,7 @@ var _chunkE4CABWXLjs = require('./chunk-E4CABWXL.js');
20
20
 
21
21
 
22
22
 
23
- var _chunkAUQQVDABjs = require('./chunk-AUQQVDAB.js');
23
+ var _chunkPKV5CD3Wjs = require('./chunk-PKV5CD3W.js');
24
24
 
25
25
 
26
26
 
@@ -31,7 +31,7 @@ var _chunkNMU3VR5Ujs = require('./chunk-NMU3VR5U.js');
31
31
 
32
32
 
33
33
 
34
- var _chunk3IBKEOL4js = require('./chunk-3IBKEOL4.js');
34
+ var _chunkHINVMRGQjs = require('./chunk-HINVMRGQ.js');
35
35
 
36
36
 
37
37
  var _chunkALJJRZNJjs = require('./chunk-ALJJRZNJ.js');
@@ -652,7 +652,7 @@ var ToolCalls = class {
652
652
  idempotencyKey,
653
653
  onResponse: (response2) => {
654
654
  lastResponse = null;
655
- atomicToolsSupported = response2.headers.get(_chunk3IBKEOL4js.ATOMIC_TOOL_EXECUTE_SUPPORTED_HEADER) === "true";
655
+ atomicToolsSupported = response2.headers.get(_chunkHINVMRGQjs.ATOMIC_TOOL_EXECUTE_SUPPORTED_HEADER) === "true";
656
656
  recoverySupported = response2.headers.get("X-Deepline-Idempotency-Supported") === "true";
657
657
  if (_optionalChain([options, 'optionalAccess', _30 => _30.onServerTiming])) {
658
658
  try {
@@ -1031,8 +1031,8 @@ function runtimeSelectionHeaders(runtime, env) {
1031
1031
  }
1032
1032
  const receivers = _optionalChain([env, 'access', _52 => _52.DEEPLINE_RUNTIME_RETAINED_PIPELINE_RECEIVERS, 'optionalAccess', _53 => _53.trim, 'call', _54 => _54()]);
1033
1033
  return {
1034
- [_chunk3IBKEOL4js.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
1035
- ...receivers ? { [_chunk3IBKEOL4js.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
1034
+ [_chunkHINVMRGQjs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
1035
+ ...receivers ? { [_chunkHINVMRGQjs.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
1036
1036
  };
1037
1037
  }
1038
1038
  function normalizeTestPolicyOverrides(value, source) {
@@ -1066,10 +1066,10 @@ function isRecord2(value) {
1066
1066
  return Boolean(value && typeof value === "object" && !Array.isArray(value));
1067
1067
  }
1068
1068
  function normalizePlayStatus(raw) {
1069
- const runPackage = _chunkAUQQVDABjs.isPlayRunPackage.call(void 0, raw) ? raw : _chunkAUQQVDABjs.isPlayRunPackage.call(void 0, raw.package) ? raw.package : null;
1069
+ const runPackage = _chunkPKV5CD3Wjs.isPlayRunPackage.call(void 0, raw) ? raw : _chunkPKV5CD3Wjs.isPlayRunPackage.call(void 0, raw.package) ? raw.package : null;
1070
1070
  const packageRun = _optionalChain([runPackage, 'optionalAccess', _57 => _57.run]);
1071
1071
  const rawStatus = typeof raw.status === "string" ? raw.status : typeof _optionalChain([packageRun, 'optionalAccess', _58 => _58.status]) === "string" ? packageRun.status : null;
1072
- const status = _chunkAUQQVDABjs.decodePlayRunPublicStatus.call(void 0, rawStatus);
1072
+ const status = _chunkPKV5CD3Wjs.decodePlayRunPublicStatus.call(void 0, rawStatus);
1073
1073
  if (!status) {
1074
1074
  throw new Error(
1075
1075
  `Invalid play run lifecycle status in API response: ${JSON.stringify(rawStatus)}.`
@@ -1100,10 +1100,10 @@ var PlayClient = class {
1100
1100
  async startPlayRun(request, options) {
1101
1101
  const resolved = resolveStartPlayRunRequest(request, this.environment);
1102
1102
  const headers = runtimeSelectionHeaders(resolved.runtime, this.environment);
1103
- return _chunkAUQQVDABjs.startPlayRun.call(void 0,
1103
+ return _chunkPKV5CD3Wjs.startPlayRun.call(void 0,
1104
1104
  this.http,
1105
1105
  resolved.request,
1106
- _optionalChain([options, 'optionalAccess', _62 => _62.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(_chunk3IBKEOL4js.SDK_API_MAJOR) } : headers,
1106
+ _optionalChain([options, 'optionalAccess', _62 => _62.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(_chunkHINVMRGQjs.SDK_API_MAJOR) } : headers,
1107
1107
  options
1108
1108
  );
1109
1109
  }
@@ -2669,7 +2669,7 @@ var TERMINAL_STATUS_BY_EVENT_TYPE = {
2669
2669
 
2670
2670
  // ../play-runtime/run-snapshot-stream.ts
2671
2671
  function isTerminalPlayRunLiveStatus(status) {
2672
- return _chunkAUQQVDABjs.isTerminalPlayRunLifecycleStatus.call(void 0, status);
2672
+ return _chunkPKV5CD3Wjs.isTerminalPlayRunLifecycleStatus.call(void 0, status);
2673
2673
  }
2674
2674
  function makeRunStreamEvent(input) {
2675
2675
  return {
@@ -3200,7 +3200,7 @@ function isolatedCiRuntimeEventReadHeaders(env) {
3200
3200
  "RUNTIME_EVENT_INTERNAL_TOKEN_REQUIRED"
3201
3201
  );
3202
3202
  }
3203
- return { [_chunk3IBKEOL4js.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
3203
+ return { [_chunkHINVMRGQjs.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
3204
3204
  }
3205
3205
  function sleep(ms) {
3206
3206
  return new Promise((resolve) => setTimeout(resolve, ms));
@@ -3331,7 +3331,7 @@ function playLiveRunStatus(event) {
3331
3331
  return null;
3332
3332
  }
3333
3333
  const payload = getPlayLiveEventPayload(event);
3334
- return _nullishCoalesce(_chunkAUQQVDABjs.decodePlayRunPublicStatus.call(void 0, payload.status), () => ( (_chunkAUQQVDABjs.isPlayRunPackage.call(void 0, payload) ? _chunkAUQQVDABjs.decodePlayRunPublicStatus.call(void 0, payload.run.status) : null)));
3334
+ return _nullishCoalesce(_chunkPKV5CD3Wjs.decodePlayRunPublicStatus.call(void 0, payload.status), () => ( (_chunkPKV5CD3Wjs.isPlayRunPackage.call(void 0, payload) ? _chunkPKV5CD3Wjs.decodePlayRunPublicStatus.call(void 0, payload.run.status) : null)));
3335
3335
  }
3336
3336
  function appendPlayLiveLogLines(state, payload) {
3337
3337
  const lines = readStringArray(payload.lines);
@@ -3363,7 +3363,7 @@ function updatePlayLiveStatusState(state, event) {
3363
3363
  if (event.type !== "play.run.snapshot" && event.type !== "play.run.status" && event.type !== "play.run.final_status") {
3364
3364
  return null;
3365
3365
  }
3366
- const runId = typeof payload.runId === "string" && payload.runId ? payload.runId : _chunkAUQQVDABjs.isPlayRunPackage.call(void 0, payload) ? payload.run.id : state.runId;
3366
+ const runId = typeof payload.runId === "string" && payload.runId ? payload.runId : _chunkPKV5CD3Wjs.isPlayRunPackage.call(void 0, payload) ? payload.run.id : state.runId;
3367
3367
  const status = _nullishCoalesce(playLiveRunStatus(event), () => ( state.status));
3368
3368
  const progressPayload = isRecord3(payload.progress) ? payload.progress : {};
3369
3369
  if (event.type === "play.run.final_status" && state.logs.length === 0 && state.lastLogSeq === 0) {
@@ -3376,7 +3376,7 @@ function updatePlayLiveStatusState(state, event) {
3376
3376
  }
3377
3377
  if ("result" in payload) {
3378
3378
  state.result = payload.result;
3379
- } else if (_chunkAUQQVDABjs.isPlayRunPackage.call(void 0, payload)) {
3379
+ } else if (_chunkPKV5CD3Wjs.isPlayRunPackage.call(void 0, payload)) {
3380
3380
  state.result = payload;
3381
3381
  }
3382
3382
  if (typeof payload.error === "string" && payload.error.trim()) {
@@ -3389,7 +3389,7 @@ function updatePlayLiveStatusState(state, event) {
3389
3389
  ...payload,
3390
3390
  runId,
3391
3391
  status,
3392
- ..._chunkAUQQVDABjs.isPlayRunPackage.call(void 0, payload) ? { package: payload, outputs: payload.outputs } : {},
3392
+ ..._chunkPKV5CD3Wjs.isPlayRunPackage.call(void 0, payload) ? { package: payload, outputs: payload.outputs } : {},
3393
3393
  progress: {
3394
3394
  ...progressRecord,
3395
3395
  status: typeof progressRecord.status === "string" ? progressRecord.status : status,
@@ -3988,7 +3988,7 @@ var DeeplineClient = (_class = class _DeeplineClient {
3988
3988
  */
3989
3989
  async preparePlayRunAdmission(request, options) {
3990
3990
  const resolved = resolveStartPlayRunRequest(request, this.environment);
3991
- const prepared = await _chunkAUQQVDABjs.preparePlayRunAdmission.call(void 0,
3991
+ const prepared = await _chunkPKV5CD3Wjs.preparePlayRunAdmission.call(void 0,
3992
3992
  this.http,
3993
3993
  resolved.request,
3994
3994
  _optionalChain([options, 'optionalAccess', _180 => _180.onSubmission]),
@@ -4001,7 +4001,7 @@ var DeeplineClient = (_class = class _DeeplineClient {
4001
4001
  );
4002
4002
  const headers = _optionalChain([options, 'optionalAccess', _181 => _181.cliAdmission]) ? {
4003
4003
  ...runtimeHeaders,
4004
- "X-Deepline-API-Major": String(_chunk3IBKEOL4js.SDK_API_MAJOR)
4004
+ "X-Deepline-API-Major": String(_chunkHINVMRGQjs.SDK_API_MAJOR)
4005
4005
  } : runtimeHeaders;
4006
4006
  const http = this.http;
4007
4007
  let submitted = false;
@@ -4017,7 +4017,7 @@ var DeeplineClient = (_class = class _DeeplineClient {
4017
4017
  }
4018
4018
  if (submitted) {
4019
4019
  if (!_optionalChain([options, 'optionalAccess', _182 => _182.callerIntentV2])) {
4020
- await _chunkAUQQVDABjs.preparePlayRunAdmission.call(void 0,
4020
+ await _chunkPKV5CD3Wjs.preparePlayRunAdmission.call(void 0,
4021
4021
  http,
4022
4022
  JSON.parse(bodyJson),
4023
4023
  void 0,
@@ -4027,7 +4027,7 @@ var DeeplineClient = (_class = class _DeeplineClient {
4027
4027
  }
4028
4028
  submitted = true;
4029
4029
  try {
4030
- return await _chunkAUQQVDABjs.submitPreparedPlayRunAdmission.call(void 0,
4030
+ return await _chunkPKV5CD3Wjs.submitPreparedPlayRunAdmission.call(void 0,
4031
4031
  http,
4032
4032
  JSON.parse(bodyJson),
4033
4033
  prepared.workflowId,
@@ -4040,7 +4040,7 @@ var DeeplineClient = (_class = class _DeeplineClient {
4040
4040
  }
4041
4041
  );
4042
4042
  } catch (error) {
4043
- if (error instanceof _chunkAUQQVDABjs.CliPlayAdmissionUnsupportedError || error instanceof _chunkAUQQVDABjs.CliPlayAdmissionCallerIntentV2UnsupportedError) {
4043
+ if (error instanceof _chunkPKV5CD3Wjs.CliPlayAdmissionUnsupportedError || error instanceof _chunkPKV5CD3Wjs.CliPlayAdmissionCallerIntentV2UnsupportedError) {
4044
4044
  submitted = false;
4045
4045
  }
4046
4046
  throw error;
@@ -4056,7 +4056,7 @@ var DeeplineClient = (_class = class _DeeplineClient {
4056
4056
  }
4057
4057
  if (submitted) {
4058
4058
  if (!_optionalChain([options, 'optionalAccess', _190 => _190.callerIntentV2])) {
4059
- await _chunkAUQQVDABjs.preparePlayRunAdmission.call(void 0,
4059
+ await _chunkPKV5CD3Wjs.preparePlayRunAdmission.call(void 0,
4060
4060
  http,
4061
4061
  JSON.parse(bodyJson),
4062
4062
  void 0,
@@ -4065,7 +4065,7 @@ var DeeplineClient = (_class = class _DeeplineClient {
4065
4065
  }
4066
4066
  }
4067
4067
  submitted = true;
4068
- const streamPath = _optionalChain([options, 'optionalAccess', _192 => _192.callerIntentV2]) ? _chunkAUQQVDABjs.CLI_PLAY_RUN_CALLER_INTENT_V2_START_STREAM_PATH : _optionalChain([options, 'optionalAccess', _193 => _193.cliAdmission]) ? _chunkAUQQVDABjs.CLI_PLAY_RUN_START_STREAM_PATH : _chunkAUQQVDABjs.PLAY_RUN_START_STREAM_PATH;
4068
+ const streamPath = _optionalChain([options, 'optionalAccess', _192 => _192.callerIntentV2]) ? _chunkPKV5CD3Wjs.CLI_PLAY_RUN_CALLER_INTENT_V2_START_STREAM_PATH : _optionalChain([options, 'optionalAccess', _193 => _193.cliAdmission]) ? _chunkPKV5CD3Wjs.CLI_PLAY_RUN_START_STREAM_PATH : _chunkPKV5CD3Wjs.PLAY_RUN_START_STREAM_PATH;
4069
4069
  let cliAdmissionSupported = false;
4070
4070
  try {
4071
4071
  for await (const event of http.streamSse(streamPath, {
@@ -4076,7 +4076,7 @@ var DeeplineClient = (_class = class _DeeplineClient {
4076
4076
  exactUrlOnly: true,
4077
4077
  ..._optionalChain([options, 'optionalAccess', _195 => _195.cliAdmission]) ? {
4078
4078
  onResponse: (response) => {
4079
- cliAdmissionSupported = response.headers.get(_chunkAUQQVDABjs.CLI_PLAY_RUN_SUPPORTED_HEADER) === "true";
4079
+ cliAdmissionSupported = response.headers.get(_chunkPKV5CD3Wjs.CLI_PLAY_RUN_SUPPORTED_HEADER) === "true";
4080
4080
  }
4081
4081
  } : {}
4082
4082
  })) {
@@ -4086,12 +4086,12 @@ var DeeplineClient = (_class = class _DeeplineClient {
4086
4086
  if (_optionalChain([options, 'optionalAccess', _196 => _196.cliAdmission]) && !cliAdmissionSupported && error instanceof _chunkDIAWYWT5js.DeeplineError && (error.statusCode === 404 || error.statusCode === 405)) {
4087
4087
  if (options.callerIntentV2) {
4088
4088
  submitted = false;
4089
- throw new (0, _chunkAUQQVDABjs.CliPlayAdmissionCallerIntentV2UnsupportedError)(
4089
+ throw new (0, _chunkPKV5CD3Wjs.CliPlayAdmissionCallerIntentV2UnsupportedError)(
4090
4090
  error.statusCode
4091
4091
  );
4092
4092
  }
4093
4093
  submitted = false;
4094
- throw new (0, _chunkAUQQVDABjs.CliPlayAdmissionUnsupportedError)(error.statusCode);
4094
+ throw new (0, _chunkPKV5CD3Wjs.CliPlayAdmissionUnsupportedError)(error.statusCode);
4095
4095
  }
4096
4096
  throw error;
4097
4097
  }
@@ -4104,7 +4104,7 @@ var DeeplineClient = (_class = class _DeeplineClient {
4104
4104
  * @internal
4105
4105
  */
4106
4106
  async prefetchPlayRunAdmissionCapability(options) {
4107
- return _chunkAUQQVDABjs.readPlayRunAdmissionCapability.call(void 0, this.http, options);
4107
+ return _chunkPKV5CD3Wjs.readPlayRunAdmissionCapability.call(void 0, this.http, options);
4108
4108
  }
4109
4109
  /**
4110
4110
  * Submit a play run through the legacy event response.
@@ -4378,7 +4378,7 @@ var DeeplineClient = (_class = class _DeeplineClient {
4378
4378
  * ```
4379
4379
  */
4380
4380
  async stagePlayFiles(files) {
4381
- return _chunkAUQQVDABjs.stagePlayFiles.call(void 0, this.http, files);
4381
+ return _chunkPKV5CD3Wjs.stagePlayFiles.call(void 0, this.http, files);
4382
4382
  }
4383
4383
  /**
4384
4384
  * Mint short-lived presigned upload targets for staged play files.
@@ -4387,7 +4387,7 @@ var DeeplineClient = (_class = class _DeeplineClient {
4387
4387
  * For other files, the server returns a presigned PUT URL. Upload the file body to that URL.
4388
4388
  */
4389
4389
  async mintStagedPlayFileUploads(files) {
4390
- return _chunkAUQQVDABjs.mintStagedPlayFileUploads.call(void 0, this.http, files);
4390
+ return _chunkPKV5CD3Wjs.mintStagedPlayFileUploads.call(void 0, this.http, files);
4391
4391
  }
4392
4392
  /**
4393
4393
  * Resolve staged play files by content hash without uploading bytes.
@@ -4498,7 +4498,7 @@ var DeeplineClient = (_class = class _DeeplineClient {
4498
4498
  }
4499
4499
  })) {
4500
4500
  _optionalChain([options, 'optionalAccess', _234 => _234.onEvent, 'optionalCall', _235 => _235(event)]);
4501
- if (_chunkAUQQVDABjs.isTerminalPlayRunLifecycleStatus.call(void 0, playLiveRunStatus(event))) {
4501
+ if (_chunkPKV5CD3Wjs.isTerminalPlayRunLifecycleStatus.call(void 0, playLiveRunStatus(event))) {
4502
4502
  terminalObserved = true;
4503
4503
  }
4504
4504
  }
@@ -4506,7 +4506,7 @@ var DeeplineClient = (_class = class _DeeplineClient {
4506
4506
  throw new (0, _chunkDIAWYWT5js.DeeplineError)("Run watch aborted.", void 0, "ABORTED");
4507
4507
  }
4508
4508
  const refreshed = await _asyncNullishCoalesce(terminalStatus, async () => ( await this.getRunStatus(runId)));
4509
- if (terminalObserved || _chunkAUQQVDABjs.isTerminalPlayRunLifecycleStatus.call(void 0, refreshed.status)) {
4509
+ if (terminalObserved || _chunkPKV5CD3Wjs.isTerminalPlayRunLifecycleStatus.call(void 0, refreshed.status)) {
4510
4510
  return refreshed;
4511
4511
  }
4512
4512
  throw new (0, _chunkDIAWYWT5js.DeeplineError)(
@@ -5987,7 +5987,7 @@ var DeeplineClient = (_class = class _DeeplineClient {
5987
5987
  if (event.type !== "play.run.status" || status.status !== previousStatus) {
5988
5988
  _optionalChain([options, 'optionalAccess', _336 => _336.onProgress, 'optionalCall', _337 => _337(status)]);
5989
5989
  }
5990
- if (_chunkAUQQVDABjs.isTerminalPlayRunLifecycleStatus.call(void 0, status.status)) {
5990
+ if (_chunkPKV5CD3Wjs.isTerminalPlayRunLifecycleStatus.call(void 0, status.status)) {
5991
5991
  terminalObserved = status;
5992
5992
  }
5993
5993
  }
@@ -6966,7 +6966,7 @@ var DeeplineClient = (_class = class _DeeplineClient {
6966
6966
  async waitForMonitorFleetConvergence(fleetId, options) {
6967
6967
  const timeoutMs = Math.max(1, _nullishCoalesce(_optionalChain([options, 'optionalAccess', _400 => _400.timeoutMs]), () => ( 10 * 6e4)));
6968
6968
  const pollIntervalMs = Math.max(1, _nullishCoalesce(_optionalChain([options, 'optionalAccess', _401 => _401.pollIntervalMs]), () => ( 2e3)));
6969
- const terminal = _optionalChain([options, 'optionalAccess', _402 => _402.until]) === "deactivated" ? /* @__PURE__ */ new Set(["deactivated", "degraded"]) : /* @__PURE__ */ new Set(["converged", "degraded", "deactivated"]);
6969
+ const terminal = _optionalChain([options, 'optionalAccess', _402 => _402.until]) === "deactivated" ? /* @__PURE__ */ new Set(["deactivated", "degraded", "billing_suspended"]) : /* @__PURE__ */ new Set(["converged", "degraded", "deactivated", "billing_suspended"]);
6970
6970
  const startedAt = Date.now();
6971
6971
  let latest = await this.getMonitorFleet(fleetId);
6972
6972
  while (true) {
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  npmSupportsAllowScripts,
3
3
  readNpmVersion
4
- } from "./chunk-3BRDP4UP.mjs";
4
+ } from "./chunk-EG3OSUBO.mjs";
5
5
  import {
6
6
  runSkillsCommand
7
- } from "./chunk-6YO4OJPM.mjs";
7
+ } from "./chunk-KVCQL6SP.mjs";
8
8
  import {
9
9
  resolveShellSpawn
10
- } from "./chunk-DVGCPOEA.mjs";
10
+ } from "./chunk-BLHQRETG.mjs";
11
11
  import {
12
12
  printCommandEnvelope
13
- } from "./chunk-O65HDVA7.mjs";
13
+ } from "./chunk-6DMLWM7L.mjs";
14
14
  import {
15
15
  autoDetectBaseUrl
16
- } from "./chunk-PIC6M4X3.mjs";
16
+ } from "./chunk-KR2XEI5T.mjs";
17
17
 
18
18
  // src/cli/commands/update.ts
19
19
  import { spawn, spawnSync } from "child_process";
@@ -1319,7 +1319,7 @@ async function runUpdateCommand(options, dependencies = {}) {
1319
1319
  stderr.write(
1320
1320
  `Deepline SDK/CLI update completed, but the optional local agent-skills refresh failed. Your CLI update succeeded; this does not affect authentication, data, billing, or the command result.
1321
1321
  Skills refresh detail: ${detail}
1322
- To retry with full installer output, run: deepline skills
1322
+ To retry with full installer output, run: deepline skills install
1323
1323
  `
1324
1324
  );
1325
1325
  }
@@ -391,6 +391,7 @@ function normalizePlayRunStart(raw) {
391
391
  name: runPackage.run.playName,
392
392
  status,
393
393
  ...runPackage.run.dashboardUrl ? { dashboardUrl: runPackage.run.dashboardUrl } : {},
394
+ ...runPackage.run.runUrl ? { runUrl: runPackage.run.runUrl } : {},
394
395
  ...runPackage.rateLimited ? { rateLimited: runPackage.rateLimited } : {},
395
396
  ...isTerminalPlayRunLifecycleStatus(status) ? raw.finalStatusView === "full" && raw.runId === runPackage.run.id ? { finalStatus: raw, finalStatusView: "full" } : { finalStatus: runPackage } : {},
396
397
  package: runPackage
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveShellSpawn
3
- } from "./chunk-DVGCPOEA.mjs";
3
+ } from "./chunk-BLHQRETG.mjs";
4
4
 
5
5
  // src/cli/npm-script-policy.ts
6
6
  import { spawnSync } from "child_process";
@@ -16,7 +16,7 @@ import {
16
16
  } from "./chunk-HBL4PM5Q.mjs";
17
17
  import {
18
18
  SDK_RELEASE
19
- } from "./chunk-UUH4GQRL.mjs";
19
+ } from "./chunk-QOEI42IU.mjs";
20
20
 
21
21
  // src/version.ts
22
22
  var SDK_VERSION = SDK_RELEASE.version;
@@ -2,7 +2,7 @@
2
2
 
3
3
 
4
4
 
5
- var _chunk4IP5MLWUjs = require('./chunk-4IP5MLWU.js');
5
+ var _chunkJO5FFSR7js = require('./chunk-JO5FFSR7.js');
6
6
 
7
7
 
8
8
 
@@ -16,7 +16,7 @@ var _chunkJ33TSWO5js = require('./chunk-J33TSWO5.js');
16
16
 
17
17
 
18
18
 
19
- var _chunkNPZBE64Xjs = require('./chunk-NPZBE64X.js');
19
+ var _chunkBLMB4N63js = require('./chunk-BLMB4N63.js');
20
20
 
21
21
  // src/cli/described-tool.ts
22
22
  function isPlayLikeTool(tool) {
@@ -161,12 +161,12 @@ function schemaNodeAt(schema, path) {
161
161
  return node;
162
162
  }
163
163
  var NAMED_VALUE_SHAPES = {
164
- email_status: { shape: "EmailStatus", schema: _chunkNPZBE64Xjs.EMAIL_STATUS_JSON_SCHEMA },
165
- job_change: { shape: "JobChange", schema: _chunkNPZBE64Xjs.JOB_CHANGE_JSON_SCHEMA }
164
+ email_status: { shape: "EmailStatus", schema: _chunkBLMB4N63js.EMAIL_STATUS_JSON_SCHEMA },
165
+ job_change: { shape: "JobChange", schema: _chunkBLMB4N63js.JOB_CHANGE_JSON_SCHEMA }
166
166
  };
167
167
  function extractorValueType(name) {
168
- if (!_chunkNPZBE64Xjs.isDeeplineExtractorTarget.call(void 0, name)) return void 0;
169
- const definition = _chunkNPZBE64Xjs.DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS[name];
168
+ if (!_chunkBLMB4N63js.isDeeplineExtractorTarget.call(void 0, name)) return void 0;
169
+ const definition = _chunkBLMB4N63js.DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS[name];
170
170
  if (definition.enum) {
171
171
  return {
172
172
  type: definition.enum.map((value) => JSON.stringify(value)).join(" | ")
@@ -174,7 +174,7 @@ function extractorValueType(name) {
174
174
  }
175
175
  const named = NAMED_VALUE_SHAPES[definition.valueKind];
176
176
  if (!named) return { type: "string" };
177
- const { type, fields } = _chunk4IP5MLWUjs.schemaField.call(void 0, name, named.schema, true);
177
+ const { type, fields } = _chunkJO5FFSR7js.schemaField.call(void 0, name, named.schema, true);
178
178
  return { type, ...fields ? { fields } : {}, shape: named.shape };
179
179
  }
180
180
  function jsonSchemaOf(wrapper) {
@@ -211,7 +211,7 @@ function describedTool(tool, requestedToolId) {
211
211
  description,
212
212
  cost: stringField(recordField(tool, "pricing"), "displayText") || void 0,
213
213
  guidance: [],
214
- inputs: _chunk4IP5MLWUjs.schemaFields.call(void 0,
214
+ inputs: _chunkJO5FFSR7js.schemaFields.call(void 0,
215
215
  recordField(tool, "payload_schema", "payloadSchema")
216
216
  ),
217
217
  outputs: [],
@@ -248,11 +248,11 @@ function describedTool(tool, requestedToolId) {
248
248
  (path) => path.replace(/^toolResponse\.raw\./, "")
249
249
  );
250
250
  const node = roots.flatMap((root) => paths.map((path) => schemaNodeAt(root, path))).find(isRecord);
251
- const { fields, ...typed } = _chunk4IP5MLWUjs.schemaField.call(void 0, name, node, true);
251
+ const { fields, ...typed } = _chunkJO5FFSR7js.schemaField.call(void 0, name, node, true);
252
252
  const valueType = stringField(_nullishCoalesce(details.get(name), () => ( {})), "valueType");
253
253
  const deepline = kind === "extractedValues" ? extractorValueType(name) : void 0;
254
254
  const known = typed.type !== "unknown" ? void 0 : kind === "extractedLists" ? { type: "object[]" } : deepline;
255
- const means = kind === "extractedValues" ? _chunkNPZBE64Xjs.fieldOfName.call(void 0,
255
+ const means = kind === "extractedValues" ? _chunkBLMB4N63js.fieldOfName.call(void 0,
256
256
  name,
257
257
  stringField(_nullishCoalesce(declared[name], () => ( {})), "means") || void 0
258
258
  ) : void 0;
@@ -308,13 +308,13 @@ function describedTool(tool, requestedToolId) {
308
308
  ],
309
309
  rateLimit: withPlanRateLimit(
310
310
  recordField(recordField(tool, "pricing"), "benefit").requestsPerMinute,
311
- _chunk4IP5MLWUjs.rateLimitSummary.call(void 0,
311
+ _chunkJO5FFSR7js.rateLimitSummary.call(void 0,
312
312
  recordField(contract, "executionMetadata").configuredRateLimits
313
313
  )
314
314
  ),
315
- inputs: _chunk4IP5MLWUjs.schemaFields.call(void 0, inputSchema),
315
+ inputs: _chunkJO5FFSR7js.schemaFields.call(void 0, inputSchema),
316
316
  outputs: [...lists, ...values].map(({ field }) => field),
317
- rawResponse: _chunk4IP5MLWUjs.schemaFields.call(void 0, outputSchema),
317
+ rawResponse: _chunkJO5FFSR7js.schemaFields.call(void 0, outputSchema),
318
318
  runner: playReference ? { via: "play", reference: playReference } : { via: "tool", toolId: String(contract.toolId), inputSchema }
319
319
  };
320
320
  }
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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
- var _chunkO2FB42N2js = require('./chunk-O2FB42N2.js');
3
+ var _chunkUSWLB4KVjs = require('./chunk-USWLB4KV.js');
4
4
 
5
5
  // src/cli/npm-script-policy.ts
6
6
  var _child_process = require('child_process');
@@ -13,7 +13,7 @@ function npmSupportsAllowScripts(version) {
13
13
  }
14
14
  function readNpmVersion(env) {
15
15
  try {
16
- const plan = _chunkO2FB42N2js.resolveShellSpawn.call(void 0, "npm", ["--version"], process.platform, env);
16
+ const plan = _chunkUSWLB4KVjs.resolveShellSpawn.call(void 0, "npm", ["--version"], process.platform, env);
17
17
  const result = _child_process.spawnSync.call(void 0, plan.command, plan.args, {
18
18
  encoding: "utf8",
19
19
  env,
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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; } var _class;
2
2
 
3
- var _chunkZDTPSVGFjs = require('./chunk-ZDTPSVGF.js');
3
+ var _chunkZZD245Z2js = require('./chunk-ZZD245Z2.js');
4
4
 
5
5
  // src/cli/progress.ts
6
6
  var _worker_threads = require('worker_threads');
@@ -19,7 +19,7 @@ var CliProgress = (_class = class {
19
19
  __init9() {this.quiet = false}
20
20
  // --json output is one JSON document: progress never renders under it.
21
21
  constructor(enabled) {;_class.prototype.__init.call(this);_class.prototype.__init2.call(this);_class.prototype.__init3.call(this);_class.prototype.__init4.call(this);_class.prototype.__init5.call(this);_class.prototype.__init6.call(this);_class.prototype.__init7.call(this);_class.prototype.__init8.call(this);_class.prototype.__init9.call(this);
22
- this.enabled = enabled && !_chunkZDTPSVGFjs.isJsonOutputMode.call(void 0, );
22
+ this.enabled = enabled && !_chunkZZD245Z2js.isJsonOutputMode.call(void 0, );
23
23
  }
24
24
  setLogWriter(writer) {
25
25
  this.logWriter = writer;
@@ -59,7 +59,7 @@ var CliProgress = (_class = class {
59
59
  this.logWriter(line);
60
60
  return;
61
61
  }
62
- if (_chunkZDTPSVGFjs.isJsonOutputMode.call(void 0, )) return;
62
+ if (_chunkZZD245Z2js.isJsonOutputMode.call(void 0, )) return;
63
63
  if (!this.enabled) {
64
64
  process.stderr.write(`${line}
65
65
  `);
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  DeeplineClient
3
- } from "./chunk-FFOJRD53.mjs";
3
+ } from "./chunk-J2HOVZOE.mjs";
4
4
  import {
5
5
  HttpClient,
6
6
  resolveConfig
7
- } from "./chunk-PIC6M4X3.mjs";
7
+ } from "./chunk-KR2XEI5T.mjs";
8
8
 
9
9
  // src/client.ts
10
10
  var DeeplineClient2 = class extends DeeplineClient {