deepline 0.3.491 → 0.3.493

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 +11 -5
  2. package/dist/bundling-sources/sdk/src/plays/run-request.ts +1 -0
  3. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  4. package/dist/bundling-sources/sdk/src/types.ts +6 -0
  5. package/dist/bundling-sources/shared_libs/monitors/fleets/verdict.ts +25 -9
  6. package/dist/bundling-sources/shared_libs/observability/queue-health.ts +9 -0
  7. package/dist/bundling-sources/shared_libs/observability/queue-item-connectors.ts +1 -0
  8. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +54 -0
  9. package/dist/bundling-sources/shared_libs/observability/scheduled-work-manual.ts +5 -4
  10. package/dist/bundling-sources/shared_libs/play-runtime/crustdata-company-identify-batching.ts +162 -0
  11. package/dist/bundling-sources/shared_libs/play-runtime/daytona-sandbox-reaper.ts +19 -3
  12. package/dist/bundling-sources/shared_libs/play-runtime/output-size-limits.ts +5 -3
  13. package/dist/bundling-sources/shared_libs/play-runtime/play-runtime-batching-registry.ts +2 -0
  14. package/dist/bundling-sources/shared_libs/play-runtime/receipt-sql.ts +17 -23
  15. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-modal-fallback.ts +28 -1
  16. package/dist/bundling-sources/shared_libs/play-runtime/runtime-api.ts +293 -110
  17. package/dist/bundling-sources/shared_libs/play-runtime/runtime-sandbox-placement-policy.ts +75 -0
  18. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +20 -0
  19. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +412 -59
  20. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-capacity.ts +38 -10
  21. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-ledger-reconciliation.ts +19 -11
  22. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-operation.ts +165 -12
  23. package/dist/bundling-sources/shared_libs/play-runtime/work-receipt-state-machine.ts +358 -0
  24. package/dist/bundling-sources/shared_libs/product-notifications/catalog.ts +104 -2
  25. package/dist/bundling-sources/shared_libs/product-notifications/configuration-draft.ts +7 -2
  26. package/dist/bundling-sources/shared_libs/product-notifications/configuration.ts +4 -0
  27. package/dist/bundling-sources/shared_libs/product-notifications/content.ts +13 -0
  28. package/dist/bundling-sources/shared_libs/product-notifications/email.ts +49 -10
  29. package/dist/bundling-sources/shared_libs/product-notifications/events.ts +22 -0
  30. package/dist/bundling-sources/shared_libs/product-notifications/slack-delivery.ts +6 -1
  31. package/dist/cli/{auth-FXAC472Y.mjs → auth-3NAY3AST.mjs} +5 -5
  32. package/dist/cli/auth-KYQLDI6V.js +43 -0
  33. package/dist/cli/{billing-PDOA3KZ3.js → billing-FSB4BBBO.js} +80 -80
  34. package/dist/cli/{billing-UM4LE33K.mjs → billing-SBWQCC7B.mjs} +7 -7
  35. package/dist/cli/{chunk-HSJK6EMU.mjs → chunk-2BRTYIAH.mjs} +23 -9
  36. package/dist/cli/{chunk-B2TXKEED.js → chunk-2H4OFVR5.js} +5 -5
  37. package/dist/cli/{chunk-BCKIBVEJ.js → chunk-2I7VN65H.js} +10 -10
  38. package/dist/cli/{chunk-LMG7O6XJ.mjs → chunk-2IHGVAGT.mjs} +2 -2
  39. package/dist/cli/{chunk-5KMGKG4B.js → chunk-2NGIBJM2.js} +8 -8
  40. package/dist/cli/{chunk-2MW6TGNZ.mjs → chunk-3QGUWB6E.mjs} +4 -4
  41. package/dist/cli/{chunk-ORKLMANE.mjs → chunk-4IJFQV3O.mjs} +1 -1
  42. package/dist/cli/{chunk-PIPEPCRL.mjs → chunk-4NIGNT7X.mjs} +1 -1
  43. package/dist/cli/{chunk-H6UIS36S.mjs → chunk-5DIZ2G74.mjs} +2 -2
  44. package/dist/cli/{chunk-TKLDKIJU.mjs → chunk-5JPKRDFC.mjs} +7 -5
  45. package/dist/cli/{chunk-FTXIJTV2.mjs → chunk-5WOPBX3H.mjs} +1 -1
  46. package/dist/cli/{chunk-KGJVDR4Q.mjs → chunk-67ZG7XZV.mjs} +3 -3
  47. package/dist/cli/{chunk-DUFRH43S.js → chunk-7HABWOMB.js} +261 -261
  48. package/dist/cli/{chunk-MN6DCV63.js → chunk-AGTXL6LZ.js} +5 -5
  49. package/dist/cli/{chunk-Q7G7CU4W.js → chunk-AWMCZAUR.js} +3 -3
  50. package/dist/cli/{chunk-HHTVRICE.js → chunk-C2MRDPA5.js} +17 -17
  51. package/dist/cli/{chunk-ONONSV2Q.mjs → chunk-DVQHG6AM.mjs} +1 -0
  52. package/dist/cli/{chunk-O3K22ZC7.js → chunk-DWJ4RXSA.js} +34 -11
  53. package/dist/cli/{chunk-MAM6ZOVS.mjs → chunk-DYP27IWC.mjs} +99 -24
  54. package/dist/cli/{chunk-NUOKAKZW.mjs → chunk-E5ILCMKQ.mjs} +1 -1
  55. package/dist/cli/{chunk-OLHWZM4A.mjs → chunk-EBAS3UT2.mjs} +6 -6
  56. package/dist/cli/{chunk-74H5OTRM.js → chunk-EFO5GVYS.js} +1 -1
  57. package/dist/cli/{chunk-X7YOVJBC.js → chunk-EYG336YV.js} +132 -57
  58. package/dist/cli/{chunk-YV4DP6KQ.mjs → chunk-GSC35TPZ.mjs} +2 -2
  59. package/dist/cli/{chunk-EPD7NSDJ.mjs → chunk-HLM2UFQ5.mjs} +13 -5
  60. package/dist/cli/{chunk-IG3GSBBE.js → chunk-HTUSTPP4.js} +32 -32
  61. package/dist/cli/{chunk-CFPFTS3A.mjs → chunk-IJJ6D5WL.mjs} +12 -12
  62. package/dist/cli/{chunk-TH7JLR5D.js → chunk-IJOHWGPF.js} +6 -6
  63. package/dist/cli/{chunk-RFSXXDH7.js → chunk-IOBPR2VO.js} +17 -17
  64. package/dist/cli/{chunk-HNG2U3IG.js → chunk-IOMEJKGK.js} +2 -2
  65. package/dist/cli/{chunk-A7ZMG2QZ.mjs → chunk-IRDYBMA7.mjs} +34 -11
  66. package/dist/cli/{chunk-ZEZ3CZ3X.js → chunk-JO2JZUBR.js} +3 -3
  67. package/dist/cli/{chunk-4IP5MLWU.js → chunk-JO5FFSR7.js} +6 -1
  68. package/dist/cli/{chunk-SJOHQ2WW.js → chunk-KCDZWS2B.js} +56 -56
  69. package/dist/cli/{chunk-CGDUFVNE.mjs → chunk-KGDDQMI7.mjs} +2 -2
  70. package/dist/cli/{chunk-OYJTLEB4.mjs → chunk-KKSKYZO4.mjs} +1 -1
  71. package/dist/cli/{chunk-TMAS3WH3.js → chunk-LGTZYI5B.js} +21 -21
  72. package/dist/cli/{chunk-SUMKWA53.js → chunk-MLEUOTEQ.js} +73 -59
  73. package/dist/cli/{chunk-3WRWPNHE.mjs → chunk-NALJJTPS.mjs} +5 -5
  74. package/dist/cli/{chunk-27MRSV6O.js → chunk-NPNAEPY4.js} +26 -26
  75. package/dist/cli/{chunk-AEKJZJ4R.js → chunk-NWIDPT7H.js} +4 -4
  76. package/dist/cli/{chunk-AUQQVDAB.js → chunk-PKV5CD3W.js} +1 -0
  77. package/dist/cli/{chunk-3FMU6F6E.js → chunk-QTPS5RLG.js} +15 -15
  78. package/dist/cli/{chunk-4OLXMJ2L.js → chunk-RLX5ZFNX.js} +8 -6
  79. package/dist/cli/{chunk-DEJIN4DF.mjs → chunk-SAW3FBCA.mjs} +5 -0
  80. package/dist/cli/{chunk-S4CYM4EC.mjs → chunk-SXD2EYAH.mjs} +6 -6
  81. package/dist/cli/{chunk-YNWET57Z.js → chunk-TIFRRLZT.js} +7 -7
  82. package/dist/cli/{chunk-6PMM7VJN.mjs → chunk-TNQOR6XQ.mjs} +1 -1
  83. package/dist/cli/{chunk-6UARNRXT.js → chunk-UCMY2SO2.js} +23 -15
  84. package/dist/cli/{chunk-X75ONMDJ.mjs → chunk-VFHIYWMC.mjs} +5 -5
  85. package/dist/cli/{chunk-ZX2FXZJN.js → chunk-WCZFCOMZ.js} +7 -7
  86. package/dist/cli/{chunk-IIO7UOVW.mjs → chunk-WTFI7BVH.mjs} +3 -3
  87. package/dist/cli/{chunk-I64PYCTB.js → chunk-XLE7KXE7.js} +2 -2
  88. package/dist/cli/{chunk-CRBBGKRH.js → chunk-XQX476QK.js} +14 -14
  89. package/dist/cli/{chunk-WCWVXN3R.mjs → chunk-Y3NN2UAF.mjs} +2 -2
  90. package/dist/cli/{chunk-3K4IAV7I.mjs → chunk-ZQH4TXM2.mjs} +2 -2
  91. package/dist/cli/{chunk-VC3SH4QW.mjs → chunk-ZVW7EWTC.mjs} +7 -7
  92. package/dist/cli/{chunk-QBOE5LEH.mjs → chunk-ZVXB7OU7.mjs} +1 -1
  93. package/dist/cli/command-docs.js +2 -2
  94. package/dist/cli/command-docs.mjs +1 -1
  95. package/dist/cli/{csv-IGPAPAES.js → csv-DKYZE2KM.js} +13 -13
  96. package/dist/cli/{csv-RNMQHECI.mjs → csv-XR22YQXT.mjs} +4 -4
  97. package/dist/cli/{db-CKMVVGXJ.mjs → db-EOKG36YN.mjs} +7 -7
  98. package/dist/cli/{db-32OXM3TO.js → db-RNYRTCMV.js} +28 -28
  99. package/dist/cli/describe-ICFXOQBW.mjs +50 -0
  100. package/dist/cli/describe-RS75I33X.js +50 -0
  101. package/dist/cli/describe-core.d.mts +2 -2
  102. package/dist/cli/describe-core.d.ts +2 -2
  103. package/dist/cli/describe-core.js +4 -4
  104. package/dist/cli/describe-core.mjs +3 -3
  105. package/dist/cli/{executions-S4M4JMCU.mjs → executions-3RAOACNS.mjs} +7 -7
  106. package/dist/cli/{executions-PCZS7B2M.js → executions-OBWPSWH7.js} +9 -9
  107. package/dist/cli/{feedback-FGUJVCBS.mjs → feedback-6EQRVBKF.mjs} +4 -4
  108. package/dist/cli/{feedback-6EGKPZ3U.js → feedback-6GPEUBLF.js} +8 -8
  109. package/dist/cli/getting-started.d.mts +12 -10
  110. package/dist/cli/getting-started.d.ts +12 -10
  111. package/dist/cli/getting-started.js +4 -2
  112. package/dist/cli/getting-started.mjs +3 -1
  113. package/dist/cli/{git-LR4ARG5H.mjs → git-CVQ24DTR.mjs} +5 -5
  114. package/dist/cli/git-DEFE4SSB.js +25 -0
  115. package/dist/cli/index.js +143 -143
  116. package/dist/cli/index.mjs +43 -43
  117. package/dist/cli/{legacy-noops-S37PJ7OJ.mjs → legacy-noops-QULJZYNH.mjs} +5 -5
  118. package/dist/cli/{legacy-noops-VX4JEQR6.js → legacy-noops-XPOATG5V.js} +8 -8
  119. package/dist/cli/{monitors-H3AX6CZG.mjs → monitors-AFT5YJPZ.mjs} +49 -9
  120. package/dist/cli/{monitors-ADASJI72.js → monitors-OJ4CMREE.js} +169 -129
  121. package/dist/cli/{org-ZRJ3C56J.js → org-RKT52CSL.js} +73 -73
  122. package/dist/cli/{org-D3F5LUDW.mjs → org-WHKNXANG.mjs} +7 -7
  123. package/dist/cli/{pages-PSHU366M.mjs → pages-EEAQFGVD.mjs} +7 -7
  124. package/dist/cli/{pages-5TKO3644.js → pages-SOE3R667.js} +18 -18
  125. package/dist/cli/{play-AUDDK7XB.mjs → play-LXFWHUBP.mjs} +147 -52
  126. package/dist/cli/{play-VDAETQDI.js → play-OTJJ4E4T.js} +661 -566
  127. package/dist/cli/{providers-IURPWRWD.js → providers-RU4HIAT3.js} +10 -10
  128. package/dist/cli/{providers-X7YMZSKQ.mjs → providers-U3CPKTMM.mjs} +7 -7
  129. package/dist/cli/{quickstart-6AGWVFNX.mjs → quickstart-75AO2AJC.mjs} +5 -5
  130. package/dist/cli/{quickstart-Y6GFXLDV.js → quickstart-N72IVA2Y.js} +13 -13
  131. package/dist/cli/{run-TG7J45NS.mjs → run-IGWFL6WH.mjs} +29 -28
  132. package/dist/cli/{run-TQFGOXNT.js → run-MMYES3IW.js} +44 -43
  133. package/dist/cli/search-EQURI7SZ.js +32 -0
  134. package/dist/cli/{search-3G4J2GC6.mjs → search-FIYESBLZ.mjs} +8 -8
  135. package/dist/cli/{search-output-NPZICK5C.js → search-output-2FXN4ZWD.js} +9 -6
  136. package/dist/cli/{search-output-ZGNHDCLL.mjs → search-output-3I5KSW36.mjs} +7 -4
  137. package/dist/cli/{secrets-KTTHT4ZG.js → secrets-HCZQ6JNP.js} +16 -16
  138. package/dist/cli/{secrets-EAWJBRUD.mjs → secrets-O7IUQ3VT.mjs} +7 -7
  139. package/dist/cli/{sessions-S4YVBPAW.js → sessions-5AYTT4IW.js} +6 -6
  140. package/dist/cli/{sessions-D4Q3LCEQ.mjs → sessions-KY7A3EZO.mjs} +5 -5
  141. package/dist/cli/{settings-BAK3VOWW.js → settings-P4VFYWJK.js} +80 -80
  142. package/dist/cli/{settings-JUORW6NL.mjs → settings-WSMRR2GS.mjs} +13 -13
  143. package/dist/cli/{setup-NJPHTW32.js → setup-J7CA3EJL.js} +57 -57
  144. package/dist/cli/{setup-AXFGCXJE.mjs → setup-YTVKVQC7.mjs} +13 -13
  145. package/dist/cli/skills-KKPEGLAR.js +36 -0
  146. package/dist/cli/{skills-SKJVDJEF.mjs → skills-W5WY764N.mjs} +10 -10
  147. package/dist/cli/tools-65Y4QTW6.js +57 -0
  148. package/dist/cli/{tools-63THJVJZ.mjs → tools-YECI6N3N.mjs} +20 -20
  149. package/dist/cli/{update-KSID5F74.mjs → update-BIFBIEII.mjs} +10 -10
  150. package/dist/cli/update-WDG7VFOW.js +34 -0
  151. package/dist/cli/{workflow-BLSMWBKW.js → workflow-D2TUFFH6.js} +18 -18
  152. package/dist/cli/{workflow-C4B54X2Z.mjs → workflow-XZVDNARC.mjs} +8 -8
  153. package/dist/{client-CQgGFxAH.d.ts → client-BDB_VbE4.d.ts} +1 -1
  154. package/dist/{client-B4R1scm2.d.mts → client-CNzJ1LTF.d.mts} +1 -1
  155. package/dist/{client-core-DMvHWjub.d.mts → client-core-CSv3DlPD.d.mts} +76 -5
  156. package/dist/{client-core-BUNjKBKq.d.ts → client-core-xEa9x3pl.d.ts} +76 -5
  157. package/dist/index.d.mts +3 -3
  158. package/dist/index.d.ts +3 -3
  159. package/dist/index.js +10 -10
  160. package/dist/index.mjs +7 -7
  161. package/dist/install-integrity.json +115 -114
  162. package/dist/plays/play-description.d.mts +1 -1
  163. package/dist/plays/play-description.d.ts +1 -1
  164. package/dist/plays/run-request.d.mts +1 -1
  165. package/dist/plays/run-request.d.ts +1 -1
  166. package/dist/plays/run-request.js +2 -2
  167. package/dist/plays/run-request.mjs +1 -1
  168. package/dist/release.d.mts +1 -1
  169. package/dist/release.d.ts +1 -1
  170. package/dist/release.js +2 -2
  171. package/dist/release.mjs +1 -1
  172. package/dist/server.d.mts +2 -2
  173. package/dist/server.d.ts +2 -2
  174. package/dist/server.js +6 -6
  175. package/dist/server.mjs +4 -4
  176. package/package.json +1 -1
  177. package/dist/cli/auth-QIDL3YCW.js +0 -43
  178. package/dist/cli/describe-67GMIEIO.js +0 -50
  179. package/dist/cli/describe-QR7I3VOF.mjs +0 -50
  180. package/dist/cli/git-PIH5Z5LN.js +0 -25
  181. package/dist/cli/search-VC43NUY7.js +0 -32
  182. package/dist/cli/skills-4NQZISNK.js +0 -36
  183. package/dist/cli/tools-BAHK33FQ.js +0 -57
  184. package/dist/cli/update-EMIGRGJ7.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 _chunkAEKJZJ4Rjs = require('./chunk-AEKJZJ4R.js');
34
+ var _chunkNWIDPT7Hjs = require('./chunk-NWIDPT7H.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(_chunkAEKJZJ4Rjs.ATOMIC_TOOL_EXECUTE_SUPPORTED_HEADER) === "true";
655
+ atomicToolsSupported = response2.headers.get(_chunkNWIDPT7Hjs.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
- [_chunkAEKJZJ4Rjs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
1035
- ...receivers ? { [_chunkAEKJZJ4Rjs.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
1034
+ [_chunkNWIDPT7Hjs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
1035
+ ...receivers ? { [_chunkNWIDPT7Hjs.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(_chunkAEKJZJ4Rjs.SDK_API_MAJOR) } : headers,
1106
+ _optionalChain([options, 'optionalAccess', _62 => _62.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(_chunkNWIDPT7Hjs.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 { [_chunkAEKJZJ4Rjs.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
3203
+ return { [_chunkNWIDPT7Hjs.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(_chunkAEKJZJ4Rjs.SDK_API_MAJOR)
4004
+ "X-Deepline-API-Major": String(_chunkNWIDPT7Hjs.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) {
@@ -2,11 +2,11 @@ import {
2
2
  addDescribeOptions,
3
3
  recordApiResponse,
4
4
  writeExecutionOutput
5
- } from "./chunk-EPD7NSDJ.mjs";
5
+ } from "./chunk-HLM2UFQ5.mjs";
6
6
  import {
7
7
  recentSearchRef,
8
8
  registerDeprecatedSearchCommand
9
- } from "./chunk-2MW6TGNZ.mjs";
9
+ } from "./chunk-3QGUWB6E.mjs";
10
10
  import {
11
11
  arrayField,
12
12
  formatModelDescription,
@@ -25,10 +25,10 @@ import {
25
25
  toolInputFieldsForDisplay,
26
26
  toolMetadataJsonForDescribe,
27
27
  toolOutputFieldsForDisplay
28
- } from "./chunk-FTXIJTV2.mjs";
28
+ } from "./chunk-5WOPBX3H.mjs";
29
29
  import {
30
30
  rateLimitQualifier
31
- } from "./chunk-DEJIN4DF.mjs";
31
+ } from "./chunk-SAW3FBCA.mjs";
32
32
  import {
33
33
  shellQuote
34
34
  } from "./chunk-OVDNJAJN.mjs";
@@ -48,10 +48,10 @@ import {
48
48
  } from "./chunk-FIVKWNMT.mjs";
49
49
  import {
50
50
  DeeplineClient
51
- } from "./chunk-YV4DP6KQ.mjs";
51
+ } from "./chunk-GSC35TPZ.mjs";
52
52
  import {
53
53
  validateExecutionIdempotencyKey
54
- } from "./chunk-IIO7UOVW.mjs";
54
+ } from "./chunk-WTFI7BVH.mjs";
55
55
  import {
56
56
  stableStringify
57
57
  } from "./chunk-UBKA33KY.mjs";
@@ -61,18 +61,18 @@ import {
61
61
  maybeAutoUpdateAndRelaunch,
62
62
  registerCompatibilityCatalog,
63
63
  runToolExecuteStage
64
- } from "./chunk-3WRWPNHE.mjs";
64
+ } from "./chunk-NALJJTPS.mjs";
65
65
  import {
66
66
  isCliTraceEnabled,
67
67
  recordCliTrace,
68
68
  resolveCliMaintenancePolicy
69
- } from "./chunk-QBOE5LEH.mjs";
69
+ } from "./chunk-ZVXB7OU7.mjs";
70
70
  import {
71
71
  checkSdkCompatibility,
72
72
  enforceSdkCompatibilityResponse,
73
73
  flushDeferredSkillsSyncNotices,
74
74
  syncSdkSkillsIfNeeded
75
- } from "./chunk-VC3SH4QW.mjs";
75
+ } from "./chunk-ZVW7EWTC.mjs";
76
76
  import {
77
77
  printCommandEnvelope,
78
78
  printCompactJson,
@@ -80,12 +80,12 @@ import {
80
80
  printJsonError,
81
81
  renderCommandEnvelopeText,
82
82
  shouldEmitJson
83
- } from "./chunk-X75ONMDJ.mjs";
83
+ } from "./chunk-VFHIYWMC.mjs";
84
84
  import {
85
85
  readSdkSkillsLocalVersion,
86
86
  resolveConfig,
87
87
  sdkCliStateDirPath
88
- } from "./chunk-PIPEPCRL.mjs";
88
+ } from "./chunk-4NIGNT7X.mjs";
89
89
  import {
90
90
  DeeplineError
91
91
  } from "./chunk-HBL4PM5Q.mjs";
@@ -1038,7 +1038,7 @@ Examples:
1038
1038
  process.exitCode = await narrowView();
1039
1039
  return;
1040
1040
  }
1041
- const { describeAnything } = await import("./describe-QR7I3VOF.mjs");
1041
+ const { describeAnything } = await import("./describe-ICFXOQBW.mjs");
1042
1042
  process.exitCode = await describeAnything(
1043
1043
  toolId,
1044
1044
  {
@@ -1,11 +1,11 @@
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; }
2
2
 
3
- var _chunkHNG2U3IGjs = require('./chunk-HNG2U3IG.js');
3
+ var _chunkIOMEJKGKjs = require('./chunk-IOMEJKGK.js');
4
4
 
5
5
 
6
6
 
7
7
 
8
- var _chunkSJOHQ2WWjs = require('./chunk-SJOHQ2WW.js');
8
+ var _chunkKCDZWS2Bjs = require('./chunk-KCDZWS2B.js');
9
9
 
10
10
  // src/cli/play-run-admission.ts
11
11
  function usesInlinePlayAdmission(command, args) {
@@ -18,11 +18,11 @@ function usesCliPlayAdmission(command, args) {
18
18
  }
19
19
  async function checkPlayRunCompatibility(baseUrl, maintenancePolicy = "configured", signal) {
20
20
  _optionalChain([signal, 'optionalAccess', _ => _.throwIfAborted, 'call', _2 => _2()]);
21
- if (maintenancePolicy !== "off") _chunkSJOHQ2WWjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
22
- const compatibility = await _chunkHNG2U3IGjs.traceCliSpan.call(void 0,
21
+ if (maintenancePolicy !== "off") _chunkKCDZWS2Bjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
22
+ const compatibility = await _chunkIOMEJKGKjs.traceCliSpan.call(void 0,
23
23
  "cli.sdk_compatibility",
24
24
  { baseUrl, command: "plays run" },
25
- () => _chunkSJOHQ2WWjs.checkSdkCompatibility.call(void 0, baseUrl, {
25
+ () => _chunkKCDZWS2Bjs.checkSdkCompatibility.call(void 0, baseUrl, {
26
26
  command: "plays run",
27
27
  persistCache: maintenancePolicy !== "off",
28
28
  signal
@@ -30,7 +30,7 @@ async function checkPlayRunCompatibility(baseUrl, maintenancePolicy = "configure
30
30
  );
31
31
  _optionalChain([signal, 'optionalAccess', _3 => _3.throwIfAborted, 'call', _4 => _4()]);
32
32
  if (compatibility.error) throw compatibility.error;
33
- _chunkSJOHQ2WWjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
33
+ _chunkKCDZWS2Bjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
34
34
  quietAdvisory: true
35
35
  });
36
36
  }
@@ -1,19 +1,19 @@
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
3
 
4
- var _chunkI64PYCTBjs = require('./chunk-I64PYCTB.js');
4
+ var _chunkXLE7KXE7js = require('./chunk-XLE7KXE7.js');
5
5
 
6
6
 
7
- var _chunkX7YOVJBCjs = require('./chunk-X7YOVJBC.js');
7
+ var _chunkEYG336YVjs = require('./chunk-EYG336YV.js');
8
8
 
9
9
 
10
- var _chunkSJOHQ2WWjs = require('./chunk-SJOHQ2WW.js');
10
+ var _chunkKCDZWS2Bjs = require('./chunk-KCDZWS2B.js');
11
11
 
12
12
 
13
- var _chunkBCKIBVEJjs = require('./chunk-BCKIBVEJ.js');
13
+ var _chunk2I7VN65Hjs = require('./chunk-2I7VN65H.js');
14
14
 
15
15
 
16
- var _chunkZEZ3CZ3Xjs = require('./chunk-ZEZ3CZ3X.js');
16
+ var _chunkJO2JZUBRjs = require('./chunk-JO2JZUBR.js');
17
17
 
18
18
  // src/cli/commands/update.ts
19
19
  var _child_process = require('child_process');
@@ -495,7 +495,7 @@ function normalizedNpmPrefix(value) {
495
495
  }
496
496
  function resolveNpmGlobalPrefix(env) {
497
497
  try {
498
- const plan = _chunkSJOHQ2WWjs.resolveShellSpawn.call(void 0,
498
+ const plan = _chunkKCDZWS2Bjs.resolveShellSpawn.call(void 0,
499
499
  "npm",
500
500
  ["prefix", "-g"],
501
501
  process.platform,
@@ -556,8 +556,8 @@ function resolveUpdatePlan(options = {}) {
556
556
  const npmGlobalPrefix = options.npmGlobalPrefix !== void 0 ? options.npmGlobalPrefix : resolveNpmGlobalPrefix(env);
557
557
  const hasVerifiedNpmOwnership = inferredInstallPrefix !== null && normalizedNpmPrefix(inferredInstallPrefix) === normalizedNpmPrefix(npmGlobalPrefix);
558
558
  const installPrefix = options.requireVerifiedNpmOwnership ? hasVerifiedNpmOwnership ? inferredInstallPrefix : null : inferredInstallPrefix;
559
- const npmVersion = options.npmVersion === void 0 ? _chunkI64PYCTBjs.readNpmVersion.call(void 0, env) : options.npmVersion;
560
- const npmGlobalInstallFlags = _chunkI64PYCTBjs.npmSupportsAllowScripts.call(void 0, npmVersion) ? [...NPM_SDK_INSTALL_COMMON_FLAGS, "--allow-scripts=esbuild"] : NPM_SDK_INSTALL_COMMON_FLAGS;
559
+ const npmVersion = options.npmVersion === void 0 ? _chunkXLE7KXE7js.readNpmVersion.call(void 0, env) : options.npmVersion;
560
+ const npmGlobalInstallFlags = _chunkXLE7KXE7js.npmSupportsAllowScripts.call(void 0, npmVersion) ? [...NPM_SDK_INSTALL_COMMON_FLAGS, "--allow-scripts=esbuild"] : NPM_SDK_INSTALL_COMMON_FLAGS;
561
561
  const args = installPrefix ? [
562
562
  "install",
563
563
  "-g",
@@ -567,7 +567,7 @@ function resolveUpdatePlan(options = {}) {
567
567
  packageSpec
568
568
  ] : ["install", "-g", ...npmGlobalInstallFlags, packageSpec];
569
569
  const fallbackRegistryUrl = options.npmFallbackRegistryUrl !== void 0 ? options.npmFallbackRegistryUrl : publicNpmFallbackRegistryUrl(
570
- _optionalChain([env, 'access', _22 => _22.DEEPLINE_HOST_URL, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || _chunkZEZ3CZ3Xjs.autoDetectBaseUrl.call(void 0, )
570
+ _optionalChain([env, 'access', _22 => _22.DEEPLINE_HOST_URL, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || _chunkJO2JZUBRjs.autoDetectBaseUrl.call(void 0, )
571
571
  );
572
572
  return {
573
573
  kind: "npm-global",
@@ -816,7 +816,7 @@ function sidecarInstallFailure(versionDir) {
816
816
  function runCommand(command, args, env = process.env) {
817
817
  return new Promise((resolveResult) => {
818
818
  let output = "";
819
- const plan = _chunkSJOHQ2WWjs.resolveShellSpawn.call(void 0, command, args, process.platform, env);
819
+ const plan = _chunkKCDZWS2Bjs.resolveShellSpawn.call(void 0, command, args, process.platform, env);
820
820
  const child = _child_process.spawn.call(void 0, plan.command, plan.args, {
821
821
  stdio: ["inherit", "pipe", "pipe"],
822
822
  shell: plan.shell,
@@ -1199,14 +1199,14 @@ async function publishedVersionSupportsPin(version, fallbackRegistryUrl) {
1199
1199
  throw _nullishCoalesce(lastError, () => ( new Error("No npm registry was available")));
1200
1200
  }
1201
1201
  async function runUpdateCommand(options, dependencies = {}) {
1202
- const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunkZEZ3CZ3Xjs.autoDetectBaseUrl));
1202
+ const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunkJO2JZUBRjs.autoDetectBaseUrl));
1203
1203
  const resolvePlan = _nullishCoalesce(dependencies.resolvePlan, () => ( resolveUpdatePlan));
1204
1204
  const runPlan = _nullishCoalesce(dependencies.runPlan, () => ( runUpdatePlan));
1205
1205
  const syncSkills = _nullishCoalesce(dependencies.syncSkillsIfNeeded, () => ( (async () => {
1206
1206
  const originalWrite = process.stdout.write.bind(process.stdout);
1207
1207
  process.stdout.write = (() => true);
1208
1208
  try {
1209
- const exitCode = await _chunkX7YOVJBCjs.runSkillsCommand.call(void 0, { json: true });
1209
+ const exitCode = await _chunkEYG336YVjs.runSkillsCommand.call(void 0, { json: true });
1210
1210
  if (exitCode !== 0) {
1211
1211
  throw new Error(
1212
1212
  `Deepline skills update failed with exit ${exitCode}.`
@@ -1277,11 +1277,11 @@ async function runUpdateCommand(options, dependencies = {}) {
1277
1277
  ]
1278
1278
  };
1279
1279
  if (options.json && !options.executeWithJson) {
1280
- _chunkBCKIBVEJjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1280
+ _chunk2I7VN65Hjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1281
1281
  return 0;
1282
1282
  }
1283
1283
  if (options.printCommand) {
1284
- _chunkBCKIBVEJjs.printCommandEnvelope.call(void 0,
1284
+ _chunk2I7VN65Hjs.printCommandEnvelope.call(void 0,
1285
1285
  {
1286
1286
  ...plan,
1287
1287
  render: {
@@ -1294,7 +1294,7 @@ async function runUpdateCommand(options, dependencies = {}) {
1294
1294
  return 0;
1295
1295
  }
1296
1296
  if (plan.kind === "source" || plan.kind === "homebrew") {
1297
- _chunkBCKIBVEJjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1297
+ _chunk2I7VN65Hjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1298
1298
  return 0;
1299
1299
  }
1300
1300
  stderr.write(`Updating Deepline SDK/CLI with: ${plan.manualCommand}
@@ -1319,12 +1319,12 @@ 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
  }
1326
1326
  if (options.executeWithJson && options.json) {
1327
- _chunkBCKIBVEJjs.printCommandEnvelope.call(void 0,
1327
+ _chunk2I7VN65Hjs.printCommandEnvelope.call(void 0,
1328
1328
  {
1329
1329
  ok: true,
1330
1330
  pinnedVersion
@@ -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(); } }
2
2
 
3
- var _chunkBCKIBVEJjs = require('./chunk-BCKIBVEJ.js');
3
+ var _chunk2I7VN65Hjs = require('./chunk-2I7VN65H.js');
4
4
 
5
5
  // src/cli/maintenance-policy.ts
6
6
  var _commander = require('commander');
@@ -33,7 +33,7 @@ function recordCliTrace(event) {
33
33
  sinceStartMs: now - cliTraceStartedAt,
34
34
  ...event
35
35
  };
36
- _chunkBCKIBVEJjs.writeRawStderr.call(void 0, `[cli-trace] ${JSON.stringify(payload)}
36
+ _chunk2I7VN65Hjs.writeRawStderr.call(void 0, `[cli-trace] ${JSON.stringify(payload)}
37
37
  `);
38
38
  }
39
39
  async function traceCliSpan(phase, fields, run) {
@@ -170,9 +170,9 @@ Auth in non-interactive shells:
170
170
  until it happens, so an unattended agent must not call it.
171
171
 
172
172
  Skills:
173
- The bare skills command reinstalls the Deepline skill files on disk. To see
174
- which skills are installed without changing anything, run
175
- skills --dry-run and read the plan.
173
+ skills install reinstalls the Deepline skill files on disk. To see which
174
+ skills are installed without changing anything, run skills install
175
+ --dry-run and read the plan.
176
176
  ]]
177
177
  `
178
178
  },
@@ -1089,7 +1089,8 @@ Input:
1089
1089
  [[cli:
1090
1090
  Output (JSON, printed when the run ends):
1091
1091
  run {id, playName, status ("completed", "failed", "stopped")},
1092
- dashboardUrl, steps[] with per-step progress, rowOutcomes, warnings,
1092
+ runUrl (the Play page with this run selected; link it when you report the
1093
+ run), dashboardUrl, steps[] with per-step progress, rowOutcomes, warnings,
1093
1094
  datasets[] {datasetId, name, storage {schema, table}}, and actions holding
1094
1095
  exact follow-up commands: getRunCmd, getFullRunCmd, getBillingCmd,
1095
1096
  getLogsCmd, exportDatasetCmds[], queryTableSqlCmds[]. Rows are not in this
@@ -1102,7 +1103,7 @@ Output (JSON, printed when the run ends):
1102
1103
  [[mcp:
1103
1104
  Output:
1104
1105
  The run package deepline_get_run returns, once the run ends: run {id,
1105
- playName, status, dashboardUrl}, steps[] with per-step progress,
1106
+ playName, status, runUrl, dashboardUrl}, steps[] with per-step progress,
1106
1107
  rowOutcomes, warnings, datasets[] {tableNamespace, sqlQualifiedTableName,
1107
1108
  actions}, and next {inspect, full, billing, logs}, each naming the MCP call
1108
1109
  for that follow-up. Pass a dataset's tableNamespace as table_namespace to
@@ -1322,14 +1323,15 @@ When:
1322
1323
  Input:
1323
1324
  The run id. --full resolves a full-only result and adds diagnostics with
1324
1325
  billing and timeline (large). --log-failed attaches the failure log window.
1326
+ --web opens the run page in a browser; --web-url prints only its URL.
1325
1327
  --input prints the original input (may contain customer data). --json
1326
1328
  prints JSON; --json run.status,datasets.name selects fields.
1327
1329
  To parse the output (also with --full), add --json; stdout is then one JSON document.
1328
1330
  ]]
1329
1331
  [[cli:
1330
1332
  Output (JSON):
1331
- kind "run_overview", run {id, playName, status, startedAt, finishedAt,
1332
- durationMs}, steps[] {id, kind, status, label, progress {total, executed,
1333
+ kind "run_overview", runUrl (the Play page with this run selected),
1334
+ run {id, playName, status, startedAt, finishedAt, durationMs}, steps[] {id, kind, status, label, progress {total, executed,
1333
1335
  reused, failed, completedRows}}, failures.steps[], errorDetails,
1334
1336
  rowOutcomes, warnings[], datasets[] {datasetId, name, rowCount, summary,
1335
1337
  storage {schema, table}, preview {returnedRows, totalRows, partial, rows}},
@@ -1341,9 +1343,9 @@ Output (JSON):
1341
1343
  ]]
1342
1344
  [[mcp:
1343
1345
  Output:
1344
- The run package (kind "play_run"): run {id, playName, status}, steps[],
1345
- rowOutcomes, warnings, datasets[] {tableNamespace, sqlQualifiedTableName,
1346
- actions}, and next.*.command, each naming the MCP call for a follow-up.
1346
+ The run package (kind "play_run"): run {id, playName, status, runUrl},
1347
+ steps[], rowOutcomes, warnings, datasets[] {tableNamespace,
1348
+ sqlQualifiedTableName, actions}, and next.*.command, each naming the MCP call for a follow-up.
1347
1349
  With full: true the package is under package, beside the diagnostics.
1348
1350
  ]]
1349
1351
  Cost:
@@ -1875,6 +1877,27 @@ Cost:
1875
1877
  },
1876
1878
  skills: {
1877
1879
  core: `
1880
+ Purpose:
1881
+ Read the Deepline agent skills (deepline-gtm and its siblings) without
1882
+ installing anything.
1883
+ When:
1884
+ Before starting GTM work, read the skill: skills show prints
1885
+ deepline-gtm, skills list names every skill, skills show <name> prints one.
1886
+ [[cli:
1887
+ Input:
1888
+ list | show [name] | install; --json. With no verb, prints this help.
1889
+ ]]
1890
+ Output:
1891
+ list prints one name and description per line; show prints the skill's
1892
+ SKILL.md as markdown. Neither writes anything.
1893
+ Cost:
1894
+ Free.
1895
+ Avoid:
1896
+ To install or refresh skill files use [[skills install]].
1897
+ `
1898
+ },
1899
+ "skills install": {
1900
+ core: `
1878
1901
  Purpose:
1879
1902
  Reinstall the Deepline agent skill files (deepline-gtm and its siblings)
1880
1903
  from the current release. It writes to disk.
@@ -1891,7 +1914,7 @@ Output (JSON):
1891
1914
  Cost:
1892
1915
  Free.
1893
1916
  Avoid:
1894
- The bare command replaces skill files; in a sandbox or a task that said
1917
+ Without --dry-run it replaces skill files; in a sandbox or a task that said
1895
1918
  not to change skills, use [[--dry-run]].
1896
1919
  `
1897
1920
  },
@@ -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(); } } 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 _chunkAEKJZJ4Rjs = require('./chunk-AEKJZJ4R.js');
4
+ var _chunkNWIDPT7Hjs = require('./chunk-NWIDPT7H.js');
5
5
 
6
6
 
7
7
  var _chunkALJJRZNJjs = require('./chunk-ALJJRZNJ.js');
@@ -711,7 +711,7 @@ function readSkillsVersionFile(path) {
711
711
  }
712
712
  }
713
713
  function resolveAutoSyncSkillAgents() {
714
- switch (_chunkAEKJZJ4Rjs.detectAgentRuntime.call(void 0, )) {
714
+ switch (_chunkNWIDPT7Hjs.detectAgentRuntime.call(void 0, )) {
715
715
  case "codex":
716
716
  return ["codex"];
717
717
  case "claude_code":
@@ -781,7 +781,7 @@ function writeSdkSkillsLocalVersion(baseUrl, version, agents) {
781
781
  }
782
782
 
783
783
  // src/http.ts
784
- var HttpClient2 = class extends _chunkAEKJZJ4Rjs.HttpClient {
784
+ var HttpClient2 = class extends _chunkNWIDPT7Hjs.HttpClient {
785
785
  constructor(config) {
786
786
  super(config, readSdkSkillsLocalVersion);
787
787
  }