deepline 0.3.546 → 0.3.548

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 (204) hide show
  1. package/dist/bundling-sources/sdk/src/client-core.ts +13 -0
  2. package/dist/bundling-sources/sdk/src/index.ts +7 -1
  3. package/dist/bundling-sources/sdk/src/integrations.ts +17 -7
  4. package/dist/bundling-sources/sdk/src/play.ts +71 -0
  5. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  6. package/dist/bundling-sources/sdk/src/runs/watch-polling.ts +13 -4
  7. package/dist/bundling-sources/sdk/src/types.ts +33 -0
  8. package/dist/bundling-sources/shared_libs/integration-contracts/calendar-delegation.ts +7 -0
  9. package/dist/bundling-sources/shared_libs/monitors/provider-monitor-batch-operation.ts +2 -0
  10. package/dist/bundling-sources/shared_libs/monitors/tracking-provider-guidance.ts +1 -0
  11. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +19 -1
  12. package/dist/bundling-sources/shared_libs/play-data-plane/r2.ts +17 -2
  13. package/dist/bundling-sources/shared_libs/play-runtime/async-operation.ts +57 -5
  14. package/dist/bundling-sources/shared_libs/play-runtime/context.ts +295 -52
  15. package/dist/bundling-sources/shared_libs/play-runtime/ctx-types.ts +10 -1
  16. package/dist/bundling-sources/shared_libs/play-runtime/docflow-decision-tracker.ts +135 -0
  17. package/dist/bundling-sources/shared_libs/play-runtime/docflow-fail-open.ts +177 -0
  18. package/dist/bundling-sources/shared_libs/play-runtime/docflow-node-io.ts +99 -2
  19. package/dist/bundling-sources/shared_libs/play-runtime/durable-runs-rollout.ts +16 -10
  20. package/dist/bundling-sources/shared_libs/play-runtime/fenced-call-diagnostics.ts +211 -0
  21. package/dist/bundling-sources/shared_libs/play-runtime/runtime-capacity-policy.ts +52 -14
  22. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +68 -2
  23. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-progress.ts +18 -0
  24. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +68 -0
  25. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-capacity.ts +100 -3
  26. package/dist/bundling-sources/shared_libs/play-runtime/tool-cache-policy.ts +9 -1
  27. package/dist/bundling-sources/shared_libs/play-runtime/tool-result.ts +48 -0
  28. package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +6 -1
  29. package/dist/bundling-sources/shared_libs/plays/bundling/index.ts +716 -51
  30. package/dist/bundling-sources/shared_libs/plays/docflow-decision-arms.ts +146 -0
  31. package/dist/bundling-sources/shared_libs/plays/docflow-flow-order.ts +94 -0
  32. package/dist/bundling-sources/shared_libs/plays/docflow-unreached-reason.ts +10 -1
  33. package/dist/bundling-sources/shared_libs/plays/docflow.ts +787 -117
  34. package/dist/bundling-sources/shared_libs/plays/share/static-pipeline-summary.ts +8 -2
  35. package/dist/bundling-sources/shared_libs/plays/static-pipeline.ts +6 -0
  36. package/dist/bundling-sources/shared_libs/plays/trigger-config-contract.ts +13 -0
  37. package/dist/bundling-sources/shared_libs/product-notifications/billing-sales.ts +25 -0
  38. package/dist/bundling-sources/shared_libs/security/email-blacklist.ts +3 -0
  39. package/dist/bundling-sources/shared_libs/security/email-domain.ts +24 -0
  40. package/dist/bundling-sources/shared_libs/security/secret-redaction.ts +56 -0
  41. package/dist/cli/auth-7UJFY5BY.js +43 -0
  42. package/dist/cli/{auth-KFWG72AZ.mjs → auth-YOOVLLUL.mjs} +5 -5
  43. package/dist/cli/{billing-MMZ336HO.mjs → billing-2NCNX6L2.mjs} +10 -10
  44. package/dist/cli/{billing-OQVOAZ4S.js → billing-HETIOUD6.js} +96 -96
  45. package/dist/cli/{chunk-JVOUQFHT.js → chunk-2OG2KBYJ.js} +1 -1
  46. package/dist/cli/{chunk-JA633HRV.mjs → chunk-3QRU6RY7.mjs} +3 -3
  47. package/dist/cli/{chunk-TI6DTURF.js → chunk-4WAM6TLD.js} +7 -1
  48. package/dist/cli/{chunk-RO66FPTS.mjs → chunk-53QLWPZK.mjs} +1 -1
  49. package/dist/cli/{chunk-6LG7MLJ2.js → chunk-5OJOFUMO.js} +44 -44
  50. package/dist/cli/{chunk-F2VEFMU5.js → chunk-5XFJBIQT.js} +13 -13
  51. package/dist/cli/{chunk-UQJBV5PM.js → chunk-5XXPP3PR.js} +10 -10
  52. package/dist/cli/{chunk-6FBDTYR2.mjs → chunk-64BFUBXX.mjs} +2 -2
  53. package/dist/cli/{chunk-VAT2SXFF.js → chunk-6GIZNOXQ.js} +12 -12
  54. package/dist/cli/{chunk-7MY7KWJS.mjs → chunk-7AJ5V3BK.mjs} +1 -1
  55. package/dist/cli/{chunk-MEGHIX4M.js → chunk-7H6TQ6W2.js} +5 -5
  56. package/dist/cli/{chunk-PMDHY2YK.js → chunk-7JIOJLTS.js} +7 -7
  57. package/dist/cli/{chunk-EEJHB76U.js → chunk-7UJZWI5Z.js} +12 -12
  58. package/dist/cli/{chunk-X5KOHDJN.mjs → chunk-ATTURFOV.mjs} +1 -1
  59. package/dist/cli/{chunk-SH32HL7I.js → chunk-AUYBBFPT.js} +53 -53
  60. package/dist/cli/{chunk-JCWNF44W.js → chunk-BDBEEV6X.js} +22 -22
  61. package/dist/cli/{chunk-WKHPLBJK.js → chunk-BWJZ4NQJ.js} +15 -15
  62. package/dist/cli/{chunk-2JHYYB3F.js → chunk-CSPHSNBW.js} +3 -3
  63. package/dist/cli/{chunk-4AZLGNXV.js → chunk-CXZLHBNK.js} +4 -4
  64. package/dist/cli/{chunk-J65HJCJO.mjs → chunk-F4ON5COB.mjs} +2 -2
  65. package/dist/cli/{chunk-KUK7ARXA.mjs → chunk-FMQA7UZZ.mjs} +2 -2
  66. package/dist/cli/{chunk-UREAIHUU.mjs → chunk-FUUYWEF4.mjs} +3 -3
  67. package/dist/cli/{chunk-HXIR3VQL.mjs → chunk-FZHMNK6F.mjs} +7 -1
  68. package/dist/cli/{chunk-PU3ZAG6V.mjs → chunk-GCEGQ7TQ.mjs} +1 -1
  69. package/dist/cli/{chunk-BLYW6FFB.js → chunk-GJA2PRHJ.js} +2 -2
  70. package/dist/cli/{chunk-TBWYZOSV.js → chunk-GUIYFOG2.js} +3 -3
  71. package/dist/cli/{chunk-BTFUAGHC.js → chunk-HDLMX7SG.js} +16 -16
  72. package/dist/cli/{chunk-VTK3HGMN.mjs → chunk-HIMZ57QD.mjs} +5 -5
  73. package/dist/cli/{chunk-JYG4XZLT.js → chunk-HTZIJORU.js} +99 -99
  74. package/dist/cli/{chunk-VPERQ3U6.mjs → chunk-HU3DDLGD.mjs} +5 -5
  75. package/dist/cli/{chunk-H7Q5IDO3.js → chunk-I2JIWKCQ.js} +20 -20
  76. package/dist/cli/{chunk-MXQP7CXZ.js → chunk-IIWXBRDK.js} +3 -3
  77. package/dist/cli/{chunk-MI7X6V6V.mjs → chunk-IQBXX54G.mjs} +3 -3
  78. package/dist/cli/{chunk-SYTWWVIQ.js → chunk-JQWX377P.js} +5 -5
  79. package/dist/cli/{chunk-Z3UEBFIN.js → chunk-LAVPP6WD.js} +41 -41
  80. package/dist/cli/{chunk-JCH4UNNS.js → chunk-M2OZORIH.js} +2 -2
  81. package/dist/cli/{chunk-Z7SXGOIQ.mjs → chunk-MF7PCM6C.mjs} +1 -1
  82. package/dist/cli/{chunk-7ZW67ME6.mjs → chunk-MQSKSISW.mjs} +1 -1
  83. package/dist/cli/{chunk-JARZ47OP.mjs → chunk-MWQ4WWZF.mjs} +2 -2
  84. package/dist/cli/{chunk-EEG46QZY.mjs → chunk-NFMX7BRF.mjs} +2 -2
  85. package/dist/cli/{chunk-VXTTAYOT.mjs → chunk-OGDQFVCP.mjs} +3 -3
  86. package/dist/cli/{chunk-3DUNNZB6.mjs → chunk-OQCYSLML.mjs} +4 -4
  87. package/dist/cli/{chunk-5W4ENHWM.js → chunk-PVE3A2BO.js} +285 -264
  88. package/dist/cli/{chunk-F5YQXCP3.js → chunk-PVQCX6KQ.js} +50 -7
  89. package/dist/cli/{chunk-GYTSDSQD.mjs → chunk-QQBRXMZM.mjs} +11 -11
  90. package/dist/cli/{chunk-6Y5TU3R7.mjs → chunk-QZ74ZC55.mjs} +1 -1
  91. package/dist/cli/{chunk-5OEFXAKP.mjs → chunk-RMCCB3XY.mjs} +50 -7
  92. package/dist/cli/{chunk-5V7NZKGG.js → chunk-T3RDWG5J.js} +2 -2
  93. package/dist/cli/{chunk-OAKWSLKS.mjs → chunk-TKGFHRHE.mjs} +28 -7
  94. package/dist/cli/{chunk-HJR2DDJS.mjs → chunk-U35ZLVBA.mjs} +2 -2
  95. package/dist/cli/{chunk-ND7SFRQL.js → chunk-U7HJXE6Y.js} +2 -2
  96. package/dist/cli/{chunk-LX2TC3HO.mjs → chunk-UBQQR56I.mjs} +4 -4
  97. package/dist/cli/{chunk-5VNQMVCU.js → chunk-VK2GSTRN.js} +26 -26
  98. package/dist/cli/{chunk-K2XELBPF.mjs → chunk-VSACOMIA.mjs} +5 -5
  99. package/dist/cli/{chunk-IVWU7SJC.js → chunk-WI4MCR7M.js} +5 -5
  100. package/dist/cli/{chunk-LIJKRDDG.js → chunk-WIHQAZPV.js} +6 -6
  101. package/dist/cli/{chunk-LHE2TSV6.mjs → chunk-WVZF4DU7.mjs} +1 -1
  102. package/dist/cli/{chunk-2HSZCQMT.mjs → chunk-WYT3H6JD.mjs} +1 -1
  103. package/dist/cli/{chunk-GOOF7E2B.mjs → chunk-XKEBQVCP.mjs} +5 -5
  104. package/dist/cli/{chunk-P7A3H6G5.mjs → chunk-XU3D2KFR.mjs} +1 -1
  105. package/dist/cli/command-docs.js +2 -2
  106. package/dist/cli/command-docs.mjs +1 -1
  107. package/dist/cli/concurrent-runs-help-A2IQVZRJ.js +21 -0
  108. package/dist/cli/{concurrent-runs-help-C2O5YKQA.mjs → concurrent-runs-help-FDCCZ45D.mjs} +6 -6
  109. package/dist/cli/{csv-Z4DNGR54.mjs → csv-GJYLQ52D.mjs} +4 -4
  110. package/dist/cli/{csv-MJDNOIQJ.js → csv-OCEQWZO3.js} +13 -13
  111. package/dist/cli/{db-4RL2BNOF.mjs → db-5MA2UUHQ.mjs} +7 -7
  112. package/dist/cli/{db-S5QVPK5E.js → db-G5QGXFAX.js} +28 -28
  113. package/dist/cli/{describe-L4P5SZLQ.mjs → describe-4DOJ4DHA.mjs} +19 -19
  114. package/dist/cli/describe-SD7DRTBW.js +50 -0
  115. package/dist/cli/describe-core.d.mts +4 -4
  116. package/dist/cli/describe-core.d.ts +4 -4
  117. package/dist/cli/{executions-RR6O3XK5.mjs → executions-C7SMBHHB.mjs} +7 -7
  118. package/dist/cli/{executions-MFZ2Z36O.js → executions-IYEVUPJI.js} +9 -9
  119. package/dist/cli/{feedback-YDAG7VH2.js → feedback-GYAF46GA.js} +14 -14
  120. package/dist/cli/{feedback-EQBQ3ABB.mjs → feedback-XUU2UKM6.mjs} +6 -6
  121. package/dist/cli/git-7YYVMY6L.js +25 -0
  122. package/dist/cli/{git-YGLCCU35.mjs → git-WVCMK5AH.mjs} +5 -5
  123. package/dist/cli/index.js +146 -146
  124. package/dist/cli/index.mjs +45 -45
  125. package/dist/cli/{integrations-FWYXSBHK.mjs → integrations-FXADGAX2.mjs} +11 -9
  126. package/dist/cli/{integrations-IQXYMRMW.js → integrations-YYBJJFVX.js} +19 -17
  127. package/dist/cli/{legacy-noops-I4YRIX5F.mjs → legacy-noops-LJY7LDUE.mjs} +6 -6
  128. package/dist/cli/{legacy-noops-U7LI7UXC.js → legacy-noops-REZCYES2.js} +9 -9
  129. package/dist/cli/{mcp-GX2UKKWU.js → mcp-L5PURE5S.js} +24 -24
  130. package/dist/cli/{mcp-QJBMB6VS.mjs → mcp-XSB3ZJFR.mjs} +4 -4
  131. package/dist/cli/{monitors-WCJYINGX.js → monitors-I5EIHSGV.js} +119 -101
  132. package/dist/cli/{monitors-Z6EGKYJP.mjs → monitors-UBPF2OLO.mjs} +26 -8
  133. package/dist/cli/{org-NNHICBR2.mjs → org-PHHIN2ER.mjs} +7 -7
  134. package/dist/cli/{org-7SKG423N.js → org-SGSTGGUD.js} +89 -89
  135. package/dist/cli/{play-CXDFPJ7Z.mjs → play-LEJNJLWY.mjs} +295 -67
  136. package/dist/cli/{play-4P4DTG3Q.js → play-WQEKMANL.js} +897 -669
  137. package/dist/cli/{providers-VQLQ7DTR.mjs → providers-3W26ZDAV.mjs} +7 -7
  138. package/dist/cli/{providers-EE4TUE3O.js → providers-RSDXBXIS.js} +10 -10
  139. package/dist/cli/{quickstart-IYNJRB5G.mjs → quickstart-LGJD2M36.mjs} +4 -4
  140. package/dist/cli/{quickstart-RVXHK4WA.js → quickstart-U3QX4EMI.js} +6 -6
  141. package/dist/cli/{run-R3F34KU3.js → run-F2UPZUJS.js} +45 -45
  142. package/dist/cli/{run-VBQPPMEX.mjs → run-YWZ3W5HK.mjs} +25 -25
  143. package/dist/cli/search-K6ANAXLF.js +32 -0
  144. package/dist/cli/{search-B7R62HX5.mjs → search-O2OJH3PY.mjs} +8 -8
  145. package/dist/cli/{search-output-LNQQXIGZ.mjs → search-output-H5BF6SJ3.mjs} +4 -4
  146. package/dist/cli/{search-output-LWHWEPOT.js → search-output-W7OCBYBU.js} +6 -6
  147. package/dist/cli/{secrets-NM3VAJLO.mjs → secrets-65XCAA7U.mjs} +7 -7
  148. package/dist/cli/{secrets-QBOZ7WTD.js → secrets-BN4GYVRI.js} +16 -16
  149. package/dist/cli/sessions-M52QWLA6.js +22 -0
  150. package/dist/cli/{sessions-R5BSIJ4I.mjs → sessions-SVEVESCQ.mjs} +6 -6
  151. package/dist/cli/{settings-POYWKNRD.js → settings-7YMDAFCN.js} +86 -86
  152. package/dist/cli/{settings-S4PN7WLY.mjs → settings-HAU2NP2H.mjs} +13 -13
  153. package/dist/cli/{setup-PFLXVBTL.mjs → setup-5RXHZ6YI.mjs} +9 -9
  154. package/dist/cli/{setup-VHB4Z654.js → setup-G37QXQGM.js} +49 -49
  155. package/dist/cli/{skills-W2TELEU7.mjs → skills-Q7A3XFAU.mjs} +7 -7
  156. package/dist/cli/skills-ZK4D5BJW.js +36 -0
  157. package/dist/cli/tools-DBZTLYFM.js +57 -0
  158. package/dist/cli/{tools-M4FA6N3Y.mjs → tools-ZG4NYRGB.mjs} +18 -18
  159. package/dist/cli/{update-W7LIHEA7.mjs → update-2CMZTZCL.mjs} +9 -9
  160. package/dist/cli/update-LC5HGEEH.js +34 -0
  161. package/dist/cli/{views-KTVPV6UP.mjs → views-A6IIY4OQ.mjs} +7 -7
  162. package/dist/cli/{views-DJXAGD7V.js → views-XUMDMDIE.js} +22 -22
  163. package/dist/cli/{workflow-NVZDJKH2.js → workflow-4EEW6MCD.js} +18 -18
  164. package/dist/cli/{workflow-LGKCRODX.mjs → workflow-74MYISHU.mjs} +8 -8
  165. package/dist/{client-Tp1LSULB.d.mts → client-D1uWA2Vc.d.mts} +1 -1
  166. package/dist/{client-CCyWJqAI.d.ts → client-Hz7SsBXs.d.ts} +1 -1
  167. package/dist/{client-core-BpYiYEfu.d.ts → client-core-D3Ad7Flt.d.ts} +554 -504
  168. package/dist/{client-core-D8eCZz3O.d.mts → client-core-Db_e63Hb.d.mts} +554 -504
  169. package/dist/{compiler-manifest-EBWEUj0b.d.ts → compiler-manifest-BqwVrOri.d.mts} +38 -18
  170. package/dist/{compiler-manifest-EBWEUj0b.d.mts → compiler-manifest-BqwVrOri.d.ts} +38 -18
  171. package/dist/{errors-CParKUQR.d.mts → errors-BU8FB99X.d.mts} +1 -1
  172. package/dist/{errors-Qt0OTA7_.d.ts → errors-DfVN_FUG.d.ts} +1 -1
  173. package/dist/{index-CoqDkIw0.d.ts → index-BGnvtYGc.d.ts} +6 -1
  174. package/dist/{index-BMUVCNp7.d.mts → index-DjZgwpGw.d.mts} +6 -1
  175. package/dist/index.d.mts +28 -8
  176. package/dist/index.d.ts +28 -8
  177. package/dist/index.js +64 -39
  178. package/dist/index.mjs +32 -7
  179. package/dist/install-integrity.json +133 -128
  180. package/dist/plays/bundle-play-file.d.mts +3 -3
  181. package/dist/plays/bundle-play-file.d.ts +3 -3
  182. package/dist/plays/bundle-play-file.mjs +620 -124
  183. package/dist/plays/play-description.d.mts +3 -3
  184. package/dist/plays/play-description.d.ts +3 -3
  185. package/dist/plays/run-request.d.mts +2 -2
  186. package/dist/plays/run-request.d.ts +2 -2
  187. package/dist/release.d.mts +1 -1
  188. package/dist/release.d.ts +1 -1
  189. package/dist/release.js +2 -2
  190. package/dist/release.mjs +1 -1
  191. package/dist/server.d.mts +4 -4
  192. package/dist/server.d.ts +4 -4
  193. package/dist/server.js +6 -6
  194. package/dist/server.mjs +4 -4
  195. package/package.json +1 -1
  196. package/dist/cli/auth-W32GMYND.js +0 -43
  197. package/dist/cli/concurrent-runs-help-6QT7ZR4W.js +0 -21
  198. package/dist/cli/describe-VLU2LUDJ.js +0 -50
  199. package/dist/cli/git-E6W44F5M.js +0 -25
  200. package/dist/cli/search-UUVFXZRA.js +0 -32
  201. package/dist/cli/sessions-K3PD73Q2.js +0 -22
  202. package/dist/cli/skills-QNE2EYT3.js +0 -36
  203. package/dist/cli/tools-3RLI4HGF.js +0 -57
  204. package/dist/cli/update-UT6KIW2W.js +0 -34
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 _chunkLIJKRDDGjs = require('./chunk-LIJKRDDG.js');
4
+ var _chunkWIHQAZPVjs = require('./chunk-WIHQAZPV.js');
5
5
 
6
6
 
7
- var _chunk5V7NZKGGjs = require('./chunk-5V7NZKGG.js');
7
+ var _chunkT3RDWG5Jjs = require('./chunk-T3RDWG5J.js');
8
8
 
9
9
 
10
10
 
@@ -13,17 +13,17 @@ var _chunk5V7NZKGGjs = require('./chunk-5V7NZKGG.js');
13
13
 
14
14
 
15
15
 
16
- var _chunkJCWNF44Wjs = require('./chunk-JCWNF44W.js');
16
+ var _chunkBDBEEV6Xjs = require('./chunk-BDBEEV6X.js');
17
17
 
18
18
 
19
19
 
20
20
 
21
21
 
22
22
 
23
- var _chunkND7SFRQLjs = require('./chunk-ND7SFRQL.js');
24
- require('./chunk-BTFUAGHC.js');
25
- require('./chunk-JCH4UNNS.js');
26
- require('./chunk-Z3UEBFIN.js');
23
+ var _chunkU7HJXE6Yjs = require('./chunk-U7HJXE6Y.js');
24
+ require('./chunk-HDLMX7SG.js');
25
+ require('./chunk-M2OZORIH.js');
26
+ require('./chunk-LAVPP6WD.js');
27
27
 
28
28
 
29
29
 
@@ -35,15 +35,15 @@ require('./chunk-Z3UEBFIN.js');
35
35
 
36
36
 
37
37
 
38
- var _chunk6LG7MLJ2js = require('./chunk-6LG7MLJ2.js');
38
+ var _chunk5OJOFUMOjs = require('./chunk-5OJOFUMO.js');
39
39
 
40
40
 
41
- var _chunkTBWYZOSVjs = require('./chunk-TBWYZOSV.js');
41
+ var _chunkGUIYFOG2js = require('./chunk-GUIYFOG2.js');
42
42
 
43
43
 
44
44
 
45
45
 
46
- var _chunkF5YQXCP3js = require('./chunk-F5YQXCP3.js');
46
+ var _chunkPVQCX6KQjs = require('./chunk-PVQCX6KQ.js');
47
47
  require('./chunk-UV4RU2TE.js');
48
48
  require('./chunk-R7J7CJPZ.js');
49
49
  require('./chunk-YGCKMI5P.js');
@@ -65,7 +65,7 @@ require('./chunk-YGCKMI5P.js');
65
65
 
66
66
 
67
67
 
68
- var _chunkH7Q5IDO3js = require('./chunk-H7Q5IDO3.js');
68
+ var _chunkI2JIWKCQjs = require('./chunk-I2JIWKCQ.js');
69
69
 
70
70
 
71
71
 
@@ -73,18 +73,18 @@ var _chunkH7Q5IDO3js = require('./chunk-H7Q5IDO3.js');
73
73
 
74
74
 
75
75
 
76
- var _chunkMXQP7CXZjs = require('./chunk-MXQP7CXZ.js');
76
+ var _chunkIIWXBRDKjs = require('./chunk-IIWXBRDK.js');
77
77
 
78
78
 
79
79
 
80
80
 
81
- var _chunk4AZLGNXVjs = require('./chunk-4AZLGNXV.js');
81
+ var _chunkCXZLHBNKjs = require('./chunk-CXZLHBNK.js');
82
82
 
83
83
 
84
84
  var _chunkEITMD3A5js = require('./chunk-EITMD3A5.js');
85
85
  require('./chunk-XNYIZMNQ.js');
86
86
  require('./chunk-BBTKAASQ.js');
87
- require('./chunk-JVOUQFHT.js');
87
+ require('./chunk-2OG2KBYJ.js');
88
88
  require('./chunk-OG64RBAC.js');
89
89
  require('./chunk-RLX5ZFNX.js');
90
90
  require('./chunk-COGTRVWW.js');
@@ -165,64 +165,64 @@ var _os = require('os');
165
165
  var COMMAND_GROUPS = [
166
166
  {
167
167
  names: ["auth"],
168
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-W32GMYND.js")))).registerAuthCommands
168
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-7UJFY5BY.js")))).registerAuthCommands
169
169
  },
170
170
  {
171
171
  names: ["providers"],
172
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./providers-EE4TUE3O.js")))).registerProviderCommands
172
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./providers-RSDXBXIS.js")))).registerProviderCommands
173
173
  },
174
174
  {
175
175
  names: ["integrations"],
176
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./integrations-IQXYMRMW.js")))).registerIntegrationsCommands
176
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./integrations-YYBJJFVX.js")))).registerIntegrationsCommands
177
177
  },
178
178
  {
179
179
  names: ["search"],
180
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./search-UUVFXZRA.js")))).registerSearchCommand
180
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./search-K6ANAXLF.js")))).registerSearchCommand
181
181
  },
182
182
  {
183
183
  names: ["describe"],
184
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-VLU2LUDJ.js")))).registerDescribeCommand
184
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-SD7DRTBW.js")))).registerDescribeCommand
185
185
  },
186
186
  {
187
187
  names: ["run"],
188
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./run-R3F34KU3.js")))).registerRunCommand
188
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./run-F2UPZUJS.js")))).registerRunCommand
189
189
  },
190
190
  {
191
191
  names: ["tools"],
192
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-3RLI4HGF.js")))).registerToolsCommands
192
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-DBZTLYFM.js")))).registerToolsCommands
193
193
  },
194
194
  {
195
195
  names: ["executions"],
196
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./executions-MFZ2Z36O.js")))).registerExecutionsCommands
196
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./executions-IYEVUPJI.js")))).registerExecutionsCommands
197
197
  },
198
198
  {
199
199
  names: ["plays", "runs"],
200
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./play-4P4DTG3Q.js")))).registerPlayCommands
200
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./play-WQEKMANL.js")))).registerPlayCommands
201
201
  },
202
202
  {
203
203
  names: ["sessions"],
204
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./sessions-K3PD73Q2.js")))).registerSessionsCommands
204
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./sessions-M52QWLA6.js")))).registerSessionsCommands
205
205
  },
206
206
  {
207
207
  names: ["workflows"],
208
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./workflow-NVZDJKH2.js")))).registerWorkflowCommands
208
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./workflow-4EEW6MCD.js")))).registerWorkflowCommands
209
209
  },
210
210
  {
211
211
  names: ["views"],
212
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./views-DJXAGD7V.js")))).registerViewsCommands
212
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./views-XUMDMDIE.js")))).registerViewsCommands
213
213
  },
214
214
  {
215
215
  names: ["secrets"],
216
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./secrets-QBOZ7WTD.js")))).registerSecretsCommands
216
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./secrets-BN4GYVRI.js")))).registerSecretsCommands
217
217
  },
218
218
  {
219
219
  names: ["mcp"],
220
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./mcp-GX2UKKWU.js")))).registerMcpCommands
220
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./mcp-L5PURE5S.js")))).registerMcpCommands
221
221
  },
222
222
  {
223
223
  names: ["settings", "notifications"],
224
224
  load: async () => {
225
- const commands = await Promise.resolve().then(() => _interopRequireWildcard(require("./settings-POYWKNRD.js")));
225
+ const commands = await Promise.resolve().then(() => _interopRequireWildcard(require("./settings-7YMDAFCN.js")));
226
226
  return (p) => {
227
227
  commands.registerSettingsCommands(p);
228
228
  commands.registerNotificationCommands(p);
@@ -231,51 +231,51 @@ var COMMAND_GROUPS = [
231
231
  },
232
232
  {
233
233
  names: ["billing"],
234
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./billing-OQVOAZ4S.js")))).registerBillingCommands
234
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./billing-HETIOUD6.js")))).registerBillingCommands
235
235
  },
236
236
  {
237
237
  names: ["monitors"],
238
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./monitors-WCJYINGX.js")))).registerMonitorsCommands
238
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./monitors-I5EIHSGV.js")))).registerMonitorsCommands
239
239
  },
240
240
  {
241
241
  names: ["org"],
242
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./org-7SKG423N.js")))).registerOrgCommands
242
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./org-SGSTGGUD.js")))).registerOrgCommands
243
243
  },
244
244
  {
245
245
  names: ["git", "projects", "deployments"],
246
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./git-E6W44F5M.js")))).registerGitCommands
246
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./git-7YYVMY6L.js")))).registerGitCommands
247
247
  },
248
248
  {
249
249
  names: ["csv"],
250
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./csv-MJDNOIQJ.js")))).registerCsvCommands
250
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./csv-OCEQWZO3.js")))).registerCsvCommands
251
251
  },
252
252
  {
253
253
  names: ["db"],
254
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./db-S5QVPK5E.js")))).registerDbCommands
254
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./db-G5QGXFAX.js")))).registerDbCommands
255
255
  },
256
256
  {
257
257
  names: ["feedback"],
258
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./feedback-YDAG7VH2.js")))).registerFeedbackCommands
258
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./feedback-GYAF46GA.js")))).registerFeedbackCommands
259
259
  },
260
260
  {
261
261
  names: ["enrich", "session", "backend"],
262
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./legacy-noops-U7LI7UXC.js")))).registerDeprecatedCommands
262
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./legacy-noops-REZCYES2.js")))).registerDeprecatedCommands
263
263
  },
264
264
  {
265
265
  names: ["update"],
266
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./update-UT6KIW2W.js")))).registerUpdateCommand
266
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./update-LC5HGEEH.js")))).registerUpdateCommand
267
267
  },
268
268
  {
269
269
  names: ["skills", "skills-auto-sync"],
270
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./skills-QNE2EYT3.js")))).registerSkillsCommand
270
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./skills-ZK4D5BJW.js")))).registerSkillsCommand
271
271
  },
272
272
  {
273
273
  names: ["setup", "doctor"],
274
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./setup-VHB4Z654.js")))).registerSetupCommands
274
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./setup-G37QXQGM.js")))).registerSetupCommands
275
275
  },
276
276
  {
277
277
  names: ["quickstart"],
278
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./quickstart-RVXHK4WA.js")))).registerQuickstartCommands
278
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./quickstart-U3QX4EMI.js")))).registerQuickstartCommands
279
279
  }
280
280
  ];
281
281
  async function registerDeeplineCommandGroups(program, requestedCommand) {
@@ -301,8 +301,8 @@ function registerDeeplineInlineCommands(program) {
301
301
  function createDeferredPlayRunMaintenance(input) {
302
302
  return async () => {
303
303
  try {
304
- const skillsVersion = _chunkMXQP7CXZjs.readSdkSkillsLocalVersion.call(void 0, input.baseUrl);
305
- const compatibility = await _chunkND7SFRQLjs.traceCliSpan.call(void 0,
304
+ const skillsVersion = _chunkIIWXBRDKjs.readSdkSkillsLocalVersion.call(void 0, input.baseUrl);
305
+ const compatibility = await _chunkU7HJXE6Yjs.traceCliSpan.call(void 0,
306
306
  "cli.sdk_compatibility_deferred",
307
307
  {
308
308
  baseUrl: input.baseUrl,
@@ -310,24 +310,24 @@ function createDeferredPlayRunMaintenance(input) {
310
310
  skillsVersion: _nullishCoalesce(skillsVersion, () => ( null))
311
311
  },
312
312
  async () => {
313
- const trusted = _chunk6LG7MLJ2js.readTrustedCleanCompatibility.call(void 0,
313
+ const trusted = _chunk5OJOFUMOjs.readTrustedCleanCompatibility.call(void 0,
314
314
  input.baseUrl,
315
315
  "plays run",
316
316
  skillsVersion
317
317
  );
318
318
  if (trusted) return { response: trusted, error: null };
319
- return _chunk6LG7MLJ2js.checkSdkCompatibility.call(void 0, input.baseUrl, {
319
+ return _chunk5OJOFUMOjs.checkSdkCompatibility.call(void 0, input.baseUrl, {
320
320
  command: "plays run",
321
321
  skillsVersion,
322
322
  persistCache: input.policy !== "off",
323
- catalog: _chunkJCWNF44Wjs.compatibilityCatalog.call(void 0, input.command)
323
+ catalog: _chunkBDBEEV6Xjs.compatibilityCatalog.call(void 0, input.command)
324
324
  });
325
325
  }
326
326
  );
327
327
  if (compatibility.error || !compatibility.response) return;
328
328
  const automaticUpdate = compatibility.response.auto_update;
329
329
  if (_optionalChain([automaticUpdate, 'optionalAccess', _4 => _4.should_auto_update]) && !automaticUpdate.required && automaticUpdate.reason !== "rollback_forced") {
330
- await _chunkJCWNF44Wjs.maybeAutoUpdateAndRelaunch.call(void 0,
330
+ await _chunkBDBEEV6Xjs.maybeAutoUpdateAndRelaunch.call(void 0,
331
331
  compatibility.response,
332
332
  input.baseUrl,
333
333
  input.policy
@@ -337,7 +337,7 @@ function createDeferredPlayRunMaintenance(input) {
337
337
  compatibility.response,
338
338
  "skills"
339
339
  ) ? _nullishCoalesce(compatibility.response.skills, () => ( null)) : void 0;
340
- await _chunk6LG7MLJ2js.syncSdkSkillsIfNeeded.call(void 0, input.baseUrl, {
340
+ await _chunk5OJOFUMOjs.syncSdkSkillsIfNeeded.call(void 0, input.baseUrl, {
341
341
  update: skillsUpdate,
342
342
  mode: "detached"
343
343
  });
@@ -365,8 +365,8 @@ var MAX_SESSIONS = 20;
365
365
  function helpSeenPath(homeDir = _os.homedir.call(void 0, )) {
366
366
  return _path.join.call(void 0, homeDir, ".local", "deepline", "sdk-cli", "help-seen.json");
367
367
  }
368
- function resolveHelpDetail(argv, key, homeDir = _os.homedir.call(void 0, ), sessionId = _chunk4AZLGNXVjs.agentSessionIdFromEnvironment.call(void 0, )) {
369
- const explicit = _chunkF5YQXCP3js.helpDetailFromArgv.call(void 0, argv);
368
+ function resolveHelpDetail(argv, key, homeDir = _os.homedir.call(void 0, ), sessionId = _chunkCXZLHBNKjs.agentSessionIdFromEnvironment.call(void 0, )) {
369
+ const explicit = _chunkPVQCX6KQjs.helpDetailFromArgv.call(void 0, argv);
370
370
  if (explicit === "quiet") return { detail: "quiet", firstRead: false };
371
371
  if (!sessionId) return { detail: explicit, firstRead: false };
372
372
  const path = helpSeenPath(homeDir);
@@ -463,7 +463,7 @@ function shouldReport(stdout, stderr) {
463
463
  }
464
464
  function toolName(action) {
465
465
  const [toolId] = _optionalChain([action, 'optionalAccess', _5 => _5.path]) === "tools execute" ? action.args : [];
466
- return typeof toolId === "string" ? _chunkH7Q5IDO3js.redactFailureText.call(void 0, toolId) : null;
466
+ return typeof toolId === "string" ? _chunkI2JIWKCQjs.redactFailureText.call(void 0, toolId) : null;
467
467
  }
468
468
  function chunkText(chunk) {
469
469
  if (typeof chunk === "string") return chunk;
@@ -494,14 +494,14 @@ function watch(stream) {
494
494
  }
495
495
  async function postCommandOutput(body) {
496
496
  try {
497
- const baseUrl = _chunkMXQP7CXZjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
498
- const apiKey = _chunkMXQP7CXZjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
497
+ const baseUrl = _chunkIIWXBRDKjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
498
+ const apiKey = _chunkIIWXBRDKjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
499
499
  if (!apiKey) return;
500
- const agentSessionId = _chunk4AZLGNXVjs.agentSessionIdFromEnvironment.call(void 0, );
500
+ const agentSessionId = _chunkCXZLHBNKjs.agentSessionIdFromEnvironment.call(void 0, );
501
501
  await fetch(new URL("/api/v2/telemetry/command-output", baseUrl), {
502
502
  method: "POST",
503
503
  headers: {
504
- ..._chunkH7Q5IDO3js.failureReportHeaders.call(void 0, apiKey),
504
+ ..._chunkI2JIWKCQjs.failureReportHeaders.call(void 0, apiKey),
505
505
  ...agentSessionId ? { "X-Deepline-Agent-Session-Id": agentSessionId } : {}
506
506
  },
507
507
  body: JSON.stringify(body),
@@ -517,14 +517,14 @@ function startOutputSizeReporting(invocation, streams = {
517
517
  const stdoutWatch = watch(streams.stdout);
518
518
  const stderrWatch = watch(streams.stderr);
519
519
  return async (finished) => {
520
- if (_chunkH7Q5IDO3js.isFailureReportingDisabled.call(void 0, )) return;
520
+ if (_chunkI2JIWKCQjs.isFailureReportingDisabled.call(void 0, )) return;
521
521
  const [stdout, stderr] = await Promise.all([
522
522
  stdoutWatch.settled(),
523
523
  stderrWatch.settled()
524
524
  ]);
525
525
  if (!shouldReport(stdout, stderr)) return;
526
526
  await postCommandOutput({
527
- command: _chunkH7Q5IDO3js.sanitizeCommand.call(void 0, invocation.argv),
527
+ command: _chunkI2JIWKCQjs.sanitizeCommand.call(void 0, invocation.argv),
528
528
  tool: toolName(finished.action),
529
529
  exit_code: typeof finished.exitCode === "number" ? finished.exitCode : null,
530
530
  duration_ms: Math.max(0, Date.now() - invocation.startedAtMs),
@@ -555,7 +555,7 @@ function silenceCommanderErrorOutput(command) {
555
555
  function printUsageErrorJson(code, message, commandPath) {
556
556
  const unknownName = code === "commander.unknownCommand" ? _optionalChain([/unknown command '([^']+)'/, 'access', _6 => _6.exec, 'call', _7 => _7(message), 'optionalAccess', _8 => _8[1]]) : void 0;
557
557
  const helpPath = unknownName && commandPath.endsWith(` ${unknownName}`) ? commandPath.slice(0, -unknownName.length - 1) : commandPath;
558
- _chunkH7Q5IDO3js.printJson.call(void 0, {
558
+ _chunkI2JIWKCQjs.printJson.call(void 0, {
559
559
  ok: false,
560
560
  error: {
561
561
  code,
@@ -613,7 +613,7 @@ function topLevelCommandKnown(program, commandName) {
613
613
  );
614
614
  }
615
615
  async function runPlayRunnerHealthCheck() {
616
- _chunkMXQP7CXZjs.resolveConfig.call(void 0, );
616
+ _chunkIIWXBRDKjs.resolveConfig.call(void 0, );
617
617
  const dir = await _promises.mkdtemp.call(void 0, _path.join.call(void 0, _os.tmpdir.call(void 0, ), "deepline-health-play-"));
618
618
  const file = _path.join.call(void 0, dir, "health-check.play.ts");
619
619
  try {
@@ -643,7 +643,7 @@ async function runPlayRunnerHealthCheck() {
643
643
  });
644
644
  let exitCode = 1;
645
645
  try {
646
- const { handlePlayRun } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-4P4DTG3Q.js")));
646
+ const { handlePlayRun } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-WQEKMANL.js")));
647
647
  exitCode = await handlePlayRun([
648
648
  file,
649
649
  "--input",
@@ -683,7 +683,7 @@ function preflightErrorMessage(error) {
683
683
  return error instanceof Error ? error.message : String(error);
684
684
  }
685
685
  async function runPreflightCheck() {
686
- const baseUrl = _chunkMXQP7CXZjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
686
+ const baseUrl = _chunkIIWXBRDKjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
687
687
  const healthController = new AbortController();
688
688
  const healthTimeout = setTimeout(
689
689
  () => healthController.abort(),
@@ -700,14 +700,14 @@ async function runPreflightCheck() {
700
700
  }).catch((error) => ({
701
701
  status: "unreachable",
702
702
  version: null,
703
- error: healthController.signal.aborted ? `Request to ${baseUrl} timed out after ${PREFLIGHT_TIMEOUT_MS}ms.` : _chunk4AZLGNXVjs.connectionFailureMessage.call(void 0,
703
+ error: healthController.signal.aborted ? `Request to ${baseUrl} timed out after ${PREFLIGHT_TIMEOUT_MS}ms.` : _chunkCXZLHBNKjs.connectionFailureMessage.call(void 0,
704
704
  baseUrl,
705
705
  error instanceof Error ? error : new Error(String(error))
706
706
  )
707
707
  })).finally(() => clearTimeout(healthTimeout));
708
- const apiKey = _chunkMXQP7CXZjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
709
- const http = apiKey ? new (0, _chunkMXQP7CXZjs.HttpClient)(
710
- _chunkMXQP7CXZjs.resolveConfig.call(void 0, {
708
+ const apiKey = _chunkIIWXBRDKjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
709
+ const http = apiKey ? new (0, _chunkIIWXBRDKjs.HttpClient)(
710
+ _chunkIIWXBRDKjs.resolveConfig.call(void 0, {
711
711
  baseUrl,
712
712
  apiKey,
713
713
  timeout: PREFLIGHT_TIMEOUT_MS,
@@ -752,7 +752,7 @@ async function runPreflightCheck() {
752
752
  const connected = authStatus === "connected" || authStatus === "claimed";
753
753
  return {
754
754
  status: healthResult.status === "ok" && connected ? "ok" : "check",
755
- cli_version: _chunk4AZLGNXVjs.SDK_VERSION,
755
+ cli_version: _chunkCXZLHBNKjs.SDK_VERSION,
756
756
  host: baseUrl,
757
757
  health: {
758
758
  status: healthResult.status,
@@ -779,7 +779,7 @@ async function runPreflightCheck() {
779
779
  {
780
780
  title: "preflight",
781
781
  lines: [
782
- `cli: ${_chunk4AZLGNXVjs.SDK_VERSION}`,
782
+ `cli: ${_chunkCXZLHBNKjs.SDK_VERSION}`,
783
783
  `host: ${baseUrl}`,
784
784
  `health: ${healthResult.status}`,
785
785
  ..."error" in healthResult ? [` ${healthResult.error}`] : [],
@@ -806,12 +806,12 @@ function printPreflightHuman(data) {
806
806
  }
807
807
  async function newerCliCommandHint(baseUrl, command) {
808
808
  if (!command.trim()) return null;
809
- const { response, error } = await _chunk6LG7MLJ2js.checkSdkCompatibility.call(void 0, baseUrl, { command });
809
+ const { response, error } = await _chunk5OJOFUMOjs.checkSdkCompatibility.call(void 0, baseUrl, { command });
810
810
  if (error || !response) return null;
811
811
  const introduced = response.command_introduced_in;
812
812
  if (introduced) {
813
813
  return [
814
- `\`deepline ${introduced.command}\` was added in SDK CLI ${introduced.introduced_in}. This CLI is ${_chunk4AZLGNXVjs.SDK_VERSION}.`,
814
+ `\`deepline ${introduced.command}\` was added in SDK CLI ${introduced.introduced_in}. This CLI is ${_chunkCXZLHBNKjs.SDK_VERSION}.`,
815
815
  ` ${introduced.reason}`,
816
816
  ` Update with: ${response.update_command}`,
817
817
  " Agent skills are served by Deepline and refresh on their own, so a skill can describe a command this CLI does not have yet."
@@ -820,33 +820,33 @@ async function newerCliCommandHint(baseUrl, command) {
820
820
  if (!response.update_required) return null;
821
821
  return [
822
822
  response.message,
823
- ` Installed: ${_chunk4AZLGNXVjs.SDK_VERSION}. Run: ${response.update_command}`,
823
+ ` Installed: ${_chunkCXZLHBNKjs.SDK_VERSION}. Run: ${response.update_command}`,
824
824
  " If an agent skill told you to run this, the skill is newer than this CLI."
825
825
  ].join("\n");
826
826
  }
827
827
  async function runMain(ensureTransport, onAction, suppressOutputReport) {
828
828
  const mainStartedAt = Date.now();
829
- _chunkH7Q5IDO3js.installJsonStderrGuard.call(void 0, );
829
+ _chunkI2JIWKCQjs.installJsonStderrGuard.call(void 0, );
830
830
  let rootHelpStatus = "";
831
831
  let concurrentRunsHelpStatus = "";
832
832
  let commandFailed = false;
833
833
  const deferredMaintenance = { inlinePlay: null };
834
- _chunkND7SFRQLjs.recordCliTrace.call(void 0, {
834
+ _chunkU7HJXE6Yjs.recordCliTrace.call(void 0, {
835
835
  phase: "cli.main_start",
836
836
  argv: process.argv.slice(2)
837
837
  });
838
838
  const printStartupPhase = shouldPrintStartupPhase();
839
- const progress = printStartupPhase ? _chunkTBWYZOSVjs.createCliProgress.call(void 0, true) : null;
839
+ const progress = printStartupPhase ? _chunkGUIYFOG2js.createCliProgress.call(void 0, true) : null;
840
840
  if (printStartupPhase) {
841
841
  _optionalChain([progress, 'optionalAccess', _14 => _14.phase, 'call', _15 => _15("loading deepline cli")]);
842
842
  }
843
843
  const program = new (0, _commander.Command)();
844
844
  program.name("deepline").description(
845
845
  "Deepline CLI \u2014 GTM enrichment tools, plays, and runs from your terminal."
846
- ).version(_chunk4AZLGNXVjs.SDK_VERSION, "-v, --version", "Show version").option(
846
+ ).version(_chunkCXZLHBNKjs.SDK_VERSION, "-v, --version", "Show version").option(
847
847
  "--maintenance <policy>",
848
848
  "Installation maintenance: configured preferences or off; independent of output format",
849
- _chunkND7SFRQLjs.parseCliMaintenancePolicy,
849
+ _chunkU7HJXE6Yjs.parseCliMaintenancePolicy,
850
850
  "configured"
851
851
  ).exitOverride().showHelpAfterError().showSuggestionAfterError(true).addHelpText(
852
852
  "beforeAll",
@@ -895,9 +895,9 @@ Exit codes:
895
895
  5 server/runtime/provider failure; 7 validation/check failed.
896
896
  `
897
897
  ).addHelpText("afterAll", ({ command }) => {
898
- const key = _chunkF5YQXCP3js.commandDocKey.call(void 0, command);
898
+ const key = _chunkPVQCX6KQjs.commandDocKey.call(void 0, command);
899
899
  const { detail, firstRead } = resolveHelpDetail(process.argv, key);
900
- const explanation = _chunkF5YQXCP3js.renderCommandExplanation.call(void 0, key, detail, { firstRead });
900
+ const explanation = _chunkPVQCX6KQjs.renderCommandExplanation.call(void 0, key, detail, { firstRead });
901
901
  return detail !== "quiet" && concurrentRunsHelpStatus ? `${explanation}${concurrentRunsHelpStatus}` : explanation;
902
902
  });
903
903
  program.hook("preAction", async (_thisCommand, actionCommand) => {
@@ -906,25 +906,25 @@ Exit codes:
906
906
  path: compatibilityCommand,
907
907
  args: actionCommand.processedArgs
908
908
  });
909
- const maintenance = _chunkND7SFRQLjs.resolveCliMaintenancePolicy.call(void 0,
909
+ const maintenance = _chunkU7HJXE6Yjs.resolveCliMaintenancePolicy.call(void 0,
910
910
  actionCommand.optsWithGlobals()
911
911
  );
912
912
  if (actionCommand.name() !== "version") {
913
913
  await ensureTransport();
914
914
  }
915
- if (actionCommand.name() === "version" || actionCommand.name() === "update" || actionCommand.name() === "setup" || actionCommand.name() === "skills" || actionCommand.name() === _chunk6LG7MLJ2js.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(
915
+ if (actionCommand.name() === "version" || actionCommand.name() === "update" || actionCommand.name() === "setup" || actionCommand.name() === "skills" || actionCommand.name() === _chunk5OJOFUMOjs.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(
916
916
  compatibilityCommand
917
- ) && _chunk5V7NZKGGjs.feedbackSendRestriction.call(void 0, actionCommand.optsWithGlobals().requested)) {
917
+ ) && _chunkT3RDWG5Jjs.feedbackSendRestriction.call(void 0, actionCommand.optsWithGlobals().requested)) {
918
918
  return;
919
919
  }
920
920
  const isToolExecuteCommand = compatibilityCommand === "tools execute";
921
921
  if (isToolExecuteCommand) {
922
- _chunkJCWNF44Wjs.beginToolExecuteCommand.call(void 0, );
922
+ _chunkBDBEEV6Xjs.beginToolExecuteCommand.call(void 0, );
923
923
  }
924
924
  if (isToolExecuteCommand) {
925
- const baseUrl = _chunkMXQP7CXZjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
926
- if (maintenance !== "off") _chunk6LG7MLJ2js.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
927
- _chunkND7SFRQLjs.recordCliTrace.call(void 0, {
925
+ const baseUrl = _chunkIIWXBRDKjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
926
+ if (maintenance !== "off") _chunk5OJOFUMOjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
927
+ _chunkU7HJXE6Yjs.recordCliTrace.call(void 0, {
928
928
  phase: "cli.sdk_compatibility_deferred_to_tool_execute",
929
929
  baseUrl,
930
930
  command: compatibilityCommand
@@ -932,9 +932,9 @@ Exit codes:
932
932
  return;
933
933
  }
934
934
  const playDryRun = compatibilityCommand === "plays run" && actionCommand.optsWithGlobals().dryRun === true;
935
- if (!playDryRun && _chunkLIJKRDDGjs.usesInlinePlayAdmission.call(void 0, compatibilityCommand, process.argv.slice(2))) {
935
+ if (!playDryRun && _chunkWIHQAZPVjs.usesInlinePlayAdmission.call(void 0, compatibilityCommand, process.argv.slice(2))) {
936
936
  if (maintenance !== "off") {
937
- const baseUrl = _chunkMXQP7CXZjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
937
+ const baseUrl = _chunkIIWXBRDKjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
938
938
  deferredMaintenance.inlinePlay = createDeferredPlayRunMaintenance({
939
939
  baseUrl,
940
940
  command: actionCommand,
@@ -943,27 +943,27 @@ Exit codes:
943
943
  }
944
944
  return;
945
945
  }
946
- const runStartupStage = (stage, action) => isToolExecuteCommand ? _chunkJCWNF44Wjs.runToolExecuteStage.call(void 0, stage, action) : Promise.resolve(action());
946
+ const runStartupStage = (stage, action) => isToolExecuteCommand ? _chunkBDBEEV6Xjs.runToolExecuteStage.call(void 0, stage, action) : Promise.resolve(action());
947
947
  if (printStartupPhase) {
948
948
  _optionalChain([progress, 'optionalAccess', _16 => _16.phase, 'call', _17 => _17("checking sdk compatibility")]);
949
949
  }
950
950
  const startup = await runStartupStage("SDK compatibility", async () => {
951
- const baseUrl = _chunkMXQP7CXZjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
952
- if (maintenance !== "off") _chunk6LG7MLJ2js.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
951
+ const baseUrl = _chunkIIWXBRDKjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
952
+ if (maintenance !== "off") _chunk5OJOFUMOjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
953
953
  const shouldDeferSkillsSync = isToolExecuteCommand || maintenance === "off" || shouldDeferSkillsSyncForCommand();
954
- const skillsVersion = shouldDeferSkillsSync ? void 0 : _chunkMXQP7CXZjs.readSdkSkillsLocalVersion.call(void 0, baseUrl);
955
- const trusted = isToolExecuteCommand ? null : _chunk6LG7MLJ2js.readTrustedCleanCompatibility.call(void 0,
954
+ const skillsVersion = shouldDeferSkillsSync ? void 0 : _chunkIIWXBRDKjs.readSdkSkillsLocalVersion.call(void 0, baseUrl);
955
+ const trusted = isToolExecuteCommand ? null : _chunk5OJOFUMOjs.readTrustedCleanCompatibility.call(void 0,
956
956
  baseUrl,
957
957
  compatibilityCommand,
958
958
  skillsVersion
959
959
  );
960
- const fastDeadline = !isToolExecuteCommand && trusted === null && _chunk6LG7MLJ2js.readFreshCleanCompatibility.call(void 0,
960
+ const fastDeadline = !isToolExecuteCommand && trusted === null && _chunk5OJOFUMOjs.readFreshCleanCompatibility.call(void 0,
961
961
  baseUrl,
962
962
  compatibilityCommand,
963
963
  skillsVersion
964
964
  ) !== null;
965
965
  if (trusted) {
966
- _chunkND7SFRQLjs.recordCliTrace.call(void 0, {
966
+ _chunkU7HJXE6Yjs.recordCliTrace.call(void 0, {
967
967
  phase: "cli.sdk_compatibility",
968
968
  ms: 0,
969
969
  ok: true,
@@ -973,7 +973,7 @@ Exit codes:
973
973
  source: "trusted_cache"
974
974
  });
975
975
  }
976
- const compatibility = trusted ? { response: trusted, error: null } : await _chunkND7SFRQLjs.traceCliSpan.call(void 0,
976
+ const compatibility = trusted ? { response: trusted, error: null } : await _chunkU7HJXE6Yjs.traceCliSpan.call(void 0,
977
977
  "cli.sdk_compatibility",
978
978
  {
979
979
  baseUrl,
@@ -981,12 +981,12 @@ Exit codes:
981
981
  skillsVersion: _nullishCoalesce(skillsVersion, () => ( null)),
982
982
  fastDeadline
983
983
  },
984
- () => _chunk6LG7MLJ2js.checkSdkCompatibility.call(void 0, baseUrl, {
984
+ () => _chunk5OJOFUMOjs.checkSdkCompatibility.call(void 0, baseUrl, {
985
985
  command: compatibilityCommand,
986
986
  skillsVersion,
987
987
  persistCache: !isToolExecuteCommand && maintenance !== "off",
988
- catalog: _chunkJCWNF44Wjs.compatibilityCatalog.call(void 0, actionCommand),
989
- ...fastDeadline ? { timeoutMs: _chunk6LG7MLJ2js.SDK_COMPATIBILITY_FAST_DEADLINE_MS } : {}
988
+ catalog: _chunkBDBEEV6Xjs.compatibilityCatalog.call(void 0, actionCommand),
989
+ ...fastDeadline ? { timeoutMs: _chunk5OJOFUMOjs.SDK_COMPATIBILITY_FAST_DEADLINE_MS } : {}
990
990
  })
991
991
  );
992
992
  if (compatibility.error) {
@@ -997,7 +997,7 @@ Exit codes:
997
997
  response: null
998
998
  };
999
999
  }
1000
- const relaunched = await _chunkJCWNF44Wjs.maybeAutoUpdateAndRelaunch.call(void 0,
1000
+ const relaunched = await _chunkBDBEEV6Xjs.maybeAutoUpdateAndRelaunch.call(void 0,
1001
1001
  compatibility.response,
1002
1002
  baseUrl,
1003
1003
  maintenance
@@ -1011,14 +1011,14 @@ Exit codes:
1011
1011
  };
1012
1012
  }
1013
1013
  const policy = compatibility.response;
1014
- const jsonOutput = _chunkH7Q5IDO3js.isJsonOutputMode.call(void 0, );
1015
- _chunk6LG7MLJ2js.enforceSdkCompatibilityResponse.call(void 0, policy, {
1014
+ const jsonOutput = _chunkI2JIWKCQjs.isJsonOutputMode.call(void 0, );
1015
+ _chunk5OJOFUMOjs.enforceSdkCompatibilityResponse.call(void 0, policy, {
1016
1016
  quietAdvisory: jsonOutput || // The queued update already says what is about to happen.
1017
- _chunkJCWNF44Wjs.hasDeferredAutoUpdate.call(void 0, ) || maintenance === "off" || !_chunk6LG7MLJ2js.claimUpdateAdvisory.call(void 0, baseUrl)
1017
+ _chunkBDBEEV6Xjs.hasDeferredAutoUpdate.call(void 0, ) || maintenance === "off" || !_chunk5OJOFUMOjs.claimUpdateAdvisory.call(void 0, baseUrl)
1018
1018
  });
1019
1019
  const advisory = compatibility.response;
1020
- if (jsonOutput && advisory && (advisory.status === "deprecated" || advisory.status === "update_available") && !_chunk6LG7MLJ2js.isCiEnvironment.call(void 0, ) && !_chunkJCWNF44Wjs.hasDeferredAutoUpdate.call(void 0, )) {
1021
- _chunkH7Q5IDO3js.addJsonNotice.call(void 0, { code: advisory.status, message: advisory.message });
1020
+ if (jsonOutput && advisory && (advisory.status === "deprecated" || advisory.status === "update_available") && !_chunk5OJOFUMOjs.isCiEnvironment.call(void 0, ) && !_chunkBDBEEV6Xjs.hasDeferredAutoUpdate.call(void 0, )) {
1021
+ _chunkI2JIWKCQjs.addJsonNotice.call(void 0, { code: advisory.status, message: advisory.message });
1022
1022
  }
1023
1023
  return {
1024
1024
  shouldContinue: true,
@@ -1035,10 +1035,10 @@ Exit codes:
1035
1035
  const skillsUpdate = startup.response && Object.prototype.hasOwnProperty.call(startup.response, "skills") ? _nullishCoalesce(startup.response.skills, () => ( null)) : void 0;
1036
1036
  await runStartupStage(
1037
1037
  "agent skills sync",
1038
- () => _chunkND7SFRQLjs.traceCliSpan.call(void 0,
1038
+ () => _chunkU7HJXE6Yjs.traceCliSpan.call(void 0,
1039
1039
  "cli.sdk_skills_sync",
1040
1040
  { baseUrl: startup.baseUrl },
1041
- () => _chunk6LG7MLJ2js.syncSdkSkillsIfNeeded.call(void 0, startup.baseUrl, {
1041
+ () => _chunk5OJOFUMOjs.syncSdkSkillsIfNeeded.call(void 0, startup.baseUrl, {
1042
1042
  update: skillsUpdate,
1043
1043
  mode: "detached"
1044
1044
  })
@@ -1052,16 +1052,16 @@ Exit codes:
1052
1052
  );
1053
1053
  const carriesFeedback = requestedCommand === "feedback" || requestedCommand === "session" || requestedCommand === "sessions";
1054
1054
  if (carriesFeedback) suppressOutputReport();
1055
- const commandRegistrationStartedAt = _chunkND7SFRQLjs.isCliTraceEnabled.call(void 0, ) ? performance.now() : void 0;
1055
+ const commandRegistrationStartedAt = _chunkU7HJXE6Yjs.isCliTraceEnabled.call(void 0, ) ? performance.now() : void 0;
1056
1056
  await registerDeeplineCommandGroups(program, requestedCommand);
1057
1057
  if (commandRegistrationStartedAt !== void 0) {
1058
- _chunkND7SFRQLjs.recordCliTrace.call(void 0, {
1058
+ _chunkU7HJXE6Yjs.recordCliTrace.call(void 0, {
1059
1059
  phase: "cli.command_registration",
1060
1060
  ms: performance.now() - commandRegistrationStartedAt
1061
1061
  });
1062
1062
  }
1063
1063
  const { preflight, health, version } = registerDeeplineInlineCommands(program);
1064
- if (_chunkH7Q5IDO3js.isJsonOutputMode.call(void 0, )) silenceCommanderErrorOutput(program);
1064
+ if (_chunkI2JIWKCQjs.isJsonOutputMode.call(void 0, )) silenceCommanderErrorOutput(program);
1065
1065
  preflight.addHelpText(
1066
1066
  "after",
1067
1067
  `
@@ -1077,8 +1077,8 @@ Examples:
1077
1077
  `
1078
1078
  ).action(async (options) => {
1079
1079
  const data = await runPreflightCheck();
1080
- if (_chunkH7Q5IDO3js.shouldEmitJson.call(void 0, options.json)) {
1081
- _chunkH7Q5IDO3js.printJson.call(void 0, data);
1080
+ if (_chunkI2JIWKCQjs.shouldEmitJson.call(void 0, options.json)) {
1081
+ _chunkI2JIWKCQjs.printJson.call(void 0, data);
1082
1082
  } else {
1083
1083
  printPreflightHuman(data);
1084
1084
  }
@@ -1103,7 +1103,7 @@ Examples:
1103
1103
  ).action(async (options) => {
1104
1104
  if (options.playRunner) {
1105
1105
  const data = await runPlayRunnerHealthCheck();
1106
- _chunkH7Q5IDO3js.printCommandEnvelope.call(void 0, data, {
1106
+ _chunkI2JIWKCQjs.printCommandEnvelope.call(void 0, data, {
1107
1107
  json: options.json,
1108
1108
  text: `play runner: ${data.playRunner.status} (${data.playRunner.check})
1109
1109
  `
@@ -1111,15 +1111,15 @@ Examples:
1111
1111
  return;
1112
1112
  }
1113
1113
  try {
1114
- const { httpJson, readStatusBanner, statusBannerLine } = await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-W32GMYND.js")));
1115
- const baseUrl = _chunkMXQP7CXZjs.resolveBaseUrlOnly.call(void 0, );
1114
+ const { httpJson, readStatusBanner, statusBannerLine } = await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-7UJFY5BY.js")));
1115
+ const baseUrl = _chunkIIWXBRDKjs.resolveBaseUrlOnly.call(void 0, );
1116
1116
  const [{ status, data }, banner] = await Promise.all([
1117
1117
  httpJson("GET", `${baseUrl}/api/v2/health`, null),
1118
1118
  readStatusBanner(baseUrl)
1119
1119
  ]);
1120
1120
  if (status !== 200) throw new Error(`HTTP ${status}`);
1121
1121
  const lines = [`${baseUrl}: ${data.status}`, statusBannerLine(banner)];
1122
- _chunkH7Q5IDO3js.printCommandEnvelope.call(void 0,
1122
+ _chunkI2JIWKCQjs.printCommandEnvelope.call(void 0,
1123
1123
  { ...data, status_banner: banner },
1124
1124
  {
1125
1125
  json: options.json,
@@ -1147,16 +1147,16 @@ Examples:
1147
1147
  `
1148
1148
  ).action((options) => {
1149
1149
  if (options.json) {
1150
- _chunkH7Q5IDO3js.printCompactJson.call(void 0, { version: _chunk4AZLGNXVjs.SDK_VERSION });
1150
+ _chunkI2JIWKCQjs.printCompactJson.call(void 0, { version: _chunkCXZLHBNKjs.SDK_VERSION });
1151
1151
  return;
1152
1152
  }
1153
- process.stdout.write(`deepline ${_chunk4AZLGNXVjs.SDK_VERSION}
1153
+ process.stdout.write(`deepline ${_chunkCXZLHBNKjs.SDK_VERSION}
1154
1154
  `);
1155
1155
  });
1156
1156
  if (process.argv.slice(2).length === 0) {
1157
1157
  program.outputHelp({ error: true });
1158
1158
  console.error("\nerror: missing command (see usage above)");
1159
- _chunkND7SFRQLjs.recordCliTrace.call(void 0, {
1159
+ _chunkU7HJXE6Yjs.recordCliTrace.call(void 0, {
1160
1160
  phase: "cli.main_total",
1161
1161
  ms: Date.now() - mainStartedAt,
1162
1162
  ok: false,
@@ -1168,16 +1168,16 @@ Examples:
1168
1168
  const requestedTopLevelCommand = _nullishCoalesce(process.argv.slice(2)[0], () => ( ""));
1169
1169
  if (!topLevelCommandKnown(program, requestedTopLevelCommand)) {
1170
1170
  const unknownCommandMessage = `error: unknown command '${requestedTopLevelCommand}'`;
1171
- if (!_chunkH7Q5IDO3js.isJsonOutputMode.call(void 0, )) console.error(unknownCommandMessage);
1172
- const baseUrl = _chunkMXQP7CXZjs.autoDetectBaseUrl.call(void 0, );
1171
+ if (!_chunkI2JIWKCQjs.isJsonOutputMode.call(void 0, )) console.error(unknownCommandMessage);
1172
+ const baseUrl = _chunkIIWXBRDKjs.autoDetectBaseUrl.call(void 0, );
1173
1173
  await ensureTransport();
1174
1174
  const versionHint = await newerCliCommandHint(
1175
1175
  baseUrl,
1176
1176
  requestedTopLevelCommand
1177
1177
  );
1178
- if (_chunkH7Q5IDO3js.isJsonOutputMode.call(void 0, )) {
1178
+ if (_chunkI2JIWKCQjs.isJsonOutputMode.call(void 0, )) {
1179
1179
  if (versionHint) {
1180
- _chunkH7Q5IDO3js.addJsonNotice.call(void 0, { code: "newer_cli_command", message: versionHint });
1180
+ _chunkI2JIWKCQjs.addJsonNotice.call(void 0, { code: "newer_cli_command", message: versionHint });
1181
1181
  }
1182
1182
  printUsageErrorJson(
1183
1183
  "commander.unknownCommand",
@@ -1199,26 +1199,26 @@ Examples:
1199
1199
  const helpArgs = process.argv.slice(2);
1200
1200
  const helpPositionals = helpArgs.filter((arg) => !arg.startsWith("-"));
1201
1201
  if (helpPositionals.length === 0 ? helpArgs.includes("--help") || helpArgs.includes("-h") : helpPositionals.length === 1 && helpPositionals[0] === "help") {
1202
- const { authStatusLine } = await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-W32GMYND.js")));
1203
- rootHelpStatus = `Version: ${_chunk4AZLGNXVjs.SDK_VERSION}
1202
+ const { authStatusLine } = await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-7UJFY5BY.js")));
1203
+ rootHelpStatus = `Version: ${_chunkCXZLHBNKjs.SDK_VERSION}
1204
1204
  ${await authStatusLine()}
1205
1205
  `;
1206
1206
  }
1207
1207
  if ((helpArgs.includes("--help") || helpArgs.includes("-h")) && helpPositionals.length >= 2) {
1208
- const { CONCURRENT_RUNS_HELP_COMMANDS, concurrentRunsHelpStatus: read } = await Promise.resolve().then(() => _interopRequireWildcard(require("./concurrent-runs-help-6QT7ZR4W.js")));
1208
+ const { CONCURRENT_RUNS_HELP_COMMANDS, concurrentRunsHelpStatus: read } = await Promise.resolve().then(() => _interopRequireWildcard(require("./concurrent-runs-help-A2IQVZRJ.js")));
1209
1209
  if (CONCURRENT_RUNS_HELP_COMMANDS.has(helpPositionals.slice(0, 2).join(" "))) {
1210
1210
  await ensureTransport();
1211
1211
  concurrentRunsHelpStatus = await read();
1212
1212
  }
1213
1213
  }
1214
1214
  await program.parseAsync(process.argv);
1215
- _chunkND7SFRQLjs.recordCliTrace.call(void 0, {
1215
+ _chunkU7HJXE6Yjs.recordCliTrace.call(void 0, {
1216
1216
  phase: "cli.main_total",
1217
1217
  ms: Date.now() - mainStartedAt,
1218
1218
  ok: true
1219
1219
  });
1220
1220
  if (!carriesFeedback) {
1221
- await _chunkH7Q5IDO3js.maybeReportSdkCliFailure.call(void 0, {
1221
+ await _chunkI2JIWKCQjs.maybeReportSdkCliFailure.call(void 0, {
1222
1222
  argv: process.argv.slice(2),
1223
1223
  startedAtMs: mainStartedAt,
1224
1224
  exitCode: typeof process.exitCode === "number" ? process.exitCode : null
@@ -1227,14 +1227,14 @@ ${await authStatusLine()}
1227
1227
  } catch (error) {
1228
1228
  commandFailed = true;
1229
1229
  const commanderError = asCommanderError(error);
1230
- _chunkND7SFRQLjs.recordCliTrace.call(void 0, {
1230
+ _chunkU7HJXE6Yjs.recordCliTrace.call(void 0, {
1231
1231
  phase: "cli.main_total",
1232
1232
  ms: Date.now() - mainStartedAt,
1233
1233
  ok: false,
1234
1234
  error: error instanceof Error ? error.message : String(error)
1235
1235
  });
1236
1236
  _optionalChain([progress, 'optionalAccess', _20 => _20.fail, 'call', _21 => _21()]);
1237
- const wantsJson = _chunkH7Q5IDO3js.isJsonOutputMode.call(void 0, );
1237
+ const wantsJson = _chunkI2JIWKCQjs.isJsonOutputMode.call(void 0, );
1238
1238
  if (commanderError) {
1239
1239
  const grammarError = [
1240
1240
  "commander.unknownCommand",
@@ -1245,12 +1245,12 @@ ${await authStatusLine()}
1245
1245
  if (grammarError) {
1246
1246
  await ensureTransport();
1247
1247
  const versionHint = await newerCliCommandHint(
1248
- _chunkMXQP7CXZjs.autoDetectBaseUrl.call(void 0, ),
1248
+ _chunkIIWXBRDKjs.autoDetectBaseUrl.call(void 0, ),
1249
1249
  commandPath
1250
1250
  );
1251
1251
  if (wantsJson) {
1252
1252
  if (versionHint) {
1253
- _chunkH7Q5IDO3js.addJsonNotice.call(void 0, { code: "newer_cli_command", message: versionHint });
1253
+ _chunkI2JIWKCQjs.addJsonNotice.call(void 0, { code: "newer_cli_command", message: versionHint });
1254
1254
  }
1255
1255
  } else {
1256
1256
  if (versionHint) console.error(versionHint);
@@ -1270,43 +1270,43 @@ ${await authStatusLine()}
1270
1270
  return;
1271
1271
  } else if (wantsJson) {
1272
1272
  if (error instanceof _chunkEITMD3A5js.AuthError) {
1273
- _chunkH7Q5IDO3js.addJsonNotice.call(void 0, {
1273
+ _chunkI2JIWKCQjs.addJsonNotice.call(void 0, {
1274
1274
  code: "auth_required",
1275
1275
  message: `Not authenticated. Run: ${AUTH_RECOVERY_COMMAND}`
1276
1276
  });
1277
1277
  }
1278
- const providerConcurrency = _chunkH7Q5IDO3js.formatProviderConcurrencyDiagnostic.call(void 0, error);
1278
+ const providerConcurrency = _chunkI2JIWKCQjs.formatProviderConcurrencyDiagnostic.call(void 0, error);
1279
1279
  if (providerConcurrency) {
1280
- _chunkH7Q5IDO3js.addJsonNotice.call(void 0, {
1280
+ _chunkI2JIWKCQjs.addJsonNotice.call(void 0, {
1281
1281
  code: "provider_concurrency",
1282
1282
  message: providerConcurrency
1283
1283
  });
1284
1284
  }
1285
- const payload = _chunkH7Q5IDO3js.errorToJsonPayload.call(void 0, error);
1286
- _chunkH7Q5IDO3js.printJson.call(void 0, {
1285
+ const payload = _chunkI2JIWKCQjs.errorToJsonPayload.call(void 0, error);
1286
+ _chunkI2JIWKCQjs.printJson.call(void 0, {
1287
1287
  ...payload,
1288
1288
  // The envelope names the code the process exits with, so a caller
1289
1289
  // that only reads stdout still cannot mistake a failure for data.
1290
- exitCode: _nullishCoalesce(payload.exitCode, () => ( _chunkH7Q5IDO3js.resolveSdkCliFailureExitCode.call(void 0, error))),
1290
+ exitCode: _nullishCoalesce(payload.exitCode, () => ( _chunkI2JIWKCQjs.resolveSdkCliFailureExitCode.call(void 0, error))),
1291
1291
  ...error instanceof _chunkEITMD3A5js.AuthError ? { next: AUTH_RECOVERY_COMMAND } : {}
1292
1292
  });
1293
1293
  } else if (error instanceof Error) {
1294
1294
  console.error(`Error: ${error.message}`);
1295
- const toolDiagnostic = _chunkH7Q5IDO3js.formatToolExecutionErrorDiagnostic.call(void 0, error);
1295
+ const toolDiagnostic = _chunkI2JIWKCQjs.formatToolExecutionErrorDiagnostic.call(void 0, error);
1296
1296
  if (toolDiagnostic) console.error(toolDiagnostic);
1297
1297
  if (error instanceof _chunkEITMD3A5js.AuthError) {
1298
1298
  console.error(`Not authenticated. Run: ${AUTH_RECOVERY_COMMAND}`);
1299
1299
  }
1300
- const providerConcurrency = _chunkH7Q5IDO3js.formatProviderConcurrencyDiagnostic.call(void 0, error);
1300
+ const providerConcurrency = _chunkI2JIWKCQjs.formatProviderConcurrencyDiagnostic.call(void 0, error);
1301
1301
  if (providerConcurrency) console.error(providerConcurrency);
1302
1302
  } else {
1303
1303
  console.error(`Error: ${String(error)}`);
1304
1304
  }
1305
1305
  const explicitExitCode = error && typeof error === "object" && typeof error.exitCode === "number" ? error.exitCode : void 0;
1306
- const failureExitCode = _nullishCoalesce(explicitExitCode, () => ( _chunkH7Q5IDO3js.resolveSdkCliFailureExitCode.call(void 0, error)));
1306
+ const failureExitCode = _nullishCoalesce(explicitExitCode, () => ( _chunkI2JIWKCQjs.resolveSdkCliFailureExitCode.call(void 0, error)));
1307
1307
  process.exitCode = failureExitCode;
1308
1308
  if (!carriesFeedback) {
1309
- await _chunkH7Q5IDO3js.maybeReportSdkCliFailure.call(void 0, {
1309
+ await _chunkI2JIWKCQjs.maybeReportSdkCliFailure.call(void 0, {
1310
1310
  argv: process.argv.slice(2),
1311
1311
  startedAtMs: mainStartedAt,
1312
1312
  exitCode: failureExitCode,
@@ -1314,13 +1314,13 @@ ${await authStatusLine()}
1314
1314
  });
1315
1315
  }
1316
1316
  } finally {
1317
- _chunkJCWNF44Wjs.finishToolExecuteCommand.call(void 0, );
1317
+ _chunkBDBEEV6Xjs.finishToolExecuteCommand.call(void 0, );
1318
1318
  const maintainInlinePlay = deferredMaintenance.inlinePlay;
1319
1319
  deferredMaintenance.inlinePlay = null;
1320
1320
  if (commandFailed || typeof process.exitCode === "number" && process.exitCode !== 0) {
1321
1321
  await _optionalChain([maintainInlinePlay, 'optionalCall', _22 => _22()]);
1322
1322
  }
1323
- await _chunkJCWNF44Wjs.runDeferredAutoUpdate.call(void 0, );
1323
+ await _chunkBDBEEV6Xjs.runDeferredAutoUpdate.call(void 0, );
1324
1324
  }
1325
1325
  process.exitCode = _nullishCoalesce(process.exitCode, () => ( 0));
1326
1326
  }
@@ -1328,7 +1328,7 @@ async function main() {
1328
1328
  let disposeTransport;
1329
1329
  const ensureTransport = async () => {
1330
1330
  if (disposeTransport) return;
1331
- const transportStartedAt = _chunkND7SFRQLjs.isCliTraceEnabled.call(void 0, ) ? performance.now() : void 0;
1331
+ const transportStartedAt = _chunkU7HJXE6Yjs.isCliTraceEnabled.call(void 0, ) ? performance.now() : void 0;
1332
1332
  const hasProxy = [
1333
1333
  "HTTP_PROXY",
1334
1334
  "http_proxy",
@@ -1340,7 +1340,7 @@ async function main() {
1340
1340
  disposeTransport = configureCliTransport();
1341
1341
  }
1342
1342
  if (transportStartedAt !== void 0) {
1343
- _chunkND7SFRQLjs.recordCliTrace.call(void 0, {
1343
+ _chunkU7HJXE6Yjs.recordCliTrace.call(void 0, {
1344
1344
  phase: "cli.transport_setup",
1345
1345
  ms: performance.now() - transportStartedAt
1346
1346
  });
@@ -1363,9 +1363,9 @@ async function main() {
1363
1363
  skipOutputReport = true;
1364
1364
  }
1365
1365
  );
1366
- const silentFailure = _chunkH7Q5IDO3js.takeSilentJsonFailureMessage.call(void 0, process.exitCode);
1366
+ const silentFailure = _chunkI2JIWKCQjs.takeSilentJsonFailureMessage.call(void 0, process.exitCode);
1367
1367
  if (silentFailure) {
1368
- _chunkH7Q5IDO3js.printJson.call(void 0, {
1368
+ _chunkI2JIWKCQjs.printJson.call(void 0, {
1369
1369
  ok: false,
1370
1370
  exitCode: Number(process.exitCode),
1371
1371
  error: { code: "CLI_ERROR", message: silentFailure }