deepline 0.3.573 → 0.3.574

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 (169) hide show
  1. package/dist/bundling-sources/sdk/src/config.ts +19 -0
  2. package/dist/bundling-sources/sdk/src/play.ts +7 -4
  3. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  4. package/dist/bundling-sources/sdk/src/types.ts +8 -0
  5. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-launch-transport.ts +43 -7
  6. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-payload-transport.ts +56 -20
  7. package/dist/cli/agents-6WN5LYUP.mjs +833 -0
  8. package/dist/cli/agents-7ZZSF4FS.js +833 -0
  9. package/dist/cli/{auth-XX3HLRQ2.mjs → auth-I2QVO677.mjs} +5 -5
  10. package/dist/cli/auth-UKPV5U2B.js +44 -0
  11. package/dist/cli/{billing-6TY2HMC6.js → billing-44QFBUWA.js} +106 -106
  12. package/dist/cli/{billing-QASEPOBL.mjs → billing-YPH4GEWU.mjs} +10 -10
  13. package/dist/cli/{chunk-GWPXWKQR.js → chunk-2QYU57RG.js} +15 -7
  14. package/dist/cli/{chunk-OPD6XUIG.js → chunk-2RPRSTHD.js} +5 -5
  15. package/dist/cli/{chunk-DSE45YP4.mjs → chunk-2TMAKJBT.mjs} +2 -2
  16. package/dist/cli/{chunk-PW3PADXI.mjs → chunk-4T2U72SP.mjs} +1 -1
  17. package/dist/cli/{chunk-JAW75RAO.js → chunk-5E2PAGF5.js} +27 -20
  18. package/dist/cli/{chunk-X3BGF6UU.js → chunk-6B5EZOI3.js} +10 -10
  19. package/dist/cli/{chunk-UBTEDSIK.js → chunk-6GZIT3TH.js} +20 -20
  20. package/dist/cli/{chunk-N5VL6BHF.mjs → chunk-7334X74C.mjs} +2 -2
  21. package/dist/cli/{chunk-TNCJ2J76.js → chunk-7GQU46SZ.js} +26 -26
  22. package/dist/cli/{chunk-KQZBN7TB.js → chunk-7UR57HPJ.js} +1 -1
  23. package/dist/cli/{chunk-6ASDTHEN.js → chunk-AFPGYZBH.js} +21 -17
  24. package/dist/cli/{chunk-QFDT35HF.mjs → chunk-B2XLIQPH.mjs} +3 -3
  25. package/dist/cli/{chunk-DIZI5YGW.js → chunk-BUBOZKH2.js} +2 -2
  26. package/dist/cli/{chunk-Z6KWSBOX.js → chunk-D6ZVRKJ2.js} +41 -41
  27. package/dist/cli/{chunk-CY3BUFMG.js → chunk-DG56RWI2.js} +2 -2
  28. package/dist/cli/{chunk-TJSKDOXN.js → chunk-DOZIWA66.js} +7 -7
  29. package/dist/cli/{chunk-LPYUGPTF.mjs → chunk-DX646HO7.mjs} +4 -4
  30. package/dist/cli/{chunk-YKHXWO7N.js → chunk-ECLCRE5P.js} +3 -3
  31. package/dist/cli/{chunk-OG3YWDYA.js → chunk-G2HW2SAP.js} +13 -13
  32. package/dist/cli/{chunk-QDQOXHXQ.mjs → chunk-G7OR3GVD.mjs} +5 -5
  33. package/dist/cli/{chunk-ROSPYLDN.mjs → chunk-GMQZFWQU.mjs} +17 -10
  34. package/dist/cli/{chunk-UZLTBBAG.js → chunk-H7PVSG3L.js} +15 -15
  35. package/dist/cli/{chunk-WQEGXOUT.js → chunk-I62ZBEKH.js} +48 -48
  36. package/dist/cli/{chunk-5NEJOCOK.mjs → chunk-IA2LTIWO.mjs} +2 -2
  37. package/dist/cli/{chunk-DLWVJ66I.js → chunk-IB225ZK4.js} +4 -4
  38. package/dist/cli/{chunk-FUVVTHXE.js → chunk-ID3LGPOE.js} +23 -23
  39. package/dist/cli/{chunk-LHPYCJNL.js → chunk-IXYVHTRZ.js} +19 -6
  40. package/dist/cli/{chunk-64MOX3SN.mjs → chunk-JCO226JM.mjs} +111 -2
  41. package/dist/cli/{chunk-JCVAVHDP.mjs → chunk-JY7RKJ65.mjs} +21 -16
  42. package/dist/cli/{chunk-N6KF6X3D.js → chunk-KSHZY52O.js} +114 -5
  43. package/dist/cli/{chunk-BM4GE67C.mjs → chunk-L2NXB4WG.mjs} +19 -6
  44. package/dist/cli/{chunk-4K6UVILG.mjs → chunk-LCAXLGAY.mjs} +2 -2
  45. package/dist/cli/{chunk-XWO4J34B.js → chunk-LJLM4BUL.js} +6 -6
  46. package/dist/cli/{chunk-T2QI52F2.mjs → chunk-LLSCFLFU.mjs} +1 -1
  47. package/dist/cli/{chunk-C52RRBYB.mjs → chunk-MAMGREBW.mjs} +1 -1
  48. package/dist/cli/{chunk-NUH56LTU.mjs → chunk-MGF3MK27.mjs} +5 -5
  49. package/dist/cli/{chunk-FXLVMWWA.js → chunk-N6I3BB2O.js} +280 -275
  50. package/dist/cli/{chunk-UNTBQY64.js → chunk-NDDGFX4X.js} +11 -11
  51. package/dist/cli/{chunk-NJTTRJ32.mjs → chunk-NRVEVKXR.mjs} +2 -2
  52. package/dist/cli/{chunk-IXCGWJJZ.mjs → chunk-OH6WOID2.mjs} +2 -2
  53. package/dist/cli/{chunk-WSXRJ2RZ.mjs → chunk-OIZUFRTE.mjs} +3 -3
  54. package/dist/cli/{chunk-2USXCXPZ.js → chunk-PP5RMEQQ.js} +5 -5
  55. package/dist/cli/{chunk-ANSHNREL.mjs → chunk-PW6NKI2A.mjs} +3 -3
  56. package/dist/cli/{chunk-ENHQBPR5.mjs → chunk-Q3A53SWK.mjs} +4 -3
  57. package/dist/cli/{chunk-XLN4Z654.mjs → chunk-QPSBV4FD.mjs} +2 -2
  58. package/dist/cli/{chunk-4LWBURSS.mjs → chunk-S22FSNNC.mjs} +1 -1
  59. package/dist/cli/{chunk-KART6FR6.js → chunk-SLXCVPN7.js} +2 -2
  60. package/dist/cli/{chunk-MQOJ7SP4.mjs → chunk-SRUNYWQ2.mjs} +9 -1
  61. package/dist/cli/{chunk-XVFRNNL2.js → chunk-UXIUAIL2.js} +53 -53
  62. package/dist/cli/{chunk-M2UJWUWX.mjs → chunk-VGIDPJXM.mjs} +3 -3
  63. package/dist/cli/{chunk-IZK2BLBW.js → chunk-VLUBEMWM.js} +20 -20
  64. package/dist/cli/{chunk-N3VZTISZ.js → chunk-VYSUJMB5.js} +8 -8
  65. package/dist/cli/{chunk-6JTJP3WO.mjs → chunk-W6UCS3O6.mjs} +5 -5
  66. package/dist/cli/{chunk-XAIXTB74.mjs → chunk-X7RKCAMX.mjs} +4 -4
  67. package/dist/cli/{chunk-TBLP7HDL.js → chunk-XMBTAPHR.js} +10 -9
  68. package/dist/cli/{chunk-ESKNCTFI.mjs → chunk-XVBEEGI4.mjs} +1 -1
  69. package/dist/cli/{chunk-5MCC4D25.mjs → chunk-YR4REP4D.mjs} +1 -1
  70. package/dist/cli/{chunk-KQLIG4YR.js → chunk-Z3XFXFRT.js} +9 -9
  71. package/dist/cli/{chunk-ENLJ67CZ.mjs → chunk-ZFXDD7VM.mjs} +1 -1
  72. package/dist/cli/{chunk-HUJMFETO.mjs → chunk-ZTCP5BHH.mjs} +7 -3
  73. package/dist/cli/command-docs.js +3 -3
  74. package/dist/cli/command-docs.mjs +2 -2
  75. package/dist/cli/concurrent-runs-help-BFVCUJF4.js +22 -0
  76. package/dist/cli/{concurrent-runs-help-IILHMHBX.mjs → concurrent-runs-help-ROQM6UB3.mjs} +7 -7
  77. package/dist/cli/{csv-OSJQVDAS.js → csv-FWGSY4GE.js} +13 -13
  78. package/dist/cli/{csv-VGYW2PQZ.mjs → csv-R7GV33BC.mjs} +4 -4
  79. package/dist/cli/{db-2IMS6K2F.js → db-OCH35YJG.js} +27 -27
  80. package/dist/cli/{db-3IQYT3WD.mjs → db-UWXA4RRV.mjs} +6 -6
  81. package/dist/cli/describe-6OI5K2SH.js +50 -0
  82. package/dist/cli/{describe-IGJ4CHUC.mjs → describe-QI4HMUGE.mjs} +21 -21
  83. package/dist/cli/describe-core.d.mts +4 -2
  84. package/dist/cli/describe-core.d.ts +4 -2
  85. package/dist/cli/describe-core.js +4 -4
  86. package/dist/cli/describe-core.mjs +3 -3
  87. package/dist/cli/{executions-VOJN4NPF.js → executions-7CFGC24E.js} +8 -8
  88. package/dist/cli/{executions-6F3PLVCR.mjs → executions-YF3KMZZN.mjs} +6 -6
  89. package/dist/cli/{feedback-BP5G27DT.mjs → feedback-DWIWBS7O.mjs} +6 -6
  90. package/dist/cli/{feedback-5N7GKSMC.js → feedback-YCZHHSBS.js} +14 -14
  91. package/dist/cli/git-TGLNZRS3.js +26 -0
  92. package/dist/cli/{git-FHNCP7QA.mjs → git-XCGMQQOD.mjs} +5 -5
  93. package/dist/cli/index.js +152 -148
  94. package/dist/cli/index.mjs +51 -47
  95. package/dist/cli/{integrations-KKCEEWDU.mjs → integrations-5ABAJBSW.mjs} +7 -7
  96. package/dist/cli/{integrations-JZV55BZT.js → integrations-IEZA3TGK.js} +29 -29
  97. package/dist/cli/{legacy-noops-OVOHF47E.js → legacy-noops-KNFLJ5P2.js} +9 -9
  98. package/dist/cli/{legacy-noops-YOPWDLRG.mjs → legacy-noops-OZMY73Y3.mjs} +6 -6
  99. package/dist/cli/{mcp-F2XGBA6W.js → mcp-NLQAO7KP.js} +24 -24
  100. package/dist/cli/{mcp-SJAXFYTI.mjs → mcp-WSPFKQPZ.mjs} +4 -4
  101. package/dist/cli/{monitors-RQRNQRYB.js → monitors-BJYOB4S3.js} +100 -100
  102. package/dist/cli/{monitors-PFH3FQLD.mjs → monitors-LPKFFTOX.mjs} +7 -7
  103. package/dist/cli/{org-PZC6SUZD.mjs → org-RYPMUYUW.mjs} +6 -6
  104. package/dist/cli/{org-WPOEKMTG.js → org-WIVHI4WT.js} +121 -121
  105. package/dist/cli/{outcomes-ZS7XD3KQ.mjs → outcomes-FADJYC4I.mjs} +9 -7
  106. package/dist/cli/{outcomes-EXOCNHOC.js → outcomes-QKX7IE3O.js} +17 -15
  107. package/dist/cli/{play-UKSRFVIU.mjs → play-4ZKK5Q7U.mjs} +88 -33
  108. package/dist/cli/{play-JS2TEEE7.js → play-ID73J3NP.js} +393 -338
  109. package/dist/cli/{providers-U6IODPMJ.mjs → providers-LURYBSNO.mjs} +6 -6
  110. package/dist/cli/{providers-3U4MWBLU.js → providers-WCCGYGW6.js} +9 -9
  111. package/dist/cli/{quickstart-G5QN5CUE.mjs → quickstart-KCCSEE5J.mjs} +4 -4
  112. package/dist/cli/{quickstart-SHBAEDX6.js → quickstart-LVPOU25V.js} +6 -6
  113. package/dist/cli/{run-SZRKNLUT.js → run-2QMJRCVA.js} +48 -48
  114. package/dist/cli/{run-3ZOJ6V7C.mjs → run-XXK7DDUF.mjs} +26 -26
  115. package/dist/cli/search-AQSAXA6D.js +32 -0
  116. package/dist/cli/{search-2VX5WNMJ.mjs → search-ZYAWW3CK.mjs} +7 -7
  117. package/dist/cli/{search-output-U5N2O6IA.mjs → search-output-N45AIOB4.mjs} +9 -6
  118. package/dist/cli/{search-output-WGDHYYHX.js → search-output-YNXAZSKT.js} +12 -9
  119. package/dist/cli/{secrets-SQKP5ILO.mjs → secrets-7Q3AOUAS.mjs} +6 -6
  120. package/dist/cli/{secrets-UITJOGVQ.js → secrets-MHT27L2M.js} +15 -15
  121. package/dist/cli/{sessions-LSXO2OKX.mjs → sessions-6QKOM7M3.mjs} +6 -6
  122. package/dist/cli/sessions-RGD7L4LC.js +23 -0
  123. package/dist/cli/{settings-YGYRDPOK.mjs → settings-NPVIDENI.mjs} +12 -12
  124. package/dist/cli/{settings-VZI675JG.js → settings-OP7Q6YX6.js} +85 -85
  125. package/dist/cli/{setup-GXGXRWKN.mjs → setup-OOT3EIMF.mjs} +9 -9
  126. package/dist/cli/{setup-OJ33NOWK.js → setup-RT6GHL3W.js} +49 -49
  127. package/dist/cli/skills-ERAA734H.js +37 -0
  128. package/dist/cli/{skills-3VDYIFAX.mjs → skills-TEXI4CLZ.mjs} +7 -7
  129. package/dist/cli/tools-D5SZSIIH.js +57 -0
  130. package/dist/cli/{tools-3TKEGDBP.mjs → tools-G5L36M3X.mjs} +19 -19
  131. package/dist/cli/update-WZ6527EF.js +37 -0
  132. package/dist/cli/{update-K6A4QXTC.mjs → update-YNKQTE4D.mjs} +9 -9
  133. package/dist/cli/{views-2PPIVWDK.mjs → views-IQFMUMLU.mjs} +6 -6
  134. package/dist/cli/{views-SGGO77XS.js → views-OVQ5AQAU.js} +21 -21
  135. package/dist/cli/{workflow-YSFOOTPB.js → workflow-RCBYXIFZ.js} +17 -17
  136. package/dist/cli/{workflow-JTG6QEFO.mjs → workflow-Y5IFMI7N.mjs} +7 -7
  137. package/dist/{client-DCnExziW.d.ts → client-BrdMPFCM.d.ts} +1 -1
  138. package/dist/{client-ClJlqkKt.d.mts → client-CF-bsrtI.d.mts} +1 -1
  139. package/dist/{client-core-DAOPQnGD.d.mts → client-core-DM1ZedOG.d.mts} +8 -0
  140. package/dist/{client-core-BKq5ZNAl.d.ts → client-core-rMoUWSYM.d.ts} +8 -0
  141. package/dist/index.d.mts +3 -3
  142. package/dist/index.d.ts +3 -3
  143. package/dist/index.js +9 -9
  144. package/dist/index.mjs +6 -6
  145. package/dist/install-integrity.json +128 -126
  146. package/dist/plays/play-description.d.mts +1 -1
  147. package/dist/plays/play-description.d.ts +1 -1
  148. package/dist/plays/run-request.d.mts +1 -1
  149. package/dist/plays/run-request.d.ts +1 -1
  150. package/dist/release.d.mts +1 -1
  151. package/dist/release.d.ts +1 -1
  152. package/dist/release.js +2 -2
  153. package/dist/release.mjs +1 -1
  154. package/dist/server.d.mts +2 -2
  155. package/dist/server.d.ts +2 -2
  156. package/dist/server.js +5 -5
  157. package/dist/server.mjs +3 -3
  158. package/package.json +1 -1
  159. package/dist/cli/auth-DGR7ZQJL.js +0 -44
  160. package/dist/cli/concurrent-runs-help-HEIDXAM2.js +0 -22
  161. package/dist/cli/describe-LBU4I6SU.js +0 -50
  162. package/dist/cli/git-JUSPUUOH.js +0 -26
  163. package/dist/cli/search-TAFMLK4K.js +0 -32
  164. package/dist/cli/sessions-RA6FBIHJ.js +0 -23
  165. package/dist/cli/skills-J5QVWKLQ.js +0 -37
  166. package/dist/cli/tools-3PQXQGXL.js +0 -57
  167. package/dist/cli/update-CA3DZ75E.js +0 -37
  168. /package/dist/cli/{chunk-2RIKOPIM.mjs → chunk-HECXJBED.mjs} +0 -0
  169. /package/dist/cli/{chunk-H4ALLC2X.js → chunk-TJCENACZ.js} +0 -0
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 _chunkXWO4J34Bjs = require('./chunk-XWO4J34B.js');
4
+ var _chunkLJLM4BULjs = require('./chunk-LJLM4BUL.js');
5
5
 
6
6
 
7
- var _chunkDIZI5YGWjs = require('./chunk-DIZI5YGW.js');
7
+ var _chunkBUBOZKH2js = require('./chunk-BUBOZKH2.js');
8
8
 
9
9
 
10
10
 
@@ -13,17 +13,17 @@ var _chunkDIZI5YGWjs = require('./chunk-DIZI5YGW.js');
13
13
 
14
14
 
15
15
 
16
- var _chunkFUVVTHXEjs = require('./chunk-FUVVTHXE.js');
16
+ var _chunkID3LGPOEjs = require('./chunk-ID3LGPOE.js');
17
17
 
18
18
 
19
19
 
20
20
 
21
21
 
22
22
 
23
- var _chunkKART6FR6js = require('./chunk-KART6FR6.js');
24
- require('./chunk-UBTEDSIK.js');
25
- require('./chunk-CY3BUFMG.js');
26
- require('./chunk-Z6KWSBOX.js');
23
+ var _chunkSLXCVPN7js = require('./chunk-SLXCVPN7.js');
24
+ require('./chunk-6GZIT3TH.js');
25
+ require('./chunk-DG56RWI2.js');
26
+ require('./chunk-D6ZVRKJ2.js');
27
27
 
28
28
 
29
29
 
@@ -35,16 +35,16 @@ require('./chunk-Z6KWSBOX.js');
35
35
 
36
36
 
37
37
 
38
- var _chunkWQEGXOUTjs = require('./chunk-WQEGXOUT.js');
38
+ var _chunkI62ZBEKHjs = require('./chunk-I62ZBEKH.js');
39
39
 
40
40
 
41
- var _chunkYKHXWO7Njs = require('./chunk-YKHXWO7N.js');
41
+ var _chunkECLCRE5Pjs = require('./chunk-ECLCRE5P.js');
42
42
 
43
43
 
44
44
 
45
45
 
46
- var _chunkN6KF6X3Djs = require('./chunk-N6KF6X3D.js');
47
- require('./chunk-H4ALLC2X.js');
46
+ var _chunkKSHZY52Ojs = require('./chunk-KSHZY52O.js');
47
+ require('./chunk-TJCENACZ.js');
48
48
  require('./chunk-E2G2DNAB.js');
49
49
  require('./chunk-YGCKMI5P.js');
50
50
 
@@ -65,7 +65,7 @@ require('./chunk-YGCKMI5P.js');
65
65
 
66
66
 
67
67
 
68
- var _chunkIZK2BLBWjs = require('./chunk-IZK2BLBW.js');
68
+ var _chunkVLUBEMWMjs = require('./chunk-VLUBEMWM.js');
69
69
 
70
70
 
71
71
 
@@ -73,19 +73,19 @@ var _chunkIZK2BLBWjs = require('./chunk-IZK2BLBW.js');
73
73
 
74
74
 
75
75
 
76
- var _chunkGWPXWKQRjs = require('./chunk-GWPXWKQR.js');
76
+ var _chunk2QYU57RGjs = require('./chunk-2QYU57RG.js');
77
77
 
78
78
 
79
79
 
80
80
 
81
- var _chunkDLWVJ66Ijs = require('./chunk-DLWVJ66I.js');
81
+ var _chunkIB225ZK4js = require('./chunk-IB225ZK4.js');
82
82
 
83
83
 
84
84
  var _chunk6VLFQZK6js = require('./chunk-6VLFQZK6.js');
85
85
  require('./chunk-XNYIZMNQ.js');
86
86
  require('./chunk-LFQJW4S2.js');
87
87
  require('./chunk-CFJFUVX2.js');
88
- require('./chunk-KQZBN7TB.js');
88
+ require('./chunk-7UR57HPJ.js');
89
89
  require('./chunk-OG64RBAC.js');
90
90
  require('./chunk-RLX5ZFNX.js');
91
91
  require('./chunk-COGTRVWW.js');
@@ -166,68 +166,72 @@ var _os = require('os');
166
166
  var COMMAND_GROUPS = [
167
167
  {
168
168
  names: ["auth"],
169
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-DGR7ZQJL.js")))).registerAuthCommands
169
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-UKPV5U2B.js")))).registerAuthCommands
170
170
  },
171
171
  {
172
172
  names: ["providers"],
173
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./providers-3U4MWBLU.js")))).registerProviderCommands
173
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./providers-WCCGYGW6.js")))).registerProviderCommands
174
174
  },
175
175
  {
176
176
  names: ["integrations"],
177
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./integrations-JZV55BZT.js")))).registerIntegrationsCommands
177
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./integrations-IEZA3TGK.js")))).registerIntegrationsCommands
178
178
  },
179
179
  {
180
180
  names: ["search"],
181
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./search-TAFMLK4K.js")))).registerSearchCommand
181
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./search-AQSAXA6D.js")))).registerSearchCommand
182
182
  },
183
183
  {
184
184
  names: ["describe"],
185
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-LBU4I6SU.js")))).registerDescribeCommand
185
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-6OI5K2SH.js")))).registerDescribeCommand
186
186
  },
187
187
  {
188
188
  names: ["run"],
189
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./run-SZRKNLUT.js")))).registerRunCommand
189
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./run-2QMJRCVA.js")))).registerRunCommand
190
190
  },
191
191
  {
192
192
  names: ["tools"],
193
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-3PQXQGXL.js")))).registerToolsCommands
193
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-D5SZSIIH.js")))).registerToolsCommands
194
194
  },
195
195
  {
196
196
  names: ["executions"],
197
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./executions-VOJN4NPF.js")))).registerExecutionsCommands
197
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./executions-7CFGC24E.js")))).registerExecutionsCommands
198
198
  },
199
199
  {
200
200
  names: ["plays", "runs"],
201
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./play-JS2TEEE7.js")))).registerPlayCommands
201
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./play-ID73J3NP.js")))).registerPlayCommands
202
202
  },
203
203
  {
204
204
  names: ["sessions"],
205
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./sessions-RA6FBIHJ.js")))).registerSessionsCommands
205
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./sessions-RGD7L4LC.js")))).registerSessionsCommands
206
206
  },
207
207
  {
208
208
  names: ["workflows"],
209
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./workflow-YSFOOTPB.js")))).registerWorkflowCommands
209
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./workflow-RCBYXIFZ.js")))).registerWorkflowCommands
210
210
  },
211
211
  {
212
212
  names: ["outcomes"],
213
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./outcomes-EXOCNHOC.js")))).registerOutcomesCommands
213
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./outcomes-QKX7IE3O.js")))).registerOutcomesCommands
214
214
  },
215
215
  {
216
216
  names: ["views"],
217
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./views-SGGO77XS.js")))).registerViewsCommands
217
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./views-OVQ5AQAU.js")))).registerViewsCommands
218
218
  },
219
219
  {
220
220
  names: ["secrets"],
221
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./secrets-UITJOGVQ.js")))).registerSecretsCommands
221
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./secrets-MHT27L2M.js")))).registerSecretsCommands
222
222
  },
223
223
  {
224
224
  names: ["mcp"],
225
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./mcp-F2XGBA6W.js")))).registerMcpCommands
225
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./mcp-NLQAO7KP.js")))).registerMcpCommands
226
+ },
227
+ {
228
+ names: ["agents"],
229
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./agents-7ZZSF4FS.js")))).registerAgentsCommands
226
230
  },
227
231
  {
228
232
  names: ["settings", "notifications"],
229
233
  load: async () => {
230
- const commands = await Promise.resolve().then(() => _interopRequireWildcard(require("./settings-VZI675JG.js")));
234
+ const commands = await Promise.resolve().then(() => _interopRequireWildcard(require("./settings-OP7Q6YX6.js")));
231
235
  return (p) => {
232
236
  commands.registerSettingsCommands(p);
233
237
  commands.registerNotificationCommands(p);
@@ -236,51 +240,51 @@ var COMMAND_GROUPS = [
236
240
  },
237
241
  {
238
242
  names: ["billing"],
239
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./billing-6TY2HMC6.js")))).registerBillingCommands
243
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./billing-44QFBUWA.js")))).registerBillingCommands
240
244
  },
241
245
  {
242
246
  names: ["monitors"],
243
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./monitors-RQRNQRYB.js")))).registerMonitorsCommands
247
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./monitors-BJYOB4S3.js")))).registerMonitorsCommands
244
248
  },
245
249
  {
246
250
  names: ["org"],
247
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./org-WPOEKMTG.js")))).registerOrgCommands
251
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./org-WIVHI4WT.js")))).registerOrgCommands
248
252
  },
249
253
  {
250
254
  names: ["git", "projects", "deployments"],
251
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./git-JUSPUUOH.js")))).registerGitCommands
255
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./git-TGLNZRS3.js")))).registerGitCommands
252
256
  },
253
257
  {
254
258
  names: ["csv"],
255
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./csv-OSJQVDAS.js")))).registerCsvCommands
259
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./csv-FWGSY4GE.js")))).registerCsvCommands
256
260
  },
257
261
  {
258
262
  names: ["db"],
259
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./db-2IMS6K2F.js")))).registerDbCommands
263
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./db-OCH35YJG.js")))).registerDbCommands
260
264
  },
261
265
  {
262
266
  names: ["feedback"],
263
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./feedback-5N7GKSMC.js")))).registerFeedbackCommands
267
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./feedback-YCZHHSBS.js")))).registerFeedbackCommands
264
268
  },
265
269
  {
266
270
  names: ["enrich", "session", "backend"],
267
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./legacy-noops-OVOHF47E.js")))).registerDeprecatedCommands
271
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./legacy-noops-KNFLJ5P2.js")))).registerDeprecatedCommands
268
272
  },
269
273
  {
270
274
  names: ["update"],
271
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./update-CA3DZ75E.js")))).registerUpdateCommand
275
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./update-WZ6527EF.js")))).registerUpdateCommand
272
276
  },
273
277
  {
274
278
  names: ["skills", "skills-auto-sync"],
275
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./skills-J5QVWKLQ.js")))).registerSkillsCommand
279
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./skills-ERAA734H.js")))).registerSkillsCommand
276
280
  },
277
281
  {
278
282
  names: ["setup", "doctor"],
279
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./setup-OJ33NOWK.js")))).registerSetupCommands
283
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./setup-RT6GHL3W.js")))).registerSetupCommands
280
284
  },
281
285
  {
282
286
  names: ["quickstart"],
283
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./quickstart-SHBAEDX6.js")))).registerQuickstartCommands
287
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./quickstart-LVPOU25V.js")))).registerQuickstartCommands
284
288
  }
285
289
  ];
286
290
  async function registerDeeplineCommandGroups(program, requestedCommand) {
@@ -306,8 +310,8 @@ function registerDeeplineInlineCommands(program) {
306
310
  function createDeferredPlayRunMaintenance(input) {
307
311
  return async () => {
308
312
  try {
309
- const skillsVersion = _chunkGWPXWKQRjs.readSdkSkillsLocalVersion.call(void 0, input.baseUrl);
310
- const compatibility = await _chunkKART6FR6js.traceCliSpan.call(void 0,
313
+ const skillsVersion = _chunk2QYU57RGjs.readSdkSkillsLocalVersion.call(void 0, input.baseUrl);
314
+ const compatibility = await _chunkSLXCVPN7js.traceCliSpan.call(void 0,
311
315
  "cli.sdk_compatibility_deferred",
312
316
  {
313
317
  baseUrl: input.baseUrl,
@@ -315,24 +319,24 @@ function createDeferredPlayRunMaintenance(input) {
315
319
  skillsVersion: _nullishCoalesce(skillsVersion, () => ( null))
316
320
  },
317
321
  async () => {
318
- const trusted = _chunkWQEGXOUTjs.readTrustedCleanCompatibility.call(void 0,
322
+ const trusted = _chunkI62ZBEKHjs.readTrustedCleanCompatibility.call(void 0,
319
323
  input.baseUrl,
320
324
  "plays run",
321
325
  skillsVersion
322
326
  );
323
327
  if (trusted) return { response: trusted, error: null };
324
- return _chunkWQEGXOUTjs.checkSdkCompatibility.call(void 0, input.baseUrl, {
328
+ return _chunkI62ZBEKHjs.checkSdkCompatibility.call(void 0, input.baseUrl, {
325
329
  command: "plays run",
326
330
  skillsVersion,
327
331
  persistCache: input.policy !== "off",
328
- catalog: _chunkFUVVTHXEjs.compatibilityCatalog.call(void 0, input.command)
332
+ catalog: _chunkID3LGPOEjs.compatibilityCatalog.call(void 0, input.command)
329
333
  });
330
334
  }
331
335
  );
332
336
  if (compatibility.error || !compatibility.response) return;
333
337
  const automaticUpdate = compatibility.response.auto_update;
334
338
  if (_optionalChain([automaticUpdate, 'optionalAccess', _4 => _4.should_auto_update]) && !automaticUpdate.required && automaticUpdate.reason !== "rollback_forced") {
335
- await _chunkFUVVTHXEjs.maybeAutoUpdateAndRelaunch.call(void 0,
339
+ await _chunkID3LGPOEjs.maybeAutoUpdateAndRelaunch.call(void 0,
336
340
  compatibility.response,
337
341
  input.baseUrl,
338
342
  input.policy
@@ -342,7 +346,7 @@ function createDeferredPlayRunMaintenance(input) {
342
346
  compatibility.response,
343
347
  "skills"
344
348
  ) ? _nullishCoalesce(compatibility.response.skills, () => ( null)) : void 0;
345
- await _chunkWQEGXOUTjs.syncSdkSkillsIfNeeded.call(void 0, input.baseUrl, {
349
+ await _chunkI62ZBEKHjs.syncSdkSkillsIfNeeded.call(void 0, input.baseUrl, {
346
350
  update: skillsUpdate,
347
351
  mode: "detached"
348
352
  });
@@ -370,8 +374,8 @@ var MAX_SESSIONS = 20;
370
374
  function helpSeenPath(homeDir = _os.homedir.call(void 0, )) {
371
375
  return _path.join.call(void 0, homeDir, ".local", "deepline", "sdk-cli", "help-seen.json");
372
376
  }
373
- function resolveHelpDetail(argv, key, homeDir = _os.homedir.call(void 0, ), sessionId = _chunkDLWVJ66Ijs.agentSessionIdFromEnvironment.call(void 0, )) {
374
- const explicit = _chunkN6KF6X3Djs.helpDetailFromArgv.call(void 0, argv);
377
+ function resolveHelpDetail(argv, key, homeDir = _os.homedir.call(void 0, ), sessionId = _chunkIB225ZK4js.agentSessionIdFromEnvironment.call(void 0, )) {
378
+ const explicit = _chunkKSHZY52Ojs.helpDetailFromArgv.call(void 0, argv);
375
379
  if (explicit === "quiet") return { detail: "quiet", firstRead: false };
376
380
  if (!sessionId) return { detail: explicit, firstRead: false };
377
381
  const path = helpSeenPath(homeDir);
@@ -468,7 +472,7 @@ function shouldReport(stdout, stderr) {
468
472
  }
469
473
  function toolName(action) {
470
474
  const [toolId] = _optionalChain([action, 'optionalAccess', _5 => _5.path]) === "tools execute" ? action.args : [];
471
- return typeof toolId === "string" ? _chunkIZK2BLBWjs.redactFailureText.call(void 0, toolId) : null;
475
+ return typeof toolId === "string" ? _chunkVLUBEMWMjs.redactFailureText.call(void 0, toolId) : null;
472
476
  }
473
477
  function chunkText(chunk) {
474
478
  if (typeof chunk === "string") return chunk;
@@ -499,14 +503,14 @@ function watch(stream) {
499
503
  }
500
504
  async function postCommandOutput(body) {
501
505
  try {
502
- const baseUrl = _chunkGWPXWKQRjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
503
- const apiKey = _chunkGWPXWKQRjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
506
+ const baseUrl = _chunk2QYU57RGjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
507
+ const apiKey = _chunk2QYU57RGjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
504
508
  if (!apiKey) return;
505
- const agentSessionId = _chunkDLWVJ66Ijs.agentSessionIdFromEnvironment.call(void 0, );
509
+ const agentSessionId = _chunkIB225ZK4js.agentSessionIdFromEnvironment.call(void 0, );
506
510
  await fetch(new URL("/api/v2/telemetry/command-output", baseUrl), {
507
511
  method: "POST",
508
512
  headers: {
509
- ..._chunkIZK2BLBWjs.failureReportHeaders.call(void 0, apiKey),
513
+ ..._chunkVLUBEMWMjs.failureReportHeaders.call(void 0, apiKey),
510
514
  ...agentSessionId ? { "X-Deepline-Agent-Session-Id": agentSessionId } : {}
511
515
  },
512
516
  body: JSON.stringify(body),
@@ -522,14 +526,14 @@ function startOutputSizeReporting(invocation, streams = {
522
526
  const stdoutWatch = watch(streams.stdout);
523
527
  const stderrWatch = watch(streams.stderr);
524
528
  return async (finished) => {
525
- if (_chunkIZK2BLBWjs.isFailureReportingDisabled.call(void 0, )) return;
529
+ if (_chunkVLUBEMWMjs.isFailureReportingDisabled.call(void 0, )) return;
526
530
  const [stdout, stderr] = await Promise.all([
527
531
  stdoutWatch.settled(),
528
532
  stderrWatch.settled()
529
533
  ]);
530
534
  if (!shouldReport(stdout, stderr)) return;
531
535
  await postCommandOutput({
532
- command: _chunkIZK2BLBWjs.sanitizeCommand.call(void 0, invocation.argv),
536
+ command: _chunkVLUBEMWMjs.sanitizeCommand.call(void 0, invocation.argv),
533
537
  tool: toolName(finished.action),
534
538
  exit_code: typeof finished.exitCode === "number" ? finished.exitCode : null,
535
539
  duration_ms: Math.max(0, Date.now() - invocation.startedAtMs),
@@ -560,7 +564,7 @@ function silenceCommanderErrorOutput(command) {
560
564
  function printUsageErrorJson(code, message, commandPath) {
561
565
  const unknownName = code === "commander.unknownCommand" ? _optionalChain([/unknown command '([^']+)'/, 'access', _6 => _6.exec, 'call', _7 => _7(message), 'optionalAccess', _8 => _8[1]]) : void 0;
562
566
  const helpPath = unknownName && commandPath.endsWith(` ${unknownName}`) ? commandPath.slice(0, -unknownName.length - 1) : commandPath;
563
- _chunkIZK2BLBWjs.printJson.call(void 0, {
567
+ _chunkVLUBEMWMjs.printJson.call(void 0, {
564
568
  ok: false,
565
569
  error: {
566
570
  code,
@@ -618,7 +622,7 @@ function topLevelCommandKnown(program, commandName) {
618
622
  );
619
623
  }
620
624
  async function runPlayRunnerHealthCheck() {
621
- _chunkGWPXWKQRjs.resolveConfig.call(void 0, );
625
+ _chunk2QYU57RGjs.resolveConfig.call(void 0, );
622
626
  const dir = await _promises.mkdtemp.call(void 0, _path.join.call(void 0, _os.tmpdir.call(void 0, ), "deepline-health-play-"));
623
627
  const file = _path.join.call(void 0, dir, "health-check.play.ts");
624
628
  try {
@@ -648,7 +652,7 @@ async function runPlayRunnerHealthCheck() {
648
652
  });
649
653
  let exitCode = 1;
650
654
  try {
651
- const { handlePlayRun } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-JS2TEEE7.js")));
655
+ const { handlePlayRun } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-ID73J3NP.js")));
652
656
  exitCode = await handlePlayRun([
653
657
  file,
654
658
  "--input",
@@ -688,7 +692,7 @@ function preflightErrorMessage(error) {
688
692
  return error instanceof Error ? error.message : String(error);
689
693
  }
690
694
  async function runPreflightCheck() {
691
- const baseUrl = _chunkGWPXWKQRjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
695
+ const baseUrl = _chunk2QYU57RGjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
692
696
  const healthController = new AbortController();
693
697
  const healthTimeout = setTimeout(
694
698
  () => healthController.abort(),
@@ -705,14 +709,14 @@ async function runPreflightCheck() {
705
709
  }).catch((error) => ({
706
710
  status: "unreachable",
707
711
  version: null,
708
- error: healthController.signal.aborted ? `Request to ${baseUrl} timed out after ${PREFLIGHT_TIMEOUT_MS}ms.` : _chunkDLWVJ66Ijs.connectionFailureMessage.call(void 0,
712
+ error: healthController.signal.aborted ? `Request to ${baseUrl} timed out after ${PREFLIGHT_TIMEOUT_MS}ms.` : _chunkIB225ZK4js.connectionFailureMessage.call(void 0,
709
713
  baseUrl,
710
714
  error instanceof Error ? error : new Error(String(error))
711
715
  )
712
716
  })).finally(() => clearTimeout(healthTimeout));
713
- const apiKey = _chunkGWPXWKQRjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
714
- const http = apiKey ? new (0, _chunkGWPXWKQRjs.HttpClient)(
715
- _chunkGWPXWKQRjs.resolveConfig.call(void 0, {
717
+ const apiKey = _chunk2QYU57RGjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
718
+ const http = apiKey ? new (0, _chunk2QYU57RGjs.HttpClient)(
719
+ _chunk2QYU57RGjs.resolveConfig.call(void 0, {
716
720
  baseUrl,
717
721
  apiKey,
718
722
  timeout: PREFLIGHT_TIMEOUT_MS,
@@ -757,7 +761,7 @@ async function runPreflightCheck() {
757
761
  const connected = authStatus === "connected" || authStatus === "claimed";
758
762
  return {
759
763
  status: healthResult.status === "ok" && connected ? "ok" : "check",
760
- cli_version: _chunkDLWVJ66Ijs.SDK_VERSION,
764
+ cli_version: _chunkIB225ZK4js.SDK_VERSION,
761
765
  host: baseUrl,
762
766
  health: {
763
767
  status: healthResult.status,
@@ -784,7 +788,7 @@ async function runPreflightCheck() {
784
788
  {
785
789
  title: "preflight",
786
790
  lines: [
787
- `cli: ${_chunkDLWVJ66Ijs.SDK_VERSION}`,
791
+ `cli: ${_chunkIB225ZK4js.SDK_VERSION}`,
788
792
  `host: ${baseUrl}`,
789
793
  `health: ${healthResult.status}`,
790
794
  ..."error" in healthResult ? [` ${healthResult.error}`] : [],
@@ -811,12 +815,12 @@ function printPreflightHuman(data) {
811
815
  }
812
816
  async function newerCliCommandHint(baseUrl, command) {
813
817
  if (!command.trim()) return null;
814
- const { response, error } = await _chunkWQEGXOUTjs.checkSdkCompatibility.call(void 0, baseUrl, { command });
818
+ const { response, error } = await _chunkI62ZBEKHjs.checkSdkCompatibility.call(void 0, baseUrl, { command });
815
819
  if (error || !response) return null;
816
820
  const introduced = response.command_introduced_in;
817
821
  if (introduced) {
818
822
  return [
819
- `\`deepline ${introduced.command}\` was added in SDK CLI ${introduced.introduced_in}. This CLI is ${_chunkDLWVJ66Ijs.SDK_VERSION}.`,
823
+ `\`deepline ${introduced.command}\` was added in SDK CLI ${introduced.introduced_in}. This CLI is ${_chunkIB225ZK4js.SDK_VERSION}.`,
820
824
  ` ${introduced.reason}`,
821
825
  ` Update with: ${response.update_command}`,
822
826
  " Agent skills are served by Deepline and refresh on their own, so a skill can describe a command this CLI does not have yet."
@@ -825,36 +829,36 @@ async function newerCliCommandHint(baseUrl, command) {
825
829
  if (!response.update_required) return null;
826
830
  return [
827
831
  response.message,
828
- ` Installed: ${_chunkDLWVJ66Ijs.SDK_VERSION}. Run: ${response.update_command}`,
832
+ ` Installed: ${_chunkIB225ZK4js.SDK_VERSION}. Run: ${response.update_command}`,
829
833
  " If an agent skill told you to run this, the skill is newer than this CLI."
830
834
  ].join("\n");
831
835
  }
832
836
  async function runMain(ensureTransport, onAction, suppressOutputReport) {
833
837
  const mainStartedAt = Date.now();
834
- _chunkIZK2BLBWjs.installJsonStderrGuard.call(void 0, );
838
+ _chunkVLUBEMWMjs.installJsonStderrGuard.call(void 0, );
835
839
  let rootHelpStatus = "";
836
840
  let concurrentRunsHelpStatus = "";
837
841
  let commandFailed = false;
838
842
  const deferredMaintenance = { inlinePlay: null };
839
- _chunkKART6FR6js.recordCliTrace.call(void 0, {
843
+ _chunkSLXCVPN7js.recordCliTrace.call(void 0, {
840
844
  phase: "cli.main_start",
841
845
  argv: process.argv.slice(2)
842
846
  });
843
847
  const printStartupPhase = shouldPrintStartupPhase();
844
- const progress = printStartupPhase ? _chunkYKHXWO7Njs.createCliProgress.call(void 0, true) : null;
848
+ const progress = printStartupPhase ? _chunkECLCRE5Pjs.createCliProgress.call(void 0, true) : null;
845
849
  if (printStartupPhase) {
846
850
  _optionalChain([progress, 'optionalAccess', _14 => _14.phase, 'call', _15 => _15("loading deepline cli")]);
847
851
  }
848
852
  const program = new (0, _commander.Command)();
849
853
  program.name("deepline").description(
850
854
  "Deepline CLI \u2014 GTM enrichment tools, plays, and runs from your terminal."
851
- ).version(_chunkDLWVJ66Ijs.SDK_VERSION, "-v, --version", "Show version").option(
855
+ ).version(_chunkIB225ZK4js.SDK_VERSION, "-v, --version", "Show version").option(
852
856
  "--workspace <workspace-id>",
853
857
  "Act in this workspace (default: DEEPLINE_WORKSPACE_ID, else the workspace saved by org workspace set, else the org's default workspace)"
854
858
  ).option(
855
859
  "--maintenance <policy>",
856
860
  "Installation maintenance: configured preferences or off; independent of output format",
857
- _chunkKART6FR6js.parseCliMaintenancePolicy,
861
+ _chunkSLXCVPN7js.parseCliMaintenancePolicy,
858
862
  "configured"
859
863
  ).exitOverride().showHelpAfterError().showSuggestionAfterError(true).addHelpText(
860
864
  "beforeAll",
@@ -903,9 +907,9 @@ Exit codes:
903
907
  5 server/runtime/provider failure; 7 validation/check failed.
904
908
  `
905
909
  ).addHelpText("afterAll", ({ command }) => {
906
- const key = _chunkN6KF6X3Djs.commandDocKey.call(void 0, command);
910
+ const key = _chunkKSHZY52Ojs.commandDocKey.call(void 0, command);
907
911
  const { detail, firstRead } = resolveHelpDetail(process.argv, key);
908
- const explanation = _chunkN6KF6X3Djs.renderCommandExplanation.call(void 0, key, detail, { firstRead });
912
+ const explanation = _chunkKSHZY52Ojs.renderCommandExplanation.call(void 0, key, detail, { firstRead });
909
913
  return detail !== "quiet" && concurrentRunsHelpStatus ? `${explanation}${concurrentRunsHelpStatus}` : explanation;
910
914
  });
911
915
  program.hook("preAction", async (_thisCommand, actionCommand) => {
@@ -914,7 +918,7 @@ Exit codes:
914
918
  path: compatibilityCommand,
915
919
  args: actionCommand.processedArgs
916
920
  });
917
- const maintenance = _chunkKART6FR6js.resolveCliMaintenancePolicy.call(void 0,
921
+ const maintenance = _chunkSLXCVPN7js.resolveCliMaintenancePolicy.call(void 0,
918
922
  actionCommand.optsWithGlobals()
919
923
  );
920
924
  const workspace = actionCommand.optsWithGlobals().workspace;
@@ -924,19 +928,19 @@ Exit codes:
924
928
  if (actionCommand.name() !== "version") {
925
929
  await ensureTransport();
926
930
  }
927
- if (actionCommand.name() === "version" || actionCommand.name() === "update" || actionCommand.name() === "setup" || actionCommand.name() === "skills" || actionCommand.name() === _chunkWQEGXOUTjs.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(
931
+ if (actionCommand.name() === "version" || actionCommand.name() === "update" || actionCommand.name() === "setup" || actionCommand.name() === "skills" || actionCommand.name() === _chunkI62ZBEKHjs.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(
928
932
  compatibilityCommand
929
- ) && _chunkDIZI5YGWjs.feedbackSendRestriction.call(void 0, actionCommand.optsWithGlobals().requested)) {
933
+ ) && _chunkBUBOZKH2js.feedbackSendRestriction.call(void 0, actionCommand.optsWithGlobals().requested)) {
930
934
  return;
931
935
  }
932
936
  const isToolExecuteCommand = compatibilityCommand === "tools execute";
933
937
  if (isToolExecuteCommand) {
934
- _chunkFUVVTHXEjs.beginToolExecuteCommand.call(void 0, );
938
+ _chunkID3LGPOEjs.beginToolExecuteCommand.call(void 0, );
935
939
  }
936
940
  if (isToolExecuteCommand) {
937
- const baseUrl = _chunkGWPXWKQRjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
938
- if (maintenance !== "off") _chunkWQEGXOUTjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
939
- _chunkKART6FR6js.recordCliTrace.call(void 0, {
941
+ const baseUrl = _chunk2QYU57RGjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
942
+ if (maintenance !== "off") _chunkI62ZBEKHjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
943
+ _chunkSLXCVPN7js.recordCliTrace.call(void 0, {
940
944
  phase: "cli.sdk_compatibility_deferred_to_tool_execute",
941
945
  baseUrl,
942
946
  command: compatibilityCommand
@@ -944,9 +948,9 @@ Exit codes:
944
948
  return;
945
949
  }
946
950
  const playDryRun = compatibilityCommand === "plays run" && actionCommand.optsWithGlobals().dryRun === true;
947
- if (!playDryRun && _chunkXWO4J34Bjs.usesInlinePlayAdmission.call(void 0, compatibilityCommand, process.argv.slice(2))) {
951
+ if (!playDryRun && _chunkLJLM4BULjs.usesInlinePlayAdmission.call(void 0, compatibilityCommand, process.argv.slice(2))) {
948
952
  if (maintenance !== "off") {
949
- const baseUrl = _chunkGWPXWKQRjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
953
+ const baseUrl = _chunk2QYU57RGjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
950
954
  deferredMaintenance.inlinePlay = createDeferredPlayRunMaintenance({
951
955
  baseUrl,
952
956
  command: actionCommand,
@@ -955,27 +959,27 @@ Exit codes:
955
959
  }
956
960
  return;
957
961
  }
958
- const runStartupStage = (stage, action) => isToolExecuteCommand ? _chunkFUVVTHXEjs.runToolExecuteStage.call(void 0, stage, action) : Promise.resolve(action());
962
+ const runStartupStage = (stage, action) => isToolExecuteCommand ? _chunkID3LGPOEjs.runToolExecuteStage.call(void 0, stage, action) : Promise.resolve(action());
959
963
  if (printStartupPhase) {
960
964
  _optionalChain([progress, 'optionalAccess', _18 => _18.phase, 'call', _19 => _19("checking sdk compatibility")]);
961
965
  }
962
966
  const startup = await runStartupStage("SDK compatibility", async () => {
963
- const baseUrl = _chunkGWPXWKQRjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
964
- if (maintenance !== "off") _chunkWQEGXOUTjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
967
+ const baseUrl = _chunk2QYU57RGjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
968
+ if (maintenance !== "off") _chunkI62ZBEKHjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
965
969
  const shouldDeferSkillsSync = isToolExecuteCommand || maintenance === "off" || shouldDeferSkillsSyncForCommand();
966
- const skillsVersion = shouldDeferSkillsSync ? void 0 : _chunkGWPXWKQRjs.readSdkSkillsLocalVersion.call(void 0, baseUrl);
967
- const trusted = isToolExecuteCommand ? null : _chunkWQEGXOUTjs.readTrustedCleanCompatibility.call(void 0,
970
+ const skillsVersion = shouldDeferSkillsSync ? void 0 : _chunk2QYU57RGjs.readSdkSkillsLocalVersion.call(void 0, baseUrl);
971
+ const trusted = isToolExecuteCommand ? null : _chunkI62ZBEKHjs.readTrustedCleanCompatibility.call(void 0,
968
972
  baseUrl,
969
973
  compatibilityCommand,
970
974
  skillsVersion
971
975
  );
972
- const fastDeadline = !isToolExecuteCommand && trusted === null && _chunkWQEGXOUTjs.readFreshCleanCompatibility.call(void 0,
976
+ const fastDeadline = !isToolExecuteCommand && trusted === null && _chunkI62ZBEKHjs.readFreshCleanCompatibility.call(void 0,
973
977
  baseUrl,
974
978
  compatibilityCommand,
975
979
  skillsVersion
976
980
  ) !== null;
977
981
  if (trusted) {
978
- _chunkKART6FR6js.recordCliTrace.call(void 0, {
982
+ _chunkSLXCVPN7js.recordCliTrace.call(void 0, {
979
983
  phase: "cli.sdk_compatibility",
980
984
  ms: 0,
981
985
  ok: true,
@@ -985,7 +989,7 @@ Exit codes:
985
989
  source: "trusted_cache"
986
990
  });
987
991
  }
988
- const compatibility = trusted ? { response: trusted, error: null } : await _chunkKART6FR6js.traceCliSpan.call(void 0,
992
+ const compatibility = trusted ? { response: trusted, error: null } : await _chunkSLXCVPN7js.traceCliSpan.call(void 0,
989
993
  "cli.sdk_compatibility",
990
994
  {
991
995
  baseUrl,
@@ -993,12 +997,12 @@ Exit codes:
993
997
  skillsVersion: _nullishCoalesce(skillsVersion, () => ( null)),
994
998
  fastDeadline
995
999
  },
996
- () => _chunkWQEGXOUTjs.checkSdkCompatibility.call(void 0, baseUrl, {
1000
+ () => _chunkI62ZBEKHjs.checkSdkCompatibility.call(void 0, baseUrl, {
997
1001
  command: compatibilityCommand,
998
1002
  skillsVersion,
999
1003
  persistCache: !isToolExecuteCommand && maintenance !== "off",
1000
- catalog: _chunkFUVVTHXEjs.compatibilityCatalog.call(void 0, actionCommand),
1001
- ...fastDeadline ? { timeoutMs: _chunkWQEGXOUTjs.SDK_COMPATIBILITY_FAST_DEADLINE_MS } : {}
1004
+ catalog: _chunkID3LGPOEjs.compatibilityCatalog.call(void 0, actionCommand),
1005
+ ...fastDeadline ? { timeoutMs: _chunkI62ZBEKHjs.SDK_COMPATIBILITY_FAST_DEADLINE_MS } : {}
1002
1006
  })
1003
1007
  );
1004
1008
  if (compatibility.error) {
@@ -1009,7 +1013,7 @@ Exit codes:
1009
1013
  response: null
1010
1014
  };
1011
1015
  }
1012
- const relaunched = await _chunkFUVVTHXEjs.maybeAutoUpdateAndRelaunch.call(void 0,
1016
+ const relaunched = await _chunkID3LGPOEjs.maybeAutoUpdateAndRelaunch.call(void 0,
1013
1017
  compatibility.response,
1014
1018
  baseUrl,
1015
1019
  maintenance
@@ -1023,14 +1027,14 @@ Exit codes:
1023
1027
  };
1024
1028
  }
1025
1029
  const policy = compatibility.response;
1026
- const jsonOutput = _chunkIZK2BLBWjs.isJsonOutputMode.call(void 0, );
1027
- _chunkWQEGXOUTjs.enforceSdkCompatibilityResponse.call(void 0, policy, {
1030
+ const jsonOutput = _chunkVLUBEMWMjs.isJsonOutputMode.call(void 0, );
1031
+ _chunkI62ZBEKHjs.enforceSdkCompatibilityResponse.call(void 0, policy, {
1028
1032
  quietAdvisory: jsonOutput || // The queued update already says what is about to happen.
1029
- _chunkFUVVTHXEjs.hasDeferredAutoUpdate.call(void 0, ) || maintenance === "off" || !_chunkWQEGXOUTjs.claimUpdateAdvisory.call(void 0, baseUrl)
1033
+ _chunkID3LGPOEjs.hasDeferredAutoUpdate.call(void 0, ) || maintenance === "off" || !_chunkI62ZBEKHjs.claimUpdateAdvisory.call(void 0, baseUrl)
1030
1034
  });
1031
1035
  const advisory = compatibility.response;
1032
- if (jsonOutput && advisory && (advisory.status === "deprecated" || advisory.status === "update_available") && !_chunkWQEGXOUTjs.isCiEnvironment.call(void 0, ) && !_chunkFUVVTHXEjs.hasDeferredAutoUpdate.call(void 0, )) {
1033
- _chunkIZK2BLBWjs.addJsonNotice.call(void 0, { code: advisory.status, message: advisory.message });
1036
+ if (jsonOutput && advisory && (advisory.status === "deprecated" || advisory.status === "update_available") && !_chunkI62ZBEKHjs.isCiEnvironment.call(void 0, ) && !_chunkID3LGPOEjs.hasDeferredAutoUpdate.call(void 0, )) {
1037
+ _chunkVLUBEMWMjs.addJsonNotice.call(void 0, { code: advisory.status, message: advisory.message });
1034
1038
  }
1035
1039
  return {
1036
1040
  shouldContinue: true,
@@ -1047,10 +1051,10 @@ Exit codes:
1047
1051
  const skillsUpdate = startup.response && Object.prototype.hasOwnProperty.call(startup.response, "skills") ? _nullishCoalesce(startup.response.skills, () => ( null)) : void 0;
1048
1052
  await runStartupStage(
1049
1053
  "agent skills sync",
1050
- () => _chunkKART6FR6js.traceCliSpan.call(void 0,
1054
+ () => _chunkSLXCVPN7js.traceCliSpan.call(void 0,
1051
1055
  "cli.sdk_skills_sync",
1052
1056
  { baseUrl: startup.baseUrl },
1053
- () => _chunkWQEGXOUTjs.syncSdkSkillsIfNeeded.call(void 0, startup.baseUrl, {
1057
+ () => _chunkI62ZBEKHjs.syncSdkSkillsIfNeeded.call(void 0, startup.baseUrl, {
1054
1058
  update: skillsUpdate,
1055
1059
  mode: "detached"
1056
1060
  })
@@ -1064,16 +1068,16 @@ Exit codes:
1064
1068
  );
1065
1069
  const carriesFeedback = requestedCommand === "feedback" || requestedCommand === "session" || requestedCommand === "sessions";
1066
1070
  if (carriesFeedback) suppressOutputReport();
1067
- const commandRegistrationStartedAt = _chunkKART6FR6js.isCliTraceEnabled.call(void 0, ) ? performance.now() : void 0;
1071
+ const commandRegistrationStartedAt = _chunkSLXCVPN7js.isCliTraceEnabled.call(void 0, ) ? performance.now() : void 0;
1068
1072
  await registerDeeplineCommandGroups(program, requestedCommand);
1069
1073
  if (commandRegistrationStartedAt !== void 0) {
1070
- _chunkKART6FR6js.recordCliTrace.call(void 0, {
1074
+ _chunkSLXCVPN7js.recordCliTrace.call(void 0, {
1071
1075
  phase: "cli.command_registration",
1072
1076
  ms: performance.now() - commandRegistrationStartedAt
1073
1077
  });
1074
1078
  }
1075
1079
  const { preflight, health, version } = registerDeeplineInlineCommands(program);
1076
- if (_chunkIZK2BLBWjs.isJsonOutputMode.call(void 0, )) silenceCommanderErrorOutput(program);
1080
+ if (_chunkVLUBEMWMjs.isJsonOutputMode.call(void 0, )) silenceCommanderErrorOutput(program);
1077
1081
  preflight.addHelpText(
1078
1082
  "after",
1079
1083
  `
@@ -1089,8 +1093,8 @@ Examples:
1089
1093
  `
1090
1094
  ).action(async (options) => {
1091
1095
  const data = await runPreflightCheck();
1092
- if (_chunkIZK2BLBWjs.shouldEmitJson.call(void 0, options.json)) {
1093
- _chunkIZK2BLBWjs.printJson.call(void 0, data);
1096
+ if (_chunkVLUBEMWMjs.shouldEmitJson.call(void 0, options.json)) {
1097
+ _chunkVLUBEMWMjs.printJson.call(void 0, data);
1094
1098
  } else {
1095
1099
  printPreflightHuman(data);
1096
1100
  }
@@ -1115,7 +1119,7 @@ Examples:
1115
1119
  ).action(async (options) => {
1116
1120
  if (options.playRunner) {
1117
1121
  const data = await runPlayRunnerHealthCheck();
1118
- _chunkIZK2BLBWjs.printCommandEnvelope.call(void 0, data, {
1122
+ _chunkVLUBEMWMjs.printCommandEnvelope.call(void 0, data, {
1119
1123
  json: options.json,
1120
1124
  text: `play runner: ${data.playRunner.status} (${data.playRunner.check})
1121
1125
  `
@@ -1123,15 +1127,15 @@ Examples:
1123
1127
  return;
1124
1128
  }
1125
1129
  try {
1126
- const { httpJson, readStatusBanner, statusBannerLine } = await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-DGR7ZQJL.js")));
1127
- const baseUrl = _chunkGWPXWKQRjs.resolveBaseUrlOnly.call(void 0, );
1130
+ const { httpJson, readStatusBanner, statusBannerLine } = await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-UKPV5U2B.js")));
1131
+ const baseUrl = _chunk2QYU57RGjs.resolveBaseUrlOnly.call(void 0, );
1128
1132
  const [{ status, data }, banner] = await Promise.all([
1129
1133
  httpJson("GET", `${baseUrl}/api/v2/health`, null),
1130
1134
  readStatusBanner(baseUrl)
1131
1135
  ]);
1132
1136
  if (status !== 200) throw new Error(`HTTP ${status}`);
1133
1137
  const lines = [`${baseUrl}: ${data.status}`, statusBannerLine(banner)];
1134
- _chunkIZK2BLBWjs.printCommandEnvelope.call(void 0,
1138
+ _chunkVLUBEMWMjs.printCommandEnvelope.call(void 0,
1135
1139
  { ...data, status_banner: banner },
1136
1140
  {
1137
1141
  json: options.json,
@@ -1159,16 +1163,16 @@ Examples:
1159
1163
  `
1160
1164
  ).action((options) => {
1161
1165
  if (options.json) {
1162
- _chunkIZK2BLBWjs.printCompactJson.call(void 0, { version: _chunkDLWVJ66Ijs.SDK_VERSION });
1166
+ _chunkVLUBEMWMjs.printCompactJson.call(void 0, { version: _chunkIB225ZK4js.SDK_VERSION });
1163
1167
  return;
1164
1168
  }
1165
- process.stdout.write(`deepline ${_chunkDLWVJ66Ijs.SDK_VERSION}
1169
+ process.stdout.write(`deepline ${_chunkIB225ZK4js.SDK_VERSION}
1166
1170
  `);
1167
1171
  });
1168
1172
  if (process.argv.slice(2).length === 0) {
1169
1173
  program.outputHelp({ error: true });
1170
1174
  console.error("\nerror: missing command (see usage above)");
1171
- _chunkKART6FR6js.recordCliTrace.call(void 0, {
1175
+ _chunkSLXCVPN7js.recordCliTrace.call(void 0, {
1172
1176
  phase: "cli.main_total",
1173
1177
  ms: Date.now() - mainStartedAt,
1174
1178
  ok: false,
@@ -1180,16 +1184,16 @@ Examples:
1180
1184
  const requestedTopLevelCommand = _nullishCoalesce(process.argv.slice(2)[0], () => ( ""));
1181
1185
  if (!topLevelCommandKnown(program, requestedTopLevelCommand)) {
1182
1186
  const unknownCommandMessage = `error: unknown command '${requestedTopLevelCommand}'`;
1183
- if (!_chunkIZK2BLBWjs.isJsonOutputMode.call(void 0, )) console.error(unknownCommandMessage);
1184
- const baseUrl = _chunkGWPXWKQRjs.autoDetectBaseUrl.call(void 0, );
1187
+ if (!_chunkVLUBEMWMjs.isJsonOutputMode.call(void 0, )) console.error(unknownCommandMessage);
1188
+ const baseUrl = _chunk2QYU57RGjs.autoDetectBaseUrl.call(void 0, );
1185
1189
  await ensureTransport();
1186
1190
  const versionHint = await newerCliCommandHint(
1187
1191
  baseUrl,
1188
1192
  requestedTopLevelCommand
1189
1193
  );
1190
- if (_chunkIZK2BLBWjs.isJsonOutputMode.call(void 0, )) {
1194
+ if (_chunkVLUBEMWMjs.isJsonOutputMode.call(void 0, )) {
1191
1195
  if (versionHint) {
1192
- _chunkIZK2BLBWjs.addJsonNotice.call(void 0, { code: "newer_cli_command", message: versionHint });
1196
+ _chunkVLUBEMWMjs.addJsonNotice.call(void 0, { code: "newer_cli_command", message: versionHint });
1193
1197
  }
1194
1198
  printUsageErrorJson(
1195
1199
  "commander.unknownCommand",
@@ -1211,26 +1215,26 @@ Examples:
1211
1215
  const helpArgs = process.argv.slice(2);
1212
1216
  const helpPositionals = helpArgs.filter((arg) => !arg.startsWith("-"));
1213
1217
  if (helpPositionals.length === 0 ? helpArgs.includes("--help") || helpArgs.includes("-h") : helpPositionals.length === 1 && helpPositionals[0] === "help") {
1214
- const { authStatusLine } = await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-DGR7ZQJL.js")));
1215
- rootHelpStatus = `Version: ${_chunkDLWVJ66Ijs.SDK_VERSION}
1218
+ const { authStatusLine } = await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-UKPV5U2B.js")));
1219
+ rootHelpStatus = `Version: ${_chunkIB225ZK4js.SDK_VERSION}
1216
1220
  ${await authStatusLine()}
1217
1221
  `;
1218
1222
  }
1219
1223
  if ((helpArgs.includes("--help") || helpArgs.includes("-h")) && helpPositionals.length >= 2) {
1220
- const { CONCURRENT_RUNS_HELP_COMMANDS, concurrentRunsHelpStatus: read } = await Promise.resolve().then(() => _interopRequireWildcard(require("./concurrent-runs-help-HEIDXAM2.js")));
1224
+ const { CONCURRENT_RUNS_HELP_COMMANDS, concurrentRunsHelpStatus: read } = await Promise.resolve().then(() => _interopRequireWildcard(require("./concurrent-runs-help-BFVCUJF4.js")));
1221
1225
  if (CONCURRENT_RUNS_HELP_COMMANDS.has(helpPositionals.slice(0, 2).join(" "))) {
1222
1226
  await ensureTransport();
1223
1227
  concurrentRunsHelpStatus = await read();
1224
1228
  }
1225
1229
  }
1226
1230
  await program.parseAsync(process.argv);
1227
- _chunkKART6FR6js.recordCliTrace.call(void 0, {
1231
+ _chunkSLXCVPN7js.recordCliTrace.call(void 0, {
1228
1232
  phase: "cli.main_total",
1229
1233
  ms: Date.now() - mainStartedAt,
1230
1234
  ok: true
1231
1235
  });
1232
1236
  if (!carriesFeedback) {
1233
- await _chunkIZK2BLBWjs.maybeReportSdkCliFailure.call(void 0, {
1237
+ await _chunkVLUBEMWMjs.maybeReportSdkCliFailure.call(void 0, {
1234
1238
  argv: process.argv.slice(2),
1235
1239
  startedAtMs: mainStartedAt,
1236
1240
  exitCode: typeof process.exitCode === "number" ? process.exitCode : null
@@ -1239,14 +1243,14 @@ ${await authStatusLine()}
1239
1243
  } catch (error) {
1240
1244
  commandFailed = true;
1241
1245
  const commanderError = asCommanderError(error);
1242
- _chunkKART6FR6js.recordCliTrace.call(void 0, {
1246
+ _chunkSLXCVPN7js.recordCliTrace.call(void 0, {
1243
1247
  phase: "cli.main_total",
1244
1248
  ms: Date.now() - mainStartedAt,
1245
1249
  ok: false,
1246
1250
  error: error instanceof Error ? error.message : String(error)
1247
1251
  });
1248
1252
  _optionalChain([progress, 'optionalAccess', _22 => _22.fail, 'call', _23 => _23()]);
1249
- const wantsJson = _chunkIZK2BLBWjs.isJsonOutputMode.call(void 0, );
1253
+ const wantsJson = _chunkVLUBEMWMjs.isJsonOutputMode.call(void 0, );
1250
1254
  if (commanderError) {
1251
1255
  const grammarError = [
1252
1256
  "commander.unknownCommand",
@@ -1257,12 +1261,12 @@ ${await authStatusLine()}
1257
1261
  if (grammarError) {
1258
1262
  await ensureTransport();
1259
1263
  const versionHint = await newerCliCommandHint(
1260
- _chunkGWPXWKQRjs.autoDetectBaseUrl.call(void 0, ),
1264
+ _chunk2QYU57RGjs.autoDetectBaseUrl.call(void 0, ),
1261
1265
  commandPath
1262
1266
  );
1263
1267
  if (wantsJson) {
1264
1268
  if (versionHint) {
1265
- _chunkIZK2BLBWjs.addJsonNotice.call(void 0, { code: "newer_cli_command", message: versionHint });
1269
+ _chunkVLUBEMWMjs.addJsonNotice.call(void 0, { code: "newer_cli_command", message: versionHint });
1266
1270
  }
1267
1271
  } else {
1268
1272
  if (versionHint) console.error(versionHint);
@@ -1282,43 +1286,43 @@ ${await authStatusLine()}
1282
1286
  return;
1283
1287
  } else if (wantsJson) {
1284
1288
  if (error instanceof _chunk6VLFQZK6js.AuthError) {
1285
- _chunkIZK2BLBWjs.addJsonNotice.call(void 0, {
1289
+ _chunkVLUBEMWMjs.addJsonNotice.call(void 0, {
1286
1290
  code: "auth_required",
1287
1291
  message: `Not authenticated. Run: ${AUTH_RECOVERY_COMMAND}`
1288
1292
  });
1289
1293
  }
1290
- const providerConcurrency = _chunkIZK2BLBWjs.formatProviderConcurrencyDiagnostic.call(void 0, error);
1294
+ const providerConcurrency = _chunkVLUBEMWMjs.formatProviderConcurrencyDiagnostic.call(void 0, error);
1291
1295
  if (providerConcurrency) {
1292
- _chunkIZK2BLBWjs.addJsonNotice.call(void 0, {
1296
+ _chunkVLUBEMWMjs.addJsonNotice.call(void 0, {
1293
1297
  code: "provider_concurrency",
1294
1298
  message: providerConcurrency
1295
1299
  });
1296
1300
  }
1297
- const payload = _chunkIZK2BLBWjs.errorToJsonPayload.call(void 0, error);
1298
- _chunkIZK2BLBWjs.printJson.call(void 0, {
1301
+ const payload = _chunkVLUBEMWMjs.errorToJsonPayload.call(void 0, error);
1302
+ _chunkVLUBEMWMjs.printJson.call(void 0, {
1299
1303
  ...payload,
1300
1304
  // The envelope names the code the process exits with, so a caller
1301
1305
  // that only reads stdout still cannot mistake a failure for data.
1302
- exitCode: _nullishCoalesce(payload.exitCode, () => ( _chunkIZK2BLBWjs.resolveSdkCliFailureExitCode.call(void 0, error))),
1306
+ exitCode: _nullishCoalesce(payload.exitCode, () => ( _chunkVLUBEMWMjs.resolveSdkCliFailureExitCode.call(void 0, error))),
1303
1307
  ...error instanceof _chunk6VLFQZK6js.AuthError ? { next: AUTH_RECOVERY_COMMAND } : {}
1304
1308
  });
1305
1309
  } else if (error instanceof Error) {
1306
1310
  console.error(`Error: ${error.message}`);
1307
- const toolDiagnostic = _chunkIZK2BLBWjs.formatToolExecutionErrorDiagnostic.call(void 0, error);
1311
+ const toolDiagnostic = _chunkVLUBEMWMjs.formatToolExecutionErrorDiagnostic.call(void 0, error);
1308
1312
  if (toolDiagnostic) console.error(toolDiagnostic);
1309
1313
  if (error instanceof _chunk6VLFQZK6js.AuthError) {
1310
1314
  console.error(`Not authenticated. Run: ${AUTH_RECOVERY_COMMAND}`);
1311
1315
  }
1312
- const providerConcurrency = _chunkIZK2BLBWjs.formatProviderConcurrencyDiagnostic.call(void 0, error);
1316
+ const providerConcurrency = _chunkVLUBEMWMjs.formatProviderConcurrencyDiagnostic.call(void 0, error);
1313
1317
  if (providerConcurrency) console.error(providerConcurrency);
1314
1318
  } else {
1315
1319
  console.error(`Error: ${String(error)}`);
1316
1320
  }
1317
1321
  const explicitExitCode = error && typeof error === "object" && typeof error.exitCode === "number" ? error.exitCode : void 0;
1318
- const failureExitCode = _nullishCoalesce(explicitExitCode, () => ( _chunkIZK2BLBWjs.resolveSdkCliFailureExitCode.call(void 0, error)));
1322
+ const failureExitCode = _nullishCoalesce(explicitExitCode, () => ( _chunkVLUBEMWMjs.resolveSdkCliFailureExitCode.call(void 0, error)));
1319
1323
  process.exitCode = failureExitCode;
1320
1324
  if (!carriesFeedback) {
1321
- await _chunkIZK2BLBWjs.maybeReportSdkCliFailure.call(void 0, {
1325
+ await _chunkVLUBEMWMjs.maybeReportSdkCliFailure.call(void 0, {
1322
1326
  argv: process.argv.slice(2),
1323
1327
  startedAtMs: mainStartedAt,
1324
1328
  exitCode: failureExitCode,
@@ -1326,13 +1330,13 @@ ${await authStatusLine()}
1326
1330
  });
1327
1331
  }
1328
1332
  } finally {
1329
- _chunkFUVVTHXEjs.finishToolExecuteCommand.call(void 0, );
1333
+ _chunkID3LGPOEjs.finishToolExecuteCommand.call(void 0, );
1330
1334
  const maintainInlinePlay = deferredMaintenance.inlinePlay;
1331
1335
  deferredMaintenance.inlinePlay = null;
1332
1336
  if (commandFailed || typeof process.exitCode === "number" && process.exitCode !== 0) {
1333
1337
  await _optionalChain([maintainInlinePlay, 'optionalCall', _24 => _24()]);
1334
1338
  }
1335
- await _chunkFUVVTHXEjs.runDeferredAutoUpdate.call(void 0, );
1339
+ await _chunkID3LGPOEjs.runDeferredAutoUpdate.call(void 0, );
1336
1340
  }
1337
1341
  process.exitCode = _nullishCoalesce(process.exitCode, () => ( 0));
1338
1342
  }
@@ -1340,7 +1344,7 @@ async function main() {
1340
1344
  let disposeTransport;
1341
1345
  const ensureTransport = async () => {
1342
1346
  if (disposeTransport) return;
1343
- const transportStartedAt = _chunkKART6FR6js.isCliTraceEnabled.call(void 0, ) ? performance.now() : void 0;
1347
+ const transportStartedAt = _chunkSLXCVPN7js.isCliTraceEnabled.call(void 0, ) ? performance.now() : void 0;
1344
1348
  const hasProxy = [
1345
1349
  "HTTP_PROXY",
1346
1350
  "http_proxy",
@@ -1352,7 +1356,7 @@ async function main() {
1352
1356
  disposeTransport = configureCliTransport();
1353
1357
  }
1354
1358
  if (transportStartedAt !== void 0) {
1355
- _chunkKART6FR6js.recordCliTrace.call(void 0, {
1359
+ _chunkSLXCVPN7js.recordCliTrace.call(void 0, {
1356
1360
  phase: "cli.transport_setup",
1357
1361
  ms: performance.now() - transportStartedAt
1358
1362
  });
@@ -1375,9 +1379,9 @@ async function main() {
1375
1379
  skipOutputReport = true;
1376
1380
  }
1377
1381
  );
1378
- const silentFailure = _chunkIZK2BLBWjs.takeSilentJsonFailureMessage.call(void 0, process.exitCode);
1382
+ const silentFailure = _chunkVLUBEMWMjs.takeSilentJsonFailureMessage.call(void 0, process.exitCode);
1379
1383
  if (silentFailure) {
1380
- _chunkIZK2BLBWjs.printJson.call(void 0, {
1384
+ _chunkVLUBEMWMjs.printJson.call(void 0, {
1381
1385
  ok: false,
1382
1386
  exitCode: Number(process.exitCode),
1383
1387
  error: { code: "CLI_ERROR", message: silentFailure }