deepline 0.3.549 → 0.3.551

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 (178) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/sdk/src/types.ts +22 -0
  3. package/dist/bundling-sources/shared_libs/integration-contracts/tool-connection.ts +42 -0
  4. package/dist/bundling-sources/shared_libs/monitors/snitcher-ip2company.ts +31 -0
  5. package/dist/bundling-sources/shared_libs/monitors/tracking-provider-guidance.ts +1 -0
  6. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +19 -0
  7. package/dist/bundling-sources/shared_libs/play-runtime/activity-observation.ts +2 -0
  8. package/dist/bundling-sources/shared_libs/play-runtime/durable-runs-rollout.ts +2 -2
  9. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +187 -16
  10. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-rate-state.ts +70 -19
  11. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +854 -3
  12. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-event-search.ts +15 -1
  13. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-capacity.ts +6 -2
  14. package/dist/bundling-sources/shared_libs/plays/share/static-pipeline-summary.ts +43 -0
  15. package/dist/bundling-sources/shared_libs/product-notifications/billing-sales.ts +1 -0
  16. package/dist/bundling-sources/shared_libs/product-notifications/catalog.ts +38 -5
  17. package/dist/bundling-sources/shared_libs/product-notifications/default-policy.ts +1 -1
  18. package/dist/bundling-sources/shared_libs/product-notifications/events.ts +16 -0
  19. package/dist/cli/auth-B4PI7GVY.js +43 -0
  20. package/dist/cli/{auth-YENF525S.mjs → auth-E7BH4GMJ.mjs} +5 -5
  21. package/dist/cli/{billing-52GAHIDZ.js → billing-DNQAZGX7.js} +99 -99
  22. package/dist/cli/{billing-XPXB27G7.mjs → billing-OXKU462W.mjs} +10 -10
  23. package/dist/cli/chunk-2RIKOPIM.mjs +9 -0
  24. package/dist/cli/{chunk-L6UMWAAY.mjs → chunk-2UXDHFSF.mjs} +1 -1
  25. package/dist/cli/{chunk-XYIECA7M.js → chunk-2WFPHBR4.js} +30 -8
  26. package/dist/cli/{chunk-HWCIU3KY.js → chunk-2ZYRBMQM.js} +23 -22
  27. package/dist/cli/{chunk-NVALIJQS.js → chunk-3G6QZACZ.js} +23 -20
  28. package/dist/cli/{chunk-BPBPY42E.js → chunk-3KYBDAR3.js} +7 -7
  29. package/dist/cli/{chunk-DCTEH6N5.mjs → chunk-3T65J5RG.mjs} +2 -2
  30. package/dist/cli/{chunk-DIRLEJJX.js → chunk-44I675YK.js} +42 -41
  31. package/dist/cli/{chunk-LP2VNGG3.mjs → chunk-44KSACJW.mjs} +2 -2
  32. package/dist/cli/{chunk-X4RGDE4J.mjs → chunk-4D3WIZST.mjs} +1 -1
  33. package/dist/cli/{chunk-7FY7AHR6.js → chunk-4OMAGJ6U.js} +2 -2
  34. package/dist/cli/{chunk-TYOAOSDL.js → chunk-54EEYLTF.js} +3 -3
  35. package/dist/cli/{chunk-PLAJ6HPD.mjs → chunk-5IL7SC45.mjs} +2 -2
  36. package/dist/cli/{chunk-XS72HELO.mjs → chunk-5S6PHKRV.mjs} +2 -1
  37. package/dist/cli/{chunk-4HSSPT73.js → chunk-5VVSEU67.js} +6 -6
  38. package/dist/cli/{chunk-ANOTB6V3.mjs → chunk-6PWJKMFQ.mjs} +5 -4
  39. package/dist/cli/{chunk-MAE3AKDR.mjs → chunk-7DOQ3OEX.mjs} +17 -8
  40. package/dist/cli/{chunk-RMKRZJOS.js → chunk-7RSIFA72.js} +18 -16
  41. package/dist/cli/{chunk-4AUV5QJF.mjs → chunk-7WQNWJQW.mjs} +7 -5
  42. package/dist/cli/{chunk-6P7TGCHQ.mjs → chunk-BGBJV26E.mjs} +10 -3
  43. package/dist/cli/{chunk-UGVXHT62.mjs → chunk-BIIJATTX.mjs} +2 -2
  44. package/dist/cli/{chunk-ADWMIZCB.js → chunk-C4CUZH57.js} +20 -11
  45. package/dist/cli/{chunk-PQX4WTBY.mjs → chunk-CLRAANWH.mjs} +1 -1
  46. package/dist/cli/{chunk-XPYCNA43.js → chunk-COGREZAO.js} +48 -44
  47. package/dist/cli/{chunk-QUELC3B2.js → chunk-CQ6JYQSW.js} +10 -10
  48. package/dist/cli/{chunk-Z3DKJOUL.mjs → chunk-D6M5HFBB.mjs} +1 -1
  49. package/dist/cli/{chunk-W77LBYF3.mjs → chunk-E64HFB4L.mjs} +13 -13
  50. package/dist/cli/{chunk-BDOLPGHD.mjs → chunk-FOTGUFVK.mjs} +3 -3
  51. package/dist/cli/{chunk-4QUWXUUJ.mjs → chunk-GGB3JYCW.mjs} +3 -2
  52. package/dist/cli/{chunk-7AOFSZJM.mjs → chunk-GGGAEVCX.mjs} +23 -1
  53. package/dist/cli/{chunk-PLJCY35C.mjs → chunk-GVYLCCKN.mjs} +1 -1
  54. package/dist/cli/{chunk-UV4RU2TE.js → chunk-H4ALLC2X.js} +2 -0
  55. package/dist/cli/{chunk-V5WPYOAE.mjs → chunk-HEHVGEZV.mjs} +10 -7
  56. package/dist/cli/{chunk-AZSVDAXT.mjs → chunk-I4VKGNAQ.mjs} +9 -5
  57. package/dist/cli/{chunk-RKF263LR.js → chunk-KWSH5T7K.js} +25 -18
  58. package/dist/cli/{chunk-4DJNXAPH.js → chunk-LPJPCGT3.js} +8 -8
  59. package/dist/cli/{chunk-Y5SKYU5X.mjs → chunk-MNSTCJMX.mjs} +3 -3
  60. package/dist/cli/{chunk-Y5MDCPWA.js → chunk-MR5LTVHD.js} +53 -53
  61. package/dist/cli/{chunk-LMFTDDAM.mjs → chunk-MXGA6JFI.mjs} +2 -2
  62. package/dist/cli/{chunk-BDUZJX4V.js → chunk-NMWGZD6Y.js} +26 -26
  63. package/dist/cli/{chunk-5622PYAP.js → chunk-PACD5DGC.js} +4 -4
  64. package/dist/cli/{chunk-CX4KGWCH.mjs → chunk-PM7MO62Y.mjs} +3 -3
  65. package/dist/cli/{chunk-ETLEPHLT.js → chunk-POLUE7D5.js} +11 -11
  66. package/dist/cli/{chunk-VLAJGF27.js → chunk-PPSDCN6C.js} +3 -2
  67. package/dist/cli/{chunk-KBMBNUUW.js → chunk-QM6Y6S4E.js} +5 -5
  68. package/dist/cli/{chunk-YX7BX2FA.mjs → chunk-RE5MJBEV.mjs} +2 -2
  69. package/dist/cli/{chunk-5CXE22BI.mjs → chunk-S7IZWGUA.mjs} +2 -2
  70. package/dist/cli/{chunk-OWX4AAJ4.js → chunk-T2B5BVZE.js} +13 -13
  71. package/dist/cli/{chunk-3IUQNHIG.js → chunk-UDXULACQ.js} +3 -3
  72. package/dist/cli/{chunk-ECWOIXAV.js → chunk-UPMRIVZB.js} +14 -12
  73. package/dist/cli/{chunk-U6KHWIAO.mjs → chunk-V6SCP4B7.mjs} +1 -1
  74. package/dist/cli/{chunk-V7WMNX4R.js → chunk-VTGG2RT3.js} +1 -1
  75. package/dist/cli/{chunk-QIZBUY2N.mjs → chunk-VWLHRZFG.mjs} +4 -4
  76. package/dist/cli/{chunk-YZTS3XA7.js → chunk-W2ZWQUHT.js} +2 -2
  77. package/dist/cli/{chunk-5T37KQNG.mjs → chunk-W425ERWN.mjs} +6 -5
  78. package/dist/cli/{chunk-GWNYLIF7.mjs → chunk-WEHCBH5R.mjs} +4 -2
  79. package/dist/cli/{chunk-CXFOYRI4.js → chunk-WKBHUB6R.js} +270 -270
  80. package/dist/cli/{chunk-SVNAP2QI.js → chunk-XYE5XPGF.js} +9 -9
  81. package/dist/cli/{chunk-HPSCRVTM.js → chunk-Z2FIOG3V.js} +12 -12
  82. package/dist/cli/{chunk-KTZ3VU6S.js → chunk-ZCDKE4UH.js} +5 -5
  83. package/dist/cli/{chunk-QGKX2WBZ.js → chunk-ZDQFBJPO.js} +20 -19
  84. package/dist/cli/{chunk-J6FINSAK.mjs → chunk-ZMNGZ6XS.mjs} +1 -1
  85. package/dist/cli/command-docs.js +3 -3
  86. package/dist/cli/command-docs.mjs +2 -2
  87. package/dist/cli/{concurrent-runs-help-OYSLW55L.mjs → concurrent-runs-help-C6L6I5OR.mjs} +7 -7
  88. package/dist/cli/concurrent-runs-help-JEFQZTJI.js +21 -0
  89. package/dist/cli/{csv-FRO3UFMQ.js → csv-QMF4FWE7.js} +19 -14
  90. package/dist/cli/{csv-TFCTUYF2.mjs → csv-SYSDXFEM.mjs} +10 -5
  91. package/dist/cli/{db-NHVZBT2H.mjs → db-Q7HURWRZ.mjs} +6 -6
  92. package/dist/cli/{db-SNFNRVZJ.js → db-YSHPPA4H.js} +27 -27
  93. package/dist/cli/describe-PXTSBJTL.js +50 -0
  94. package/dist/cli/{describe-OVFPRJJL.mjs → describe-YGMQBV44.mjs} +21 -21
  95. package/dist/cli/describe-core.d.mts +4 -2
  96. package/dist/cli/describe-core.d.ts +4 -2
  97. package/dist/cli/describe-core.js +4 -4
  98. package/dist/cli/describe-core.mjs +3 -3
  99. package/dist/cli/{executions-HWMH2LTC.mjs → executions-G7U3VUXN.mjs} +6 -6
  100. package/dist/cli/{executions-RZLKKPZV.js → executions-MWBC5TAW.js} +8 -8
  101. package/dist/cli/{feedback-WD4JVF77.mjs → feedback-GMHIFLBJ.mjs} +6 -6
  102. package/dist/cli/{feedback-3D5OROCI.js → feedback-SD55OY6H.js} +14 -14
  103. package/dist/cli/{git-RYUKBCUZ.mjs → git-HPE45OPD.mjs} +5 -5
  104. package/dist/cli/git-I3JV7IGH.js +25 -0
  105. package/dist/cli/index.js +147 -147
  106. package/dist/cli/index.mjs +46 -46
  107. package/dist/cli/{integrations-KJPFCEXL.mjs → integrations-2W4MGIQR.mjs} +7 -7
  108. package/dist/cli/{integrations-Y7OK23DW.js → integrations-HFKVBY6G.js} +15 -15
  109. package/dist/cli/{legacy-noops-2PU2ZVEP.mjs → legacy-noops-GZYKNU2Z.mjs} +6 -6
  110. package/dist/cli/{legacy-noops-G7ZY7K3K.js → legacy-noops-SXVNDEXN.js} +9 -9
  111. package/dist/cli/{mcp-D7F2RSOI.mjs → mcp-BWA6KULG.mjs} +4 -4
  112. package/dist/cli/{mcp-GILBYX72.js → mcp-PJRHQHHU.js} +24 -24
  113. package/dist/cli/{monitors-OXNHOT3C.js → monitors-K2WSI6CR.js} +100 -100
  114. package/dist/cli/{monitors-IK5KXY2H.mjs → monitors-SYQKCATO.mjs} +7 -7
  115. package/dist/cli/{org-L5D7EISU.mjs → org-5KD7X7IA.mjs} +6 -6
  116. package/dist/cli/{org-OYM3UNTP.js → org-YQ2CR32B.js} +88 -88
  117. package/dist/cli/{play-YK22QPYO.js → play-SZXY2F2S.js} +352 -341
  118. package/dist/cli/{play-PK6QO3WX.mjs → play-TTMABJEI.mjs} +40 -29
  119. package/dist/cli/{providers-Z6MNJDCG.mjs → providers-GQIOMRQO.mjs} +6 -6
  120. package/dist/cli/{providers-5CYP7P4N.js → providers-YDHCTZAF.js} +9 -9
  121. package/dist/cli/{quickstart-2YKETYJY.js → quickstart-BNYOXQXG.js} +6 -6
  122. package/dist/cli/{quickstart-2I73XQXB.mjs → quickstart-PHSSMKCA.mjs} +4 -4
  123. package/dist/cli/{run-KGQ6TUBB.mjs → run-74C3C75C.mjs} +26 -26
  124. package/dist/cli/{run-YVSEAVE5.js → run-GFIAZXVL.js} +47 -47
  125. package/dist/cli/search-2RRRF4LW.js +32 -0
  126. package/dist/cli/{search-V2HPN6FU.mjs → search-3SWUB7KX.mjs} +7 -7
  127. package/dist/cli/{search-output-BUSANFRN.js → search-output-6JF3S4TP.js} +43 -13
  128. package/dist/cli/{search-output-OCTOSDEO.mjs → search-output-K2SWHVHQ.mjs} +40 -10
  129. package/dist/cli/{secrets-WZGRBWI5.mjs → secrets-2M4XWEKE.mjs} +6 -6
  130. package/dist/cli/{secrets-VDKTHCVB.js → secrets-2SAKLH2H.js} +15 -15
  131. package/dist/cli/{sessions-5DTN55DZ.mjs → sessions-A64BCXTO.mjs} +6 -6
  132. package/dist/cli/sessions-SBH27JNW.js +22 -0
  133. package/dist/cli/{settings-A7VSNOLI.js → settings-HV64WIJF.js} +85 -85
  134. package/dist/cli/{settings-BK5FPQ3X.mjs → settings-SVGEC3FI.mjs} +12 -12
  135. package/dist/cli/{setup-LLQVPZTP.mjs → setup-EDC3NEJ3.mjs} +15 -10
  136. package/dist/cli/{setup-NV27CYQ5.js → setup-FHXOLQGQ.js} +55 -50
  137. package/dist/cli/{skills-IV6HK4XA.mjs → skills-3HGHZMXB.mjs} +7 -7
  138. package/dist/cli/skills-Y3SRLOYD.js +36 -0
  139. package/dist/cli/tools-OFYPUPUV.js +57 -0
  140. package/dist/cli/{tools-4FKPCRD7.mjs → tools-P2QS6A6Q.mjs} +19 -19
  141. package/dist/cli/{update-MH5M746E.mjs → update-552BYQM4.mjs} +9 -9
  142. package/dist/cli/update-SOUSCLB7.js +34 -0
  143. package/dist/cli/{views-KXC4JDT7.mjs → views-LD5HXJYY.mjs} +6 -6
  144. package/dist/cli/{views-JW44TCGL.js → views-PA25NAE3.js} +21 -21
  145. package/dist/cli/{workflow-F5AHL2ET.js → workflow-FIDBUQV6.js} +17 -17
  146. package/dist/cli/{workflow-FI4DL7ZI.mjs → workflow-LDYFGBYP.mjs} +7 -7
  147. package/dist/{client-BEJqhQAj.d.mts → client-DuDFiJDU.d.mts} +1 -1
  148. package/dist/{client-core-BPYuWfBC.d.ts → client-core-CJRzLanv.d.ts} +93 -4
  149. package/dist/{client-core-BqetRxx-.d.mts → client-core-DydMQOft.d.mts} +93 -4
  150. package/dist/{client-Ceo295L2.d.ts → client-t9HZAkFD.d.ts} +1 -1
  151. package/dist/index.d.mts +3 -3
  152. package/dist/index.d.ts +3 -3
  153. package/dist/index.js +9 -9
  154. package/dist/index.mjs +6 -6
  155. package/dist/install-integrity.json +124 -124
  156. package/dist/plays/play-description.d.mts +1 -1
  157. package/dist/plays/play-description.d.ts +1 -1
  158. package/dist/plays/run-request.d.mts +1 -1
  159. package/dist/plays/run-request.d.ts +1 -1
  160. package/dist/release.d.mts +1 -1
  161. package/dist/release.d.ts +1 -1
  162. package/dist/release.js +2 -2
  163. package/dist/release.mjs +1 -1
  164. package/dist/server.d.mts +2 -2
  165. package/dist/server.d.ts +2 -2
  166. package/dist/server.js +5 -5
  167. package/dist/server.mjs +3 -3
  168. package/package.json +1 -1
  169. package/dist/cli/auth-UVEZIP3H.js +0 -43
  170. package/dist/cli/chunk-NIPLY25A.mjs +0 -7
  171. package/dist/cli/concurrent-runs-help-74AFW3BD.js +0 -21
  172. package/dist/cli/describe-2JCOC4AK.js +0 -50
  173. package/dist/cli/git-GCCPCUWJ.js +0 -25
  174. package/dist/cli/search-YG3UIZ6A.js +0 -32
  175. package/dist/cli/sessions-NSPT6LHT.js +0 -22
  176. package/dist/cli/skills-UA5E4DA3.js +0 -36
  177. package/dist/cli/tools-NJVPAG37.js +0 -57
  178. package/dist/cli/update-DKX27XZB.js +0 -34
@@ -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 _chunkBDUZJX4Vjs = require('./chunk-BDUZJX4V.js');
4
+ var _chunkNMWGZD6Yjs = require('./chunk-NMWGZD6Y.js');
5
5
 
6
6
 
7
7
 
@@ -9,7 +9,7 @@ var _chunkBDUZJX4Vjs = require('./chunk-BDUZJX4V.js');
9
9
 
10
10
 
11
11
 
12
- var _chunkSVNAP2QIjs = require('./chunk-SVNAP2QI.js');
12
+ var _chunkXYE5XPGFjs = require('./chunk-XYE5XPGF.js');
13
13
 
14
14
 
15
15
 
@@ -22,15 +22,15 @@ var _chunkSVNAP2QIjs = require('./chunk-SVNAP2QI.js');
22
22
 
23
23
 
24
24
 
25
- var _chunkETLEPHLTjs = require('./chunk-ETLEPHLT.js');
25
+ var _chunkPOLUE7D5js = require('./chunk-POLUE7D5.js');
26
26
 
27
27
 
28
- var _chunkQUELC3B2js = require('./chunk-QUELC3B2.js');
28
+ var _chunkCQ6JYQSWjs = require('./chunk-CQ6JYQSW.js');
29
29
  require('./chunk-D3BCSAN7.js');
30
30
 
31
31
 
32
32
 
33
- var _chunkXYIECA7Mjs = require('./chunk-XYIECA7M.js');
33
+ var _chunk2WFPHBR4js = require('./chunk-2WFPHBR4.js');
34
34
 
35
35
 
36
36
  var _chunkAID3OYVJjs = require('./chunk-AID3OYVJ.js');
@@ -51,10 +51,10 @@ var _chunkCBV7AKWMjs = require('./chunk-CBV7AKWM.js');
51
51
 
52
52
 
53
53
 
54
- var _chunkKTZ3VU6Sjs = require('./chunk-KTZ3VU6S.js');
54
+ var _chunkZCDKE4UHjs = require('./chunk-ZCDKE4UH.js');
55
55
 
56
56
 
57
- var _chunkKBMBNUUWjs = require('./chunk-KBMBNUUW.js');
57
+ var _chunkQM6Y6S4Ejs = require('./chunk-QM6Y6S4E.js');
58
58
 
59
59
 
60
60
 
@@ -67,7 +67,7 @@ var _chunkKBMBNUUWjs = require('./chunk-KBMBNUUW.js');
67
67
 
68
68
 
69
69
 
70
- var _chunk4DJNXAPHjs = require('./chunk-4DJNXAPH.js');
70
+ var _chunkLPJPCGT3js = require('./chunk-LPJPCGT3.js');
71
71
  require('./chunk-4WAM6TLD.js');
72
72
 
73
73
 
@@ -91,18 +91,18 @@ require('./chunk-XDVT3GOM.js');
91
91
 
92
92
 
93
93
 
94
- var _chunk4HSSPT73js = require('./chunk-4HSSPT73.js');
94
+ var _chunk5VVSEU67js = require('./chunk-5VVSEU67.js');
95
95
 
96
96
 
97
97
 
98
98
 
99
99
 
100
- var _chunkYZTS3XA7js = require('./chunk-YZTS3XA7.js');
101
- require('./chunk-XPYCNA43.js');
100
+ var _chunkW2ZWQUHTjs = require('./chunk-W2ZWQUHT.js');
101
+ require('./chunk-COGREZAO.js');
102
102
 
103
103
 
104
104
 
105
- var _chunkTYOAOSDLjs = require('./chunk-TYOAOSDL.js');
105
+ var _chunk54EEYLTFjs = require('./chunk-54EEYLTF.js');
106
106
 
107
107
 
108
108
  var _chunkR7J7CJPZjs = require('./chunk-R7J7CJPZ.js');
@@ -123,17 +123,17 @@ var _chunkYGCKMI5Pjs = require('./chunk-YGCKMI5P.js');
123
123
 
124
124
 
125
125
 
126
- var _chunkQGKX2WBZjs = require('./chunk-QGKX2WBZ.js');
127
- require('./chunk-3IUQNHIG.js');
126
+ var _chunkZDQFBJPOjs = require('./chunk-ZDQFBJPO.js');
127
+ require('./chunk-UDXULACQ.js');
128
128
 
129
129
 
130
- var _chunk5622PYAPjs = require('./chunk-5622PYAP.js');
130
+ var _chunkPACD5DGCjs = require('./chunk-PACD5DGC.js');
131
131
  require('./chunk-EITMD3A5.js');
132
132
  require('./chunk-XNYIZMNQ.js');
133
133
 
134
134
 
135
135
  var _chunkBBTKAASQjs = require('./chunk-BBTKAASQ.js');
136
- require('./chunk-V7WMNX4R.js');
136
+ require('./chunk-VTGG2RT3.js');
137
137
  require('./chunk-OG64RBAC.js');
138
138
 
139
139
 
@@ -2115,7 +2115,7 @@ function resolveField(key, command) {
2115
2115
  function printSettings(result, json, name) {
2116
2116
  result = { ...result, settings: parsePlaySettings(result.settings) };
2117
2117
  const selected = fields.filter(([key]) => !name || key === name);
2118
- _chunkQGKX2WBZjs.printCommandEnvelope.call(void 0,
2118
+ _chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
2119
2119
  {
2120
2120
  ...result,
2121
2121
  settings: Object.fromEntries(
@@ -2159,7 +2159,7 @@ function registerPlaySettingsCommands(plays) {
2159
2159
  valueSyntax: field.cli.valueSyntax,
2160
2160
  examples: field.cli.examples
2161
2161
  }));
2162
- _chunkQGKX2WBZjs.printCommandEnvelope.call(void 0,
2162
+ _chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
2163
2163
  {
2164
2164
  fields: descriptions,
2165
2165
  render: {
@@ -2184,7 +2184,7 @@ function registerPlaySettingsCommands(plays) {
2184
2184
  async (options, command) => {
2185
2185
  if (options.name !== void 0) resolveField(options.name, command);
2186
2186
  printSettings(
2187
- await new (0, _chunkKBMBNUUWjs.DeeplineClient)().getPlaySettings(options.play),
2187
+ await new (0, _chunkQM6Y6S4Ejs.DeeplineClient)().getPlaySettings(options.play),
2188
2188
  options.json,
2189
2189
  options.name
2190
2190
  );
@@ -2215,7 +2215,7 @@ function registerPlaySettingsCommands(plays) {
2215
2215
  );
2216
2216
  }
2217
2217
  if (options.dryRun) {
2218
- _chunkQGKX2WBZjs.printCommandEnvelope.call(void 0,
2218
+ _chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
2219
2219
  {
2220
2220
  dryRun: true,
2221
2221
  play,
@@ -2236,7 +2236,7 @@ function registerPlaySettingsCommands(plays) {
2236
2236
  return;
2237
2237
  }
2238
2238
  printSettings(
2239
- await new (0, _chunkKBMBNUUWjs.DeeplineClient)().updatePlaySettings(play, patch),
2239
+ await new (0, _chunkQM6Y6S4Ejs.DeeplineClient)().updatePlaySettings(play, patch),
2240
2240
  options.json
2241
2241
  );
2242
2242
  };
@@ -2262,13 +2262,13 @@ function registerPlaySettingsCommands(plays) {
2262
2262
  "--root must be person or team; --limit must be 1\u2013100.",
2263
2263
  { exitCode: 2 }
2264
2264
  );
2265
- const page = await new (0, _chunkKBMBNUUWjs.DeeplineClient)().listPlaySettingsPaths({
2265
+ const page = await new (0, _chunkQM6Y6S4Ejs.DeeplineClient)().listPlaySettingsPaths({
2266
2266
  root: options.root,
2267
2267
  limit,
2268
2268
  cursor: options.cursor
2269
2269
  });
2270
2270
  const nextCommand = page.hasMore ? `deepline plays settings paths --cursor '${page.cursor}'${options.root ? ` --root ${options.root}` : ""}` : null;
2271
- _chunkQGKX2WBZjs.printCommandEnvelope.call(void 0,
2271
+ _chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
2272
2272
  {
2273
2273
  ...page,
2274
2274
  nextCommand,
@@ -2319,7 +2319,7 @@ function registerPlaySettingsCommands(plays) {
2319
2319
  root: _nullishCoalesce(_optionalChain([toPath, 'optionalAccess', _12 => _12.root]), () => ( "person")),
2320
2320
  folders: _nullishCoalesce(_optionalChain([toPath, 'optionalAccess', _13 => _13.folders]), () => ( []))
2321
2321
  };
2322
- const client = new (0, _chunkKBMBNUUWjs.DeeplineClient)();
2322
+ const client = new (0, _chunkQM6Y6S4Ejs.DeeplineClient)();
2323
2323
  const paths = [];
2324
2324
  let cursor;
2325
2325
  do {
@@ -2381,7 +2381,7 @@ function registerPlaySettingsCommands(plays) {
2381
2381
  moved.push(move.playName);
2382
2382
  }
2383
2383
  }
2384
- _chunkQGKX2WBZjs.printCommandEnvelope.call(void 0,
2384
+ _chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
2385
2385
  {
2386
2386
  dryRun: Boolean(options.dryRun),
2387
2387
  from: options.from,
@@ -2515,7 +2515,7 @@ function triggerLines(view) {
2515
2515
  return lines;
2516
2516
  }
2517
2517
  function printView(view, json) {
2518
- _chunkQGKX2WBZjs.printCommandEnvelope.call(void 0,
2518
+ _chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
2519
2519
  {
2520
2520
  ...view,
2521
2521
  render: {
@@ -2528,7 +2528,7 @@ function printView(view, json) {
2528
2528
  );
2529
2529
  }
2530
2530
  function printResult(result, json) {
2531
- _chunkQGKX2WBZjs.printCommandEnvelope.call(void 0,
2531
+ _chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
2532
2532
  {
2533
2533
  ...result,
2534
2534
  render: {
@@ -2558,7 +2558,7 @@ async function mutate(command, options, build) {
2558
2558
  usage(command, `Invalid trigger: ${formatPlayTriggerConfigError(error)}`);
2559
2559
  }
2560
2560
  if (options.dryRun) {
2561
- _chunkQGKX2WBZjs.printCommandEnvelope.call(void 0,
2561
+ _chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
2562
2562
  {
2563
2563
  dryRun: true,
2564
2564
  play: options.play,
@@ -2577,7 +2577,7 @@ async function mutate(command, options, build) {
2577
2577
  return;
2578
2578
  }
2579
2579
  printResult(
2580
- await new (0, _chunkKBMBNUUWjs.DeeplineClient)().updatePlayTriggerConfig(options.play, update),
2580
+ await new (0, _chunkQM6Y6S4Ejs.DeeplineClient)().updatePlayTriggerConfig(options.play, update),
2581
2581
  options.json
2582
2582
  );
2583
2583
  }
@@ -2610,7 +2610,7 @@ function registerPlayTriggerConfigCommands(plays) {
2610
2610
  }).addHelpText("after", help2);
2611
2611
  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) => {
2612
2612
  printView(
2613
- await new (0, _chunkKBMBNUUWjs.DeeplineClient)().getPlayTriggerConfig(options.play),
2613
+ await new (0, _chunkQM6Y6S4Ejs.DeeplineClient)().getPlayTriggerConfig(options.play),
2614
2614
  options.json
2615
2615
  );
2616
2616
  });
@@ -2654,7 +2654,7 @@ function registerPlayTriggerConfigCommands(plays) {
2654
2654
  if (options.auth === void 0) {
2655
2655
  if (secrets.length || options.header || options.signaturePrefix)
2656
2656
  usage(setWebhook, "--secret/--header need --auth.");
2657
- const current = await new (0, _chunkKBMBNUUWjs.DeeplineClient)().getPlayTriggerConfig(
2657
+ const current = await new (0, _chunkQM6Y6S4Ejs.DeeplineClient)().getPlayTriggerConfig(
2658
2658
  options.play
2659
2659
  );
2660
2660
  return {
@@ -2731,7 +2731,7 @@ var KIND_DESCRIPTIONS = {
2731
2731
  "receipt.skipped": "Saved work result: skipped.",
2732
2732
  "runtime.event": "Other event."
2733
2733
  };
2734
- var RUN_LOGS_KIND_HELP = _chunk4DJNXAPHjs.RUN_EVENT_SEARCH_KIND_VALUES.map((kind) => ({
2734
+ var RUN_LOGS_KIND_HELP = _chunkLPJPCGT3js.RUN_EVENT_SEARCH_KIND_VALUES.map((kind) => ({
2735
2735
  kind,
2736
2736
  description: KIND_DESCRIPTIONS[kind]
2737
2737
  }));
@@ -2868,9 +2868,9 @@ function configureRunQueryCommandErrors(command, resource) {
2868
2868
  const args = program.args;
2869
2869
  if (error.exitCode !== 0 && (resource === "events" || requestsStructuredLogs(args))) {
2870
2870
  error.exitCode = 2;
2871
- if (_chunkQGKX2WBZjs.argsWantJson.call(void 0, args) || command.optsWithGlobals().json === true) {
2872
- _chunkQGKX2WBZjs.printJsonError.call(void 0,
2873
- Object.assign(new (0, _chunk4DJNXAPHjs.RunEventQueryInputError)(error.message), {
2871
+ if (_chunkZDQFBJPOjs.argsWantJson.call(void 0, args) || command.optsWithGlobals().json === true) {
2872
+ _chunkZDQFBJPOjs.printJsonError.call(void 0,
2873
+ Object.assign(new (0, _chunkLPJPCGT3js.RunEventQueryInputError)(error.message), {
2874
2874
  exitCode: 2,
2875
2875
  retryable: false
2876
2876
  })
@@ -2914,14 +2914,14 @@ function parseQuery(args, resource) {
2914
2914
  if (VALUE_FLAGS.has(flag)) {
2915
2915
  const value = equals > 0 ? arg.slice(equals + 1) : args[++index];
2916
2916
  if (!value || equals < 0 && value.startsWith("--") && flag !== "--query" && flag !== "--where") {
2917
- throw new (0, _chunk4DJNXAPHjs.RunEventQueryInputError)(
2917
+ throw new (0, _chunkLPJPCGT3js.RunEventQueryInputError)(
2918
2918
  `${flag} requires a value. Use ${flag} <value>.`
2919
2919
  );
2920
2920
  }
2921
2921
  if (flag === "--sum") sums.push(value);
2922
2922
  else {
2923
2923
  if (values[flag] !== void 0) {
2924
- throw new (0, _chunk4DJNXAPHjs.RunEventQueryInputError)(
2924
+ throw new (0, _chunkLPJPCGT3js.RunEventQueryInputError)(
2925
2925
  `${flag} may only be supplied once.`
2926
2926
  );
2927
2927
  }
@@ -2935,12 +2935,12 @@ function parseQuery(args, resource) {
2935
2935
  }
2936
2936
  if (arg.startsWith("-")) {
2937
2937
  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.";
2938
- throw new (0, _chunk4DJNXAPHjs.RunEventQueryInputError)(
2938
+ throw new (0, _chunkLPJPCGT3js.RunEventQueryInputError)(
2939
2939
  `Unsupported query flag ${flag}. ${correction}`
2940
2940
  );
2941
2941
  }
2942
2942
  if (runId !== void 0) {
2943
- throw new (0, _chunk4DJNXAPHjs.RunEventQueryInputError)(
2943
+ throw new (0, _chunkLPJPCGT3js.RunEventQueryInputError)(
2944
2944
  `Unexpected argument ${JSON.stringify(arg)}. Supply one run ID.`
2945
2945
  );
2946
2946
  }
@@ -2948,7 +2948,7 @@ function parseQuery(args, resource) {
2948
2948
  }
2949
2949
  if (switches.has("--fields")) {
2950
2950
  if (runId !== void 0) {
2951
- throw new (0, _chunk4DJNXAPHjs.RunEventQueryInputError)(
2951
+ throw new (0, _chunkLPJPCGT3js.RunEventQueryInputError)(
2952
2952
  "--fields does not use a run ID. Omit the positional run ID."
2953
2953
  );
2954
2954
  }
@@ -2961,18 +2961,18 @@ function parseQuery(args, resource) {
2961
2961
  )
2962
2962
  ];
2963
2963
  if (incompatible.length) {
2964
- throw new (0, _chunk4DJNXAPHjs.RunEventQueryInputError)(
2964
+ throw new (0, _chunkLPJPCGT3js.RunEventQueryInputError)(
2965
2965
  `--fields cannot be combined with ${incompatible.join(", ")}. Use --fields alone to discover the query contract.`
2966
2966
  );
2967
2967
  }
2968
2968
  }
2969
2969
  if (switches.has("--count") && values["--group-by"] !== void 0) {
2970
- throw new (0, _chunk4DJNXAPHjs.RunEventQueryInputError)(
2970
+ throw new (0, _chunkLPJPCGT3js.RunEventQueryInputError)(
2971
2971
  "--count cannot be combined with --group-by. Use --group-by for counts per group."
2972
2972
  );
2973
2973
  }
2974
2974
  if (sums.length && switches.has("--count")) {
2975
- throw new (0, _chunk4DJNXAPHjs.RunEventQueryInputError)(
2975
+ throw new (0, _chunkLPJPCGT3js.RunEventQueryInputError)(
2976
2976
  "--sum cannot be combined with --count. Use --sum for the exact count and numeric total."
2977
2977
  );
2978
2978
  }
@@ -2980,7 +2980,7 @@ function parseQuery(args, resource) {
2980
2980
  if (operation === "count") {
2981
2981
  for (const flag of ["--limit", "--cursor", "--payloads"]) {
2982
2982
  if (values[flag] !== void 0 || switches.has(flag)) {
2983
- throw new (0, _chunk4DJNXAPHjs.RunEventQueryInputError)(
2983
+ throw new (0, _chunkLPJPCGT3js.RunEventQueryInputError)(
2984
2984
  `--count cannot be combined with ${flag}. Remove ${flag} to count all matching retained records.`
2985
2985
  );
2986
2986
  }
@@ -3015,16 +3015,16 @@ function parseQuery(args, resource) {
3015
3015
  ];
3016
3016
  }
3017
3017
  }
3018
- const request = _chunk4DJNXAPHjs.normalizeRunEventOperationRequest.call(void 0, body);
3018
+ const request = _chunkLPJPCGT3js.normalizeRunEventOperationRequest.call(void 0, body);
3019
3019
  const namespace = _nullishCoalesce(values["--runtime-namespace"], () => ( (process.env.DEEPLINE_RUNTIME_ENVIRONMENT === "preview" ? process.env.DEEPLINE_RUNTIME_NAMESPACE : void 0)));
3020
3020
  const backend = values["--runtime-backend"];
3021
3021
  if (backend && backend !== "daytona" && backend !== "modal") {
3022
- throw new (0, _chunk4DJNXAPHjs.RunEventQueryInputError)(
3022
+ throw new (0, _chunkLPJPCGT3js.RunEventQueryInputError)(
3023
3023
  "--runtime-backend must be daytona or modal."
3024
3024
  );
3025
3025
  }
3026
3026
  if (backend && !namespace) {
3027
- throw new (0, _chunk4DJNXAPHjs.RunEventQueryInputError)(
3027
+ throw new (0, _chunkLPJPCGT3js.RunEventQueryInputError)(
3028
3028
  "--runtime-backend requires --runtime-namespace."
3029
3029
  );
3030
3030
  }
@@ -3071,12 +3071,12 @@ async function handleRunEventQuery(args, resource = "logs") {
3071
3071
  const failure = error instanceof Error ? error : new Error(String(error));
3072
3072
  const record5 = failure;
3073
3073
  const status = record5.statusCode;
3074
- const exitCode = error instanceof _chunk4DJNXAPHjs.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;
3074
+ const exitCode = error instanceof _chunkLPJPCGT3js.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;
3075
3075
  const diagnostic = Object.assign(failure, {
3076
3076
  exitCode,
3077
3077
  retryable: exitCode === 5
3078
3078
  });
3079
- if (_chunkQGKX2WBZjs.argsWantJson.call(void 0, args)) _chunkQGKX2WBZjs.printJsonError.call(void 0, diagnostic);
3079
+ if (_chunkZDQFBJPOjs.argsWantJson.call(void 0, args)) _chunkZDQFBJPOjs.printJsonError.call(void 0, diagnostic);
3080
3080
  else console.error(`Error: ${diagnostic.message}`);
3081
3081
  return exitCode;
3082
3082
  }
@@ -3091,7 +3091,7 @@ async function executeRunEventQuery(args, resource) {
3091
3091
  ...criteria
3092
3092
  } = request;
3093
3093
  const options = { ...criteria, ...runtime ? { runtime } : {} };
3094
- const client = new (0, _chunkKBMBNUUWjs.DeeplineClient)();
3094
+ const client = new (0, _chunkQM6Y6S4Ejs.DeeplineClient)();
3095
3095
  let result;
3096
3096
  if (request.operation === "fields") {
3097
3097
  result = await client.runs[resource].fields(runtime ? { runtime } : {});
@@ -3157,13 +3157,13 @@ async function executeRunEventQuery(args, resource) {
3157
3157
  lines.push(`Next page: ${nextPage}`);
3158
3158
  }
3159
3159
  }
3160
- _chunkQGKX2WBZjs.printCommandEnvelope.call(void 0,
3160
+ _chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
3161
3161
  {
3162
3162
  ...result,
3163
3163
  ...nextPage ? { next: { page: nextPage } } : {},
3164
3164
  render: { sections: [{ title: `run ${resource}`, lines }] }
3165
3165
  },
3166
- { json: _chunkQGKX2WBZjs.argsWantJson.call(void 0, args), text: `${lines.join("\n")}
3166
+ { json: _chunkZDQFBJPOjs.argsWantJson.call(void 0, args), text: `${lines.join("\n")}
3167
3167
  ` }
3168
3168
  );
3169
3169
  return 0;
@@ -4592,14 +4592,22 @@ function limitsLine(play) {
4592
4592
  const parts = [];
4593
4593
  const runtime = record4(play.runtimeLimit);
4594
4594
  const standard = _chunkYGCKMI5Pjs.STANDARD_PLAY_SANDBOX_RUNTIME_LIMITS;
4595
- if (runtime && Object.keys(standard).some((key) => runtime[key] !== standard[key])) {
4595
+ const runtimeSource = runtime ? text2(runtime.source) : void 0;
4596
+ if (runtime && (runtimeSource || Object.keys(standard).some((key) => runtime[key] !== standard[key]))) {
4596
4597
  parts.push(
4597
4598
  [
4598
4599
  typeof runtime.timeoutSeconds === "number" ? `timeout ${formatSeconds(runtime.timeoutSeconds)}` : void 0,
4599
4600
  typeof runtime.memoryGiB === "number" ? `${runtime.memoryGiB} GiB memory` : void 0,
4600
4601
  typeof runtime.cpu === "number" ? `${runtime.cpu} CPU` : void 0,
4601
4602
  typeof runtime.diskGiB === "number" ? `${runtime.diskGiB} GiB disk` : void 0
4602
- ].filter(Boolean).join(", ")
4603
+ ].filter(Boolean).join(", ") + (runtimeSource ? ` (${runtimeSource})` : "")
4604
+ );
4605
+ }
4606
+ const scheduled = record4(play.activeScheduledPlays);
4607
+ if (scheduled && typeof scheduled.used === "number" && typeof scheduled.limit === "number" && (scheduled.approachingLimit === true || scheduled.used >= scheduled.limit)) {
4608
+ const remaining = typeof scheduled.remaining === "number" ? scheduled.remaining : scheduled.limit - scheduled.used;
4609
+ parts.push(
4610
+ `scheduled Plays ${scheduled.used} of ${scheduled.limit} (${remaining} left)`
4603
4611
  );
4604
4612
  }
4605
4613
  for (const [key, value] of Object.entries(_nullishCoalesce(record4(play.limits), () => ( {})))) {
@@ -4654,7 +4662,9 @@ function getterLine(hint) {
4654
4662
  function headerLine(play, multiple) {
4655
4663
  const issues = playIssues(play);
4656
4664
  const errors = issues.filter((issue) => issue.severity === "error").length;
4657
- const warnings = issues.filter((issue) => issue.severity === "warning").length;
4665
+ const warnings = issues.filter(
4666
+ (issue) => issue.severity === "warning"
4667
+ ).length;
4658
4668
  const found = [
4659
4669
  ...errors ? [count2(errors, "error")] : [],
4660
4670
  ...warnings ? [count2(warnings, "warning")] : []
@@ -4685,7 +4695,9 @@ function renderPlay(play, docflow, options) {
4685
4695
  const outputFields = playCheckInputFields(play.outputSchema);
4686
4696
  if (_optionalChain([outputFields, 'optionalAccess', _149 => _149.length])) {
4687
4697
  lines.push(
4688
- ...section("Returns", [outputFields.map((field) => field.name).join(", ")])
4698
+ ...section("Returns", [
4699
+ outputFields.map((field) => field.name).join(", ")
4700
+ ])
4689
4701
  );
4690
4702
  }
4691
4703
  const triggers = triggersLine(play.triggers);
@@ -4728,7 +4740,7 @@ function renderPlay(play, docflow, options) {
4728
4740
  ])
4729
4741
  );
4730
4742
  }
4731
- if (compiled || record4(play.runtimeLimit) || record4(play.limits)) {
4743
+ if (compiled || record4(play.runtimeLimit) || record4(play.limits) || record4(play.activeScheduledPlays)) {
4732
4744
  lines.push(...section("Limits", [limitsLine(play)]));
4733
4745
  }
4734
4746
  const hashes = [
@@ -4747,17 +4759,16 @@ function renderPlayCheckOutput(output, docflows = /* @__PURE__ */ new Map(), opt
4747
4759
  const multiple = plays.length > 1;
4748
4760
  const entryFile = target.split("/").at(-1);
4749
4761
  const blocks = plays.map((play) => {
4750
- const docflow = _nullishCoalesce(docflows.get(String(_nullishCoalesce(play.exportName, () => ( "default")))), () => ( (_nullishCoalesce(record4(play.docflow), () => ( null)))));
4762
+ const docflow = _nullishCoalesce(_nullishCoalesce(docflows.get(String(_nullishCoalesce(play.exportName, () => ( "default")))), () => ( record4(play.docflow))), () => ( null));
4751
4763
  return [
4752
4764
  headerLine(
4753
4765
  output.checked === "named_contract" ? { ...play, valid: true } : play,
4754
4766
  multiple
4755
4767
  ),
4756
- ...renderPlay(
4757
- { ...play, checked: output.checked },
4758
- docflow,
4759
- { full, entryFile }
4760
- )
4768
+ ...renderPlay({ ...play, checked: output.checked }, docflow, {
4769
+ full,
4770
+ entryFile
4771
+ })
4761
4772
  ];
4762
4773
  });
4763
4774
  const fileLine = section(
@@ -4859,7 +4870,7 @@ Existing credential redactions and referenced-list previews remain as stored.
4859
4870
  ...text3.split(/\r?\n/).map((key) => key.trim()).filter(Boolean)
4860
4871
  );
4861
4872
  }
4862
- const response = await new (0, _chunkKBMBNUUWjs.DeeplineClient)().runs.getReceipts(runId, {
4873
+ const response = await new (0, _chunkQM6Y6S4Ejs.DeeplineClient)().runs.getReceipts(runId, {
4863
4874
  keys
4864
4875
  });
4865
4876
  const failed = response.receipts.filter(
@@ -4871,7 +4882,7 @@ Existing credential redactions and referenced-list previews remain as stored.
4871
4882
  JSON.stringify(response, null, 2) + "\n",
4872
4883
  { flag: "wx", mode: 384 }
4873
4884
  );
4874
- _chunkQGKX2WBZjs.printCommandEnvelope.call(void 0,
4885
+ _chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
4875
4886
  {
4876
4887
  runId,
4877
4888
  out: options.out,
@@ -4881,7 +4892,7 @@ Existing credential redactions and referenced-list previews remain as stored.
4881
4892
  { json: true }
4882
4893
  );
4883
4894
  } else {
4884
- _chunkQGKX2WBZjs.printCommandEnvelope.call(void 0, { ...response }, { json: true });
4895
+ _chunkZDQFBJPOjs.printCommandEnvelope.call(void 0, { ...response }, { json: true });
4885
4896
  }
4886
4897
  if (failed)
4887
4898
  process.exitCode = response.receipts.some(
@@ -4920,7 +4931,7 @@ includes nextCommand when another page is available.
4920
4931
  { exitCode: 2 }
4921
4932
  );
4922
4933
  }
4923
- const page = await new (0, _chunkKBMBNUUWjs.DeeplineClient)().runs.children(parentRunId, {
4934
+ const page = await new (0, _chunkQM6Y6S4Ejs.DeeplineClient)().runs.children(parentRunId, {
4924
4935
  launchKey: options.launchKey,
4925
4936
  ...options.cursor !== void 0 ? { cursor: options.cursor } : {},
4926
4937
  limit
@@ -4935,7 +4946,7 @@ includes nextCommand when another page is available.
4935
4946
  "--limit",
4936
4947
  String(limit)
4937
4948
  ].join(" ") : null;
4938
- _chunkQGKX2WBZjs.printCommandEnvelope.call(void 0,
4949
+ _chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
4939
4950
  {
4940
4951
  parentRunId,
4941
4952
  launchKey: options.launchKey,
@@ -4971,7 +4982,7 @@ async function handleRunsHistory(options) {
4971
4982
  throw new Error("--limit must be a positive integer.");
4972
4983
  }
4973
4984
  }
4974
- const page = await new (0, _chunkKBMBNUUWjs.DeeplineClient)().runs.history({
4985
+ const page = await new (0, _chunkQM6Y6S4Ejs.DeeplineClient)().runs.history({
4975
4986
  cursor: options.cursor,
4976
4987
  orgId: options.org,
4977
4988
  search: options.search,
@@ -4987,7 +4998,7 @@ async function handleRunsHistory(options) {
4987
4998
  );
4988
4999
  }
4989
5000
  if (page.hasMore) lines.push(`Next cursor: ${page.nextCursor}`);
4990
- _chunkQGKX2WBZjs.printCommandEnvelope.call(void 0,
5001
+ _chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
4991
5002
  { ...page, render: { sections: [{ title: "Run history", lines }] } },
4992
5003
  options.json ? { json: true } : {}
4993
5004
  );
@@ -5040,12 +5051,12 @@ async function runRunsRerunCommand(runId, options) {
5040
5051
  }
5041
5052
  }
5042
5053
  if (options.notice) console.error(options.notice);
5043
- const result = await new (0, _chunkKBMBNUUWjs.DeeplineClient)().runs.rerun(runId, {
5054
+ const result = await new (0, _chunkQM6Y6S4Ejs.DeeplineClient)().runs.rerun(runId, {
5044
5055
  ...idempotencyKey === void 0 ? {} : { idempotencyKey },
5045
5056
  ...inputOverrides === void 0 ? {} : { inputOverrides }
5046
5057
  });
5047
- if (_chunkQGKX2WBZjs.shouldEmitJson.call(void 0, options.json)) {
5048
- _chunkQGKX2WBZjs.printCommandEnvelope.call(void 0, result, { json: true });
5058
+ if (_chunkZDQFBJPOjs.shouldEmitJson.call(void 0, options.json)) {
5059
+ _chunkZDQFBJPOjs.printCommandEnvelope.call(void 0, result, { json: true });
5049
5060
  } else if (result.rateLimited) {
5050
5061
  console.log(`
5051
5062
  ${result.rateLimited.message}`);
@@ -5069,7 +5080,7 @@ Rerun started from ${runId}${inputOverrides ? " with input overrides" : ""}.`
5069
5080
  // src/cli/operations/runs-resume.ts
5070
5081
  async function runRunsResumeCommand(runId) {
5071
5082
  try {
5072
- const result = await new (0, _chunkKBMBNUUWjs.DeeplineClient)().runs.resume(runId);
5083
+ const result = await new (0, _chunkQM6Y6S4Ejs.DeeplineClient)().runs.resume(runId);
5073
5084
  if (result.runId !== runId || result.resumed !== true || !Number.isSafeInteger(result.epoch) || result.epoch < 1)
5074
5085
  throw new Error(
5075
5086
  "Invalid resume receipt: expected the requested run and a new positive epoch."
@@ -5911,13 +5922,13 @@ var RunDataset = class _RunDataset {
5911
5922
  const absolutePath = _path.resolve.call(void 0, outPath);
5912
5923
  _fs.writeFileSync.call(void 0,
5913
5924
  absolutePath,
5914
- `${JSON.stringify(_chunkETLEPHLTjs.orderRunExportJson.call(void 0, this.rows), null, 2)}
5925
+ `${JSON.stringify(_chunkPOLUE7D5js.orderRunExportJson.call(void 0, this.rows), null, 2)}
5915
5926
  `,
5916
5927
  "utf-8"
5917
5928
  );
5918
5929
  return absolutePath;
5919
5930
  }
5920
- return _chunkETLEPHLTjs.writeRunDatasetCsv.call(void 0, {
5931
+ return _chunkPOLUE7D5js.writeRunDatasetCsv.call(void 0, {
5921
5932
  rows: this.rows,
5922
5933
  columns: this.#info.columns,
5923
5934
  outPath
@@ -7422,7 +7433,7 @@ function renderOutcome(outcome) {
7422
7433
  function printResult2(input) {
7423
7434
  const failed = input.status === "failed" || input.status === "cancelled";
7424
7435
  if (failed) process.exitCode = 1;
7425
- _chunkQGKX2WBZjs.printCommandEnvelope.call(void 0,
7436
+ _chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
7426
7437
  {
7427
7438
  deployment: { ...input.deployment, status: input.status },
7428
7439
  plays: input.outcomes,
@@ -7447,7 +7458,7 @@ async function handlePlaysDeploy(directory, options) {
7447
7458
  const root = await _promises.realpath.call(void 0, _path.resolve.call(void 0, _nullishCoalesce(directory, () => ( ".")))).catch(() => {
7448
7459
  throw new Error(`No such directory: ${_path.resolve.call(void 0, _nullishCoalesce(directory, () => ( ".")))}`);
7449
7460
  });
7450
- const { http, config } = _chunkQGKX2WBZjs.getAuthedHttpClient.call(void 0, );
7461
+ const { http, config } = _chunkZDQFBJPOjs.getAuthedHttpClient.call(void 0, );
7451
7462
  const deliveryId = `local:${_crypto.randomUUID.call(void 0, )}`;
7452
7463
  const startDeployment = () => http.post("/api/v2/deployments", {
7453
7464
  deliveryId,
@@ -7474,7 +7485,7 @@ async function handlePlaysDeploy(directory, options) {
7474
7485
  },
7475
7486
  {
7476
7487
  bundle: bundleDeployPlayFile,
7477
- fetchImpl: _chunk5622PYAPjs.fetchWithDeploymentProtection,
7488
+ fetchImpl: _chunkPACD5DGCjs.fetchWithDeploymentProtection,
7478
7489
  // The plays are already here: "opening" the source is naming it.
7479
7490
  openSource: async () => ({
7480
7491
  open: async () => ({ repoRoot: root })
@@ -7601,7 +7612,7 @@ async function checkLocalPlayGraph(input) {
7601
7612
  // src/cli/renderers/local-play-execution.ts
7602
7613
  function renderLocalPlayExecutionPlan(plan, options = {}) {
7603
7614
  if (options.dryRun) {
7604
- _chunkQGKX2WBZjs.printCommandEnvelope.call(void 0, { dryRun: true, ...plan }, { json: options.json });
7615
+ _chunkZDQFBJPOjs.printCommandEnvelope.call(void 0, { dryRun: true, ...plan }, { json: options.json });
7605
7616
  return;
7606
7617
  }
7607
7618
  process.stderr.write(`Local Play execution plan: ${JSON.stringify(plan)}
@@ -7773,7 +7784,7 @@ function traceCliSync(phase, fields2, run) {
7773
7784
  const startedAt = Date.now();
7774
7785
  try {
7775
7786
  const result = run();
7776
- _chunkYZTS3XA7js.recordCliTrace.call(void 0, {
7787
+ _chunkW2ZWQUHTjs.recordCliTrace.call(void 0, {
7777
7788
  phase,
7778
7789
  ms: Date.now() - startedAt,
7779
7790
  ok: true,
@@ -7781,7 +7792,7 @@ function traceCliSync(phase, fields2, run) {
7781
7792
  });
7782
7793
  return result;
7783
7794
  } catch (error) {
7784
- _chunkYZTS3XA7js.recordCliTrace.call(void 0, {
7795
+ _chunkW2ZWQUHTjs.recordCliTrace.call(void 0, {
7785
7796
  phase,
7786
7797
  ms: Date.now() - startedAt,
7787
7798
  ok: false,
@@ -8594,7 +8605,7 @@ function playStatusErrorText(status) {
8594
8605
  function isRetryablePendingStartFailure(status) {
8595
8606
  if (status.status !== "failed") return false;
8596
8607
  if (status.runId && status.runId !== "pending") return false;
8597
- return _chunk4DJNXAPHjs.isTransientPlayRunReadError.call(void 0, new Error(playStatusErrorText(status)));
8608
+ return _chunkLPJPCGT3js.isTransientPlayRunReadError.call(void 0, new Error(playStatusErrorText(status)));
8598
8609
  }
8599
8610
  function isAmbiguousPlayStartOutcomeError(error) {
8600
8611
  if (error instanceof _chunkBBTKAASQjs.DeeplineError && typeof error.statusCode === "number") {
@@ -8644,13 +8655,13 @@ var PlayStartOutcomeUnknownError = (_class = class extends _chunkBBTKAASQjs.Deep
8644
8655
  }, _class);
8645
8656
  function watchSurfaceReaches(state, provenance, level) {
8646
8657
  const minimumLevel = _nullishCoalesce(state.logLevel, () => ( (state.verbose ? "debug" : "info")));
8647
- if (!_chunk4DJNXAPHjs.logLevelReaches.call(void 0, level, minimumLevel)) {
8658
+ if (!_chunkLPJPCGT3js.logLevelReaches.call(void 0, level, minimumLevel)) {
8648
8659
  return false;
8649
8660
  }
8650
- if (_chunk4DJNXAPHjs.logProvenanceReaches.call(void 0, provenance, "watch")) {
8661
+ if (_chunkLPJPCGT3js.logProvenanceReaches.call(void 0, provenance, "watch")) {
8651
8662
  return true;
8652
8663
  }
8653
- return state.verbose === true && _chunk4DJNXAPHjs.logProvenanceReaches.call(void 0, provenance, "debug");
8664
+ return state.verbose === true && _chunkLPJPCGT3js.logProvenanceReaches.call(void 0, provenance, "debug");
8654
8665
  }
8655
8666
  function getEventPayload(event) {
8656
8667
  return event.payload && typeof event.payload === "object" ? event.payload : {};
@@ -9160,7 +9171,7 @@ function resolvePlayRunUrl(input) {
9160
9171
  }
9161
9172
  function openPlayDashboard(url, open2) {
9162
9173
  if (open2 && url) {
9163
- _chunkQGKX2WBZjs.openInBrowser.call(void 0, url);
9174
+ _chunkZDQFBJPOjs.openInBrowser.call(void 0, url);
9164
9175
  }
9165
9176
  }
9166
9177
  function printPlayLogLines(input) {
@@ -9241,7 +9252,7 @@ async function waitForPlayCompletionByWatch(input) {
9241
9252
  ...input.fullJson === void 0 ? {} : { full: input.fullJson }
9242
9253
  });
9243
9254
  } catch (error) {
9244
- if (_chunk4DJNXAPHjs.isTransientPlayRunReadError.call(void 0, error) || isAdmittedRunVisibilityDelay(error)) {
9255
+ if (_chunkLPJPCGT3js.isTransientPlayRunReadError.call(void 0, error) || isAdmittedRunVisibilityDelay(error)) {
9245
9256
  return null;
9246
9257
  }
9247
9258
  throw error;
@@ -9322,9 +9333,9 @@ async function waitForPlayCompletionByWatch(input) {
9322
9333
  signal: controller.signal,
9323
9334
  deferLogs: !input.emitLogs,
9324
9335
  omitTerminalLogs: !input.emitLogs,
9325
- ..._chunkYZTS3XA7js.isCliTraceEnabled.call(void 0, ) ? {
9336
+ ..._chunkW2ZWQUHTjs.isCliTraceEnabled.call(void 0, ) ? {
9326
9337
  onPoll: (observation) => {
9327
- _chunkYZTS3XA7js.recordCliTrace.call(void 0, {
9338
+ _chunkW2ZWQUHTjs.recordCliTrace.call(void 0, {
9328
9339
  phase: "play_watch_poll",
9329
9340
  workflowId: input.workflowId,
9330
9341
  ms: observation.durationMs,
@@ -9338,7 +9349,7 @@ async function waitForPlayCompletionByWatch(input) {
9338
9349
  full: input.fullJson,
9339
9350
  billing: false,
9340
9351
  onStatus: async (status) => {
9341
- _chunkYZTS3XA7js.recordCliTrace.call(void 0, {
9352
+ _chunkW2ZWQUHTjs.recordCliTrace.call(void 0, {
9342
9353
  phase: "play_watch_terminal_status",
9343
9354
  workflowId: input.workflowId,
9344
9355
  full: input.fullJson === true
@@ -9427,7 +9438,7 @@ async function startAndWaitForPlayCompletion(input) {
9427
9438
  signal: controller.signal,
9428
9439
  cliAdmission: useCliAdmission
9429
9440
  });
9430
- _chunkYZTS3XA7js.recordCliTrace.call(void 0, {
9441
+ _chunkW2ZWQUHTjs.recordCliTrace.call(void 0, {
9431
9442
  phase: "cli.play_start_admission_attempt",
9432
9443
  ms: Date.now() - postStartedAt,
9433
9444
  ok: true,
@@ -9439,7 +9450,7 @@ async function startAndWaitForPlayCompletion(input) {
9439
9450
  });
9440
9451
  break;
9441
9452
  } catch (error) {
9442
- _chunkYZTS3XA7js.recordCliTrace.call(void 0, {
9453
+ _chunkW2ZWQUHTjs.recordCliTrace.call(void 0, {
9443
9454
  phase: "cli.play_start_admission_attempt",
9444
9455
  ms: Date.now() - postStartedAt,
9445
9456
  ok: false,
@@ -9490,7 +9501,7 @@ async function startAndWaitForPlayCompletion(input) {
9490
9501
  prepared.workflowId
9491
9502
  );
9492
9503
  }
9493
- await _chunk4HSSPT73js.checkPlayRunCompatibility.call(void 0,
9504
+ await _chunk5VVSEU67js.checkPlayRunCompatibility.call(void 0,
9494
9505
  input.client.baseUrl,
9495
9506
  input.maintenancePolicy
9496
9507
  );
@@ -9508,7 +9519,7 @@ async function startAndWaitForPlayCompletion(input) {
9508
9519
  `[play start] response was ambiguous; retrying the same caller intent (${error instanceof Error ? error.message : String(error)})`
9509
9520
  );
9510
9521
  }
9511
- _chunkYZTS3XA7js.recordCliTrace.call(void 0, {
9522
+ _chunkW2ZWQUHTjs.recordCliTrace.call(void 0, {
9512
9523
  phase: "cli.play_start_json_retry",
9513
9524
  ms: 0,
9514
9525
  ok: true,
@@ -9566,7 +9577,7 @@ async function startAndWaitForPlayCompletion(input) {
9566
9577
  }
9567
9578
  await _optionalChain([input, 'access', _348 => _348.onRunStarted, 'optionalCall', _349 => _349(workflowId)]);
9568
9579
  await _optionalChain([input, 'access', _350 => _350.onRunAdmitted, 'optionalCall', _351 => _351(workflowId)]);
9569
- const dashboardUrl = _nullishCoalesce(started.dashboardUrl, () => ( _chunkXYIECA7Mjs.buildPlayDashboardUrl.call(void 0, input.client.baseUrl, input.playName)));
9580
+ const dashboardUrl = _nullishCoalesce(started.dashboardUrl, () => ( _chunk2WFPHBR4js.buildPlayDashboardUrl.call(void 0, input.client.baseUrl, input.playName)));
9570
9581
  const rateLimited = _nullishCoalesce(started.rateLimited, () => ( null));
9571
9582
  if (!input.jsonOutput) {
9572
9583
  writeStartedPlayRun({
@@ -9588,7 +9599,7 @@ async function startAndWaitForPlayCompletion(input) {
9588
9599
  _nullishCoalesce(input.open, () => ( false))
9589
9600
  );
9590
9601
  input.progress.phase("running");
9591
- _chunkYZTS3XA7js.recordCliTrace.call(void 0, {
9602
+ _chunkW2ZWQUHTjs.recordCliTrace.call(void 0, {
9592
9603
  phase: "cli.play_start_admitted",
9593
9604
  ms: Date.now() - startedAt,
9594
9605
  ok: true,
@@ -9606,7 +9617,7 @@ async function startAndWaitForPlayCompletion(input) {
9606
9617
  startedAt,
9607
9618
  waitTimeoutMs: input.waitTimeoutMs
9608
9619
  });
9609
- const initialStatus = _chunk4DJNXAPHjs.normalizePlayStatus.call(void 0, initialTerminal);
9620
+ const initialStatus = _chunkLPJPCGT3js.normalizePlayStatus.call(void 0, initialTerminal);
9610
9621
  const status2 = await resolvePlayRunOutputStatus({
9611
9622
  client: input.client,
9612
9623
  status: initialStatus,
@@ -9614,7 +9625,7 @@ async function startAndWaitForPlayCompletion(input) {
9614
9625
  jsonOutput: input.jsonOutput,
9615
9626
  fromDurableStatus: true
9616
9627
  });
9617
- _chunkYZTS3XA7js.recordCliTrace.call(void 0, {
9628
+ _chunkW2ZWQUHTjs.recordCliTrace.call(void 0, {
9618
9629
  phase: "play_watch_terminal_status",
9619
9630
  workflowId,
9620
9631
  full: true,
@@ -9719,7 +9730,7 @@ async function startAndWaitForPlayCompletionByStream(input) {
9719
9730
  });
9720
9731
  }
9721
9732
  if (error instanceof _chunkSL6MYJYMjs.CliPlayAdmissionUnsupportedError && input.cliAdmission) {
9722
- await _chunk4HSSPT73js.checkPlayRunCompatibility.call(void 0,
9733
+ await _chunk5VVSEU67js.checkPlayRunCompatibility.call(void 0,
9723
9734
  input.client.baseUrl,
9724
9735
  input.maintenancePolicy,
9725
9736
  admissionDeadline.signal
@@ -9760,7 +9771,7 @@ async function startAndWaitForPlayCompletionByStream(input) {
9760
9771
  `[play watch] start response was ambiguous; retrying the same caller intent (${error.message})`
9761
9772
  );
9762
9773
  }
9763
- _chunkYZTS3XA7js.recordCliTrace.call(void 0, {
9774
+ _chunkW2ZWQUHTjs.recordCliTrace.call(void 0, {
9764
9775
  phase: "cli.play_start_stream_retry",
9765
9776
  ms: 0,
9766
9777
  ok: true,
@@ -9781,7 +9792,7 @@ async function startAndWaitForPlayCompletionByStream(input) {
9781
9792
  `[play watch] start failed before run id with a transient error; retrying (${playStatusErrorText(status)})`
9782
9793
  );
9783
9794
  }
9784
- _chunkYZTS3XA7js.recordCliTrace.call(void 0, {
9795
+ _chunkW2ZWQUHTjs.recordCliTrace.call(void 0, {
9785
9796
  phase: "cli.play_start_stream_retry",
9786
9797
  ms: 0,
9787
9798
  ok: true,
@@ -9811,7 +9822,7 @@ async function startAndWaitForPlayCompletionByStream(input) {
9811
9822
  }
9812
9823
  async function startAndWaitForPlayCompletionByStreamOnce(input) {
9813
9824
  const startedAt = Date.now();
9814
- const dashboardUrl = _chunkXYIECA7Mjs.buildPlayDashboardUrl.call(void 0,
9825
+ const dashboardUrl = _chunk2WFPHBR4js.buildPlayDashboardUrl.call(void 0,
9815
9826
  input.client.baseUrl,
9816
9827
  input.playName
9817
9828
  );
@@ -9838,7 +9849,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
9838
9849
  if (launchConfirmed || !runId || runId === "pending") return;
9839
9850
  launchConfirmed = true;
9840
9851
  await _optionalChain([input, 'access', _362 => _362.onRunAdmitted, 'optionalCall', _363 => _363(runId)]);
9841
- _chunkYZTS3XA7js.recordCliTrace.call(void 0, {
9852
+ _chunkW2ZWQUHTjs.recordCliTrace.call(void 0, {
9842
9853
  phase: "cli.play_start_admitted",
9843
9854
  ms: Date.now() - startedAt,
9844
9855
  ok: true,
@@ -9872,7 +9883,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
9872
9883
  full: input.fullJson
9873
9884
  });
9874
9885
  } catch (error) {
9875
- if (_chunk4DJNXAPHjs.isTransientPlayRunReadError.call(void 0, error) || isAdmittedRunVisibilityDelay(error)) {
9886
+ if (_chunkLPJPCGT3js.isTransientPlayRunReadError.call(void 0, error) || isAdmittedRunVisibilityDelay(error)) {
9876
9887
  return null;
9877
9888
  }
9878
9889
  throw error;
@@ -10043,7 +10054,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
10043
10054
  };
10044
10055
  }
10045
10056
  if (!canonicalTerminal) {
10046
- _chunkYZTS3XA7js.recordCliTrace.call(void 0, {
10057
+ _chunkW2ZWQUHTjs.recordCliTrace.call(void 0, {
10047
10058
  phase: "cli.play_start_stream_stale_terminal_ignored",
10048
10059
  ms: Date.now() - startedAt,
10049
10060
  ok: true,
@@ -10064,14 +10075,14 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
10064
10075
  fromDurableStatus
10065
10076
  }) : canonicalTerminal;
10066
10077
  if (input.fullJson === true) {
10067
- _chunkYZTS3XA7js.recordCliTrace.call(void 0, {
10078
+ _chunkW2ZWQUHTjs.recordCliTrace.call(void 0, {
10068
10079
  phase: "play_watch_terminal_status",
10069
10080
  workflowId: outputTerminal.runId || lastKnownWorkflowId || void 0,
10070
10081
  full: true,
10071
10082
  source: outputTerminal === canonicalTerminal ? fromDurableStatus ? "start_stream_durable" : "start_stream" : "durable_repair"
10072
10083
  });
10073
10084
  }
10074
- _chunkYZTS3XA7js.recordCliTrace.call(void 0, {
10085
+ _chunkW2ZWQUHTjs.recordCliTrace.call(void 0, {
10075
10086
  phase: "cli.play_start_stream_terminal",
10076
10087
  ms: Date.now() - startedAt,
10077
10088
  ok: true,
@@ -10091,7 +10102,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
10091
10102
  clearTimeout(timeout);
10092
10103
  }
10093
10104
  controller.abort();
10094
- _chunkYZTS3XA7js.recordCliTrace.call(void 0, {
10105
+ _chunkW2ZWQUHTjs.recordCliTrace.call(void 0, {
10095
10106
  phase: "cli.play_start_stream_handoff_to_tail",
10096
10107
  ms: Date.now() - startedAt,
10097
10108
  ok: true,
@@ -10122,7 +10133,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
10122
10133
  if (timedOut) {
10123
10134
  const terminal = await fetchKnownTerminalStatus();
10124
10135
  if (terminal) {
10125
- _chunkYZTS3XA7js.recordCliTrace.call(void 0, {
10136
+ _chunkW2ZWQUHTjs.recordCliTrace.call(void 0, {
10126
10137
  phase: "cli.play_start_stream_timeout_status_reconcile",
10127
10138
  ms: Date.now() - startedAt,
10128
10139
  ok: true,
@@ -10142,7 +10153,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
10142
10153
  lastPhase
10143
10154
  });
10144
10155
  }
10145
- if (lastKnownWorkflowId && (terminalWindowExpired || _chunk4DJNXAPHjs.isTransientPlayRunReadError.call(void 0, error))) {
10156
+ if (lastKnownWorkflowId && (terminalWindowExpired || _chunkLPJPCGT3js.isTransientPlayRunReadError.call(void 0, error))) {
10146
10157
  if (timeout) {
10147
10158
  clearTimeout(timeout);
10148
10159
  }
@@ -10153,7 +10164,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
10153
10164
  `
10154
10165
  );
10155
10166
  }
10156
- _chunkYZTS3XA7js.recordCliTrace.call(void 0, {
10167
+ _chunkW2ZWQUHTjs.recordCliTrace.call(void 0, {
10157
10168
  phase: "cli.play_start_stream_reconnect",
10158
10169
  ms: Date.now() - startedAt,
10159
10170
  ok: true,
@@ -10180,7 +10191,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
10180
10191
  });
10181
10192
  }
10182
10193
  if (!lastKnownWorkflowId && isAmbiguousPlayStartOutcomeError(error)) {
10183
- _chunkYZTS3XA7js.recordCliTrace.call(void 0, {
10194
+ _chunkW2ZWQUHTjs.recordCliTrace.call(void 0, {
10184
10195
  phase: "cli.play_start_stream_transient_failure",
10185
10196
  ms: Date.now() - startedAt,
10186
10197
  ok: false,
@@ -10208,7 +10219,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
10208
10219
  `[play watch] start stream ended after run ${lastKnownWorkflowId}; reconnecting to canonical run stream`
10209
10220
  );
10210
10221
  }
10211
- _chunkYZTS3XA7js.recordCliTrace.call(void 0, {
10222
+ _chunkW2ZWQUHTjs.recordCliTrace.call(void 0, {
10212
10223
  phase: "cli.play_start_stream_reconnect",
10213
10224
  ms: Date.now() - startedAt,
10214
10225
  ok: true,
@@ -10288,7 +10299,7 @@ var BULKY_RETURN_KEYS = /* @__PURE__ */ new Set([
10288
10299
  "logs"
10289
10300
  ]);
10290
10301
  function formatPlayLogLine(rawLine, state) {
10291
- const classified = _chunk4DJNXAPHjs.classifyLogLine.call(void 0, rawLine);
10302
+ const classified = _chunkLPJPCGT3js.classifyLogLine.call(void 0, rawLine);
10292
10303
  const line = classified.line;
10293
10304
  const timestampMatch = line.match(/^\[([^\]]+)\]\s*(.*)$/);
10294
10305
  const parsedTimestamp = _optionalChain([timestampMatch, 'optionalAccess', _385 => _385[1]]) ? new Date(timestampMatch[1]) : null;
@@ -10303,14 +10314,14 @@ function formatPlayLogLine(rawLine, state) {
10303
10314
  if (!state.verbose && isProviderRowWaitLogLine(line)) return null;
10304
10315
  const providerWait = formatProviderCapacityWaitLogLine(line);
10305
10316
  if (providerWait && !state.verbose) {
10306
- return _chunk4DJNXAPHjs.logLevelReaches.call(void 0, "warn", _nullishCoalesce(state.logLevel, () => ( "info"))) ? `${prefix}${providerWait}` : null;
10317
+ return _chunkLPJPCGT3js.logLevelReaches.call(void 0, "warn", _nullishCoalesce(state.logLevel, () => ( "info"))) ? `${prefix}${providerWait}` : null;
10307
10318
  }
10308
10319
  const mapProgress = formatMapProgressDiagnosticLogLine(line);
10309
10320
  if (mapProgress && !state.verbose) {
10310
- return _chunk4DJNXAPHjs.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info"))) ? `${prefix}${mapProgress}` : null;
10321
+ return _chunkLPJPCGT3js.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info"))) ? `${prefix}${mapProgress}` : null;
10311
10322
  }
10312
10323
  if (/\[worker\] picked up run\b/.test(message)) {
10313
- if (!_chunk4DJNXAPHjs.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info")))) {
10324
+ if (!_chunkLPJPCGT3js.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info")))) {
10314
10325
  return null;
10315
10326
  }
10316
10327
  if (state.emittedRunnerStarted) {
@@ -10323,7 +10334,7 @@ function formatPlayLogLine(rawLine, state) {
10323
10334
  /^Starting map over (\d+) items with (\d+) fields \(key: ([^;]+); (\d+) already satisfied; (\d+) pending\)$/
10324
10335
  );
10325
10336
  if (mapStart) {
10326
- if (!_chunk4DJNXAPHjs.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info")))) {
10337
+ if (!_chunkLPJPCGT3js.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info")))) {
10327
10338
  return null;
10328
10339
  }
10329
10340
  const [, rows, fields2, namespace, cached, pending] = mapStart;
@@ -10333,7 +10344,7 @@ function formatPlayLogLine(rawLine, state) {
10333
10344
  /^Map completed: (\d+) results \((\d+) executed, (\d+) already satisfied\)$/
10334
10345
  );
10335
10346
  if (mapDone) {
10336
- if (!_chunk4DJNXAPHjs.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info")))) {
10347
+ if (!_chunkLPJPCGT3js.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info")))) {
10337
10348
  return null;
10338
10349
  }
10339
10350
  const [, results, executed, cached] = mapDone;
@@ -11655,7 +11666,7 @@ function formatRecentRunLogLines(value) {
11655
11666
  (line) => typeof line === "string"
11656
11667
  );
11657
11668
  if (tail.length === 0) return [];
11658
- const shown = tail.map((line) => _chunk4DJNXAPHjs.classifyLogLine.call(void 0, line)).filter(
11669
+ const shown = tail.map((line) => _chunkLPJPCGT3js.classifyLogLine.call(void 0, line)).filter(
11659
11670
  (entry) => entry.level !== "debug" && !isProviderRowWaitLogLine(entry.line)
11660
11671
  ).slice(-8);
11661
11672
  const total = readNonNegativeInteger(logs.totalCount);
@@ -11960,11 +11971,11 @@ function buildPlayCompletionTextLines(status) {
11960
11971
  }
11961
11972
  function writePlayResult(status, jsonOutput, options) {
11962
11973
  const packaged = getPlayRunPackage(status);
11963
- if (status.package) _chunkETLEPHLTjs.recordPlayTermination.call(void 0, buildRunOverview(status).run);
11974
+ if (status.package) _chunkPOLUE7D5js.recordPlayTermination.call(void 0, buildRunOverview(status).run);
11964
11975
  const hits = _nullishCoalesce(_optionalChain([options, 'optionalAccess', _476 => _476.hits]), () => ( null));
11965
11976
  if (jsonOutput) {
11966
11977
  const payload2 = _optionalChain([options, 'optionalAccess', _477 => _477.fullJson]) ? status.package ? buildRunOverview(status, status) : { ...buildRunLaunch(status), diagnostics: status } : buildRunLaunch(status);
11967
- _chunkQGKX2WBZjs.printCommandEnvelope.call(void 0,
11978
+ _chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
11968
11979
  hits ? { ...payload2, hits } : payload2,
11969
11980
  { json: true, fields: _optionalChain([options, 'optionalAccess', _478 => _478.jsonFields]) }
11970
11981
  );
@@ -11980,7 +11991,7 @@ function writePlayResult(status, jsonOutput, options) {
11980
11991
  ...buildPlayCompletionTextLines(status),
11981
11992
  ...formatRunHitsLines(hits)
11982
11993
  ];
11983
- _chunkQGKX2WBZjs.printCommandEnvelope.call(void 0, displayPackage, {
11994
+ _chunkZDQFBJPOjs.printCommandEnvelope.call(void 0, displayPackage, {
11984
11995
  json: false,
11985
11996
  text: `${lines2.join("\n")}
11986
11997
  `
@@ -12030,7 +12041,7 @@ function writePlayResult(status, jsonOutput, options) {
12030
12041
  lines.push(...buildBillingRollupTextLines(status));
12031
12042
  const compact = compactPlayStatus(status);
12032
12043
  const payload = _optionalChain([options, 'optionalAccess', _480 => _480.fullJson]) ? status : compact;
12033
- _chunkQGKX2WBZjs.printCommandEnvelope.call(void 0,
12044
+ _chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
12034
12045
  {
12035
12046
  ...payload,
12036
12047
  render: {
@@ -12254,7 +12265,7 @@ async function fetchBackingDatasetRows(input) {
12254
12265
  }
12255
12266
  offset += page.rows.length;
12256
12267
  }
12257
- const withError = _chunkETLEPHLTjs.tableExportHasFailedRows.call(void 0,
12268
+ const withError = _chunkPOLUE7D5js.tableExportHasFailedRows.call(void 0,
12258
12269
  sheetRows.filter(
12259
12270
  (row) => Boolean(row) && typeof row === "object" && !Array.isArray(row)
12260
12271
  )
@@ -12270,7 +12281,7 @@ async function fetchBackingDatasetRows(input) {
12270
12281
  return [
12271
12282
  withError ? {
12272
12283
  ...exported,
12273
- [_chunkETLEPHLTjs.TABLE_EXPORT_ERROR_COLUMN]: _chunkETLEPHLTjs.tableExportErrorCell.call(void 0,
12284
+ [_chunkPOLUE7D5js.TABLE_EXPORT_ERROR_COLUMN]: _chunkPOLUE7D5js.tableExportErrorCell.call(void 0,
12274
12285
  row
12275
12286
  )
12276
12287
  } : exported
@@ -12805,7 +12816,7 @@ function renderServerResultView(value) {
12805
12816
  function writeStartedPlayRun(input) {
12806
12817
  if (input.package && isPlayRunPackageValue(input.package)) {
12807
12818
  const run = input.package.run;
12808
- _chunkETLEPHLTjs.recordPlayTermination.call(void 0, {
12819
+ _chunkPOLUE7D5js.recordPlayTermination.call(void 0, {
12809
12820
  id: run.id,
12810
12821
  status: run.status,
12811
12822
  finishedAt: run.finishedAt
@@ -12818,7 +12829,7 @@ function writeStartedPlayRun(input) {
12818
12829
  dashboardUrl: input.dashboardUrl,
12819
12830
  package: input.package
12820
12831
  };
12821
- _chunkQGKX2WBZjs.printCommandEnvelope.call(void 0, buildRunLaunch(status), {
12832
+ _chunkZDQFBJPOjs.printCommandEnvelope.call(void 0, buildRunLaunch(status), {
12822
12833
  json: true,
12823
12834
  fields: input.jsonFields
12824
12835
  });
@@ -12840,7 +12851,7 @@ function writeStartedPlayRun(input) {
12840
12851
  input.progress.writeLine(output2, process.stdout);
12841
12852
  return;
12842
12853
  }
12843
- _chunkQGKX2WBZjs.printCommandEnvelope.call(void 0, input.package, {
12854
+ _chunkZDQFBJPOjs.printCommandEnvelope.call(void 0, input.package, {
12844
12855
  json: false,
12845
12856
  text: `${output2}
12846
12857
  `
@@ -12875,7 +12886,7 @@ function writeStartedPlayRun(input) {
12875
12886
  ) ? [`Stop: deepline runs stop ${_chunkAID3OYVJjs.shellQuote.call(void 0, input.runId)}`] : []
12876
12887
  ];
12877
12888
  if (input.jsonOutput) {
12878
- _chunkQGKX2WBZjs.printCommandEnvelope.call(void 0, payload, { json: true, fields: input.jsonFields });
12889
+ _chunkZDQFBJPOjs.printCommandEnvelope.call(void 0, payload, { json: true, fields: input.jsonFields });
12879
12890
  return;
12880
12891
  }
12881
12892
  const output = lines.join("\n");
@@ -12883,7 +12894,7 @@ function writeStartedPlayRun(input) {
12883
12894
  input.progress.writeLine(output, process.stdout);
12884
12895
  return;
12885
12896
  }
12886
- _chunkQGKX2WBZjs.printCommandEnvelope.call(void 0,
12897
+ _chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
12887
12898
  {
12888
12899
  ...payload,
12889
12900
  render: { sections: [{ title: "play run", lines }] }
@@ -12893,7 +12904,7 @@ function writeStartedPlayRun(input) {
12893
12904
  );
12894
12905
  }
12895
12906
  function parsePlayCheckOptions(args) {
12896
- const selection = _chunkQGKX2WBZjs.parseJsonFields.call(void 0, args, "check");
12907
+ const selection = _chunkZDQFBJPOjs.parseJsonFields.call(void 0, args, "check");
12897
12908
  args = selection.args;
12898
12909
  const target = args[0];
12899
12910
  if (!target || target.startsWith("-")) {
@@ -12905,7 +12916,7 @@ function parsePlayCheckOptions(args) {
12905
12916
  if (arg !== "--json" && arg !== "--full")
12906
12917
  throw new Error(`Unknown plays check option: ${arg}`);
12907
12918
  }
12908
- const jsonOutput = _chunkQGKX2WBZjs.argsWantJson.call(void 0, args);
12919
+ const jsonOutput = _chunkZDQFBJPOjs.argsWantJson.call(void 0, args);
12909
12920
  return {
12910
12921
  target,
12911
12922
  jsonOutput,
@@ -12981,7 +12992,7 @@ ${PLAY_PUBLISH_USAGE}`
12981
12992
  useLatest,
12982
12993
  expectedArtifactHash,
12983
12994
  dryRun,
12984
- jsonOutput: _chunkQGKX2WBZjs.argsWantJson.call(void 0, args)
12995
+ jsonOutput: _chunkZDQFBJPOjs.argsWantJson.call(void 0, args)
12985
12996
  };
12986
12997
  }
12987
12998
  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.";
@@ -13030,7 +13041,7 @@ ${PLAY_SAVE_USAGE}`);
13030
13041
  expectedArtifactHash,
13031
13042
  watchPlay,
13032
13043
  dryRun,
13033
- jsonOutput: _chunkQGKX2WBZjs.argsWantJson.call(void 0, args)
13044
+ jsonOutput: _chunkZDQFBJPOjs.argsWantJson.call(void 0, args)
13034
13045
  };
13035
13046
  }
13036
13047
  function printScheduledPlayCapacity(capacity) {
@@ -13219,7 +13230,7 @@ function printBundledRuntimeWarning(bundle) {
13219
13230
  async function handlePlayCheck(args) {
13220
13231
  const options = parsePlayCheckOptions(args);
13221
13232
  if (!isFileTarget(options.target)) {
13222
- const client = new (0, _chunkKBMBNUUWjs.DeeplineClient)();
13233
+ const client = new (0, _chunkQM6Y6S4Ejs.DeeplineClient)();
13223
13234
  try {
13224
13235
  await assertCanonicalNamedPlayReference(client, options.target, {
13225
13236
  command: "check"
@@ -13248,7 +13259,7 @@ async function handlePlayCheck(args) {
13248
13259
  },
13249
13260
  ...options.full ? { diagnostics: { staticPipeline: _nullishCoalesce(play.staticPipeline, () => ( null)) } } : {}
13250
13261
  };
13251
- _chunkQGKX2WBZjs.printCommandEnvelope.call(void 0, result, {
13262
+ _chunkZDQFBJPOjs.printCommandEnvelope.call(void 0, result, {
13252
13263
  json: options.jsonOutput,
13253
13264
  fields: options.jsonFields,
13254
13265
  text: renderPlayCheckOutput(result) + "\n"
@@ -13258,7 +13269,7 @@ async function handlePlayCheck(args) {
13258
13269
  const resolved = _path.resolve.call(void 0, options.target);
13259
13270
  const message = error instanceof Error && error.message ? error.message : `File not found: ${resolved}`;
13260
13271
  if (options.jsonOutput) {
13261
- _chunkQGKX2WBZjs.printCommandEnvelope.call(void 0,
13272
+ _chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
13262
13273
  {
13263
13274
  kind: "play_check",
13264
13275
  checked: "named_contract",
@@ -13292,7 +13303,7 @@ async function handlePlayCheck(args) {
13292
13303
  full: options.full,
13293
13304
  publishCommand: _optionalChain([primary, 'optionalAccess', _530 => _530.result, 'access', _531 => _531.artifactHash]) ? `deepline plays publish ${_chunkAID3OYVJjs.shellQuote.call(void 0, options.target)} --expected-artifact ${primary.result.artifactHash}` : void 0
13294
13305
  });
13295
- _chunkQGKX2WBZjs.printCommandEnvelope.call(void 0, output, {
13306
+ _chunkZDQFBJPOjs.printCommandEnvelope.call(void 0, output, {
13296
13307
  json: options.jsonOutput,
13297
13308
  fields: options.jsonFields,
13298
13309
  jsonLayout: "readable",
@@ -13364,7 +13375,7 @@ async function checkOneExportedPlay(input) {
13364
13375
  }
13365
13376
  const playName = _nullishCoalesce(graph.root.playName, () => ( fallbackName));
13366
13377
  const authoringErrors = collectPlayGraphAuthoringErrors(graph);
13367
- const client = _nullishCoalesce(input.client, () => ( new (0, _chunkKBMBNUUWjs.DeeplineClient)()));
13378
+ const client = _nullishCoalesce(input.client, () => ( new (0, _chunkQM6Y6S4Ejs.DeeplineClient)()));
13368
13379
  const integrationMode = resolveEvalIntegrationMode();
13369
13380
  const checked = await checkLocalPlayGraph({
13370
13381
  client,
@@ -13426,8 +13437,8 @@ async function handleFileBackedRun(options, hooks) {
13426
13437
  let prefetchClient;
13427
13438
  let admissionCapability;
13428
13439
  let cancelAdmissionCapability;
13429
- let cliAdmission = _chunk4HSSPT73js.usesCliPlayAdmission.call(void 0, "plays run", process.argv.slice(2));
13430
- const progress = _nullishCoalesce(_chunkTYOAOSDLjs.getActiveCliProgress.call(void 0, ), () => ( _chunkTYOAOSDLjs.createCliProgress.call(void 0, !options.jsonOutput)));
13440
+ let cliAdmission = _chunk5VVSEU67js.usesCliPlayAdmission.call(void 0, "plays run", process.argv.slice(2));
13441
+ const progress = _nullishCoalesce(_chunk54EEYLTFjs.getActiveCliProgress.call(void 0, ), () => ( _chunk54EEYLTFjs.createCliProgress.call(void 0, !options.jsonOutput)));
13431
13442
  const reportError = _nullishCoalesce(_optionalChain([hooks, 'optionalAccess', _540 => _540.writeDryRunError]), () => ( ((error) => console.error(error instanceof Error ? error.message : String(error)))));
13432
13443
  const absolutePlayPath = _path.resolve.call(void 0, options.target.path);
13433
13444
  progress.phase("compiling play");
@@ -13444,11 +13455,11 @@ async function handleFileBackedRun(options, hooks) {
13444
13455
  return 1;
13445
13456
  }
13446
13457
  if (!options.dryRun && options.watch && cliAdmission && Boolean(options.runIdFile) && options.maxTotalCredits === null && !inputContainsLocalFilePath(runtimeInput)) {
13447
- const clientForPrefetch = new (0, _chunkKBMBNUUWjs.DeeplineClient)(playRunClientOptions(options));
13458
+ const clientForPrefetch = new (0, _chunkQM6Y6S4Ejs.DeeplineClient)(playRunClientOptions(options));
13448
13459
  prefetchClient = clientForPrefetch;
13449
13460
  const capabilityController = new AbortController();
13450
13461
  cancelAdmissionCapability = () => capabilityController.abort();
13451
- admissionCapability = _chunkYZTS3XA7js.traceCliSpan.call(void 0,
13462
+ admissionCapability = _chunkW2ZWQUHTjs.traceCliSpan.call(void 0,
13452
13463
  "cli.play_admission_capability_prefetch",
13453
13464
  { targetKind: "file" },
13454
13465
  () => clientForPrefetch.prefetchPlayRunAdmissionCapability({
@@ -13459,7 +13470,7 @@ async function handleFileBackedRun(options, hooks) {
13459
13470
  }
13460
13471
  let graph;
13461
13472
  try {
13462
- graph = await _chunkYZTS3XA7js.traceCliSpan.call(void 0,
13473
+ graph = await _chunkW2ZWQUHTjs.traceCliSpan.call(void 0,
13463
13474
  "cli.play_file_bundle_graph",
13464
13475
  { targetKind: "file" },
13465
13476
  () => collectBundledPlayGraph(
@@ -13472,7 +13483,7 @@ async function handleFileBackedRun(options, hooks) {
13472
13483
  assertPlayGraphAuthoring(graph);
13473
13484
  if (options.dryRun) {
13474
13485
  progress.complete();
13475
- const plan = _chunkKTZ3VU6Sjs.planLocalPlayExecution.call(void 0, graph, {
13486
+ const plan = _chunkZCDKE4UHjs.planLocalPlayExecution.call(void 0, graph, {
13476
13487
  runIdFile: options.runIdFile
13477
13488
  });
13478
13489
  if (_optionalChain([hooks, 'optionalAccess', _541 => _541.writeDryRunPlan])) hooks.writeDryRunPlan(plan);
@@ -13483,9 +13494,9 @@ async function handleFileBackedRun(options, hooks) {
13483
13494
  });
13484
13495
  return 0;
13485
13496
  }
13486
- client = _nullishCoalesce(prefetchClient, () => ( new (0, _chunkKBMBNUUWjs.DeeplineClient)(playRunClientOptions(options))));
13497
+ client = _nullishCoalesce(prefetchClient, () => ( new (0, _chunkQM6Y6S4Ejs.DeeplineClient)(playRunClientOptions(options))));
13487
13498
  if (cliAdmission && (graph.root.importedPlayDependencies.length > 0 || inputContainsLocalFilePath(runtimeInput))) {
13488
- await _chunk4HSSPT73js.checkPlayRunCompatibility.call(void 0,
13499
+ await _chunk5VVSEU67js.checkPlayRunCompatibility.call(void 0,
13489
13500
  client.baseUrl,
13490
13501
  options.maintenancePolicy
13491
13502
  );
@@ -13498,7 +13509,7 @@ async function handleFileBackedRun(options, hooks) {
13498
13509
  });
13499
13510
  const canDeferCompilerManifest = graph.root.importedPlayDependencies.length === 0 && !sourceGraphMentionsRunPlay(graph.root) && !inputContainsLocalFilePath(runtimeInput) && !mayBindBareFileName(graph.root, runtimeInput);
13500
13511
  if (canDeferCompilerManifest) {
13501
- _chunkYZTS3XA7js.recordCliTrace.call(void 0, {
13512
+ _chunkW2ZWQUHTjs.recordCliTrace.call(void 0, {
13502
13513
  phase: "cli.play_file_compile_manifests",
13503
13514
  ms: 0,
13504
13515
  ok: true,
@@ -13507,7 +13518,7 @@ async function handleFileBackedRun(options, hooks) {
13507
13518
  reason: "validated_by_run_route"
13508
13519
  });
13509
13520
  } else {
13510
- await _chunkYZTS3XA7js.traceCliSpan.call(void 0,
13521
+ await _chunkW2ZWQUHTjs.traceCliSpan.call(void 0,
13511
13522
  "cli.play_file_compile_manifests",
13512
13523
  { targetKind: "file", skipped: false },
13513
13524
  () => compileBundledPlayGraphManifests(client, graph)
@@ -13515,7 +13526,7 @@ async function handleFileBackedRun(options, hooks) {
13515
13526
  }
13516
13527
  progress.phase("compiled play");
13517
13528
  } catch (error) {
13518
- if (error instanceof _chunkETLEPHLTjs.ExecutionOutputError) throw error;
13529
+ if (error instanceof _chunkPOLUE7D5js.ExecutionOutputError) throw error;
13519
13530
  progress.fail();
13520
13531
  reportError(normalizePlayValidationError(error));
13521
13532
  return 1;
@@ -13526,13 +13537,13 @@ async function handleFileBackedRun(options, hooks) {
13526
13537
  if (bundleResult.importedPlayDependencies.length > 0) {
13527
13538
  try {
13528
13539
  renderLocalPlayExecutionPlan(
13529
- _chunkKTZ3VU6Sjs.planLocalPlayExecution.call(void 0, graph, { runIdFile: options.runIdFile })
13540
+ _chunkZCDKE4UHjs.planLocalPlayExecution.call(void 0, graph, { runIdFile: options.runIdFile })
13530
13541
  );
13531
13542
  progress.phase("pinning imported plays");
13532
- graph = await _chunkYZTS3XA7js.traceCliSpan.call(void 0,
13543
+ graph = await _chunkW2ZWQUHTjs.traceCliSpan.call(void 0,
13533
13544
  "cli.play_file_pin_imports",
13534
13545
  { targetKind: "file" },
13535
- () => _chunkKTZ3VU6Sjs.pinLocalPlayImports.call(void 0, client, graph)
13546
+ () => _chunkZCDKE4UHjs.pinLocalPlayImports.call(void 0, client, graph)
13536
13547
  );
13537
13548
  bundleResult = graph.root;
13538
13549
  } catch (error) {
@@ -13549,7 +13560,7 @@ async function handleFileBackedRun(options, hooks) {
13549
13560
  inputSchema: _optionalChain([compilerManifest, 'optionalAccess', _542 => _542.authoringContract, 'optionalAccess', _543 => _543.inputSchema]),
13550
13561
  staticPipeline: _optionalChain([compilerManifest, 'optionalAccess', _544 => _544.staticPipeline])
13551
13562
  });
13552
- const stagedFileInputs = await _chunkYZTS3XA7js.traceCliSpan.call(void 0,
13563
+ const stagedFileInputs = await _chunkW2ZWQUHTjs.traceCliSpan.call(void 0,
13553
13564
  "cli.play_stage_inputs",
13554
13565
  {
13555
13566
  targetKind: "file",
@@ -13600,7 +13611,7 @@ async function handleFileBackedRun(options, hooks) {
13600
13611
  };
13601
13612
  if (options.watch) {
13602
13613
  progress.phase("starting run");
13603
- const finalStatus = await _chunkYZTS3XA7js.traceCliSpan.call(void 0,
13614
+ const finalStatus = await _chunkW2ZWQUHTjs.traceCliSpan.call(void 0,
13604
13615
  "cli.play_start_watch",
13605
13616
  { targetKind: "file", playName },
13606
13617
  () => (options.runIdFile ? startAndWaitForPlayCompletionByStream : startAndWaitForPlayCompletion)({
@@ -13662,7 +13673,7 @@ async function handleFileBackedRun(options, hooks) {
13662
13673
  return outputStatus.status === "completed" ? 0 : 1;
13663
13674
  }
13664
13675
  progress.phase("starting run");
13665
- const started = await _chunkYZTS3XA7js.traceCliSpan.call(void 0,
13676
+ const started = await _chunkW2ZWQUHTjs.traceCliSpan.call(void 0,
13666
13677
  "cli.play_start_unwatched",
13667
13678
  { targetKind: "file", playName },
13668
13679
  () => client.startPlayRun(startRequest, { onSubmission: _optionalChain([hooks, 'optionalAccess', _551 => _551.onSubmission]) }).catch(async (error) => {
@@ -13671,7 +13682,7 @@ async function handleFileBackedRun(options, hooks) {
13671
13682
  );
13672
13683
  await _optionalChain([hooks, 'optionalAccess', _552 => _552.onRunStarted, 'optionalCall', _553 => _553(started.workflowId)]);
13673
13684
  await _optionalChain([hooks, 'optionalAccess', _554 => _554.onRunAdmitted, 'optionalCall', _555 => _555(started.workflowId)]);
13674
- const resolvedDashboardUrl = _chunkXYIECA7Mjs.buildPlayDashboardUrl.call(void 0, client.baseUrl, playName);
13685
+ const resolvedDashboardUrl = _chunk2WFPHBR4js.buildPlayDashboardUrl.call(void 0, client.baseUrl, playName);
13675
13686
  openPlayDashboard(
13676
13687
  resolvePlayRunUrl({
13677
13688
  runId: started.workflowId,
@@ -13728,9 +13739,9 @@ async function handleNamedRun(options, hooks) {
13728
13739
  if (options.target.kind !== "name") {
13729
13740
  throw new Error("Expected a named play run target.");
13730
13741
  }
13731
- const client = new (0, _chunkKBMBNUUWjs.DeeplineClient)(playRunClientOptions(options));
13732
- let cliAdmission = _chunk4HSSPT73js.usesCliPlayAdmission.call(void 0, "plays run", process.argv.slice(2));
13733
- const progress = _nullishCoalesce(_chunkTYOAOSDLjs.getActiveCliProgress.call(void 0, ), () => ( _chunkTYOAOSDLjs.createCliProgress.call(void 0, !options.jsonOutput)));
13742
+ const client = new (0, _chunkQM6Y6S4Ejs.DeeplineClient)(playRunClientOptions(options));
13743
+ let cliAdmission = _chunk5VVSEU67js.usesCliPlayAdmission.call(void 0, "plays run", process.argv.slice(2));
13744
+ const progress = _nullishCoalesce(_chunk54EEYLTFjs.getActiveCliProgress.call(void 0, ), () => ( _chunk54EEYLTFjs.createCliProgress.call(void 0, !options.jsonOutput)));
13734
13745
  const playName = options.target.name;
13735
13746
  const runtimeInput = options.input ? { ...options.input } : {};
13736
13747
  try {
@@ -13748,7 +13759,7 @@ async function handleNamedRun(options, hooks) {
13748
13759
  if (options.watch && cliAdmission && Boolean(options.runIdFile) && options.maxTotalCredits === null && !needsPlayDefinition && !inputContainsLocalFilePath(runtimeInput)) {
13749
13760
  const capabilityController = new AbortController();
13750
13761
  cancelAdmissionCapability = () => capabilityController.abort();
13751
- admissionCapability = _chunkYZTS3XA7js.traceCliSpan.call(void 0,
13762
+ admissionCapability = _chunkW2ZWQUHTjs.traceCliSpan.call(void 0,
13752
13763
  "cli.play_admission_capability_prefetch",
13753
13764
  { targetKind: "name", playName },
13754
13765
  () => client.prefetchPlayRunAdmissionCapability({
@@ -13759,14 +13770,14 @@ async function handleNamedRun(options, hooks) {
13759
13770
  }
13760
13771
  const playDetail = needsPlayDefinition ? await (async () => {
13761
13772
  progress.phase("loading play definition");
13762
- return _chunkYZTS3XA7js.traceCliSpan.call(void 0,
13773
+ return _chunkW2ZWQUHTjs.traceCliSpan.call(void 0,
13763
13774
  "cli.play_load_definition",
13764
13775
  { targetKind: "name", playName, skipped: false },
13765
13776
  () => assertCanonicalNamedPlayReference(client, playName, {
13766
13777
  command: "run"
13767
13778
  })
13768
13779
  );
13769
- })() : (_chunkYZTS3XA7js.recordCliTrace.call(void 0, {
13780
+ })() : (_chunkW2ZWQUHTjs.recordCliTrace.call(void 0, {
13770
13781
  phase: "cli.play_load_definition",
13771
13782
  ms: 0,
13772
13783
  ok: true,
@@ -13775,7 +13786,7 @@ async function handleNamedRun(options, hooks) {
13775
13786
  skipped: true
13776
13787
  }), null);
13777
13788
  progress.phase("selecting revision");
13778
- const selectedRevisionId = await _chunkYZTS3XA7js.traceCliSpan.call(void 0,
13789
+ const selectedRevisionId = await _chunkW2ZWQUHTjs.traceCliSpan.call(void 0,
13779
13790
  "cli.play_select_revision",
13780
13791
  {
13781
13792
  targetKind: "name",
@@ -13800,10 +13811,10 @@ async function handleNamedRun(options, hooks) {
13800
13811
  ..._chunkSL6MYJYMjs.fileInputBindingsFromStaticPipeline.call(void 0, playDetail.play.staticPipeline)
13801
13812
  ] : [];
13802
13813
  if (cliAdmission && fileInputBindings.length > 0) {
13803
- await _chunk4HSSPT73js.checkPlayRunCompatibility.call(void 0, client.baseUrl, options.maintenancePolicy);
13814
+ await _chunk5VVSEU67js.checkPlayRunCompatibility.call(void 0, client.baseUrl, options.maintenancePolicy);
13804
13815
  cliAdmission = false;
13805
13816
  }
13806
- const stagedFileInputs = await _chunkYZTS3XA7js.traceCliSpan.call(void 0,
13817
+ const stagedFileInputs = await _chunkW2ZWQUHTjs.traceCliSpan.call(void 0,
13807
13818
  "cli.play_stage_inputs",
13808
13819
  {
13809
13820
  targetKind: "name",
@@ -13848,7 +13859,7 @@ async function handleNamedRun(options, hooks) {
13848
13859
  });
13849
13860
  if (options.watch) {
13850
13861
  progress.phase("starting run");
13851
- const finalStatus = await _chunkYZTS3XA7js.traceCliSpan.call(void 0,
13862
+ const finalStatus = await _chunkW2ZWQUHTjs.traceCliSpan.call(void 0,
13852
13863
  "cli.play_start_watch",
13853
13864
  { targetKind: "name", playName },
13854
13865
  () => (options.runIdFile ? startAndWaitForPlayCompletionByStream : startAndWaitForPlayCompletion)({
@@ -13913,7 +13924,7 @@ async function handleNamedRun(options, hooks) {
13913
13924
  return outputStatus.status === "completed" ? 0 : 1;
13914
13925
  }
13915
13926
  progress.phase("starting run");
13916
- const started = await _chunkYZTS3XA7js.traceCliSpan.call(void 0,
13927
+ const started = await _chunkW2ZWQUHTjs.traceCliSpan.call(void 0,
13917
13928
  "cli.play_start_unwatched",
13918
13929
  { targetKind: "name", playName },
13919
13930
  () => client.startPlayRun(startRequest, { onSubmission: _optionalChain([hooks, 'optionalAccess', _564 => _564.onSubmission]) }).catch(async (error) => {
@@ -13924,7 +13935,7 @@ async function handleNamedRun(options, hooks) {
13924
13935
  );
13925
13936
  await _optionalChain([hooks, 'optionalAccess', _565 => _565.onRunStarted, 'optionalCall', _566 => _566(started.workflowId)]);
13926
13937
  await _optionalChain([hooks, 'optionalAccess', _567 => _567.onRunAdmitted, 'optionalCall', _568 => _568(started.workflowId)]);
13927
- const resolvedDashboardUrl = _chunkXYIECA7Mjs.buildPlayDashboardUrl.call(void 0, client.baseUrl, playName);
13938
+ const resolvedDashboardUrl = _chunk2WFPHBR4js.buildPlayDashboardUrl.call(void 0, client.baseUrl, playName);
13928
13939
  openPlayDashboard(
13929
13940
  resolvePlayRunUrl({
13930
13941
  runId: started.workflowId,
@@ -13973,11 +13984,11 @@ async function writePlayRunReceipt(client, status, output) {
13973
13984
  const next = { status: `deepline runs get ${status.runId}` };
13974
13985
  const playName = _nullishCoalesce(_nullishCoalesce(_optionalChain([/^play\/(.+)\/run\//, 'access', _572 => _572.exec, 'call', _573 => _573(status.runId), 'optionalAccess', _574 => _574[1]]), () => ( extractRunPlayName(status))), () => ( null));
13975
13986
  if (!terminal) {
13976
- _chunkETLEPHLTjs.writeExecutionOutput.call(void 0,
13987
+ _chunkPOLUE7D5js.writeExecutionOutput.call(void 0,
13977
13988
  {
13978
13989
  id: status.runId,
13979
13990
  status: status.status,
13980
- ...playName ? { page: _chunkXYIECA7Mjs.buildPlayRunUrl.call(void 0, client.baseUrl, playName, status.runId) } : {},
13991
+ ...playName ? { page: _chunk2WFPHBR4js.buildPlayRunUrl.call(void 0, client.baseUrl, playName, status.runId) } : {},
13981
13992
  next
13982
13993
  },
13983
13994
  output
@@ -14053,10 +14064,10 @@ async function writePlayRunReceipt(client, status, output) {
14053
14064
  };
14054
14065
  }
14055
14066
  const byRows = new Map(collections.map((c) => [c.rows, c]));
14056
- const allCollections = _chunkETLEPHLTjs.outputCollections.call(void 0, data).map(
14067
+ const allCollections = _chunkPOLUE7D5js.outputCollections.call(void 0, data).map(
14057
14068
  (collection) => _nullishCoalesce(byRows.get(collection.rows), () => ( collection))
14058
14069
  );
14059
- _chunkETLEPHLTjs.writeExecutionOutput.call(void 0,
14070
+ _chunkPOLUE7D5js.writeExecutionOutput.call(void 0,
14060
14071
  {
14061
14072
  id: status.runId,
14062
14073
  status: status.status,
@@ -14065,7 +14076,7 @@ async function writePlayRunReceipt(client, status, output) {
14065
14076
  complete: allCollections.every((c) => c.complete === true) ? true : allCollections.some((c) => c.complete === false) ? false : null,
14066
14077
  error,
14067
14078
  credits: _nullishCoalesce(_nullishCoalesce(status.billingTotalCreditsRollup, () => ( _optionalChain([status, 'access', _581 => _581.billing, 'optionalAccess', _582 => _582.totalCredits]))), () => ( null)),
14068
- ...playName ? { page: _chunkXYIECA7Mjs.buildPlayRunUrl.call(void 0, client.baseUrl, playName, status.runId) } : {},
14079
+ ...playName ? { page: _chunk2WFPHBR4js.buildPlayRunUrl.call(void 0, client.baseUrl, playName, status.runId) } : {},
14069
14080
  warnings: [
14070
14081
  ...buildRunWarnings(status, null),
14071
14082
  ...status.status === "completed" && collections.length && collections.every((collection) => collection.rows.length === 0) ? ["Run completed with 0 output rows."] : []
@@ -14077,7 +14088,7 @@ async function writePlayRunReceipt(client, status, output) {
14077
14088
  }
14078
14089
  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;
14079
14090
  async function handlePlayRun(args, hooks) {
14080
- const parsedOptions = Array.isArray(args) ? _chunkSVNAP2QIjs.parsePlayRunOptions.call(void 0, args) : args;
14091
+ const parsedOptions = Array.isArray(args) ? _chunkXYE5XPGFjs.parsePlayRunOptions.call(void 0, args) : args;
14081
14092
  const options = parsedOptions.runIdFile ? {
14082
14093
  ...parsedOptions,
14083
14094
  runIdFile: parsedOptions.dryRun ? _path.resolve.call(void 0, parsedOptions.runIdFile) : await preflightRunIdFile(parsedOptions.runIdFile)
@@ -14094,7 +14105,7 @@ async function handlePlayRun(args, hooks) {
14094
14105
  JSON.stringify({
14095
14106
  version: 1,
14096
14107
  admissionState: "submitted_unknown",
14097
- baseUrl: new (0, _chunkKBMBNUUWjs.DeeplineClient)().baseUrl,
14108
+ baseUrl: new (0, _chunkQM6Y6S4Ejs.DeeplineClient)().baseUrl,
14098
14109
  ...intent
14099
14110
  })
14100
14111
  );
@@ -14347,7 +14358,7 @@ function renderRunOverviewText(overview, extras = {}) {
14347
14358
  );
14348
14359
  return `${lines.join("\n")}
14349
14360
 
14350
- ${_chunkQGKX2WBZjs.renderCommandEnvelopeText.call(void 0, { render: { sections, actions: actions2 } })}`;
14361
+ ${_chunkZDQFBJPOjs.renderCommandEnvelopeText.call(void 0, { render: { sections, actions: actions2 } })}`;
14351
14362
  }
14352
14363
  var RUN_READ_TIMING_PROGRESS_INTERVAL_MS = 15e3;
14353
14364
  async function withRunReadTiming(command, stage, enabled, action) {
@@ -14371,7 +14382,7 @@ async function withRunReadTiming(command, stage, enabled, action) {
14371
14382
  }
14372
14383
  }
14373
14384
  async function handleRunGet(args) {
14374
- const selection = _chunkQGKX2WBZjs.parseJsonFields.call(void 0,
14385
+ const selection = _chunkZDQFBJPOjs.parseJsonFields.call(void 0,
14375
14386
  args,
14376
14387
  args.includes("--config") ? "config" : "get"
14377
14388
  );
@@ -14384,7 +14395,7 @@ async function handleRunGet(args) {
14384
14395
  console.error(error instanceof Error ? error.message : usage2);
14385
14396
  return 1;
14386
14397
  }
14387
- const client = new (0, _chunkKBMBNUUWjs.DeeplineClient)();
14398
+ const client = new (0, _chunkQM6Y6S4Ejs.DeeplineClient)();
14388
14399
  const timing = args.includes("--timing");
14389
14400
  const web = args.includes("--web");
14390
14401
  if (web || args.includes("--web-url")) {
@@ -14399,11 +14410,11 @@ async function handleRunGet(args) {
14399
14410
  console.error(`Run ${runId} does not name its play; no run page URL.`);
14400
14411
  return 1;
14401
14412
  }
14402
- const dashboardUrl2 = _chunkXYIECA7Mjs.buildPlayDashboardUrl.call(void 0, client.baseUrl, playName2);
14403
- const runUrl2 = _chunkXYIECA7Mjs.buildPlayRunUrl.call(void 0, client.baseUrl, playName2, runId);
14413
+ const dashboardUrl2 = _chunk2WFPHBR4js.buildPlayDashboardUrl.call(void 0, client.baseUrl, playName2);
14414
+ const runUrl2 = _chunk2WFPHBR4js.buildPlayRunUrl.call(void 0, client.baseUrl, playName2, runId);
14404
14415
  if (web) {
14405
- const opened = _chunkQGKX2WBZjs.openInBrowser.call(void 0, runUrl2);
14406
- _chunkQGKX2WBZjs.printCommandEnvelope.call(void 0,
14416
+ const opened = _chunkZDQFBJPOjs.openInBrowser.call(void 0, runUrl2);
14417
+ _chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
14407
14418
  { dashboardUrl: dashboardUrl2, runUrl: runUrl2, opened: opened === "opened" },
14408
14419
  {
14409
14420
  json: args.includes("--json"),
@@ -14414,7 +14425,7 @@ async function handleRunGet(args) {
14414
14425
  );
14415
14426
  return 0;
14416
14427
  }
14417
- _chunkQGKX2WBZjs.printCommandEnvelope.call(void 0,
14428
+ _chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
14418
14429
  { dashboardUrl: dashboardUrl2, runUrl: runUrl2 },
14419
14430
  { json: args.includes("--json"), text: `${runUrl2}
14420
14431
  ` }
@@ -14439,7 +14450,7 @@ async function handleRunGet(args) {
14439
14450
  "This server does not support recorded configuration reads."
14440
14451
  );
14441
14452
  }
14442
- _chunkQGKX2WBZjs.printCommandEnvelope.call(void 0,
14453
+ _chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
14443
14454
  { runId, contract: _nullishCoalesce(status2.contract, () => ( null)) },
14444
14455
  { json: true, fields: selection.fields }
14445
14456
  );
@@ -14452,7 +14463,7 @@ async function handleRunGet(args) {
14452
14463
  timing,
14453
14464
  () => client.getRunInput(runId)
14454
14465
  );
14455
- _chunkQGKX2WBZjs.printCommandEnvelope.call(void 0, input, { json: true });
14466
+ _chunkZDQFBJPOjs.printCommandEnvelope.call(void 0, input, { json: true });
14456
14467
  return 0;
14457
14468
  }
14458
14469
  const full = args.includes("--full");
@@ -14467,7 +14478,7 @@ async function handleRunGet(args) {
14467
14478
  failedLogs: args.includes("--log-failed")
14468
14479
  })
14469
14480
  );
14470
- if (status.package) _chunkETLEPHLTjs.recordPlayTermination.call(void 0, buildRunOverview(status).run);
14481
+ if (status.package) _chunkPOLUE7D5js.recordPlayTermination.call(void 0, buildRunOverview(status).run);
14471
14482
  if (!status.package) {
14472
14483
  const legacyStatus = full ? await withRunReadTiming(
14473
14484
  "runs get",
@@ -14479,10 +14490,10 @@ async function handleRunGet(args) {
14479
14490
  })
14480
14491
  ) : status;
14481
14492
  const legacyPlayName = resolveRunPlayName(legacyStatus, runId);
14482
- const legacyDashboardUrl = legacyPlayName ? _chunkXYIECA7Mjs.buildPlayDashboardUrl.call(void 0, client.baseUrl, legacyPlayName) : null;
14483
- const legacyRunUrl = legacyPlayName ? _chunkXYIECA7Mjs.buildPlayRunUrl.call(void 0, client.baseUrl, legacyPlayName, runId) : null;
14484
- if (_chunkQGKX2WBZjs.argsWantJson.call(void 0, args)) {
14485
- _chunkQGKX2WBZjs.printCommandEnvelope.call(void 0,
14493
+ const legacyDashboardUrl = legacyPlayName ? _chunk2WFPHBR4js.buildPlayDashboardUrl.call(void 0, client.baseUrl, legacyPlayName) : null;
14494
+ const legacyRunUrl = legacyPlayName ? _chunk2WFPHBR4js.buildPlayRunUrl.call(void 0, client.baseUrl, legacyPlayName, runId) : null;
14495
+ if (_chunkZDQFBJPOjs.argsWantJson.call(void 0, args)) {
14496
+ _chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
14486
14497
  {
14487
14498
  ...full ? legacyStatus : compactPlayStatus(legacyStatus),
14488
14499
  ...legacyDashboardUrl ? { dashboardUrl: legacyDashboardUrl } : {},
@@ -14493,7 +14504,7 @@ async function handleRunGet(args) {
14493
14504
  } else {
14494
14505
  writePlayResult(legacyStatus, false, { fullJson: full });
14495
14506
  if (legacyRunUrl)
14496
- _chunkQGKX2WBZjs.printCommandEnvelope.call(void 0,
14507
+ _chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
14497
14508
  { dashboardUrl: legacyDashboardUrl, runUrl: legacyRunUrl },
14498
14509
  { json: false, text: `run page: ${legacyRunUrl}
14499
14510
  ` }
@@ -14523,11 +14534,11 @@ async function handleRunGet(args) {
14523
14534
  )
14524
14535
  ]);
14525
14536
  const hitLines = formatRunHitsLines(hits);
14526
- const json = _chunkQGKX2WBZjs.argsWantJson.call(void 0, args);
14537
+ const json = _chunkZDQFBJPOjs.argsWantJson.call(void 0, args);
14527
14538
  const playName = resolveRunPlayName(status, runId);
14528
- const dashboardUrl = playName ? _chunkXYIECA7Mjs.buildPlayDashboardUrl.call(void 0, client.baseUrl, playName) : void 0;
14529
- const runUrl = playName ? _chunkXYIECA7Mjs.buildPlayRunUrl.call(void 0, client.baseUrl, playName, runId) : void 0;
14530
- _chunkQGKX2WBZjs.printCommandEnvelope.call(void 0,
14539
+ const dashboardUrl = playName ? _chunk2WFPHBR4js.buildPlayDashboardUrl.call(void 0, client.baseUrl, playName) : void 0;
14540
+ const runUrl = playName ? _chunk2WFPHBR4js.buildPlayRunUrl.call(void 0, client.baseUrl, playName, runId) : void 0;
14541
+ _chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
14531
14542
  {
14532
14543
  ...overview,
14533
14544
  ...dashboardUrl ? { dashboardUrl } : {},
@@ -14632,9 +14643,9 @@ async function handleRunLifecycleStatus(args) {
14632
14643
  console.error(error instanceof Error ? error.message : usage2);
14633
14644
  return 1;
14634
14645
  }
14635
- const status = await new (0, _chunkKBMBNUUWjs.DeeplineClient)().runs.status(runId);
14636
- if (_chunkQGKX2WBZjs.argsWantJson.call(void 0, args)) {
14637
- _chunkQGKX2WBZjs.printCommandEnvelope.call(void 0, status, { json: true });
14646
+ const status = await new (0, _chunkQM6Y6S4Ejs.DeeplineClient)().runs.status(runId);
14647
+ if (_chunkZDQFBJPOjs.argsWantJson.call(void 0, args)) {
14648
+ _chunkZDQFBJPOjs.printCommandEnvelope.call(void 0, status, { json: true });
14638
14649
  return 0;
14639
14650
  }
14640
14651
  if (!status.available) {
@@ -14700,7 +14711,7 @@ async function handleRunsRerun(args) {
14700
14711
  console.error(error instanceof Error ? error.message : usage2);
14701
14712
  return 1;
14702
14713
  }
14703
- const options = { json: _chunkQGKX2WBZjs.argsWantJson.call(void 0, args) };
14714
+ const options = { json: _chunkZDQFBJPOjs.argsWantJson.call(void 0, args) };
14704
14715
  for (let index = 0; index < args.length; index += 1) {
14705
14716
  if (args[index] === "--idempotency-key") {
14706
14717
  options.idempotencyKey = _nullishCoalesce(args[++index], () => ( ""));
@@ -14768,8 +14779,8 @@ ${usage2}
14768
14779
  Discover Plays: ${next.discover}
14769
14780
  Active runs: ${next.running}`
14770
14781
  );
14771
- if (_chunkQGKX2WBZjs.argsWantJson.call(void 0, args)) {
14772
- _chunkQGKX2WBZjs.printCommandEnvelope.call(void 0,
14782
+ if (_chunkZDQFBJPOjs.argsWantJson.call(void 0, args)) {
14783
+ _chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
14773
14784
  { ok: false, exitCode: 1, code: "RUN_FILTER_REQUIRED", message, next },
14774
14785
  { json: true }
14775
14786
  );
@@ -14798,7 +14809,7 @@ Active runs: ${next.running}`
14798
14809
  console.error("--offset requires --play.");
14799
14810
  return 1;
14800
14811
  }
14801
- const client = new (0, _chunkKBMBNUUWjs.DeeplineClient)();
14812
+ const client = new (0, _chunkQM6Y6S4Ejs.DeeplineClient)();
14802
14813
  const page = await withRunReadTiming(
14803
14814
  "runs list",
14804
14815
  "run inventory",
@@ -14879,14 +14890,14 @@ Active runs: ${next.running}`
14879
14890
  return lines2.join("\n");
14880
14891
  });
14881
14892
  const nextOffset = (_nullishCoalesce(_nullishCoalesce(page.offset, () => ( offset)), () => ( 0))) + runs.length;
14882
- 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}${_chunkQGKX2WBZjs.argsWantJson.call(void 0, args) ? " --json" : ""}` : null;
14893
+ 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}${_chunkZDQFBJPOjs.argsWantJson.call(void 0, args) ? " --json" : ""}` : null;
14883
14894
  if (page.hasMore) {
14884
14895
  lines.push("List truncated \u2014 more runs match this filter.");
14885
14896
  lines.push(
14886
14897
  nextPage ? `Next page: ${nextPage}` : "Narrow with --play <play-name> to page through runs."
14887
14898
  );
14888
14899
  }
14889
- _chunkQGKX2WBZjs.printCommandEnvelope.call(void 0,
14900
+ _chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
14890
14901
  {
14891
14902
  runs,
14892
14903
  ...wantsSteps ? {
@@ -14904,7 +14915,7 @@ Active runs: ${next.running}`
14904
14915
  },
14905
14916
  render: { sections: [{ title: "runs", lines }] }
14906
14917
  },
14907
- { json: _chunkQGKX2WBZjs.argsWantJson.call(void 0, args) }
14918
+ { json: _chunkZDQFBJPOjs.argsWantJson.call(void 0, args) }
14908
14919
  );
14909
14920
  return 0;
14910
14921
  }
@@ -14934,7 +14945,7 @@ async function handleRunTail(args) {
14934
14945
  console.error("--log-level requires one of: debug, info, warn, error.");
14935
14946
  return 1;
14936
14947
  }
14937
- const parsed = _chunk4DJNXAPHjs.parseLogLevel.call(void 0, value);
14948
+ const parsed = _chunkLPJPCGT3js.parseLogLevel.call(void 0, value);
14938
14949
  if (!parsed) {
14939
14950
  console.error(
14940
14951
  `Unsupported --log-level ${JSON.stringify(value)}. Use debug, info, warn, or error.`
@@ -14972,9 +14983,9 @@ async function handleRunTail(args) {
14972
14983
  );
14973
14984
  return 1;
14974
14985
  }
14975
- const client = new (0, _chunkKBMBNUUWjs.DeeplineClient)();
14986
+ const client = new (0, _chunkQM6Y6S4Ejs.DeeplineClient)();
14976
14987
  const jsonLines = args.includes("--jsonl");
14977
- const jsonOutput = !jsonLines && _chunkQGKX2WBZjs.argsWantJson.call(void 0, args);
14988
+ const jsonOutput = !jsonLines && _chunkZDQFBJPOjs.argsWantJson.call(void 0, args);
14978
14989
  const compact = args.includes("--compact");
14979
14990
  const showLiveLogs = debug || hasExplicitLogLevel || !jsonOutput && !compact;
14980
14991
  const compactState = {
@@ -15055,7 +15066,7 @@ async function handleRunLogs(args) {
15055
15066
  ]);
15056
15067
  const cursorIndex = args.indexOf("--cursor");
15057
15068
  const cursorValue = cursorIndex >= 0 ? args[cursorIndex + 1] : void 0;
15058
- const continuesEventSearch = cursorIndex >= 0 && !(cursorValue && _chunk4DJNXAPHjs.isRunLogsCursor.call(void 0, cursorValue));
15069
+ const continuesEventSearch = cursorIndex >= 0 && !(cursorValue && _chunkLPJPCGT3js.isRunLogsCursor.call(void 0, cursorValue));
15059
15070
  if (!args[0] || args[0].startsWith("--") || continuesEventSearch || args.some((arg) => searchFlags.has(arg))) {
15060
15071
  return handleRunEventSearch(args);
15061
15072
  }
@@ -15089,7 +15100,7 @@ async function handleRunLogs(args) {
15089
15100
  console.error("--log-level requires one of: debug, info, warn, error.");
15090
15101
  return 1;
15091
15102
  }
15092
- const parsed = _chunk4DJNXAPHjs.parseLogLevel.call(void 0, value);
15103
+ const parsed = _chunkLPJPCGT3js.parseLogLevel.call(void 0, value);
15093
15104
  if (!parsed) {
15094
15105
  console.error(
15095
15106
  `Unsupported --log-level ${JSON.stringify(value)}. Use debug, info, warn, or error.`
@@ -15136,12 +15147,12 @@ async function handleRunLogs(args) {
15136
15147
  );
15137
15148
  return 1;
15138
15149
  }
15139
- const client = new (0, _chunkKBMBNUUWjs.DeeplineClient)();
15150
+ const client = new (0, _chunkQM6Y6S4Ejs.DeeplineClient)();
15140
15151
  if (outPath) {
15141
15152
  const result2 = await client.runs.logs(runId, { all: true });
15142
- const logs = result2.entries.filter((line) => _chunk4DJNXAPHjs.logLevelReaches.call(void 0, _chunk4DJNXAPHjs.classifyLogLine.call(void 0, line).level, logLevel)).map((line) => _chunk4DJNXAPHjs.classifyLogLine.call(void 0, line).line);
15153
+ const logs = result2.entries.filter((line) => _chunkLPJPCGT3js.logLevelReaches.call(void 0, _chunkLPJPCGT3js.classifyLogLine.call(void 0, line).level, logLevel)).map((line) => _chunkLPJPCGT3js.classifyLogLine.call(void 0, line).line);
15143
15154
  _fs.writeFileSync.call(void 0, outPath, `${logs.join("\n")}${logs.length > 0 ? "\n" : ""}`);
15144
- _chunkQGKX2WBZjs.printCommandEnvelope.call(void 0,
15155
+ _chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
15145
15156
  {
15146
15157
  runId: result2.runId,
15147
15158
  log_path: outPath,
@@ -15164,7 +15175,7 @@ async function handleRunLogs(args) {
15164
15175
  ]
15165
15176
  }
15166
15177
  },
15167
- { json: _chunkQGKX2WBZjs.argsWantJson.call(void 0, args) }
15178
+ { json: _chunkZDQFBJPOjs.argsWantJson.call(void 0, args) }
15168
15179
  );
15169
15180
  return 0;
15170
15181
  }
@@ -15195,7 +15206,7 @@ async function handleRunLogs(args) {
15195
15206
  }
15196
15207
  };
15197
15208
  const text3 = buildRunLogsText(filteredResult);
15198
- _chunkQGKX2WBZjs.printCommandEnvelope.call(void 0,
15209
+ _chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
15199
15210
  {
15200
15211
  runId: result.runId,
15201
15212
  totalCount: result.totalCount,
@@ -15219,7 +15230,7 @@ async function handleRunLogs(args) {
15219
15230
  render: { sections: [{ title: "run logs", lines: entries }] }
15220
15231
  },
15221
15232
  {
15222
- json: _chunkQGKX2WBZjs.argsWantJson.call(void 0, args),
15233
+ json: _chunkZDQFBJPOjs.argsWantJson.call(void 0, args),
15223
15234
  text: text3
15224
15235
  }
15225
15236
  );
@@ -15243,7 +15254,7 @@ function selectRunLogTailPage(result, logLevel, limit) {
15243
15254
  );
15244
15255
  }
15245
15256
  const matching = result.entries.map((line, index) => ({ line, seq: first + index })).filter(
15246
- (entry) => _chunk4DJNXAPHjs.logLevelReaches.call(void 0, _chunk4DJNXAPHjs.classifyLogLine.call(void 0, entry.line).level, logLevel)
15257
+ (entry) => _chunkLPJPCGT3js.logLevelReaches.call(void 0, _chunkLPJPCGT3js.classifyLogLine.call(void 0, entry.line).level, logLevel)
15247
15258
  );
15248
15259
  const selected = matching.slice(-limit);
15249
15260
  const olderMatchesExist = matching.length > selected.length;
@@ -15253,7 +15264,7 @@ function selectRunLogTailPage(result, logLevel, limit) {
15253
15264
  lastSequence: _nullishCoalesce(_optionalChain([selected, 'access', _607 => _607.at, 'call', _608 => _608(-1), 'optionalAccess', _609 => _609.seq]), () => ( null)),
15254
15265
  truncated: result.truncated || olderMatchesExist,
15255
15266
  hasMore: olderMatchesExist,
15256
- nextCursor: olderMatchesExist ? _chunk4DJNXAPHjs.encodeRunLogsCursor.call(void 0, selected[0].seq) : null
15267
+ nextCursor: olderMatchesExist ? _chunkLPJPCGT3js.encodeRunLogsCursor.call(void 0, selected[0].seq) : null
15257
15268
  };
15258
15269
  }
15259
15270
  async function handleRunEventSearch(args) {
@@ -15320,7 +15331,7 @@ ${usage2}`);
15320
15331
  namespace,
15321
15332
  ...backend ? { backend } : {}
15322
15333
  } : void 0;
15323
- const client = new (0, _chunkKBMBNUUWjs.DeeplineClient)();
15334
+ const client = new (0, _chunkQM6Y6S4Ejs.DeeplineClient)();
15324
15335
  const result = await client.runs.searchEvents({
15325
15336
  ...runId ? { runId } : {},
15326
15337
  ...values["--since"] ? { since: values["--since"] } : {},
@@ -15392,7 +15403,7 @@ ${renderedDetails}` : ""}`;
15392
15403
  "--limit",
15393
15404
  String(limit)
15394
15405
  ].join(" ") : null;
15395
- _chunkQGKX2WBZjs.printCommandEnvelope.call(void 0,
15406
+ _chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
15396
15407
  {
15397
15408
  events,
15398
15409
  nextCursor: result.nextCursor,
@@ -15403,14 +15414,14 @@ ${renderedDetails}` : ""}`;
15403
15414
  render: { sections: [{ title: "runtime events", lines }] }
15404
15415
  },
15405
15416
  {
15406
- json: _chunkQGKX2WBZjs.argsWantJson.call(void 0, args),
15417
+ json: _chunkZDQFBJPOjs.argsWantJson.call(void 0, args),
15407
15418
  text: `${lines.join("\n")}${lines.length ? "\n" : ""}`
15408
15419
  }
15409
15420
  );
15410
15421
  return 0;
15411
15422
  }
15412
15423
  function buildRunLogsText(result) {
15413
- const lines = result.entries.map((line) => _chunk4DJNXAPHjs.classifyLogLine.call(void 0, line).line);
15424
+ const lines = result.entries.map((line) => _chunkLPJPCGT3js.classifyLogLine.call(void 0, line).line);
15414
15425
  if (result.warning) {
15415
15426
  if (lines.length > 0) lines.push("");
15416
15427
  lines.push(`warning: ${result.warning}`);
@@ -15444,7 +15455,7 @@ async function handleRunStop(args) {
15444
15455
  reason = args[++index];
15445
15456
  }
15446
15457
  }
15447
- const client = new (0, _chunkKBMBNUUWjs.DeeplineClient)();
15458
+ const client = new (0, _chunkQM6Y6S4Ejs.DeeplineClient)();
15448
15459
  const result = await client.runs.stop(runId, { reason });
15449
15460
  const communicationNotes = [
15450
15461
  ...result.communicationCancelledCount ? [
@@ -15468,7 +15479,7 @@ async function handleRunStop(args) {
15468
15479
  ...result.hitlCancelledCount > 0 ? [`cancelled HITL waits: ${result.hitlCancelledCount}`] : [],
15469
15480
  `inspect: deepline runs get ${runId} --full`
15470
15481
  ];
15471
- _chunkQGKX2WBZjs.printCommandEnvelope.call(void 0,
15482
+ _chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
15472
15483
  {
15473
15484
  ...cancelling,
15474
15485
  state,
@@ -15483,7 +15494,7 @@ async function handleRunStop(args) {
15483
15494
  ]
15484
15495
  }
15485
15496
  },
15486
- { json: _chunkQGKX2WBZjs.argsWantJson.call(void 0, args) }
15497
+ { json: _chunkZDQFBJPOjs.argsWantJson.call(void 0, args) }
15487
15498
  );
15488
15499
  return 0;
15489
15500
  }
@@ -15501,7 +15512,7 @@ async function handleRunStop(args) {
15501
15512
  ];
15502
15513
  process.stderr.write(`${lines2.join("\n")}
15503
15514
  `);
15504
- _chunkQGKX2WBZjs.printCommandEnvelope.call(void 0,
15515
+ _chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
15505
15516
  {
15506
15517
  ...result,
15507
15518
  render: {
@@ -15516,7 +15527,7 @@ async function handleRunStop(args) {
15516
15527
  ]
15517
15528
  }
15518
15529
  },
15519
- { json: _chunkQGKX2WBZjs.argsWantJson.call(void 0, args) }
15530
+ { json: _chunkZDQFBJPOjs.argsWantJson.call(void 0, args) }
15520
15531
  );
15521
15532
  return 1;
15522
15533
  }
@@ -15528,12 +15539,12 @@ async function handleRunStop(args) {
15528
15539
  `warning: HITL cancellation or Slack card refresh is still pending; retry 'deepline runs stop ${runId}'`
15529
15540
  ] : []
15530
15541
  ];
15531
- _chunkQGKX2WBZjs.printCommandEnvelope.call(void 0,
15542
+ _chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
15532
15543
  {
15533
15544
  ...result,
15534
15545
  render: { sections: [{ title: "run stop", lines }] }
15535
15546
  },
15536
- { json: _chunkQGKX2WBZjs.argsWantJson.call(void 0, args) }
15547
+ { json: _chunkZDQFBJPOjs.argsWantJson.call(void 0, args) }
15537
15548
  );
15538
15549
  return 0;
15539
15550
  }
@@ -15583,18 +15594,18 @@ async function handleRunStopAll(args) {
15583
15594
  reason = args[++index];
15584
15595
  }
15585
15596
  }
15586
- const client = new (0, _chunkKBMBNUUWjs.DeeplineClient)();
15597
+ const client = new (0, _chunkQM6Y6S4Ejs.DeeplineClient)();
15587
15598
  if (dryRun) {
15588
15599
  const result2 = await client.runs.stopAll({ dryRun: true, reason });
15589
15600
  const lines2 = buildStopAllDryRunTextLines(result2);
15590
- _chunkQGKX2WBZjs.printCommandEnvelope.call(void 0,
15601
+ _chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
15591
15602
  {
15592
15603
  ...result2,
15593
15604
  render: {
15594
15605
  sections: [{ title: "workspace stop-all (dry run)", lines: lines2 }]
15595
15606
  }
15596
15607
  },
15597
- { json: _chunkQGKX2WBZjs.argsWantJson.call(void 0, args), text: `${lines2.join("\n")}
15608
+ { json: _chunkZDQFBJPOjs.argsWantJson.call(void 0, args), text: `${lines2.join("\n")}
15598
15609
  ` }
15599
15610
  );
15600
15611
  return 0;
@@ -15607,17 +15618,17 @@ async function handleRunStopAll(args) {
15607
15618
  ...result.failed > 0 ? [`failed stops: ${result.failed}`] : [],
15608
15619
  ...result.skipped > 0 ? [`skipped: ${result.skipped}`] : []
15609
15620
  ];
15610
- _chunkQGKX2WBZjs.printCommandEnvelope.call(void 0,
15621
+ _chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
15611
15622
  {
15612
15623
  ...result,
15613
15624
  render: { sections: [{ title: "workspace stop-all", lines }] }
15614
15625
  },
15615
- { json: _chunkQGKX2WBZjs.argsWantJson.call(void 0, args) }
15626
+ { json: _chunkZDQFBJPOjs.argsWantJson.call(void 0, args) }
15616
15627
  );
15617
15628
  return result.failed > 0 || result.partial ? 1 : 0;
15618
15629
  }
15619
15630
  async function handleRunExport(args) {
15620
- const selection = _chunkQGKX2WBZjs.parseJsonFields.call(void 0, args, "export");
15631
+ const selection = _chunkZDQFBJPOjs.parseJsonFields.call(void 0, args, "export");
15621
15632
  args = selection.args;
15622
15633
  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]";
15623
15634
  let runId;
@@ -15688,17 +15699,17 @@ async function handleRunExport(args) {
15688
15699
  "INVALID_ARGUMENT"
15689
15700
  );
15690
15701
  }
15691
- const client = new (0, _chunkKBMBNUUWjs.DeeplineClient)();
15702
+ const client = new (0, _chunkQM6Y6S4Ejs.DeeplineClient)();
15692
15703
  let status = await client.getPlayStatus(runId, { full: true });
15693
15704
  assertRunExportStatusIdentity(status, runId);
15694
15705
  if (wait && !TERMINAL_PLAY_STATUSES.has(status.status)) {
15695
- const progress = _chunkTYOAOSDLjs.createCliProgress.call(void 0, !_chunkQGKX2WBZjs.argsWantJson.call(void 0, args));
15706
+ const progress = _chunk54EEYLTFjs.createCliProgress.call(void 0, !_chunkZDQFBJPOjs.argsWantJson.call(void 0, args));
15696
15707
  try {
15697
15708
  await waitForPlayCompletionByWatch({
15698
15709
  client,
15699
15710
  playName: _nullishCoalesce(extractRunPlayName(status), () => ( runId)),
15700
15711
  workflowId: runId,
15701
- jsonOutput: _chunkQGKX2WBZjs.argsWantJson.call(void 0, args),
15712
+ jsonOutput: _chunkZDQFBJPOjs.argsWantJson.call(void 0, args),
15702
15713
  emitLogs: false,
15703
15714
  waitTimeoutMs,
15704
15715
  startedAt: Date.now(),
@@ -15766,7 +15777,7 @@ async function handleRunExport(args) {
15766
15777
  rowCount: _nullishCoalesce(_optionalChain([exportResult, 'optionalAccess', _623 => _623.rowsInfo, 'access', _624 => _624.totalRows]), () => ( null)),
15767
15778
  ...exportedRowOutcomes ? { rowOutcomes: exportedRowOutcomes } : {},
15768
15779
  ...rowFailures ? { rowFailures } : {},
15769
- columns: _chunkETLEPHLTjs.underscoreKeysLast.call(void 0, _nullishCoalesce(_optionalChain([exportResult, 'optionalAccess', _625 => _625.rowsInfo, 'access', _626 => _626.columns]), () => ( []))),
15780
+ columns: _chunkPOLUE7D5js.underscoreKeysLast.call(void 0, _nullishCoalesce(_optionalChain([exportResult, 'optionalAccess', _625 => _625.rowsInfo, 'access', _626 => _626.columns]), () => ( []))),
15770
15781
  ...currentTableNotice ? { notice: currentTableNotice } : {},
15771
15782
  ...metadataOutPath ? { metadata_path: metadataOutPath } : {},
15772
15783
  ...!TERMINAL_PLAY_STATUSES.has(status.status) ? { completionCommand: `${exportCommand} --wait` } : {}
@@ -15800,8 +15811,8 @@ async function handleRunExport(args) {
15800
15811
  "utf-8"
15801
15812
  );
15802
15813
  }
15803
- _chunkQGKX2WBZjs.printCommandEnvelope.call(void 0, payload, {
15804
- json: _chunkQGKX2WBZjs.argsWantJson.call(void 0, args),
15814
+ _chunkZDQFBJPOjs.printCommandEnvelope.call(void 0, payload, {
15815
+ json: _chunkZDQFBJPOjs.argsWantJson.call(void 0, args),
15805
15816
  fields: selection.fields,
15806
15817
  text: `${lines.join("\n")}
15807
15818
  `
@@ -15835,10 +15846,10 @@ async function handlePlayGet(args) {
15835
15846
  );
15836
15847
  return 2;
15837
15848
  }
15838
- const client = new (0, _chunkKBMBNUUWjs.DeeplineClient)();
15849
+ const client = new (0, _chunkQM6Y6S4Ejs.DeeplineClient)();
15839
15850
  const explicitJson = args.includes("--json");
15840
15851
  const sourceOutput = args.includes("--source");
15841
- const jsonOutput = sourceOutput ? explicitJson : _chunkQGKX2WBZjs.argsWantJson.call(void 0, args);
15852
+ const jsonOutput = sourceOutput ? explicitJson : _chunkZDQFBJPOjs.argsWantJson.call(void 0, args);
15842
15853
  const requestedRevisionFlags = [
15843
15854
  args.includes("--working"),
15844
15855
  args.includes("--live"),
@@ -15901,7 +15912,7 @@ async function handlePlayGet(args) {
15901
15912
  }
15902
15913
  const loadedMessage = materializedFile ? formatLoadedPlayMessage(materializedFile) : null;
15903
15914
  if (jsonOutput) {
15904
- _chunkQGKX2WBZjs.printCompactJson.call(void 0, {
15915
+ _chunkZDQFBJPOjs.printCompactJson.call(void 0, {
15905
15916
  ...detail,
15906
15917
  ...materializedFile ? {
15907
15918
  message: loadedMessage,
@@ -15993,8 +16004,8 @@ async function handlePlayVersions(args) {
15993
16004
  console.error("Usage: deepline plays versions --name <name> [--json]");
15994
16005
  return 1;
15995
16006
  }
15996
- const client = new (0, _chunkKBMBNUUWjs.DeeplineClient)();
15997
- const jsonOutput = _chunkQGKX2WBZjs.argsWantJson.call(void 0, args);
16007
+ const client = new (0, _chunkQM6Y6S4Ejs.DeeplineClient)();
16008
+ const jsonOutput = _chunkZDQFBJPOjs.argsWantJson.call(void 0, args);
15998
16009
  await assertCanonicalNamedPlayReference(client, playName, {
15999
16010
  command: "versions"
16000
16011
  });
@@ -16002,7 +16013,7 @@ async function handlePlayVersions(args) {
16002
16013
  parseReferencedPlayTarget(playName).playName
16003
16014
  );
16004
16015
  if (jsonOutput) {
16005
- _chunkQGKX2WBZjs.printCompactJson.call(void 0, { versions });
16016
+ _chunkZDQFBJPOjs.printCompactJson.call(void 0, { versions });
16006
16017
  return 0;
16007
16018
  }
16008
16019
  if (versions.length === 0) {
@@ -16041,8 +16052,8 @@ async function handlePlayCost(args) {
16041
16052
  console.error("Usage: deepline plays cost <play> [--json]");
16042
16053
  return 2;
16043
16054
  }
16044
- const result = await new (0, _chunkKBMBNUUWjs.DeeplineClient)().getPlayCostEstimate(name);
16045
- if (_chunkQGKX2WBZjs.argsWantJson.call(void 0, args)) console.log(JSON.stringify(result, null, 2));
16055
+ const result = await new (0, _chunkQM6Y6S4Ejs.DeeplineClient)().getPlayCostEstimate(name);
16056
+ if (_chunkZDQFBJPOjs.argsWantJson.call(void 0, args)) console.log(JSON.stringify(result, null, 2));
16046
16057
  else
16047
16058
  console.log(
16048
16059
  `${result.reference}: ${formatPlayCostEstimate(result.costEstimate)}`
@@ -16050,9 +16061,9 @@ async function handlePlayCost(args) {
16050
16061
  return 0;
16051
16062
  }
16052
16063
  async function handlePlayList(args) {
16053
- const jsonOutput = _chunkQGKX2WBZjs.argsWantJson.call(void 0, args);
16064
+ const jsonOutput = _chunkZDQFBJPOjs.argsWantJson.call(void 0, args);
16054
16065
  const showCost = args.includes("--show-cost");
16055
- const client = new (0, _chunkKBMBNUUWjs.DeeplineClient)();
16066
+ const client = new (0, _chunkQM6Y6S4Ejs.DeeplineClient)();
16056
16067
  const categoriesIndex = args.indexOf("--categories");
16057
16068
  const categories = categoriesIndex >= 0 ? _optionalChain([args, 'access', _645 => _645[categoriesIndex + 1], 'optionalAccess', _646 => _646.trim, 'call', _647 => _647()]) : void 0;
16058
16069
  const tags = args.flatMap((arg, index) => arg === "--tag" ? [args[index + 1]] : []).flatMap((value) => (_nullishCoalesce(value, () => ( ""))).split(",")).map((value) => value.trim()).filter(Boolean);
@@ -16150,7 +16161,7 @@ async function handlePlayList(args) {
16150
16161
  lines.push("List truncated \u2014 more plays are available.");
16151
16162
  lines.push(`Next page: ${nextPage}`);
16152
16163
  }
16153
- _chunkQGKX2WBZjs.printCommandEnvelope.call(void 0,
16164
+ _chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
16154
16165
  {
16155
16166
  plays,
16156
16167
  count: plays.length,
@@ -16168,7 +16179,7 @@ async function handlePlayList(args) {
16168
16179
  }
16169
16180
  async function handlePlayPin(args, pinned) {
16170
16181
  const target = _optionalChain([args, 'access', _656 => _656.find, 'call', _657 => _657((arg) => !arg.startsWith("-")), 'optionalAccess', _658 => _658.trim, 'call', _659 => _659()]);
16171
- const jsonOutput = _chunkQGKX2WBZjs.argsWantJson.call(void 0, args);
16182
+ const jsonOutput = _chunkZDQFBJPOjs.argsWantJson.call(void 0, args);
16172
16183
  const dryRun = args.includes("--dry-run");
16173
16184
  if (!target) {
16174
16185
  console.error(
@@ -16186,11 +16197,11 @@ async function handlePlayPin(args, pinned) {
16186
16197
  const name = parsedTarget.playName;
16187
16198
  const plan = { name, pinned, dryRun };
16188
16199
  if (dryRun) {
16189
- _chunkQGKX2WBZjs.printCompactJson.call(void 0, plan);
16200
+ _chunkZDQFBJPOjs.printCompactJson.call(void 0, plan);
16190
16201
  return 0;
16191
16202
  }
16192
- const result = await new (0, _chunkKBMBNUUWjs.DeeplineClient)().setPlayPinned(name, pinned);
16193
- if (jsonOutput) _chunkQGKX2WBZjs.printCompactJson.call(void 0, result);
16203
+ const result = await new (0, _chunkQM6Y6S4Ejs.DeeplineClient)().setPlayPinned(name, pinned);
16204
+ if (jsonOutput) _chunkZDQFBJPOjs.printCompactJson.call(void 0, result);
16194
16205
  else console.log(`${result.pinned ? "Pinned" : "Unpinned"} ${result.name}.`);
16195
16206
  return 0;
16196
16207
  }
@@ -16316,12 +16327,12 @@ async function handlePlayGrep(args) {
16316
16327
  console.error("Usage: deepline plays grep <query> [--json]");
16317
16328
  return 1;
16318
16329
  }
16319
- const client = new (0, _chunkKBMBNUUWjs.DeeplineClient)();
16330
+ const client = new (0, _chunkQM6Y6S4Ejs.DeeplineClient)();
16320
16331
  const results = (await client.listPlays({ grep: query })).map(
16321
16332
  summarizePlayGrepResult
16322
16333
  );
16323
- if (_chunkQGKX2WBZjs.argsWantJson.call(void 0, args)) {
16324
- _chunkQGKX2WBZjs.printCompactJson.call(void 0, {
16334
+ if (_chunkZDQFBJPOjs.argsWantJson.call(void 0, args)) {
16335
+ _chunkZDQFBJPOjs.printCompactJson.call(void 0, {
16325
16336
  plays: results,
16326
16337
  count: results.length,
16327
16338
  query,
@@ -16344,7 +16355,7 @@ async function handlePlayGrep(args) {
16344
16355
  return 0;
16345
16356
  }
16346
16357
  async function handlePlayDescribe(args) {
16347
- const selection = _chunkQGKX2WBZjs.parseJsonFields.call(void 0, args, "describe");
16358
+ const selection = _chunkZDQFBJPOjs.parseJsonFields.call(void 0, args, "describe");
16348
16359
  args = selection.args;
16349
16360
  const playName = args[0];
16350
16361
  if (!playName) {
@@ -16378,8 +16389,8 @@ async function handlePlayDescribe(args) {
16378
16389
  `deepline plays check ${playName}`,
16379
16390
  ...definedName ? [`deepline describe <workspace>/${definedName}`] : []
16380
16391
  ];
16381
- if (_chunkQGKX2WBZjs.argsWantJson.call(void 0, args)) {
16382
- _chunkQGKX2WBZjs.printCompactJson.call(void 0, {
16392
+ if (_chunkZDQFBJPOjs.argsWantJson.call(void 0, args)) {
16393
+ _chunkZDQFBJPOjs.printCompactJson.call(void 0, {
16383
16394
  ok: false,
16384
16395
  error: { message },
16385
16396
  next
@@ -16393,7 +16404,7 @@ async function handlePlayDescribe(args) {
16393
16404
  }
16394
16405
  return 2;
16395
16406
  }
16396
- const client = new (0, _chunkKBMBNUUWjs.DeeplineClient)();
16407
+ const client = new (0, _chunkQM6Y6S4Ejs.DeeplineClient)();
16397
16408
  await assertCanonicalNamedPlayReference(client, playName, {
16398
16409
  command: "describe"
16399
16410
  });
@@ -16403,9 +16414,9 @@ async function handlePlayDescribe(args) {
16403
16414
  compact: args.includes("--compact")
16404
16415
  }
16405
16416
  );
16406
- if (_chunkQGKX2WBZjs.argsWantJson.call(void 0, args)) {
16407
- if (selection.fields) _chunkQGKX2WBZjs.printJson.call(void 0, play, selection.fields);
16408
- else _chunkQGKX2WBZjs.printCompactJson.call(void 0, play);
16417
+ if (_chunkZDQFBJPOjs.argsWantJson.call(void 0, args)) {
16418
+ if (selection.fields) _chunkZDQFBJPOjs.printJson.call(void 0, play, selection.fields);
16419
+ else _chunkZDQFBJPOjs.printCompactJson.call(void 0, play);
16409
16420
  return 0;
16410
16421
  }
16411
16422
  printPlayDescription(play);
@@ -16426,7 +16437,7 @@ async function handlePlaySave(args) {
16426
16437
  return 2;
16427
16438
  }
16428
16439
  const watchPlay = options.dryRun ? void 0 : options.watchPlay;
16429
- const client = watchPlay ? new (0, _chunkKBMBNUUWjs.DeeplineClient)() : void 0;
16440
+ const client = watchPlay ? new (0, _chunkQM6Y6S4Ejs.DeeplineClient)() : void 0;
16430
16441
  let attempt;
16431
16442
  if (watchPlay && client) {
16432
16443
  try {
@@ -16450,7 +16461,7 @@ async function handlePlaySave(args) {
16450
16461
  };
16451
16462
  let graph;
16452
16463
  try {
16453
- graph = await _chunkYZTS3XA7js.traceCliSpan.call(void 0,
16464
+ graph = await _chunkW2ZWQUHTjs.traceCliSpan.call(void 0,
16454
16465
  "cli.play_save_bundle_graph",
16455
16466
  { targetKind: "file" },
16456
16467
  () => collectBundledPlayGraph(_path.resolve.call(void 0, options.target))
@@ -16479,7 +16490,7 @@ async function handlePlaySave(args) {
16479
16490
  next: `deepline plays check ${_chunkAID3OYVJjs.shellQuote.call(void 0, options.target)}`
16480
16491
  };
16481
16492
  if (options.jsonOutput) {
16482
- _chunkQGKX2WBZjs.printCompactJson.call(void 0, result);
16493
+ _chunkZDQFBJPOjs.printCompactJson.call(void 0, result);
16483
16494
  } else {
16484
16495
  console.error(result.message);
16485
16496
  console.error(` checked artifact: ${result.expectedArtifactHash}`);
@@ -16501,7 +16512,7 @@ async function handlePlaySave(args) {
16501
16512
  };
16502
16513
  if (options.dryRun) {
16503
16514
  if (options.jsonOutput) {
16504
- _chunkQGKX2WBZjs.printCompactJson.call(void 0, dryRun);
16515
+ _chunkZDQFBJPOjs.printCompactJson.call(void 0, dryRun);
16505
16516
  } else {
16506
16517
  console.log(`Dry run: ${playName}`);
16507
16518
  console.log(` source: ${dryRun.sourceHash}`);
@@ -16510,14 +16521,14 @@ async function handlePlaySave(args) {
16510
16521
  }
16511
16522
  return 0;
16512
16523
  }
16513
- const saveClient = _nullishCoalesce(client, () => ( new (0, _chunkKBMBNUUWjs.DeeplineClient)()));
16524
+ const saveClient = _nullishCoalesce(client, () => ( new (0, _chunkQM6Y6S4Ejs.DeeplineClient)()));
16514
16525
  try {
16515
- await _chunkYZTS3XA7js.traceCliSpan.call(void 0,
16526
+ await _chunkW2ZWQUHTjs.traceCliSpan.call(void 0,
16516
16527
  "cli.play_save_compile_manifests",
16517
16528
  { targetKind: "file", nodeCount: graph.nodes.size },
16518
16529
  () => compileBundledPlayGraphManifests(saveClient, graph)
16519
16530
  );
16520
- const saved = await _chunkYZTS3XA7js.traceCliSpan.call(void 0,
16531
+ const saved = await _chunkW2ZWQUHTjs.traceCliSpan.call(void 0,
16521
16532
  "cli.play_save_register_draft",
16522
16533
  { targetKind: "file", playName, artifactHash },
16523
16534
  () => saveClient.registerPlayArtifact({
@@ -16547,7 +16558,7 @@ async function handlePlaySave(args) {
16547
16558
  }
16548
16559
  };
16549
16560
  if (options.jsonOutput) {
16550
- _chunkQGKX2WBZjs.printCompactJson.call(void 0, result);
16561
+ _chunkZDQFBJPOjs.printCompactJson.call(void 0, result);
16551
16562
  } else {
16552
16563
  console.log(
16553
16564
  `\u2713 Saved ${playName} working draft as v${_nullishCoalesce(result.version, () => ( "?"))}`
@@ -16576,7 +16587,7 @@ async function handlePlayPublish(args) {
16576
16587
  }
16577
16588
  const { target: playName, useLatest } = options;
16578
16589
  let revisionId = options.revisionId;
16579
- const client = new (0, _chunkKBMBNUUWjs.DeeplineClient)();
16590
+ const client = new (0, _chunkQM6Y6S4Ejs.DeeplineClient)();
16580
16591
  if (isFileTarget(playName)) {
16581
16592
  if (revisionId || useLatest) {
16582
16593
  console.error(
@@ -16586,7 +16597,7 @@ async function handlePlayPublish(args) {
16586
16597
  }
16587
16598
  let graph;
16588
16599
  try {
16589
- graph = await _chunkYZTS3XA7js.traceCliSpan.call(void 0,
16600
+ graph = await _chunkW2ZWQUHTjs.traceCliSpan.call(void 0,
16590
16601
  "cli.play_publish_bundle_graph",
16591
16602
  { targetKind: "file" },
16592
16603
  () => collectBundledPlayGraph(_path.resolve.call(void 0, playName))
@@ -16608,7 +16619,7 @@ async function handlePlayPublish(args) {
16608
16619
  next: `deepline plays check ${_chunkAID3OYVJjs.shellQuote.call(void 0, playName)}`
16609
16620
  };
16610
16621
  if (options.jsonOutput) {
16611
- _chunkQGKX2WBZjs.printCompactJson.call(void 0, result3);
16622
+ _chunkZDQFBJPOjs.printCompactJson.call(void 0, result3);
16612
16623
  } else {
16613
16624
  console.error(result3.message);
16614
16625
  console.error(` checked artifact: ${result3.expectedArtifactHash}`);
@@ -16631,7 +16642,7 @@ async function handlePlayPublish(args) {
16631
16642
  };
16632
16643
  if (options.dryRun) {
16633
16644
  if (options.jsonOutput) {
16634
- _chunkQGKX2WBZjs.printCompactJson.call(void 0, dryRun);
16645
+ _chunkZDQFBJPOjs.printCompactJson.call(void 0, dryRun);
16635
16646
  } else {
16636
16647
  console.log(`Dry run: ${rootPlayName}`);
16637
16648
  console.log(` source: ${dryRun.sourceHash}`);
@@ -16650,12 +16661,12 @@ async function handlePlayPublish(args) {
16650
16661
  }
16651
16662
  }
16652
16663
  try {
16653
- await _chunkYZTS3XA7js.traceCliSpan.call(void 0,
16664
+ await _chunkW2ZWQUHTjs.traceCliSpan.call(void 0,
16654
16665
  "cli.play_publish_compile_manifests",
16655
16666
  { targetKind: "file", nodeCount: graph.nodes.size },
16656
16667
  () => compileBundledPlayGraphManifests(client, graph)
16657
16668
  );
16658
- await _chunkYZTS3XA7js.traceCliSpan.call(void 0,
16669
+ await _chunkW2ZWQUHTjs.traceCliSpan.call(void 0,
16659
16670
  "cli.play_publish_imports",
16660
16671
  { targetKind: "file", nodeCount: graph.nodes.size },
16661
16672
  () => publishImportedPlayDependencies(client, graph)
@@ -16664,7 +16675,7 @@ async function handlePlayPublish(args) {
16664
16675
  console.error(error instanceof Error ? error.message : String(error));
16665
16676
  return 1;
16666
16677
  }
16667
- const published = await _chunkYZTS3XA7js.traceCliSpan.call(void 0,
16678
+ const published = await _chunkW2ZWQUHTjs.traceCliSpan.call(void 0,
16668
16679
  "cli.play_publish_register_root",
16669
16680
  {
16670
16681
  targetKind: "file",
@@ -16699,7 +16710,7 @@ async function handlePlayPublish(args) {
16699
16710
  triggerBindings: _nullishCoalesce(published.triggerBindings, () => ( []))
16700
16711
  };
16701
16712
  if (options.jsonOutput) {
16702
- _chunkQGKX2WBZjs.printCompactJson.call(void 0, result2);
16713
+ _chunkZDQFBJPOjs.printCompactJson.call(void 0, result2);
16703
16714
  } else {
16704
16715
  printPublishReceipt({
16705
16716
  name: rootPlayName,
@@ -16730,7 +16741,7 @@ async function handlePlayPublish(args) {
16730
16741
  revisionId: _nullishCoalesce(revisionId, () => ( null)),
16731
16742
  latest: useLatest
16732
16743
  };
16733
- _chunkQGKX2WBZjs.printCompactJson.call(void 0, result2);
16744
+ _chunkZDQFBJPOjs.printCompactJson.call(void 0, result2);
16734
16745
  return 0;
16735
16746
  }
16736
16747
  const resolvedName = parseReferencedPlayTarget(playName).playName;
@@ -16754,7 +16765,7 @@ async function handlePlayPublish(args) {
16754
16765
  revisionId ? { revisionId } : {}
16755
16766
  );
16756
16767
  if (options.jsonOutput) {
16757
- _chunkQGKX2WBZjs.printCompactJson.call(void 0, result);
16768
+ _chunkZDQFBJPOjs.printCompactJson.call(void 0, result);
16758
16769
  } else {
16759
16770
  printPublishReceipt({
16760
16771
  name: result.name,
@@ -16794,7 +16805,7 @@ async function handlePlayDelete(args) {
16794
16805
  );
16795
16806
  return 2;
16796
16807
  }
16797
- const client = new (0, _chunkKBMBNUUWjs.DeeplineClient)();
16808
+ const client = new (0, _chunkQM6Y6S4Ejs.DeeplineClient)();
16798
16809
  let detail;
16799
16810
  try {
16800
16811
  detail = await client.getPlay(parseReferencedPlayTarget(playName).playName);
@@ -16818,8 +16829,8 @@ async function handlePlayDelete(args) {
16818
16829
  name: resolvedName,
16819
16830
  plannedMutation: "move saved org-owned play to Trash and stop triggers"
16820
16831
  };
16821
- if (_chunkQGKX2WBZjs.argsWantJson.call(void 0, args)) {
16822
- _chunkQGKX2WBZjs.printCompactJson.call(void 0, result2);
16832
+ if (_chunkZDQFBJPOjs.argsWantJson.call(void 0, args)) {
16833
+ _chunkZDQFBJPOjs.printCompactJson.call(void 0, result2);
16823
16834
  } else {
16824
16835
  process.stdout.write(
16825
16836
  `Dry run: would move ${result2.name} to Trash and stop its active triggers.
@@ -16829,8 +16840,8 @@ async function handlePlayDelete(args) {
16829
16840
  return 0;
16830
16841
  }
16831
16842
  const result = await client.deletePlay(resolvedName);
16832
- if (_chunkQGKX2WBZjs.argsWantJson.call(void 0, args)) {
16833
- _chunkQGKX2WBZjs.printCompactJson.call(void 0, result);
16843
+ if (_chunkZDQFBJPOjs.argsWantJson.call(void 0, args)) {
16844
+ _chunkZDQFBJPOjs.printCompactJson.call(void 0, result);
16834
16845
  return result.archived || result.alreadyArchived ? 0 : 4;
16835
16846
  }
16836
16847
  if (result.alreadyArchived) {
@@ -16869,13 +16880,13 @@ async function handlePlayRestore(args) {
16869
16880
  );
16870
16881
  return 2;
16871
16882
  }
16872
- const client = new (0, _chunkKBMBNUUWjs.DeeplineClient)();
16883
+ const client = new (0, _chunkQM6Y6S4Ejs.DeeplineClient)();
16873
16884
  try {
16874
16885
  const result = await client.restorePlay(
16875
16886
  parseReferencedPlayTarget(playName).playName
16876
16887
  );
16877
- if (_chunkQGKX2WBZjs.argsWantJson.call(void 0, args)) {
16878
- _chunkQGKX2WBZjs.printCompactJson.call(void 0, result);
16888
+ if (_chunkZDQFBJPOjs.argsWantJson.call(void 0, args)) {
16889
+ _chunkZDQFBJPOjs.printCompactJson.call(void 0, result);
16879
16890
  return result.restored || result.alreadyActive ? 0 : 4;
16880
16891
  }
16881
16892
  if (result.alreadyActive) {
@@ -17002,21 +17013,21 @@ Common commands:
17002
17013
  resume: `deepline plays resume-submission ${_chunkAID3OYVJjs.shellQuote.call(void 0, path)} --json`
17003
17014
  }
17004
17015
  };
17005
- _chunkQGKX2WBZjs.printCommandEnvelope.call(void 0, result2, {
17016
+ _chunkZDQFBJPOjs.printCommandEnvelope.call(void 0, result2, {
17006
17017
  json: options.json,
17007
17018
  text: `Submission ${saved.workflowId}: admission is unknown. ${result2.next.inspect}
17008
17019
  `
17009
17020
  });
17010
17021
  return;
17011
17022
  }
17012
- const client = new (0, _chunkKBMBNUUWjs.DeeplineClient)();
17023
+ const client = new (0, _chunkQM6Y6S4Ejs.DeeplineClient)();
17013
17024
  if (new URL(saved.baseUrl).origin !== new URL(client.baseUrl).origin) {
17014
17025
  throw new Error(
17015
17026
  "The submission belongs to a different API origin. Select its original host before recovery."
17016
17027
  );
17017
17028
  }
17018
17029
  const result = await client.startPlayRun(saved.request);
17019
- _chunkQGKX2WBZjs.printCommandEnvelope.call(void 0,
17030
+ _chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
17020
17031
  { ...result },
17021
17032
  {
17022
17033
  json: options.json,
@@ -17052,7 +17063,7 @@ Examples:
17052
17063
  ).action(async (target, options) => {
17053
17064
  process.exitCode = await handlePlayCheck([
17054
17065
  target,
17055
- ..._chunkQGKX2WBZjs.jsonFieldArgs.call(void 0, options.json),
17066
+ ..._chunkZDQFBJPOjs.jsonFieldArgs.call(void 0, options.json),
17056
17067
  ...options.full ? ["--full"] : []
17057
17068
  ]);
17058
17069
  });
@@ -17099,10 +17110,10 @@ Notes:
17099
17110
  with a changed input is refused with a 409 conflict. Use one stable key per
17100
17111
  exact intent. Without a key, each invocation starts a new run.
17101
17112
  --max-concurrent-external-calls controls the per-run provider-tool/deepline.fetch
17102
- resident-work ceiling. Default: ${_chunkSVNAP2QIjs.DEFAULT_MAX_CONCURRENT_EXTERNAL_CALLS}; accepted range: 1-${_chunkSVNAP2QIjs.MAX_CONFIGURABLE_CONCURRENT_EXTERNAL_CALLS}.
17113
+ resident-work ceiling. Default: ${_chunkXYE5XPGFjs.DEFAULT_MAX_CONCURRENT_EXTERNAL_CALLS}; accepted range: 1-${_chunkXYE5XPGFjs.MAX_CONFIGURABLE_CONCURRENT_EXTERNAL_CALLS}.
17103
17114
  Provider pacing and sandbox memory limits still apply.
17104
17115
  --max-concurrent-rows sets the run-wide default and ceiling for live map row
17105
- resolvers. Accepted range: 1-${_chunkSVNAP2QIjs.MAX_CONFIGURABLE_CONCURRENT_ROWS}. The runtime
17116
+ resolvers. Accepted range: 1-${_chunkXYE5XPGFjs.MAX_CONFIGURABLE_CONCURRENT_ROWS}. The runtime
17106
17117
  may lower it when source-row size exceeds the active-row memory budget.
17107
17118
  --max-credits replaces the play's billing.maxCreditsPerRun for this run.
17108
17119
  Tool calls that would exceed it are denied.
@@ -17227,10 +17238,10 @@ Examples:
17227
17238
  ).hideHelp()
17228
17239
  ).option(
17229
17240
  "--max-concurrent-external-calls <count>",
17230
- `Concurrent provider-tool and deepline.fetch executions (${_chunkSVNAP2QIjs.DEFAULT_MAX_CONCURRENT_EXTERNAL_CALLS} default, max ${_chunkSVNAP2QIjs.MAX_CONFIGURABLE_CONCURRENT_EXTERNAL_CALLS})`
17241
+ `Concurrent provider-tool and deepline.fetch executions (${_chunkXYE5XPGFjs.DEFAULT_MAX_CONCURRENT_EXTERNAL_CALLS} default, max ${_chunkXYE5XPGFjs.MAX_CONFIGURABLE_CONCURRENT_EXTERNAL_CALLS})`
17231
17242
  ).option(
17232
17243
  "--max-concurrent-rows <count>",
17233
- `Run-wide dataset map row resolver ceiling (max ${_chunkSVNAP2QIjs.MAX_CONFIGURABLE_CONCURRENT_ROWS})`
17244
+ `Run-wide dataset map row resolver ceiling (max ${_chunkXYE5XPGFjs.MAX_CONFIGURABLE_CONCURRENT_ROWS})`
17234
17245
  ).option("--max-credits <credits>", "Deepline-credit cap for this run").addOption(
17235
17246
  // Internal only: the server refuses it without play_run.cache_reuse_window.
17236
17247
  new (0, _commander.Option)(
@@ -17331,14 +17342,14 @@ JSON field selection:
17331
17342
  passthroughArgs.shift();
17332
17343
  }
17333
17344
  const exitCode = await handlePlayRun(
17334
- _chunkSVNAP2QIjs.resolvePlayRunCliOptions.call(void 0,
17345
+ _chunkXYE5XPGFjs.resolvePlayRunCliOptions.call(void 0,
17335
17346
  _nullishCoalesce(effectiveTarget, () => ( void 0)),
17336
17347
  options,
17337
17348
  passthroughArgs,
17338
- _chunkYZTS3XA7js.resolveCliMaintenancePolicy.call(void 0, command.optsWithGlobals())
17349
+ _chunkW2ZWQUHTjs.resolveCliMaintenancePolicy.call(void 0, command.optsWithGlobals())
17339
17350
  )
17340
17351
  );
17341
- _chunkYZTS3XA7js.recordCliTrace.call(void 0, {
17352
+ _chunkW2ZWQUHTjs.recordCliTrace.call(void 0, {
17342
17353
  phase: "cli.play_command_exit",
17343
17354
  exitCode
17344
17355
  });
@@ -17387,9 +17398,9 @@ Examples:
17387
17398
  const limit = Number(options.historyLimit);
17388
17399
  if (!Number.isInteger(limit) || limit < 1 || limit > 30)
17389
17400
  throw new Error("--history-limit must be an integer from 1 to 30.");
17390
- const client = new (0, _chunkKBMBNUUWjs.DeeplineClient)();
17401
+ const client = new (0, _chunkQM6Y6S4Ejs.DeeplineClient)();
17391
17402
  if (options.binding) {
17392
- _chunkQGKX2WBZjs.printCompactJson.call(void 0,
17403
+ _chunkZDQFBJPOjs.printCompactJson.call(void 0,
17393
17404
  await client.getPlayTriggerHistory(options.binding, { limit })
17394
17405
  );
17395
17406
  return;
@@ -17397,7 +17408,7 @@ Examples:
17397
17408
  const result = await client.listPlayTriggerInventory({
17398
17409
  cursor: options.cursor
17399
17410
  });
17400
- _chunkQGKX2WBZjs.printCompactJson.call(void 0, {
17411
+ _chunkZDQFBJPOjs.printCompactJson.call(void 0, {
17401
17412
  ...result,
17402
17413
  next: result.isDone ? null : `deepline plays triggers --cursor ${JSON.stringify(result.continueCursor)}`
17403
17414
  });
@@ -17456,7 +17467,7 @@ Examples:
17456
17467
  if (options.groupBy !== "kind" && options.groupBy !== "trigger_source") {
17457
17468
  throw new Error("--group-by must be kind or trigger_source.");
17458
17469
  }
17459
- const result = await new (0, _chunkKBMBNUUWjs.DeeplineClient)().getPlaysActivity({
17470
+ const result = await new (0, _chunkQM6Y6S4Ejs.DeeplineClient)().getPlaysActivity({
17460
17471
  timeZone: options.timeZone,
17461
17472
  days,
17462
17473
  ...options.endDate ? { endDate: options.endDate } : {},
@@ -17470,7 +17481,7 @@ Examples:
17470
17481
  `${bucket.key} ${groups} failed_play_runs=${bucket.failedPlayRuns} ${coverage}`
17471
17482
  );
17472
17483
  }
17473
- _chunkQGKX2WBZjs.printCommandEnvelope.call(void 0,
17484
+ _chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
17474
17485
  { ...result },
17475
17486
  {
17476
17487
  json: Boolean(options.json),
@@ -17499,7 +17510,7 @@ Examples:
17499
17510
  false
17500
17511
  );
17501
17512
  });
17502
- _chunkQUELC3B2js.registerDeprecatedSearchCommand.call(void 0,
17513
+ _chunkCQ6JYQSWjs.registerDeprecatedSearchCommand.call(void 0,
17503
17514
  play,
17504
17515
  (options) => options.all ? ["prebuilts", "custom"] : ["prebuilts"]
17505
17516
  );
@@ -17540,9 +17551,9 @@ Examples:
17540
17551
  "--json [fields]",
17541
17552
  "JSON output; optionally select comma-separated dotted paths"
17542
17553
  );
17543
- _chunkETLEPHLTjs.addDescribeOptions.call(void 0, describeCommand, { json: false }).action(
17554
+ _chunkPOLUE7D5js.addDescribeOptions.call(void 0, describeCommand, { json: false }).action(
17544
17555
  async (target, options) => {
17545
- const ownView = () => handlePlayDescribe(_chunkQGKX2WBZjs.describeArgs.call(void 0, target, options));
17556
+ const ownView = () => handlePlayDescribe(_chunkZDQFBJPOjs.describeArgs.call(void 0, target, options));
17546
17557
  const [flagText] = [options.json].filter(
17547
17558
  (value) => typeof value === "string"
17548
17559
  );
@@ -17553,7 +17564,7 @@ Examples:
17553
17564
  process.exitCode = await ownView();
17554
17565
  return;
17555
17566
  }
17556
- const { describeAnything } = await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-2JCOC4AK.js")));
17567
+ const { describeAnything } = await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-PXTSBJTL.js")));
17557
17568
  process.exitCode = await describeAnything(
17558
17569
  name,
17559
17570
  {
@@ -17676,7 +17687,7 @@ Examples:
17676
17687
  deepline plays deployments <deployment-id>
17677
17688
  `
17678
17689
  ).option("--limit <n>", "Max rows (default 50)").option("--json", "Emit JSON output").action(
17679
- async (id, options) => id ? _chunkBDUZJX4Vjs.handleDeploymentGet.call(void 0, id, options) : _chunkBDUZJX4Vjs.handleDeploymentsList.call(void 0, options)
17690
+ async (id, options) => id ? _chunkNMWGZD6Yjs.handleDeploymentGet.call(void 0, id, options) : _chunkNMWGZD6Yjs.handleDeploymentsList.call(void 0, options)
17680
17691
  );
17681
17692
  addPublishHelp(
17682
17693
  play.command("publish <target>").description(
@@ -17811,14 +17822,14 @@ Examples:
17811
17822
  const limit = Number(options.limit);
17812
17823
  if (!Number.isSafeInteger(limit) || limit < 1 || limit > 1e3)
17813
17824
  throw new Error("--limit must be an integer from 1 to 1000.");
17814
- const result = await new (0, _chunkKBMBNUUWjs.DeeplineClient)().runs.rowHistory({
17825
+ const result = await new (0, _chunkQM6Y6S4Ejs.DeeplineClient)().runs.rowHistory({
17815
17826
  playName: options.play,
17816
17827
  runId,
17817
17828
  tableNamespace: options.dataset,
17818
17829
  limit,
17819
17830
  cursor: options.cursor
17820
17831
  });
17821
- _chunkQGKX2WBZjs.printCompactJson.call(void 0, {
17832
+ _chunkZDQFBJPOjs.printCompactJson.call(void 0, {
17822
17833
  ...result,
17823
17834
  ...result.nextCursor ? {
17824
17835
  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`
@@ -17896,7 +17907,7 @@ Examples:
17896
17907
  new (0, _commander.Option)("--log-failed", "Attach terminal-failure logs").hideHelp()
17897
17908
  ).action(async (runId, options) => {
17898
17909
  if (TOOL_EXECUTION_ID.test(runId)) {
17899
- const { getToolExecutionReceipt } = await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-NJVPAG37.js")));
17910
+ const { getToolExecutionReceipt } = await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-OFYPUPUV.js")));
17900
17911
  process.exitCode = await getToolExecutionReceipt(runId, {
17901
17912
  receiptJson: options.json !== void 0
17902
17913
  });
@@ -17904,7 +17915,7 @@ Examples:
17904
17915
  }
17905
17916
  process.exitCode = await handleRunGet([
17906
17917
  runId,
17907
- ..._chunkQGKX2WBZjs.jsonFieldArgs.call(void 0, options.json),
17918
+ ..._chunkZDQFBJPOjs.jsonFieldArgs.call(void 0, options.json),
17908
17919
  ...options.web ? ["--web"] : [],
17909
17920
  ...options.webUrl ? ["--web-url"] : [],
17910
17921
  ...options.full ? ["--full"] : [],
@@ -18234,7 +18245,7 @@ Examples:
18234
18245
  ...options.allowEmpty ? ["--allow-empty"] : [],
18235
18246
  ...options.wait ? ["--wait"] : [],
18236
18247
  ...options.timeoutMs ? ["--timeout-ms", options.timeoutMs] : [],
18237
- ..._chunkQGKX2WBZjs.jsonFieldArgs.call(void 0, options.json)
18248
+ ..._chunkZDQFBJPOjs.jsonFieldArgs.call(void 0, options.json)
18238
18249
  ]);
18239
18250
  });
18240
18251
  const share = play.command("share").description(
@@ -18400,10 +18411,10 @@ async function handlePlayShareStatus(args) {
18400
18411
  return 2;
18401
18412
  }
18402
18413
  const name = parseReferencedPlayTarget(target).playName;
18403
- const status = await new (0, _chunkKBMBNUUWjs.DeeplineClient)().getSharePage(name);
18414
+ const status = await new (0, _chunkQM6Y6S4Ejs.DeeplineClient)().getSharePage(name);
18404
18415
  const outputStatus = shareStatusForOutput(status);
18405
- if (_chunkQGKX2WBZjs.argsWantJson.call(void 0, args)) {
18406
- _chunkQGKX2WBZjs.printCompactJson.call(void 0, outputStatus);
18416
+ if (_chunkZDQFBJPOjs.argsWantJson.call(void 0, args)) {
18417
+ _chunkZDQFBJPOjs.printCompactJson.call(void 0, outputStatus);
18407
18418
  return 0;
18408
18419
  }
18409
18420
  if (!outputStatus.share) {
@@ -18442,7 +18453,7 @@ async function handlePlaySharePublish(args) {
18442
18453
  return 2;
18443
18454
  }
18444
18455
  const name = parseReferencedPlayTarget(target).playName;
18445
- const client = new (0, _chunkKBMBNUUWjs.DeeplineClient)();
18456
+ const client = new (0, _chunkQM6Y6S4Ejs.DeeplineClient)();
18446
18457
  let revisionId = shareFlagValue(args, "--revision-id");
18447
18458
  let resolvedVersion;
18448
18459
  if (!revisionId) {
@@ -18473,8 +18484,8 @@ async function handlePlaySharePublish(args) {
18473
18484
  );
18474
18485
  if (!hasCompleted) {
18475
18486
  const message = `No completed run for ${name}. Publish a play only after it has run successfully. (Override with --no-run-check.)`;
18476
- if (_chunkQGKX2WBZjs.argsWantJson.call(void 0, args)) {
18477
- _chunkQGKX2WBZjs.printCompactJson.call(void 0, {
18487
+ if (_chunkZDQFBJPOjs.argsWantJson.call(void 0, args)) {
18488
+ _chunkZDQFBJPOjs.printCompactJson.call(void 0, {
18478
18489
  ok: false,
18479
18490
  code: "NO_SUCCESSFUL_RUN",
18480
18491
  message,
@@ -18498,8 +18509,8 @@ async function handlePlaySharePublish(args) {
18498
18509
  };
18499
18510
  if (args.includes("--dry-run")) {
18500
18511
  const plan = { dryRun: true, name, version: resolvedVersion, ...request };
18501
- if (_chunkQGKX2WBZjs.argsWantJson.call(void 0, args)) {
18502
- _chunkQGKX2WBZjs.printCompactJson.call(void 0, plan);
18512
+ if (_chunkZDQFBJPOjs.argsWantJson.call(void 0, args)) {
18513
+ _chunkZDQFBJPOjs.printCompactJson.call(void 0, plan);
18503
18514
  } else {
18504
18515
  console.log(
18505
18516
  `Would publish ${name}${resolvedVersion ? ` v${resolvedVersion}` : ""} (revision ${revisionId}).`
@@ -18509,8 +18520,8 @@ async function handlePlaySharePublish(args) {
18509
18520
  }
18510
18521
  const status = await client.publishSharePage(name, request);
18511
18522
  const outputStatus = shareStatusForOutput(status);
18512
- if (_chunkQGKX2WBZjs.argsWantJson.call(void 0, args)) {
18513
- _chunkQGKX2WBZjs.printCompactJson.call(void 0, outputStatus);
18523
+ if (_chunkZDQFBJPOjs.argsWantJson.call(void 0, args)) {
18524
+ _chunkZDQFBJPOjs.printCompactJson.call(void 0, outputStatus);
18514
18525
  return 0;
18515
18526
  }
18516
18527
  const urls = shareUrlFields(outputStatus);
@@ -18541,9 +18552,9 @@ async function handlePlayShareUpdate(args) {
18541
18552
  ...args.includes("--show-latency") ? { showAverageLatency: true } : args.includes("--hide-latency") ? { showAverageLatency: false } : {},
18542
18553
  ...seoIndexing ? { seoIndexing } : {}
18543
18554
  };
18544
- const status = await new (0, _chunkKBMBNUUWjs.DeeplineClient)().updateSharePage(name, request);
18545
- if (_chunkQGKX2WBZjs.argsWantJson.call(void 0, args)) {
18546
- _chunkQGKX2WBZjs.printCompactJson.call(void 0, status);
18555
+ const status = await new (0, _chunkQM6Y6S4Ejs.DeeplineClient)().updateSharePage(name, request);
18556
+ if (_chunkZDQFBJPOjs.argsWantJson.call(void 0, args)) {
18557
+ _chunkZDQFBJPOjs.printCompactJson.call(void 0, status);
18547
18558
  return 0;
18548
18559
  }
18549
18560
  console.log(`Updated ${name} share settings.`);
@@ -18558,7 +18569,7 @@ async function handlePlayShareRegenerate(args) {
18558
18569
  return 2;
18559
18570
  }
18560
18571
  const name = parseReferencedPlayTarget(target).playName;
18561
- const client = new (0, _chunkKBMBNUUWjs.DeeplineClient)();
18572
+ const client = new (0, _chunkQM6Y6S4Ejs.DeeplineClient)();
18562
18573
  let revisionId = shareFlagValue(args, "--revision-id");
18563
18574
  const versionFlag = shareFlagValue(args, "--version");
18564
18575
  if (!revisionId && versionFlag) {
@@ -18575,8 +18586,8 @@ async function handlePlayShareRegenerate(args) {
18575
18586
  revisionId ? { revisionId } : {}
18576
18587
  );
18577
18588
  const outputStatus = shareStatusForOutput(status);
18578
- if (_chunkQGKX2WBZjs.argsWantJson.call(void 0, args)) {
18579
- _chunkQGKX2WBZjs.printCompactJson.call(void 0, outputStatus);
18589
+ if (_chunkZDQFBJPOjs.argsWantJson.call(void 0, args)) {
18590
+ _chunkZDQFBJPOjs.printCompactJson.call(void 0, outputStatus);
18580
18591
  return 0;
18581
18592
  }
18582
18593
  const urls = shareUrlFields(outputStatus);
@@ -18601,9 +18612,9 @@ async function handlePlayShareUnpublish(args) {
18601
18612
  return 2;
18602
18613
  }
18603
18614
  const name = parseReferencedPlayTarget(target).playName;
18604
- const status = await new (0, _chunkKBMBNUUWjs.DeeplineClient)().unpublishSharePage(name);
18605
- if (_chunkQGKX2WBZjs.argsWantJson.call(void 0, args)) {
18606
- _chunkQGKX2WBZjs.printCompactJson.call(void 0, status);
18615
+ const status = await new (0, _chunkQM6Y6S4Ejs.DeeplineClient)().unpublishSharePage(name);
18616
+ if (_chunkZDQFBJPOjs.argsWantJson.call(void 0, args)) {
18617
+ _chunkZDQFBJPOjs.printCompactJson.call(void 0, status);
18607
18618
  return 0;
18608
18619
  }
18609
18620
  console.log(`Unpublished ${name}; the public page has been removed.`);
@@ -18681,4 +18692,4 @@ async function handlePlayShareUnpublish(args) {
18681
18692
 
18682
18693
 
18683
18694
 
18684
- exports.PREBUILT_PLAY_TAG_KEYS = PREBUILT_PLAY_TAG_KEYS; exports.assertDatasetHasExportableRows = assertDatasetHasExportableRows; 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 = _chunkSVNAP2QIjs.parsePlayRunHeaderFlag; exports.parsePlayRunOptions = _chunkSVNAP2QIjs.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.takeFromRunRerunArgs = takeFromRunRerunArgs; exports.truncateErrorForDisplay = truncateErrorForDisplay; exports.waitForPlayCompletionByWatch = waitForPlayCompletionByWatch; exports.withTerminalPlayIdentity = withTerminalPlayIdentity; exports.writeInlinePlay = writeInlinePlay; exports.writePlayRunIdFile = writePlayRunIdFile; exports.writePlayRunReceipt = writePlayRunReceipt;
18695
+ exports.PREBUILT_PLAY_TAG_KEYS = PREBUILT_PLAY_TAG_KEYS; exports.assertDatasetHasExportableRows = assertDatasetHasExportableRows; 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 = _chunkXYE5XPGFjs.parsePlayRunHeaderFlag; exports.parsePlayRunOptions = _chunkXYE5XPGFjs.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.takeFromRunRerunArgs = takeFromRunRerunArgs; exports.truncateErrorForDisplay = truncateErrorForDisplay; exports.waitForPlayCompletionByWatch = waitForPlayCompletionByWatch; exports.withTerminalPlayIdentity = withTerminalPlayIdentity; exports.writeInlinePlay = writeInlinePlay; exports.writePlayRunIdFile = writePlayRunIdFile; exports.writePlayRunReceipt = writePlayRunReceipt;