deepline 0.3.553 → 0.3.554

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 (151) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/cli/{auth-I3QAU4RV.mjs → auth-HJUNW7T2.mjs} +5 -5
  3. package/dist/cli/auth-SP6SKZJZ.js +44 -0
  4. package/dist/cli/{billing-YGFFVAIC.js → billing-4TSA5HEC.js} +102 -102
  5. package/dist/cli/{billing-3IC54OQQ.mjs → billing-SJYRJAQ2.mjs} +9 -9
  6. package/dist/cli/{chunk-2B5B5KAW.js → chunk-2HMN5H54.js} +53 -50
  7. package/dist/cli/{chunk-72V4PDH5.mjs → chunk-2ORPFQUA.mjs} +3 -3
  8. package/dist/cli/{chunk-BVDKFS2T.js → chunk-2OVHNHCF.js} +2 -2
  9. package/dist/cli/{chunk-Z7AOIHFE.mjs → chunk-33WRQSQ2.mjs} +4 -0
  10. package/dist/cli/{chunk-HVI55MTK.js → chunk-3IKGZ4CG.js} +20 -10
  11. package/dist/cli/{chunk-INEMTYMT.mjs → chunk-3Z4VFCXO.mjs} +7 -7
  12. package/dist/cli/{chunk-HEBO3XNZ.js → chunk-4DOFGIEJ.js} +12 -12
  13. package/dist/cli/{chunk-LFOERUQY.mjs → chunk-52Q5KETX.mjs} +1 -1
  14. package/dist/cli/{chunk-AGLR6QVN.js → chunk-5CYZHOKI.js} +4 -4
  15. package/dist/cli/{chunk-HSJ6X2AQ.mjs → chunk-62AUAWQV.mjs} +4 -4
  16. package/dist/cli/{chunk-NDNHYONK.mjs → chunk-62HWJXST.mjs} +2 -2
  17. package/dist/cli/{chunk-QI5S5HWB.mjs → chunk-6EXOAT6T.mjs} +2 -2
  18. package/dist/cli/{chunk-Y6SP3JMI.js → chunk-7OWI736E.js} +30 -30
  19. package/dist/cli/{chunk-DZA7RFGL.mjs → chunk-B6HO2XWH.mjs} +13 -13
  20. package/dist/cli/{chunk-A7DLBE5K.mjs → chunk-BOZAP2EM.mjs} +10 -7
  21. package/dist/cli/chunk-BVXIGOBZ.js +32 -0
  22. package/dist/cli/{chunk-QG6JIWUL.mjs → chunk-D6Z6POKE.mjs} +5 -5
  23. package/dist/cli/{chunk-4BFTDNHU.mjs → chunk-DSKSFFK2.mjs} +1 -1
  24. package/dist/cli/{chunk-JLGP5XAJ.js → chunk-DUBXUAAO.js} +5 -5
  25. package/dist/cli/{chunk-IMX7J4DU.js → chunk-E74KGKFZ.js} +5 -5
  26. package/dist/cli/{chunk-YUA6HA6D.js → chunk-ECHKAC7M.js} +2 -2
  27. package/dist/cli/{chunk-IH6GDNKW.js → chunk-EN5NHCCQ.js} +17 -17
  28. package/dist/cli/{chunk-CAEBJOYU.mjs → chunk-F7CMRKSK.mjs} +1 -1
  29. package/dist/cli/{chunk-SBH4CKPN.js → chunk-FBAFX43W.js} +10 -10
  30. package/dist/cli/{chunk-GAVZ4EOD.mjs → chunk-FXQ3JKE3.mjs} +1 -1
  31. package/dist/cli/{chunk-55F6HNOY.mjs → chunk-GA2M3G3Y.mjs} +4 -4
  32. package/dist/cli/{chunk-Q6Z6N3A7.js → chunk-GHT2NDL7.js} +9 -9
  33. package/dist/cli/{chunk-WOCHZCUJ.js → chunk-GRZENGNE.js} +2 -2
  34. package/dist/cli/{chunk-7O6J6A7P.js → chunk-IVZKMJUK.js} +4 -0
  35. package/dist/cli/{chunk-SG3LUONJ.mjs → chunk-KVBQY4ST.mjs} +2 -2
  36. package/dist/cli/{chunk-AGIQDA2T.mjs → chunk-KZHBDMGF.mjs} +2 -2
  37. package/dist/cli/{chunk-TFEXSHPM.js → chunk-LY5MMXFF.js} +28 -14
  38. package/dist/cli/{chunk-RTV4RF7N.js → chunk-M7STM3MZ.js} +26 -26
  39. package/dist/cli/{chunk-7GEMELKI.js → chunk-OPTV7D2V.js} +431 -330
  40. package/dist/cli/{chunk-CACFJODG.js → chunk-OVEYWO4H.js} +8 -8
  41. package/dist/cli/{chunk-4HYNMXXF.mjs → chunk-PC2FTUCP.mjs} +2 -2
  42. package/dist/cli/{chunk-4747TPLV.js → chunk-PQQMPUCZ.js} +3 -3
  43. package/dist/cli/{chunk-45OAVGU6.mjs → chunk-Q7ACILL2.mjs} +2 -2
  44. package/dist/cli/{chunk-RMNOZKRI.mjs → chunk-RBBTCYQB.mjs} +3 -3
  45. package/dist/cli/{chunk-7YRJ5UC4.js → chunk-RTHMGSZX.js} +20 -20
  46. package/dist/cli/{chunk-OTV2UUKW.mjs → chunk-S6W6SJ6E.mjs} +1 -1
  47. package/dist/cli/chunk-STXDSVQZ.mjs +32 -0
  48. package/dist/cli/{chunk-UEVKMZLR.mjs → chunk-TGUQET3O.mjs} +14 -4
  49. package/dist/cli/{chunk-74RES4DS.js → chunk-TJ6HLN56.js} +5 -5
  50. package/dist/cli/{chunk-IUOGII7D.js → chunk-TOO3YM5N.js} +6 -6
  51. package/dist/cli/{chunk-UVQJYV76.mjs → chunk-UBBYHB2B.mjs} +2 -2
  52. package/dist/cli/{chunk-AGICYWGN.mjs → chunk-UC4BDZKI.mjs} +2 -2
  53. package/dist/cli/{chunk-6NE3RRRY.js → chunk-UNNOZKRT.js} +1 -1
  54. package/dist/cli/{chunk-FM7LPUPA.js → chunk-UOT7HPBH.js} +41 -41
  55. package/dist/cli/{chunk-DP2VH7CO.js → chunk-UYCZFQYQ.js} +11 -11
  56. package/dist/cli/{chunk-MLABYI4M.js → chunk-VIUUTEHY.js} +3 -3
  57. package/dist/cli/{chunk-LH5PZKER.mjs → chunk-VLO5NFH2.mjs} +1 -1
  58. package/dist/cli/{chunk-JJGWHITQ.mjs → chunk-VQ75KX7G.mjs} +2 -2
  59. package/dist/cli/{chunk-3NTP2OSG.js → chunk-VV4XGZ24.js} +13 -13
  60. package/dist/cli/{chunk-LRDHPOZW.js → chunk-W6CZDTIR.js} +53 -53
  61. package/dist/cli/{chunk-7SERLBNR.js → chunk-WL7P32PI.js} +20 -20
  62. package/dist/cli/{chunk-4SMCFQ23.mjs → chunk-XD3MFTHA.mjs} +1 -1
  63. package/dist/cli/{chunk-E7WZOX2A.mjs → chunk-XFZX6FNM.mjs} +20 -6
  64. package/dist/cli/{chunk-DP64MD6U.mjs → chunk-XU6QNM4D.mjs} +1 -1
  65. package/dist/cli/{chunk-TN4TY6TT.mjs → chunk-YCOGPOUX.mjs} +2 -2
  66. package/dist/cli/{chunk-XLIHTJVM.js → chunk-YQKCH4R7.js} +20 -20
  67. package/dist/cli/{chunk-Z6XPSHKM.mjs → chunk-YY55NYAH.mjs} +133 -32
  68. package/dist/cli/command-docs.js +2 -2
  69. package/dist/cli/command-docs.mjs +1 -1
  70. package/dist/cli/{concurrent-runs-help-DNV2X5AZ.mjs → concurrent-runs-help-O3Q5IPLF.mjs} +6 -6
  71. package/dist/cli/concurrent-runs-help-ZFRZWX5V.js +22 -0
  72. package/dist/cli/{csv-SA6ELJY6.js → csv-4ZQ2RATI.js} +13 -13
  73. package/dist/cli/{csv-ZXZGHWOM.mjs → csv-Y3BFPEM6.mjs} +4 -4
  74. package/dist/cli/{db-A54SP6AD.mjs → db-3JYY4JNN.mjs} +7 -7
  75. package/dist/cli/{db-JHFEIQBU.js → db-VEIFS4M7.js} +29 -29
  76. package/dist/cli/describe-EVJ4MFVU.mjs +50 -0
  77. package/dist/cli/describe-FG625QPF.js +50 -0
  78. package/dist/cli/describe-core.js +5 -5
  79. package/dist/cli/describe-core.mjs +4 -4
  80. package/dist/cli/{executions-TLFZRHBJ.js → executions-HPZXOOVX.js} +8 -8
  81. package/dist/cli/{executions-HL2M2DFU.mjs → executions-PCXZKEHM.mjs} +6 -6
  82. package/dist/cli/{feedback-QMBTNXVG.mjs → feedback-Y6VKZNY6.mjs} +6 -6
  83. package/dist/cli/{feedback-5UEX5UZK.js → feedback-ZKFHFVL6.js} +14 -14
  84. package/dist/cli/git-RUBMALLH.js +26 -0
  85. package/dist/cli/{git-LKGXVIVC.mjs → git-UMPR2QYC.mjs} +5 -5
  86. package/dist/cli/index.js +147 -147
  87. package/dist/cli/index.mjs +46 -46
  88. package/dist/cli/{integrations-6RUTLMN7.js → integrations-3GQCTRTF.js} +15 -15
  89. package/dist/cli/{integrations-FGGRVUJ7.mjs → integrations-V3TM6XAB.mjs} +7 -7
  90. package/dist/cli/{legacy-noops-YIPRMVXZ.mjs → legacy-noops-JZBUD7ZE.mjs} +6 -6
  91. package/dist/cli/{legacy-noops-J3Z7QRWZ.js → legacy-noops-VYCO7NGW.js} +9 -9
  92. package/dist/cli/{mcp-6LWFP7RW.js → mcp-4OIWTCE6.js} +24 -24
  93. package/dist/cli/{mcp-CHDYFO7F.mjs → mcp-PH4KZ76P.mjs} +4 -4
  94. package/dist/cli/{monitors-STM6A7OU.js → monitors-E2A6VPBY.js} +100 -100
  95. package/dist/cli/{monitors-UGRY2BXI.mjs → monitors-SSMGIDGX.mjs} +7 -7
  96. package/dist/cli/{org-3SYOUQCX.mjs → org-SFDKSK5D.mjs} +6 -6
  97. package/dist/cli/{org-ZOBSNSIB.js → org-WUDZGWBT.js} +121 -121
  98. package/dist/cli/{outcomes-Z3P2JE67.mjs → outcomes-QT7LQBPK.mjs} +6 -6
  99. package/dist/cli/{outcomes-H4YYAT5X.js → outcomes-Y7SZTLSL.js} +14 -14
  100. package/dist/cli/{play-SN5YWLS7.mjs → play-EK7KSFPL.mjs} +21 -21
  101. package/dist/cli/{play-SM4CW2GS.js → play-GDNHCRRR.js} +372 -372
  102. package/dist/cli/{providers-WZ4YBR5Y.mjs → providers-FVZLRXAU.mjs} +6 -6
  103. package/dist/cli/{providers-WZARYMCF.js → providers-ZKOSECLV.js} +9 -9
  104. package/dist/cli/{quickstart-PS4YHQJ6.js → quickstart-KSDKIXYD.js} +6 -6
  105. package/dist/cli/{quickstart-2575BNKA.mjs → quickstart-UJZ6PIQV.mjs} +4 -4
  106. package/dist/cli/{run-ZUHCZOJS.mjs → run-E7MZ7P35.mjs} +30 -28
  107. package/dist/cli/{run-FLZ6OTM7.js → run-PD2BBG6S.js} +51 -49
  108. package/dist/cli/search-TKSPTPHA.js +32 -0
  109. package/dist/cli/{search-HLPPKQEO.mjs → search-VTFUFTOY.mjs} +7 -7
  110. package/dist/cli/{search-output-RXJLU36B.js → search-output-G2AGDCOY.js} +9 -9
  111. package/dist/cli/{search-output-PDAXNOGP.mjs → search-output-PFVXQCWA.mjs} +6 -6
  112. package/dist/cli/{secrets-CGELYQ3H.mjs → secrets-7CIMEMX7.mjs} +6 -6
  113. package/dist/cli/{secrets-QJNG7G2Y.js → secrets-BCOQ4U7U.js} +15 -15
  114. package/dist/cli/sessions-4CO556VD.js +23 -0
  115. package/dist/cli/{sessions-ELMWVR4M.mjs → sessions-IUCQZEF7.mjs} +6 -6
  116. package/dist/cli/{settings-RR3LZXL7.mjs → settings-KZN62UQK.mjs} +12 -12
  117. package/dist/cli/{settings-44I44P5F.js → settings-REL4736M.js} +85 -85
  118. package/dist/cli/{setup-KGWRWH4B.mjs → setup-2P7OG3OU.mjs} +11 -14
  119. package/dist/cli/{setup-KTEYOCJO.js → setup-2XIVBBCS.js} +51 -54
  120. package/dist/cli/skills-JYT5DEY6.js +37 -0
  121. package/dist/cli/{skills-FPRID2I5.mjs → skills-VIGNDJKI.mjs} +7 -7
  122. package/dist/cli/tools-NTVUQ2TG.js +57 -0
  123. package/dist/cli/{tools-PI4WMDLY.mjs → tools-W3QT5EJY.mjs} +20 -20
  124. package/dist/cli/{update-VJOJAZ7B.mjs → update-GZVBVMY3.mjs} +9 -9
  125. package/dist/cli/update-TWJZPUZM.js +37 -0
  126. package/dist/cli/{views-OVPSINZO.mjs → views-BOGEH424.mjs} +6 -6
  127. package/dist/cli/{views-NTUOLNQU.js → views-TOLJNLSV.js} +21 -21
  128. package/dist/cli/{workflow-2UDYDM6F.js → workflow-ENWFRK5M.js} +17 -17
  129. package/dist/cli/{workflow-7OEFNXZC.mjs → workflow-VDG2FDQV.mjs} +7 -7
  130. package/dist/index.js +9 -9
  131. package/dist/index.mjs +6 -6
  132. package/dist/install-integrity.json +122 -122
  133. package/dist/release.d.mts +1 -1
  134. package/dist/release.d.ts +1 -1
  135. package/dist/release.js +2 -2
  136. package/dist/release.mjs +1 -1
  137. package/dist/server.js +5 -5
  138. package/dist/server.mjs +3 -3
  139. package/package.json +1 -1
  140. package/dist/cli/auth-MQCN7WGZ.js +0 -44
  141. package/dist/cli/chunk-AID3OYVJ.js +0 -8
  142. package/dist/cli/chunk-OVDNJAJN.mjs +0 -8
  143. package/dist/cli/concurrent-runs-help-CFJH4KXV.js +0 -22
  144. package/dist/cli/describe-PHQ33AGS.mjs +0 -50
  145. package/dist/cli/describe-RHJ4XRFI.js +0 -50
  146. package/dist/cli/git-4JWOOHBG.js +0 -26
  147. package/dist/cli/search-JJWVHR3N.js +0 -32
  148. package/dist/cli/sessions-DHTBT2GN.js +0 -23
  149. package/dist/cli/skills-EPZPEXI2.js +0 -37
  150. package/dist/cli/tools-IGQQ5TML.js +0 -57
  151. package/dist/cli/update-4RNCVYGE.js +0 -37
@@ -1,7 +1,7 @@
1
1
  "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(); } } async function _asyncNullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return await 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; } async function _asyncOptionalChain(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 = await fn(value); } else if (op === 'call' || op === 'optionalCall') { value = await fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; } var _class;
2
2
 
3
3
 
4
- var _chunkRTV4RF7Njs = require('./chunk-RTV4RF7N.js');
4
+ var _chunkM7STM3MZjs = require('./chunk-M7STM3MZ.js');
5
5
 
6
6
 
7
7
 
@@ -9,7 +9,7 @@ var _chunkRTV4RF7Njs = require('./chunk-RTV4RF7N.js');
9
9
 
10
10
 
11
11
 
12
- var _chunkQ6Z6N3A7js = require('./chunk-Q6Z6N3A7.js');
12
+ var _chunkGHT2NDL7js = require('./chunk-GHT2NDL7.js');
13
13
 
14
14
 
15
15
 
@@ -22,18 +22,18 @@ var _chunkQ6Z6N3A7js = require('./chunk-Q6Z6N3A7.js');
22
22
 
23
23
 
24
24
 
25
- var _chunkDP2VH7COjs = require('./chunk-DP2VH7CO.js');
25
+ var _chunkUYCZFQYQjs = require('./chunk-UYCZFQYQ.js');
26
26
 
27
27
 
28
- var _chunkSBH4CKPNjs = require('./chunk-SBH4CKPN.js');
28
+ var _chunkFBAFX43Wjs = require('./chunk-FBAFX43W.js');
29
29
  require('./chunk-D3BCSAN7.js');
30
30
 
31
31
 
32
32
 
33
- var _chunkTFEXSHPMjs = require('./chunk-TFEXSHPM.js');
33
+ var _chunkLY5MMXFFjs = require('./chunk-LY5MMXFF.js');
34
34
 
35
35
 
36
- var _chunkAID3OYVJjs = require('./chunk-AID3OYVJ.js');
36
+ var _chunkBVXIGOBZjs = require('./chunk-BVXIGOBZ.js');
37
37
 
38
38
 
39
39
 
@@ -51,10 +51,10 @@ var _chunkR6DZ6NQ2js = require('./chunk-R6DZ6NQ2.js');
51
51
 
52
52
 
53
53
 
54
- var _chunk74RES4DSjs = require('./chunk-74RES4DS.js');
54
+ var _chunkTJ6HLN56js = require('./chunk-TJ6HLN56.js');
55
55
 
56
56
 
57
- var _chunkJLGP5XAJjs = require('./chunk-JLGP5XAJ.js');
57
+ var _chunkDUBXUAAOjs = require('./chunk-DUBXUAAO.js');
58
58
 
59
59
 
60
60
 
@@ -67,7 +67,7 @@ var _chunkJLGP5XAJjs = require('./chunk-JLGP5XAJ.js');
67
67
 
68
68
 
69
69
 
70
- var _chunkCACFJODGjs = require('./chunk-CACFJODG.js');
70
+ var _chunkOVEYWO4Hjs = require('./chunk-OVEYWO4H.js');
71
71
  require('./chunk-4WAM6TLD.js');
72
72
 
73
73
 
@@ -90,18 +90,18 @@ var _chunkPMH4GLMDjs = require('./chunk-PMH4GLMD.js');
90
90
 
91
91
 
92
92
 
93
- var _chunkIUOGII7Djs = require('./chunk-IUOGII7D.js');
93
+ var _chunkTOO3YM5Njs = require('./chunk-TOO3YM5N.js');
94
94
 
95
95
 
96
96
 
97
97
 
98
98
 
99
- var _chunkWOCHZCUJjs = require('./chunk-WOCHZCUJ.js');
100
- require('./chunk-2B5B5KAW.js');
99
+ var _chunkGRZENGNEjs = require('./chunk-GRZENGNE.js');
100
+ require('./chunk-2HMN5H54.js');
101
101
 
102
102
 
103
103
 
104
- var _chunk4747TPLVjs = require('./chunk-4747TPLV.js');
104
+ var _chunkPQQMPUCZjs = require('./chunk-PQQMPUCZ.js');
105
105
 
106
106
 
107
107
  var _chunkE2G2DNABjs = require('./chunk-E2G2DNAB.js');
@@ -122,13 +122,13 @@ var _chunkYGCKMI5Pjs = require('./chunk-YGCKMI5P.js');
122
122
 
123
123
 
124
124
 
125
- var _chunkXLIHTJVMjs = require('./chunk-XLIHTJVM.js');
125
+ var _chunkYQKCH4R7js = require('./chunk-YQKCH4R7.js');
126
126
 
127
127
 
128
- var _chunkMLABYI4Mjs = require('./chunk-MLABYI4M.js');
128
+ var _chunkVIUUTEHYjs = require('./chunk-VIUUTEHY.js');
129
129
 
130
130
 
131
- var _chunkAGLR6QVNjs = require('./chunk-AGLR6QVN.js');
131
+ var _chunk5CYZHOKIjs = require('./chunk-5CYZHOKI.js');
132
132
  require('./chunk-6VLFQZK6.js');
133
133
  require('./chunk-XNYIZMNQ.js');
134
134
 
@@ -138,7 +138,7 @@ var _chunkLFQJW4S2js = require('./chunk-LFQJW4S2.js');
138
138
 
139
139
 
140
140
  var _chunkCFJFUVX2js = require('./chunk-CFJFUVX2.js');
141
- require('./chunk-6NE3RRRY.js');
141
+ require('./chunk-UNNOZKRT.js');
142
142
  require('./chunk-OG64RBAC.js');
143
143
 
144
144
 
@@ -2120,7 +2120,7 @@ function resolveField(key, command) {
2120
2120
  function printSettings(result, json, name) {
2121
2121
  result = { ...result, settings: parsePlaySettings(result.settings) };
2122
2122
  const selected = fields.filter(([key]) => !name || key === name);
2123
- _chunkXLIHTJVMjs.printCommandEnvelope.call(void 0,
2123
+ _chunkYQKCH4R7js.printCommandEnvelope.call(void 0,
2124
2124
  {
2125
2125
  ...result,
2126
2126
  settings: Object.fromEntries(
@@ -2164,7 +2164,7 @@ function registerPlaySettingsCommands(plays) {
2164
2164
  valueSyntax: field.cli.valueSyntax,
2165
2165
  examples: field.cli.examples
2166
2166
  }));
2167
- _chunkXLIHTJVMjs.printCommandEnvelope.call(void 0,
2167
+ _chunkYQKCH4R7js.printCommandEnvelope.call(void 0,
2168
2168
  {
2169
2169
  fields: descriptions,
2170
2170
  render: {
@@ -2189,7 +2189,7 @@ function registerPlaySettingsCommands(plays) {
2189
2189
  async (options, command) => {
2190
2190
  if (options.name !== void 0) resolveField(options.name, command);
2191
2191
  printSettings(
2192
- await new (0, _chunkJLGP5XAJjs.DeeplineClient)().getPlaySettings(options.play),
2192
+ await new (0, _chunkDUBXUAAOjs.DeeplineClient)().getPlaySettings(options.play),
2193
2193
  options.json,
2194
2194
  options.name
2195
2195
  );
@@ -2220,7 +2220,7 @@ function registerPlaySettingsCommands(plays) {
2220
2220
  );
2221
2221
  }
2222
2222
  if (options.dryRun) {
2223
- _chunkXLIHTJVMjs.printCommandEnvelope.call(void 0,
2223
+ _chunkYQKCH4R7js.printCommandEnvelope.call(void 0,
2224
2224
  {
2225
2225
  dryRun: true,
2226
2226
  play,
@@ -2241,7 +2241,7 @@ function registerPlaySettingsCommands(plays) {
2241
2241
  return;
2242
2242
  }
2243
2243
  printSettings(
2244
- await new (0, _chunkJLGP5XAJjs.DeeplineClient)().updatePlaySettings(play, patch),
2244
+ await new (0, _chunkDUBXUAAOjs.DeeplineClient)().updatePlaySettings(play, patch),
2245
2245
  options.json
2246
2246
  );
2247
2247
  };
@@ -2267,13 +2267,13 @@ function registerPlaySettingsCommands(plays) {
2267
2267
  "--root must be person or team; --limit must be 1\u2013100.",
2268
2268
  { exitCode: 2 }
2269
2269
  );
2270
- const page = await new (0, _chunkJLGP5XAJjs.DeeplineClient)().listPlaySettingsPaths({
2270
+ const page = await new (0, _chunkDUBXUAAOjs.DeeplineClient)().listPlaySettingsPaths({
2271
2271
  root: options.root,
2272
2272
  limit,
2273
2273
  cursor: options.cursor
2274
2274
  });
2275
2275
  const nextCommand = page.hasMore ? `deepline plays settings paths --cursor '${page.cursor}'${options.root ? ` --root ${options.root}` : ""}` : null;
2276
- _chunkXLIHTJVMjs.printCommandEnvelope.call(void 0,
2276
+ _chunkYQKCH4R7js.printCommandEnvelope.call(void 0,
2277
2277
  {
2278
2278
  ...page,
2279
2279
  nextCommand,
@@ -2324,7 +2324,7 @@ function registerPlaySettingsCommands(plays) {
2324
2324
  root: _nullishCoalesce(_optionalChain([toPath, 'optionalAccess', _12 => _12.root]), () => ( "person")),
2325
2325
  folders: _nullishCoalesce(_optionalChain([toPath, 'optionalAccess', _13 => _13.folders]), () => ( []))
2326
2326
  };
2327
- const client = new (0, _chunkJLGP5XAJjs.DeeplineClient)();
2327
+ const client = new (0, _chunkDUBXUAAOjs.DeeplineClient)();
2328
2328
  const paths = [];
2329
2329
  let cursor;
2330
2330
  do {
@@ -2386,7 +2386,7 @@ function registerPlaySettingsCommands(plays) {
2386
2386
  moved.push(move.playName);
2387
2387
  }
2388
2388
  }
2389
- _chunkXLIHTJVMjs.printCommandEnvelope.call(void 0,
2389
+ _chunkYQKCH4R7js.printCommandEnvelope.call(void 0,
2390
2390
  {
2391
2391
  dryRun: Boolean(options.dryRun),
2392
2392
  from: options.from,
@@ -2525,13 +2525,13 @@ function triggerLines(view) {
2525
2525
  if (view.readOnly) lines.push(`Read-only: ${view.readOnly.message}`);
2526
2526
  if (view.publishCandidate) {
2527
2527
  lines.push(
2528
- ` publish: deepline plays publish ${_chunkAID3OYVJjs.shellQuote.call(void 0, view.name)} --revision-id ${view.publishCandidate.revisionId}`
2528
+ ` publish: deepline plays publish ${_chunkBVXIGOBZjs.shellQuote.call(void 0, view.name)} --revision-id ${view.publishCandidate.revisionId}`
2529
2529
  );
2530
2530
  }
2531
2531
  return lines;
2532
2532
  }
2533
2533
  function printView(view, json) {
2534
- _chunkXLIHTJVMjs.printCommandEnvelope.call(void 0,
2534
+ _chunkYQKCH4R7js.printCommandEnvelope.call(void 0,
2535
2535
  {
2536
2536
  ...view,
2537
2537
  render: {
@@ -2544,7 +2544,7 @@ function printView(view, json) {
2544
2544
  );
2545
2545
  }
2546
2546
  function printResult(result, json) {
2547
- _chunkXLIHTJVMjs.printCommandEnvelope.call(void 0,
2547
+ _chunkYQKCH4R7js.printCommandEnvelope.call(void 0,
2548
2548
  {
2549
2549
  ...result,
2550
2550
  render: {
@@ -2574,7 +2574,7 @@ async function mutate(command, options, build) {
2574
2574
  usage(command, `Invalid trigger: ${formatPlayTriggerConfigError(error)}`);
2575
2575
  }
2576
2576
  if (options.dryRun) {
2577
- _chunkXLIHTJVMjs.printCommandEnvelope.call(void 0,
2577
+ _chunkYQKCH4R7js.printCommandEnvelope.call(void 0,
2578
2578
  {
2579
2579
  dryRun: true,
2580
2580
  play: options.play,
@@ -2593,7 +2593,7 @@ async function mutate(command, options, build) {
2593
2593
  return;
2594
2594
  }
2595
2595
  printResult(
2596
- await new (0, _chunkJLGP5XAJjs.DeeplineClient)().updatePlayTriggerConfig(options.play, update),
2596
+ await new (0, _chunkDUBXUAAOjs.DeeplineClient)().updatePlayTriggerConfig(options.play, update),
2597
2597
  options.json
2598
2598
  );
2599
2599
  }
@@ -2626,7 +2626,7 @@ function registerPlayTriggerConfigCommands(plays) {
2626
2626
  }).addHelpText("after", help2);
2627
2627
  trigger.command("get").description("Show the cron and webhook triggers of a Play.").requiredOption("--play <play>", "Play to read").option("--json", "Emit JSON").addHelpText("after", help2).action(async (options) => {
2628
2628
  printView(
2629
- await new (0, _chunkJLGP5XAJjs.DeeplineClient)().getPlayTriggerConfig(options.play),
2629
+ await new (0, _chunkDUBXUAAOjs.DeeplineClient)().getPlayTriggerConfig(options.play),
2630
2630
  options.json
2631
2631
  );
2632
2632
  });
@@ -2679,7 +2679,7 @@ function registerPlayTriggerConfigCommands(plays) {
2679
2679
  if (options.auth === void 0) {
2680
2680
  if (secrets.length || options.header || options.signaturePrefix)
2681
2681
  usage(setWebhook, "--secret/--header need --auth.");
2682
- const current = await new (0, _chunkJLGP5XAJjs.DeeplineClient)().getPlayTriggerConfig(
2682
+ const current = await new (0, _chunkDUBXUAAOjs.DeeplineClient)().getPlayTriggerConfig(
2683
2683
  options.play
2684
2684
  );
2685
2685
  return {
@@ -2756,7 +2756,7 @@ var KIND_DESCRIPTIONS = {
2756
2756
  "receipt.skipped": "Saved work result: skipped.",
2757
2757
  "runtime.event": "Other event."
2758
2758
  };
2759
- var RUN_LOGS_KIND_HELP = _chunkCACFJODGjs.RUN_EVENT_SEARCH_KIND_VALUES.map((kind) => ({
2759
+ var RUN_LOGS_KIND_HELP = _chunkOVEYWO4Hjs.RUN_EVENT_SEARCH_KIND_VALUES.map((kind) => ({
2760
2760
  kind,
2761
2761
  description: KIND_DESCRIPTIONS[kind]
2762
2762
  }));
@@ -2893,9 +2893,9 @@ function configureRunQueryCommandErrors(command, resource) {
2893
2893
  const args = program.args;
2894
2894
  if (error.exitCode !== 0 && (resource === "events" || requestsStructuredLogs(args))) {
2895
2895
  error.exitCode = 2;
2896
- if (_chunkXLIHTJVMjs.argsWantJson.call(void 0, args) || command.optsWithGlobals().json === true) {
2897
- _chunkXLIHTJVMjs.printJsonError.call(void 0,
2898
- Object.assign(new (0, _chunkCACFJODGjs.RunEventQueryInputError)(error.message), {
2896
+ if (_chunkYQKCH4R7js.argsWantJson.call(void 0, args) || command.optsWithGlobals().json === true) {
2897
+ _chunkYQKCH4R7js.printJsonError.call(void 0,
2898
+ Object.assign(new (0, _chunkOVEYWO4Hjs.RunEventQueryInputError)(error.message), {
2899
2899
  exitCode: 2,
2900
2900
  retryable: false
2901
2901
  })
@@ -2939,14 +2939,14 @@ function parseQuery(args, resource) {
2939
2939
  if (VALUE_FLAGS.has(flag)) {
2940
2940
  const value = equals > 0 ? arg.slice(equals + 1) : args[++index];
2941
2941
  if (!value || equals < 0 && value.startsWith("--") && flag !== "--query" && flag !== "--where") {
2942
- throw new (0, _chunkCACFJODGjs.RunEventQueryInputError)(
2942
+ throw new (0, _chunkOVEYWO4Hjs.RunEventQueryInputError)(
2943
2943
  `${flag} requires a value. Use ${flag} <value>.`
2944
2944
  );
2945
2945
  }
2946
2946
  if (flag === "--sum") sums.push(value);
2947
2947
  else {
2948
2948
  if (values[flag] !== void 0) {
2949
- throw new (0, _chunkCACFJODGjs.RunEventQueryInputError)(
2949
+ throw new (0, _chunkOVEYWO4Hjs.RunEventQueryInputError)(
2950
2950
  `${flag} may only be supplied once.`
2951
2951
  );
2952
2952
  }
@@ -2960,12 +2960,12 @@ function parseQuery(args, resource) {
2960
2960
  }
2961
2961
  if (arg.startsWith("-")) {
2962
2962
  const correction = flag === "--log-level" ? "Use --level for structured severity filtering." : flag === "--out" || flag === "--failed" || flag === "--all" ? "Use this flag with a plain runs logs <run-id> text read." : "Use --step, --level, --query, --where, --count, --group-by or --fields; see runs logs --help.";
2963
- throw new (0, _chunkCACFJODGjs.RunEventQueryInputError)(
2963
+ throw new (0, _chunkOVEYWO4Hjs.RunEventQueryInputError)(
2964
2964
  `Unsupported query flag ${flag}. ${correction}`
2965
2965
  );
2966
2966
  }
2967
2967
  if (runId !== void 0) {
2968
- throw new (0, _chunkCACFJODGjs.RunEventQueryInputError)(
2968
+ throw new (0, _chunkOVEYWO4Hjs.RunEventQueryInputError)(
2969
2969
  `Unexpected argument ${JSON.stringify(arg)}. Supply one run ID.`
2970
2970
  );
2971
2971
  }
@@ -2973,7 +2973,7 @@ function parseQuery(args, resource) {
2973
2973
  }
2974
2974
  if (switches.has("--fields")) {
2975
2975
  if (runId !== void 0) {
2976
- throw new (0, _chunkCACFJODGjs.RunEventQueryInputError)(
2976
+ throw new (0, _chunkOVEYWO4Hjs.RunEventQueryInputError)(
2977
2977
  "--fields does not use a run ID. Omit the positional run ID."
2978
2978
  );
2979
2979
  }
@@ -2986,18 +2986,18 @@ function parseQuery(args, resource) {
2986
2986
  )
2987
2987
  ];
2988
2988
  if (incompatible.length) {
2989
- throw new (0, _chunkCACFJODGjs.RunEventQueryInputError)(
2989
+ throw new (0, _chunkOVEYWO4Hjs.RunEventQueryInputError)(
2990
2990
  `--fields cannot be combined with ${incompatible.join(", ")}. Use --fields alone to discover the query contract.`
2991
2991
  );
2992
2992
  }
2993
2993
  }
2994
2994
  if (switches.has("--count") && values["--group-by"] !== void 0) {
2995
- throw new (0, _chunkCACFJODGjs.RunEventQueryInputError)(
2995
+ throw new (0, _chunkOVEYWO4Hjs.RunEventQueryInputError)(
2996
2996
  "--count cannot be combined with --group-by. Use --group-by for counts per group."
2997
2997
  );
2998
2998
  }
2999
2999
  if (sums.length && switches.has("--count")) {
3000
- throw new (0, _chunkCACFJODGjs.RunEventQueryInputError)(
3000
+ throw new (0, _chunkOVEYWO4Hjs.RunEventQueryInputError)(
3001
3001
  "--sum cannot be combined with --count. Use --sum for the exact count and numeric total."
3002
3002
  );
3003
3003
  }
@@ -3005,7 +3005,7 @@ function parseQuery(args, resource) {
3005
3005
  if (operation === "count") {
3006
3006
  for (const flag of ["--limit", "--cursor", "--payloads"]) {
3007
3007
  if (values[flag] !== void 0 || switches.has(flag)) {
3008
- throw new (0, _chunkCACFJODGjs.RunEventQueryInputError)(
3008
+ throw new (0, _chunkOVEYWO4Hjs.RunEventQueryInputError)(
3009
3009
  `--count cannot be combined with ${flag}. Remove ${flag} to count all matching retained records.`
3010
3010
  );
3011
3011
  }
@@ -3040,16 +3040,16 @@ function parseQuery(args, resource) {
3040
3040
  ];
3041
3041
  }
3042
3042
  }
3043
- const request = _chunkCACFJODGjs.normalizeRunEventOperationRequest.call(void 0, body);
3043
+ const request = _chunkOVEYWO4Hjs.normalizeRunEventOperationRequest.call(void 0, body);
3044
3044
  const namespace = _nullishCoalesce(values["--runtime-namespace"], () => ( (process.env.DEEPLINE_RUNTIME_ENVIRONMENT === "preview" ? process.env.DEEPLINE_RUNTIME_NAMESPACE : void 0)));
3045
3045
  const backend = values["--runtime-backend"];
3046
3046
  if (backend && backend !== "daytona" && backend !== "modal") {
3047
- throw new (0, _chunkCACFJODGjs.RunEventQueryInputError)(
3047
+ throw new (0, _chunkOVEYWO4Hjs.RunEventQueryInputError)(
3048
3048
  "--runtime-backend must be daytona or modal."
3049
3049
  );
3050
3050
  }
3051
3051
  if (backend && !namespace) {
3052
- throw new (0, _chunkCACFJODGjs.RunEventQueryInputError)(
3052
+ throw new (0, _chunkOVEYWO4Hjs.RunEventQueryInputError)(
3053
3053
  "--runtime-backend requires --runtime-namespace."
3054
3054
  );
3055
3055
  }
@@ -3096,12 +3096,12 @@ async function handleRunEventQuery(args, resource = "logs") {
3096
3096
  const failure = error instanceof Error ? error : new Error(String(error));
3097
3097
  const record5 = failure;
3098
3098
  const status = record5.statusCode;
3099
- const exitCode = error instanceof _chunkCACFJODGjs.RunEventQueryInputError || status === 400 || status === 422 || record5.code === "INVALID_RUNTIME_SELECTION" ? 2 : status === 401 || status === 403 || record5.code === "CONFIG_ERROR" || record5.code === "RUNTIME_ENVIRONMENT_TOKEN_REQUIRED" ? 3 : status === 404 ? 4 : 5;
3099
+ const exitCode = error instanceof _chunkOVEYWO4Hjs.RunEventQueryInputError || status === 400 || status === 422 || record5.code === "INVALID_RUNTIME_SELECTION" ? 2 : status === 401 || status === 403 || record5.code === "CONFIG_ERROR" || record5.code === "RUNTIME_ENVIRONMENT_TOKEN_REQUIRED" ? 3 : status === 404 ? 4 : 5;
3100
3100
  const diagnostic = Object.assign(failure, {
3101
3101
  exitCode,
3102
3102
  retryable: exitCode === 5
3103
3103
  });
3104
- if (_chunkXLIHTJVMjs.argsWantJson.call(void 0, args)) _chunkXLIHTJVMjs.printJsonError.call(void 0, diagnostic);
3104
+ if (_chunkYQKCH4R7js.argsWantJson.call(void 0, args)) _chunkYQKCH4R7js.printJsonError.call(void 0, diagnostic);
3105
3105
  else console.error(`Error: ${diagnostic.message}`);
3106
3106
  return exitCode;
3107
3107
  }
@@ -3116,7 +3116,7 @@ async function executeRunEventQuery(args, resource) {
3116
3116
  ...criteria
3117
3117
  } = request;
3118
3118
  const options = { ...criteria, ...runtime ? { runtime } : {} };
3119
- const client = new (0, _chunkJLGP5XAJjs.DeeplineClient)();
3119
+ const client = new (0, _chunkDUBXUAAOjs.DeeplineClient)();
3120
3120
  let result;
3121
3121
  if (request.operation === "fields") {
3122
3122
  result = await client.runs[resource].fields(runtime ? { runtime } : {});
@@ -3182,13 +3182,13 @@ async function executeRunEventQuery(args, resource) {
3182
3182
  lines.push(`Next page: ${nextPage}`);
3183
3183
  }
3184
3184
  }
3185
- _chunkXLIHTJVMjs.printCommandEnvelope.call(void 0,
3185
+ _chunkYQKCH4R7js.printCommandEnvelope.call(void 0,
3186
3186
  {
3187
3187
  ...result,
3188
3188
  ...nextPage ? { next: { page: nextPage } } : {},
3189
3189
  render: { sections: [{ title: `run ${resource}`, lines }] }
3190
3190
  },
3191
- { json: _chunkXLIHTJVMjs.argsWantJson.call(void 0, args), text: `${lines.join("\n")}
3191
+ { json: _chunkYQKCH4R7js.argsWantJson.call(void 0, args), text: `${lines.join("\n")}
3192
3192
  ` }
3193
3193
  );
3194
3194
  return 0;
@@ -4935,7 +4935,7 @@ Existing credential redactions and referenced-list previews remain as stored.
4935
4935
  ...text3.split(/\r?\n/).map((key) => key.trim()).filter(Boolean)
4936
4936
  );
4937
4937
  }
4938
- const response = await new (0, _chunkJLGP5XAJjs.DeeplineClient)().runs.getReceipts(runId, {
4938
+ const response = await new (0, _chunkDUBXUAAOjs.DeeplineClient)().runs.getReceipts(runId, {
4939
4939
  keys
4940
4940
  });
4941
4941
  const failed = response.receipts.filter(
@@ -4947,7 +4947,7 @@ Existing credential redactions and referenced-list previews remain as stored.
4947
4947
  JSON.stringify(response, null, 2) + "\n",
4948
4948
  { flag: "wx", mode: 384 }
4949
4949
  );
4950
- _chunkXLIHTJVMjs.printCommandEnvelope.call(void 0,
4950
+ _chunkYQKCH4R7js.printCommandEnvelope.call(void 0,
4951
4951
  {
4952
4952
  runId,
4953
4953
  out: options.out,
@@ -4957,7 +4957,7 @@ Existing credential redactions and referenced-list previews remain as stored.
4957
4957
  { json: true }
4958
4958
  );
4959
4959
  } else {
4960
- _chunkXLIHTJVMjs.printCommandEnvelope.call(void 0, { ...response }, { json: true });
4960
+ _chunkYQKCH4R7js.printCommandEnvelope.call(void 0, { ...response }, { json: true });
4961
4961
  }
4962
4962
  if (failed)
4963
4963
  process.exitCode = response.receipts.some(
@@ -4996,7 +4996,7 @@ includes nextCommand when another page is available.
4996
4996
  { exitCode: 2 }
4997
4997
  );
4998
4998
  }
4999
- const page = await new (0, _chunkJLGP5XAJjs.DeeplineClient)().runs.children(parentRunId, {
4999
+ const page = await new (0, _chunkDUBXUAAOjs.DeeplineClient)().runs.children(parentRunId, {
5000
5000
  launchKey: options.launchKey,
5001
5001
  ...options.cursor !== void 0 ? { cursor: options.cursor } : {},
5002
5002
  limit
@@ -5011,7 +5011,7 @@ includes nextCommand when another page is available.
5011
5011
  "--limit",
5012
5012
  String(limit)
5013
5013
  ].join(" ") : null;
5014
- _chunkXLIHTJVMjs.printCommandEnvelope.call(void 0,
5014
+ _chunkYQKCH4R7js.printCommandEnvelope.call(void 0,
5015
5015
  {
5016
5016
  parentRunId,
5017
5017
  launchKey: options.launchKey,
@@ -5047,7 +5047,7 @@ async function handleRunsHistory(options) {
5047
5047
  throw new Error("--limit must be a positive integer.");
5048
5048
  }
5049
5049
  }
5050
- const page = await new (0, _chunkJLGP5XAJjs.DeeplineClient)().runs.history({
5050
+ const page = await new (0, _chunkDUBXUAAOjs.DeeplineClient)().runs.history({
5051
5051
  cursor: options.cursor,
5052
5052
  orgId: options.org,
5053
5053
  search: options.search,
@@ -5063,7 +5063,7 @@ async function handleRunsHistory(options) {
5063
5063
  );
5064
5064
  }
5065
5065
  if (page.hasMore) lines.push(`Next cursor: ${page.nextCursor}`);
5066
- _chunkXLIHTJVMjs.printCommandEnvelope.call(void 0,
5066
+ _chunkYQKCH4R7js.printCommandEnvelope.call(void 0,
5067
5067
  { ...page, render: { sections: [{ title: "Run history", lines }] } },
5068
5068
  options.json ? { json: true } : {}
5069
5069
  );
@@ -5113,12 +5113,12 @@ async function runRunsRerunCommand(runId, options) {
5113
5113
  }
5114
5114
  }
5115
5115
  if (options.notice) console.error(options.notice);
5116
- const result = await new (0, _chunkJLGP5XAJjs.DeeplineClient)().runs.rerun(runId, {
5116
+ const result = await new (0, _chunkDUBXUAAOjs.DeeplineClient)().runs.rerun(runId, {
5117
5117
  ...idempotencyKey === void 0 ? {} : { idempotencyKey },
5118
5118
  ...inputOverrides === void 0 ? {} : { inputOverrides }
5119
5119
  });
5120
- if (_chunkXLIHTJVMjs.shouldEmitJson.call(void 0, options.json)) {
5121
- _chunkXLIHTJVMjs.printCommandEnvelope.call(void 0, result, { json: true });
5120
+ if (_chunkYQKCH4R7js.shouldEmitJson.call(void 0, options.json)) {
5121
+ _chunkYQKCH4R7js.printCommandEnvelope.call(void 0, result, { json: true });
5122
5122
  } else if (result.rateLimited) {
5123
5123
  console.log(`
5124
5124
  ${result.rateLimited.message}`);
@@ -5142,7 +5142,7 @@ Rerun started from ${runId}${inputOverrides ? " with input overrides" : ""}.`
5142
5142
  // src/cli/operations/runs-resume.ts
5143
5143
  async function runRunsResumeCommand(runId) {
5144
5144
  try {
5145
- const result = await new (0, _chunkJLGP5XAJjs.DeeplineClient)().runs.resume(runId);
5145
+ const result = await new (0, _chunkDUBXUAAOjs.DeeplineClient)().runs.resume(runId);
5146
5146
  if (result.runId !== runId || result.resumed !== true || !Number.isSafeInteger(result.epoch) || result.epoch < 1)
5147
5147
  throw new Error(
5148
5148
  "Invalid resume receipt: expected the requested run and a new positive epoch."
@@ -5984,13 +5984,13 @@ var RunDataset = class _RunDataset {
5984
5984
  const absolutePath = _path.resolve.call(void 0, outPath);
5985
5985
  _fs.writeFileSync.call(void 0,
5986
5986
  absolutePath,
5987
- `${JSON.stringify(_chunkDP2VH7COjs.orderRunExportJson.call(void 0, this.rows), null, 2)}
5987
+ `${JSON.stringify(_chunkUYCZFQYQjs.orderRunExportJson.call(void 0, this.rows), null, 2)}
5988
5988
  `,
5989
5989
  "utf-8"
5990
5990
  );
5991
5991
  return absolutePath;
5992
5992
  }
5993
- return _chunkDP2VH7COjs.writeRunDatasetCsv.call(void 0, {
5993
+ return _chunkUYCZFQYQjs.writeRunDatasetCsv.call(void 0, {
5994
5994
  rows: this.rows,
5995
5995
  columns: this.#info.columns,
5996
5996
  outPath
@@ -7473,7 +7473,7 @@ function renderOutcome(outcome) {
7473
7473
  function printResult2(input) {
7474
7474
  const failed = input.status === "failed" || input.status === "cancelled";
7475
7475
  if (failed) process.exitCode = 1;
7476
- _chunkXLIHTJVMjs.printCommandEnvelope.call(void 0,
7476
+ _chunkYQKCH4R7js.printCommandEnvelope.call(void 0,
7477
7477
  {
7478
7478
  deployment: { ...input.deployment, status: input.status },
7479
7479
  plays: input.outcomes,
@@ -7498,7 +7498,7 @@ async function handlePlaysDeploy(directory, options) {
7498
7498
  const root = await _promises.realpath.call(void 0, _path.resolve.call(void 0, _nullishCoalesce(directory, () => ( ".")))).catch(() => {
7499
7499
  throw new Error(`No such directory: ${_path.resolve.call(void 0, _nullishCoalesce(directory, () => ( ".")))}`);
7500
7500
  });
7501
- const { http, config } = _chunkXLIHTJVMjs.getAuthedHttpClient.call(void 0, );
7501
+ const { http, config } = _chunkYQKCH4R7js.getAuthedHttpClient.call(void 0, );
7502
7502
  const deliveryId = `local:${_crypto.randomUUID.call(void 0, )}`;
7503
7503
  const startDeployment = () => http.post("/api/v2/deployments", {
7504
7504
  deliveryId,
@@ -7525,7 +7525,7 @@ async function handlePlaysDeploy(directory, options) {
7525
7525
  },
7526
7526
  {
7527
7527
  bundle: bundleDeployPlayFile,
7528
- fetchImpl: _chunkAGLR6QVNjs.fetchWithDeploymentProtection,
7528
+ fetchImpl: _chunk5CYZHOKIjs.fetchWithDeploymentProtection,
7529
7529
  // The plays are already here: "opening" the source is naming it.
7530
7530
  openSource: async () => ({
7531
7531
  open: async () => ({ repoRoot: root })
@@ -7652,7 +7652,7 @@ async function checkLocalPlayGraph(input) {
7652
7652
  // src/cli/renderers/local-play-execution.ts
7653
7653
  function renderLocalPlayExecutionPlan(plan, options = {}) {
7654
7654
  if (options.dryRun) {
7655
- _chunkXLIHTJVMjs.printCommandEnvelope.call(void 0, { dryRun: true, ...plan }, { json: options.json });
7655
+ _chunkYQKCH4R7js.printCommandEnvelope.call(void 0, { dryRun: true, ...plan }, { json: options.json });
7656
7656
  return;
7657
7657
  }
7658
7658
  process.stderr.write(`Local Play execution plan: ${JSON.stringify(plan)}
@@ -7824,7 +7824,7 @@ function traceCliSync(phase, fields2, run) {
7824
7824
  const startedAt = Date.now();
7825
7825
  try {
7826
7826
  const result = run();
7827
- _chunkWOCHZCUJjs.recordCliTrace.call(void 0, {
7827
+ _chunkGRZENGNEjs.recordCliTrace.call(void 0, {
7828
7828
  phase,
7829
7829
  ms: Date.now() - startedAt,
7830
7830
  ok: true,
@@ -7832,7 +7832,7 @@ function traceCliSync(phase, fields2, run) {
7832
7832
  });
7833
7833
  return result;
7834
7834
  } catch (error) {
7835
- _chunkWOCHZCUJjs.recordCliTrace.call(void 0, {
7835
+ _chunkGRZENGNEjs.recordCliTrace.call(void 0, {
7836
7836
  phase,
7837
7837
  ms: Date.now() - startedAt,
7838
7838
  ok: false,
@@ -8016,7 +8016,7 @@ function buildPlayReferenceNotFoundMessage(input) {
8016
8016
  lines.push(
8017
8017
  "",
8018
8018
  "Search visible plays:",
8019
- ` deepline search ${_chunkAID3OYVJjs.shellQuote.call(void 0, searchQuery)}`
8019
+ ` deepline search ${_chunkBVXIGOBZjs.shellQuote.call(void 0, searchQuery)}`
8020
8020
  );
8021
8021
  }
8022
8022
  return lines.join("\n");
@@ -8645,7 +8645,7 @@ function playStatusErrorText(status) {
8645
8645
  function isRetryablePendingStartFailure(status) {
8646
8646
  if (status.status !== "failed") return false;
8647
8647
  if (status.runId && status.runId !== "pending") return false;
8648
- return _chunkCACFJODGjs.isTransientPlayRunReadError.call(void 0, new Error(playStatusErrorText(status)));
8648
+ return _chunkOVEYWO4Hjs.isTransientPlayRunReadError.call(void 0, new Error(playStatusErrorText(status)));
8649
8649
  }
8650
8650
  function isAmbiguousPlayStartOutcomeError(error) {
8651
8651
  if (error instanceof _chunkLFQJW4S2js.DeeplineError && typeof error.statusCode === "number") {
@@ -8706,7 +8706,7 @@ async function startPlayRunWithTransientRetry(input) {
8706
8706
  `[play start] response was ambiguous; retrying the same caller intent (${reason})`
8707
8707
  );
8708
8708
  }
8709
- _chunkWOCHZCUJjs.recordCliTrace.call(void 0, {
8709
+ _chunkGRZENGNEjs.recordCliTrace.call(void 0, {
8710
8710
  phase: "cli.play_start_json_retry",
8711
8711
  ms: 0,
8712
8712
  ok: true,
@@ -8744,7 +8744,7 @@ var PlayStartOutcomeUnknownError = (_class = class extends _chunkLFQJW4S2js.Deep
8744
8744
  __init() {this.retryable = false}
8745
8745
  constructor(playName, cause, workflowId) {
8746
8746
  const causeMessage = cause instanceof Error ? cause.message : String(cause);
8747
- const recoveryCommand = workflowId ? `deepline runs get ${_chunkAID3OYVJjs.shellQuote.call(void 0, workflowId)} --json` : `deepline runs list --play ${_chunkAID3OYVJjs.shellQuote.call(void 0, playName)} --json`;
8747
+ const recoveryCommand = workflowId ? `deepline runs get ${_chunkBVXIGOBZjs.shellQuote.call(void 0, workflowId)} --json` : `deepline runs list --play ${_chunkBVXIGOBZjs.shellQuote.call(void 0, playName)} --json`;
8748
8748
  super(
8749
8749
  `Play ${playName}${workflowId ? ` (${workflowId})` : ""} may have started, but the CLI did not receive confirmation. Do not run it again until you inspect the original org with: ${recoveryCommand}`,
8750
8750
  cause instanceof _chunkLFQJW4S2js.DeeplineError ? cause.statusCode : void 0,
@@ -8764,13 +8764,13 @@ var PlayStartOutcomeUnknownError = (_class = class extends _chunkLFQJW4S2js.Deep
8764
8764
  }, _class);
8765
8765
  function watchSurfaceReaches(state, provenance, level) {
8766
8766
  const minimumLevel = _nullishCoalesce(state.logLevel, () => ( (state.verbose ? "debug" : "info")));
8767
- if (!_chunkCACFJODGjs.logLevelReaches.call(void 0, level, minimumLevel)) {
8767
+ if (!_chunkOVEYWO4Hjs.logLevelReaches.call(void 0, level, minimumLevel)) {
8768
8768
  return false;
8769
8769
  }
8770
- if (_chunkCACFJODGjs.logProvenanceReaches.call(void 0, provenance, "watch")) {
8770
+ if (_chunkOVEYWO4Hjs.logProvenanceReaches.call(void 0, provenance, "watch")) {
8771
8771
  return true;
8772
8772
  }
8773
- return state.verbose === true && _chunkCACFJODGjs.logProvenanceReaches.call(void 0, provenance, "debug");
8773
+ return state.verbose === true && _chunkOVEYWO4Hjs.logProvenanceReaches.call(void 0, provenance, "debug");
8774
8774
  }
8775
8775
  function getEventPayload(event) {
8776
8776
  return event.payload && typeof event.payload === "object" ? event.payload : {};
@@ -9280,7 +9280,7 @@ function resolvePlayRunUrl(input) {
9280
9280
  }
9281
9281
  function openPlayDashboard(url, open2) {
9282
9282
  if (open2 && url) {
9283
- _chunkXLIHTJVMjs.openInBrowser.call(void 0, url);
9283
+ _chunkYQKCH4R7js.openInBrowser.call(void 0, url);
9284
9284
  }
9285
9285
  }
9286
9286
  function printPlayLogLines(input) {
@@ -9361,7 +9361,7 @@ async function waitForPlayCompletionByWatch(input) {
9361
9361
  ...input.fullJson === void 0 ? {} : { full: input.fullJson }
9362
9362
  });
9363
9363
  } catch (error) {
9364
- if (_chunkCACFJODGjs.isTransientPlayRunReadError.call(void 0, error) || isAdmittedRunVisibilityDelay(error)) {
9364
+ if (_chunkOVEYWO4Hjs.isTransientPlayRunReadError.call(void 0, error) || isAdmittedRunVisibilityDelay(error)) {
9365
9365
  return null;
9366
9366
  }
9367
9367
  throw error;
@@ -9442,9 +9442,9 @@ async function waitForPlayCompletionByWatch(input) {
9442
9442
  signal: controller.signal,
9443
9443
  deferLogs: !input.emitLogs,
9444
9444
  omitTerminalLogs: !input.emitLogs,
9445
- ..._chunkWOCHZCUJjs.isCliTraceEnabled.call(void 0, ) ? {
9445
+ ..._chunkGRZENGNEjs.isCliTraceEnabled.call(void 0, ) ? {
9446
9446
  onPoll: (observation) => {
9447
- _chunkWOCHZCUJjs.recordCliTrace.call(void 0, {
9447
+ _chunkGRZENGNEjs.recordCliTrace.call(void 0, {
9448
9448
  phase: "play_watch_poll",
9449
9449
  workflowId: input.workflowId,
9450
9450
  ms: observation.durationMs,
@@ -9458,7 +9458,7 @@ async function waitForPlayCompletionByWatch(input) {
9458
9458
  full: input.fullJson,
9459
9459
  billing: false,
9460
9460
  onStatus: async (status) => {
9461
- _chunkWOCHZCUJjs.recordCliTrace.call(void 0, {
9461
+ _chunkGRZENGNEjs.recordCliTrace.call(void 0, {
9462
9462
  phase: "play_watch_terminal_status",
9463
9463
  workflowId: input.workflowId,
9464
9464
  full: input.fullJson === true
@@ -9547,7 +9547,7 @@ async function startAndWaitForPlayCompletion(input) {
9547
9547
  signal: controller.signal,
9548
9548
  cliAdmission: useCliAdmission
9549
9549
  });
9550
- _chunkWOCHZCUJjs.recordCliTrace.call(void 0, {
9550
+ _chunkGRZENGNEjs.recordCliTrace.call(void 0, {
9551
9551
  phase: "cli.play_start_admission_attempt",
9552
9552
  ms: Date.now() - postStartedAt,
9553
9553
  ok: true,
@@ -9559,7 +9559,7 @@ async function startAndWaitForPlayCompletion(input) {
9559
9559
  });
9560
9560
  break;
9561
9561
  } catch (error) {
9562
- _chunkWOCHZCUJjs.recordCliTrace.call(void 0, {
9562
+ _chunkGRZENGNEjs.recordCliTrace.call(void 0, {
9563
9563
  phase: "cli.play_start_admission_attempt",
9564
9564
  ms: Date.now() - postStartedAt,
9565
9565
  ok: false,
@@ -9610,7 +9610,7 @@ async function startAndWaitForPlayCompletion(input) {
9610
9610
  prepared.workflowId
9611
9611
  );
9612
9612
  }
9613
- await _chunkIUOGII7Djs.checkPlayRunCompatibility.call(void 0,
9613
+ await _chunkTOO3YM5Njs.checkPlayRunCompatibility.call(void 0,
9614
9614
  input.client.baseUrl,
9615
9615
  input.maintenancePolicy,
9616
9616
  controller.signal
@@ -9629,7 +9629,7 @@ async function startAndWaitForPlayCompletion(input) {
9629
9629
  `[play start] response was ambiguous; retrying the same caller intent (${error instanceof Error ? error.message : String(error)})`
9630
9630
  );
9631
9631
  }
9632
- _chunkWOCHZCUJjs.recordCliTrace.call(void 0, {
9632
+ _chunkGRZENGNEjs.recordCliTrace.call(void 0, {
9633
9633
  phase: "cli.play_start_json_retry",
9634
9634
  ms: 0,
9635
9635
  ok: true,
@@ -9687,7 +9687,7 @@ async function startAndWaitForPlayCompletion(input) {
9687
9687
  }
9688
9688
  await _optionalChain([input, 'access', _352 => _352.onRunStarted, 'optionalCall', _353 => _353(workflowId)]);
9689
9689
  await _optionalChain([input, 'access', _354 => _354.onRunAdmitted, 'optionalCall', _355 => _355(workflowId)]);
9690
- const dashboardUrl = _nullishCoalesce(started.dashboardUrl, () => ( _chunkTFEXSHPMjs.buildPlayDashboardUrl.call(void 0, input.client.baseUrl, input.playName)));
9690
+ const dashboardUrl = _nullishCoalesce(started.dashboardUrl, () => ( _chunkLY5MMXFFjs.buildPlayDashboardUrl.call(void 0, input.client.baseUrl, input.playName)));
9691
9691
  const rateLimited = _nullishCoalesce(started.rateLimited, () => ( null));
9692
9692
  if (!input.jsonOutput) {
9693
9693
  writeStartedPlayRun({
@@ -9709,7 +9709,7 @@ async function startAndWaitForPlayCompletion(input) {
9709
9709
  _nullishCoalesce(input.open, () => ( false))
9710
9710
  );
9711
9711
  input.progress.phase("running");
9712
- _chunkWOCHZCUJjs.recordCliTrace.call(void 0, {
9712
+ _chunkGRZENGNEjs.recordCliTrace.call(void 0, {
9713
9713
  phase: "cli.play_start_admitted",
9714
9714
  ms: Date.now() - startedAt,
9715
9715
  ok: true,
@@ -9727,7 +9727,7 @@ async function startAndWaitForPlayCompletion(input) {
9727
9727
  startedAt,
9728
9728
  waitTimeoutMs: input.waitTimeoutMs
9729
9729
  });
9730
- const initialStatus = _chunkCACFJODGjs.normalizePlayStatus.call(void 0, initialTerminal);
9730
+ const initialStatus = _chunkOVEYWO4Hjs.normalizePlayStatus.call(void 0, initialTerminal);
9731
9731
  const status2 = await resolvePlayRunOutputStatus({
9732
9732
  client: input.client,
9733
9733
  status: initialStatus,
@@ -9735,7 +9735,7 @@ async function startAndWaitForPlayCompletion(input) {
9735
9735
  jsonOutput: input.jsonOutput,
9736
9736
  fromDurableStatus: true
9737
9737
  });
9738
- _chunkWOCHZCUJjs.recordCliTrace.call(void 0, {
9738
+ _chunkGRZENGNEjs.recordCliTrace.call(void 0, {
9739
9739
  phase: "play_watch_terminal_status",
9740
9740
  workflowId,
9741
9741
  full: true,
@@ -9840,7 +9840,7 @@ async function startAndWaitForPlayCompletionByStream(input) {
9840
9840
  });
9841
9841
  }
9842
9842
  if (error instanceof _chunkMJTVX4QKjs.CliPlayAdmissionUnsupportedError && input.cliAdmission) {
9843
- await _chunkIUOGII7Djs.checkPlayRunCompatibility.call(void 0,
9843
+ await _chunkTOO3YM5Njs.checkPlayRunCompatibility.call(void 0,
9844
9844
  input.client.baseUrl,
9845
9845
  input.maintenancePolicy,
9846
9846
  admissionDeadline.signal
@@ -9881,7 +9881,7 @@ async function startAndWaitForPlayCompletionByStream(input) {
9881
9881
  `[play watch] start response was ambiguous; retrying the same caller intent (${error.message})`
9882
9882
  );
9883
9883
  }
9884
- _chunkWOCHZCUJjs.recordCliTrace.call(void 0, {
9884
+ _chunkGRZENGNEjs.recordCliTrace.call(void 0, {
9885
9885
  phase: "cli.play_start_stream_retry",
9886
9886
  ms: 0,
9887
9887
  ok: true,
@@ -9902,7 +9902,7 @@ async function startAndWaitForPlayCompletionByStream(input) {
9902
9902
  `[play watch] start failed before run id with a transient error; retrying (${playStatusErrorText(status)})`
9903
9903
  );
9904
9904
  }
9905
- _chunkWOCHZCUJjs.recordCliTrace.call(void 0, {
9905
+ _chunkGRZENGNEjs.recordCliTrace.call(void 0, {
9906
9906
  phase: "cli.play_start_stream_retry",
9907
9907
  ms: 0,
9908
9908
  ok: true,
@@ -9932,7 +9932,7 @@ async function startAndWaitForPlayCompletionByStream(input) {
9932
9932
  }
9933
9933
  async function startAndWaitForPlayCompletionByStreamOnce(input) {
9934
9934
  const startedAt = Date.now();
9935
- const dashboardUrl = _chunkTFEXSHPMjs.buildPlayDashboardUrl.call(void 0,
9935
+ const dashboardUrl = _chunkLY5MMXFFjs.buildPlayDashboardUrl.call(void 0,
9936
9936
  input.client.baseUrl,
9937
9937
  input.playName
9938
9938
  );
@@ -9959,7 +9959,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
9959
9959
  if (launchConfirmed || !runId || runId === "pending") return;
9960
9960
  launchConfirmed = true;
9961
9961
  await _optionalChain([input, 'access', _366 => _366.onRunAdmitted, 'optionalCall', _367 => _367(runId)]);
9962
- _chunkWOCHZCUJjs.recordCliTrace.call(void 0, {
9962
+ _chunkGRZENGNEjs.recordCliTrace.call(void 0, {
9963
9963
  phase: "cli.play_start_admitted",
9964
9964
  ms: Date.now() - startedAt,
9965
9965
  ok: true,
@@ -9993,7 +9993,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
9993
9993
  full: input.fullJson
9994
9994
  });
9995
9995
  } catch (error) {
9996
- if (_chunkCACFJODGjs.isTransientPlayRunReadError.call(void 0, error) || isAdmittedRunVisibilityDelay(error)) {
9996
+ if (_chunkOVEYWO4Hjs.isTransientPlayRunReadError.call(void 0, error) || isAdmittedRunVisibilityDelay(error)) {
9997
9997
  return null;
9998
9998
  }
9999
9999
  throw error;
@@ -10164,7 +10164,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
10164
10164
  };
10165
10165
  }
10166
10166
  if (!canonicalTerminal) {
10167
- _chunkWOCHZCUJjs.recordCliTrace.call(void 0, {
10167
+ _chunkGRZENGNEjs.recordCliTrace.call(void 0, {
10168
10168
  phase: "cli.play_start_stream_stale_terminal_ignored",
10169
10169
  ms: Date.now() - startedAt,
10170
10170
  ok: true,
@@ -10185,14 +10185,14 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
10185
10185
  fromDurableStatus
10186
10186
  }) : canonicalTerminal;
10187
10187
  if (input.fullJson === true) {
10188
- _chunkWOCHZCUJjs.recordCliTrace.call(void 0, {
10188
+ _chunkGRZENGNEjs.recordCliTrace.call(void 0, {
10189
10189
  phase: "play_watch_terminal_status",
10190
10190
  workflowId: outputTerminal.runId || lastKnownWorkflowId || void 0,
10191
10191
  full: true,
10192
10192
  source: outputTerminal === canonicalTerminal ? fromDurableStatus ? "start_stream_durable" : "start_stream" : "durable_repair"
10193
10193
  });
10194
10194
  }
10195
- _chunkWOCHZCUJjs.recordCliTrace.call(void 0, {
10195
+ _chunkGRZENGNEjs.recordCliTrace.call(void 0, {
10196
10196
  phase: "cli.play_start_stream_terminal",
10197
10197
  ms: Date.now() - startedAt,
10198
10198
  ok: true,
@@ -10212,7 +10212,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
10212
10212
  clearTimeout(timeout);
10213
10213
  }
10214
10214
  controller.abort();
10215
- _chunkWOCHZCUJjs.recordCliTrace.call(void 0, {
10215
+ _chunkGRZENGNEjs.recordCliTrace.call(void 0, {
10216
10216
  phase: "cli.play_start_stream_handoff_to_tail",
10217
10217
  ms: Date.now() - startedAt,
10218
10218
  ok: true,
@@ -10243,7 +10243,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
10243
10243
  if (timedOut) {
10244
10244
  const terminal = await fetchKnownTerminalStatus();
10245
10245
  if (terminal) {
10246
- _chunkWOCHZCUJjs.recordCliTrace.call(void 0, {
10246
+ _chunkGRZENGNEjs.recordCliTrace.call(void 0, {
10247
10247
  phase: "cli.play_start_stream_timeout_status_reconcile",
10248
10248
  ms: Date.now() - startedAt,
10249
10249
  ok: true,
@@ -10263,7 +10263,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
10263
10263
  lastPhase
10264
10264
  });
10265
10265
  }
10266
- if (lastKnownWorkflowId && (terminalWindowExpired || _chunkCACFJODGjs.isTransientPlayRunReadError.call(void 0, error))) {
10266
+ if (lastKnownWorkflowId && (terminalWindowExpired || _chunkOVEYWO4Hjs.isTransientPlayRunReadError.call(void 0, error))) {
10267
10267
  if (timeout) {
10268
10268
  clearTimeout(timeout);
10269
10269
  }
@@ -10274,7 +10274,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
10274
10274
  `
10275
10275
  );
10276
10276
  }
10277
- _chunkWOCHZCUJjs.recordCliTrace.call(void 0, {
10277
+ _chunkGRZENGNEjs.recordCliTrace.call(void 0, {
10278
10278
  phase: "cli.play_start_stream_reconnect",
10279
10279
  ms: Date.now() - startedAt,
10280
10280
  ok: true,
@@ -10301,7 +10301,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
10301
10301
  });
10302
10302
  }
10303
10303
  if (!lastKnownWorkflowId && isAmbiguousPlayStartOutcomeError(error)) {
10304
- _chunkWOCHZCUJjs.recordCliTrace.call(void 0, {
10304
+ _chunkGRZENGNEjs.recordCliTrace.call(void 0, {
10305
10305
  phase: "cli.play_start_stream_transient_failure",
10306
10306
  ms: Date.now() - startedAt,
10307
10307
  ok: false,
@@ -10329,7 +10329,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
10329
10329
  `[play watch] start stream ended after run ${lastKnownWorkflowId}; reconnecting to canonical run stream`
10330
10330
  );
10331
10331
  }
10332
- _chunkWOCHZCUJjs.recordCliTrace.call(void 0, {
10332
+ _chunkGRZENGNEjs.recordCliTrace.call(void 0, {
10333
10333
  phase: "cli.play_start_stream_reconnect",
10334
10334
  ms: Date.now() - startedAt,
10335
10335
  ok: true,
@@ -10409,7 +10409,7 @@ var BULKY_RETURN_KEYS = /* @__PURE__ */ new Set([
10409
10409
  "logs"
10410
10410
  ]);
10411
10411
  function formatPlayLogLine(rawLine, state) {
10412
- const classified = _chunkCACFJODGjs.classifyLogLine.call(void 0, rawLine);
10412
+ const classified = _chunkOVEYWO4Hjs.classifyLogLine.call(void 0, rawLine);
10413
10413
  const line = classified.line;
10414
10414
  const timestampMatch = line.match(/^\[([^\]]+)\]\s*(.*)$/);
10415
10415
  const parsedTimestamp = _optionalChain([timestampMatch, 'optionalAccess', _389 => _389[1]]) ? new Date(timestampMatch[1]) : null;
@@ -10424,14 +10424,14 @@ function formatPlayLogLine(rawLine, state) {
10424
10424
  if (!state.verbose && isProviderRowWaitLogLine(line)) return null;
10425
10425
  const providerWait = formatProviderCapacityWaitLogLine(line);
10426
10426
  if (providerWait && !state.verbose) {
10427
- return _chunkCACFJODGjs.logLevelReaches.call(void 0, "warn", _nullishCoalesce(state.logLevel, () => ( "info"))) ? `${prefix}${providerWait}` : null;
10427
+ return _chunkOVEYWO4Hjs.logLevelReaches.call(void 0, "warn", _nullishCoalesce(state.logLevel, () => ( "info"))) ? `${prefix}${providerWait}` : null;
10428
10428
  }
10429
10429
  const mapProgress = formatMapProgressDiagnosticLogLine(line);
10430
10430
  if (mapProgress && !state.verbose) {
10431
- return _chunkCACFJODGjs.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info"))) ? `${prefix}${mapProgress}` : null;
10431
+ return _chunkOVEYWO4Hjs.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info"))) ? `${prefix}${mapProgress}` : null;
10432
10432
  }
10433
10433
  if (/\[worker\] picked up run\b/.test(message)) {
10434
- if (!_chunkCACFJODGjs.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info")))) {
10434
+ if (!_chunkOVEYWO4Hjs.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info")))) {
10435
10435
  return null;
10436
10436
  }
10437
10437
  if (state.emittedRunnerStarted) {
@@ -10444,7 +10444,7 @@ function formatPlayLogLine(rawLine, state) {
10444
10444
  /^Starting map over (\d+) items with (\d+) fields \(key: ([^;]+); (\d+) already satisfied; (\d+) pending\)$/
10445
10445
  );
10446
10446
  if (mapStart) {
10447
- if (!_chunkCACFJODGjs.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info")))) {
10447
+ if (!_chunkOVEYWO4Hjs.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info")))) {
10448
10448
  return null;
10449
10449
  }
10450
10450
  const [, rows, fields2, namespace, cached, pending] = mapStart;
@@ -10454,7 +10454,7 @@ function formatPlayLogLine(rawLine, state) {
10454
10454
  /^Map completed: (\d+) results \((\d+) executed, (\d+) already satisfied\)$/
10455
10455
  );
10456
10456
  if (mapDone) {
10457
- if (!_chunkCACFJODGjs.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info")))) {
10457
+ if (!_chunkOVEYWO4Hjs.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info")))) {
10458
10458
  return null;
10459
10459
  }
10460
10460
  const [, results, executed, cached] = mapDone;
@@ -11327,9 +11327,9 @@ function actionToCommand(action) {
11327
11327
  return `deepline billing usage --run-id ${record5.runId}`;
11328
11328
  }
11329
11329
  if (record5.kind === "deepline_run_export" && typeof record5.runId === "string" && typeof record5.datasetPath === "string") {
11330
- return `deepline runs export ${record5.runId} --dataset ${_chunkAID3OYVJjs.shellQuote.call(void 0,
11330
+ return `deepline runs export ${record5.runId} --dataset ${_chunkBVXIGOBZjs.shellQuote.call(void 0,
11331
11331
  record5.datasetPath
11332
- )} --out ${_chunkAID3OYVJjs.shellQuote.call(void 0, `${record5.datasetPath.split(".").pop() || "dataset"}.csv`)}`;
11332
+ )} --out ${_chunkBVXIGOBZjs.shellQuote.call(void 0, `${record5.datasetPath.split(".").pop() || "dataset"}.csv`)}`;
11333
11333
  }
11334
11334
  if (record5.kind === "deepline_run_logs") {
11335
11335
  if (typeof record5.command === "string" && record5.command.trim()) {
@@ -11341,7 +11341,7 @@ function actionToCommand(action) {
11341
11341
  }
11342
11342
  if (record5.kind === "deepline_db_query" && typeof record5.sql === "string") {
11343
11343
  const maxRows = typeof record5.maxRows === "number" && Number.isFinite(record5.maxRows) ? Math.trunc(record5.maxRows) : 20;
11344
- return `deepline db query --sql ${_chunkAID3OYVJjs.shellQuote.call(void 0, record5.sql)} --max-rows ${maxRows}`;
11344
+ return `deepline db query --sql ${_chunkBVXIGOBZjs.shellQuote.call(void 0, record5.sql)} --max-rows ${maxRows}`;
11345
11345
  }
11346
11346
  return null;
11347
11347
  }
@@ -11497,8 +11497,8 @@ function formatRunRecoveryCommandLines(runId, status) {
11497
11497
  if (!["failed", "cancelled"].includes(status) || !runId || runId === "unknown")
11498
11498
  return [];
11499
11499
  return [
11500
- ` Resume same run (recommended, if eligible): deepline runs resume ${_chunkAID3OYVJjs.shellQuote.call(void 0, runId)}`,
11501
- ` Start over instead (new run; may repeat paid calls): deepline plays run --from-run ${_chunkAID3OYVJjs.shellQuote.call(void 0, runId)}`,
11500
+ ` Resume same run (recommended, if eligible): deepline runs resume ${_chunkBVXIGOBZjs.shellQuote.call(void 0, runId)}`,
11501
+ ` Start over instead (new run; may repeat paid calls): deepline plays run --from-run ${_chunkBVXIGOBZjs.shellQuote.call(void 0, runId)}`,
11502
11502
  "Resume can reuse matching saved operations, even with staleAfterSeconds: 0. New runs reuse matching cached results within staleAfterSeconds (0 means fresh). Fresh, missing, or unrecorded calls may charge again."
11503
11503
  ];
11504
11504
  }
@@ -11776,7 +11776,7 @@ function formatRecentRunLogLines(value) {
11776
11776
  (line) => typeof line === "string"
11777
11777
  );
11778
11778
  if (tail.length === 0) return [];
11779
- const shown = tail.map((line) => _chunkCACFJODGjs.classifyLogLine.call(void 0, line)).filter(
11779
+ const shown = tail.map((line) => _chunkOVEYWO4Hjs.classifyLogLine.call(void 0, line)).filter(
11780
11780
  (entry) => entry.level !== "debug" && !isProviderRowWaitLogLine(entry.line)
11781
11781
  ).slice(-8);
11782
11782
  const total = readNonNegativeInteger(logs.totalCount);
@@ -11918,11 +11918,11 @@ function buildRunPackageTextLines(packaged) {
11918
11918
  }
11919
11919
  function buildOrdinaryPlayRunCommand(options, resolvedRevisionId) {
11920
11920
  const target = options.target.kind === "file" ? options.target.path : options.target.name;
11921
- const parts = ["deepline", "plays", "run", _chunkAID3OYVJjs.shellQuote.call(void 0, target)];
11921
+ const parts = ["deepline", "plays", "run", _chunkBVXIGOBZjs.shellQuote.call(void 0, target)];
11922
11922
  if (options.input && Object.keys(options.input).length > 0) {
11923
- parts.push("--input", _chunkAID3OYVJjs.shellQuote.call(void 0, JSON.stringify(options.input)));
11923
+ parts.push("--input", _chunkBVXIGOBZjs.shellQuote.call(void 0, JSON.stringify(options.input)));
11924
11924
  }
11925
- if (options.profile) parts.push("--profile", _chunkAID3OYVJjs.shellQuote.call(void 0, options.profile));
11925
+ if (options.profile) parts.push("--profile", _chunkBVXIGOBZjs.shellQuote.call(void 0, options.profile));
11926
11926
  if (options.maxConcurrentExternalCalls !== null) {
11927
11927
  parts.push(
11928
11928
  "--max-concurrent-external-calls",
@@ -11937,7 +11937,7 @@ function buildOrdinaryPlayRunCommand(options, resolvedRevisionId) {
11937
11937
  }
11938
11938
  const pinnedRevisionId = options.target.kind === "name" ? _nullishCoalesce(resolvedRevisionId, () => ( options.revisionId)) : null;
11939
11939
  if (pinnedRevisionId) {
11940
- parts.push("--revision-id", _chunkAID3OYVJjs.shellQuote.call(void 0, pinnedRevisionId));
11940
+ parts.push("--revision-id", _chunkBVXIGOBZjs.shellQuote.call(void 0, pinnedRevisionId));
11941
11941
  } else if (options.revisionSelector === "latest") {
11942
11942
  parts.push("--latest");
11943
11943
  } else if (options.revisionSelector === "live") {
@@ -12064,9 +12064,9 @@ function buildPlayCompletionTextLines(status) {
12064
12064
  for (const command of exports) lines.push(`Export CSV: ${command}`);
12065
12065
  lines.push(
12066
12066
  `Logs: ${failed ? String(
12067
- _nullishCoalesce(overview.actions.getFailedLogsCmd, () => ( `deepline runs logs ${_chunkAID3OYVJjs.shellQuote.call(void 0, run.id)} --failed`))
12067
+ _nullishCoalesce(overview.actions.getFailedLogsCmd, () => ( `deepline runs logs ${_chunkBVXIGOBZjs.shellQuote.call(void 0, run.id)} --failed`))
12068
12068
  ) : String(
12069
- _nullishCoalesce(overview.actions.getLogsCmd, () => ( `deepline runs logs ${_chunkAID3OYVJjs.shellQuote.call(void 0, run.id)}`))
12069
+ _nullishCoalesce(overview.actions.getLogsCmd, () => ( `deepline runs logs ${_chunkBVXIGOBZjs.shellQuote.call(void 0, run.id)}`))
12070
12070
  )}`
12071
12071
  );
12072
12072
  if (failed && overview.datasets.length === 0 && !Object.hasOwn(overview, "result")) {
@@ -12081,11 +12081,11 @@ function buildPlayCompletionTextLines(status) {
12081
12081
  }
12082
12082
  function writePlayResult(status, jsonOutput, options) {
12083
12083
  const packaged = getPlayRunPackage(status);
12084
- if (status.package) _chunkDP2VH7COjs.recordPlayTermination.call(void 0, buildRunOverview(status).run);
12084
+ if (status.package) _chunkUYCZFQYQjs.recordPlayTermination.call(void 0, buildRunOverview(status).run);
12085
12085
  const hits = _nullishCoalesce(_optionalChain([options, 'optionalAccess', _480 => _480.hits]), () => ( null));
12086
12086
  if (jsonOutput) {
12087
12087
  const payload2 = _optionalChain([options, 'optionalAccess', _481 => _481.fullJson]) ? status.package ? buildRunOverview(status, status) : { ...buildRunLaunch(status), diagnostics: status } : buildRunLaunch(status);
12088
- _chunkXLIHTJVMjs.printCommandEnvelope.call(void 0,
12088
+ _chunkYQKCH4R7js.printCommandEnvelope.call(void 0,
12089
12089
  hits ? { ...payload2, hits } : payload2,
12090
12090
  { json: true, fields: _optionalChain([options, 'optionalAccess', _482 => _482.jsonFields]) }
12091
12091
  );
@@ -12101,7 +12101,7 @@ function writePlayResult(status, jsonOutput, options) {
12101
12101
  ...buildPlayCompletionTextLines(status),
12102
12102
  ...formatRunHitsLines(hits)
12103
12103
  ];
12104
- _chunkXLIHTJVMjs.printCommandEnvelope.call(void 0, displayPackage, {
12104
+ _chunkYQKCH4R7js.printCommandEnvelope.call(void 0, displayPackage, {
12105
12105
  json: false,
12106
12106
  text: `${lines2.join("\n")}
12107
12107
  `
@@ -12151,7 +12151,7 @@ function writePlayResult(status, jsonOutput, options) {
12151
12151
  lines.push(...buildBillingRollupTextLines(status));
12152
12152
  const compact = compactPlayStatus(status);
12153
12153
  const payload = _optionalChain([options, 'optionalAccess', _484 => _484.fullJson]) ? status : compact;
12154
- _chunkXLIHTJVMjs.printCommandEnvelope.call(void 0,
12154
+ _chunkYQKCH4R7js.printCommandEnvelope.call(void 0,
12155
12155
  {
12156
12156
  ...payload,
12157
12157
  render: {
@@ -12245,7 +12245,7 @@ async function resolvePlayRunOutputStatus(input) {
12245
12245
  }
12246
12246
  var RUN_EXPORT_PAGE_SIZE = 5e3;
12247
12247
  function runExportRetryCommand(runId, outPath, datasetPath, options = {}) {
12248
- return `deepline runs export ${runId}${datasetPath ? ` --dataset ${_chunkAID3OYVJjs.shellQuote.call(void 0, datasetPath)}` : ""} --out ${_chunkAID3OYVJjs.shellQuote.call(void 0, _path.resolve.call(void 0, outPath))}${options.format === "json" ? " --format json" : ""}${options.summary ? ` --summary ${options.summary}` : ""}`;
12248
+ return `deepline runs export ${runId}${datasetPath ? ` --dataset ${_chunkBVXIGOBZjs.shellQuote.call(void 0, datasetPath)}` : ""} --out ${_chunkBVXIGOBZjs.shellQuote.call(void 0, _path.resolve.call(void 0, outPath))}${options.format === "json" ? " --format json" : ""}${options.summary ? ` --summary ${options.summary}` : ""}`;
12249
12249
  }
12250
12250
  function extractRunPlayName(status) {
12251
12251
  const run = status.run;
@@ -12375,7 +12375,7 @@ async function fetchBackingDatasetRows(input) {
12375
12375
  }
12376
12376
  offset += page.rows.length;
12377
12377
  }
12378
- const withError = _chunkDP2VH7COjs.tableExportHasFailedRows.call(void 0,
12378
+ const withError = _chunkUYCZFQYQjs.tableExportHasFailedRows.call(void 0,
12379
12379
  sheetRows.filter(
12380
12380
  (row) => Boolean(row) && typeof row === "object" && !Array.isArray(row)
12381
12381
  )
@@ -12391,7 +12391,7 @@ async function fetchBackingDatasetRows(input) {
12391
12391
  return [
12392
12392
  withError ? {
12393
12393
  ...exported,
12394
- [_chunkDP2VH7COjs.TABLE_EXPORT_ERROR_COLUMN]: _chunkDP2VH7COjs.tableExportErrorCell.call(void 0,
12394
+ [_chunkUYCZFQYQjs.TABLE_EXPORT_ERROR_COLUMN]: _chunkUYCZFQYQjs.tableExportErrorCell.call(void 0,
12395
12395
  row
12396
12396
  )
12397
12397
  } : exported
@@ -12940,7 +12940,7 @@ function renderServerResultView(value) {
12940
12940
  function writeStartedPlayRun(input) {
12941
12941
  if (input.package && isPlayRunPackageValue(input.package)) {
12942
12942
  const run = input.package.run;
12943
- _chunkDP2VH7COjs.recordPlayTermination.call(void 0, {
12943
+ _chunkUYCZFQYQjs.recordPlayTermination.call(void 0, {
12944
12944
  id: run.id,
12945
12945
  status: run.status,
12946
12946
  finishedAt: run.finishedAt
@@ -12953,7 +12953,7 @@ function writeStartedPlayRun(input) {
12953
12953
  dashboardUrl: input.dashboardUrl,
12954
12954
  package: input.package
12955
12955
  };
12956
- _chunkXLIHTJVMjs.printCommandEnvelope.call(void 0, buildRunLaunch(status), {
12956
+ _chunkYQKCH4R7js.printCommandEnvelope.call(void 0, buildRunLaunch(status), {
12957
12957
  json: true,
12958
12958
  fields: input.jsonFields
12959
12959
  });
@@ -12975,7 +12975,7 @@ function writeStartedPlayRun(input) {
12975
12975
  input.progress.writeLine(output2, process.stdout);
12976
12976
  return;
12977
12977
  }
12978
- _chunkXLIHTJVMjs.printCommandEnvelope.call(void 0, input.package, {
12978
+ _chunkYQKCH4R7js.printCommandEnvelope.call(void 0, input.package, {
12979
12979
  json: false,
12980
12980
  text: `${output2}
12981
12981
  `
@@ -13004,13 +13004,13 @@ function writeStartedPlayRun(input) {
13004
13004
  input.rateLimited ? input.rateLimited.message : `Started ${input.playName}`,
13005
13005
  `Run: ${input.runId}`,
13006
13006
  ...runUrl ? [`Run page: ${runUrl}`] : [],
13007
- `Logs: deepline runs logs ${_chunkAID3OYVJjs.shellQuote.call(void 0, input.runId)}`,
13007
+ `Logs: deepline runs logs ${_chunkBVXIGOBZjs.shellQuote.call(void 0, input.runId)}`,
13008
13008
  ...["started", "queued", "running", "waiting"].includes(
13009
13009
  _nullishCoalesce(input.status, () => ( "started"))
13010
- ) ? [`Stop: deepline runs stop ${_chunkAID3OYVJjs.shellQuote.call(void 0, input.runId)}`] : []
13010
+ ) ? [`Stop: deepline runs stop ${_chunkBVXIGOBZjs.shellQuote.call(void 0, input.runId)}`] : []
13011
13011
  ];
13012
13012
  if (input.jsonOutput) {
13013
- _chunkXLIHTJVMjs.printCommandEnvelope.call(void 0, payload, { json: true, fields: input.jsonFields });
13013
+ _chunkYQKCH4R7js.printCommandEnvelope.call(void 0, payload, { json: true, fields: input.jsonFields });
13014
13014
  return;
13015
13015
  }
13016
13016
  const output = lines.join("\n");
@@ -13018,7 +13018,7 @@ function writeStartedPlayRun(input) {
13018
13018
  input.progress.writeLine(output, process.stdout);
13019
13019
  return;
13020
13020
  }
13021
- _chunkXLIHTJVMjs.printCommandEnvelope.call(void 0,
13021
+ _chunkYQKCH4R7js.printCommandEnvelope.call(void 0,
13022
13022
  {
13023
13023
  ...payload,
13024
13024
  render: { sections: [{ title: "play run", lines }] }
@@ -13028,7 +13028,7 @@ function writeStartedPlayRun(input) {
13028
13028
  );
13029
13029
  }
13030
13030
  function parsePlayCheckOptions(args) {
13031
- const selection = _chunkXLIHTJVMjs.parseJsonFields.call(void 0, args, "check");
13031
+ const selection = _chunkYQKCH4R7js.parseJsonFields.call(void 0, args, "check");
13032
13032
  args = selection.args;
13033
13033
  const target = args[0];
13034
13034
  if (!target || target.startsWith("-")) {
@@ -13040,7 +13040,7 @@ function parsePlayCheckOptions(args) {
13040
13040
  if (arg !== "--json" && arg !== "--full")
13041
13041
  throw new Error(`Unknown plays check option: ${arg}`);
13042
13042
  }
13043
- const jsonOutput = _chunkXLIHTJVMjs.argsWantJson.call(void 0, args);
13043
+ const jsonOutput = _chunkYQKCH4R7js.argsWantJson.call(void 0, args);
13044
13044
  return {
13045
13045
  target,
13046
13046
  jsonOutput,
@@ -13116,7 +13116,7 @@ ${PLAY_PUBLISH_USAGE}`
13116
13116
  useLatest,
13117
13117
  expectedArtifactHash,
13118
13118
  dryRun,
13119
- jsonOutput: _chunkXLIHTJVMjs.argsWantJson.call(void 0, args)
13119
+ jsonOutput: _chunkYQKCH4R7js.argsWantJson.call(void 0, args)
13120
13120
  };
13121
13121
  }
13122
13122
  var PLAY_SAVE_USAGE = "Usage: deepline plays save <play-file.ts> [--expected-artifact <hash>] [--watch-play <play-reference>] [--dry-run] [--json]\nUse --watch-play to show invalid source on your own open working canvas while keeping the last valid diagram.";
@@ -13165,7 +13165,7 @@ ${PLAY_SAVE_USAGE}`);
13165
13165
  expectedArtifactHash,
13166
13166
  watchPlay,
13167
13167
  dryRun,
13168
- jsonOutput: _chunkXLIHTJVMjs.argsWantJson.call(void 0, args)
13168
+ jsonOutput: _chunkYQKCH4R7js.argsWantJson.call(void 0, args)
13169
13169
  };
13170
13170
  }
13171
13171
  function printScheduledPlayCapacity(capacity) {
@@ -13354,7 +13354,7 @@ function printBundledRuntimeWarning(bundle) {
13354
13354
  async function handlePlayCheck(args) {
13355
13355
  const options = parsePlayCheckOptions(args);
13356
13356
  if (!isFileTarget(options.target)) {
13357
- const client = new (0, _chunkJLGP5XAJjs.DeeplineClient)();
13357
+ const client = new (0, _chunkDUBXUAAOjs.DeeplineClient)();
13358
13358
  try {
13359
13359
  await assertCanonicalNamedPlayReference(client, options.target, {
13360
13360
  command: "check"
@@ -13378,12 +13378,12 @@ async function handlePlayCheck(args) {
13378
13378
  runtimeLimit: _nullishCoalesce(play.runtimeLimit, () => ( null)),
13379
13379
  activeScheduledPlays: _nullishCoalesce(play.activeScheduledPlays, () => ( null)),
13380
13380
  actions: {
13381
- getFullCheckCmd: `deepline plays check ${_chunkAID3OYVJjs.shellQuote.call(void 0, options.target)} --full`,
13381
+ getFullCheckCmd: `deepline plays check ${_chunkBVXIGOBZjs.shellQuote.call(void 0, options.target)} --full`,
13382
13382
  ...play.runCommand ? { runCmd: play.runCommand } : {}
13383
13383
  },
13384
13384
  ...options.full ? { diagnostics: { staticPipeline: _nullishCoalesce(play.staticPipeline, () => ( null)) } } : {}
13385
13385
  };
13386
- _chunkXLIHTJVMjs.printCommandEnvelope.call(void 0, result, {
13386
+ _chunkYQKCH4R7js.printCommandEnvelope.call(void 0, result, {
13387
13387
  json: options.jsonOutput,
13388
13388
  fields: options.jsonFields,
13389
13389
  text: renderPlayCheckOutput(result) + "\n"
@@ -13393,7 +13393,7 @@ async function handlePlayCheck(args) {
13393
13393
  const resolved = _path.resolve.call(void 0, options.target);
13394
13394
  const message = error instanceof Error && error.message ? error.message : `File not found: ${resolved}`;
13395
13395
  if (options.jsonOutput) {
13396
- _chunkXLIHTJVMjs.printCommandEnvelope.call(void 0,
13396
+ _chunkYQKCH4R7js.printCommandEnvelope.call(void 0,
13397
13397
  {
13398
13398
  kind: "play_check",
13399
13399
  checked: "named_contract",
@@ -13425,9 +13425,9 @@ async function handlePlayCheck(args) {
13425
13425
  outcomes,
13426
13426
  target: options.target,
13427
13427
  full: options.full,
13428
- publishCommand: _optionalChain([primary, 'optionalAccess', _534 => _534.result, 'access', _535 => _535.artifactHash]) ? `deepline plays publish ${_chunkAID3OYVJjs.shellQuote.call(void 0, options.target)} --expected-artifact ${primary.result.artifactHash}` : void 0
13428
+ publishCommand: _optionalChain([primary, 'optionalAccess', _534 => _534.result, 'access', _535 => _535.artifactHash]) ? `deepline plays publish ${_chunkBVXIGOBZjs.shellQuote.call(void 0, options.target)} --expected-artifact ${primary.result.artifactHash}` : void 0
13429
13429
  });
13430
- _chunkXLIHTJVMjs.printCommandEnvelope.call(void 0, output, {
13430
+ _chunkYQKCH4R7js.printCommandEnvelope.call(void 0, output, {
13431
13431
  json: options.jsonOutput,
13432
13432
  fields: options.jsonFields,
13433
13433
  jsonLayout: "readable",
@@ -13499,7 +13499,7 @@ async function checkOneExportedPlay(input) {
13499
13499
  }
13500
13500
  const playName = _nullishCoalesce(graph.root.playName, () => ( fallbackName));
13501
13501
  const authoringErrors = collectPlayGraphAuthoringErrors(graph);
13502
- const client = _nullishCoalesce(input.client, () => ( new (0, _chunkJLGP5XAJjs.DeeplineClient)()));
13502
+ const client = _nullishCoalesce(input.client, () => ( new (0, _chunkDUBXUAAOjs.DeeplineClient)()));
13503
13503
  const integrationMode = resolveEvalIntegrationMode();
13504
13504
  const checked = await checkLocalPlayGraph({
13505
13505
  client,
@@ -13561,8 +13561,8 @@ async function handleFileBackedRun(options, hooks) {
13561
13561
  let prefetchClient;
13562
13562
  let admissionCapability;
13563
13563
  let cancelAdmissionCapability;
13564
- let cliAdmission = _chunkIUOGII7Djs.usesCliPlayAdmission.call(void 0, "plays run", process.argv.slice(2));
13565
- const progress = _nullishCoalesce(_chunk4747TPLVjs.getActiveCliProgress.call(void 0, ), () => ( _chunk4747TPLVjs.createCliProgress.call(void 0, !options.jsonOutput)));
13564
+ let cliAdmission = _chunkTOO3YM5Njs.usesCliPlayAdmission.call(void 0, "plays run", process.argv.slice(2));
13565
+ const progress = _nullishCoalesce(_chunkPQQMPUCZjs.getActiveCliProgress.call(void 0, ), () => ( _chunkPQQMPUCZjs.createCliProgress.call(void 0, !options.jsonOutput)));
13566
13566
  const reportError = _nullishCoalesce(_optionalChain([hooks, 'optionalAccess', _544 => _544.writeDryRunError]), () => ( ((error) => console.error(error instanceof Error ? error.message : String(error)))));
13567
13567
  const absolutePlayPath = _path.resolve.call(void 0, options.target.path);
13568
13568
  progress.phase("compiling play");
@@ -13579,11 +13579,11 @@ async function handleFileBackedRun(options, hooks) {
13579
13579
  return 1;
13580
13580
  }
13581
13581
  if (!options.dryRun && options.watch && cliAdmission && Boolean(options.runIdFile) && options.maxTotalCredits === null && !inputContainsLocalFilePath(runtimeInput)) {
13582
- const clientForPrefetch = new (0, _chunkJLGP5XAJjs.DeeplineClient)(playRunClientOptions(options));
13582
+ const clientForPrefetch = new (0, _chunkDUBXUAAOjs.DeeplineClient)(playRunClientOptions(options));
13583
13583
  prefetchClient = clientForPrefetch;
13584
13584
  const capabilityController = new AbortController();
13585
13585
  cancelAdmissionCapability = () => capabilityController.abort();
13586
- admissionCapability = _chunkWOCHZCUJjs.traceCliSpan.call(void 0,
13586
+ admissionCapability = _chunkGRZENGNEjs.traceCliSpan.call(void 0,
13587
13587
  "cli.play_admission_capability_prefetch",
13588
13588
  { targetKind: "file" },
13589
13589
  () => clientForPrefetch.prefetchPlayRunAdmissionCapability({
@@ -13594,7 +13594,7 @@ async function handleFileBackedRun(options, hooks) {
13594
13594
  }
13595
13595
  let graph;
13596
13596
  try {
13597
- graph = await _chunkWOCHZCUJjs.traceCliSpan.call(void 0,
13597
+ graph = await _chunkGRZENGNEjs.traceCliSpan.call(void 0,
13598
13598
  "cli.play_file_bundle_graph",
13599
13599
  { targetKind: "file" },
13600
13600
  () => collectBundledPlayGraph(
@@ -13607,7 +13607,7 @@ async function handleFileBackedRun(options, hooks) {
13607
13607
  assertPlayGraphAuthoring(graph);
13608
13608
  if (options.dryRun) {
13609
13609
  progress.complete();
13610
- const plan = _chunk74RES4DSjs.planLocalPlayExecution.call(void 0, graph, {
13610
+ const plan = _chunkTJ6HLN56js.planLocalPlayExecution.call(void 0, graph, {
13611
13611
  runIdFile: options.runIdFile
13612
13612
  });
13613
13613
  if (_optionalChain([hooks, 'optionalAccess', _545 => _545.writeDryRunPlan])) hooks.writeDryRunPlan(plan);
@@ -13618,9 +13618,9 @@ async function handleFileBackedRun(options, hooks) {
13618
13618
  });
13619
13619
  return 0;
13620
13620
  }
13621
- client = _nullishCoalesce(prefetchClient, () => ( new (0, _chunkJLGP5XAJjs.DeeplineClient)(playRunClientOptions(options))));
13621
+ client = _nullishCoalesce(prefetchClient, () => ( new (0, _chunkDUBXUAAOjs.DeeplineClient)(playRunClientOptions(options))));
13622
13622
  if (cliAdmission && (graph.root.importedPlayDependencies.length > 0 || inputContainsLocalFilePath(runtimeInput))) {
13623
- await _chunkIUOGII7Djs.checkPlayRunCompatibility.call(void 0,
13623
+ await _chunkTOO3YM5Njs.checkPlayRunCompatibility.call(void 0,
13624
13624
  client.baseUrl,
13625
13625
  options.maintenancePolicy
13626
13626
  );
@@ -13633,7 +13633,7 @@ async function handleFileBackedRun(options, hooks) {
13633
13633
  });
13634
13634
  const canDeferCompilerManifest = graph.root.importedPlayDependencies.length === 0 && !sourceGraphMentionsRunPlay(graph.root) && !inputContainsLocalFilePath(runtimeInput) && !mayBindBareFileName(graph.root, runtimeInput);
13635
13635
  if (canDeferCompilerManifest) {
13636
- _chunkWOCHZCUJjs.recordCliTrace.call(void 0, {
13636
+ _chunkGRZENGNEjs.recordCliTrace.call(void 0, {
13637
13637
  phase: "cli.play_file_compile_manifests",
13638
13638
  ms: 0,
13639
13639
  ok: true,
@@ -13642,7 +13642,7 @@ async function handleFileBackedRun(options, hooks) {
13642
13642
  reason: "validated_by_run_route"
13643
13643
  });
13644
13644
  } else {
13645
- await _chunkWOCHZCUJjs.traceCliSpan.call(void 0,
13645
+ await _chunkGRZENGNEjs.traceCliSpan.call(void 0,
13646
13646
  "cli.play_file_compile_manifests",
13647
13647
  { targetKind: "file", skipped: false },
13648
13648
  () => compileBundledPlayGraphManifests(client, graph)
@@ -13650,7 +13650,7 @@ async function handleFileBackedRun(options, hooks) {
13650
13650
  }
13651
13651
  progress.phase("compiled play");
13652
13652
  } catch (error) {
13653
- if (error instanceof _chunkDP2VH7COjs.ExecutionOutputError) throw error;
13653
+ if (error instanceof _chunkUYCZFQYQjs.ExecutionOutputError) throw error;
13654
13654
  progress.fail();
13655
13655
  reportError(normalizePlayValidationError(error));
13656
13656
  return 1;
@@ -13661,13 +13661,13 @@ async function handleFileBackedRun(options, hooks) {
13661
13661
  if (bundleResult.importedPlayDependencies.length > 0) {
13662
13662
  try {
13663
13663
  renderLocalPlayExecutionPlan(
13664
- _chunk74RES4DSjs.planLocalPlayExecution.call(void 0, graph, { runIdFile: options.runIdFile })
13664
+ _chunkTJ6HLN56js.planLocalPlayExecution.call(void 0, graph, { runIdFile: options.runIdFile })
13665
13665
  );
13666
13666
  progress.phase("pinning imported plays");
13667
- graph = await _chunkWOCHZCUJjs.traceCliSpan.call(void 0,
13667
+ graph = await _chunkGRZENGNEjs.traceCliSpan.call(void 0,
13668
13668
  "cli.play_file_pin_imports",
13669
13669
  { targetKind: "file" },
13670
- () => _chunk74RES4DSjs.pinLocalPlayImports.call(void 0, client, graph)
13670
+ () => _chunkTJ6HLN56js.pinLocalPlayImports.call(void 0, client, graph)
13671
13671
  );
13672
13672
  bundleResult = graph.root;
13673
13673
  } catch (error) {
@@ -13684,7 +13684,7 @@ async function handleFileBackedRun(options, hooks) {
13684
13684
  inputSchema: _optionalChain([compilerManifest, 'optionalAccess', _546 => _546.authoringContract, 'optionalAccess', _547 => _547.inputSchema]),
13685
13685
  staticPipeline: _optionalChain([compilerManifest, 'optionalAccess', _548 => _548.staticPipeline])
13686
13686
  });
13687
- const stagedFileInputs = await _chunkWOCHZCUJjs.traceCliSpan.call(void 0,
13687
+ const stagedFileInputs = await _chunkGRZENGNEjs.traceCliSpan.call(void 0,
13688
13688
  "cli.play_stage_inputs",
13689
13689
  {
13690
13690
  targetKind: "file",
@@ -13735,7 +13735,7 @@ async function handleFileBackedRun(options, hooks) {
13735
13735
  };
13736
13736
  if (options.watch) {
13737
13737
  progress.phase("starting run");
13738
- const finalStatus = await _chunkWOCHZCUJjs.traceCliSpan.call(void 0,
13738
+ const finalStatus = await _chunkGRZENGNEjs.traceCliSpan.call(void 0,
13739
13739
  "cli.play_start_watch",
13740
13740
  { targetKind: "file", playName },
13741
13741
  () => (options.runIdFile ? startAndWaitForPlayCompletionByStream : startAndWaitForPlayCompletion)({
@@ -13797,7 +13797,7 @@ async function handleFileBackedRun(options, hooks) {
13797
13797
  return outputStatus.status === "completed" ? 0 : 1;
13798
13798
  }
13799
13799
  progress.phase("starting run");
13800
- const started = await _chunkWOCHZCUJjs.traceCliSpan.call(void 0,
13800
+ const started = await _chunkGRZENGNEjs.traceCliSpan.call(void 0,
13801
13801
  "cli.play_start_unwatched",
13802
13802
  { targetKind: "file", playName },
13803
13803
  () => startPlayRunWithTransientRetry({
@@ -13813,7 +13813,7 @@ async function handleFileBackedRun(options, hooks) {
13813
13813
  );
13814
13814
  await _optionalChain([hooks, 'optionalAccess', _556 => _556.onRunStarted, 'optionalCall', _557 => _557(started.workflowId)]);
13815
13815
  await _optionalChain([hooks, 'optionalAccess', _558 => _558.onRunAdmitted, 'optionalCall', _559 => _559(started.workflowId)]);
13816
- const resolvedDashboardUrl = _chunkTFEXSHPMjs.buildPlayDashboardUrl.call(void 0, client.baseUrl, playName);
13816
+ const resolvedDashboardUrl = _chunkLY5MMXFFjs.buildPlayDashboardUrl.call(void 0, client.baseUrl, playName);
13817
13817
  openPlayDashboard(
13818
13818
  resolvePlayRunUrl({
13819
13819
  runId: started.workflowId,
@@ -13870,9 +13870,9 @@ async function handleNamedRun(options, hooks) {
13870
13870
  if (options.target.kind !== "name") {
13871
13871
  throw new Error("Expected a named play run target.");
13872
13872
  }
13873
- const client = new (0, _chunkJLGP5XAJjs.DeeplineClient)(playRunClientOptions(options));
13874
- let cliAdmission = _chunkIUOGII7Djs.usesCliPlayAdmission.call(void 0, "plays run", process.argv.slice(2));
13875
- const progress = _nullishCoalesce(_chunk4747TPLVjs.getActiveCliProgress.call(void 0, ), () => ( _chunk4747TPLVjs.createCliProgress.call(void 0, !options.jsonOutput)));
13873
+ const client = new (0, _chunkDUBXUAAOjs.DeeplineClient)(playRunClientOptions(options));
13874
+ let cliAdmission = _chunkTOO3YM5Njs.usesCliPlayAdmission.call(void 0, "plays run", process.argv.slice(2));
13875
+ const progress = _nullishCoalesce(_chunkPQQMPUCZjs.getActiveCliProgress.call(void 0, ), () => ( _chunkPQQMPUCZjs.createCliProgress.call(void 0, !options.jsonOutput)));
13876
13876
  const playName = options.target.name;
13877
13877
  const runtimeInput = options.input ? { ...options.input } : {};
13878
13878
  try {
@@ -13890,7 +13890,7 @@ async function handleNamedRun(options, hooks) {
13890
13890
  if (options.watch && cliAdmission && Boolean(options.runIdFile) && options.maxTotalCredits === null && !needsPlayDefinition && !inputContainsLocalFilePath(runtimeInput)) {
13891
13891
  const capabilityController = new AbortController();
13892
13892
  cancelAdmissionCapability = () => capabilityController.abort();
13893
- admissionCapability = _chunkWOCHZCUJjs.traceCliSpan.call(void 0,
13893
+ admissionCapability = _chunkGRZENGNEjs.traceCliSpan.call(void 0,
13894
13894
  "cli.play_admission_capability_prefetch",
13895
13895
  { targetKind: "name", playName },
13896
13896
  () => client.prefetchPlayRunAdmissionCapability({
@@ -13901,14 +13901,14 @@ async function handleNamedRun(options, hooks) {
13901
13901
  }
13902
13902
  const playDetail = needsPlayDefinition ? await (async () => {
13903
13903
  progress.phase("loading play definition");
13904
- return _chunkWOCHZCUJjs.traceCliSpan.call(void 0,
13904
+ return _chunkGRZENGNEjs.traceCliSpan.call(void 0,
13905
13905
  "cli.play_load_definition",
13906
13906
  { targetKind: "name", playName, skipped: false },
13907
13907
  () => assertCanonicalNamedPlayReference(client, playName, {
13908
13908
  command: "run"
13909
13909
  })
13910
13910
  );
13911
- })() : (_chunkWOCHZCUJjs.recordCliTrace.call(void 0, {
13911
+ })() : (_chunkGRZENGNEjs.recordCliTrace.call(void 0, {
13912
13912
  phase: "cli.play_load_definition",
13913
13913
  ms: 0,
13914
13914
  ok: true,
@@ -13917,7 +13917,7 @@ async function handleNamedRun(options, hooks) {
13917
13917
  skipped: true
13918
13918
  }), null);
13919
13919
  progress.phase("selecting revision");
13920
- const selectedRevisionId = await _chunkWOCHZCUJjs.traceCliSpan.call(void 0,
13920
+ const selectedRevisionId = await _chunkGRZENGNEjs.traceCliSpan.call(void 0,
13921
13921
  "cli.play_select_revision",
13922
13922
  {
13923
13923
  targetKind: "name",
@@ -13942,10 +13942,10 @@ async function handleNamedRun(options, hooks) {
13942
13942
  ..._chunkMJTVX4QKjs.fileInputBindingsFromStaticPipeline.call(void 0, playDetail.play.staticPipeline)
13943
13943
  ] : [];
13944
13944
  if (cliAdmission && fileInputBindings.length > 0) {
13945
- await _chunkIUOGII7Djs.checkPlayRunCompatibility.call(void 0, client.baseUrl, options.maintenancePolicy);
13945
+ await _chunkTOO3YM5Njs.checkPlayRunCompatibility.call(void 0, client.baseUrl, options.maintenancePolicy);
13946
13946
  cliAdmission = false;
13947
13947
  }
13948
- const stagedFileInputs = await _chunkWOCHZCUJjs.traceCliSpan.call(void 0,
13948
+ const stagedFileInputs = await _chunkGRZENGNEjs.traceCliSpan.call(void 0,
13949
13949
  "cli.play_stage_inputs",
13950
13950
  {
13951
13951
  targetKind: "name",
@@ -13990,7 +13990,7 @@ async function handleNamedRun(options, hooks) {
13990
13990
  });
13991
13991
  if (options.watch) {
13992
13992
  progress.phase("starting run");
13993
- const finalStatus = await _chunkWOCHZCUJjs.traceCliSpan.call(void 0,
13993
+ const finalStatus = await _chunkGRZENGNEjs.traceCliSpan.call(void 0,
13994
13994
  "cli.play_start_watch",
13995
13995
  { targetKind: "name", playName },
13996
13996
  () => (options.runIdFile ? startAndWaitForPlayCompletionByStream : startAndWaitForPlayCompletion)({
@@ -14055,7 +14055,7 @@ async function handleNamedRun(options, hooks) {
14055
14055
  return outputStatus.status === "completed" ? 0 : 1;
14056
14056
  }
14057
14057
  progress.phase("starting run");
14058
- const started = await _chunkWOCHZCUJjs.traceCliSpan.call(void 0,
14058
+ const started = await _chunkGRZENGNEjs.traceCliSpan.call(void 0,
14059
14059
  "cli.play_start_unwatched",
14060
14060
  { targetKind: "name", playName },
14061
14061
  () => startPlayRunWithTransientRetry({
@@ -14073,7 +14073,7 @@ async function handleNamedRun(options, hooks) {
14073
14073
  );
14074
14074
  await _optionalChain([hooks, 'optionalAccess', _569 => _569.onRunStarted, 'optionalCall', _570 => _570(started.workflowId)]);
14075
14075
  await _optionalChain([hooks, 'optionalAccess', _571 => _571.onRunAdmitted, 'optionalCall', _572 => _572(started.workflowId)]);
14076
- const resolvedDashboardUrl = _chunkTFEXSHPMjs.buildPlayDashboardUrl.call(void 0, client.baseUrl, playName);
14076
+ const resolvedDashboardUrl = _chunkLY5MMXFFjs.buildPlayDashboardUrl.call(void 0, client.baseUrl, playName);
14077
14077
  openPlayDashboard(
14078
14078
  resolvePlayRunUrl({
14079
14079
  runId: started.workflowId,
@@ -14122,11 +14122,11 @@ async function writePlayRunReceipt(client, status, output) {
14122
14122
  const next = { status: `deepline runs get ${status.runId}` };
14123
14123
  const playName = _nullishCoalesce(_nullishCoalesce(_optionalChain([/^play\/(.+)\/run\//, 'access', _576 => _576.exec, 'call', _577 => _577(status.runId), 'optionalAccess', _578 => _578[1]]), () => ( extractRunPlayName(status))), () => ( null));
14124
14124
  if (!terminal) {
14125
- _chunkDP2VH7COjs.writeExecutionOutput.call(void 0,
14125
+ _chunkUYCZFQYQjs.writeExecutionOutput.call(void 0,
14126
14126
  {
14127
14127
  id: status.runId,
14128
14128
  status: status.status,
14129
- ...playName ? { page: _chunkTFEXSHPMjs.buildPlayRunUrl.call(void 0, client.baseUrl, playName, status.runId) } : {},
14129
+ ...playName ? { page: _chunkLY5MMXFFjs.buildPlayRunUrl.call(void 0, client.baseUrl, playName, status.runId) } : {},
14130
14130
  next
14131
14131
  },
14132
14132
  output
@@ -14202,10 +14202,10 @@ async function writePlayRunReceipt(client, status, output) {
14202
14202
  };
14203
14203
  }
14204
14204
  const byRows = new Map(collections.map((c) => [c.rows, c]));
14205
- const allCollections = _chunkDP2VH7COjs.outputCollections.call(void 0, data).map(
14205
+ const allCollections = _chunkUYCZFQYQjs.outputCollections.call(void 0, data).map(
14206
14206
  (collection) => _nullishCoalesce(byRows.get(collection.rows), () => ( collection))
14207
14207
  );
14208
- _chunkDP2VH7COjs.writeExecutionOutput.call(void 0,
14208
+ _chunkUYCZFQYQjs.writeExecutionOutput.call(void 0,
14209
14209
  {
14210
14210
  id: status.runId,
14211
14211
  status: status.status,
@@ -14214,7 +14214,7 @@ async function writePlayRunReceipt(client, status, output) {
14214
14214
  complete: allCollections.every((c) => c.complete === true) ? true : allCollections.some((c) => c.complete === false) ? false : null,
14215
14215
  error,
14216
14216
  credits: _nullishCoalesce(_nullishCoalesce(status.billingTotalCreditsRollup, () => ( _optionalChain([status, 'access', _585 => _585.billing, 'optionalAccess', _586 => _586.totalCredits]))), () => ( null)),
14217
- ...playName ? { page: _chunkTFEXSHPMjs.buildPlayRunUrl.call(void 0, client.baseUrl, playName, status.runId) } : {},
14217
+ ...playName ? { page: _chunkLY5MMXFFjs.buildPlayRunUrl.call(void 0, client.baseUrl, playName, status.runId) } : {},
14218
14218
  warnings: [
14219
14219
  ...buildRunWarnings(status, null),
14220
14220
  ...status.status === "completed" && collections.length && collections.every((collection) => collection.rows.length === 0) ? ["Run completed with 0 output rows."] : []
@@ -14226,7 +14226,7 @@ async function writePlayRunReceipt(client, status, output) {
14226
14226
  }
14227
14227
  var TOOL_EXECUTION_ID = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
14228
14228
  async function handlePlayRun(args, hooks) {
14229
- const parsedOptions = Array.isArray(args) ? _chunkQ6Z6N3A7js.parsePlayRunOptions.call(void 0, args) : args;
14229
+ const parsedOptions = Array.isArray(args) ? _chunkGHT2NDL7js.parsePlayRunOptions.call(void 0, args) : args;
14230
14230
  const options = parsedOptions.runIdFile ? {
14231
14231
  ...parsedOptions,
14232
14232
  runIdFile: parsedOptions.dryRun ? _path.resolve.call(void 0, parsedOptions.runIdFile) : await preflightRunIdFile(parsedOptions.runIdFile)
@@ -14243,7 +14243,7 @@ async function handlePlayRun(args, hooks) {
14243
14243
  JSON.stringify({
14244
14244
  version: 1,
14245
14245
  admissionState: "submitted_unknown",
14246
- baseUrl: new (0, _chunkJLGP5XAJjs.DeeplineClient)().baseUrl,
14246
+ baseUrl: new (0, _chunkDUBXUAAOjs.DeeplineClient)().baseUrl,
14247
14247
  ...intent
14248
14248
  })
14249
14249
  );
@@ -14509,7 +14509,7 @@ function renderRunOverviewText(overview, extras = {}) {
14509
14509
  );
14510
14510
  return `${lines.join("\n")}
14511
14511
 
14512
- ${_chunkXLIHTJVMjs.renderCommandEnvelopeText.call(void 0, { render: { sections, actions: actions2 } })}`;
14512
+ ${_chunkYQKCH4R7js.renderCommandEnvelopeText.call(void 0, { render: { sections, actions: actions2 } })}`;
14513
14513
  }
14514
14514
  var RUN_READ_TIMING_PROGRESS_INTERVAL_MS = 15e3;
14515
14515
  async function withRunReadTiming(command, stage, enabled, action) {
@@ -14535,14 +14535,14 @@ async function withRunReadTiming(command, stage, enabled, action) {
14535
14535
  async function handleRunGet(args) {
14536
14536
  return explainingRunNotFound(
14537
14537
  () => parseRunIdPositional(
14538
- _chunkXLIHTJVMjs.parseJsonFields.call(void 0, args, args.includes("--config") ? "config" : "get").args,
14538
+ _chunkYQKCH4R7js.parseJsonFields.call(void 0, args, args.includes("--config") ? "config" : "get").args,
14539
14539
  ""
14540
14540
  ),
14541
14541
  () => handleRunGetAndPrint(args)
14542
14542
  );
14543
14543
  }
14544
14544
  async function handleRunGetAndPrint(args) {
14545
- const selection = _chunkXLIHTJVMjs.parseJsonFields.call(void 0,
14545
+ const selection = _chunkYQKCH4R7js.parseJsonFields.call(void 0,
14546
14546
  args,
14547
14547
  args.includes("--config") ? "config" : "get"
14548
14548
  );
@@ -14555,7 +14555,7 @@ async function handleRunGetAndPrint(args) {
14555
14555
  console.error(error instanceof Error ? error.message : usage2);
14556
14556
  return 1;
14557
14557
  }
14558
- const client = new (0, _chunkJLGP5XAJjs.DeeplineClient)();
14558
+ const client = new (0, _chunkDUBXUAAOjs.DeeplineClient)();
14559
14559
  const timing = args.includes("--timing");
14560
14560
  const web = args.includes("--web");
14561
14561
  if (web || args.includes("--web-url")) {
@@ -14570,11 +14570,11 @@ async function handleRunGetAndPrint(args) {
14570
14570
  console.error(`Run ${runId} does not name its play; no run page URL.`);
14571
14571
  return 1;
14572
14572
  }
14573
- const dashboardUrl2 = _chunkTFEXSHPMjs.buildPlayDashboardUrl.call(void 0, client.baseUrl, playName2);
14574
- const runUrl2 = _chunkTFEXSHPMjs.buildPlayRunUrl.call(void 0, client.baseUrl, playName2, runId);
14573
+ const dashboardUrl2 = _chunkLY5MMXFFjs.buildPlayDashboardUrl.call(void 0, client.baseUrl, playName2);
14574
+ const runUrl2 = _chunkLY5MMXFFjs.buildPlayRunUrl.call(void 0, client.baseUrl, playName2, runId);
14575
14575
  if (web) {
14576
- const opened = _chunkXLIHTJVMjs.openInBrowser.call(void 0, runUrl2);
14577
- _chunkXLIHTJVMjs.printCommandEnvelope.call(void 0,
14576
+ const opened = _chunkYQKCH4R7js.openInBrowser.call(void 0, runUrl2);
14577
+ _chunkYQKCH4R7js.printCommandEnvelope.call(void 0,
14578
14578
  { dashboardUrl: dashboardUrl2, runUrl: runUrl2, opened: opened === "opened" },
14579
14579
  {
14580
14580
  json: args.includes("--json"),
@@ -14585,7 +14585,7 @@ async function handleRunGetAndPrint(args) {
14585
14585
  );
14586
14586
  return 0;
14587
14587
  }
14588
- _chunkXLIHTJVMjs.printCommandEnvelope.call(void 0,
14588
+ _chunkYQKCH4R7js.printCommandEnvelope.call(void 0,
14589
14589
  { dashboardUrl: dashboardUrl2, runUrl: runUrl2 },
14590
14590
  { json: args.includes("--json"), text: `${runUrl2}
14591
14591
  ` }
@@ -14610,7 +14610,7 @@ async function handleRunGetAndPrint(args) {
14610
14610
  "This server does not support recorded configuration reads."
14611
14611
  );
14612
14612
  }
14613
- _chunkXLIHTJVMjs.printCommandEnvelope.call(void 0,
14613
+ _chunkYQKCH4R7js.printCommandEnvelope.call(void 0,
14614
14614
  { runId, contract: _nullishCoalesce(status2.contract, () => ( null)) },
14615
14615
  { json: true, fields: selection.fields }
14616
14616
  );
@@ -14623,7 +14623,7 @@ async function handleRunGetAndPrint(args) {
14623
14623
  timing,
14624
14624
  () => client.getRunInput(runId)
14625
14625
  );
14626
- _chunkXLIHTJVMjs.printCommandEnvelope.call(void 0, input, { json: true });
14626
+ _chunkYQKCH4R7js.printCommandEnvelope.call(void 0, input, { json: true });
14627
14627
  return 0;
14628
14628
  }
14629
14629
  const full = args.includes("--full");
@@ -14638,7 +14638,7 @@ async function handleRunGetAndPrint(args) {
14638
14638
  failedLogs: args.includes("--log-failed")
14639
14639
  })
14640
14640
  );
14641
- if (status.package) _chunkDP2VH7COjs.recordPlayTermination.call(void 0, buildRunOverview(status).run);
14641
+ if (status.package) _chunkUYCZFQYQjs.recordPlayTermination.call(void 0, buildRunOverview(status).run);
14642
14642
  if (!status.package) {
14643
14643
  const legacyStatus = full ? await withRunReadTiming(
14644
14644
  "runs get",
@@ -14650,10 +14650,10 @@ async function handleRunGetAndPrint(args) {
14650
14650
  })
14651
14651
  ) : status;
14652
14652
  const legacyPlayName = resolveRunPlayName(legacyStatus, runId);
14653
- const legacyDashboardUrl = legacyPlayName ? _chunkTFEXSHPMjs.buildPlayDashboardUrl.call(void 0, client.baseUrl, legacyPlayName) : null;
14654
- const legacyRunUrl = legacyPlayName ? _chunkTFEXSHPMjs.buildPlayRunUrl.call(void 0, client.baseUrl, legacyPlayName, runId) : null;
14655
- if (_chunkXLIHTJVMjs.argsWantJson.call(void 0, args)) {
14656
- _chunkXLIHTJVMjs.printCommandEnvelope.call(void 0,
14653
+ const legacyDashboardUrl = legacyPlayName ? _chunkLY5MMXFFjs.buildPlayDashboardUrl.call(void 0, client.baseUrl, legacyPlayName) : null;
14654
+ const legacyRunUrl = legacyPlayName ? _chunkLY5MMXFFjs.buildPlayRunUrl.call(void 0, client.baseUrl, legacyPlayName, runId) : null;
14655
+ if (_chunkYQKCH4R7js.argsWantJson.call(void 0, args)) {
14656
+ _chunkYQKCH4R7js.printCommandEnvelope.call(void 0,
14657
14657
  {
14658
14658
  ...full ? legacyStatus : compactPlayStatus(legacyStatus),
14659
14659
  ...legacyDashboardUrl ? { dashboardUrl: legacyDashboardUrl } : {},
@@ -14664,7 +14664,7 @@ async function handleRunGetAndPrint(args) {
14664
14664
  } else {
14665
14665
  writePlayResult(legacyStatus, false, { fullJson: full });
14666
14666
  if (legacyRunUrl)
14667
- _chunkXLIHTJVMjs.printCommandEnvelope.call(void 0,
14667
+ _chunkYQKCH4R7js.printCommandEnvelope.call(void 0,
14668
14668
  { dashboardUrl: legacyDashboardUrl, runUrl: legacyRunUrl },
14669
14669
  { json: false, text: `run page: ${legacyRunUrl}
14670
14670
  ` }
@@ -14694,11 +14694,11 @@ async function handleRunGetAndPrint(args) {
14694
14694
  )
14695
14695
  ]);
14696
14696
  const hitLines = formatRunHitsLines(hits);
14697
- const json = _chunkXLIHTJVMjs.argsWantJson.call(void 0, args);
14697
+ const json = _chunkYQKCH4R7js.argsWantJson.call(void 0, args);
14698
14698
  const playName = resolveRunPlayName(status, runId);
14699
- const dashboardUrl = playName ? _chunkTFEXSHPMjs.buildPlayDashboardUrl.call(void 0, client.baseUrl, playName) : void 0;
14700
- const runUrl = playName ? _chunkTFEXSHPMjs.buildPlayRunUrl.call(void 0, client.baseUrl, playName, runId) : void 0;
14701
- _chunkXLIHTJVMjs.printCommandEnvelope.call(void 0,
14699
+ const dashboardUrl = playName ? _chunkLY5MMXFFjs.buildPlayDashboardUrl.call(void 0, client.baseUrl, playName) : void 0;
14700
+ const runUrl = playName ? _chunkLY5MMXFFjs.buildPlayRunUrl.call(void 0, client.baseUrl, playName, runId) : void 0;
14701
+ _chunkYQKCH4R7js.printCommandEnvelope.call(void 0,
14702
14702
  {
14703
14703
  ...overview,
14704
14704
  ...dashboardUrl ? { dashboardUrl } : {},
@@ -14803,9 +14803,9 @@ async function handleRunLifecycleStatus(args) {
14803
14803
  console.error(error instanceof Error ? error.message : usage2);
14804
14804
  return 1;
14805
14805
  }
14806
- const status = await new (0, _chunkJLGP5XAJjs.DeeplineClient)().runs.status(runId);
14807
- if (_chunkXLIHTJVMjs.argsWantJson.call(void 0, args)) {
14808
- _chunkXLIHTJVMjs.printCommandEnvelope.call(void 0, status, { json: true });
14806
+ const status = await new (0, _chunkDUBXUAAOjs.DeeplineClient)().runs.status(runId);
14807
+ if (_chunkYQKCH4R7js.argsWantJson.call(void 0, args)) {
14808
+ _chunkYQKCH4R7js.printCommandEnvelope.call(void 0, status, { json: true });
14809
14809
  return 0;
14810
14810
  }
14811
14811
  if (!status.available) {
@@ -14871,7 +14871,7 @@ async function handleRunsRerun(args) {
14871
14871
  console.error(error instanceof Error ? error.message : usage2);
14872
14872
  return 1;
14873
14873
  }
14874
- const options = { json: _chunkXLIHTJVMjs.argsWantJson.call(void 0, args) };
14874
+ const options = { json: _chunkYQKCH4R7js.argsWantJson.call(void 0, args) };
14875
14875
  for (let index = 0; index < args.length; index += 1) {
14876
14876
  if (args[index] === "--idempotency-key") {
14877
14877
  options.idempotencyKey = _nullishCoalesce(args[++index], () => ( ""));
@@ -14939,8 +14939,8 @@ ${usage2}
14939
14939
  Discover Plays: ${next.discover}
14940
14940
  Active runs: ${next.running}`
14941
14941
  );
14942
- if (_chunkXLIHTJVMjs.argsWantJson.call(void 0, args)) {
14943
- _chunkXLIHTJVMjs.printCommandEnvelope.call(void 0,
14942
+ if (_chunkYQKCH4R7js.argsWantJson.call(void 0, args)) {
14943
+ _chunkYQKCH4R7js.printCommandEnvelope.call(void 0,
14944
14944
  { ok: false, exitCode: 1, code: "RUN_FILTER_REQUIRED", message, next },
14945
14945
  { json: true }
14946
14946
  );
@@ -14969,7 +14969,7 @@ Active runs: ${next.running}`
14969
14969
  console.error("--offset requires --play.");
14970
14970
  return 1;
14971
14971
  }
14972
- const client = new (0, _chunkJLGP5XAJjs.DeeplineClient)();
14972
+ const client = new (0, _chunkDUBXUAAOjs.DeeplineClient)();
14973
14973
  const page = await withRunReadTiming(
14974
14974
  "runs list",
14975
14975
  "run inventory",
@@ -15050,14 +15050,14 @@ Active runs: ${next.running}`
15050
15050
  return lines2.join("\n");
15051
15051
  });
15052
15052
  const nextOffset = (_nullishCoalesce(_nullishCoalesce(page.offset, () => ( offset)), () => ( 0))) + runs.length;
15053
- const nextPage = page.hasMore && playName ? `deepline runs list --play ${_chunkAID3OYVJjs.shellQuote.call(void 0, playName)}${nodeId ? ` --node ${_chunkAID3OYVJjs.shellQuote.call(void 0, nodeId)}` : ""}${wantsSteps ? " --steps" : ""}${statusFilter ? ` --status ${_chunkAID3OYVJjs.shellQuote.call(void 0, statusFilter)}` : ""} --limit ${_nullishCoalesce(_nullishCoalesce(page.limit, () => ( limit)), () => ( 20))} --offset ${nextOffset}${_chunkXLIHTJVMjs.argsWantJson.call(void 0, args) ? " --json" : ""}` : null;
15053
+ const nextPage = page.hasMore && playName ? `deepline runs list --play ${_chunkBVXIGOBZjs.shellQuote.call(void 0, playName)}${nodeId ? ` --node ${_chunkBVXIGOBZjs.shellQuote.call(void 0, nodeId)}` : ""}${wantsSteps ? " --steps" : ""}${statusFilter ? ` --status ${_chunkBVXIGOBZjs.shellQuote.call(void 0, statusFilter)}` : ""} --limit ${_nullishCoalesce(_nullishCoalesce(page.limit, () => ( limit)), () => ( 20))} --offset ${nextOffset}${_chunkYQKCH4R7js.argsWantJson.call(void 0, args) ? " --json" : ""}` : null;
15054
15054
  if (page.hasMore) {
15055
15055
  lines.push("List truncated \u2014 more runs match this filter.");
15056
15056
  lines.push(
15057
15057
  nextPage ? `Next page: ${nextPage}` : "Narrow with --play <play-name> to page through runs."
15058
15058
  );
15059
15059
  }
15060
- _chunkXLIHTJVMjs.printCommandEnvelope.call(void 0,
15060
+ _chunkYQKCH4R7js.printCommandEnvelope.call(void 0,
15061
15061
  {
15062
15062
  runs,
15063
15063
  ...wantsSteps ? {
@@ -15075,7 +15075,7 @@ Active runs: ${next.running}`
15075
15075
  },
15076
15076
  render: { sections: [{ title: "runs", lines }] }
15077
15077
  },
15078
- { json: _chunkXLIHTJVMjs.argsWantJson.call(void 0, args) }
15078
+ { json: _chunkYQKCH4R7js.argsWantJson.call(void 0, args) }
15079
15079
  );
15080
15080
  return 0;
15081
15081
  }
@@ -15105,7 +15105,7 @@ async function handleRunTail(args) {
15105
15105
  console.error("--log-level requires one of: debug, info, warn, error.");
15106
15106
  return 1;
15107
15107
  }
15108
- const parsed = _chunkCACFJODGjs.parseLogLevel.call(void 0, value);
15108
+ const parsed = _chunkOVEYWO4Hjs.parseLogLevel.call(void 0, value);
15109
15109
  if (!parsed) {
15110
15110
  console.error(
15111
15111
  `Unsupported --log-level ${JSON.stringify(value)}. Use debug, info, warn, or error.`
@@ -15143,9 +15143,9 @@ async function handleRunTail(args) {
15143
15143
  );
15144
15144
  return 1;
15145
15145
  }
15146
- const client = new (0, _chunkJLGP5XAJjs.DeeplineClient)();
15146
+ const client = new (0, _chunkDUBXUAAOjs.DeeplineClient)();
15147
15147
  const jsonLines = args.includes("--jsonl");
15148
- const jsonOutput = !jsonLines && _chunkXLIHTJVMjs.argsWantJson.call(void 0, args);
15148
+ const jsonOutput = !jsonLines && _chunkYQKCH4R7js.argsWantJson.call(void 0, args);
15149
15149
  const compact = args.includes("--compact");
15150
15150
  const showLiveLogs = debug || hasExplicitLogLevel || !jsonOutput && !compact;
15151
15151
  const compactState = {
@@ -15226,7 +15226,7 @@ async function handleRunLogs(args) {
15226
15226
  ]);
15227
15227
  const cursorIndex = args.indexOf("--cursor");
15228
15228
  const cursorValue = cursorIndex >= 0 ? args[cursorIndex + 1] : void 0;
15229
- const continuesEventSearch = cursorIndex >= 0 && !(cursorValue && _chunkCACFJODGjs.isRunLogsCursor.call(void 0, cursorValue));
15229
+ const continuesEventSearch = cursorIndex >= 0 && !(cursorValue && _chunkOVEYWO4Hjs.isRunLogsCursor.call(void 0, cursorValue));
15230
15230
  if (!args[0] || args[0].startsWith("--") || continuesEventSearch || args.some((arg) => searchFlags.has(arg))) {
15231
15231
  return handleRunEventSearch(args);
15232
15232
  }
@@ -15260,7 +15260,7 @@ async function handleRunLogs(args) {
15260
15260
  console.error("--log-level requires one of: debug, info, warn, error.");
15261
15261
  return 1;
15262
15262
  }
15263
- const parsed = _chunkCACFJODGjs.parseLogLevel.call(void 0, value);
15263
+ const parsed = _chunkOVEYWO4Hjs.parseLogLevel.call(void 0, value);
15264
15264
  if (!parsed) {
15265
15265
  console.error(
15266
15266
  `Unsupported --log-level ${JSON.stringify(value)}. Use debug, info, warn, or error.`
@@ -15307,12 +15307,12 @@ async function handleRunLogs(args) {
15307
15307
  );
15308
15308
  return 1;
15309
15309
  }
15310
- const client = new (0, _chunkJLGP5XAJjs.DeeplineClient)();
15310
+ const client = new (0, _chunkDUBXUAAOjs.DeeplineClient)();
15311
15311
  if (outPath) {
15312
15312
  const result2 = await client.runs.logs(runId, { all: true });
15313
- const logs = result2.entries.filter((line) => _chunkCACFJODGjs.logLevelReaches.call(void 0, _chunkCACFJODGjs.classifyLogLine.call(void 0, line).level, logLevel)).map((line) => _chunkCACFJODGjs.classifyLogLine.call(void 0, line).line);
15313
+ const logs = result2.entries.filter((line) => _chunkOVEYWO4Hjs.logLevelReaches.call(void 0, _chunkOVEYWO4Hjs.classifyLogLine.call(void 0, line).level, logLevel)).map((line) => _chunkOVEYWO4Hjs.classifyLogLine.call(void 0, line).line);
15314
15314
  _fs.writeFileSync.call(void 0, outPath, `${logs.join("\n")}${logs.length > 0 ? "\n" : ""}`);
15315
- _chunkXLIHTJVMjs.printCommandEnvelope.call(void 0,
15315
+ _chunkYQKCH4R7js.printCommandEnvelope.call(void 0,
15316
15316
  {
15317
15317
  runId: result2.runId,
15318
15318
  log_path: outPath,
@@ -15335,7 +15335,7 @@ async function handleRunLogs(args) {
15335
15335
  ]
15336
15336
  }
15337
15337
  },
15338
- { json: _chunkXLIHTJVMjs.argsWantJson.call(void 0, args) }
15338
+ { json: _chunkYQKCH4R7js.argsWantJson.call(void 0, args) }
15339
15339
  );
15340
15340
  return 0;
15341
15341
  }
@@ -15366,7 +15366,7 @@ async function handleRunLogs(args) {
15366
15366
  }
15367
15367
  };
15368
15368
  const text3 = buildRunLogsText(filteredResult);
15369
- _chunkXLIHTJVMjs.printCommandEnvelope.call(void 0,
15369
+ _chunkYQKCH4R7js.printCommandEnvelope.call(void 0,
15370
15370
  {
15371
15371
  runId: result.runId,
15372
15372
  totalCount: result.totalCount,
@@ -15390,7 +15390,7 @@ async function handleRunLogs(args) {
15390
15390
  render: { sections: [{ title: "run logs", lines: entries }] }
15391
15391
  },
15392
15392
  {
15393
- json: _chunkXLIHTJVMjs.argsWantJson.call(void 0, args),
15393
+ json: _chunkYQKCH4R7js.argsWantJson.call(void 0, args),
15394
15394
  text: text3
15395
15395
  }
15396
15396
  );
@@ -15414,7 +15414,7 @@ function selectRunLogTailPage(result, logLevel, limit) {
15414
15414
  );
15415
15415
  }
15416
15416
  const matching = result.entries.map((line, index) => ({ line, seq: first + index })).filter(
15417
- (entry) => _chunkCACFJODGjs.logLevelReaches.call(void 0, _chunkCACFJODGjs.classifyLogLine.call(void 0, entry.line).level, logLevel)
15417
+ (entry) => _chunkOVEYWO4Hjs.logLevelReaches.call(void 0, _chunkOVEYWO4Hjs.classifyLogLine.call(void 0, entry.line).level, logLevel)
15418
15418
  );
15419
15419
  const selected = matching.slice(-limit);
15420
15420
  const olderMatchesExist = matching.length > selected.length;
@@ -15424,7 +15424,7 @@ function selectRunLogTailPage(result, logLevel, limit) {
15424
15424
  lastSequence: _nullishCoalesce(_optionalChain([selected, 'access', _611 => _611.at, 'call', _612 => _612(-1), 'optionalAccess', _613 => _613.seq]), () => ( null)),
15425
15425
  truncated: result.truncated || olderMatchesExist,
15426
15426
  hasMore: olderMatchesExist,
15427
- nextCursor: olderMatchesExist ? _chunkCACFJODGjs.encodeRunLogsCursor.call(void 0, selected[0].seq) : null
15427
+ nextCursor: olderMatchesExist ? _chunkOVEYWO4Hjs.encodeRunLogsCursor.call(void 0, selected[0].seq) : null
15428
15428
  };
15429
15429
  }
15430
15430
  async function handleRunEventSearch(args) {
@@ -15491,7 +15491,7 @@ ${usage2}`);
15491
15491
  namespace,
15492
15492
  ...backend ? { backend } : {}
15493
15493
  } : void 0;
15494
- const client = new (0, _chunkJLGP5XAJjs.DeeplineClient)();
15494
+ const client = new (0, _chunkDUBXUAAOjs.DeeplineClient)();
15495
15495
  const result = await client.runs.searchEvents({
15496
15496
  ...runId ? { runId } : {},
15497
15497
  ...values["--since"] ? { since: values["--since"] } : {},
@@ -15547,23 +15547,23 @@ ${renderedDetails}` : ""}`;
15547
15547
  });
15548
15548
  const nextCommand = result.nextCursor ? [
15549
15549
  "deepline runs logs",
15550
- ...runId ? [_chunkAID3OYVJjs.shellQuote.call(void 0, runId)] : [],
15550
+ ...runId ? [_chunkBVXIGOBZjs.shellQuote.call(void 0, runId)] : [],
15551
15551
  "--since",
15552
- _chunkAID3OYVJjs.shellQuote.call(void 0, result.since),
15552
+ _chunkBVXIGOBZjs.shellQuote.call(void 0, result.since),
15553
15553
  "--until",
15554
- _chunkAID3OYVJjs.shellQuote.call(void 0, result.until),
15555
- ...values["--play"] ? ["--play", _chunkAID3OYVJjs.shellQuote.call(void 0, values["--play"])] : [],
15556
- ...values["--kind"] ? ["--kind", _chunkAID3OYVJjs.shellQuote.call(void 0, values["--kind"])] : [],
15557
- ...values["--where"] ? ["--where", _chunkAID3OYVJjs.shellQuote.call(void 0, values["--where"])] : [],
15554
+ _chunkBVXIGOBZjs.shellQuote.call(void 0, result.until),
15555
+ ...values["--play"] ? ["--play", _chunkBVXIGOBZjs.shellQuote.call(void 0, values["--play"])] : [],
15556
+ ...values["--kind"] ? ["--kind", _chunkBVXIGOBZjs.shellQuote.call(void 0, values["--kind"])] : [],
15557
+ ...values["--where"] ? ["--where", _chunkBVXIGOBZjs.shellQuote.call(void 0, values["--where"])] : [],
15558
15558
  ...includePayloads ? ["--payloads"] : [],
15559
- ...namespace ? ["--runtime-namespace", _chunkAID3OYVJjs.shellQuote.call(void 0, namespace)] : [],
15560
- ...backend ? ["--runtime-backend", _chunkAID3OYVJjs.shellQuote.call(void 0, backend)] : [],
15559
+ ...namespace ? ["--runtime-namespace", _chunkBVXIGOBZjs.shellQuote.call(void 0, namespace)] : [],
15560
+ ...backend ? ["--runtime-backend", _chunkBVXIGOBZjs.shellQuote.call(void 0, backend)] : [],
15561
15561
  "--cursor",
15562
- _chunkAID3OYVJjs.shellQuote.call(void 0, result.nextCursor),
15562
+ _chunkBVXIGOBZjs.shellQuote.call(void 0, result.nextCursor),
15563
15563
  "--limit",
15564
15564
  String(limit)
15565
15565
  ].join(" ") : null;
15566
- _chunkXLIHTJVMjs.printCommandEnvelope.call(void 0,
15566
+ _chunkYQKCH4R7js.printCommandEnvelope.call(void 0,
15567
15567
  {
15568
15568
  events,
15569
15569
  nextCursor: result.nextCursor,
@@ -15574,14 +15574,14 @@ ${renderedDetails}` : ""}`;
15574
15574
  render: { sections: [{ title: "runtime events", lines }] }
15575
15575
  },
15576
15576
  {
15577
- json: _chunkXLIHTJVMjs.argsWantJson.call(void 0, args),
15577
+ json: _chunkYQKCH4R7js.argsWantJson.call(void 0, args),
15578
15578
  text: `${lines.join("\n")}${lines.length ? "\n" : ""}`
15579
15579
  }
15580
15580
  );
15581
15581
  return 0;
15582
15582
  }
15583
15583
  function buildRunLogsText(result) {
15584
- const lines = result.entries.map((line) => _chunkCACFJODGjs.classifyLogLine.call(void 0, line).line);
15584
+ const lines = result.entries.map((line) => _chunkOVEYWO4Hjs.classifyLogLine.call(void 0, line).line);
15585
15585
  if (result.warning) {
15586
15586
  if (lines.length > 0) lines.push("");
15587
15587
  lines.push(`warning: ${result.warning}`);
@@ -15615,7 +15615,7 @@ async function handleRunStop(args) {
15615
15615
  reason = args[++index];
15616
15616
  }
15617
15617
  }
15618
- const client = new (0, _chunkJLGP5XAJjs.DeeplineClient)();
15618
+ const client = new (0, _chunkDUBXUAAOjs.DeeplineClient)();
15619
15619
  const result = await client.runs.stop(runId, { reason });
15620
15620
  const communicationNotes = [
15621
15621
  ...result.communicationCancelledCount ? [
@@ -15639,7 +15639,7 @@ async function handleRunStop(args) {
15639
15639
  ...result.hitlCancelledCount > 0 ? [`cancelled HITL waits: ${result.hitlCancelledCount}`] : [],
15640
15640
  `inspect: deepline runs get ${runId} --full`
15641
15641
  ];
15642
- _chunkXLIHTJVMjs.printCommandEnvelope.call(void 0,
15642
+ _chunkYQKCH4R7js.printCommandEnvelope.call(void 0,
15643
15643
  {
15644
15644
  ...cancelling,
15645
15645
  state,
@@ -15654,7 +15654,7 @@ async function handleRunStop(args) {
15654
15654
  ]
15655
15655
  }
15656
15656
  },
15657
- { json: _chunkXLIHTJVMjs.argsWantJson.call(void 0, args) }
15657
+ { json: _chunkYQKCH4R7js.argsWantJson.call(void 0, args) }
15658
15658
  );
15659
15659
  return 0;
15660
15660
  }
@@ -15672,7 +15672,7 @@ async function handleRunStop(args) {
15672
15672
  ];
15673
15673
  process.stderr.write(`${lines2.join("\n")}
15674
15674
  `);
15675
- _chunkXLIHTJVMjs.printCommandEnvelope.call(void 0,
15675
+ _chunkYQKCH4R7js.printCommandEnvelope.call(void 0,
15676
15676
  {
15677
15677
  ...result,
15678
15678
  render: {
@@ -15687,7 +15687,7 @@ async function handleRunStop(args) {
15687
15687
  ]
15688
15688
  }
15689
15689
  },
15690
- { json: _chunkXLIHTJVMjs.argsWantJson.call(void 0, args) }
15690
+ { json: _chunkYQKCH4R7js.argsWantJson.call(void 0, args) }
15691
15691
  );
15692
15692
  return 1;
15693
15693
  }
@@ -15699,12 +15699,12 @@ async function handleRunStop(args) {
15699
15699
  `warning: HITL cancellation or Slack card refresh is still pending; retry 'deepline runs stop ${runId}'`
15700
15700
  ] : []
15701
15701
  ];
15702
- _chunkXLIHTJVMjs.printCommandEnvelope.call(void 0,
15702
+ _chunkYQKCH4R7js.printCommandEnvelope.call(void 0,
15703
15703
  {
15704
15704
  ...result,
15705
15705
  render: { sections: [{ title: "run stop", lines }] }
15706
15706
  },
15707
- { json: _chunkXLIHTJVMjs.argsWantJson.call(void 0, args) }
15707
+ { json: _chunkYQKCH4R7js.argsWantJson.call(void 0, args) }
15708
15708
  );
15709
15709
  return 0;
15710
15710
  }
@@ -15754,18 +15754,18 @@ async function handleRunStopAll(args) {
15754
15754
  reason = args[++index];
15755
15755
  }
15756
15756
  }
15757
- const client = new (0, _chunkJLGP5XAJjs.DeeplineClient)();
15757
+ const client = new (0, _chunkDUBXUAAOjs.DeeplineClient)();
15758
15758
  if (dryRun) {
15759
15759
  const result2 = await client.runs.stopAll({ dryRun: true, reason });
15760
15760
  const lines2 = buildStopAllDryRunTextLines(result2);
15761
- _chunkXLIHTJVMjs.printCommandEnvelope.call(void 0,
15761
+ _chunkYQKCH4R7js.printCommandEnvelope.call(void 0,
15762
15762
  {
15763
15763
  ...result2,
15764
15764
  render: {
15765
15765
  sections: [{ title: "org stop-all (dry run)", lines: lines2 }]
15766
15766
  }
15767
15767
  },
15768
- { json: _chunkXLIHTJVMjs.argsWantJson.call(void 0, args), text: `${lines2.join("\n")}
15768
+ { json: _chunkYQKCH4R7js.argsWantJson.call(void 0, args), text: `${lines2.join("\n")}
15769
15769
  ` }
15770
15770
  );
15771
15771
  return 0;
@@ -15778,23 +15778,23 @@ async function handleRunStopAll(args) {
15778
15778
  ...result.failed > 0 ? [`failed stops: ${result.failed}`] : [],
15779
15779
  ...result.skipped > 0 ? [`skipped: ${result.skipped}`] : []
15780
15780
  ];
15781
- _chunkXLIHTJVMjs.printCommandEnvelope.call(void 0,
15781
+ _chunkYQKCH4R7js.printCommandEnvelope.call(void 0,
15782
15782
  {
15783
15783
  ...result,
15784
15784
  render: { sections: [{ title: "org stop-all", lines }] }
15785
15785
  },
15786
- { json: _chunkXLIHTJVMjs.argsWantJson.call(void 0, args) }
15786
+ { json: _chunkYQKCH4R7js.argsWantJson.call(void 0, args) }
15787
15787
  );
15788
15788
  return result.failed > 0 || result.partial ? 1 : 0;
15789
15789
  }
15790
15790
  async function handleRunExport(args) {
15791
15791
  return explainingRunNotFound(
15792
- () => parseRunIdPositional(_chunkXLIHTJVMjs.parseJsonFields.call(void 0, args, "export").args, ""),
15792
+ () => parseRunIdPositional(_chunkYQKCH4R7js.parseJsonFields.call(void 0, args, "export").args, ""),
15793
15793
  () => handleRunExportAndWrite(args)
15794
15794
  );
15795
15795
  }
15796
15796
  async function handleRunExportAndWrite(args) {
15797
- const selection = _chunkXLIHTJVMjs.parseJsonFields.call(void 0, args, "export");
15797
+ const selection = _chunkYQKCH4R7js.parseJsonFields.call(void 0, args, "export");
15798
15798
  args = selection.args;
15799
15799
  const usage2 = "Usage: deepline runs export <run-id> [--dataset result.rows] --out <path> [--format csv|json] [--summary full|counts] [--wait] [--timeout-ms 300000] [--metadata-out export.json] [--allow-empty] [--json]";
15800
15800
  let runId;
@@ -15865,17 +15865,17 @@ async function handleRunExportAndWrite(args) {
15865
15865
  "INVALID_ARGUMENT"
15866
15866
  );
15867
15867
  }
15868
- const client = new (0, _chunkJLGP5XAJjs.DeeplineClient)();
15868
+ const client = new (0, _chunkDUBXUAAOjs.DeeplineClient)();
15869
15869
  let status = await client.getPlayStatus(runId, { full: true });
15870
15870
  runId = assertRunExportStatusIdentity(status, runId);
15871
15871
  if (wait && !TERMINAL_PLAY_STATUSES.has(status.status)) {
15872
- const progress = _chunk4747TPLVjs.createCliProgress.call(void 0, !_chunkXLIHTJVMjs.argsWantJson.call(void 0, args));
15872
+ const progress = _chunkPQQMPUCZjs.createCliProgress.call(void 0, !_chunkYQKCH4R7js.argsWantJson.call(void 0, args));
15873
15873
  try {
15874
15874
  await waitForPlayCompletionByWatch({
15875
15875
  client,
15876
15876
  playName: _nullishCoalesce(extractRunPlayName(status), () => ( runId)),
15877
15877
  workflowId: runId,
15878
- jsonOutput: _chunkXLIHTJVMjs.argsWantJson.call(void 0, args),
15878
+ jsonOutput: _chunkYQKCH4R7js.argsWantJson.call(void 0, args),
15879
15879
  emitLogs: false,
15880
15880
  waitTimeoutMs,
15881
15881
  startedAt: Date.now(),
@@ -15943,7 +15943,7 @@ async function handleRunExportAndWrite(args) {
15943
15943
  rowCount: _nullishCoalesce(_optionalChain([exportResult, 'optionalAccess', _627 => _627.rowsInfo, 'access', _628 => _628.totalRows]), () => ( null)),
15944
15944
  ...exportedRowOutcomes ? { rowOutcomes: exportedRowOutcomes } : {},
15945
15945
  ...rowFailures ? { rowFailures } : {},
15946
- columns: _chunkDP2VH7COjs.underscoreKeysLast.call(void 0, _nullishCoalesce(_optionalChain([exportResult, 'optionalAccess', _629 => _629.rowsInfo, 'access', _630 => _630.columns]), () => ( []))),
15946
+ columns: _chunkUYCZFQYQjs.underscoreKeysLast.call(void 0, _nullishCoalesce(_optionalChain([exportResult, 'optionalAccess', _629 => _629.rowsInfo, 'access', _630 => _630.columns]), () => ( []))),
15947
15947
  ...currentTableNotice ? { notice: currentTableNotice } : {},
15948
15948
  ...metadataOutPath ? { metadata_path: metadataOutPath } : {},
15949
15949
  ...!TERMINAL_PLAY_STATUSES.has(status.status) ? { completionCommand: `${exportCommand} --wait` } : {}
@@ -15977,8 +15977,8 @@ async function handleRunExportAndWrite(args) {
15977
15977
  "utf-8"
15978
15978
  );
15979
15979
  }
15980
- _chunkXLIHTJVMjs.printCommandEnvelope.call(void 0, payload, {
15981
- json: _chunkXLIHTJVMjs.argsWantJson.call(void 0, args),
15980
+ _chunkYQKCH4R7js.printCommandEnvelope.call(void 0, payload, {
15981
+ json: _chunkYQKCH4R7js.argsWantJson.call(void 0, args),
15982
15982
  fields: selection.fields,
15983
15983
  text: `${lines.join("\n")}
15984
15984
  `
@@ -16016,10 +16016,10 @@ async function handlePlayGet(args) {
16016
16016
  );
16017
16017
  return 2;
16018
16018
  }
16019
- const client = new (0, _chunkJLGP5XAJjs.DeeplineClient)();
16019
+ const client = new (0, _chunkDUBXUAAOjs.DeeplineClient)();
16020
16020
  const explicitJson = args.includes("--json");
16021
16021
  const sourceOutput = args.includes("--source");
16022
- const jsonOutput = sourceOutput ? explicitJson : _chunkXLIHTJVMjs.argsWantJson.call(void 0, args);
16022
+ const jsonOutput = sourceOutput ? explicitJson : _chunkYQKCH4R7js.argsWantJson.call(void 0, args);
16023
16023
  const requestedRevisionFlags = [
16024
16024
  args.includes("--working"),
16025
16025
  args.includes("--live"),
@@ -16082,7 +16082,7 @@ async function handlePlayGet(args) {
16082
16082
  }
16083
16083
  const loadedMessage = materializedFile ? formatLoadedPlayMessage(materializedFile) : null;
16084
16084
  if (jsonOutput) {
16085
- _chunkXLIHTJVMjs.printCompactJson.call(void 0, {
16085
+ _chunkYQKCH4R7js.printCompactJson.call(void 0, {
16086
16086
  ...detail,
16087
16087
  ...materializedFile ? {
16088
16088
  message: loadedMessage,
@@ -16174,8 +16174,8 @@ async function handlePlayVersions(args) {
16174
16174
  console.error("Usage: deepline plays versions --name <name> [--json]");
16175
16175
  return 1;
16176
16176
  }
16177
- const client = new (0, _chunkJLGP5XAJjs.DeeplineClient)();
16178
- const jsonOutput = _chunkXLIHTJVMjs.argsWantJson.call(void 0, args);
16177
+ const client = new (0, _chunkDUBXUAAOjs.DeeplineClient)();
16178
+ const jsonOutput = _chunkYQKCH4R7js.argsWantJson.call(void 0, args);
16179
16179
  await assertCanonicalNamedPlayReference(client, playName, {
16180
16180
  command: "versions"
16181
16181
  });
@@ -16183,7 +16183,7 @@ async function handlePlayVersions(args) {
16183
16183
  parseReferencedPlayTarget(playName).playName
16184
16184
  );
16185
16185
  if (jsonOutput) {
16186
- _chunkXLIHTJVMjs.printCompactJson.call(void 0, { versions });
16186
+ _chunkYQKCH4R7js.printCompactJson.call(void 0, { versions });
16187
16187
  return 0;
16188
16188
  }
16189
16189
  if (versions.length === 0) {
@@ -16222,8 +16222,8 @@ async function handlePlayCost(args) {
16222
16222
  console.error("Usage: deepline plays cost <play> [--json]");
16223
16223
  return 2;
16224
16224
  }
16225
- const result = await new (0, _chunkJLGP5XAJjs.DeeplineClient)().getPlayCostEstimate(name);
16226
- if (_chunkXLIHTJVMjs.argsWantJson.call(void 0, args)) console.log(JSON.stringify(result, null, 2));
16225
+ const result = await new (0, _chunkDUBXUAAOjs.DeeplineClient)().getPlayCostEstimate(name);
16226
+ if (_chunkYQKCH4R7js.argsWantJson.call(void 0, args)) console.log(JSON.stringify(result, null, 2));
16227
16227
  else
16228
16228
  console.log(
16229
16229
  `${result.reference}: ${formatPlayCostEstimate(result.costEstimate)}`
@@ -16231,9 +16231,9 @@ async function handlePlayCost(args) {
16231
16231
  return 0;
16232
16232
  }
16233
16233
  async function handlePlayList(args) {
16234
- const jsonOutput = _chunkXLIHTJVMjs.argsWantJson.call(void 0, args);
16234
+ const jsonOutput = _chunkYQKCH4R7js.argsWantJson.call(void 0, args);
16235
16235
  const showCost = args.includes("--show-cost");
16236
- const client = new (0, _chunkJLGP5XAJjs.DeeplineClient)();
16236
+ const client = new (0, _chunkDUBXUAAOjs.DeeplineClient)();
16237
16237
  const categoriesIndex = args.indexOf("--categories");
16238
16238
  const categories = categoriesIndex >= 0 ? _optionalChain([args, 'access', _649 => _649[categoriesIndex + 1], 'optionalAccess', _650 => _650.trim, 'call', _651 => _651()]) : void 0;
16239
16239
  const tags = args.flatMap((arg, index) => arg === "--tag" ? [args[index + 1]] : []).flatMap((value) => (_nullishCoalesce(value, () => ( ""))).split(",")).map((value) => value.trim()).filter(Boolean);
@@ -16276,7 +16276,7 @@ async function handlePlayList(args) {
16276
16276
  );
16277
16277
  return 1;
16278
16278
  }
16279
- const nextPage = page.hasMore && page.cursor ? `deepline plays list${categories ? ` --categories ${_chunkAID3OYVJjs.shellQuote.call(void 0, categories)}` : ""}${tags.map((tag) => ` --tag ${_chunkAID3OYVJjs.shellQuote.call(void 0, tag)}`).join("")}${limit ? ` --limit ${limit}` : ""}${showCost ? " --show-cost" : ""} --cursor ${_chunkAID3OYVJjs.shellQuote.call(void 0, page.cursor)}` : null;
16279
+ const nextPage = page.hasMore && page.cursor ? `deepline plays list${categories ? ` --categories ${_chunkBVXIGOBZjs.shellQuote.call(void 0, categories)}` : ""}${tags.map((tag) => ` --tag ${_chunkBVXIGOBZjs.shellQuote.call(void 0, tag)}`).join("")}${limit ? ` --limit ${limit}` : ""}${showCost ? " --show-cost" : ""} --cursor ${_chunkBVXIGOBZjs.shellQuote.call(void 0, page.cursor)}` : null;
16280
16280
  if (page.hasMore && !nextPage) {
16281
16281
  throw new Error(
16282
16282
  "Play list reported more results without a continuation cursor"
@@ -16331,7 +16331,7 @@ async function handlePlayList(args) {
16331
16331
  lines.push("List truncated \u2014 more plays are available.");
16332
16332
  lines.push(`Next page: ${nextPage}`);
16333
16333
  }
16334
- _chunkXLIHTJVMjs.printCommandEnvelope.call(void 0,
16334
+ _chunkYQKCH4R7js.printCommandEnvelope.call(void 0,
16335
16335
  {
16336
16336
  plays,
16337
16337
  count: plays.length,
@@ -16349,7 +16349,7 @@ async function handlePlayList(args) {
16349
16349
  }
16350
16350
  async function handlePlayPin(args, pinned) {
16351
16351
  const target = _optionalChain([args, 'access', _660 => _660.find, 'call', _661 => _661((arg) => !arg.startsWith("-")), 'optionalAccess', _662 => _662.trim, 'call', _663 => _663()]);
16352
- const jsonOutput = _chunkXLIHTJVMjs.argsWantJson.call(void 0, args);
16352
+ const jsonOutput = _chunkYQKCH4R7js.argsWantJson.call(void 0, args);
16353
16353
  const dryRun = args.includes("--dry-run");
16354
16354
  if (!target) {
16355
16355
  console.error(
@@ -16367,11 +16367,11 @@ async function handlePlayPin(args, pinned) {
16367
16367
  const name = parsedTarget.playName;
16368
16368
  const plan = { name, pinned, dryRun };
16369
16369
  if (dryRun) {
16370
- _chunkXLIHTJVMjs.printCompactJson.call(void 0, plan);
16370
+ _chunkYQKCH4R7js.printCompactJson.call(void 0, plan);
16371
16371
  return 0;
16372
16372
  }
16373
- const result = await new (0, _chunkJLGP5XAJjs.DeeplineClient)().setPlayPinned(name, pinned);
16374
- if (jsonOutput) _chunkXLIHTJVMjs.printCompactJson.call(void 0, result);
16373
+ const result = await new (0, _chunkDUBXUAAOjs.DeeplineClient)().setPlayPinned(name, pinned);
16374
+ if (jsonOutput) _chunkYQKCH4R7js.printCompactJson.call(void 0, result);
16375
16375
  else console.log(`${result.pinned ? "Pinned" : "Unpinned"} ${result.name}.`);
16376
16376
  return 0;
16377
16377
  }
@@ -16497,12 +16497,12 @@ async function handlePlayGrep(args) {
16497
16497
  console.error("Usage: deepline plays grep <query> [--json]");
16498
16498
  return 1;
16499
16499
  }
16500
- const client = new (0, _chunkJLGP5XAJjs.DeeplineClient)();
16500
+ const client = new (0, _chunkDUBXUAAOjs.DeeplineClient)();
16501
16501
  const results = (await client.listPlays({ grep: query })).map(
16502
16502
  summarizePlayGrepResult
16503
16503
  );
16504
- if (_chunkXLIHTJVMjs.argsWantJson.call(void 0, args)) {
16505
- _chunkXLIHTJVMjs.printCompactJson.call(void 0, {
16504
+ if (_chunkYQKCH4R7js.argsWantJson.call(void 0, args)) {
16505
+ _chunkYQKCH4R7js.printCompactJson.call(void 0, {
16506
16506
  plays: results,
16507
16507
  count: results.length,
16508
16508
  query,
@@ -16525,7 +16525,7 @@ async function handlePlayGrep(args) {
16525
16525
  return 0;
16526
16526
  }
16527
16527
  async function handlePlayDescribe(args) {
16528
- const selection = _chunkXLIHTJVMjs.parseJsonFields.call(void 0, args, "describe");
16528
+ const selection = _chunkYQKCH4R7js.parseJsonFields.call(void 0, args, "describe");
16529
16529
  args = selection.args;
16530
16530
  const playName = args[0];
16531
16531
  if (!playName) {
@@ -16559,8 +16559,8 @@ async function handlePlayDescribe(args) {
16559
16559
  `deepline plays check ${playName}`,
16560
16560
  ...definedName ? [`deepline describe <workspace>/${definedName}`] : []
16561
16561
  ];
16562
- if (_chunkXLIHTJVMjs.argsWantJson.call(void 0, args)) {
16563
- _chunkXLIHTJVMjs.printCompactJson.call(void 0, {
16562
+ if (_chunkYQKCH4R7js.argsWantJson.call(void 0, args)) {
16563
+ _chunkYQKCH4R7js.printCompactJson.call(void 0, {
16564
16564
  ok: false,
16565
16565
  error: { message },
16566
16566
  next
@@ -16574,7 +16574,7 @@ async function handlePlayDescribe(args) {
16574
16574
  }
16575
16575
  return 2;
16576
16576
  }
16577
- const client = new (0, _chunkJLGP5XAJjs.DeeplineClient)();
16577
+ const client = new (0, _chunkDUBXUAAOjs.DeeplineClient)();
16578
16578
  await assertCanonicalNamedPlayReference(client, playName, {
16579
16579
  command: "describe"
16580
16580
  });
@@ -16584,9 +16584,9 @@ async function handlePlayDescribe(args) {
16584
16584
  compact: args.includes("--compact")
16585
16585
  }
16586
16586
  );
16587
- if (_chunkXLIHTJVMjs.argsWantJson.call(void 0, args)) {
16588
- if (selection.fields) _chunkXLIHTJVMjs.printJson.call(void 0, play, selection.fields);
16589
- else _chunkXLIHTJVMjs.printCompactJson.call(void 0, play);
16587
+ if (_chunkYQKCH4R7js.argsWantJson.call(void 0, args)) {
16588
+ if (selection.fields) _chunkYQKCH4R7js.printJson.call(void 0, play, selection.fields);
16589
+ else _chunkYQKCH4R7js.printCompactJson.call(void 0, play);
16590
16590
  return 0;
16591
16591
  }
16592
16592
  printPlayDescription(play);
@@ -16607,7 +16607,7 @@ async function handlePlaySave(args) {
16607
16607
  return 2;
16608
16608
  }
16609
16609
  const watchPlay = options.dryRun ? void 0 : options.watchPlay;
16610
- const client = watchPlay ? new (0, _chunkJLGP5XAJjs.DeeplineClient)() : void 0;
16610
+ const client = watchPlay ? new (0, _chunkDUBXUAAOjs.DeeplineClient)() : void 0;
16611
16611
  let attempt;
16612
16612
  if (watchPlay && client) {
16613
16613
  try {
@@ -16631,7 +16631,7 @@ async function handlePlaySave(args) {
16631
16631
  };
16632
16632
  let graph;
16633
16633
  try {
16634
- graph = await _chunkWOCHZCUJjs.traceCliSpan.call(void 0,
16634
+ graph = await _chunkGRZENGNEjs.traceCliSpan.call(void 0,
16635
16635
  "cli.play_save_bundle_graph",
16636
16636
  { targetKind: "file" },
16637
16637
  () => collectBundledPlayGraph(_path.resolve.call(void 0, options.target))
@@ -16657,10 +16657,10 @@ async function handlePlaySave(args) {
16657
16657
  message: "Refusing to save: the local file no longer produces the artifact checked earlier.",
16658
16658
  expectedArtifactHash: options.expectedArtifactHash,
16659
16659
  currentArtifactHash: artifactHash,
16660
- next: `deepline plays check ${_chunkAID3OYVJjs.shellQuote.call(void 0, options.target)}`
16660
+ next: `deepline plays check ${_chunkBVXIGOBZjs.shellQuote.call(void 0, options.target)}`
16661
16661
  };
16662
16662
  if (options.jsonOutput) {
16663
- _chunkXLIHTJVMjs.printCompactJson.call(void 0, result);
16663
+ _chunkYQKCH4R7js.printCompactJson.call(void 0, result);
16664
16664
  } else {
16665
16665
  console.error(result.message);
16666
16666
  console.error(` checked artifact: ${result.expectedArtifactHash}`);
@@ -16682,7 +16682,7 @@ async function handlePlaySave(args) {
16682
16682
  };
16683
16683
  if (options.dryRun) {
16684
16684
  if (options.jsonOutput) {
16685
- _chunkXLIHTJVMjs.printCompactJson.call(void 0, dryRun);
16685
+ _chunkYQKCH4R7js.printCompactJson.call(void 0, dryRun);
16686
16686
  } else {
16687
16687
  console.log(`Dry run: ${playName}`);
16688
16688
  console.log(` source: ${dryRun.sourceHash}`);
@@ -16691,14 +16691,14 @@ async function handlePlaySave(args) {
16691
16691
  }
16692
16692
  return 0;
16693
16693
  }
16694
- const saveClient = _nullishCoalesce(client, () => ( new (0, _chunkJLGP5XAJjs.DeeplineClient)()));
16694
+ const saveClient = _nullishCoalesce(client, () => ( new (0, _chunkDUBXUAAOjs.DeeplineClient)()));
16695
16695
  try {
16696
- await _chunkWOCHZCUJjs.traceCliSpan.call(void 0,
16696
+ await _chunkGRZENGNEjs.traceCliSpan.call(void 0,
16697
16697
  "cli.play_save_compile_manifests",
16698
16698
  { targetKind: "file", nodeCount: graph.nodes.size },
16699
16699
  () => compileBundledPlayGraphManifests(saveClient, graph)
16700
16700
  );
16701
- const saved = await _chunkWOCHZCUJjs.traceCliSpan.call(void 0,
16701
+ const saved = await _chunkGRZENGNEjs.traceCliSpan.call(void 0,
16702
16702
  "cli.play_save_register_draft",
16703
16703
  { targetKind: "file", playName, artifactHash },
16704
16704
  () => saveClient.registerPlayArtifact({
@@ -16723,12 +16723,12 @@ async function handlePlaySave(args) {
16723
16723
  graphHash: graph.root.artifact.graphHash,
16724
16724
  artifactStorageKey: saved.artifactStorageKey,
16725
16725
  next: {
16726
- publish: `deepline plays publish ${_chunkAID3OYVJjs.shellQuote.call(void 0, options.target)} --expected-artifact ${artifactHash}`,
16726
+ publish: `deepline plays publish ${_chunkBVXIGOBZjs.shellQuote.call(void 0, options.target)} --expected-artifact ${artifactHash}`,
16727
16727
  get: `deepline plays get ${playName} --source --out ./${playName}/ --working`
16728
16728
  }
16729
16729
  };
16730
16730
  if (options.jsonOutput) {
16731
- _chunkXLIHTJVMjs.printCompactJson.call(void 0, result);
16731
+ _chunkYQKCH4R7js.printCompactJson.call(void 0, result);
16732
16732
  } else {
16733
16733
  console.log(
16734
16734
  `\u2713 Saved ${playName} working draft as v${_nullishCoalesce(result.version, () => ( "?"))}`
@@ -16748,7 +16748,7 @@ async function handlePlaySave(args) {
16748
16748
  }
16749
16749
  }
16750
16750
  async function enforceOutcomeGuardrail(input) {
16751
- const { requireOutcomeGuardrail } = await Promise.resolve().then(() => _interopRequireWildcard(require("./outcomes-H4YYAT5X.js")));
16751
+ const { requireOutcomeGuardrail } = await Promise.resolve().then(() => _interopRequireWildcard(require("./outcomes-Y7SZTLSL.js")));
16752
16752
  try {
16753
16753
  const gate = await requireOutcomeGuardrail({ ...input, phase: "reserve" });
16754
16754
  return {
@@ -16776,7 +16776,7 @@ async function enforceOutcomeGuardrail(input) {
16776
16776
  }
16777
16777
  }
16778
16778
  async function settleOutcomeApproval(input) {
16779
- const { requireOutcomeGuardrail } = await Promise.resolve().then(() => _interopRequireWildcard(require("./outcomes-H4YYAT5X.js")));
16779
+ const { requireOutcomeGuardrail } = await Promise.resolve().then(() => _interopRequireWildcard(require("./outcomes-Y7SZTLSL.js")));
16780
16780
  const id = `${input.outcome}/${input.approval.seq}`;
16781
16781
  try {
16782
16782
  await requireOutcomeGuardrail({
@@ -16808,7 +16808,7 @@ async function handlePlayPublish(args) {
16808
16808
  }
16809
16809
  const { target: playName, useLatest } = options;
16810
16810
  let revisionId = options.revisionId;
16811
- const client = new (0, _chunkJLGP5XAJjs.DeeplineClient)();
16811
+ const client = new (0, _chunkDUBXUAAOjs.DeeplineClient)();
16812
16812
  if (isFileTarget(playName)) {
16813
16813
  if (revisionId || useLatest) {
16814
16814
  console.error(
@@ -16818,7 +16818,7 @@ async function handlePlayPublish(args) {
16818
16818
  }
16819
16819
  let graph;
16820
16820
  try {
16821
- graph = await _chunkWOCHZCUJjs.traceCliSpan.call(void 0,
16821
+ graph = await _chunkGRZENGNEjs.traceCliSpan.call(void 0,
16822
16822
  "cli.play_publish_bundle_graph",
16823
16823
  { targetKind: "file" },
16824
16824
  () => collectBundledPlayGraph(_path.resolve.call(void 0, playName))
@@ -16837,10 +16837,10 @@ async function handlePlayPublish(args) {
16837
16837
  message: "Refusing to publish: the local file no longer produces the artifact checked earlier.",
16838
16838
  expectedArtifactHash: options.expectedArtifactHash,
16839
16839
  currentArtifactHash: artifactHash,
16840
- next: `deepline plays check ${_chunkAID3OYVJjs.shellQuote.call(void 0, playName)}`
16840
+ next: `deepline plays check ${_chunkBVXIGOBZjs.shellQuote.call(void 0, playName)}`
16841
16841
  };
16842
16842
  if (options.jsonOutput) {
16843
- _chunkXLIHTJVMjs.printCompactJson.call(void 0, result3);
16843
+ _chunkYQKCH4R7js.printCompactJson.call(void 0, result3);
16844
16844
  } else {
16845
16845
  console.error(result3.message);
16846
16846
  console.error(` checked artifact: ${result3.expectedArtifactHash}`);
@@ -16863,7 +16863,7 @@ async function handlePlayPublish(args) {
16863
16863
  };
16864
16864
  if (options.dryRun) {
16865
16865
  if (options.jsonOutput) {
16866
- _chunkXLIHTJVMjs.printCompactJson.call(void 0, dryRun);
16866
+ _chunkYQKCH4R7js.printCompactJson.call(void 0, dryRun);
16867
16867
  } else {
16868
16868
  console.log(`Dry run: ${rootPlayName}`);
16869
16869
  console.log(` source: ${dryRun.sourceHash}`);
@@ -16882,12 +16882,12 @@ async function handlePlayPublish(args) {
16882
16882
  }
16883
16883
  }
16884
16884
  try {
16885
- await _chunkWOCHZCUJjs.traceCliSpan.call(void 0,
16885
+ await _chunkGRZENGNEjs.traceCliSpan.call(void 0,
16886
16886
  "cli.play_publish_compile_manifests",
16887
16887
  { targetKind: "file", nodeCount: graph.nodes.size },
16888
16888
  () => compileBundledPlayGraphManifests(client, graph)
16889
16889
  );
16890
- await _chunkWOCHZCUJjs.traceCliSpan.call(void 0,
16890
+ await _chunkGRZENGNEjs.traceCliSpan.call(void 0,
16891
16891
  "cli.play_publish_imports",
16892
16892
  { targetKind: "file", nodeCount: graph.nodes.size },
16893
16893
  () => publishImportedPlayDependencies(client, graph)
@@ -16896,7 +16896,7 @@ async function handlePlayPublish(args) {
16896
16896
  console.error(error instanceof Error ? error.message : String(error));
16897
16897
  return 1;
16898
16898
  }
16899
- const published = await _chunkWOCHZCUJjs.traceCliSpan.call(void 0,
16899
+ const published = await _chunkGRZENGNEjs.traceCliSpan.call(void 0,
16900
16900
  "cli.play_publish_register_root",
16901
16901
  {
16902
16902
  targetKind: "file",
@@ -16931,7 +16931,7 @@ async function handlePlayPublish(args) {
16931
16931
  triggerBindings: _nullishCoalesce(published.triggerBindings, () => ( []))
16932
16932
  };
16933
16933
  if (options.jsonOutput) {
16934
- _chunkXLIHTJVMjs.printCompactJson.call(void 0, result2);
16934
+ _chunkYQKCH4R7js.printCompactJson.call(void 0, result2);
16935
16935
  } else {
16936
16936
  printPublishReceipt({
16937
16937
  name: rootPlayName,
@@ -16962,7 +16962,7 @@ async function handlePlayPublish(args) {
16962
16962
  revisionId: _nullishCoalesce(revisionId, () => ( null)),
16963
16963
  latest: useLatest
16964
16964
  };
16965
- _chunkXLIHTJVMjs.printCompactJson.call(void 0, result2);
16965
+ _chunkYQKCH4R7js.printCompactJson.call(void 0, result2);
16966
16966
  return 0;
16967
16967
  }
16968
16968
  const resolvedName = parseReferencedPlayTarget(playName).playName;
@@ -16986,7 +16986,7 @@ async function handlePlayPublish(args) {
16986
16986
  revisionId ? { revisionId } : {}
16987
16987
  );
16988
16988
  if (options.jsonOutput) {
16989
- _chunkXLIHTJVMjs.printCompactJson.call(void 0, result);
16989
+ _chunkYQKCH4R7js.printCompactJson.call(void 0, result);
16990
16990
  } else {
16991
16991
  printPublishReceipt({
16992
16992
  name: result.name,
@@ -17026,7 +17026,7 @@ async function handlePlayDelete(args) {
17026
17026
  );
17027
17027
  return 2;
17028
17028
  }
17029
- const client = new (0, _chunkJLGP5XAJjs.DeeplineClient)();
17029
+ const client = new (0, _chunkDUBXUAAOjs.DeeplineClient)();
17030
17030
  let detail;
17031
17031
  try {
17032
17032
  detail = await client.getPlay(parseReferencedPlayTarget(playName).playName);
@@ -17050,8 +17050,8 @@ async function handlePlayDelete(args) {
17050
17050
  name: resolvedName,
17051
17051
  plannedMutation: "move saved org-owned play to Trash and stop triggers"
17052
17052
  };
17053
- if (_chunkXLIHTJVMjs.argsWantJson.call(void 0, args)) {
17054
- _chunkXLIHTJVMjs.printCompactJson.call(void 0, result2);
17053
+ if (_chunkYQKCH4R7js.argsWantJson.call(void 0, args)) {
17054
+ _chunkYQKCH4R7js.printCompactJson.call(void 0, result2);
17055
17055
  } else {
17056
17056
  process.stdout.write(
17057
17057
  `Dry run: would move ${result2.name} to Trash and stop its active triggers.
@@ -17061,8 +17061,8 @@ async function handlePlayDelete(args) {
17061
17061
  return 0;
17062
17062
  }
17063
17063
  const result = await client.deletePlay(resolvedName);
17064
- if (_chunkXLIHTJVMjs.argsWantJson.call(void 0, args)) {
17065
- _chunkXLIHTJVMjs.printCompactJson.call(void 0, result);
17064
+ if (_chunkYQKCH4R7js.argsWantJson.call(void 0, args)) {
17065
+ _chunkYQKCH4R7js.printCompactJson.call(void 0, result);
17066
17066
  return result.archived || result.alreadyArchived ? 0 : 4;
17067
17067
  }
17068
17068
  if (result.alreadyArchived) {
@@ -17101,13 +17101,13 @@ async function handlePlayRestore(args) {
17101
17101
  );
17102
17102
  return 2;
17103
17103
  }
17104
- const client = new (0, _chunkJLGP5XAJjs.DeeplineClient)();
17104
+ const client = new (0, _chunkDUBXUAAOjs.DeeplineClient)();
17105
17105
  try {
17106
17106
  const result = await client.restorePlay(
17107
17107
  parseReferencedPlayTarget(playName).playName
17108
17108
  );
17109
- if (_chunkXLIHTJVMjs.argsWantJson.call(void 0, args)) {
17110
- _chunkXLIHTJVMjs.printCompactJson.call(void 0, result);
17109
+ if (_chunkYQKCH4R7js.argsWantJson.call(void 0, args)) {
17110
+ _chunkYQKCH4R7js.printCompactJson.call(void 0, result);
17111
17111
  return result.restored || result.alreadyActive ? 0 : 4;
17112
17112
  }
17113
17113
  if (result.alreadyActive) {
@@ -17231,24 +17231,24 @@ Common commands:
17231
17231
  admissionState: "unknown",
17232
17232
  next: {
17233
17233
  inspect: `deepline runs get ${saved.workflowId} --json`,
17234
- resume: `deepline plays resume-submission ${_chunkAID3OYVJjs.shellQuote.call(void 0, path)} --json`
17234
+ resume: `deepline plays resume-submission ${_chunkBVXIGOBZjs.shellQuote.call(void 0, path)} --json`
17235
17235
  }
17236
17236
  };
17237
- _chunkXLIHTJVMjs.printCommandEnvelope.call(void 0, result2, {
17237
+ _chunkYQKCH4R7js.printCommandEnvelope.call(void 0, result2, {
17238
17238
  json: options.json,
17239
17239
  text: `Submission ${saved.workflowId}: admission is unknown. ${result2.next.inspect}
17240
17240
  `
17241
17241
  });
17242
17242
  return;
17243
17243
  }
17244
- const client = new (0, _chunkJLGP5XAJjs.DeeplineClient)();
17244
+ const client = new (0, _chunkDUBXUAAOjs.DeeplineClient)();
17245
17245
  if (new URL(saved.baseUrl).origin !== new URL(client.baseUrl).origin) {
17246
17246
  throw new Error(
17247
17247
  "The submission belongs to a different API origin. Select its original host before recovery."
17248
17248
  );
17249
17249
  }
17250
17250
  const result = await client.startPlayRun(saved.request);
17251
- _chunkXLIHTJVMjs.printCommandEnvelope.call(void 0,
17251
+ _chunkYQKCH4R7js.printCommandEnvelope.call(void 0,
17252
17252
  { ...result },
17253
17253
  {
17254
17254
  json: options.json,
@@ -17284,7 +17284,7 @@ Examples:
17284
17284
  ).action(async (target, options) => {
17285
17285
  process.exitCode = await handlePlayCheck([
17286
17286
  target,
17287
- ..._chunkXLIHTJVMjs.jsonFieldArgs.call(void 0, options.json),
17287
+ ..._chunkYQKCH4R7js.jsonFieldArgs.call(void 0, options.json),
17288
17288
  ...options.full ? ["--full"] : []
17289
17289
  ]);
17290
17290
  });
@@ -17331,10 +17331,10 @@ Notes:
17331
17331
  with a changed input is refused with a 409 conflict. Use one stable key per
17332
17332
  exact intent. Without a key, each invocation starts a new run.
17333
17333
  --max-concurrent-external-calls controls the per-run provider-tool/deepline.fetch
17334
- resident-work ceiling. Default: ${_chunkQ6Z6N3A7js.DEFAULT_MAX_CONCURRENT_EXTERNAL_CALLS}; accepted range: 1-${_chunkQ6Z6N3A7js.MAX_CONFIGURABLE_CONCURRENT_EXTERNAL_CALLS}.
17334
+ resident-work ceiling. Default: ${_chunkGHT2NDL7js.DEFAULT_MAX_CONCURRENT_EXTERNAL_CALLS}; accepted range: 1-${_chunkGHT2NDL7js.MAX_CONFIGURABLE_CONCURRENT_EXTERNAL_CALLS}.
17335
17335
  Provider pacing and sandbox memory limits still apply.
17336
17336
  --max-concurrent-rows sets the run-wide default and ceiling for live map row
17337
- resolvers. Accepted range: 1-${_chunkQ6Z6N3A7js.MAX_CONFIGURABLE_CONCURRENT_ROWS}. The runtime
17337
+ resolvers. Accepted range: 1-${_chunkGHT2NDL7js.MAX_CONFIGURABLE_CONCURRENT_ROWS}. The runtime
17338
17338
  may lower it when source-row size exceeds the active-row memory budget.
17339
17339
  --max-credits replaces the play's billing.maxCreditsPerRun for this run.
17340
17340
  Tool calls that would exceed it are denied.
@@ -17459,10 +17459,10 @@ Examples:
17459
17459
  ).hideHelp()
17460
17460
  ).option(
17461
17461
  "--max-concurrent-external-calls <count>",
17462
- `Concurrent provider-tool and deepline.fetch executions (${_chunkQ6Z6N3A7js.DEFAULT_MAX_CONCURRENT_EXTERNAL_CALLS} default, max ${_chunkQ6Z6N3A7js.MAX_CONFIGURABLE_CONCURRENT_EXTERNAL_CALLS})`
17462
+ `Concurrent provider-tool and deepline.fetch executions (${_chunkGHT2NDL7js.DEFAULT_MAX_CONCURRENT_EXTERNAL_CALLS} default, max ${_chunkGHT2NDL7js.MAX_CONFIGURABLE_CONCURRENT_EXTERNAL_CALLS})`
17463
17463
  ).option(
17464
17464
  "--max-concurrent-rows <count>",
17465
- `Run-wide dataset map row resolver ceiling (max ${_chunkQ6Z6N3A7js.MAX_CONFIGURABLE_CONCURRENT_ROWS})`
17465
+ `Run-wide dataset map row resolver ceiling (max ${_chunkGHT2NDL7js.MAX_CONFIGURABLE_CONCURRENT_ROWS})`
17466
17466
  ).option("--max-credits <credits>", "Deepline-credit cap for this run").addOption(
17467
17467
  // Internal only: the server refuses it without play_run.cache_reuse_window.
17468
17468
  new (0, _commander.Option)(
@@ -17563,14 +17563,14 @@ JSON field selection:
17563
17563
  passthroughArgs.shift();
17564
17564
  }
17565
17565
  const exitCode = await handlePlayRun(
17566
- _chunkQ6Z6N3A7js.resolvePlayRunCliOptions.call(void 0,
17566
+ _chunkGHT2NDL7js.resolvePlayRunCliOptions.call(void 0,
17567
17567
  _nullishCoalesce(effectiveTarget, () => ( void 0)),
17568
17568
  options,
17569
17569
  passthroughArgs,
17570
- _chunkWOCHZCUJjs.resolveCliMaintenancePolicy.call(void 0, command.optsWithGlobals())
17570
+ _chunkGRZENGNEjs.resolveCliMaintenancePolicy.call(void 0, command.optsWithGlobals())
17571
17571
  )
17572
17572
  );
17573
- _chunkWOCHZCUJjs.recordCliTrace.call(void 0, {
17573
+ _chunkGRZENGNEjs.recordCliTrace.call(void 0, {
17574
17574
  phase: "cli.play_command_exit",
17575
17575
  exitCode
17576
17576
  });
@@ -17619,9 +17619,9 @@ Examples:
17619
17619
  const limit = Number(options.historyLimit);
17620
17620
  if (!Number.isInteger(limit) || limit < 1 || limit > 30)
17621
17621
  throw new Error("--history-limit must be an integer from 1 to 30.");
17622
- const client = new (0, _chunkJLGP5XAJjs.DeeplineClient)();
17622
+ const client = new (0, _chunkDUBXUAAOjs.DeeplineClient)();
17623
17623
  if (options.binding) {
17624
- _chunkXLIHTJVMjs.printCompactJson.call(void 0,
17624
+ _chunkYQKCH4R7js.printCompactJson.call(void 0,
17625
17625
  await client.getPlayTriggerHistory(options.binding, { limit })
17626
17626
  );
17627
17627
  return;
@@ -17629,7 +17629,7 @@ Examples:
17629
17629
  const result = await client.listPlayTriggerInventory({
17630
17630
  cursor: options.cursor
17631
17631
  });
17632
- _chunkXLIHTJVMjs.printCompactJson.call(void 0, {
17632
+ _chunkYQKCH4R7js.printCompactJson.call(void 0, {
17633
17633
  ...result,
17634
17634
  next: result.isDone ? null : `deepline plays triggers --cursor ${JSON.stringify(result.continueCursor)}`
17635
17635
  });
@@ -17686,7 +17686,7 @@ Examples:
17686
17686
  if (options.groupBy !== "kind" && options.groupBy !== "trigger_source") {
17687
17687
  throw new Error("--group-by must be kind or trigger_source.");
17688
17688
  }
17689
- const result = await new (0, _chunkJLGP5XAJjs.DeeplineClient)().getPlaysActivity({
17689
+ const result = await new (0, _chunkDUBXUAAOjs.DeeplineClient)().getPlaysActivity({
17690
17690
  timeZone: options.timeZone,
17691
17691
  days,
17692
17692
  ...options.endDate ? { endDate: options.endDate } : {},
@@ -17700,7 +17700,7 @@ Examples:
17700
17700
  `${bucket.key} ${groups} failed_play_runs=${bucket.failedPlayRuns} ${coverage}`
17701
17701
  );
17702
17702
  }
17703
- _chunkXLIHTJVMjs.printCommandEnvelope.call(void 0,
17703
+ _chunkYQKCH4R7js.printCommandEnvelope.call(void 0,
17704
17704
  { ...result },
17705
17705
  {
17706
17706
  json: Boolean(options.json),
@@ -17729,7 +17729,7 @@ Examples:
17729
17729
  false
17730
17730
  );
17731
17731
  });
17732
- _chunkSBH4CKPNjs.registerDeprecatedSearchCommand.call(void 0,
17732
+ _chunkFBAFX43Wjs.registerDeprecatedSearchCommand.call(void 0,
17733
17733
  play,
17734
17734
  (options) => options.all ? ["prebuilts", "custom"] : ["prebuilts"]
17735
17735
  );
@@ -17770,9 +17770,9 @@ Examples:
17770
17770
  "--json [fields]",
17771
17771
  "JSON output; optionally select comma-separated dotted paths"
17772
17772
  );
17773
- _chunkDP2VH7COjs.addDescribeOptions.call(void 0, describeCommand, { json: false }).action(
17773
+ _chunkUYCZFQYQjs.addDescribeOptions.call(void 0, describeCommand, { json: false }).action(
17774
17774
  async (target, options) => {
17775
- const ownView = () => handlePlayDescribe(_chunkXLIHTJVMjs.describeArgs.call(void 0, target, options));
17775
+ const ownView = () => handlePlayDescribe(_chunkYQKCH4R7js.describeArgs.call(void 0, target, options));
17776
17776
  const [flagText] = [options.json].filter(
17777
17777
  (value) => typeof value === "string"
17778
17778
  );
@@ -17783,7 +17783,7 @@ Examples:
17783
17783
  process.exitCode = await ownView();
17784
17784
  return;
17785
17785
  }
17786
- const { describeAnything } = await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-RHJ4XRFI.js")));
17786
+ const { describeAnything } = await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-FG625QPF.js")));
17787
17787
  process.exitCode = await describeAnything(
17788
17788
  name,
17789
17789
  {
@@ -17906,7 +17906,7 @@ Examples:
17906
17906
  deepline plays deployments <deployment-id>
17907
17907
  `
17908
17908
  ).option("--limit <n>", "Max rows (default 50)").option("--json", "Emit JSON output").action(
17909
- async (id, options) => id ? _chunkRTV4RF7Njs.handleDeploymentGet.call(void 0, id, options) : _chunkRTV4RF7Njs.handleDeploymentsList.call(void 0, options)
17909
+ async (id, options) => id ? _chunkM7STM3MZjs.handleDeploymentGet.call(void 0, id, options) : _chunkM7STM3MZjs.handleDeploymentsList.call(void 0, options)
17910
17910
  );
17911
17911
  addPublishHelp(
17912
17912
  play.command("publish <target>").description(
@@ -17934,10 +17934,10 @@ Examples:
17934
17934
  new (0, _commander.Option)(
17935
17935
  "--outcome <outcome>",
17936
17936
  "Run under this outcome. Refused (exit 3) when it asks before plays.set-live and no approval exists"
17937
- ).hideHelp(!_chunkMLABYI4Mjs.cliFeatureEnabled.call(void 0, "outcomes"))
17937
+ ).hideHelp(!_chunkVIUUTEHYjs.cliFeatureEnabled.call(void 0, "outcomes"))
17938
17938
  ).addOption(
17939
17939
  new (0, _commander.Option)("--as <agent>", "With --outcome: the agent acting").hideHelp(
17940
- !_chunkMLABYI4Mjs.cliFeatureEnabled.call(void 0, "outcomes")
17940
+ !_chunkVIUUTEHYjs.cliFeatureEnabled.call(void 0, "outcomes")
17941
17941
  )
17942
17942
  ).option("--json", "Emit JSON output").action(async (target, options) => {
17943
17943
  const guarded = options.outcome && !options.dryRun ? {
@@ -18089,17 +18089,17 @@ Examples:
18089
18089
  const limit = Number(options.limit);
18090
18090
  if (!Number.isSafeInteger(limit) || limit < 1 || limit > 1e3)
18091
18091
  throw new Error("--limit must be an integer from 1 to 1000.");
18092
- const result = await new (0, _chunkJLGP5XAJjs.DeeplineClient)().runs.rowHistory({
18092
+ const result = await new (0, _chunkDUBXUAAOjs.DeeplineClient)().runs.rowHistory({
18093
18093
  playName: options.play,
18094
18094
  runId,
18095
18095
  tableNamespace: options.dataset,
18096
18096
  limit,
18097
18097
  cursor: options.cursor
18098
18098
  });
18099
- _chunkXLIHTJVMjs.printCompactJson.call(void 0, {
18099
+ _chunkYQKCH4R7js.printCompactJson.call(void 0, {
18100
18100
  ...result,
18101
18101
  ...result.nextCursor ? {
18102
- next: `deepline runs rows-history ${_chunkAID3OYVJjs.shellQuote.call(void 0, runId)} --play ${_chunkAID3OYVJjs.shellQuote.call(void 0, options.play)} --dataset ${_chunkAID3OYVJjs.shellQuote.call(void 0, options.dataset)} --limit ${limit} --cursor ${_chunkAID3OYVJjs.shellQuote.call(void 0, result.nextCursor)} --json`
18102
+ next: `deepline runs rows-history ${_chunkBVXIGOBZjs.shellQuote.call(void 0, runId)} --play ${_chunkBVXIGOBZjs.shellQuote.call(void 0, options.play)} --dataset ${_chunkBVXIGOBZjs.shellQuote.call(void 0, options.dataset)} --limit ${limit} --cursor ${_chunkBVXIGOBZjs.shellQuote.call(void 0, result.nextCursor)} --json`
18103
18103
  } : {}
18104
18104
  });
18105
18105
  }
@@ -18174,7 +18174,7 @@ Examples:
18174
18174
  new (0, _commander.Option)("--log-failed", "Attach terminal-failure logs").hideHelp()
18175
18175
  ).action(async (runId, options) => {
18176
18176
  if (TOOL_EXECUTION_ID.test(runId)) {
18177
- const { getToolExecutionReceipt } = await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-IGQQ5TML.js")));
18177
+ const { getToolExecutionReceipt } = await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-NTVUQ2TG.js")));
18178
18178
  process.exitCode = await getToolExecutionReceipt(runId, {
18179
18179
  receiptJson: options.json !== void 0
18180
18180
  });
@@ -18182,7 +18182,7 @@ Examples:
18182
18182
  }
18183
18183
  process.exitCode = await handleRunGet([
18184
18184
  runId,
18185
- ..._chunkXLIHTJVMjs.jsonFieldArgs.call(void 0, options.json),
18185
+ ..._chunkYQKCH4R7js.jsonFieldArgs.call(void 0, options.json),
18186
18186
  ...options.web ? ["--web"] : [],
18187
18187
  ...options.webUrl ? ["--web-url"] : [],
18188
18188
  ...options.full ? ["--full"] : [],
@@ -18512,7 +18512,7 @@ Examples:
18512
18512
  ...options.allowEmpty ? ["--allow-empty"] : [],
18513
18513
  ...options.wait ? ["--wait"] : [],
18514
18514
  ...options.timeoutMs ? ["--timeout-ms", options.timeoutMs] : [],
18515
- ..._chunkXLIHTJVMjs.jsonFieldArgs.call(void 0, options.json)
18515
+ ..._chunkYQKCH4R7js.jsonFieldArgs.call(void 0, options.json)
18516
18516
  ]);
18517
18517
  });
18518
18518
  const share = play.command("share").description(
@@ -18678,10 +18678,10 @@ async function handlePlayShareStatus(args) {
18678
18678
  return 2;
18679
18679
  }
18680
18680
  const name = parseReferencedPlayTarget(target).playName;
18681
- const status = await new (0, _chunkJLGP5XAJjs.DeeplineClient)().getSharePage(name);
18681
+ const status = await new (0, _chunkDUBXUAAOjs.DeeplineClient)().getSharePage(name);
18682
18682
  const outputStatus = shareStatusForOutput(status);
18683
- if (_chunkXLIHTJVMjs.argsWantJson.call(void 0, args)) {
18684
- _chunkXLIHTJVMjs.printCompactJson.call(void 0, outputStatus);
18683
+ if (_chunkYQKCH4R7js.argsWantJson.call(void 0, args)) {
18684
+ _chunkYQKCH4R7js.printCompactJson.call(void 0, outputStatus);
18685
18685
  return 0;
18686
18686
  }
18687
18687
  if (!outputStatus.share) {
@@ -18720,7 +18720,7 @@ async function handlePlaySharePublish(args) {
18720
18720
  return 2;
18721
18721
  }
18722
18722
  const name = parseReferencedPlayTarget(target).playName;
18723
- const client = new (0, _chunkJLGP5XAJjs.DeeplineClient)();
18723
+ const client = new (0, _chunkDUBXUAAOjs.DeeplineClient)();
18724
18724
  let revisionId = shareFlagValue(args, "--revision-id");
18725
18725
  let resolvedVersion;
18726
18726
  if (!revisionId) {
@@ -18751,8 +18751,8 @@ async function handlePlaySharePublish(args) {
18751
18751
  );
18752
18752
  if (!hasCompleted) {
18753
18753
  const message = `No completed run for ${name}. Publish a play only after it has run successfully. (Override with --no-run-check.)`;
18754
- if (_chunkXLIHTJVMjs.argsWantJson.call(void 0, args)) {
18755
- _chunkXLIHTJVMjs.printCompactJson.call(void 0, {
18754
+ if (_chunkYQKCH4R7js.argsWantJson.call(void 0, args)) {
18755
+ _chunkYQKCH4R7js.printCompactJson.call(void 0, {
18756
18756
  ok: false,
18757
18757
  code: "NO_SUCCESSFUL_RUN",
18758
18758
  message,
@@ -18776,8 +18776,8 @@ async function handlePlaySharePublish(args) {
18776
18776
  };
18777
18777
  if (args.includes("--dry-run")) {
18778
18778
  const plan = { dryRun: true, name, version: resolvedVersion, ...request };
18779
- if (_chunkXLIHTJVMjs.argsWantJson.call(void 0, args)) {
18780
- _chunkXLIHTJVMjs.printCompactJson.call(void 0, plan);
18779
+ if (_chunkYQKCH4R7js.argsWantJson.call(void 0, args)) {
18780
+ _chunkYQKCH4R7js.printCompactJson.call(void 0, plan);
18781
18781
  } else {
18782
18782
  console.log(
18783
18783
  `Would publish ${name}${resolvedVersion ? ` v${resolvedVersion}` : ""} (revision ${revisionId}).`
@@ -18787,8 +18787,8 @@ async function handlePlaySharePublish(args) {
18787
18787
  }
18788
18788
  const status = await client.publishSharePage(name, request);
18789
18789
  const outputStatus = shareStatusForOutput(status);
18790
- if (_chunkXLIHTJVMjs.argsWantJson.call(void 0, args)) {
18791
- _chunkXLIHTJVMjs.printCompactJson.call(void 0, outputStatus);
18790
+ if (_chunkYQKCH4R7js.argsWantJson.call(void 0, args)) {
18791
+ _chunkYQKCH4R7js.printCompactJson.call(void 0, outputStatus);
18792
18792
  return 0;
18793
18793
  }
18794
18794
  const urls = shareUrlFields(outputStatus);
@@ -18819,9 +18819,9 @@ async function handlePlayShareUpdate(args) {
18819
18819
  ...args.includes("--show-latency") ? { showAverageLatency: true } : args.includes("--hide-latency") ? { showAverageLatency: false } : {},
18820
18820
  ...seoIndexing ? { seoIndexing } : {}
18821
18821
  };
18822
- const status = await new (0, _chunkJLGP5XAJjs.DeeplineClient)().updateSharePage(name, request);
18823
- if (_chunkXLIHTJVMjs.argsWantJson.call(void 0, args)) {
18824
- _chunkXLIHTJVMjs.printCompactJson.call(void 0, status);
18822
+ const status = await new (0, _chunkDUBXUAAOjs.DeeplineClient)().updateSharePage(name, request);
18823
+ if (_chunkYQKCH4R7js.argsWantJson.call(void 0, args)) {
18824
+ _chunkYQKCH4R7js.printCompactJson.call(void 0, status);
18825
18825
  return 0;
18826
18826
  }
18827
18827
  console.log(`Updated ${name} share settings.`);
@@ -18836,7 +18836,7 @@ async function handlePlayShareRegenerate(args) {
18836
18836
  return 2;
18837
18837
  }
18838
18838
  const name = parseReferencedPlayTarget(target).playName;
18839
- const client = new (0, _chunkJLGP5XAJjs.DeeplineClient)();
18839
+ const client = new (0, _chunkDUBXUAAOjs.DeeplineClient)();
18840
18840
  let revisionId = shareFlagValue(args, "--revision-id");
18841
18841
  const versionFlag = shareFlagValue(args, "--version");
18842
18842
  if (!revisionId && versionFlag) {
@@ -18853,8 +18853,8 @@ async function handlePlayShareRegenerate(args) {
18853
18853
  revisionId ? { revisionId } : {}
18854
18854
  );
18855
18855
  const outputStatus = shareStatusForOutput(status);
18856
- if (_chunkXLIHTJVMjs.argsWantJson.call(void 0, args)) {
18857
- _chunkXLIHTJVMjs.printCompactJson.call(void 0, outputStatus);
18856
+ if (_chunkYQKCH4R7js.argsWantJson.call(void 0, args)) {
18857
+ _chunkYQKCH4R7js.printCompactJson.call(void 0, outputStatus);
18858
18858
  return 0;
18859
18859
  }
18860
18860
  const urls = shareUrlFields(outputStatus);
@@ -18879,9 +18879,9 @@ async function handlePlayShareUnpublish(args) {
18879
18879
  return 2;
18880
18880
  }
18881
18881
  const name = parseReferencedPlayTarget(target).playName;
18882
- const status = await new (0, _chunkJLGP5XAJjs.DeeplineClient)().unpublishSharePage(name);
18883
- if (_chunkXLIHTJVMjs.argsWantJson.call(void 0, args)) {
18884
- _chunkXLIHTJVMjs.printCompactJson.call(void 0, status);
18882
+ const status = await new (0, _chunkDUBXUAAOjs.DeeplineClient)().unpublishSharePage(name);
18883
+ if (_chunkYQKCH4R7js.argsWantJson.call(void 0, args)) {
18884
+ _chunkYQKCH4R7js.printCompactJson.call(void 0, status);
18885
18885
  return 0;
18886
18886
  }
18887
18887
  console.log(`Unpublished ${name}; the public page has been removed.`);
@@ -18962,4 +18962,4 @@ async function handlePlayShareUnpublish(args) {
18962
18962
 
18963
18963
 
18964
18964
 
18965
- exports.PLAY_START_TRANSIENT_RETRY_DELAYS_MS = PLAY_START_TRANSIENT_RETRY_DELAYS_MS; exports.PREBUILT_PLAY_TAG_KEYS = PREBUILT_PLAY_TAG_KEYS; exports.assertDatasetHasExportableRows = assertDatasetHasExportableRows; exports.assertRunExportStatusIdentity = assertRunExportStatusIdentity; exports.buildPlayCompletionTextLines = buildPlayCompletionTextLines; exports.buildRunActivityTextLines = buildRunActivityTextLines; exports.buildRunLaunch = buildRunLaunch; exports.buildRunLogsText = buildRunLogsText; exports.buildRunPackageTextLines = buildRunPackageTextLines; exports.buildStopAllDryRunTextLines = buildStopAllDryRunTextLines; exports.checkPlayFileExports = checkPlayFileExports; exports.clampJsonPreviewText = clampJsonPreviewText; exports.compactPlayStatus = compactPlayStatus; exports.csvColumnLines = csvColumnLines; exports.describeSleepUntil = describeSleepUntil; exports.exportPlayStatusRows = exportPlayStatusRows; exports.formatPlaySandboxRuntimeWarning = formatPlaySandboxRuntimeWarning; exports.formatStepLabelFromNodeId = formatStepLabelFromNodeId; exports.getFinalStatusFromLiveEvent = getFinalStatusFromLiveEvent; exports.getProgressLinesFromLiveEvent = getProgressLinesFromLiveEvent; exports.getRunningHeartbeatLine = getRunningHeartbeatLine; exports.getStepTransitionLineFromLiveEvent = getStepTransitionLineFromLiveEvent; exports.handlePlayCheck = handlePlayCheck; exports.handlePlayCost = handlePlayCost; exports.handlePlayDelete = handlePlayDelete; exports.handlePlayDescribe = handlePlayDescribe; exports.handlePlayGet = handlePlayGet; exports.handlePlayGrep = handlePlayGrep; exports.handlePlayList = handlePlayList; exports.handlePlayPin = handlePlayPin; exports.handlePlayPublish = handlePlayPublish; exports.handlePlayRestore = handlePlayRestore; exports.handlePlayRun = handlePlayRun; exports.handlePlaySave = handlePlaySave; exports.handlePlaySharePublish = handlePlaySharePublish; exports.handlePlayShareRegenerate = handlePlayShareRegenerate; exports.handlePlayShareStatus = handlePlayShareStatus; exports.handlePlayShareUnpublish = handlePlayShareUnpublish; exports.handlePlayShareUpdate = handlePlayShareUpdate; exports.handlePlayVersions = handlePlayVersions; exports.handleRunEventSearch = handleRunEventSearch; exports.handleRunExport = handleRunExport; exports.handleRunGet = handleRunGet; exports.handleRunLifecycleStatus = handleRunLifecycleStatus; exports.handleRunLogs = handleRunLogs; exports.handleRunStop = handleRunStop; exports.handleRunStopAll = handleRunStopAll; exports.handleRunTail = handleRunTail; exports.handleRunsList = handleRunsList; exports.handleRunsRerun = handleRunsRerun; exports.liveMaxCreditsPerRun = liveMaxCreditsPerRun; exports.loadPlayBundler = loadPlayBundler; exports.parsePlayPublishOptions = parsePlayPublishOptions; exports.parsePlayRunHeaderFlag = _chunkQ6Z6N3A7js.parsePlayRunHeaderFlag; exports.parsePlayRunOptions = _chunkQ6Z6N3A7js.parsePlayRunOptions; exports.preflightLocalFileInputs = preflightLocalFileInputs; exports.registerPlayCommands = registerPlayCommands; exports.renderRunOverviewText = renderRunOverviewText; exports.resolveDatasetByName = resolveDatasetByName; exports.resolvePlayRunOutputStatus = resolvePlayRunOutputStatus; exports.resolvePlayRunUrl = resolvePlayRunUrl; exports.resolveRunStopState = resolveRunStopState; exports.selectRunLogTailPage = selectRunLogTailPage; exports.shouldPrintPlayProgressLine = shouldPrintPlayProgressLine; exports.startAndWaitForPlayCompletion = startAndWaitForPlayCompletion; exports.startAndWaitForPlayCompletionByStream = startAndWaitForPlayCompletionByStream; exports.startPlayRunWithTransientRetry = startPlayRunWithTransientRetry; exports.takeFromRunRerunArgs = takeFromRunRerunArgs; exports.truncateErrorForDisplay = truncateErrorForDisplay; exports.waitForPlayCompletionByWatch = waitForPlayCompletionByWatch; exports.withTerminalPlayIdentity = withTerminalPlayIdentity; exports.writeInlinePlay = writeInlinePlay; exports.writePlayRunIdFile = writePlayRunIdFile; exports.writePlayRunReceipt = writePlayRunReceipt;
18965
+ exports.PLAY_START_TRANSIENT_RETRY_DELAYS_MS = PLAY_START_TRANSIENT_RETRY_DELAYS_MS; exports.PREBUILT_PLAY_TAG_KEYS = PREBUILT_PLAY_TAG_KEYS; exports.assertDatasetHasExportableRows = assertDatasetHasExportableRows; exports.assertRunExportStatusIdentity = assertRunExportStatusIdentity; exports.buildPlayCompletionTextLines = buildPlayCompletionTextLines; exports.buildRunActivityTextLines = buildRunActivityTextLines; exports.buildRunLaunch = buildRunLaunch; exports.buildRunLogsText = buildRunLogsText; exports.buildRunPackageTextLines = buildRunPackageTextLines; exports.buildStopAllDryRunTextLines = buildStopAllDryRunTextLines; exports.checkPlayFileExports = checkPlayFileExports; exports.clampJsonPreviewText = clampJsonPreviewText; exports.compactPlayStatus = compactPlayStatus; exports.csvColumnLines = csvColumnLines; exports.describeSleepUntil = describeSleepUntil; exports.exportPlayStatusRows = exportPlayStatusRows; exports.formatPlaySandboxRuntimeWarning = formatPlaySandboxRuntimeWarning; exports.formatStepLabelFromNodeId = formatStepLabelFromNodeId; exports.getFinalStatusFromLiveEvent = getFinalStatusFromLiveEvent; exports.getProgressLinesFromLiveEvent = getProgressLinesFromLiveEvent; exports.getRunningHeartbeatLine = getRunningHeartbeatLine; exports.getStepTransitionLineFromLiveEvent = getStepTransitionLineFromLiveEvent; exports.handlePlayCheck = handlePlayCheck; exports.handlePlayCost = handlePlayCost; exports.handlePlayDelete = handlePlayDelete; exports.handlePlayDescribe = handlePlayDescribe; exports.handlePlayGet = handlePlayGet; exports.handlePlayGrep = handlePlayGrep; exports.handlePlayList = handlePlayList; exports.handlePlayPin = handlePlayPin; exports.handlePlayPublish = handlePlayPublish; exports.handlePlayRestore = handlePlayRestore; exports.handlePlayRun = handlePlayRun; exports.handlePlaySave = handlePlaySave; exports.handlePlaySharePublish = handlePlaySharePublish; exports.handlePlayShareRegenerate = handlePlayShareRegenerate; exports.handlePlayShareStatus = handlePlayShareStatus; exports.handlePlayShareUnpublish = handlePlayShareUnpublish; exports.handlePlayShareUpdate = handlePlayShareUpdate; exports.handlePlayVersions = handlePlayVersions; exports.handleRunEventSearch = handleRunEventSearch; exports.handleRunExport = handleRunExport; exports.handleRunGet = handleRunGet; exports.handleRunLifecycleStatus = handleRunLifecycleStatus; exports.handleRunLogs = handleRunLogs; exports.handleRunStop = handleRunStop; exports.handleRunStopAll = handleRunStopAll; exports.handleRunTail = handleRunTail; exports.handleRunsList = handleRunsList; exports.handleRunsRerun = handleRunsRerun; exports.liveMaxCreditsPerRun = liveMaxCreditsPerRun; exports.loadPlayBundler = loadPlayBundler; exports.parsePlayPublishOptions = parsePlayPublishOptions; exports.parsePlayRunHeaderFlag = _chunkGHT2NDL7js.parsePlayRunHeaderFlag; exports.parsePlayRunOptions = _chunkGHT2NDL7js.parsePlayRunOptions; exports.preflightLocalFileInputs = preflightLocalFileInputs; exports.registerPlayCommands = registerPlayCommands; exports.renderRunOverviewText = renderRunOverviewText; exports.resolveDatasetByName = resolveDatasetByName; exports.resolvePlayRunOutputStatus = resolvePlayRunOutputStatus; exports.resolvePlayRunUrl = resolvePlayRunUrl; exports.resolveRunStopState = resolveRunStopState; exports.selectRunLogTailPage = selectRunLogTailPage; exports.shouldPrintPlayProgressLine = shouldPrintPlayProgressLine; exports.startAndWaitForPlayCompletion = startAndWaitForPlayCompletion; exports.startAndWaitForPlayCompletionByStream = startAndWaitForPlayCompletionByStream; exports.startPlayRunWithTransientRetry = startPlayRunWithTransientRetry; exports.takeFromRunRerunArgs = takeFromRunRerunArgs; exports.truncateErrorForDisplay = truncateErrorForDisplay; exports.waitForPlayCompletionByWatch = waitForPlayCompletionByWatch; exports.withTerminalPlayIdentity = withTerminalPlayIdentity; exports.writeInlinePlay = writeInlinePlay; exports.writePlayRunIdFile = writePlayRunIdFile; exports.writePlayRunReceipt = writePlayRunReceipt;