deepline 0.3.534 → 0.3.536

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 (235) hide show
  1. package/dist/bundling-sources/sdk/src/client-core.ts +254 -147
  2. package/dist/bundling-sources/sdk/src/index.ts +4 -0
  3. package/dist/bundling-sources/sdk/src/plays/local-file-discovery.ts +27 -1
  4. package/dist/bundling-sources/sdk/src/plays/run-request.ts +16 -5
  5. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  6. package/dist/bundling-sources/sdk/src/types.ts +2 -23
  7. package/dist/bundling-sources/shared_libs/integration-contracts/monitor-fleet-contract.ts +26 -14
  8. package/dist/bundling-sources/shared_libs/integration-contracts/monitor-input-contract.ts +33 -8
  9. package/dist/bundling-sources/shared_libs/monitors/fleets/count-drift-alert.ts +121 -0
  10. package/dist/bundling-sources/shared_libs/monitors/fleets/limits.ts +8 -0
  11. package/dist/bundling-sources/shared_libs/monitors/fleets/plan.ts +14 -82
  12. package/dist/bundling-sources/shared_libs/monitors/package.json +1 -0
  13. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +4 -4
  14. package/dist/bundling-sources/shared_libs/play-data-plane/r2.ts +0 -26
  15. package/dist/bundling-sources/shared_libs/play-runtime/activity-observation.ts +36 -0
  16. package/dist/bundling-sources/shared_libs/play-runtime/app-runtime-api.ts +21 -31
  17. package/dist/bundling-sources/shared_libs/play-runtime/call-requeue-state-machine.ts +420 -0
  18. package/dist/bundling-sources/shared_libs/play-runtime/context.ts +727 -102
  19. package/dist/bundling-sources/shared_libs/play-runtime/ctx-types.ts +26 -0
  20. package/dist/bundling-sources/shared_libs/play-runtime/durable-retry-policy.ts +624 -0
  21. package/dist/bundling-sources/shared_libs/play-runtime/durable-runs-rollout.ts +12 -10
  22. package/dist/bundling-sources/shared_libs/play-runtime/durable-summary-events.ts +3 -1
  23. package/dist/bundling-sources/shared_libs/play-runtime/governor/app-runtime-rate-state-backend.ts +71 -2
  24. package/dist/bundling-sources/shared_libs/play-runtime/governor/governor.ts +60 -1
  25. package/dist/bundling-sources/shared_libs/play-runtime/governor/rate-state-backend.ts +2 -0
  26. package/dist/bundling-sources/shared_libs/play-runtime/launch-identity.ts +1 -0
  27. package/dist/bundling-sources/shared_libs/play-runtime/map-memory-limits.ts +372 -10
  28. package/dist/bundling-sources/shared_libs/play-runtime/memory-ledger.ts +15 -2
  29. package/dist/bundling-sources/shared_libs/play-runtime/output-size-limits.ts +21 -0
  30. package/dist/bundling-sources/shared_libs/play-runtime/prebuilt-result-quality.ts +1 -1
  31. package/dist/bundling-sources/shared_libs/play-runtime/protocol.ts +6 -0
  32. package/dist/bundling-sources/shared_libs/play-runtime/provider-capacity/fixture-capacity-simulator.ts +1 -0
  33. package/dist/bundling-sources/shared_libs/play-runtime/provider-capacity/gradient2-concurrency-controller.ts +41 -0
  34. package/dist/bundling-sources/shared_libs/play-runtime/provider-capacity/provider-capacity-policy.ts +6 -0
  35. package/dist/bundling-sources/shared_libs/play-runtime/provider-capacity/provider-concurrency-policy.ts +9 -0
  36. package/dist/bundling-sources/shared_libs/play-runtime/provider-no-progress.ts +6 -2
  37. package/dist/bundling-sources/shared_libs/play-runtime/resource-governor.ts +17 -0
  38. package/dist/bundling-sources/shared_libs/play-runtime/run-failure.ts +2 -2
  39. package/dist/bundling-sources/shared_libs/play-runtime/run-ledger.ts +5 -2
  40. package/dist/bundling-sources/shared_libs/play-runtime/runner-app/runtime-tool-hooks.ts +63 -3
  41. package/dist/bundling-sources/shared_libs/play-runtime/runtime-operation-contract.ts +7 -0
  42. package/dist/bundling-sources/shared_libs/play-runtime/sandbox-compute-usage.ts +31 -0
  43. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backend.ts +6 -0
  44. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +26 -1
  45. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-rate-scope.ts +11 -4
  46. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-rate-state.ts +73 -18
  47. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +169 -2
  48. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-capacity.ts +26 -4
  49. package/dist/bundling-sources/shared_libs/play-runtime/tool-execute-retry-policy.ts +90 -49
  50. package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +136 -30
  51. package/dist/bundling-sources/shared_libs/plays/launch/input-contract.ts +13 -1
  52. package/dist/bundling-sources/shared_libs/plays/local-file-discovery.ts +68 -1
  53. package/dist/bundling-sources/shared_libs/plays/share/static-pipeline-summary.ts +63 -13
  54. package/dist/bundling-sources/shared_libs/product-notifications/configuration-draft.ts +57 -1
  55. package/dist/bundling-sources/shared_libs/product-notifications/configuration.ts +22 -9
  56. package/dist/cli/auth-6XQKFOLG.js +43 -0
  57. package/dist/cli/{auth-MHQYIMVX.mjs → auth-KCTCUO7P.mjs} +7 -7
  58. package/dist/cli/{billing-YQLNP4S5.js → billing-4VBGZ3CT.js} +273 -112
  59. package/dist/cli/{billing-LX2PSBJ4.mjs → billing-OOJHKLNS.mjs} +185 -24
  60. package/dist/cli/{chunk-DGKTHWWH.js → chunk-2B4IOGFD.js} +406 -382
  61. package/dist/cli/{chunk-MQORQ7WL.js → chunk-2FCSUOYN.js} +55 -55
  62. package/dist/cli/{chunk-T2N3B7IQ.js → chunk-2GJZLIKW.js} +8 -8
  63. package/dist/cli/{chunk-6IFZPEJE.mjs → chunk-2YWJS76L.mjs} +1 -1
  64. package/dist/cli/{chunk-E7TP25I2.mjs → chunk-3PCYV6ZJ.mjs} +2 -2
  65. package/dist/cli/{chunk-LGRZCHKC.js → chunk-4E5JXZ3W.js} +18 -20
  66. package/dist/cli/{chunk-R4RG4FV5.mjs → chunk-4KWD3MX2.mjs} +13 -10
  67. package/dist/cli/{chunk-SUWTLXCV.js → chunk-6BBGUQJJ.js} +67 -146
  68. package/dist/cli/{chunk-JBBJDFUJ.js → chunk-6VUGBQZQ.js} +5 -5
  69. package/dist/cli/{chunk-2P3NVX65.mjs → chunk-AB2GBOD4.mjs} +40 -27
  70. package/dist/cli/{chunk-62SOZ67Y.mjs → chunk-ANUKBZ6W.mjs} +475 -11
  71. package/dist/cli/{chunk-MG6YL4M7.mjs → chunk-BASLYGXK.mjs} +101 -77
  72. package/dist/cli/{chunk-SQWET4SL.js → chunk-BBTKAASQ.js} +2 -1
  73. package/dist/cli/{chunk-NRO3NTVO.js → chunk-CBV7AKWM.js} +5 -5
  74. package/dist/cli/{chunk-RH3YRMUY.js → chunk-CIDN5K23.js} +1 -1
  75. package/dist/cli/{chunk-QNHHZ63P.mjs → chunk-CQBIO6HW.mjs} +1 -1
  76. package/dist/cli/{chunk-2KHUFWTK.js → chunk-CQDQNZGH.js} +42 -37
  77. package/dist/cli/{chunk-UWNVFAFN.js → chunk-CWSLUNA6.js} +33 -33
  78. package/dist/cli/{chunk-5FXMEEF4.mjs → chunk-CXTW7SRW.mjs} +67 -146
  79. package/dist/cli/{chunk-O53LHONF.mjs → chunk-DA2I2M7D.mjs} +2 -2
  80. package/dist/cli/{chunk-EYXUAJAU.mjs → chunk-DQHUJMCL.mjs} +5 -5
  81. package/dist/cli/{chunk-7GFR5Y4J.mjs → chunk-DUYAMLOC.mjs} +1 -1
  82. package/dist/cli/{chunk-OMVVHX4U.mjs → chunk-E24UGPGG.mjs} +13 -15
  83. package/dist/cli/{chunk-STR5LXK4.mjs → chunk-FSIVF2SI.mjs} +1 -1
  84. package/dist/cli/{chunk-KJVY7V2X.mjs → chunk-GF32SBST.mjs} +1 -1
  85. package/dist/cli/{chunk-AK622KIG.mjs → chunk-GHLDCLSC.mjs} +1 -1
  86. package/dist/cli/{chunk-A6HNT4EE.js → chunk-GTVZKY3F.js} +2 -2
  87. package/dist/cli/{chunk-BXIUZM5N.mjs → chunk-HAJQGP5V.mjs} +2 -2
  88. package/dist/cli/{chunk-6CEUQYMB.js → chunk-HWDKRN7L.js} +3 -3
  89. package/dist/cli/{chunk-5YAJGRWB.js → chunk-IPVRMYWT.js} +7 -7
  90. package/dist/cli/{chunk-ZPGGW27Q.mjs → chunk-JL2OTMSG.mjs} +1 -0
  91. package/dist/cli/{chunk-WR4WETRU.mjs → chunk-JUHDJNSI.mjs} +4 -4
  92. package/dist/cli/{chunk-TQH3533L.mjs → chunk-KPQHUVYW.mjs} +5 -5
  93. package/dist/cli/{chunk-V7SCRUFQ.js → chunk-KWYGWO4Y.js} +9 -6
  94. package/dist/cli/{chunk-DZS4JC7I.js → chunk-LDGZFDUB.js} +2 -2
  95. package/dist/cli/{chunk-EGTUOYYG.js → chunk-LN6RXDTB.js} +523 -59
  96. package/dist/cli/{chunk-DQ5ADV2J.mjs → chunk-LZXZQPA2.mjs} +4 -1
  97. package/dist/cli/{chunk-MYSKWJMA.js → chunk-MSP4DTSD.js} +13 -13
  98. package/dist/cli/{chunk-BNH4Y35W.mjs → chunk-OLH2PHMC.mjs} +2 -2
  99. package/dist/cli/{chunk-NNAE7E23.mjs → chunk-OUDTOMZC.mjs} +7 -9
  100. package/dist/cli/{chunk-GESIFFQX.mjs → chunk-OVX3Q5Q3.mjs} +1 -1
  101. package/dist/cli/{chunk-ENCA6O2D.mjs → chunk-PNY3BWHP.mjs} +2 -2
  102. package/dist/cli/{chunk-KSA2XE4T.js → chunk-Q4MNUOS4.js} +316 -303
  103. package/dist/cli/{chunk-GTXSUPCJ.js → chunk-Q5CXV3E3.js} +2 -2
  104. package/dist/cli/{chunk-VAG5YKP6.mjs → chunk-RVSSQPQO.mjs} +1 -1
  105. package/dist/cli/{chunk-VE7ZPLN2.js → chunk-SLPJ3LXI.js} +22 -22
  106. package/dist/cli/{chunk-IX45S5VC.js → chunk-TX5TUHJN.js} +17 -19
  107. package/dist/cli/{chunk-IF75RD6U.js → chunk-U2LVWCTD.js} +18 -6
  108. package/dist/cli/{chunk-ZS2WHWWL.js → chunk-UNDLNT3V.js} +1 -1
  109. package/dist/cli/{chunk-NDFNBJGL.js → chunk-VBDZIMWD.js} +26 -26
  110. package/dist/cli/{chunk-GVGQ6NZW.js → chunk-W7AEIGZR.js} +41 -41
  111. package/dist/cli/{chunk-WDNRPZED.mjs → chunk-WC5M3JXE.mjs} +2 -2
  112. package/dist/cli/{chunk-C374C22Y.js → chunk-WOQO3GV4.js} +14 -11
  113. package/dist/cli/{chunk-MQX363YF.js → chunk-XBAH3TKU.js} +5 -5
  114. package/dist/cli/{chunk-BDWZBMGV.mjs → chunk-XJD2GYUP.mjs} +5 -5
  115. package/dist/cli/{chunk-XRZJKHUA.mjs → chunk-XVZRJJDS.mjs} +4 -4
  116. package/dist/cli/{chunk-TVINIDHB.js → chunk-Y2NTPYGS.js} +17 -17
  117. package/dist/cli/{chunk-6GTGWZJG.mjs → chunk-YBMHOH6H.mjs} +4 -4
  118. package/dist/cli/{chunk-TG2UB3A5.mjs → chunk-YRLAUGQY.mjs} +3 -3
  119. package/dist/cli/{chunk-FKD3KL5Q.mjs → chunk-Z2XA6YU4.mjs} +10 -5
  120. package/dist/cli/{chunk-KXQCUX3X.mjs → chunk-Z7UIOGW4.mjs} +3 -3
  121. package/dist/cli/{chunk-HCD36BP6.js → chunk-ZEV2Y56V.js} +44 -44
  122. package/dist/cli/{chunk-MI6ZP7XI.mjs → chunk-ZG7BOECV.mjs} +18 -6
  123. package/dist/cli/{chunk-XBK6WCVA.js → chunk-ZILSRDIN.js} +8 -8
  124. package/dist/cli/{chunk-B2AS3R5W.js → chunk-ZISEH7OL.js} +16 -16
  125. package/dist/cli/{chunk-HPJAE6PP.js → chunk-ZZ4MF2GI.js} +6 -6
  126. package/dist/cli/command-docs.js +2 -2
  127. package/dist/cli/command-docs.mjs +1 -1
  128. package/dist/cli/{csv-U3M2G76R.js → csv-2V2DIFNG.js} +15 -15
  129. package/dist/cli/{csv-4ID4E5W3.mjs → csv-P3HLK4GO.mjs} +6 -6
  130. package/dist/cli/{db-IHAQIKEQ.js → db-MREAQVW6.js} +36 -36
  131. package/dist/cli/{db-LHX5BBCZ.mjs → db-ZYOY3QRQ.mjs} +9 -9
  132. package/dist/cli/describe-IKZFOADR.mjs +49 -0
  133. package/dist/cli/describe-WW3OQRLP.js +49 -0
  134. package/dist/cli/describe-core.d.mts +3 -3
  135. package/dist/cli/describe-core.d.ts +3 -3
  136. package/dist/cli/describe-core.js +5 -5
  137. package/dist/cli/describe-core.mjs +4 -4
  138. package/dist/cli/{executions-CJ5LV23G.js → executions-H5IJ7QSQ.js} +11 -11
  139. package/dist/cli/{executions-UJ6JZUL5.mjs → executions-KTSY5M34.mjs} +9 -9
  140. package/dist/cli/{feedback-TGUBVGRP.js → feedback-724QK3Z5.js} +16 -16
  141. package/dist/cli/{feedback-YGTPJBRJ.mjs → feedback-WWJRIXEU.mjs} +8 -8
  142. package/dist/cli/git-PHYRD56H.js +25 -0
  143. package/dist/cli/{git-3DOTQHJO.mjs → git-R5VRG7X6.mjs} +7 -7
  144. package/dist/cli/index.js +151 -157
  145. package/dist/cli/index.mjs +51 -57
  146. package/dist/cli/{legacy-noops-BHEHVFHI.js → legacy-noops-C6GDEGPU.js} +11 -11
  147. package/dist/cli/{legacy-noops-RBBYRVLG.mjs → legacy-noops-PWZ5XLAO.mjs} +8 -8
  148. package/dist/cli/{monitors-XECKLAXA.js → monitors-VAVQ4WCE.js} +125 -122
  149. package/dist/cli/{monitors-5AJCG6IV.mjs → monitors-WQSKMHAP.mjs} +19 -16
  150. package/dist/cli/{org-DOBAIYWG.js → org-CWWRWXZQ.js} +89 -89
  151. package/dist/cli/{org-ZAAIEZKB.mjs → org-MAL4QPVF.mjs} +9 -9
  152. package/dist/cli/{play-KLYRMQPF.mjs → play-ILW6MSNG.mjs} +174 -80
  153. package/dist/cli/{play-E74VN6B7.js → play-WJOWK5PQ.js} +690 -596
  154. package/dist/cli/{providers-XTQXV5LB.mjs → providers-4V2NMLZZ.mjs} +9 -9
  155. package/dist/cli/{providers-APZ6SOSK.js → providers-W662ANCH.js} +12 -12
  156. package/dist/cli/{quickstart-S6WN6NWW.js → quickstart-BW6EBUYX.js} +8 -8
  157. package/dist/cli/{quickstart-X7RHHQCH.mjs → quickstart-C22BR743.mjs} +6 -6
  158. package/dist/cli/{run-3YLIJJ57.js → run-KW7KW4FX.js} +50 -53
  159. package/dist/cli/{run-TZPBBSPX.mjs → run-SPAU5IMW.mjs} +31 -34
  160. package/dist/cli/search-HLE54W5G.js +32 -0
  161. package/dist/cli/{search-VLHE2CMZ.mjs → search-XPC75HLM.mjs} +10 -11
  162. package/dist/cli/{search-output-73BYB7UE.mjs → search-output-JKYJSEPM.mjs} +6 -6
  163. package/dist/cli/{search-output-GCT7PQIT.js → search-output-VJYE7USJ.js} +8 -8
  164. package/dist/cli/{secrets-RLOTGKQZ.mjs → secrets-OJG73GXQ.mjs} +9 -9
  165. package/dist/cli/{secrets-J6CEKXKQ.js → secrets-YB57KGSB.js} +18 -18
  166. package/dist/cli/{sessions-7HZ7OZ62.mjs → sessions-7ZL37BW4.mjs} +8 -8
  167. package/dist/cli/sessions-VEBYZIEU.js +22 -0
  168. package/dist/cli/{settings-WRV5XEZC.js → settings-A7DD2ZYE.js} +88 -89
  169. package/dist/cli/{settings-72K5YCIS.mjs → settings-RKSQB7FA.mjs} +15 -16
  170. package/dist/cli/{setup-KQFY6WT4.mjs → setup-NXDUTITY.mjs} +11 -12
  171. package/dist/cli/{setup-QVXWT2EQ.js → setup-S3K5YU62.js} +51 -52
  172. package/dist/cli/skills-NVQ744CN.js +36 -0
  173. package/dist/cli/{skills-C3K3E473.mjs → skills-VMFAIDO6.mjs} +9 -10
  174. package/dist/cli/{tools-4A2OH6MB.mjs → tools-52NTHBSJ.mjs} +20 -21
  175. package/dist/cli/tools-SBDUL3WB.js +56 -0
  176. package/dist/cli/update-HHVFZPCV.js +34 -0
  177. package/dist/cli/{update-BS6USKPR.mjs → update-SAKBEKMV.mjs} +11 -12
  178. package/dist/cli/{views-WB6GFTRX.mjs → views-ACRV7MD6.mjs} +54 -10
  179. package/dist/cli/{views-4NZGAXHL.js → views-C3GJOBDG.js} +66 -22
  180. package/dist/cli/{workflow-2D4WX55R.mjs → workflow-CS22E7TC.mjs} +10 -10
  181. package/dist/cli/{workflow-L2QTQZYV.js → workflow-ZNWCZEGN.js} +20 -20
  182. package/dist/{client-DoUVSkqC.d.mts → client-BlLYQDNo.d.mts} +1 -1
  183. package/dist/{client-DQm56zMs.d.ts → client-DSQlkIDO.d.ts} +1 -1
  184. package/dist/{client-core-C7KkUIE_.d.ts → client-core-CDwapXy5.d.ts} +167 -108
  185. package/dist/{client-core-CPlwsC1Q.d.mts → client-core-rX7n2H8U.d.mts} +167 -108
  186. package/dist/{compiler-manifest-DsxsQP-T.d.mts → compiler-manifest-BHNC4RL-.d.mts} +58 -21
  187. package/dist/{compiler-manifest-DsxsQP-T.d.ts → compiler-manifest-BHNC4RL-.d.ts} +58 -21
  188. package/dist/{errors-qdJUVQ3g.d.mts → errors-D7sPXrvB.d.mts} +1 -1
  189. package/dist/{errors-Bk5h1D-C.d.ts → errors-lhtIWG5Z.d.ts} +1 -1
  190. package/dist/{index-bL66eHYz.d.ts → index-CQTBHXHr.d.ts} +1 -1
  191. package/dist/{index-PaupwX1B.d.mts → index-NaDZq2xf.d.mts} +1 -1
  192. package/dist/index.d.mts +7 -7
  193. package/dist/index.d.ts +7 -7
  194. package/dist/index.js +15 -15
  195. package/dist/index.mjs +11 -11
  196. package/dist/install-integrity.json +131 -132
  197. package/dist/monitor-fleet-contract.d.mts +17 -11
  198. package/dist/monitor-fleet-contract.d.ts +17 -11
  199. package/dist/monitor-fleet-contract.js +3 -3
  200. package/dist/monitor-fleet-contract.mjs +2 -2
  201. package/dist/monitor-input-contract.js +2 -2
  202. package/dist/monitor-input-contract.mjs +1 -1
  203. package/dist/plays/bundle-play-file.d.mts +3 -3
  204. package/dist/plays/bundle-play-file.d.ts +3 -3
  205. package/dist/plays/bundle-play-file.mjs +67 -3
  206. package/dist/plays/csv-data-input.js +3 -3
  207. package/dist/plays/csv-data-input.mjs +2 -2
  208. package/dist/plays/play-description.d.mts +2 -2
  209. package/dist/plays/play-description.d.ts +2 -2
  210. package/dist/plays/run-request.d.mts +2 -2
  211. package/dist/plays/run-request.d.ts +2 -2
  212. package/dist/plays/run-request.js +3 -3
  213. package/dist/plays/run-request.mjs +2 -2
  214. package/dist/release.d.mts +1 -1
  215. package/dist/release.d.ts +1 -1
  216. package/dist/release.js +2 -2
  217. package/dist/release.mjs +1 -1
  218. package/dist/server.d.mts +4 -4
  219. package/dist/server.d.ts +4 -4
  220. package/dist/server.js +12 -12
  221. package/dist/server.mjs +6 -6
  222. package/package.json +1 -1
  223. package/dist/cli/auth-UP2RGPI6.js +0 -43
  224. package/dist/cli/chunk-5LZ5VSOK.mjs +0 -405
  225. package/dist/cli/chunk-D3J2Y2BP.js +0 -405
  226. package/dist/cli/describe-CI4MREFF.mjs +0 -50
  227. package/dist/cli/describe-IVTSD7ST.js +0 -50
  228. package/dist/cli/git-R3W25XIF.js +0 -25
  229. package/dist/cli/pages-FUOSF6BE.mjs +0 -266
  230. package/dist/cli/pages-TLC2N6L7.js +0 -266
  231. package/dist/cli/search-NB5CBALV.js +0 -33
  232. package/dist/cli/sessions-SFCZSB77.js +0 -22
  233. package/dist/cli/skills-WIJEHVLA.js +0 -37
  234. package/dist/cli/tools-VMMERMLO.js +0 -57
  235. package/dist/cli/update-54WZQDTS.js +0 -35
package/dist/cli/index.js CHANGED
@@ -1,10 +1,10 @@
1
1
  #!/usr/bin/env node
2
2
  "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; }
3
3
 
4
- var _chunkHPJAE6PPjs = require('./chunk-HPJAE6PP.js');
4
+ var _chunkZZ4MF2GIjs = require('./chunk-ZZ4MF2GI.js');
5
5
 
6
6
 
7
- var _chunkA6HNT4EEjs = require('./chunk-A6HNT4EE.js');
7
+ var _chunkGTVZKY3Fjs = require('./chunk-GTVZKY3F.js');
8
8
 
9
9
 
10
10
 
@@ -13,17 +13,17 @@ var _chunkA6HNT4EEjs = require('./chunk-A6HNT4EE.js');
13
13
 
14
14
 
15
15
 
16
- var _chunkVE7ZPLN2js = require('./chunk-VE7ZPLN2.js');
16
+ var _chunkSLPJ3LXIjs = require('./chunk-SLPJ3LXI.js');
17
17
 
18
18
 
19
19
 
20
20
 
21
21
 
22
22
 
23
- var _chunkDZS4JC7Ijs = require('./chunk-DZS4JC7I.js');
24
- require('./chunk-B2AS3R5W.js');
25
- require('./chunk-GTXSUPCJ.js');
26
- require('./chunk-GVGQ6NZW.js');
23
+ var _chunkLDGZFDUBjs = require('./chunk-LDGZFDUB.js');
24
+ require('./chunk-ZISEH7OL.js');
25
+ require('./chunk-Q5CXV3E3.js');
26
+ require('./chunk-W7AEIGZR.js');
27
27
 
28
28
 
29
29
 
@@ -35,25 +35,24 @@ require('./chunk-GVGQ6NZW.js');
35
35
 
36
36
 
37
37
 
38
- var _chunkHCD36BP6js = require('./chunk-HCD36BP6.js');
38
+ var _chunkZEV2Y56Vjs = require('./chunk-ZEV2Y56V.js');
39
39
 
40
40
 
41
- var _chunk6CEUQYMBjs = require('./chunk-6CEUQYMB.js');
41
+ var _chunkHWDKRN7Ljs = require('./chunk-HWDKRN7L.js');
42
42
 
43
43
 
44
44
 
45
45
 
46
+ var _chunk6BBGUQJJjs = require('./chunk-6BBGUQJJ.js');
47
+ require('./chunk-R7J7CJPZ.js');
48
+ require('./chunk-YGCKMI5P.js');
46
49
 
47
50
 
48
51
 
49
- var _chunkD3J2Y2BPjs = require('./chunk-D3J2Y2BP.js');
50
52
 
51
53
 
52
54
 
53
55
 
54
- var _chunkSUWTLXCVjs = require('./chunk-SUWTLXCV.js');
55
- require('./chunk-R7J7CJPZ.js');
56
- require('./chunk-YGCKMI5P.js');
57
56
 
58
57
 
59
58
 
@@ -65,27 +64,26 @@ require('./chunk-YGCKMI5P.js');
65
64
 
66
65
 
67
66
 
67
+ var _chunkLN6RXDTBjs = require('./chunk-LN6RXDTB.js');
68
68
 
69
- var _chunkEGTUOYYGjs = require('./chunk-EGTUOYYG.js');
70
69
 
71
70
 
72
71
 
73
72
 
74
73
 
75
74
 
75
+ var _chunkZILSRDINjs = require('./chunk-ZILSRDIN.js');
76
76
 
77
- var _chunkXBK6WCVAjs = require('./chunk-XBK6WCVA.js');
78
77
 
79
78
 
80
79
 
80
+ var _chunkCWSLUNA6js = require('./chunk-CWSLUNA6.js');
81
81
 
82
- var _chunkUWNVFAFNjs = require('./chunk-UWNVFAFN.js');
83
82
 
84
-
85
- var _chunkT2N3B7IQjs = require('./chunk-T2N3B7IQ.js');
83
+ var _chunk2GJZLIKWjs = require('./chunk-2GJZLIKW.js');
86
84
  require('./chunk-XNYIZMNQ.js');
87
- require('./chunk-SQWET4SL.js');
88
- require('./chunk-RH3YRMUY.js');
85
+ require('./chunk-BBTKAASQ.js');
86
+ require('./chunk-CIDN5K23.js');
89
87
  require('./chunk-OG64RBAC.js');
90
88
  require('./chunk-RLX5ZFNX.js');
91
89
  require('./chunk-COGTRVWW.js');
@@ -166,60 +164,56 @@ var _os = require('os');
166
164
  var COMMAND_GROUPS = [
167
165
  {
168
166
  names: ["auth"],
169
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-UP2RGPI6.js")))).registerAuthCommands
167
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-6XQKFOLG.js")))).registerAuthCommands
170
168
  },
171
169
  {
172
170
  names: ["providers"],
173
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./providers-APZ6SOSK.js")))).registerProviderCommands
171
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./providers-W662ANCH.js")))).registerProviderCommands
174
172
  },
175
173
  {
176
174
  names: ["search"],
177
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./search-NB5CBALV.js")))).registerSearchCommand
175
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./search-HLE54W5G.js")))).registerSearchCommand
178
176
  },
179
177
  {
180
178
  names: ["describe"],
181
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-IVTSD7ST.js")))).registerDescribeCommand
179
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-WW3OQRLP.js")))).registerDescribeCommand
182
180
  },
183
181
  {
184
182
  names: ["run"],
185
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./run-3YLIJJ57.js")))).registerRunCommand
183
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./run-KW7KW4FX.js")))).registerRunCommand
186
184
  },
187
185
  {
188
186
  names: ["tools"],
189
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-VMMERMLO.js")))).registerToolsCommands
187
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-SBDUL3WB.js")))).registerToolsCommands
190
188
  },
191
189
  {
192
190
  names: ["executions"],
193
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./executions-CJ5LV23G.js")))).registerExecutionsCommands
191
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./executions-H5IJ7QSQ.js")))).registerExecutionsCommands
194
192
  },
195
193
  {
196
194
  names: ["plays", "runs"],
197
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./play-E74VN6B7.js")))).registerPlayCommands
195
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./play-WJOWK5PQ.js")))).registerPlayCommands
198
196
  },
199
197
  {
200
198
  names: ["sessions"],
201
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./sessions-SFCZSB77.js")))).registerSessionsCommands
199
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./sessions-VEBYZIEU.js")))).registerSessionsCommands
202
200
  },
203
201
  {
204
202
  names: ["workflows"],
205
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./workflow-L2QTQZYV.js")))).registerWorkflowCommands
206
- },
207
- {
208
- names: ["pages"],
209
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./pages-TLC2N6L7.js")))).registerPagesCommands
203
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./workflow-ZNWCZEGN.js")))).registerWorkflowCommands
210
204
  },
211
205
  {
212
206
  names: ["views"],
213
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./views-4NZGAXHL.js")))).registerViewsCommands
207
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./views-C3GJOBDG.js")))).registerViewsCommands
214
208
  },
215
209
  {
216
210
  names: ["secrets"],
217
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./secrets-J6CEKXKQ.js")))).registerSecretsCommands
211
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./secrets-YB57KGSB.js")))).registerSecretsCommands
218
212
  },
219
213
  {
220
214
  names: ["settings", "notifications"],
221
215
  load: async () => {
222
- const commands = await Promise.resolve().then(() => _interopRequireWildcard(require("./settings-WRV5XEZC.js")));
216
+ const commands = await Promise.resolve().then(() => _interopRequireWildcard(require("./settings-A7DD2ZYE.js")));
223
217
  return (p) => {
224
218
  commands.registerSettingsCommands(p);
225
219
  commands.registerNotificationCommands(p);
@@ -228,51 +222,51 @@ var COMMAND_GROUPS = [
228
222
  },
229
223
  {
230
224
  names: ["billing"],
231
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./billing-YQLNP4S5.js")))).registerBillingCommands
225
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./billing-4VBGZ3CT.js")))).registerBillingCommands
232
226
  },
233
227
  {
234
228
  names: ["monitors"],
235
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./monitors-XECKLAXA.js")))).registerMonitorsCommands
229
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./monitors-VAVQ4WCE.js")))).registerMonitorsCommands
236
230
  },
237
231
  {
238
232
  names: ["org"],
239
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./org-DOBAIYWG.js")))).registerOrgCommands
233
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./org-CWWRWXZQ.js")))).registerOrgCommands
240
234
  },
241
235
  {
242
236
  names: ["git", "projects", "deployments"],
243
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./git-R3W25XIF.js")))).registerGitCommands
237
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./git-PHYRD56H.js")))).registerGitCommands
244
238
  },
245
239
  {
246
240
  names: ["csv"],
247
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./csv-U3M2G76R.js")))).registerCsvCommands
241
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./csv-2V2DIFNG.js")))).registerCsvCommands
248
242
  },
249
243
  {
250
244
  names: ["db"],
251
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./db-IHAQIKEQ.js")))).registerDbCommands
245
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./db-MREAQVW6.js")))).registerDbCommands
252
246
  },
253
247
  {
254
248
  names: ["feedback"],
255
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./feedback-TGUBVGRP.js")))).registerFeedbackCommands
249
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./feedback-724QK3Z5.js")))).registerFeedbackCommands
256
250
  },
257
251
  {
258
252
  names: ["enrich", "session", "backend"],
259
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./legacy-noops-BHEHVFHI.js")))).registerDeprecatedCommands
253
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./legacy-noops-C6GDEGPU.js")))).registerDeprecatedCommands
260
254
  },
261
255
  {
262
256
  names: ["update"],
263
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./update-54WZQDTS.js")))).registerUpdateCommand
257
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./update-HHVFZPCV.js")))).registerUpdateCommand
264
258
  },
265
259
  {
266
260
  names: ["skills", "skills-auto-sync"],
267
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./skills-WIJEHVLA.js")))).registerSkillsCommand
261
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./skills-NVQ744CN.js")))).registerSkillsCommand
268
262
  },
269
263
  {
270
264
  names: ["setup", "doctor"],
271
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./setup-QVXWT2EQ.js")))).registerSetupCommands
265
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./setup-S3K5YU62.js")))).registerSetupCommands
272
266
  },
273
267
  {
274
268
  names: ["quickstart"],
275
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./quickstart-S6WN6NWW.js")))).registerQuickstartCommands
269
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./quickstart-BW6EBUYX.js")))).registerQuickstartCommands
276
270
  }
277
271
  ];
278
272
  async function registerDeeplineCommandGroups(program, requestedCommand) {
@@ -298,8 +292,8 @@ function registerDeeplineInlineCommands(program) {
298
292
  function createDeferredPlayRunMaintenance(input) {
299
293
  return async () => {
300
294
  try {
301
- const skillsVersion = _chunkXBK6WCVAjs.readSdkSkillsLocalVersion.call(void 0, input.baseUrl);
302
- const compatibility = await _chunkDZS4JC7Ijs.traceCliSpan.call(void 0,
295
+ const skillsVersion = _chunkZILSRDINjs.readSdkSkillsLocalVersion.call(void 0, input.baseUrl);
296
+ const compatibility = await _chunkLDGZFDUBjs.traceCliSpan.call(void 0,
303
297
  "cli.sdk_compatibility_deferred",
304
298
  {
305
299
  baseUrl: input.baseUrl,
@@ -307,24 +301,24 @@ function createDeferredPlayRunMaintenance(input) {
307
301
  skillsVersion: _nullishCoalesce(skillsVersion, () => ( null))
308
302
  },
309
303
  async () => {
310
- const trusted = _chunkHCD36BP6js.readTrustedCleanCompatibility.call(void 0,
304
+ const trusted = _chunkZEV2Y56Vjs.readTrustedCleanCompatibility.call(void 0,
311
305
  input.baseUrl,
312
306
  "plays run",
313
307
  skillsVersion
314
308
  );
315
309
  if (trusted) return { response: trusted, error: null };
316
- return _chunkHCD36BP6js.checkSdkCompatibility.call(void 0, input.baseUrl, {
310
+ return _chunkZEV2Y56Vjs.checkSdkCompatibility.call(void 0, input.baseUrl, {
317
311
  command: "plays run",
318
312
  skillsVersion,
319
313
  persistCache: input.policy !== "off",
320
- catalog: _chunkVE7ZPLN2js.compatibilityCatalog.call(void 0, input.command)
314
+ catalog: _chunkSLPJ3LXIjs.compatibilityCatalog.call(void 0, input.command)
321
315
  });
322
316
  }
323
317
  );
324
318
  if (compatibility.error || !compatibility.response) return;
325
319
  const automaticUpdate = compatibility.response.auto_update;
326
320
  if (_optionalChain([automaticUpdate, 'optionalAccess', _4 => _4.should_auto_update]) && !automaticUpdate.required && automaticUpdate.reason !== "rollback_forced") {
327
- await _chunkVE7ZPLN2js.maybeAutoUpdateAndRelaunch.call(void 0,
321
+ await _chunkSLPJ3LXIjs.maybeAutoUpdateAndRelaunch.call(void 0,
328
322
  compatibility.response,
329
323
  input.baseUrl,
330
324
  input.policy
@@ -334,7 +328,7 @@ function createDeferredPlayRunMaintenance(input) {
334
328
  compatibility.response,
335
329
  "skills"
336
330
  ) ? _nullishCoalesce(compatibility.response.skills, () => ( null)) : void 0;
337
- await _chunkHCD36BP6js.syncSdkSkillsIfNeeded.call(void 0, input.baseUrl, {
331
+ await _chunkZEV2Y56Vjs.syncSdkSkillsIfNeeded.call(void 0, input.baseUrl, {
338
332
  update: skillsUpdate,
339
333
  mode: "detached"
340
334
  });
@@ -362,8 +356,8 @@ var MAX_SESSIONS = 20;
362
356
  function helpSeenPath(homeDir = _os.homedir.call(void 0, )) {
363
357
  return _path.join.call(void 0, homeDir, ".local", "deepline", "sdk-cli", "help-seen.json");
364
358
  }
365
- function resolveHelpDetail(argv, key, homeDir = _os.homedir.call(void 0, ), sessionId = _chunkUWNVFAFNjs.agentSessionIdFromEnvironment.call(void 0, )) {
366
- const explicit = _chunkSUWTLXCVjs.helpDetailFromArgv.call(void 0, argv);
359
+ function resolveHelpDetail(argv, key, homeDir = _os.homedir.call(void 0, ), sessionId = _chunkCWSLUNA6js.agentSessionIdFromEnvironment.call(void 0, )) {
360
+ const explicit = _chunk6BBGUQJJjs.helpDetailFromArgv.call(void 0, argv);
367
361
  if (explicit === "quiet") return { detail: "quiet", firstRead: false };
368
362
  if (!sessionId) return { detail: explicit, firstRead: false };
369
363
  const path = helpSeenPath(homeDir);
@@ -460,7 +454,7 @@ function shouldReport(stdout, stderr) {
460
454
  }
461
455
  function toolName(action) {
462
456
  const [toolId] = _optionalChain([action, 'optionalAccess', _5 => _5.path]) === "tools execute" ? action.args : [];
463
- return typeof toolId === "string" ? _chunkD3J2Y2BPjs.redactFailureText.call(void 0, toolId) : null;
457
+ return typeof toolId === "string" ? _chunkLN6RXDTBjs.redactFailureText.call(void 0, toolId) : null;
464
458
  }
465
459
  function chunkText(chunk) {
466
460
  if (typeof chunk === "string") return chunk;
@@ -491,14 +485,14 @@ function watch(stream) {
491
485
  }
492
486
  async function postCommandOutput(body) {
493
487
  try {
494
- const baseUrl = _chunkXBK6WCVAjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
495
- const apiKey = _chunkXBK6WCVAjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
488
+ const baseUrl = _chunkZILSRDINjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
489
+ const apiKey = _chunkZILSRDINjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
496
490
  if (!apiKey) return;
497
- const agentSessionId = _chunkUWNVFAFNjs.agentSessionIdFromEnvironment.call(void 0, );
491
+ const agentSessionId = _chunkCWSLUNA6js.agentSessionIdFromEnvironment.call(void 0, );
498
492
  await fetch(new URL("/api/v2/telemetry/command-output", baseUrl), {
499
493
  method: "POST",
500
494
  headers: {
501
- ..._chunkD3J2Y2BPjs.failureReportHeaders.call(void 0, apiKey),
495
+ ..._chunkLN6RXDTBjs.failureReportHeaders.call(void 0, apiKey),
502
496
  ...agentSessionId ? { "X-Deepline-Agent-Session-Id": agentSessionId } : {}
503
497
  },
504
498
  body: JSON.stringify(body),
@@ -514,14 +508,14 @@ function startOutputSizeReporting(invocation, streams = {
514
508
  const stdoutWatch = watch(streams.stdout);
515
509
  const stderrWatch = watch(streams.stderr);
516
510
  return async (finished) => {
517
- if (_chunkD3J2Y2BPjs.isFailureReportingDisabled.call(void 0, )) return;
511
+ if (_chunkLN6RXDTBjs.isFailureReportingDisabled.call(void 0, )) return;
518
512
  const [stdout, stderr] = await Promise.all([
519
513
  stdoutWatch.settled(),
520
514
  stderrWatch.settled()
521
515
  ]);
522
516
  if (!shouldReport(stdout, stderr)) return;
523
517
  await postCommandOutput({
524
- command: _chunkD3J2Y2BPjs.sanitizeCommand.call(void 0, invocation.argv),
518
+ command: _chunkLN6RXDTBjs.sanitizeCommand.call(void 0, invocation.argv),
525
519
  tool: toolName(finished.action),
526
520
  exit_code: typeof finished.exitCode === "number" ? finished.exitCode : null,
527
521
  duration_ms: Math.max(0, Date.now() - invocation.startedAtMs),
@@ -552,7 +546,7 @@ function silenceCommanderErrorOutput(command) {
552
546
  function printUsageErrorJson(code, message, commandPath) {
553
547
  const unknownName = code === "commander.unknownCommand" ? _optionalChain([/unknown command '([^']+)'/, 'access', _6 => _6.exec, 'call', _7 => _7(message), 'optionalAccess', _8 => _8[1]]) : void 0;
554
548
  const helpPath = unknownName && commandPath.endsWith(` ${unknownName}`) ? commandPath.slice(0, -unknownName.length - 1) : commandPath;
555
- _chunkEGTUOYYGjs.printJson.call(void 0, {
549
+ _chunkLN6RXDTBjs.printJson.call(void 0, {
556
550
  ok: false,
557
551
  error: {
558
552
  code,
@@ -610,7 +604,7 @@ function topLevelCommandKnown(program, commandName) {
610
604
  );
611
605
  }
612
606
  async function runPlayRunnerHealthCheck() {
613
- _chunkXBK6WCVAjs.resolveConfig.call(void 0, );
607
+ _chunkZILSRDINjs.resolveConfig.call(void 0, );
614
608
  const dir = await _promises.mkdtemp.call(void 0, _path.join.call(void 0, _os.tmpdir.call(void 0, ), "deepline-health-play-"));
615
609
  const file = _path.join.call(void 0, dir, "health-check.play.ts");
616
610
  try {
@@ -640,7 +634,7 @@ async function runPlayRunnerHealthCheck() {
640
634
  });
641
635
  let exitCode = 1;
642
636
  try {
643
- const { handlePlayRun } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-E74VN6B7.js")));
637
+ const { handlePlayRun } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-WJOWK5PQ.js")));
644
638
  exitCode = await handlePlayRun([
645
639
  file,
646
640
  "--input",
@@ -680,7 +674,7 @@ function preflightErrorMessage(error) {
680
674
  return error instanceof Error ? error.message : String(error);
681
675
  }
682
676
  async function runPreflightCheck() {
683
- const baseUrl = _chunkXBK6WCVAjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
677
+ const baseUrl = _chunkZILSRDINjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
684
678
  const healthController = new AbortController();
685
679
  const healthTimeout = setTimeout(
686
680
  () => healthController.abort(),
@@ -697,14 +691,14 @@ async function runPreflightCheck() {
697
691
  }).catch((error) => ({
698
692
  status: "unreachable",
699
693
  version: null,
700
- error: healthController.signal.aborted ? `Request to ${baseUrl} timed out after ${PREFLIGHT_TIMEOUT_MS}ms.` : _chunkUWNVFAFNjs.connectionFailureMessage.call(void 0,
694
+ error: healthController.signal.aborted ? `Request to ${baseUrl} timed out after ${PREFLIGHT_TIMEOUT_MS}ms.` : _chunkCWSLUNA6js.connectionFailureMessage.call(void 0,
701
695
  baseUrl,
702
696
  error instanceof Error ? error : new Error(String(error))
703
697
  )
704
698
  })).finally(() => clearTimeout(healthTimeout));
705
- const apiKey = _chunkXBK6WCVAjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
706
- const http = apiKey ? new (0, _chunkXBK6WCVAjs.HttpClient)(
707
- _chunkXBK6WCVAjs.resolveConfig.call(void 0, {
699
+ const apiKey = _chunkZILSRDINjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
700
+ const http = apiKey ? new (0, _chunkZILSRDINjs.HttpClient)(
701
+ _chunkZILSRDINjs.resolveConfig.call(void 0, {
708
702
  baseUrl,
709
703
  apiKey,
710
704
  timeout: PREFLIGHT_TIMEOUT_MS,
@@ -749,7 +743,7 @@ async function runPreflightCheck() {
749
743
  const connected = authStatus === "connected" || authStatus === "claimed";
750
744
  return {
751
745
  status: healthResult.status === "ok" && connected ? "ok" : "check",
752
- cli_version: _chunkUWNVFAFNjs.SDK_VERSION,
746
+ cli_version: _chunkCWSLUNA6js.SDK_VERSION,
753
747
  host: baseUrl,
754
748
  health: {
755
749
  status: healthResult.status,
@@ -776,7 +770,7 @@ async function runPreflightCheck() {
776
770
  {
777
771
  title: "preflight",
778
772
  lines: [
779
- `cli: ${_chunkUWNVFAFNjs.SDK_VERSION}`,
773
+ `cli: ${_chunkCWSLUNA6js.SDK_VERSION}`,
780
774
  `host: ${baseUrl}`,
781
775
  `health: ${healthResult.status}`,
782
776
  ..."error" in healthResult ? [` ${healthResult.error}`] : [],
@@ -803,12 +797,12 @@ function printPreflightHuman(data) {
803
797
  }
804
798
  async function newerCliCommandHint(baseUrl, command) {
805
799
  if (!command.trim()) return null;
806
- const { response, error } = await _chunkHCD36BP6js.checkSdkCompatibility.call(void 0, baseUrl, { command });
800
+ const { response, error } = await _chunkZEV2Y56Vjs.checkSdkCompatibility.call(void 0, baseUrl, { command });
807
801
  if (error || !response) return null;
808
802
  const introduced = response.command_introduced_in;
809
803
  if (introduced) {
810
804
  return [
811
- `\`deepline ${introduced.command}\` was added in SDK CLI ${introduced.introduced_in}. This CLI is ${_chunkUWNVFAFNjs.SDK_VERSION}.`,
805
+ `\`deepline ${introduced.command}\` was added in SDK CLI ${introduced.introduced_in}. This CLI is ${_chunkCWSLUNA6js.SDK_VERSION}.`,
812
806
  ` ${introduced.reason}`,
813
807
  ` Update with: ${response.update_command}`,
814
808
  " Agent skills are served by Deepline and refresh on their own, so a skill can describe a command this CLI does not have yet."
@@ -817,32 +811,32 @@ async function newerCliCommandHint(baseUrl, command) {
817
811
  if (!response.update_required) return null;
818
812
  return [
819
813
  response.message,
820
- ` Installed: ${_chunkUWNVFAFNjs.SDK_VERSION}. Run: ${response.update_command}`,
814
+ ` Installed: ${_chunkCWSLUNA6js.SDK_VERSION}. Run: ${response.update_command}`,
821
815
  " If an agent skill told you to run this, the skill is newer than this CLI."
822
816
  ].join("\n");
823
817
  }
824
818
  async function runMain(ensureTransport, onAction, suppressOutputReport) {
825
819
  const mainStartedAt = Date.now();
826
- _chunkEGTUOYYGjs.installJsonStderrGuard.call(void 0, );
820
+ _chunkLN6RXDTBjs.installJsonStderrGuard.call(void 0, );
827
821
  let rootHelpStatus = "";
828
822
  let commandFailed = false;
829
823
  const deferredMaintenance = { inlinePlay: null };
830
- _chunkDZS4JC7Ijs.recordCliTrace.call(void 0, {
824
+ _chunkLDGZFDUBjs.recordCliTrace.call(void 0, {
831
825
  phase: "cli.main_start",
832
826
  argv: process.argv.slice(2)
833
827
  });
834
828
  const printStartupPhase = shouldPrintStartupPhase();
835
- const progress = printStartupPhase ? _chunk6CEUQYMBjs.createCliProgress.call(void 0, true) : null;
829
+ const progress = printStartupPhase ? _chunkHWDKRN7Ljs.createCliProgress.call(void 0, true) : null;
836
830
  if (printStartupPhase) {
837
831
  _optionalChain([progress, 'optionalAccess', _14 => _14.phase, 'call', _15 => _15("loading deepline cli")]);
838
832
  }
839
833
  const program = new (0, _commander.Command)();
840
834
  program.name("deepline").description(
841
835
  "Deepline CLI \u2014 GTM enrichment tools, plays, and runs from your terminal."
842
- ).version(_chunkUWNVFAFNjs.SDK_VERSION, "-v, --version", "Show version").option(
836
+ ).version(_chunkCWSLUNA6js.SDK_VERSION, "-v, --version", "Show version").option(
843
837
  "--maintenance <policy>",
844
838
  "Installation maintenance: configured preferences or off; independent of output format",
845
- _chunkDZS4JC7Ijs.parseCliMaintenancePolicy,
839
+ _chunkLDGZFDUBjs.parseCliMaintenancePolicy,
846
840
  "configured"
847
841
  ).exitOverride().showHelpAfterError().showSuggestionAfterError(true).addHelpText(
848
842
  "beforeAll",
@@ -854,7 +848,7 @@ Common commands:
854
848
  deepline health
855
849
  deepline auth status
856
850
  deepline sessions send --current-session
857
- deepline search "name and company domain -> work email" --type prebuilts
851
+ deepline search "name and company domain -> work email"
858
852
  deepline describe person-linkedin-to-email
859
853
  deepline run my.play.ts --input '{"domain":"stripe.com"}'
860
854
  deepline secrets check HUBSPOT_TOKEN
@@ -891,9 +885,9 @@ Exit codes:
891
885
  5 server/runtime/provider failure; 7 validation/check failed.
892
886
  `
893
887
  ).addHelpText("afterAll", ({ command }) => {
894
- const key = _chunkSUWTLXCVjs.commandDocKey.call(void 0, command);
888
+ const key = _chunk6BBGUQJJjs.commandDocKey.call(void 0, command);
895
889
  const { detail, firstRead } = resolveHelpDetail(process.argv, key);
896
- return _chunkSUWTLXCVjs.renderCommandExplanation.call(void 0, key, detail, { firstRead });
890
+ return _chunk6BBGUQJJjs.renderCommandExplanation.call(void 0, key, detail, { firstRead });
897
891
  });
898
892
  program.hook("preAction", async (_thisCommand, actionCommand) => {
899
893
  const compatibilityCommand = compatibilityCommandPath(actionCommand) || actionCommand.name();
@@ -901,25 +895,25 @@ Exit codes:
901
895
  path: compatibilityCommand,
902
896
  args: actionCommand.processedArgs
903
897
  });
904
- const maintenance = _chunkDZS4JC7Ijs.resolveCliMaintenancePolicy.call(void 0,
898
+ const maintenance = _chunkLDGZFDUBjs.resolveCliMaintenancePolicy.call(void 0,
905
899
  actionCommand.optsWithGlobals()
906
900
  );
907
901
  if (actionCommand.name() !== "version") {
908
902
  await ensureTransport();
909
903
  }
910
- if (actionCommand.name() === "version" || actionCommand.name() === "update" || actionCommand.name() === "setup" || actionCommand.name() === "skills" || actionCommand.name() === _chunkHCD36BP6js.SKILLS_AUTO_SYNC_COMMAND || actionCommand.name() === "doctor" || compatibilityCommand === "settings autoupdate" || compatibilityCommand.startsWith("settings autoupdate ") || compatibilityCommand === "settings skills-sync" || isDeprecatedCommandInvocation() || compatibilityCommand === "settings feedback" || compatibilityCommand.startsWith("settings feedback ") || ["feedback send", "sessions send", "session send"].includes(
904
+ if (actionCommand.name() === "version" || actionCommand.name() === "update" || actionCommand.name() === "setup" || actionCommand.name() === "skills" || actionCommand.name() === _chunkZEV2Y56Vjs.SKILLS_AUTO_SYNC_COMMAND || actionCommand.name() === "doctor" || compatibilityCommand === "settings autoupdate" || compatibilityCommand.startsWith("settings autoupdate ") || compatibilityCommand === "settings skills-sync" || isDeprecatedCommandInvocation() || compatibilityCommand === "settings feedback" || compatibilityCommand.startsWith("settings feedback ") || ["feedback send", "sessions send", "session send"].includes(
911
905
  compatibilityCommand
912
- ) && _chunkA6HNT4EEjs.feedbackSendRestriction.call(void 0, actionCommand.optsWithGlobals().requested)) {
906
+ ) && _chunkGTVZKY3Fjs.feedbackSendRestriction.call(void 0, actionCommand.optsWithGlobals().requested)) {
913
907
  return;
914
908
  }
915
909
  const isToolExecuteCommand = compatibilityCommand === "tools execute";
916
910
  if (isToolExecuteCommand) {
917
- _chunkVE7ZPLN2js.beginToolExecuteCommand.call(void 0, );
911
+ _chunkSLPJ3LXIjs.beginToolExecuteCommand.call(void 0, );
918
912
  }
919
913
  if (isToolExecuteCommand) {
920
- const baseUrl = _chunkXBK6WCVAjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
921
- if (maintenance !== "off") _chunkHCD36BP6js.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
922
- _chunkDZS4JC7Ijs.recordCliTrace.call(void 0, {
914
+ const baseUrl = _chunkZILSRDINjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
915
+ if (maintenance !== "off") _chunkZEV2Y56Vjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
916
+ _chunkLDGZFDUBjs.recordCliTrace.call(void 0, {
923
917
  phase: "cli.sdk_compatibility_deferred_to_tool_execute",
924
918
  baseUrl,
925
919
  command: compatibilityCommand
@@ -927,9 +921,9 @@ Exit codes:
927
921
  return;
928
922
  }
929
923
  const playDryRun = compatibilityCommand === "plays run" && actionCommand.optsWithGlobals().dryRun === true;
930
- if (!playDryRun && _chunkHPJAE6PPjs.usesInlinePlayAdmission.call(void 0, compatibilityCommand, process.argv.slice(2))) {
924
+ if (!playDryRun && _chunkZZ4MF2GIjs.usesInlinePlayAdmission.call(void 0, compatibilityCommand, process.argv.slice(2))) {
931
925
  if (maintenance !== "off") {
932
- const baseUrl = _chunkXBK6WCVAjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
926
+ const baseUrl = _chunkZILSRDINjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
933
927
  deferredMaintenance.inlinePlay = createDeferredPlayRunMaintenance({
934
928
  baseUrl,
935
929
  command: actionCommand,
@@ -938,27 +932,27 @@ Exit codes:
938
932
  }
939
933
  return;
940
934
  }
941
- const runStartupStage = (stage, action) => isToolExecuteCommand ? _chunkVE7ZPLN2js.runToolExecuteStage.call(void 0, stage, action) : Promise.resolve(action());
935
+ const runStartupStage = (stage, action) => isToolExecuteCommand ? _chunkSLPJ3LXIjs.runToolExecuteStage.call(void 0, stage, action) : Promise.resolve(action());
942
936
  if (printStartupPhase) {
943
937
  _optionalChain([progress, 'optionalAccess', _16 => _16.phase, 'call', _17 => _17("checking sdk compatibility")]);
944
938
  }
945
939
  const startup = await runStartupStage("SDK compatibility", async () => {
946
- const baseUrl = _chunkXBK6WCVAjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
947
- if (maintenance !== "off") _chunkHCD36BP6js.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
940
+ const baseUrl = _chunkZILSRDINjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
941
+ if (maintenance !== "off") _chunkZEV2Y56Vjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
948
942
  const shouldDeferSkillsSync = isToolExecuteCommand || maintenance === "off" || shouldDeferSkillsSyncForCommand();
949
- const skillsVersion = shouldDeferSkillsSync ? void 0 : _chunkXBK6WCVAjs.readSdkSkillsLocalVersion.call(void 0, baseUrl);
950
- const trusted = isToolExecuteCommand ? null : _chunkHCD36BP6js.readTrustedCleanCompatibility.call(void 0,
943
+ const skillsVersion = shouldDeferSkillsSync ? void 0 : _chunkZILSRDINjs.readSdkSkillsLocalVersion.call(void 0, baseUrl);
944
+ const trusted = isToolExecuteCommand ? null : _chunkZEV2Y56Vjs.readTrustedCleanCompatibility.call(void 0,
951
945
  baseUrl,
952
946
  compatibilityCommand,
953
947
  skillsVersion
954
948
  );
955
- const fastDeadline = !isToolExecuteCommand && trusted === null && _chunkHCD36BP6js.readFreshCleanCompatibility.call(void 0,
949
+ const fastDeadline = !isToolExecuteCommand && trusted === null && _chunkZEV2Y56Vjs.readFreshCleanCompatibility.call(void 0,
956
950
  baseUrl,
957
951
  compatibilityCommand,
958
952
  skillsVersion
959
953
  ) !== null;
960
954
  if (trusted) {
961
- _chunkDZS4JC7Ijs.recordCliTrace.call(void 0, {
955
+ _chunkLDGZFDUBjs.recordCliTrace.call(void 0, {
962
956
  phase: "cli.sdk_compatibility",
963
957
  ms: 0,
964
958
  ok: true,
@@ -968,7 +962,7 @@ Exit codes:
968
962
  source: "trusted_cache"
969
963
  });
970
964
  }
971
- const compatibility = trusted ? { response: trusted, error: null } : await _chunkDZS4JC7Ijs.traceCliSpan.call(void 0,
965
+ const compatibility = trusted ? { response: trusted, error: null } : await _chunkLDGZFDUBjs.traceCliSpan.call(void 0,
972
966
  "cli.sdk_compatibility",
973
967
  {
974
968
  baseUrl,
@@ -976,12 +970,12 @@ Exit codes:
976
970
  skillsVersion: _nullishCoalesce(skillsVersion, () => ( null)),
977
971
  fastDeadline
978
972
  },
979
- () => _chunkHCD36BP6js.checkSdkCompatibility.call(void 0, baseUrl, {
973
+ () => _chunkZEV2Y56Vjs.checkSdkCompatibility.call(void 0, baseUrl, {
980
974
  command: compatibilityCommand,
981
975
  skillsVersion,
982
976
  persistCache: !isToolExecuteCommand && maintenance !== "off",
983
- catalog: _chunkVE7ZPLN2js.compatibilityCatalog.call(void 0, actionCommand),
984
- ...fastDeadline ? { timeoutMs: _chunkHCD36BP6js.SDK_COMPATIBILITY_FAST_DEADLINE_MS } : {}
977
+ catalog: _chunkSLPJ3LXIjs.compatibilityCatalog.call(void 0, actionCommand),
978
+ ...fastDeadline ? { timeoutMs: _chunkZEV2Y56Vjs.SDK_COMPATIBILITY_FAST_DEADLINE_MS } : {}
985
979
  })
986
980
  );
987
981
  if (compatibility.error) {
@@ -992,7 +986,7 @@ Exit codes:
992
986
  response: null
993
987
  };
994
988
  }
995
- const relaunched = await _chunkVE7ZPLN2js.maybeAutoUpdateAndRelaunch.call(void 0,
989
+ const relaunched = await _chunkSLPJ3LXIjs.maybeAutoUpdateAndRelaunch.call(void 0,
996
990
  compatibility.response,
997
991
  baseUrl,
998
992
  maintenance
@@ -1006,14 +1000,14 @@ Exit codes:
1006
1000
  };
1007
1001
  }
1008
1002
  const policy = compatibility.response;
1009
- const jsonOutput = _chunkEGTUOYYGjs.isJsonOutputMode.call(void 0, );
1010
- _chunkHCD36BP6js.enforceSdkCompatibilityResponse.call(void 0, policy, {
1003
+ const jsonOutput = _chunkLN6RXDTBjs.isJsonOutputMode.call(void 0, );
1004
+ _chunkZEV2Y56Vjs.enforceSdkCompatibilityResponse.call(void 0, policy, {
1011
1005
  quietAdvisory: jsonOutput || // The queued update already says what is about to happen.
1012
- _chunkVE7ZPLN2js.hasDeferredAutoUpdate.call(void 0, ) || maintenance === "off" || !_chunkHCD36BP6js.claimUpdateAdvisory.call(void 0, baseUrl)
1006
+ _chunkSLPJ3LXIjs.hasDeferredAutoUpdate.call(void 0, ) || maintenance === "off" || !_chunkZEV2Y56Vjs.claimUpdateAdvisory.call(void 0, baseUrl)
1013
1007
  });
1014
1008
  const advisory = compatibility.response;
1015
- if (jsonOutput && advisory && (advisory.status === "deprecated" || advisory.status === "update_available") && !_chunkHCD36BP6js.isCiEnvironment.call(void 0, ) && !_chunkVE7ZPLN2js.hasDeferredAutoUpdate.call(void 0, )) {
1016
- _chunkEGTUOYYGjs.addJsonNotice.call(void 0, { code: advisory.status, message: advisory.message });
1009
+ if (jsonOutput && advisory && (advisory.status === "deprecated" || advisory.status === "update_available") && !_chunkZEV2Y56Vjs.isCiEnvironment.call(void 0, ) && !_chunkSLPJ3LXIjs.hasDeferredAutoUpdate.call(void 0, )) {
1010
+ _chunkLN6RXDTBjs.addJsonNotice.call(void 0, { code: advisory.status, message: advisory.message });
1017
1011
  }
1018
1012
  return {
1019
1013
  shouldContinue: true,
@@ -1030,10 +1024,10 @@ Exit codes:
1030
1024
  const skillsUpdate = startup.response && Object.prototype.hasOwnProperty.call(startup.response, "skills") ? _nullishCoalesce(startup.response.skills, () => ( null)) : void 0;
1031
1025
  await runStartupStage(
1032
1026
  "agent skills sync",
1033
- () => _chunkDZS4JC7Ijs.traceCliSpan.call(void 0,
1027
+ () => _chunkLDGZFDUBjs.traceCliSpan.call(void 0,
1034
1028
  "cli.sdk_skills_sync",
1035
1029
  { baseUrl: startup.baseUrl },
1036
- () => _chunkHCD36BP6js.syncSdkSkillsIfNeeded.call(void 0, startup.baseUrl, {
1030
+ () => _chunkZEV2Y56Vjs.syncSdkSkillsIfNeeded.call(void 0, startup.baseUrl, {
1037
1031
  update: skillsUpdate,
1038
1032
  mode: "detached"
1039
1033
  })
@@ -1047,16 +1041,16 @@ Exit codes:
1047
1041
  );
1048
1042
  const carriesFeedback = requestedCommand === "feedback" || requestedCommand === "session" || requestedCommand === "sessions";
1049
1043
  if (carriesFeedback) suppressOutputReport();
1050
- const commandRegistrationStartedAt = _chunkDZS4JC7Ijs.isCliTraceEnabled.call(void 0, ) ? performance.now() : void 0;
1044
+ const commandRegistrationStartedAt = _chunkLDGZFDUBjs.isCliTraceEnabled.call(void 0, ) ? performance.now() : void 0;
1051
1045
  await registerDeeplineCommandGroups(program, requestedCommand);
1052
1046
  if (commandRegistrationStartedAt !== void 0) {
1053
- _chunkDZS4JC7Ijs.recordCliTrace.call(void 0, {
1047
+ _chunkLDGZFDUBjs.recordCliTrace.call(void 0, {
1054
1048
  phase: "cli.command_registration",
1055
1049
  ms: performance.now() - commandRegistrationStartedAt
1056
1050
  });
1057
1051
  }
1058
1052
  const { preflight, health, version } = registerDeeplineInlineCommands(program);
1059
- if (_chunkEGTUOYYGjs.isJsonOutputMode.call(void 0, )) silenceCommanderErrorOutput(program);
1053
+ if (_chunkLN6RXDTBjs.isJsonOutputMode.call(void 0, )) silenceCommanderErrorOutput(program);
1060
1054
  preflight.addHelpText(
1061
1055
  "after",
1062
1056
  `
@@ -1072,8 +1066,8 @@ Examples:
1072
1066
  `
1073
1067
  ).action(async (options) => {
1074
1068
  const data = await runPreflightCheck();
1075
- if (_chunkEGTUOYYGjs.shouldEmitJson.call(void 0, options.json)) {
1076
- _chunkEGTUOYYGjs.printJson.call(void 0, data);
1069
+ if (_chunkLN6RXDTBjs.shouldEmitJson.call(void 0, options.json)) {
1070
+ _chunkLN6RXDTBjs.printJson.call(void 0, data);
1077
1071
  } else {
1078
1072
  printPreflightHuman(data);
1079
1073
  }
@@ -1098,7 +1092,7 @@ Examples:
1098
1092
  ).action(async (options) => {
1099
1093
  if (options.playRunner) {
1100
1094
  const data = await runPlayRunnerHealthCheck();
1101
- _chunkEGTUOYYGjs.printCommandEnvelope.call(void 0, data, {
1095
+ _chunkLN6RXDTBjs.printCommandEnvelope.call(void 0, data, {
1102
1096
  json: options.json,
1103
1097
  text: `play runner: ${data.playRunner.status} (${data.playRunner.check})
1104
1098
  `
@@ -1106,15 +1100,15 @@ Examples:
1106
1100
  return;
1107
1101
  }
1108
1102
  try {
1109
- const { httpJson, readStatusBanner, statusBannerLine } = await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-UP2RGPI6.js")));
1110
- const baseUrl = _chunkXBK6WCVAjs.resolveBaseUrlOnly.call(void 0, );
1103
+ const { httpJson, readStatusBanner, statusBannerLine } = await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-6XQKFOLG.js")));
1104
+ const baseUrl = _chunkZILSRDINjs.resolveBaseUrlOnly.call(void 0, );
1111
1105
  const [{ status, data }, banner] = await Promise.all([
1112
1106
  httpJson("GET", `${baseUrl}/api/v2/health`, null),
1113
1107
  readStatusBanner(baseUrl)
1114
1108
  ]);
1115
1109
  if (status !== 200) throw new Error(`HTTP ${status}`);
1116
1110
  const lines = [`${baseUrl}: ${data.status}`, statusBannerLine(banner)];
1117
- _chunkEGTUOYYGjs.printCommandEnvelope.call(void 0,
1111
+ _chunkLN6RXDTBjs.printCommandEnvelope.call(void 0,
1118
1112
  { ...data, status_banner: banner },
1119
1113
  {
1120
1114
  json: options.json,
@@ -1142,16 +1136,16 @@ Examples:
1142
1136
  `
1143
1137
  ).action((options) => {
1144
1138
  if (options.json) {
1145
- _chunkEGTUOYYGjs.printCompactJson.call(void 0, { version: _chunkUWNVFAFNjs.SDK_VERSION });
1139
+ _chunkLN6RXDTBjs.printCompactJson.call(void 0, { version: _chunkCWSLUNA6js.SDK_VERSION });
1146
1140
  return;
1147
1141
  }
1148
- process.stdout.write(`deepline ${_chunkUWNVFAFNjs.SDK_VERSION}
1142
+ process.stdout.write(`deepline ${_chunkCWSLUNA6js.SDK_VERSION}
1149
1143
  `);
1150
1144
  });
1151
1145
  if (process.argv.slice(2).length === 0) {
1152
1146
  program.outputHelp({ error: true });
1153
1147
  console.error("\nerror: missing command (see usage above)");
1154
- _chunkDZS4JC7Ijs.recordCliTrace.call(void 0, {
1148
+ _chunkLDGZFDUBjs.recordCliTrace.call(void 0, {
1155
1149
  phase: "cli.main_total",
1156
1150
  ms: Date.now() - mainStartedAt,
1157
1151
  ok: false,
@@ -1163,16 +1157,16 @@ Examples:
1163
1157
  const requestedTopLevelCommand = _nullishCoalesce(process.argv.slice(2)[0], () => ( ""));
1164
1158
  if (!topLevelCommandKnown(program, requestedTopLevelCommand)) {
1165
1159
  const unknownCommandMessage = `error: unknown command '${requestedTopLevelCommand}'`;
1166
- if (!_chunkEGTUOYYGjs.isJsonOutputMode.call(void 0, )) console.error(unknownCommandMessage);
1167
- const baseUrl = _chunkXBK6WCVAjs.autoDetectBaseUrl.call(void 0, );
1160
+ if (!_chunkLN6RXDTBjs.isJsonOutputMode.call(void 0, )) console.error(unknownCommandMessage);
1161
+ const baseUrl = _chunkZILSRDINjs.autoDetectBaseUrl.call(void 0, );
1168
1162
  await ensureTransport();
1169
1163
  const versionHint = await newerCliCommandHint(
1170
1164
  baseUrl,
1171
1165
  requestedTopLevelCommand
1172
1166
  );
1173
- if (_chunkEGTUOYYGjs.isJsonOutputMode.call(void 0, )) {
1167
+ if (_chunkLN6RXDTBjs.isJsonOutputMode.call(void 0, )) {
1174
1168
  if (versionHint) {
1175
- _chunkEGTUOYYGjs.addJsonNotice.call(void 0, { code: "newer_cli_command", message: versionHint });
1169
+ _chunkLN6RXDTBjs.addJsonNotice.call(void 0, { code: "newer_cli_command", message: versionHint });
1176
1170
  }
1177
1171
  printUsageErrorJson(
1178
1172
  "commander.unknownCommand",
@@ -1194,19 +1188,19 @@ Examples:
1194
1188
  const helpArgs = process.argv.slice(2);
1195
1189
  const helpPositionals = helpArgs.filter((arg) => !arg.startsWith("-"));
1196
1190
  if (helpPositionals.length === 0 ? helpArgs.includes("--help") || helpArgs.includes("-h") : helpPositionals.length === 1 && helpPositionals[0] === "help") {
1197
- const { authStatusLine } = await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-UP2RGPI6.js")));
1198
- rootHelpStatus = `Version: ${_chunkUWNVFAFNjs.SDK_VERSION}
1191
+ const { authStatusLine } = await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-6XQKFOLG.js")));
1192
+ rootHelpStatus = `Version: ${_chunkCWSLUNA6js.SDK_VERSION}
1199
1193
  ${await authStatusLine()}
1200
1194
  `;
1201
1195
  }
1202
1196
  await program.parseAsync(process.argv);
1203
- _chunkDZS4JC7Ijs.recordCliTrace.call(void 0, {
1197
+ _chunkLDGZFDUBjs.recordCliTrace.call(void 0, {
1204
1198
  phase: "cli.main_total",
1205
1199
  ms: Date.now() - mainStartedAt,
1206
1200
  ok: true
1207
1201
  });
1208
1202
  if (!carriesFeedback) {
1209
- await _chunkD3J2Y2BPjs.maybeReportSdkCliFailure.call(void 0, {
1203
+ await _chunkLN6RXDTBjs.maybeReportSdkCliFailure.call(void 0, {
1210
1204
  argv: process.argv.slice(2),
1211
1205
  startedAtMs: mainStartedAt,
1212
1206
  exitCode: typeof process.exitCode === "number" ? process.exitCode : null
@@ -1215,14 +1209,14 @@ ${await authStatusLine()}
1215
1209
  } catch (error) {
1216
1210
  commandFailed = true;
1217
1211
  const commanderError = asCommanderError(error);
1218
- _chunkDZS4JC7Ijs.recordCliTrace.call(void 0, {
1212
+ _chunkLDGZFDUBjs.recordCliTrace.call(void 0, {
1219
1213
  phase: "cli.main_total",
1220
1214
  ms: Date.now() - mainStartedAt,
1221
1215
  ok: false,
1222
1216
  error: error instanceof Error ? error.message : String(error)
1223
1217
  });
1224
1218
  _optionalChain([progress, 'optionalAccess', _20 => _20.fail, 'call', _21 => _21()]);
1225
- const wantsJson = _chunkEGTUOYYGjs.isJsonOutputMode.call(void 0, );
1219
+ const wantsJson = _chunkLN6RXDTBjs.isJsonOutputMode.call(void 0, );
1226
1220
  if (commanderError) {
1227
1221
  const grammarError = [
1228
1222
  "commander.unknownCommand",
@@ -1233,12 +1227,12 @@ ${await authStatusLine()}
1233
1227
  if (grammarError) {
1234
1228
  await ensureTransport();
1235
1229
  const versionHint = await newerCliCommandHint(
1236
- _chunkXBK6WCVAjs.autoDetectBaseUrl.call(void 0, ),
1230
+ _chunkZILSRDINjs.autoDetectBaseUrl.call(void 0, ),
1237
1231
  commandPath
1238
1232
  );
1239
1233
  if (wantsJson) {
1240
1234
  if (versionHint) {
1241
- _chunkEGTUOYYGjs.addJsonNotice.call(void 0, { code: "newer_cli_command", message: versionHint });
1235
+ _chunkLN6RXDTBjs.addJsonNotice.call(void 0, { code: "newer_cli_command", message: versionHint });
1242
1236
  }
1243
1237
  } else {
1244
1238
  if (versionHint) console.error(versionHint);
@@ -1257,44 +1251,44 @@ ${await authStatusLine()}
1257
1251
  process.exitCode = commanderError.code === "commander.unknownCommand" && !wantsJson ? 2 : _nullishCoalesce(commanderError.exitCode, () => ( 1));
1258
1252
  return;
1259
1253
  } else if (wantsJson) {
1260
- if (error instanceof _chunkT2N3B7IQjs.AuthError) {
1261
- _chunkEGTUOYYGjs.addJsonNotice.call(void 0, {
1254
+ if (error instanceof _chunk2GJZLIKWjs.AuthError) {
1255
+ _chunkLN6RXDTBjs.addJsonNotice.call(void 0, {
1262
1256
  code: "auth_required",
1263
1257
  message: `Not authenticated. Run: ${AUTH_RECOVERY_COMMAND}`
1264
1258
  });
1265
1259
  }
1266
- const providerConcurrency = _chunkEGTUOYYGjs.formatProviderConcurrencyDiagnostic.call(void 0, error);
1260
+ const providerConcurrency = _chunkLN6RXDTBjs.formatProviderConcurrencyDiagnostic.call(void 0, error);
1267
1261
  if (providerConcurrency) {
1268
- _chunkEGTUOYYGjs.addJsonNotice.call(void 0, {
1262
+ _chunkLN6RXDTBjs.addJsonNotice.call(void 0, {
1269
1263
  code: "provider_concurrency",
1270
1264
  message: providerConcurrency
1271
1265
  });
1272
1266
  }
1273
- const payload = _chunkEGTUOYYGjs.errorToJsonPayload.call(void 0, error);
1274
- _chunkEGTUOYYGjs.printJson.call(void 0, {
1267
+ const payload = _chunkLN6RXDTBjs.errorToJsonPayload.call(void 0, error);
1268
+ _chunkLN6RXDTBjs.printJson.call(void 0, {
1275
1269
  ...payload,
1276
1270
  // The envelope names the code the process exits with, so a caller
1277
1271
  // that only reads stdout still cannot mistake a failure for data.
1278
- exitCode: _nullishCoalesce(payload.exitCode, () => ( _chunkD3J2Y2BPjs.resolveSdkCliFailureExitCode.call(void 0, error))),
1279
- ...error instanceof _chunkT2N3B7IQjs.AuthError ? { next: AUTH_RECOVERY_COMMAND } : {}
1272
+ exitCode: _nullishCoalesce(payload.exitCode, () => ( _chunkLN6RXDTBjs.resolveSdkCliFailureExitCode.call(void 0, error))),
1273
+ ...error instanceof _chunk2GJZLIKWjs.AuthError ? { next: AUTH_RECOVERY_COMMAND } : {}
1280
1274
  });
1281
1275
  } else if (error instanceof Error) {
1282
1276
  console.error(`Error: ${error.message}`);
1283
- const toolDiagnostic = _chunkEGTUOYYGjs.formatToolExecutionErrorDiagnostic.call(void 0, error);
1277
+ const toolDiagnostic = _chunkLN6RXDTBjs.formatToolExecutionErrorDiagnostic.call(void 0, error);
1284
1278
  if (toolDiagnostic) console.error(toolDiagnostic);
1285
- if (error instanceof _chunkT2N3B7IQjs.AuthError) {
1279
+ if (error instanceof _chunk2GJZLIKWjs.AuthError) {
1286
1280
  console.error(`Not authenticated. Run: ${AUTH_RECOVERY_COMMAND}`);
1287
1281
  }
1288
- const providerConcurrency = _chunkEGTUOYYGjs.formatProviderConcurrencyDiagnostic.call(void 0, error);
1282
+ const providerConcurrency = _chunkLN6RXDTBjs.formatProviderConcurrencyDiagnostic.call(void 0, error);
1289
1283
  if (providerConcurrency) console.error(providerConcurrency);
1290
1284
  } else {
1291
1285
  console.error(`Error: ${String(error)}`);
1292
1286
  }
1293
1287
  const explicitExitCode = error && typeof error === "object" && typeof error.exitCode === "number" ? error.exitCode : void 0;
1294
- const failureExitCode = _nullishCoalesce(explicitExitCode, () => ( _chunkD3J2Y2BPjs.resolveSdkCliFailureExitCode.call(void 0, error)));
1288
+ const failureExitCode = _nullishCoalesce(explicitExitCode, () => ( _chunkLN6RXDTBjs.resolveSdkCliFailureExitCode.call(void 0, error)));
1295
1289
  process.exitCode = failureExitCode;
1296
1290
  if (!carriesFeedback) {
1297
- await _chunkD3J2Y2BPjs.maybeReportSdkCliFailure.call(void 0, {
1291
+ await _chunkLN6RXDTBjs.maybeReportSdkCliFailure.call(void 0, {
1298
1292
  argv: process.argv.slice(2),
1299
1293
  startedAtMs: mainStartedAt,
1300
1294
  exitCode: failureExitCode,
@@ -1302,13 +1296,13 @@ ${await authStatusLine()}
1302
1296
  });
1303
1297
  }
1304
1298
  } finally {
1305
- _chunkVE7ZPLN2js.finishToolExecuteCommand.call(void 0, );
1299
+ _chunkSLPJ3LXIjs.finishToolExecuteCommand.call(void 0, );
1306
1300
  const maintainInlinePlay = deferredMaintenance.inlinePlay;
1307
1301
  deferredMaintenance.inlinePlay = null;
1308
1302
  if (commandFailed || typeof process.exitCode === "number" && process.exitCode !== 0) {
1309
1303
  await _optionalChain([maintainInlinePlay, 'optionalCall', _22 => _22()]);
1310
1304
  }
1311
- await _chunkVE7ZPLN2js.runDeferredAutoUpdate.call(void 0, );
1305
+ await _chunkSLPJ3LXIjs.runDeferredAutoUpdate.call(void 0, );
1312
1306
  }
1313
1307
  process.exitCode = _nullishCoalesce(process.exitCode, () => ( 0));
1314
1308
  }
@@ -1316,7 +1310,7 @@ async function main() {
1316
1310
  let disposeTransport;
1317
1311
  const ensureTransport = async () => {
1318
1312
  if (disposeTransport) return;
1319
- const transportStartedAt = _chunkDZS4JC7Ijs.isCliTraceEnabled.call(void 0, ) ? performance.now() : void 0;
1313
+ const transportStartedAt = _chunkLDGZFDUBjs.isCliTraceEnabled.call(void 0, ) ? performance.now() : void 0;
1320
1314
  const hasProxy = [
1321
1315
  "HTTP_PROXY",
1322
1316
  "http_proxy",
@@ -1328,7 +1322,7 @@ async function main() {
1328
1322
  disposeTransport = configureCliTransport();
1329
1323
  }
1330
1324
  if (transportStartedAt !== void 0) {
1331
- _chunkDZS4JC7Ijs.recordCliTrace.call(void 0, {
1325
+ _chunkLDGZFDUBjs.recordCliTrace.call(void 0, {
1332
1326
  phase: "cli.transport_setup",
1333
1327
  ms: performance.now() - transportStartedAt
1334
1328
  });
@@ -1351,9 +1345,9 @@ async function main() {
1351
1345
  skipOutputReport = true;
1352
1346
  }
1353
1347
  );
1354
- const silentFailure = _chunkEGTUOYYGjs.takeSilentJsonFailureMessage.call(void 0, process.exitCode);
1348
+ const silentFailure = _chunkLN6RXDTBjs.takeSilentJsonFailureMessage.call(void 0, process.exitCode);
1355
1349
  if (silentFailure) {
1356
- _chunkEGTUOYYGjs.printJson.call(void 0, {
1350
+ _chunkLN6RXDTBjs.printJson.call(void 0, {
1357
1351
  ok: false,
1358
1352
  exitCode: Number(process.exitCode),
1359
1353
  error: { code: "CLI_ERROR", message: silentFailure }