deepline 0.3.504 → 0.3.506

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 (165) hide show
  1. package/dist/bundling-sources/sdk/src/client-core.ts +121 -5
  2. package/dist/bundling-sources/sdk/src/index.ts +3 -0
  3. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  4. package/dist/bundling-sources/sdk/src/types.ts +5 -0
  5. package/dist/bundling-sources/shared_libs/integration-contracts/billing-entitlements.ts +2 -0
  6. package/dist/bundling-sources/shared_libs/monitors/fleets/issues.ts +176 -0
  7. package/dist/bundling-sources/shared_libs/monitors/fleets/limits.ts +17 -0
  8. package/dist/bundling-sources/shared_libs/monitors/fleets/overview.ts +118 -0
  9. package/dist/bundling-sources/shared_libs/monitors/fleets/plan.ts +29 -1
  10. package/dist/bundling-sources/shared_libs/monitors/legacy-radar-retirement.ts +29 -10
  11. package/dist/bundling-sources/shared_libs/monitors/package.json +4 -0
  12. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +9 -9
  13. package/dist/bundling-sources/shared_libs/play-runtime/context.ts +52 -5
  14. package/dist/bundling-sources/shared_libs/play-runtime/freshness-receipt-execution.ts +48 -5
  15. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-lifecycle.ts +157 -47
  16. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/modal.ts +36 -3
  17. package/dist/bundling-sources/shared_libs/play-runtime/runtime-gateway-egress.ts +55 -0
  18. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +66 -0
  19. package/dist/bundling-sources/shared_libs/play-runtime/transient-service-error.ts +18 -0
  20. package/dist/bundling-sources/shared_libs/product-notifications/onboarding-unsubscribe.ts +23 -0
  21. package/dist/cli/auth-MMHG2OFE.js +43 -0
  22. package/dist/cli/{auth-3L5AA5AX.mjs → auth-ZHFONT2D.mjs} +5 -5
  23. package/dist/cli/{billing-HOGXVE2V.js → billing-3Z7N4WTL.js} +101 -91
  24. package/dist/cli/{billing-E7EASVPO.mjs → billing-B2YEMNHE.mjs} +27 -17
  25. package/dist/cli/{chunk-UXQQPMYO.js → chunk-26DJ4BDY.js} +2 -2
  26. package/dist/cli/{chunk-3MLFFWDM.mjs → chunk-2CFTDVEP.mjs} +2 -2
  27. package/dist/cli/{chunk-QOLX2O2S.mjs → chunk-2IXXB7OA.mjs} +93 -34
  28. package/dist/cli/{chunk-6JNBMTCZ.js → chunk-2OY5DXTC.js} +1 -1
  29. package/dist/cli/{chunk-SVFTZTCI.mjs → chunk-3BFZEHBH.mjs} +1 -1
  30. package/dist/cli/{chunk-67OI26OE.js → chunk-3F676QXJ.js} +96 -37
  31. package/dist/cli/{chunk-KCKAFTPY.js → chunk-5ARG7J7A.js} +6 -6
  32. package/dist/cli/{chunk-5CHBIJIM.mjs → chunk-6RYVIZRP.mjs} +2 -2
  33. package/dist/cli/{chunk-QKKU2FH4.js → chunk-75NAFY36.js} +7 -7
  34. package/dist/cli/{chunk-7P2QVMBP.js → chunk-AD2WJUZA.js} +91 -48
  35. package/dist/cli/{chunk-UFYJTRSF.mjs → chunk-AFSYNOG4.mjs} +42 -7
  36. package/dist/cli/{chunk-VJVJWZ6I.mjs → chunk-BJ5OX62J.mjs} +5 -5
  37. package/dist/cli/{chunk-HUX5DZO6.mjs → chunk-BQBPVUFJ.mjs} +3 -3
  38. package/dist/cli/{chunk-MLMWM5DV.mjs → chunk-CHGRURBN.mjs} +5 -5
  39. package/dist/cli/{chunk-22OCKCYS.mjs → chunk-D7OCORZ7.mjs} +1 -1
  40. package/dist/cli/{chunk-SMSQVRHE.js → chunk-DB54ROPH.js} +5 -5
  41. package/dist/cli/{chunk-KGUGNEKL.js → chunk-E554XCJI.js} +96 -96
  42. package/dist/cli/{chunk-GGBXNQCR.mjs → chunk-EN7GXLFX.mjs} +4 -4
  43. package/dist/cli/{chunk-2W77YCKH.js → chunk-F53SGS3C.js} +5 -5
  44. package/dist/cli/{chunk-6SMR7LU7.js → chunk-F7IQQYKV.js} +2 -2
  45. package/dist/cli/chunk-FFGQR5J3.mjs +405 -0
  46. package/dist/cli/{chunk-UJMBG5JU.js → chunk-FWSEGIT6.js} +4 -4
  47. package/dist/cli/{chunk-GJ2DA35C.js → chunk-GDHLL5EQ.js} +42 -7
  48. package/dist/cli/{chunk-XHZSPMNC.mjs → chunk-GJNIC2CO.mjs} +84 -441
  49. package/dist/cli/chunk-GRESJ3H3.js +405 -0
  50. package/dist/cli/{chunk-WZSFIJMG.js → chunk-HINTYT5H.js} +113 -470
  51. package/dist/cli/{chunk-A6LA42JY.js → chunk-LRSRJJPD.js} +16 -16
  52. package/dist/cli/{chunk-WBIDPDKJ.js → chunk-MHRR47VQ.js} +3 -3
  53. package/dist/cli/{chunk-FTRVCIGC.js → chunk-N7G36GXB.js} +26 -26
  54. package/dist/cli/{chunk-BTWUNKKX.mjs → chunk-ND4WPLTE.mjs} +2 -2
  55. package/dist/cli/{chunk-NZ7Z7WNM.mjs → chunk-O4DZG4VA.mjs} +2 -2
  56. package/dist/cli/{chunk-LHXYCZYO.js → chunk-OD6TASBP.js} +8 -8
  57. package/dist/cli/{chunk-GRAGUYIE.js → chunk-OHNMJ5XQ.js} +41 -41
  58. package/dist/cli/{chunk-OX2D6BG4.mjs → chunk-ONBXTEFQ.mjs} +46 -3
  59. package/dist/cli/{chunk-7F4OEHQK.mjs → chunk-OPBXKB57.mjs} +1 -1
  60. package/dist/cli/{chunk-Y7VEHKID.mjs → chunk-OUGJUM5X.mjs} +6 -6
  61. package/dist/cli/{chunk-USTJEEND.js → chunk-PRIHD5XS.js} +9 -9
  62. package/dist/cli/{chunk-IGNQKOWT.mjs → chunk-QAY5AS2H.mjs} +12 -12
  63. package/dist/cli/{chunk-5Z6EULD5.js → chunk-QP333GFE.js} +7 -7
  64. package/dist/cli/{chunk-JPR2546F.js → chunk-SUJIVF6L.js} +16 -16
  65. package/dist/cli/{chunk-DEAJVQEG.mjs → chunk-TEMORCEE.mjs} +1 -1
  66. package/dist/cli/{chunk-YOQ2NNDO.mjs → chunk-TS4KFQKS.mjs} +1 -1
  67. package/dist/cli/{chunk-4CC67XH5.mjs → chunk-XUY7WQ2R.mjs} +3 -3
  68. package/dist/cli/{chunk-Z6FXUDIL.mjs → chunk-YEX6RPUO.mjs} +1 -1
  69. package/dist/cli/{chunk-MJTK6Q3G.js → chunk-YJKKOSXS.js} +3 -3
  70. package/dist/cli/{chunk-Y6XKCEPK.mjs → chunk-YVOS5KSG.mjs} +1 -1
  71. package/dist/cli/{chunk-2ABRDH3B.mjs → chunk-YWZEBPXK.mjs} +2 -2
  72. package/dist/cli/{chunk-BX45XMXZ.mjs → chunk-Z7EHY2MF.mjs} +2 -2
  73. package/dist/cli/{chunk-FISP4LCK.js → chunk-ZM5BJ5MP.js} +53 -53
  74. package/dist/cli/{chunk-IPAMOMGP.js → chunk-ZZDTWVCQ.js} +21 -21
  75. package/dist/cli/command-docs.js +2 -2
  76. package/dist/cli/command-docs.mjs +1 -1
  77. package/dist/cli/{csv-2XWGPITO.js → csv-7K7LK63Y.js} +13 -13
  78. package/dist/cli/{csv-433JEHLQ.mjs → csv-ARHQ54HA.mjs} +4 -4
  79. package/dist/cli/{db-K747DH43.mjs → db-JBX24NJY.mjs} +6 -6
  80. package/dist/cli/{db-PJJMD4VH.js → db-V4Z2I6DY.js} +27 -27
  81. package/dist/cli/describe-AYXVS6DZ.js +50 -0
  82. package/dist/cli/{describe-VEDDYW4P.mjs → describe-RBDSGSZ7.mjs} +18 -17
  83. package/dist/cli/describe-core.d.mts +3 -3
  84. package/dist/cli/describe-core.d.ts +3 -3
  85. package/dist/cli/{executions-JWRX3XCT.mjs → executions-BAZEU63W.mjs} +6 -6
  86. package/dist/cli/{executions-HM5T72H6.js → executions-XEZKV5QU.js} +8 -8
  87. package/dist/cli/{feedback-34UG4BO3.js → feedback-LOERESRU.js} +8 -8
  88. package/dist/cli/{feedback-MNSIA63Y.mjs → feedback-YDSWBHCO.mjs} +4 -4
  89. package/dist/cli/{git-ZKEOXV3A.mjs → git-4Z3W2CQU.mjs} +5 -5
  90. package/dist/cli/git-T6WKO7EA.js +25 -0
  91. package/dist/cli/index.js +146 -148
  92. package/dist/cli/index.mjs +53 -55
  93. package/dist/cli/{legacy-noops-YXSI4FVU.js → legacy-noops-4QIQPVE5.js} +8 -8
  94. package/dist/cli/{legacy-noops-5M4T4ZVT.mjs → legacy-noops-E4HH7S5O.mjs} +5 -5
  95. package/dist/cli/{monitors-C65OC4AW.mjs → monitors-FPDW5DDM.mjs} +305 -8
  96. package/dist/cli/{monitors-O25GDOYE.js → monitors-QBHDSDA7.js} +423 -126
  97. package/dist/cli/{org-2GSPLY2A.js → org-JO4GGSAH.js} +72 -72
  98. package/dist/cli/{org-ZRMG5NS2.mjs → org-UCDHIHAD.mjs} +6 -6
  99. package/dist/cli/{pages-TZZUFBRO.mjs → pages-6V52IZXY.mjs} +6 -6
  100. package/dist/cli/{pages-45DPADK6.js → pages-FJAAXAWO.js} +18 -18
  101. package/dist/cli/{play-RCGMND6X.js → play-F3AENS6W.js} +317 -316
  102. package/dist/cli/{play-3D7HH273.mjs → play-MF4DWROJ.mjs} +18 -17
  103. package/dist/cli/{providers-PSAKV6CJ.mjs → providers-NJJLTECA.mjs} +6 -6
  104. package/dist/cli/{providers-3N3ECMTY.js → providers-XXOQLPX7.js} +9 -9
  105. package/dist/cli/{quickstart-6R6AIXM6.js → quickstart-JCE3XGQG.js} +6 -6
  106. package/dist/cli/{quickstart-2A35SMGC.mjs → quickstart-Z5MSMI7S.mjs} +4 -4
  107. package/dist/cli/{run-F3TLDGUO.mjs → run-56UGPIRL.mjs} +23 -22
  108. package/dist/cli/{run-F6ZXTASZ.js → run-X2DNIW3F.js} +41 -40
  109. package/dist/cli/search-B753RTKC.js +33 -0
  110. package/dist/cli/{search-CZLCY3D2.mjs → search-SZYI4NBB.mjs} +8 -7
  111. package/dist/cli/{search-output-R5XDNILW.js → search-output-7UNT6EMP.js} +6 -6
  112. package/dist/cli/{search-output-MQTSTLN5.mjs → search-output-T35QNZUF.mjs} +4 -4
  113. package/dist/cli/{secrets-DCJYHDSY.js → secrets-JMUAVIVC.js} +15 -15
  114. package/dist/cli/{secrets-D3GF4B2Z.mjs → secrets-Q36VC35L.mjs} +6 -6
  115. package/dist/cli/{sessions-QGEQ2UYZ.mjs → sessions-HG6I3HMY.mjs} +5 -5
  116. package/dist/cli/{sessions-Z4JYJSDP.js → sessions-SUXU7OM7.js} +6 -6
  117. package/dist/cli/{settings-UVXXAT4A.js → settings-UIELQ5CV.js} +106 -78
  118. package/dist/cli/{settings-G7QEXA4N.mjs → settings-Z76XW4KF.mjs} +39 -11
  119. package/dist/cli/{setup-5I42W7D4.js → setup-2L7H5P2O.js} +50 -49
  120. package/dist/cli/{setup-QHJU3DUI.mjs → setup-OXNYAOQ4.mjs} +10 -9
  121. package/dist/cli/skills-DEVXYGYH.js +37 -0
  122. package/dist/cli/{skills-5LRF4UKX.mjs → skills-XSNLXJGI.mjs} +8 -7
  123. package/dist/cli/tools-SCGHABDL.js +57 -0
  124. package/dist/cli/{tools-PUT6STVG.mjs → tools-SUSFAYFH.mjs} +17 -16
  125. package/dist/cli/update-BSIILGO3.js +35 -0
  126. package/dist/cli/{update-CJ2GA64X.mjs → update-ENSTG3QO.mjs} +10 -9
  127. package/dist/cli/{workflow-O67MEBCP.js → workflow-FMBZNY4F.js} +17 -17
  128. package/dist/cli/{workflow-HVEWRTXD.mjs → workflow-Z33QE6VT.mjs} +7 -7
  129. package/dist/{client-DYAfJpaN.d.mts → client-BDbouy3Y.d.mts} +1 -1
  130. package/dist/{client-CIwenMFS.d.ts → client-Cx0420fs.d.ts} +1 -1
  131. package/dist/{client-core-CRjtyMAI.d.ts → client-core-B4hq0-m2.d.ts} +56 -4
  132. package/dist/{client-core-DlzP8vEs.d.mts → client-core-CwiVaMZ5.d.mts} +56 -4
  133. package/dist/{compiler-manifest-DaJrA2KV.d.mts → compiler-manifest-BeURaD5Y.d.mts} +2 -0
  134. package/dist/{compiler-manifest-DaJrA2KV.d.ts → compiler-manifest-BeURaD5Y.d.ts} +2 -0
  135. package/dist/{errors-KLga4bLr.d.ts → errors-BoPXPrSy.d.ts} +1 -1
  136. package/dist/{errors-BKnSYueU.d.mts → errors-kBuT4kGK.d.mts} +1 -1
  137. package/dist/{index-C5nAZ-VS.d.ts → index-D0crdGM1.d.ts} +1 -1
  138. package/dist/{index-C-8AFpWy.d.mts → index-DC7oRAAC.d.mts} +1 -1
  139. package/dist/index.d.mts +7 -7
  140. package/dist/index.d.ts +7 -7
  141. package/dist/index.js +9 -9
  142. package/dist/index.mjs +6 -6
  143. package/dist/install-integrity.json +116 -110
  144. package/dist/plays/bundle-play-file.d.mts +3 -3
  145. package/dist/plays/bundle-play-file.d.ts +3 -3
  146. package/dist/plays/play-description.d.mts +2 -2
  147. package/dist/plays/play-description.d.ts +2 -2
  148. package/dist/plays/run-request.d.mts +2 -2
  149. package/dist/plays/run-request.d.ts +2 -2
  150. package/dist/release.d.mts +1 -1
  151. package/dist/release.d.ts +1 -1
  152. package/dist/release.js +2 -2
  153. package/dist/release.mjs +1 -1
  154. package/dist/server.d.mts +4 -4
  155. package/dist/server.d.ts +4 -4
  156. package/dist/server.js +5 -5
  157. package/dist/server.mjs +3 -3
  158. package/package.json +1 -1
  159. package/dist/cli/auth-UPK4IIIN.js +0 -43
  160. package/dist/cli/describe-OYS7LZJD.js +0 -49
  161. package/dist/cli/git-5YQJSJFR.js +0 -25
  162. package/dist/cli/search-R5VEWJO2.js +0 -32
  163. package/dist/cli/skills-FB6TV52O.js +0 -36
  164. package/dist/cli/tools-L2364RPA.js +0 -56
  165. package/dist/cli/update-ESYJGYVZ.js +0 -34
@@ -5,7 +5,7 @@
5
5
 
6
6
 
7
7
 
8
- var _chunkUSTJEENDjs = require('./chunk-USTJEEND.js');
8
+ var _chunkPRIHD5XSjs = require('./chunk-PRIHD5XS.js');
9
9
 
10
10
 
11
11
 
@@ -18,15 +18,15 @@ var _chunkUSTJEENDjs = require('./chunk-USTJEEND.js');
18
18
 
19
19
 
20
20
 
21
- var _chunkKCKAFTPYjs = require('./chunk-KCKAFTPY.js');
21
+ var _chunk5ARG7J7Ajs = require('./chunk-5ARG7J7A.js');
22
22
 
23
23
 
24
- var _chunk67OI26OEjs = require('./chunk-67OI26OE.js');
24
+ var _chunk3F676QXJjs = require('./chunk-3F676QXJ.js');
25
25
  require('./chunk-D3BCSAN7.js');
26
26
 
27
27
 
28
28
 
29
- var _chunkFTRVCIGCjs = require('./chunk-FTRVCIGC.js');
29
+ var _chunkN7G36GXBjs = require('./chunk-N7G36GXB.js');
30
30
 
31
31
 
32
32
 
@@ -51,10 +51,10 @@ var _chunkA6QCMBGLjs = require('./chunk-A6QCMBGL.js');
51
51
 
52
52
 
53
53
 
54
- var _chunk2W77YCKHjs = require('./chunk-2W77YCKH.js');
54
+ var _chunkF53SGS3Cjs = require('./chunk-F53SGS3C.js');
55
55
 
56
56
 
57
- var _chunkSMSQVRHEjs = require('./chunk-SMSQVRHE.js');
57
+ var _chunkDB54ROPHjs = require('./chunk-DB54ROPH.js');
58
58
 
59
59
 
60
60
 
@@ -67,7 +67,7 @@ var _chunkSMSQVRHEjs = require('./chunk-SMSQVRHE.js');
67
67
 
68
68
 
69
69
 
70
- var _chunk7P2QVMBPjs = require('./chunk-7P2QVMBP.js');
70
+ var _chunkAD2WJUZAjs = require('./chunk-AD2WJUZA.js');
71
71
  require('./chunk-E4CABWXL.js');
72
72
 
73
73
 
@@ -90,18 +90,19 @@ require('./chunk-WSGXBROE.js');
90
90
 
91
91
 
92
92
 
93
- var _chunk5Z6EULD5js = require('./chunk-5Z6EULD5.js');
93
+ var _chunkQP333GFEjs = require('./chunk-QP333GFE.js');
94
94
 
95
95
 
96
96
 
97
97
 
98
98
 
99
- var _chunkUXQQPMYOjs = require('./chunk-UXQQPMYO.js');
100
- require('./chunk-WZSFIJMG.js');
99
+ var _chunk26DJ4BDYjs = require('./chunk-26DJ4BDY.js');
100
+ require('./chunk-HINTYT5H.js');
101
101
 
102
102
 
103
103
 
104
- var _chunkMJTK6Q3Gjs = require('./chunk-MJTK6Q3G.js');
104
+ var _chunkYJKKOSXSjs = require('./chunk-YJKKOSXS.js');
105
+ require('./chunk-GRESJ3H3.js');
105
106
 
106
107
 
107
108
  var _chunkR7J7CJPZjs = require('./chunk-R7J7CJPZ.js');
@@ -121,17 +122,17 @@ var _chunkYGCKMI5Pjs = require('./chunk-YGCKMI5P.js');
121
122
 
122
123
 
123
124
 
124
- var _chunkQKKU2FH4js = require('./chunk-QKKU2FH4.js');
125
- require('./chunk-WBIDPDKJ.js');
125
+ var _chunk75NAFY36js = require('./chunk-75NAFY36.js');
126
+ require('./chunk-MHRR47VQ.js');
126
127
 
127
128
 
128
- var _chunkUJMBG5JUjs = require('./chunk-UJMBG5JU.js');
129
+ var _chunkFWSEGIT6js = require('./chunk-FWSEGIT6.js');
129
130
  require('./chunk-ALJJRZNJ.js');
130
131
  require('./chunk-XNYIZMNQ.js');
131
132
 
132
133
 
133
134
  var _chunkDIAWYWT5js = require('./chunk-DIAWYWT5.js');
134
- require('./chunk-6JNBMTCZ.js');
135
+ require('./chunk-2OY5DXTC.js');
135
136
  require('./chunk-OG64RBAC.js');
136
137
 
137
138
 
@@ -2113,7 +2114,7 @@ function resolveField(key, command) {
2113
2114
  function printSettings(result, json, name) {
2114
2115
  result = { ...result, settings: parsePlaySettings(result.settings) };
2115
2116
  const selected = fields.filter(([key]) => !name || key === name);
2116
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
2117
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
2117
2118
  {
2118
2119
  ...result,
2119
2120
  settings: Object.fromEntries(
@@ -2157,7 +2158,7 @@ function registerPlaySettingsCommands(plays) {
2157
2158
  valueSyntax: field.cli.valueSyntax,
2158
2159
  examples: field.cli.examples
2159
2160
  }));
2160
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
2161
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
2161
2162
  {
2162
2163
  fields: descriptions,
2163
2164
  render: {
@@ -2182,7 +2183,7 @@ function registerPlaySettingsCommands(plays) {
2182
2183
  async (options, command) => {
2183
2184
  if (options.name !== void 0) resolveField(options.name, command);
2184
2185
  printSettings(
2185
- await new (0, _chunkSMSQVRHEjs.DeeplineClient)().getPlaySettings(options.play),
2186
+ await new (0, _chunkDB54ROPHjs.DeeplineClient)().getPlaySettings(options.play),
2186
2187
  options.json,
2187
2188
  options.name
2188
2189
  );
@@ -2213,7 +2214,7 @@ function registerPlaySettingsCommands(plays) {
2213
2214
  );
2214
2215
  }
2215
2216
  if (options.dryRun) {
2216
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
2217
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
2217
2218
  {
2218
2219
  dryRun: true,
2219
2220
  play,
@@ -2234,7 +2235,7 @@ function registerPlaySettingsCommands(plays) {
2234
2235
  return;
2235
2236
  }
2236
2237
  printSettings(
2237
- await new (0, _chunkSMSQVRHEjs.DeeplineClient)().updatePlaySettings(play, patch),
2238
+ await new (0, _chunkDB54ROPHjs.DeeplineClient)().updatePlaySettings(play, patch),
2238
2239
  options.json
2239
2240
  );
2240
2241
  };
@@ -2260,13 +2261,13 @@ function registerPlaySettingsCommands(plays) {
2260
2261
  "--root must be person or team; --limit must be 1\u2013100.",
2261
2262
  { exitCode: 2 }
2262
2263
  );
2263
- const page = await new (0, _chunkSMSQVRHEjs.DeeplineClient)().listPlaySettingsPaths({
2264
+ const page = await new (0, _chunkDB54ROPHjs.DeeplineClient)().listPlaySettingsPaths({
2264
2265
  root: options.root,
2265
2266
  limit,
2266
2267
  cursor: options.cursor
2267
2268
  });
2268
2269
  const nextCommand = page.hasMore ? `deepline plays settings paths --cursor '${page.cursor}'${options.root ? ` --root ${options.root}` : ""}` : null;
2269
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
2270
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
2270
2271
  {
2271
2272
  ...page,
2272
2273
  nextCommand,
@@ -2317,7 +2318,7 @@ function registerPlaySettingsCommands(plays) {
2317
2318
  root: _nullishCoalesce(_optionalChain([toPath, 'optionalAccess', _12 => _12.root]), () => ( "person")),
2318
2319
  folders: _nullishCoalesce(_optionalChain([toPath, 'optionalAccess', _13 => _13.folders]), () => ( []))
2319
2320
  };
2320
- const client = new (0, _chunkSMSQVRHEjs.DeeplineClient)();
2321
+ const client = new (0, _chunkDB54ROPHjs.DeeplineClient)();
2321
2322
  const paths = [];
2322
2323
  let cursor;
2323
2324
  do {
@@ -2379,7 +2380,7 @@ function registerPlaySettingsCommands(plays) {
2379
2380
  moved.push(move.playName);
2380
2381
  }
2381
2382
  }
2382
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
2383
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
2383
2384
  {
2384
2385
  dryRun: Boolean(options.dryRun),
2385
2386
  from: options.from,
@@ -2507,7 +2508,7 @@ function triggerLines(view) {
2507
2508
  return lines;
2508
2509
  }
2509
2510
  function printView(view, json) {
2510
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
2511
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
2511
2512
  {
2512
2513
  ...view,
2513
2514
  render: {
@@ -2520,7 +2521,7 @@ function printView(view, json) {
2520
2521
  );
2521
2522
  }
2522
2523
  function printResult(result, json) {
2523
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
2524
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
2524
2525
  {
2525
2526
  ...result,
2526
2527
  render: {
@@ -2550,7 +2551,7 @@ async function mutate(command, options, build) {
2550
2551
  usage(command, `Invalid trigger: ${formatPlayTriggerConfigError(error)}`);
2551
2552
  }
2552
2553
  if (options.dryRun) {
2553
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
2554
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
2554
2555
  {
2555
2556
  dryRun: true,
2556
2557
  play: options.play,
@@ -2569,7 +2570,7 @@ async function mutate(command, options, build) {
2569
2570
  return;
2570
2571
  }
2571
2572
  printResult(
2572
- await new (0, _chunkSMSQVRHEjs.DeeplineClient)().updatePlayTriggerConfig(options.play, update),
2573
+ await new (0, _chunkDB54ROPHjs.DeeplineClient)().updatePlayTriggerConfig(options.play, update),
2573
2574
  options.json
2574
2575
  );
2575
2576
  }
@@ -2602,7 +2603,7 @@ function registerPlayTriggerConfigCommands(plays) {
2602
2603
  }).addHelpText("after", help2);
2603
2604
  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) => {
2604
2605
  printView(
2605
- await new (0, _chunkSMSQVRHEjs.DeeplineClient)().getPlayTriggerConfig(options.play),
2606
+ await new (0, _chunkDB54ROPHjs.DeeplineClient)().getPlayTriggerConfig(options.play),
2606
2607
  options.json
2607
2608
  );
2608
2609
  });
@@ -2646,7 +2647,7 @@ function registerPlayTriggerConfigCommands(plays) {
2646
2647
  if (options.auth === void 0) {
2647
2648
  if (secrets.length || options.header || options.signaturePrefix)
2648
2649
  usage(setWebhook, "--secret/--header need --auth.");
2649
- const current = await new (0, _chunkSMSQVRHEjs.DeeplineClient)().getPlayTriggerConfig(
2650
+ const current = await new (0, _chunkDB54ROPHjs.DeeplineClient)().getPlayTriggerConfig(
2650
2651
  options.play
2651
2652
  );
2652
2653
  return {
@@ -2723,7 +2724,7 @@ var KIND_DESCRIPTIONS = {
2723
2724
  "receipt.skipped": "Saved work result: skipped.",
2724
2725
  "runtime.event": "Other event."
2725
2726
  };
2726
- var RUN_LOGS_KIND_HELP = _chunk7P2QVMBPjs.RUN_EVENT_SEARCH_KIND_VALUES.map((kind) => ({
2727
+ var RUN_LOGS_KIND_HELP = _chunkAD2WJUZAjs.RUN_EVENT_SEARCH_KIND_VALUES.map((kind) => ({
2727
2728
  kind,
2728
2729
  description: KIND_DESCRIPTIONS[kind]
2729
2730
  }));
@@ -2860,9 +2861,9 @@ function configureRunQueryCommandErrors(command, resource) {
2860
2861
  const args = program.args;
2861
2862
  if (error.exitCode !== 0 && (resource === "events" || requestsStructuredLogs(args))) {
2862
2863
  error.exitCode = 2;
2863
- if (_chunkQKKU2FH4js.argsWantJson.call(void 0, args) || command.optsWithGlobals().json === true) {
2864
- _chunkQKKU2FH4js.printJsonError.call(void 0,
2865
- Object.assign(new (0, _chunk7P2QVMBPjs.RunEventQueryInputError)(error.message), {
2864
+ if (_chunk75NAFY36js.argsWantJson.call(void 0, args) || command.optsWithGlobals().json === true) {
2865
+ _chunk75NAFY36js.printJsonError.call(void 0,
2866
+ Object.assign(new (0, _chunkAD2WJUZAjs.RunEventQueryInputError)(error.message), {
2866
2867
  exitCode: 2,
2867
2868
  retryable: false
2868
2869
  })
@@ -2906,14 +2907,14 @@ function parseQuery(args, resource) {
2906
2907
  if (VALUE_FLAGS.has(flag)) {
2907
2908
  const value = equals > 0 ? arg.slice(equals + 1) : args[++index];
2908
2909
  if (!value || equals < 0 && value.startsWith("--") && flag !== "--query" && flag !== "--where") {
2909
- throw new (0, _chunk7P2QVMBPjs.RunEventQueryInputError)(
2910
+ throw new (0, _chunkAD2WJUZAjs.RunEventQueryInputError)(
2910
2911
  `${flag} requires a value. Use ${flag} <value>.`
2911
2912
  );
2912
2913
  }
2913
2914
  if (flag === "--sum") sums.push(value);
2914
2915
  else {
2915
2916
  if (values[flag] !== void 0) {
2916
- throw new (0, _chunk7P2QVMBPjs.RunEventQueryInputError)(
2917
+ throw new (0, _chunkAD2WJUZAjs.RunEventQueryInputError)(
2917
2918
  `${flag} may only be supplied once.`
2918
2919
  );
2919
2920
  }
@@ -2927,12 +2928,12 @@ function parseQuery(args, resource) {
2927
2928
  }
2928
2929
  if (arg.startsWith("-")) {
2929
2930
  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.";
2930
- throw new (0, _chunk7P2QVMBPjs.RunEventQueryInputError)(
2931
+ throw new (0, _chunkAD2WJUZAjs.RunEventQueryInputError)(
2931
2932
  `Unsupported query flag ${flag}. ${correction}`
2932
2933
  );
2933
2934
  }
2934
2935
  if (runId !== void 0) {
2935
- throw new (0, _chunk7P2QVMBPjs.RunEventQueryInputError)(
2936
+ throw new (0, _chunkAD2WJUZAjs.RunEventQueryInputError)(
2936
2937
  `Unexpected argument ${JSON.stringify(arg)}. Supply one run ID.`
2937
2938
  );
2938
2939
  }
@@ -2940,7 +2941,7 @@ function parseQuery(args, resource) {
2940
2941
  }
2941
2942
  if (switches.has("--fields")) {
2942
2943
  if (runId !== void 0) {
2943
- throw new (0, _chunk7P2QVMBPjs.RunEventQueryInputError)(
2944
+ throw new (0, _chunkAD2WJUZAjs.RunEventQueryInputError)(
2944
2945
  "--fields does not use a run ID. Omit the positional run ID."
2945
2946
  );
2946
2947
  }
@@ -2953,18 +2954,18 @@ function parseQuery(args, resource) {
2953
2954
  )
2954
2955
  ];
2955
2956
  if (incompatible.length) {
2956
- throw new (0, _chunk7P2QVMBPjs.RunEventQueryInputError)(
2957
+ throw new (0, _chunkAD2WJUZAjs.RunEventQueryInputError)(
2957
2958
  `--fields cannot be combined with ${incompatible.join(", ")}. Use --fields alone to discover the query contract.`
2958
2959
  );
2959
2960
  }
2960
2961
  }
2961
2962
  if (switches.has("--count") && values["--group-by"] !== void 0) {
2962
- throw new (0, _chunk7P2QVMBPjs.RunEventQueryInputError)(
2963
+ throw new (0, _chunkAD2WJUZAjs.RunEventQueryInputError)(
2963
2964
  "--count cannot be combined with --group-by. Use --group-by for counts per group."
2964
2965
  );
2965
2966
  }
2966
2967
  if (sums.length && switches.has("--count")) {
2967
- throw new (0, _chunk7P2QVMBPjs.RunEventQueryInputError)(
2968
+ throw new (0, _chunkAD2WJUZAjs.RunEventQueryInputError)(
2968
2969
  "--sum cannot be combined with --count. Use --sum for the exact count and numeric total."
2969
2970
  );
2970
2971
  }
@@ -2972,7 +2973,7 @@ function parseQuery(args, resource) {
2972
2973
  if (operation === "count") {
2973
2974
  for (const flag of ["--limit", "--cursor", "--payloads"]) {
2974
2975
  if (values[flag] !== void 0 || switches.has(flag)) {
2975
- throw new (0, _chunk7P2QVMBPjs.RunEventQueryInputError)(
2976
+ throw new (0, _chunkAD2WJUZAjs.RunEventQueryInputError)(
2976
2977
  `--count cannot be combined with ${flag}. Remove ${flag} to count all matching retained records.`
2977
2978
  );
2978
2979
  }
@@ -3007,16 +3008,16 @@ function parseQuery(args, resource) {
3007
3008
  ];
3008
3009
  }
3009
3010
  }
3010
- const request = _chunk7P2QVMBPjs.normalizeRunEventOperationRequest.call(void 0, body);
3011
+ const request = _chunkAD2WJUZAjs.normalizeRunEventOperationRequest.call(void 0, body);
3011
3012
  const namespace = _nullishCoalesce(values["--runtime-namespace"], () => ( (process.env.DEEPLINE_RUNTIME_ENVIRONMENT === "preview" ? process.env.DEEPLINE_RUNTIME_NAMESPACE : void 0)));
3012
3013
  const backend = values["--runtime-backend"];
3013
3014
  if (backend && backend !== "daytona" && backend !== "modal") {
3014
- throw new (0, _chunk7P2QVMBPjs.RunEventQueryInputError)(
3015
+ throw new (0, _chunkAD2WJUZAjs.RunEventQueryInputError)(
3015
3016
  "--runtime-backend must be daytona or modal."
3016
3017
  );
3017
3018
  }
3018
3019
  if (backend && !namespace) {
3019
- throw new (0, _chunk7P2QVMBPjs.RunEventQueryInputError)(
3020
+ throw new (0, _chunkAD2WJUZAjs.RunEventQueryInputError)(
3020
3021
  "--runtime-backend requires --runtime-namespace."
3021
3022
  );
3022
3023
  }
@@ -3063,12 +3064,12 @@ async function handleRunEventQuery(args, resource = "logs") {
3063
3064
  const failure = error instanceof Error ? error : new Error(String(error));
3064
3065
  const record3 = failure;
3065
3066
  const status = record3.statusCode;
3066
- const exitCode = error instanceof _chunk7P2QVMBPjs.RunEventQueryInputError || status === 400 || status === 422 || record3.code === "INVALID_RUNTIME_SELECTION" ? 2 : status === 401 || status === 403 || record3.code === "CONFIG_ERROR" || record3.code === "RUNTIME_ENVIRONMENT_TOKEN_REQUIRED" ? 3 : status === 404 ? 4 : 5;
3067
+ const exitCode = error instanceof _chunkAD2WJUZAjs.RunEventQueryInputError || status === 400 || status === 422 || record3.code === "INVALID_RUNTIME_SELECTION" ? 2 : status === 401 || status === 403 || record3.code === "CONFIG_ERROR" || record3.code === "RUNTIME_ENVIRONMENT_TOKEN_REQUIRED" ? 3 : status === 404 ? 4 : 5;
3067
3068
  const diagnostic = Object.assign(failure, {
3068
3069
  exitCode,
3069
3070
  retryable: exitCode === 5
3070
3071
  });
3071
- if (_chunkQKKU2FH4js.argsWantJson.call(void 0, args)) _chunkQKKU2FH4js.printJsonError.call(void 0, diagnostic);
3072
+ if (_chunk75NAFY36js.argsWantJson.call(void 0, args)) _chunk75NAFY36js.printJsonError.call(void 0, diagnostic);
3072
3073
  else console.error(`Error: ${diagnostic.message}`);
3073
3074
  return exitCode;
3074
3075
  }
@@ -3083,7 +3084,7 @@ async function executeRunEventQuery(args, resource) {
3083
3084
  ...criteria
3084
3085
  } = request;
3085
3086
  const options = { ...criteria, ...runtime ? { runtime } : {} };
3086
- const client = new (0, _chunkSMSQVRHEjs.DeeplineClient)();
3087
+ const client = new (0, _chunkDB54ROPHjs.DeeplineClient)();
3087
3088
  let result;
3088
3089
  if (request.operation === "fields") {
3089
3090
  result = await client.runs[resource].fields(runtime ? { runtime } : {});
@@ -3149,13 +3150,13 @@ async function executeRunEventQuery(args, resource) {
3149
3150
  lines.push(`Next page: ${nextPage}`);
3150
3151
  }
3151
3152
  }
3152
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
3153
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
3153
3154
  {
3154
3155
  ...result,
3155
3156
  ...nextPage ? { next: { page: nextPage } } : {},
3156
3157
  render: { sections: [{ title: `run ${resource}`, lines }] }
3157
3158
  },
3158
- { json: _chunkQKKU2FH4js.argsWantJson.call(void 0, args), text: `${lines.join("\n")}
3159
+ { json: _chunk75NAFY36js.argsWantJson.call(void 0, args), text: `${lines.join("\n")}
3159
3160
  ` }
3160
3161
  );
3161
3162
  return 0;
@@ -4074,7 +4075,7 @@ Existing credential redactions and referenced-list previews remain as stored.
4074
4075
  ...text.split(/\r?\n/).map((key) => key.trim()).filter(Boolean)
4075
4076
  );
4076
4077
  }
4077
- const response = await new (0, _chunkSMSQVRHEjs.DeeplineClient)().runs.getReceipts(runId, {
4078
+ const response = await new (0, _chunkDB54ROPHjs.DeeplineClient)().runs.getReceipts(runId, {
4078
4079
  keys
4079
4080
  });
4080
4081
  const failed = response.receipts.filter(
@@ -4086,7 +4087,7 @@ Existing credential redactions and referenced-list previews remain as stored.
4086
4087
  JSON.stringify(response, null, 2) + "\n",
4087
4088
  { flag: "wx", mode: 384 }
4088
4089
  );
4089
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
4090
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
4090
4091
  {
4091
4092
  runId,
4092
4093
  out: options.out,
@@ -4096,7 +4097,7 @@ Existing credential redactions and referenced-list previews remain as stored.
4096
4097
  { json: true }
4097
4098
  );
4098
4099
  } else {
4099
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0, { ...response }, { json: true });
4100
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0, { ...response }, { json: true });
4100
4101
  }
4101
4102
  if (failed)
4102
4103
  process.exitCode = response.receipts.some(
@@ -4135,7 +4136,7 @@ includes nextCommand when another page is available.
4135
4136
  { exitCode: 2 }
4136
4137
  );
4137
4138
  }
4138
- const page = await new (0, _chunkSMSQVRHEjs.DeeplineClient)().runs.children(parentRunId, {
4139
+ const page = await new (0, _chunkDB54ROPHjs.DeeplineClient)().runs.children(parentRunId, {
4139
4140
  launchKey: options.launchKey,
4140
4141
  ...options.cursor !== void 0 ? { cursor: options.cursor } : {},
4141
4142
  limit
@@ -4150,7 +4151,7 @@ includes nextCommand when another page is available.
4150
4151
  "--limit",
4151
4152
  String(limit)
4152
4153
  ].join(" ") : null;
4153
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
4154
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
4154
4155
  {
4155
4156
  parentRunId,
4156
4157
  launchKey: options.launchKey,
@@ -4186,7 +4187,7 @@ async function handleRunsHistory(options) {
4186
4187
  throw new Error("--limit must be a positive integer.");
4187
4188
  }
4188
4189
  }
4189
- const page = await new (0, _chunkSMSQVRHEjs.DeeplineClient)().runs.history({
4190
+ const page = await new (0, _chunkDB54ROPHjs.DeeplineClient)().runs.history({
4190
4191
  cursor: options.cursor,
4191
4192
  orgId: options.org,
4192
4193
  search: options.search,
@@ -4202,7 +4203,7 @@ async function handleRunsHistory(options) {
4202
4203
  );
4203
4204
  }
4204
4205
  if (page.hasMore) lines.push(`Next cursor: ${page.nextCursor}`);
4205
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
4206
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
4206
4207
  { ...page, render: { sections: [{ title: "Run history", lines }] } },
4207
4208
  options.json ? { json: true } : {}
4208
4209
  );
@@ -4255,12 +4256,12 @@ async function runRunsRerunCommand(runId, options) {
4255
4256
  }
4256
4257
  }
4257
4258
  if (options.notice) console.error(options.notice);
4258
- const result = await new (0, _chunkSMSQVRHEjs.DeeplineClient)().runs.rerun(runId, {
4259
+ const result = await new (0, _chunkDB54ROPHjs.DeeplineClient)().runs.rerun(runId, {
4259
4260
  ...idempotencyKey === void 0 ? {} : { idempotencyKey },
4260
4261
  ...inputOverrides === void 0 ? {} : { inputOverrides }
4261
4262
  });
4262
- if (_chunkQKKU2FH4js.shouldEmitJson.call(void 0, options.json)) {
4263
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0, result, { json: true });
4263
+ if (_chunk75NAFY36js.shouldEmitJson.call(void 0, options.json)) {
4264
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0, result, { json: true });
4264
4265
  } else if (result.rateLimited) {
4265
4266
  console.log(`
4266
4267
  ${result.rateLimited.message}`);
@@ -4284,7 +4285,7 @@ Rerun started from ${runId}${inputOverrides ? " with input overrides" : ""}.`
4284
4285
  // src/cli/operations/runs-resume.ts
4285
4286
  async function runRunsResumeCommand(runId) {
4286
4287
  try {
4287
- const result = await new (0, _chunkSMSQVRHEjs.DeeplineClient)().runs.resume(runId);
4288
+ const result = await new (0, _chunkDB54ROPHjs.DeeplineClient)().runs.resume(runId);
4288
4289
  if (result.runId !== runId || result.resumed !== true || !Number.isSafeInteger(result.epoch) || result.epoch < 1)
4289
4290
  throw new Error(
4290
4291
  "Invalid resume receipt: expected the requested run and a new positive epoch."
@@ -5074,13 +5075,13 @@ var RunDataset = class _RunDataset {
5074
5075
  const absolutePath = _path.resolve.call(void 0, outPath);
5075
5076
  _fs.writeFileSync.call(void 0,
5076
5077
  absolutePath,
5077
- `${JSON.stringify(_chunkKCKAFTPYjs.orderRunExportJson.call(void 0, this.rows), null, 2)}
5078
+ `${JSON.stringify(_chunk5ARG7J7Ajs.orderRunExportJson.call(void 0, this.rows), null, 2)}
5078
5079
  `,
5079
5080
  "utf-8"
5080
5081
  );
5081
5082
  return absolutePath;
5082
5083
  }
5083
- return _chunkKCKAFTPYjs.writeRunDatasetCsv.call(void 0, {
5084
+ return _chunk5ARG7J7Ajs.writeRunDatasetCsv.call(void 0, {
5084
5085
  rows: this.rows,
5085
5086
  columns: this.#info.columns,
5086
5087
  outPath
@@ -6585,7 +6586,7 @@ function renderOutcome(outcome) {
6585
6586
  function printResult2(input) {
6586
6587
  const failed = input.status === "failed" || input.status === "cancelled";
6587
6588
  if (failed) process.exitCode = 1;
6588
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
6589
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
6589
6590
  {
6590
6591
  deployment: { ...input.deployment, status: input.status },
6591
6592
  plays: input.outcomes,
@@ -6610,7 +6611,7 @@ async function handlePlaysDeploy(directory, options) {
6610
6611
  const root = await _promises.realpath.call(void 0, _path.resolve.call(void 0, _nullishCoalesce(directory, () => ( ".")))).catch(() => {
6611
6612
  throw new Error(`No such directory: ${_path.resolve.call(void 0, _nullishCoalesce(directory, () => ( ".")))}`);
6612
6613
  });
6613
- const { http, config } = _chunkQKKU2FH4js.getAuthedHttpClient.call(void 0, );
6614
+ const { http, config } = _chunk75NAFY36js.getAuthedHttpClient.call(void 0, );
6614
6615
  const deliveryId = `local:${_crypto.randomUUID.call(void 0, )}`;
6615
6616
  const startDeployment = () => http.post("/api/v2/deployments", {
6616
6617
  deliveryId,
@@ -6637,7 +6638,7 @@ async function handlePlaysDeploy(directory, options) {
6637
6638
  },
6638
6639
  {
6639
6640
  bundle: bundleDeployPlayFile,
6640
- fetchImpl: _chunkUJMBG5JUjs.fetchWithDeploymentProtection,
6641
+ fetchImpl: _chunkFWSEGIT6js.fetchWithDeploymentProtection,
6641
6642
  // The plays are already here: "opening" the source is naming it.
6642
6643
  openSource: async () => ({
6643
6644
  open: async () => ({ repoRoot: root })
@@ -6763,7 +6764,7 @@ async function checkLocalPlayGraph(input) {
6763
6764
  // src/cli/renderers/local-play-execution.ts
6764
6765
  function renderLocalPlayExecutionPlan(plan, options = {}) {
6765
6766
  if (options.dryRun) {
6766
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0, { dryRun: true, ...plan }, { json: options.json });
6767
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0, { dryRun: true, ...plan }, { json: options.json });
6767
6768
  return;
6768
6769
  }
6769
6770
  process.stderr.write(`Local Play execution plan: ${JSON.stringify(plan)}
@@ -6935,7 +6936,7 @@ function traceCliSync(phase, fields2, run) {
6935
6936
  const startedAt = Date.now();
6936
6937
  try {
6937
6938
  const result = run();
6938
- _chunkUXQQPMYOjs.recordCliTrace.call(void 0, {
6939
+ _chunk26DJ4BDYjs.recordCliTrace.call(void 0, {
6939
6940
  phase,
6940
6941
  ms: Date.now() - startedAt,
6941
6942
  ok: true,
@@ -6943,7 +6944,7 @@ function traceCliSync(phase, fields2, run) {
6943
6944
  });
6944
6945
  return result;
6945
6946
  } catch (error) {
6946
- _chunkUXQQPMYOjs.recordCliTrace.call(void 0, {
6947
+ _chunk26DJ4BDYjs.recordCliTrace.call(void 0, {
6947
6948
  phase,
6948
6949
  ms: Date.now() - startedAt,
6949
6950
  ok: false,
@@ -7749,7 +7750,7 @@ function playStatusErrorText(status) {
7749
7750
  function isRetryablePendingStartFailure(status) {
7750
7751
  if (status.status !== "failed") return false;
7751
7752
  if (status.runId && status.runId !== "pending") return false;
7752
- return _chunk7P2QVMBPjs.isTransientPlayRunReadError.call(void 0, new Error(playStatusErrorText(status)));
7753
+ return _chunkAD2WJUZAjs.isTransientPlayRunReadError.call(void 0, new Error(playStatusErrorText(status)));
7753
7754
  }
7754
7755
  function isAmbiguousPlayStartOutcomeError(error) {
7755
7756
  if (error instanceof _chunkDIAWYWT5js.DeeplineError && typeof error.statusCode === "number") {
@@ -7799,13 +7800,13 @@ var PlayStartOutcomeUnknownError = (_class = class extends _chunkDIAWYWT5js.Deep
7799
7800
  }, _class);
7800
7801
  function watchSurfaceReaches(state, provenance, level) {
7801
7802
  const minimumLevel = _nullishCoalesce(state.logLevel, () => ( (state.verbose ? "debug" : "info")));
7802
- if (!_chunk7P2QVMBPjs.logLevelReaches.call(void 0, level, minimumLevel)) {
7803
+ if (!_chunkAD2WJUZAjs.logLevelReaches.call(void 0, level, minimumLevel)) {
7803
7804
  return false;
7804
7805
  }
7805
- if (_chunk7P2QVMBPjs.logProvenanceReaches.call(void 0, provenance, "watch")) {
7806
+ if (_chunkAD2WJUZAjs.logProvenanceReaches.call(void 0, provenance, "watch")) {
7806
7807
  return true;
7807
7808
  }
7808
- return state.verbose === true && _chunk7P2QVMBPjs.logProvenanceReaches.call(void 0, provenance, "debug");
7809
+ return state.verbose === true && _chunkAD2WJUZAjs.logProvenanceReaches.call(void 0, provenance, "debug");
7809
7810
  }
7810
7811
  function getEventPayload(event) {
7811
7812
  return event.payload && typeof event.payload === "object" ? event.payload : {};
@@ -8315,7 +8316,7 @@ function resolvePlayRunUrl(input) {
8315
8316
  }
8316
8317
  function openPlayDashboard(url, open2) {
8317
8318
  if (open2 && url) {
8318
- _chunkQKKU2FH4js.openInBrowser.call(void 0, url);
8319
+ _chunk75NAFY36js.openInBrowser.call(void 0, url);
8319
8320
  }
8320
8321
  }
8321
8322
  function printPlayLogLines(input) {
@@ -8396,7 +8397,7 @@ async function waitForPlayCompletionByWatch(input) {
8396
8397
  ...input.fullJson === void 0 ? {} : { full: input.fullJson }
8397
8398
  });
8398
8399
  } catch (error) {
8399
- if (_chunk7P2QVMBPjs.isTransientPlayRunReadError.call(void 0, error) || isAdmittedRunVisibilityDelay(error)) {
8400
+ if (_chunkAD2WJUZAjs.isTransientPlayRunReadError.call(void 0, error) || isAdmittedRunVisibilityDelay(error)) {
8400
8401
  return null;
8401
8402
  }
8402
8403
  throw error;
@@ -8477,9 +8478,9 @@ async function waitForPlayCompletionByWatch(input) {
8477
8478
  signal: controller.signal,
8478
8479
  deferLogs: !input.emitLogs,
8479
8480
  omitTerminalLogs: !input.emitLogs,
8480
- ..._chunkUXQQPMYOjs.isCliTraceEnabled.call(void 0, ) ? {
8481
+ ..._chunk26DJ4BDYjs.isCliTraceEnabled.call(void 0, ) ? {
8481
8482
  onPoll: (observation) => {
8482
- _chunkUXQQPMYOjs.recordCliTrace.call(void 0, {
8483
+ _chunk26DJ4BDYjs.recordCliTrace.call(void 0, {
8483
8484
  phase: "play_watch_poll",
8484
8485
  workflowId: input.workflowId,
8485
8486
  ms: observation.durationMs,
@@ -8493,7 +8494,7 @@ async function waitForPlayCompletionByWatch(input) {
8493
8494
  full: input.fullJson,
8494
8495
  billing: false,
8495
8496
  onStatus: async (status) => {
8496
- _chunkUXQQPMYOjs.recordCliTrace.call(void 0, {
8497
+ _chunk26DJ4BDYjs.recordCliTrace.call(void 0, {
8497
8498
  phase: "play_watch_terminal_status",
8498
8499
  workflowId: input.workflowId,
8499
8500
  full: input.fullJson === true
@@ -8582,7 +8583,7 @@ async function startAndWaitForPlayCompletion(input) {
8582
8583
  signal: controller.signal,
8583
8584
  cliAdmission: useCliAdmission
8584
8585
  });
8585
- _chunkUXQQPMYOjs.recordCliTrace.call(void 0, {
8586
+ _chunk26DJ4BDYjs.recordCliTrace.call(void 0, {
8586
8587
  phase: "cli.play_start_admission_attempt",
8587
8588
  ms: Date.now() - postStartedAt,
8588
8589
  ok: true,
@@ -8594,7 +8595,7 @@ async function startAndWaitForPlayCompletion(input) {
8594
8595
  });
8595
8596
  break;
8596
8597
  } catch (error) {
8597
- _chunkUXQQPMYOjs.recordCliTrace.call(void 0, {
8598
+ _chunk26DJ4BDYjs.recordCliTrace.call(void 0, {
8598
8599
  phase: "cli.play_start_admission_attempt",
8599
8600
  ms: Date.now() - postStartedAt,
8600
8601
  ok: false,
@@ -8645,7 +8646,7 @@ async function startAndWaitForPlayCompletion(input) {
8645
8646
  prepared.workflowId
8646
8647
  );
8647
8648
  }
8648
- await _chunk5Z6EULD5js.checkPlayRunCompatibility.call(void 0,
8649
+ await _chunkQP333GFEjs.checkPlayRunCompatibility.call(void 0,
8649
8650
  input.client.baseUrl,
8650
8651
  input.maintenancePolicy
8651
8652
  );
@@ -8663,7 +8664,7 @@ async function startAndWaitForPlayCompletion(input) {
8663
8664
  `[play start] response was ambiguous; retrying the same caller intent (${error instanceof Error ? error.message : String(error)})`
8664
8665
  );
8665
8666
  }
8666
- _chunkUXQQPMYOjs.recordCliTrace.call(void 0, {
8667
+ _chunk26DJ4BDYjs.recordCliTrace.call(void 0, {
8667
8668
  phase: "cli.play_start_json_retry",
8668
8669
  ms: 0,
8669
8670
  ok: true,
@@ -8743,7 +8744,7 @@ async function startAndWaitForPlayCompletion(input) {
8743
8744
  _nullishCoalesce(input.open, () => ( false))
8744
8745
  );
8745
8746
  input.progress.phase("running");
8746
- _chunkUXQQPMYOjs.recordCliTrace.call(void 0, {
8747
+ _chunk26DJ4BDYjs.recordCliTrace.call(void 0, {
8747
8748
  phase: "cli.play_start_admitted",
8748
8749
  ms: Date.now() - startedAt,
8749
8750
  ok: true,
@@ -8761,7 +8762,7 @@ async function startAndWaitForPlayCompletion(input) {
8761
8762
  startedAt,
8762
8763
  waitTimeoutMs: input.waitTimeoutMs
8763
8764
  });
8764
- const initialStatus = _chunk7P2QVMBPjs.normalizePlayStatus.call(void 0, initialTerminal);
8765
+ const initialStatus = _chunkAD2WJUZAjs.normalizePlayStatus.call(void 0, initialTerminal);
8765
8766
  const status2 = await resolvePlayRunOutputStatus({
8766
8767
  client: input.client,
8767
8768
  status: initialStatus,
@@ -8769,7 +8770,7 @@ async function startAndWaitForPlayCompletion(input) {
8769
8770
  jsonOutput: input.jsonOutput,
8770
8771
  fromDurableStatus: true
8771
8772
  });
8772
- _chunkUXQQPMYOjs.recordCliTrace.call(void 0, {
8773
+ _chunk26DJ4BDYjs.recordCliTrace.call(void 0, {
8773
8774
  phase: "play_watch_terminal_status",
8774
8775
  workflowId,
8775
8776
  full: true,
@@ -8874,7 +8875,7 @@ async function startAndWaitForPlayCompletionByStream(input) {
8874
8875
  });
8875
8876
  }
8876
8877
  if (error instanceof _chunkRNSHCJMEjs.CliPlayAdmissionUnsupportedError && input.cliAdmission) {
8877
- await _chunk5Z6EULD5js.checkPlayRunCompatibility.call(void 0,
8878
+ await _chunkQP333GFEjs.checkPlayRunCompatibility.call(void 0,
8878
8879
  input.client.baseUrl,
8879
8880
  input.maintenancePolicy,
8880
8881
  admissionDeadline.signal
@@ -8915,7 +8916,7 @@ async function startAndWaitForPlayCompletionByStream(input) {
8915
8916
  `[play watch] start response was ambiguous; retrying the same caller intent (${error.message})`
8916
8917
  );
8917
8918
  }
8918
- _chunkUXQQPMYOjs.recordCliTrace.call(void 0, {
8919
+ _chunk26DJ4BDYjs.recordCliTrace.call(void 0, {
8919
8920
  phase: "cli.play_start_stream_retry",
8920
8921
  ms: 0,
8921
8922
  ok: true,
@@ -8936,7 +8937,7 @@ async function startAndWaitForPlayCompletionByStream(input) {
8936
8937
  `[play watch] start failed before run id with a transient error; retrying (${playStatusErrorText(status)})`
8937
8938
  );
8938
8939
  }
8939
- _chunkUXQQPMYOjs.recordCliTrace.call(void 0, {
8940
+ _chunk26DJ4BDYjs.recordCliTrace.call(void 0, {
8940
8941
  phase: "cli.play_start_stream_retry",
8941
8942
  ms: 0,
8942
8943
  ok: true,
@@ -8993,7 +8994,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
8993
8994
  if (launchConfirmed || !runId || runId === "pending") return;
8994
8995
  launchConfirmed = true;
8995
8996
  await _optionalChain([input, 'access', _313 => _313.onRunAdmitted, 'optionalCall', _314 => _314(runId)]);
8996
- _chunkUXQQPMYOjs.recordCliTrace.call(void 0, {
8997
+ _chunk26DJ4BDYjs.recordCliTrace.call(void 0, {
8997
8998
  phase: "cli.play_start_admitted",
8998
8999
  ms: Date.now() - startedAt,
8999
9000
  ok: true,
@@ -9027,7 +9028,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
9027
9028
  full: input.fullJson
9028
9029
  });
9029
9030
  } catch (error) {
9030
- if (_chunk7P2QVMBPjs.isTransientPlayRunReadError.call(void 0, error) || isAdmittedRunVisibilityDelay(error)) {
9031
+ if (_chunkAD2WJUZAjs.isTransientPlayRunReadError.call(void 0, error) || isAdmittedRunVisibilityDelay(error)) {
9031
9032
  return null;
9032
9033
  }
9033
9034
  throw error;
@@ -9198,7 +9199,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
9198
9199
  };
9199
9200
  }
9200
9201
  if (!canonicalTerminal) {
9201
- _chunkUXQQPMYOjs.recordCliTrace.call(void 0, {
9202
+ _chunk26DJ4BDYjs.recordCliTrace.call(void 0, {
9202
9203
  phase: "cli.play_start_stream_stale_terminal_ignored",
9203
9204
  ms: Date.now() - startedAt,
9204
9205
  ok: true,
@@ -9219,14 +9220,14 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
9219
9220
  fromDurableStatus
9220
9221
  }) : canonicalTerminal;
9221
9222
  if (input.fullJson === true) {
9222
- _chunkUXQQPMYOjs.recordCliTrace.call(void 0, {
9223
+ _chunk26DJ4BDYjs.recordCliTrace.call(void 0, {
9223
9224
  phase: "play_watch_terminal_status",
9224
9225
  workflowId: outputTerminal.runId || lastKnownWorkflowId || void 0,
9225
9226
  full: true,
9226
9227
  source: outputTerminal === canonicalTerminal ? fromDurableStatus ? "start_stream_durable" : "start_stream" : "durable_repair"
9227
9228
  });
9228
9229
  }
9229
- _chunkUXQQPMYOjs.recordCliTrace.call(void 0, {
9230
+ _chunk26DJ4BDYjs.recordCliTrace.call(void 0, {
9230
9231
  phase: "cli.play_start_stream_terminal",
9231
9232
  ms: Date.now() - startedAt,
9232
9233
  ok: true,
@@ -9246,7 +9247,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
9246
9247
  clearTimeout(timeout);
9247
9248
  }
9248
9249
  controller.abort();
9249
- _chunkUXQQPMYOjs.recordCliTrace.call(void 0, {
9250
+ _chunk26DJ4BDYjs.recordCliTrace.call(void 0, {
9250
9251
  phase: "cli.play_start_stream_handoff_to_tail",
9251
9252
  ms: Date.now() - startedAt,
9252
9253
  ok: true,
@@ -9277,7 +9278,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
9277
9278
  if (timedOut) {
9278
9279
  const terminal = await fetchKnownTerminalStatus();
9279
9280
  if (terminal) {
9280
- _chunkUXQQPMYOjs.recordCliTrace.call(void 0, {
9281
+ _chunk26DJ4BDYjs.recordCliTrace.call(void 0, {
9281
9282
  phase: "cli.play_start_stream_timeout_status_reconcile",
9282
9283
  ms: Date.now() - startedAt,
9283
9284
  ok: true,
@@ -9297,7 +9298,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
9297
9298
  lastPhase
9298
9299
  });
9299
9300
  }
9300
- if (lastKnownWorkflowId && (terminalWindowExpired || _chunk7P2QVMBPjs.isTransientPlayRunReadError.call(void 0, error))) {
9301
+ if (lastKnownWorkflowId && (terminalWindowExpired || _chunkAD2WJUZAjs.isTransientPlayRunReadError.call(void 0, error))) {
9301
9302
  if (timeout) {
9302
9303
  clearTimeout(timeout);
9303
9304
  }
@@ -9308,7 +9309,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
9308
9309
  `
9309
9310
  );
9310
9311
  }
9311
- _chunkUXQQPMYOjs.recordCliTrace.call(void 0, {
9312
+ _chunk26DJ4BDYjs.recordCliTrace.call(void 0, {
9312
9313
  phase: "cli.play_start_stream_reconnect",
9313
9314
  ms: Date.now() - startedAt,
9314
9315
  ok: true,
@@ -9335,7 +9336,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
9335
9336
  });
9336
9337
  }
9337
9338
  if (!lastKnownWorkflowId && isAmbiguousPlayStartOutcomeError(error)) {
9338
- _chunkUXQQPMYOjs.recordCliTrace.call(void 0, {
9339
+ _chunk26DJ4BDYjs.recordCliTrace.call(void 0, {
9339
9340
  phase: "cli.play_start_stream_transient_failure",
9340
9341
  ms: Date.now() - startedAt,
9341
9342
  ok: false,
@@ -9363,7 +9364,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
9363
9364
  `[play watch] start stream ended after run ${lastKnownWorkflowId}; reconnecting to canonical run stream`
9364
9365
  );
9365
9366
  }
9366
- _chunkUXQQPMYOjs.recordCliTrace.call(void 0, {
9367
+ _chunk26DJ4BDYjs.recordCliTrace.call(void 0, {
9367
9368
  phase: "cli.play_start_stream_reconnect",
9368
9369
  ms: Date.now() - startedAt,
9369
9370
  ok: true,
@@ -9443,7 +9444,7 @@ var BULKY_RETURN_KEYS = /* @__PURE__ */ new Set([
9443
9444
  "logs"
9444
9445
  ]);
9445
9446
  function formatPlayLogLine(rawLine, state) {
9446
- const classified = _chunk7P2QVMBPjs.classifyLogLine.call(void 0, rawLine);
9447
+ const classified = _chunkAD2WJUZAjs.classifyLogLine.call(void 0, rawLine);
9447
9448
  const line = classified.line;
9448
9449
  const timestampMatch = line.match(/^\[([^\]]+)\]\s*(.*)$/);
9449
9450
  const parsedTimestamp = _optionalChain([timestampMatch, 'optionalAccess', _336 => _336[1]]) ? new Date(timestampMatch[1]) : null;
@@ -9458,14 +9459,14 @@ function formatPlayLogLine(rawLine, state) {
9458
9459
  if (!state.verbose && isProviderRowWaitLogLine(line)) return null;
9459
9460
  const providerWait = formatProviderCapacityWaitLogLine(line);
9460
9461
  if (providerWait && !state.verbose) {
9461
- return _chunk7P2QVMBPjs.logLevelReaches.call(void 0, "warn", _nullishCoalesce(state.logLevel, () => ( "info"))) ? `${prefix}${providerWait}` : null;
9462
+ return _chunkAD2WJUZAjs.logLevelReaches.call(void 0, "warn", _nullishCoalesce(state.logLevel, () => ( "info"))) ? `${prefix}${providerWait}` : null;
9462
9463
  }
9463
9464
  const mapProgress = formatMapProgressDiagnosticLogLine(line);
9464
9465
  if (mapProgress && !state.verbose) {
9465
- return _chunk7P2QVMBPjs.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info"))) ? `${prefix}${mapProgress}` : null;
9466
+ return _chunkAD2WJUZAjs.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info"))) ? `${prefix}${mapProgress}` : null;
9466
9467
  }
9467
9468
  if (/\[worker\] picked up run\b/.test(message)) {
9468
- if (!_chunk7P2QVMBPjs.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info")))) {
9469
+ if (!_chunkAD2WJUZAjs.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info")))) {
9469
9470
  return null;
9470
9471
  }
9471
9472
  if (state.emittedRunnerStarted) {
@@ -9478,7 +9479,7 @@ function formatPlayLogLine(rawLine, state) {
9478
9479
  /^Starting map over (\d+) items with (\d+) fields \(key: ([^;]+); (\d+) already satisfied; (\d+) pending\)$/
9479
9480
  );
9480
9481
  if (mapStart) {
9481
- if (!_chunk7P2QVMBPjs.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info")))) {
9482
+ if (!_chunkAD2WJUZAjs.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info")))) {
9482
9483
  return null;
9483
9484
  }
9484
9485
  const [, rows, fields2, namespace, cached, pending] = mapStart;
@@ -9488,7 +9489,7 @@ function formatPlayLogLine(rawLine, state) {
9488
9489
  /^Map completed: (\d+) results \((\d+) executed, (\d+) already satisfied\)$/
9489
9490
  );
9490
9491
  if (mapDone) {
9491
- if (!_chunk7P2QVMBPjs.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info")))) {
9492
+ if (!_chunkAD2WJUZAjs.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info")))) {
9492
9493
  return null;
9493
9494
  }
9494
9495
  const [, results, executed, cached] = mapDone;
@@ -10788,7 +10789,7 @@ function formatRecentRunLogLines(value) {
10788
10789
  (line) => typeof line === "string"
10789
10790
  );
10790
10791
  if (tail.length === 0) return [];
10791
- const shown = tail.map((line) => _chunk7P2QVMBPjs.classifyLogLine.call(void 0, line)).filter(
10792
+ const shown = tail.map((line) => _chunkAD2WJUZAjs.classifyLogLine.call(void 0, line)).filter(
10792
10793
  (entry) => entry.level !== "debug" && !isProviderRowWaitLogLine(entry.line)
10793
10794
  ).slice(-8);
10794
10795
  const total = readNonNegativeInteger(logs.totalCount);
@@ -11086,11 +11087,11 @@ function buildPlayCompletionTextLines(status) {
11086
11087
  }
11087
11088
  function writePlayResult(status, jsonOutput, options) {
11088
11089
  const packaged = getPlayRunPackage(status);
11089
- if (status.package) _chunkKCKAFTPYjs.recordPlayTermination.call(void 0, buildRunOverview(status).run);
11090
+ if (status.package) _chunk5ARG7J7Ajs.recordPlayTermination.call(void 0, buildRunOverview(status).run);
11090
11091
  const hits = _nullishCoalesce(_optionalChain([options, 'optionalAccess', _424 => _424.hits]), () => ( null));
11091
11092
  if (jsonOutput) {
11092
11093
  const payload2 = _optionalChain([options, 'optionalAccess', _425 => _425.fullJson]) ? status.package ? buildRunOverview(status, status) : { ...buildRunLaunch(status), diagnostics: status } : buildRunLaunch(status);
11093
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
11094
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
11094
11095
  hits ? { ...payload2, hits } : payload2,
11095
11096
  { json: true, fields: _optionalChain([options, 'optionalAccess', _426 => _426.jsonFields]) }
11096
11097
  );
@@ -11106,7 +11107,7 @@ function writePlayResult(status, jsonOutput, options) {
11106
11107
  ...buildPlayCompletionTextLines(status),
11107
11108
  ...formatRunHitsLines(hits)
11108
11109
  ];
11109
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0, displayPackage, {
11110
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0, displayPackage, {
11110
11111
  json: false,
11111
11112
  text: `${lines2.join("\n")}
11112
11113
  `
@@ -11157,7 +11158,7 @@ function writePlayResult(status, jsonOutput, options) {
11157
11158
  lines.push(...buildBillingRollupTextLines(status));
11158
11159
  const compact = compactPlayStatus(status);
11159
11160
  const payload = _optionalChain([options, 'optionalAccess', _428 => _428.fullJson]) ? status : compact;
11160
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
11161
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
11161
11162
  {
11162
11163
  ...payload,
11163
11164
  render: {
@@ -11381,7 +11382,7 @@ async function fetchBackingDatasetRows(input) {
11381
11382
  }
11382
11383
  offset += page.rows.length;
11383
11384
  }
11384
- const withError = _chunkKCKAFTPYjs.tableExportHasFailedRows.call(void 0,
11385
+ const withError = _chunk5ARG7J7Ajs.tableExportHasFailedRows.call(void 0,
11385
11386
  sheetRows.filter(
11386
11387
  (row) => Boolean(row) && typeof row === "object" && !Array.isArray(row)
11387
11388
  )
@@ -11397,7 +11398,7 @@ async function fetchBackingDatasetRows(input) {
11397
11398
  return [
11398
11399
  withError ? {
11399
11400
  ...exported,
11400
- [_chunkKCKAFTPYjs.TABLE_EXPORT_ERROR_COLUMN]: _chunkKCKAFTPYjs.tableExportErrorCell.call(void 0,
11401
+ [_chunk5ARG7J7Ajs.TABLE_EXPORT_ERROR_COLUMN]: _chunk5ARG7J7Ajs.tableExportErrorCell.call(void 0,
11401
11402
  row
11402
11403
  )
11403
11404
  } : exported
@@ -11932,7 +11933,7 @@ function renderServerResultView(value) {
11932
11933
  function writeStartedPlayRun(input) {
11933
11934
  if (input.package && isPlayRunPackageValue(input.package)) {
11934
11935
  const run = input.package.run;
11935
- _chunkKCKAFTPYjs.recordPlayTermination.call(void 0, {
11936
+ _chunk5ARG7J7Ajs.recordPlayTermination.call(void 0, {
11936
11937
  id: run.id,
11937
11938
  status: run.status,
11938
11939
  finishedAt: run.finishedAt
@@ -11945,7 +11946,7 @@ function writeStartedPlayRun(input) {
11945
11946
  dashboardUrl: input.dashboardUrl,
11946
11947
  package: input.package
11947
11948
  };
11948
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0, buildRunLaunch(status), {
11949
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0, buildRunLaunch(status), {
11949
11950
  json: true,
11950
11951
  fields: input.jsonFields
11951
11952
  });
@@ -11967,7 +11968,7 @@ function writeStartedPlayRun(input) {
11967
11968
  input.progress.writeLine(output2, process.stdout);
11968
11969
  return;
11969
11970
  }
11970
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0, input.package, {
11971
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0, input.package, {
11971
11972
  json: false,
11972
11973
  text: `${output2}
11973
11974
  `
@@ -12002,7 +12003,7 @@ function writeStartedPlayRun(input) {
12002
12003
  ) ? [`Stop: deepline runs stop ${_chunkAID3OYVJjs.shellQuote.call(void 0, input.runId)}`] : []
12003
12004
  ];
12004
12005
  if (input.jsonOutput) {
12005
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0, payload, { json: true, fields: input.jsonFields });
12006
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0, payload, { json: true, fields: input.jsonFields });
12006
12007
  return;
12007
12008
  }
12008
12009
  const output = lines.join("\n");
@@ -12010,7 +12011,7 @@ function writeStartedPlayRun(input) {
12010
12011
  input.progress.writeLine(output, process.stdout);
12011
12012
  return;
12012
12013
  }
12013
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
12014
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
12014
12015
  {
12015
12016
  ...payload,
12016
12017
  render: { sections: [{ title: "play run", lines }] }
@@ -12020,7 +12021,7 @@ function writeStartedPlayRun(input) {
12020
12021
  );
12021
12022
  }
12022
12023
  function parsePlayCheckOptions(args) {
12023
- const selection = _chunkQKKU2FH4js.parseJsonFields.call(void 0, args, "check");
12024
+ const selection = _chunk75NAFY36js.parseJsonFields.call(void 0, args, "check");
12024
12025
  args = selection.args;
12025
12026
  const target = args[0];
12026
12027
  if (!target || target.startsWith("-")) {
@@ -12032,7 +12033,7 @@ function parsePlayCheckOptions(args) {
12032
12033
  if (arg !== "--json" && arg !== "--full")
12033
12034
  throw new Error(`Unknown plays check option: ${arg}`);
12034
12035
  }
12035
- const jsonOutput = _chunkQKKU2FH4js.argsWantJson.call(void 0, args);
12036
+ const jsonOutput = _chunk75NAFY36js.argsWantJson.call(void 0, args);
12036
12037
  return {
12037
12038
  target,
12038
12039
  jsonOutput,
@@ -12108,7 +12109,7 @@ ${PLAY_PUBLISH_USAGE}`
12108
12109
  useLatest,
12109
12110
  expectedArtifactHash,
12110
12111
  dryRun,
12111
- jsonOutput: _chunkQKKU2FH4js.argsWantJson.call(void 0, args)
12112
+ jsonOutput: _chunk75NAFY36js.argsWantJson.call(void 0, args)
12112
12113
  };
12113
12114
  }
12114
12115
  var PLAY_SAVE_USAGE = "Usage: deepline plays save <play-file.ts> [--expected-artifact <hash>] [--dry-run] [--json]";
@@ -12149,7 +12150,7 @@ ${PLAY_SAVE_USAGE}`);
12149
12150
  target,
12150
12151
  expectedArtifactHash,
12151
12152
  dryRun,
12152
- jsonOutput: _chunkQKKU2FH4js.argsWantJson.call(void 0, args)
12153
+ jsonOutput: _chunk75NAFY36js.argsWantJson.call(void 0, args)
12153
12154
  };
12154
12155
  }
12155
12156
  function printScheduledPlayCapacity(capacity) {
@@ -12360,7 +12361,7 @@ function printBundledRuntimeWarning(bundle) {
12360
12361
  async function handlePlayCheck(args) {
12361
12362
  const options = parsePlayCheckOptions(args);
12362
12363
  if (!isFileTarget(options.target)) {
12363
- const client = new (0, _chunkSMSQVRHEjs.DeeplineClient)();
12364
+ const client = new (0, _chunkDB54ROPHjs.DeeplineClient)();
12364
12365
  try {
12365
12366
  await assertCanonicalNamedPlayReference(client, options.target, {
12366
12367
  command: "check"
@@ -12389,7 +12390,7 @@ async function handlePlayCheck(args) {
12389
12390
  },
12390
12391
  ...options.full ? { diagnostics: { staticPipeline: _nullishCoalesce(play.staticPipeline, () => ( null)) } } : {}
12391
12392
  };
12392
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0, result, {
12393
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0, result, {
12393
12394
  json: options.jsonOutput,
12394
12395
  fields: options.jsonFields,
12395
12396
  text: renderPlayCheckOutput(result) + "\n"
@@ -12399,7 +12400,7 @@ async function handlePlayCheck(args) {
12399
12400
  const resolved = _path.resolve.call(void 0, options.target);
12400
12401
  const message = error instanceof Error && error.message ? error.message : `File not found: ${resolved}`;
12401
12402
  if (options.jsonOutput) {
12402
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
12403
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
12403
12404
  {
12404
12405
  kind: "play_check",
12405
12406
  checked: "named_contract",
@@ -12430,7 +12431,7 @@ async function handlePlayCheck(args) {
12430
12431
  detailsCommand: `deepline plays check ${_chunkAID3OYVJjs.shellQuote.call(void 0, options.target)} --full`,
12431
12432
  publishCommand: _optionalChain([primary, 'optionalAccess', _478 => _478.result, 'access', _479 => _479.artifactHash]) ? `deepline plays publish ${_chunkAID3OYVJjs.shellQuote.call(void 0, options.target)} --expected-artifact ${primary.result.artifactHash}` : void 0
12432
12433
  });
12433
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0, output, {
12434
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0, output, {
12434
12435
  json: options.jsonOutput,
12435
12436
  fields: options.jsonFields,
12436
12437
  text: renderPlayCheckOutput(output) + "\n"
@@ -12498,7 +12499,7 @@ async function checkOneExportedPlay(input) {
12498
12499
  }
12499
12500
  const playName = _nullishCoalesce(graph.root.playName, () => ( fallbackName));
12500
12501
  const authoringErrors = collectPlayGraphAuthoringErrors(graph);
12501
- const client = _nullishCoalesce(input.client, () => ( new (0, _chunkSMSQVRHEjs.DeeplineClient)()));
12502
+ const client = _nullishCoalesce(input.client, () => ( new (0, _chunkDB54ROPHjs.DeeplineClient)()));
12502
12503
  const integrationMode = resolveEvalIntegrationMode();
12503
12504
  const checked = await checkLocalPlayGraph({
12504
12505
  client,
@@ -12554,8 +12555,8 @@ async function handleFileBackedRun(options, hooks) {
12554
12555
  let prefetchClient;
12555
12556
  let admissionCapability;
12556
12557
  let cancelAdmissionCapability;
12557
- let cliAdmission = _chunk5Z6EULD5js.usesCliPlayAdmission.call(void 0, "plays run", process.argv.slice(2));
12558
- const progress = _nullishCoalesce(_chunkMJTK6Q3Gjs.getActiveCliProgress.call(void 0, ), () => ( _chunkMJTK6Q3Gjs.createCliProgress.call(void 0, !options.jsonOutput)));
12558
+ let cliAdmission = _chunkQP333GFEjs.usesCliPlayAdmission.call(void 0, "plays run", process.argv.slice(2));
12559
+ const progress = _nullishCoalesce(_chunkYJKKOSXSjs.getActiveCliProgress.call(void 0, ), () => ( _chunkYJKKOSXSjs.createCliProgress.call(void 0, !options.jsonOutput)));
12559
12560
  const reportError = _nullishCoalesce(_optionalChain([hooks, 'optionalAccess', _488 => _488.writeDryRunError]), () => ( ((error) => console.error(error instanceof Error ? error.message : String(error)))));
12560
12561
  const absolutePlayPath = _path.resolve.call(void 0, options.target.path);
12561
12562
  progress.phase("compiling play");
@@ -12572,11 +12573,11 @@ async function handleFileBackedRun(options, hooks) {
12572
12573
  return 1;
12573
12574
  }
12574
12575
  if (!options.dryRun && options.watch && cliAdmission && Boolean(options.runIdFile) && options.maxTotalCredits === null && !inputContainsLocalFilePath(runtimeInput)) {
12575
- const clientForPrefetch = new (0, _chunkSMSQVRHEjs.DeeplineClient)(playRunClientOptions(options));
12576
+ const clientForPrefetch = new (0, _chunkDB54ROPHjs.DeeplineClient)(playRunClientOptions(options));
12576
12577
  prefetchClient = clientForPrefetch;
12577
12578
  const capabilityController = new AbortController();
12578
12579
  cancelAdmissionCapability = () => capabilityController.abort();
12579
- admissionCapability = _chunkUXQQPMYOjs.traceCliSpan.call(void 0,
12580
+ admissionCapability = _chunk26DJ4BDYjs.traceCliSpan.call(void 0,
12580
12581
  "cli.play_admission_capability_prefetch",
12581
12582
  { targetKind: "file" },
12582
12583
  () => clientForPrefetch.prefetchPlayRunAdmissionCapability({
@@ -12587,7 +12588,7 @@ async function handleFileBackedRun(options, hooks) {
12587
12588
  }
12588
12589
  let graph;
12589
12590
  try {
12590
- graph = await _chunkUXQQPMYOjs.traceCliSpan.call(void 0,
12591
+ graph = await _chunk26DJ4BDYjs.traceCliSpan.call(void 0,
12591
12592
  "cli.play_file_bundle_graph",
12592
12593
  { targetKind: "file" },
12593
12594
  () => collectBundledPlayGraph(
@@ -12600,7 +12601,7 @@ async function handleFileBackedRun(options, hooks) {
12600
12601
  assertPlayGraphAuthoring(graph);
12601
12602
  if (options.dryRun) {
12602
12603
  progress.complete();
12603
- const plan = _chunk2W77YCKHjs.planLocalPlayExecution.call(void 0, graph, {
12604
+ const plan = _chunkF53SGS3Cjs.planLocalPlayExecution.call(void 0, graph, {
12604
12605
  runIdFile: options.runIdFile
12605
12606
  });
12606
12607
  if (_optionalChain([hooks, 'optionalAccess', _489 => _489.writeDryRunPlan])) hooks.writeDryRunPlan(plan);
@@ -12611,9 +12612,9 @@ async function handleFileBackedRun(options, hooks) {
12611
12612
  });
12612
12613
  return 0;
12613
12614
  }
12614
- client = _nullishCoalesce(prefetchClient, () => ( new (0, _chunkSMSQVRHEjs.DeeplineClient)(playRunClientOptions(options))));
12615
+ client = _nullishCoalesce(prefetchClient, () => ( new (0, _chunkDB54ROPHjs.DeeplineClient)(playRunClientOptions(options))));
12615
12616
  if (cliAdmission && (graph.root.importedPlayDependencies.length > 0 || inputContainsLocalFilePath(runtimeInput))) {
12616
- await _chunk5Z6EULD5js.checkPlayRunCompatibility.call(void 0,
12617
+ await _chunkQP333GFEjs.checkPlayRunCompatibility.call(void 0,
12617
12618
  client.baseUrl,
12618
12619
  options.maintenancePolicy
12619
12620
  );
@@ -12626,7 +12627,7 @@ async function handleFileBackedRun(options, hooks) {
12626
12627
  });
12627
12628
  const canDeferCompilerManifest = graph.root.importedPlayDependencies.length === 0 && !sourceGraphMentionsRunPlay(graph.root) && !inputContainsLocalFilePath(runtimeInput);
12628
12629
  if (canDeferCompilerManifest) {
12629
- _chunkUXQQPMYOjs.recordCliTrace.call(void 0, {
12630
+ _chunk26DJ4BDYjs.recordCliTrace.call(void 0, {
12630
12631
  phase: "cli.play_file_compile_manifests",
12631
12632
  ms: 0,
12632
12633
  ok: true,
@@ -12635,7 +12636,7 @@ async function handleFileBackedRun(options, hooks) {
12635
12636
  reason: "validated_by_run_route"
12636
12637
  });
12637
12638
  } else {
12638
- await _chunkUXQQPMYOjs.traceCliSpan.call(void 0,
12639
+ await _chunk26DJ4BDYjs.traceCliSpan.call(void 0,
12639
12640
  "cli.play_file_compile_manifests",
12640
12641
  { targetKind: "file", skipped: false },
12641
12642
  () => compileBundledPlayGraphManifests(client, graph)
@@ -12643,7 +12644,7 @@ async function handleFileBackedRun(options, hooks) {
12643
12644
  }
12644
12645
  progress.phase("compiled play");
12645
12646
  } catch (error) {
12646
- if (error instanceof _chunkKCKAFTPYjs.ExecutionOutputError) throw error;
12647
+ if (error instanceof _chunk5ARG7J7Ajs.ExecutionOutputError) throw error;
12647
12648
  progress.fail();
12648
12649
  reportError(normalizePlayValidationError(error));
12649
12650
  return 1;
@@ -12654,13 +12655,13 @@ async function handleFileBackedRun(options, hooks) {
12654
12655
  if (bundleResult.importedPlayDependencies.length > 0) {
12655
12656
  try {
12656
12657
  renderLocalPlayExecutionPlan(
12657
- _chunk2W77YCKHjs.planLocalPlayExecution.call(void 0, graph, { runIdFile: options.runIdFile })
12658
+ _chunkF53SGS3Cjs.planLocalPlayExecution.call(void 0, graph, { runIdFile: options.runIdFile })
12658
12659
  );
12659
12660
  progress.phase("pinning imported plays");
12660
- graph = await _chunkUXQQPMYOjs.traceCliSpan.call(void 0,
12661
+ graph = await _chunk26DJ4BDYjs.traceCliSpan.call(void 0,
12661
12662
  "cli.play_file_pin_imports",
12662
12663
  { targetKind: "file" },
12663
- () => _chunk2W77YCKHjs.pinLocalPlayImports.call(void 0, client, graph)
12664
+ () => _chunkF53SGS3Cjs.pinLocalPlayImports.call(void 0, client, graph)
12664
12665
  );
12665
12666
  bundleResult = graph.root;
12666
12667
  } catch (error) {
@@ -12676,7 +12677,7 @@ async function handleFileBackedRun(options, hooks) {
12676
12677
  const fileInputBindings = _chunkRNSHCJMEjs.fileInputBindingsFromStaticPipeline.call(void 0,
12677
12678
  _optionalChain([compilerManifest, 'optionalAccess', _490 => _490.staticPipeline])
12678
12679
  );
12679
- const stagedFileInputs = await _chunkUXQQPMYOjs.traceCliSpan.call(void 0,
12680
+ const stagedFileInputs = await _chunk26DJ4BDYjs.traceCliSpan.call(void 0,
12680
12681
  "cli.play_stage_inputs",
12681
12682
  {
12682
12683
  targetKind: "file",
@@ -12723,7 +12724,7 @@ async function handleFileBackedRun(options, hooks) {
12723
12724
  };
12724
12725
  if (options.watch) {
12725
12726
  progress.phase("starting run");
12726
- const finalStatus = await _chunkUXQQPMYOjs.traceCliSpan.call(void 0,
12727
+ const finalStatus = await _chunk26DJ4BDYjs.traceCliSpan.call(void 0,
12727
12728
  "cli.play_start_watch",
12728
12729
  { targetKind: "file", playName },
12729
12730
  () => (options.runIdFile ? startAndWaitForPlayCompletionByStream : startAndWaitForPlayCompletion)({
@@ -12785,7 +12786,7 @@ async function handleFileBackedRun(options, hooks) {
12785
12786
  return outputStatus.status === "completed" ? 0 : 1;
12786
12787
  }
12787
12788
  progress.phase("starting run");
12788
- const started = await _chunkUXQQPMYOjs.traceCliSpan.call(void 0,
12789
+ const started = await _chunk26DJ4BDYjs.traceCliSpan.call(void 0,
12789
12790
  "cli.play_start_unwatched",
12790
12791
  { targetKind: "file", playName },
12791
12792
  () => client.startPlayRun(startRequest, { onSubmission: _optionalChain([hooks, 'optionalAccess', _497 => _497.onSubmission]) }).catch(async (error) => {
@@ -12851,9 +12852,9 @@ async function handleNamedRun(options, hooks) {
12851
12852
  if (options.target.kind !== "name") {
12852
12853
  throw new Error("Expected a named play run target.");
12853
12854
  }
12854
- const client = new (0, _chunkSMSQVRHEjs.DeeplineClient)(playRunClientOptions(options));
12855
- let cliAdmission = _chunk5Z6EULD5js.usesCliPlayAdmission.call(void 0, "plays run", process.argv.slice(2));
12856
- const progress = _nullishCoalesce(_chunkMJTK6Q3Gjs.getActiveCliProgress.call(void 0, ), () => ( _chunkMJTK6Q3Gjs.createCliProgress.call(void 0, !options.jsonOutput)));
12855
+ const client = new (0, _chunkDB54ROPHjs.DeeplineClient)(playRunClientOptions(options));
12856
+ let cliAdmission = _chunkQP333GFEjs.usesCliPlayAdmission.call(void 0, "plays run", process.argv.slice(2));
12857
+ const progress = _nullishCoalesce(_chunkYJKKOSXSjs.getActiveCliProgress.call(void 0, ), () => ( _chunkYJKKOSXSjs.createCliProgress.call(void 0, !options.jsonOutput)));
12857
12858
  const playName = options.target.name;
12858
12859
  const runtimeInput = options.input ? { ...options.input } : {};
12859
12860
  try {
@@ -12871,7 +12872,7 @@ async function handleNamedRun(options, hooks) {
12871
12872
  if (options.watch && cliAdmission && Boolean(options.runIdFile) && options.maxTotalCredits === null && !needsPlayDefinition && !inputContainsLocalFilePath(runtimeInput)) {
12872
12873
  const capabilityController = new AbortController();
12873
12874
  cancelAdmissionCapability = () => capabilityController.abort();
12874
- admissionCapability = _chunkUXQQPMYOjs.traceCliSpan.call(void 0,
12875
+ admissionCapability = _chunk26DJ4BDYjs.traceCliSpan.call(void 0,
12875
12876
  "cli.play_admission_capability_prefetch",
12876
12877
  { targetKind: "name", playName },
12877
12878
  () => client.prefetchPlayRunAdmissionCapability({
@@ -12882,14 +12883,14 @@ async function handleNamedRun(options, hooks) {
12882
12883
  }
12883
12884
  const playDetail = needsPlayDefinition ? await (async () => {
12884
12885
  progress.phase("loading play definition");
12885
- return _chunkUXQQPMYOjs.traceCliSpan.call(void 0,
12886
+ return _chunk26DJ4BDYjs.traceCliSpan.call(void 0,
12886
12887
  "cli.play_load_definition",
12887
12888
  { targetKind: "name", playName, skipped: false },
12888
12889
  () => assertCanonicalNamedPlayReference(client, playName, {
12889
12890
  command: "run"
12890
12891
  })
12891
12892
  );
12892
- })() : (_chunkUXQQPMYOjs.recordCliTrace.call(void 0, {
12893
+ })() : (_chunk26DJ4BDYjs.recordCliTrace.call(void 0, {
12893
12894
  phase: "cli.play_load_definition",
12894
12895
  ms: 0,
12895
12896
  ok: true,
@@ -12898,7 +12899,7 @@ async function handleNamedRun(options, hooks) {
12898
12899
  skipped: true
12899
12900
  }), null);
12900
12901
  progress.phase("selecting revision");
12901
- const selectedRevisionId = await _chunkUXQQPMYOjs.traceCliSpan.call(void 0,
12902
+ const selectedRevisionId = await _chunk26DJ4BDYjs.traceCliSpan.call(void 0,
12902
12903
  "cli.play_select_revision",
12903
12904
  {
12904
12905
  targetKind: "name",
@@ -12923,10 +12924,10 @@ async function handleNamedRun(options, hooks) {
12923
12924
  ..._chunkRNSHCJMEjs.fileInputBindingsFromStaticPipeline.call(void 0, playDetail.play.staticPipeline)
12924
12925
  ] : [];
12925
12926
  if (cliAdmission && fileInputBindings.length > 0) {
12926
- await _chunk5Z6EULD5js.checkPlayRunCompatibility.call(void 0, client.baseUrl, options.maintenancePolicy);
12927
+ await _chunkQP333GFEjs.checkPlayRunCompatibility.call(void 0, client.baseUrl, options.maintenancePolicy);
12927
12928
  cliAdmission = false;
12928
12929
  }
12929
- const stagedFileInputs = await _chunkUXQQPMYOjs.traceCliSpan.call(void 0,
12930
+ const stagedFileInputs = await _chunk26DJ4BDYjs.traceCliSpan.call(void 0,
12930
12931
  "cli.play_stage_inputs",
12931
12932
  {
12932
12933
  targetKind: "name",
@@ -12970,7 +12971,7 @@ async function handleNamedRun(options, hooks) {
12970
12971
  });
12971
12972
  if (options.watch) {
12972
12973
  progress.phase("starting run");
12973
- const finalStatus = await _chunkUXQQPMYOjs.traceCliSpan.call(void 0,
12974
+ const finalStatus = await _chunk26DJ4BDYjs.traceCliSpan.call(void 0,
12974
12975
  "cli.play_start_watch",
12975
12976
  { targetKind: "name", playName },
12976
12977
  () => (options.runIdFile ? startAndWaitForPlayCompletionByStream : startAndWaitForPlayCompletion)({
@@ -13035,7 +13036,7 @@ async function handleNamedRun(options, hooks) {
13035
13036
  return outputStatus.status === "completed" ? 0 : 1;
13036
13037
  }
13037
13038
  progress.phase("starting run");
13038
- const started = await _chunkUXQQPMYOjs.traceCliSpan.call(void 0,
13039
+ const started = await _chunk26DJ4BDYjs.traceCliSpan.call(void 0,
13039
13040
  "cli.play_start_unwatched",
13040
13041
  { targetKind: "name", playName },
13041
13042
  () => client.startPlayRun(startRequest, { onSubmission: _optionalChain([hooks, 'optionalAccess', _510 => _510.onSubmission]) }).catch(async (error) => {
@@ -13095,7 +13096,7 @@ async function writePlayRunReceipt(client, status, output) {
13095
13096
  const next = { status: `deepline runs get ${status.runId}` };
13096
13097
  const playName = _nullishCoalesce(_nullishCoalesce(_optionalChain([/^play\/(.+)\/run\//, 'access', _518 => _518.exec, 'call', _519 => _519(status.runId), 'optionalAccess', _520 => _520[1]]), () => ( extractRunPlayName(status))), () => ( null));
13097
13098
  if (!terminal) {
13098
- _chunkKCKAFTPYjs.writeExecutionOutput.call(void 0,
13099
+ _chunk5ARG7J7Ajs.writeExecutionOutput.call(void 0,
13099
13100
  {
13100
13101
  id: status.runId,
13101
13102
  status: status.status,
@@ -13175,10 +13176,10 @@ async function writePlayRunReceipt(client, status, output) {
13175
13176
  };
13176
13177
  }
13177
13178
  const byRows = new Map(collections.map((c) => [c.rows, c]));
13178
- const allCollections = _chunkKCKAFTPYjs.outputCollections.call(void 0, data).map(
13179
+ const allCollections = _chunk5ARG7J7Ajs.outputCollections.call(void 0, data).map(
13179
13180
  (collection) => _nullishCoalesce(byRows.get(collection.rows), () => ( collection))
13180
13181
  );
13181
- _chunkKCKAFTPYjs.writeExecutionOutput.call(void 0,
13182
+ _chunk5ARG7J7Ajs.writeExecutionOutput.call(void 0,
13182
13183
  {
13183
13184
  id: status.runId,
13184
13185
  status: status.status,
@@ -13199,7 +13200,7 @@ async function writePlayRunReceipt(client, status, output) {
13199
13200
  }
13200
13201
  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;
13201
13202
  async function handlePlayRun(args, hooks) {
13202
- const parsedOptions = Array.isArray(args) ? _chunkUSTJEENDjs.parsePlayRunOptions.call(void 0, args) : args;
13203
+ const parsedOptions = Array.isArray(args) ? _chunkPRIHD5XSjs.parsePlayRunOptions.call(void 0, args) : args;
13203
13204
  const options = parsedOptions.runIdFile ? {
13204
13205
  ...parsedOptions,
13205
13206
  runIdFile: parsedOptions.dryRun ? _path.resolve.call(void 0, parsedOptions.runIdFile) : await preflightRunIdFile(parsedOptions.runIdFile)
@@ -13216,7 +13217,7 @@ async function handlePlayRun(args, hooks) {
13216
13217
  JSON.stringify({
13217
13218
  version: 1,
13218
13219
  admissionState: "submitted_unknown",
13219
- baseUrl: new (0, _chunkSMSQVRHEjs.DeeplineClient)().baseUrl,
13220
+ baseUrl: new (0, _chunkDB54ROPHjs.DeeplineClient)().baseUrl,
13220
13221
  ...intent
13221
13222
  })
13222
13223
  );
@@ -13450,7 +13451,7 @@ function renderRunOverviewText(overview, extras = {}) {
13450
13451
  );
13451
13452
  return `${lines.join("\n")}
13452
13453
 
13453
- ${_chunkQKKU2FH4js.renderCommandEnvelopeText.call(void 0, { render: { sections, actions: actions2 } })}`;
13454
+ ${_chunk75NAFY36js.renderCommandEnvelopeText.call(void 0, { render: { sections, actions: actions2 } })}`;
13454
13455
  }
13455
13456
  var RUN_READ_TIMING_PROGRESS_INTERVAL_MS = 15e3;
13456
13457
  async function withRunReadTiming(command, stage, enabled, action) {
@@ -13474,7 +13475,7 @@ async function withRunReadTiming(command, stage, enabled, action) {
13474
13475
  }
13475
13476
  }
13476
13477
  async function handleRunGet(args) {
13477
- const selection = _chunkQKKU2FH4js.parseJsonFields.call(void 0,
13478
+ const selection = _chunk75NAFY36js.parseJsonFields.call(void 0,
13478
13479
  args,
13479
13480
  args.includes("--config") ? "config" : "get"
13480
13481
  );
@@ -13487,7 +13488,7 @@ async function handleRunGet(args) {
13487
13488
  console.error(error instanceof Error ? error.message : usage2);
13488
13489
  return 1;
13489
13490
  }
13490
- const client = new (0, _chunkSMSQVRHEjs.DeeplineClient)();
13491
+ const client = new (0, _chunkDB54ROPHjs.DeeplineClient)();
13491
13492
  const timing = args.includes("--timing");
13492
13493
  const web = args.includes("--web");
13493
13494
  if (web || args.includes("--web-url")) {
@@ -13505,8 +13506,8 @@ async function handleRunGet(args) {
13505
13506
  const dashboardUrl2 = _chunkNTLBZUHDjs.buildPlayDashboardUrl.call(void 0, client.baseUrl, playName2);
13506
13507
  const runUrl2 = _chunkNTLBZUHDjs.buildPlayRunUrl.call(void 0, client.baseUrl, playName2, runId);
13507
13508
  if (web) {
13508
- const opened = _chunkQKKU2FH4js.openInBrowser.call(void 0, runUrl2);
13509
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
13509
+ const opened = _chunk75NAFY36js.openInBrowser.call(void 0, runUrl2);
13510
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
13510
13511
  { dashboardUrl: dashboardUrl2, runUrl: runUrl2, opened: opened === "opened" },
13511
13512
  {
13512
13513
  json: args.includes("--json"),
@@ -13517,7 +13518,7 @@ async function handleRunGet(args) {
13517
13518
  );
13518
13519
  return 0;
13519
13520
  }
13520
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
13521
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
13521
13522
  { dashboardUrl: dashboardUrl2, runUrl: runUrl2 },
13522
13523
  { json: args.includes("--json"), text: `${runUrl2}
13523
13524
  ` }
@@ -13542,7 +13543,7 @@ async function handleRunGet(args) {
13542
13543
  "This server does not support recorded configuration reads."
13543
13544
  );
13544
13545
  }
13545
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
13546
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
13546
13547
  { runId, contract: _nullishCoalesce(status2.contract, () => ( null)) },
13547
13548
  { json: true, fields: selection.fields }
13548
13549
  );
@@ -13555,7 +13556,7 @@ async function handleRunGet(args) {
13555
13556
  timing,
13556
13557
  () => client.getRunInput(runId)
13557
13558
  );
13558
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0, input, { json: true });
13559
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0, input, { json: true });
13559
13560
  return 0;
13560
13561
  }
13561
13562
  const full = args.includes("--full");
@@ -13568,7 +13569,7 @@ async function handleRunGet(args) {
13568
13569
  failedLogs: args.includes("--log-failed")
13569
13570
  })
13570
13571
  );
13571
- if (status.package) _chunkKCKAFTPYjs.recordPlayTermination.call(void 0, buildRunOverview(status).run);
13572
+ if (status.package) _chunk5ARG7J7Ajs.recordPlayTermination.call(void 0, buildRunOverview(status).run);
13572
13573
  if (!status.package) {
13573
13574
  const legacyStatus = full ? await withRunReadTiming(
13574
13575
  "runs get",
@@ -13582,8 +13583,8 @@ async function handleRunGet(args) {
13582
13583
  const legacyPlayName = resolveRunPlayName(legacyStatus, runId);
13583
13584
  const legacyDashboardUrl = legacyPlayName ? _chunkNTLBZUHDjs.buildPlayDashboardUrl.call(void 0, client.baseUrl, legacyPlayName) : null;
13584
13585
  const legacyRunUrl = legacyPlayName ? _chunkNTLBZUHDjs.buildPlayRunUrl.call(void 0, client.baseUrl, legacyPlayName, runId) : null;
13585
- if (_chunkQKKU2FH4js.argsWantJson.call(void 0, args)) {
13586
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
13586
+ if (_chunk75NAFY36js.argsWantJson.call(void 0, args)) {
13587
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
13587
13588
  {
13588
13589
  ...full ? legacyStatus : compactPlayStatus(legacyStatus),
13589
13590
  ...legacyDashboardUrl ? { dashboardUrl: legacyDashboardUrl } : {},
@@ -13594,7 +13595,7 @@ async function handleRunGet(args) {
13594
13595
  } else {
13595
13596
  writePlayResult(legacyStatus, false, { fullJson: full });
13596
13597
  if (legacyRunUrl)
13597
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
13598
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
13598
13599
  { dashboardUrl: legacyDashboardUrl, runUrl: legacyRunUrl },
13599
13600
  { json: false, text: `run page: ${legacyRunUrl}
13600
13601
  ` }
@@ -13624,11 +13625,11 @@ async function handleRunGet(args) {
13624
13625
  )
13625
13626
  ]);
13626
13627
  const hitLines = formatRunHitsLines(hits);
13627
- const json = _chunkQKKU2FH4js.argsWantJson.call(void 0, args);
13628
+ const json = _chunk75NAFY36js.argsWantJson.call(void 0, args);
13628
13629
  const playName = resolveRunPlayName(status, runId);
13629
13630
  const dashboardUrl = playName ? _chunkNTLBZUHDjs.buildPlayDashboardUrl.call(void 0, client.baseUrl, playName) : void 0;
13630
13631
  const runUrl = playName ? _chunkNTLBZUHDjs.buildPlayRunUrl.call(void 0, client.baseUrl, playName, runId) : void 0;
13631
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
13632
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
13632
13633
  {
13633
13634
  ...overview,
13634
13635
  ...dashboardUrl ? { dashboardUrl } : {},
@@ -13733,9 +13734,9 @@ async function handleRunLifecycleStatus(args) {
13733
13734
  console.error(error instanceof Error ? error.message : usage2);
13734
13735
  return 1;
13735
13736
  }
13736
- const status = await new (0, _chunkSMSQVRHEjs.DeeplineClient)().runs.status(runId);
13737
- if (_chunkQKKU2FH4js.argsWantJson.call(void 0, args)) {
13738
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0, status, { json: true });
13737
+ const status = await new (0, _chunkDB54ROPHjs.DeeplineClient)().runs.status(runId);
13738
+ if (_chunk75NAFY36js.argsWantJson.call(void 0, args)) {
13739
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0, status, { json: true });
13739
13740
  return 0;
13740
13741
  }
13741
13742
  if (!status.available) {
@@ -13778,7 +13779,7 @@ async function handleRunsRerun(args) {
13778
13779
  console.error(error instanceof Error ? error.message : usage2);
13779
13780
  return 1;
13780
13781
  }
13781
- const options = { json: _chunkQKKU2FH4js.argsWantJson.call(void 0, args) };
13782
+ const options = { json: _chunk75NAFY36js.argsWantJson.call(void 0, args) };
13782
13783
  for (let index = 0; index < args.length; index += 1) {
13783
13784
  if (args[index] === "--idempotency-key") {
13784
13785
  options.idempotencyKey = _nullishCoalesce(args[++index], () => ( ""));
@@ -13844,8 +13845,8 @@ ${usage2}
13844
13845
  Discover Plays: ${next.discover}
13845
13846
  Active runs: ${next.running}`
13846
13847
  );
13847
- if (_chunkQKKU2FH4js.argsWantJson.call(void 0, args)) {
13848
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
13848
+ if (_chunk75NAFY36js.argsWantJson.call(void 0, args)) {
13849
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
13849
13850
  { ok: false, exitCode: 1, code: "RUN_FILTER_REQUIRED", message, next },
13850
13851
  { json: true }
13851
13852
  );
@@ -13860,7 +13861,7 @@ Active runs: ${next.running}`
13860
13861
  console.error("--offset requires --play.");
13861
13862
  return 1;
13862
13863
  }
13863
- const client = new (0, _chunkSMSQVRHEjs.DeeplineClient)();
13864
+ const client = new (0, _chunkDB54ROPHjs.DeeplineClient)();
13864
13865
  const page = await withRunReadTiming(
13865
13866
  "runs list",
13866
13867
  "run inventory",
@@ -13927,14 +13928,14 @@ Active runs: ${next.running}`
13927
13928
  return lines2.join("\n");
13928
13929
  });
13929
13930
  const nextOffset = (_nullishCoalesce(_nullishCoalesce(page.offset, () => ( offset)), () => ( 0))) + runs.length;
13930
- const nextPage = page.hasMore && playName ? `deepline runs list --play ${_chunkAID3OYVJjs.shellQuote.call(void 0, playName)}${nodeId ? ` --node ${_chunkAID3OYVJjs.shellQuote.call(void 0, nodeId)}` : ""}${statusFilter ? ` --status ${_chunkAID3OYVJjs.shellQuote.call(void 0, statusFilter)}` : ""} --limit ${_nullishCoalesce(_nullishCoalesce(page.limit, () => ( limit)), () => ( 20))} --offset ${nextOffset}${_chunkQKKU2FH4js.argsWantJson.call(void 0, args) ? " --json" : ""}` : null;
13931
+ const nextPage = page.hasMore && playName ? `deepline runs list --play ${_chunkAID3OYVJjs.shellQuote.call(void 0, playName)}${nodeId ? ` --node ${_chunkAID3OYVJjs.shellQuote.call(void 0, nodeId)}` : ""}${statusFilter ? ` --status ${_chunkAID3OYVJjs.shellQuote.call(void 0, statusFilter)}` : ""} --limit ${_nullishCoalesce(_nullishCoalesce(page.limit, () => ( limit)), () => ( 20))} --offset ${nextOffset}${_chunk75NAFY36js.argsWantJson.call(void 0, args) ? " --json" : ""}` : null;
13931
13932
  if (page.hasMore) {
13932
13933
  lines.push("List truncated \u2014 more runs match this filter.");
13933
13934
  lines.push(
13934
13935
  nextPage ? `Next page: ${nextPage}` : "Narrow with --play <play-name> to page through runs."
13935
13936
  );
13936
13937
  }
13937
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
13938
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
13938
13939
  {
13939
13940
  runs,
13940
13941
  count: runs.length,
@@ -13948,7 +13949,7 @@ Active runs: ${next.running}`
13948
13949
  },
13949
13950
  render: { sections: [{ title: "runs", lines }] }
13950
13951
  },
13951
- { json: _chunkQKKU2FH4js.argsWantJson.call(void 0, args) }
13952
+ { json: _chunk75NAFY36js.argsWantJson.call(void 0, args) }
13952
13953
  );
13953
13954
  return 0;
13954
13955
  }
@@ -13978,7 +13979,7 @@ async function handleRunTail(args) {
13978
13979
  console.error("--log-level requires one of: debug, info, warn, error.");
13979
13980
  return 1;
13980
13981
  }
13981
- const parsed = _chunk7P2QVMBPjs.parseLogLevel.call(void 0, value);
13982
+ const parsed = _chunkAD2WJUZAjs.parseLogLevel.call(void 0, value);
13982
13983
  if (!parsed) {
13983
13984
  console.error(
13984
13985
  `Unsupported --log-level ${JSON.stringify(value)}. Use debug, info, warn, or error.`
@@ -14016,9 +14017,9 @@ async function handleRunTail(args) {
14016
14017
  );
14017
14018
  return 1;
14018
14019
  }
14019
- const client = new (0, _chunkSMSQVRHEjs.DeeplineClient)();
14020
+ const client = new (0, _chunkDB54ROPHjs.DeeplineClient)();
14020
14021
  const jsonLines = args.includes("--jsonl");
14021
- const jsonOutput = !jsonLines && _chunkQKKU2FH4js.argsWantJson.call(void 0, args);
14022
+ const jsonOutput = !jsonLines && _chunk75NAFY36js.argsWantJson.call(void 0, args);
14022
14023
  const compact = args.includes("--compact");
14023
14024
  const showLiveLogs = debug || hasExplicitLogLevel || !jsonOutput && !compact;
14024
14025
  const compactState = {
@@ -14099,7 +14100,7 @@ async function handleRunLogs(args) {
14099
14100
  ]);
14100
14101
  const cursorIndex = args.indexOf("--cursor");
14101
14102
  const cursorValue = cursorIndex >= 0 ? args[cursorIndex + 1] : void 0;
14102
- const continuesEventSearch = cursorIndex >= 0 && !(cursorValue && _chunk7P2QVMBPjs.isRunLogsCursor.call(void 0, cursorValue));
14103
+ const continuesEventSearch = cursorIndex >= 0 && !(cursorValue && _chunkAD2WJUZAjs.isRunLogsCursor.call(void 0, cursorValue));
14103
14104
  if (!args[0] || args[0].startsWith("--") || continuesEventSearch || args.some((arg) => searchFlags.has(arg))) {
14104
14105
  return handleRunEventSearch(args);
14105
14106
  }
@@ -14133,7 +14134,7 @@ async function handleRunLogs(args) {
14133
14134
  console.error("--log-level requires one of: debug, info, warn, error.");
14134
14135
  return 1;
14135
14136
  }
14136
- const parsed = _chunk7P2QVMBPjs.parseLogLevel.call(void 0, value);
14137
+ const parsed = _chunkAD2WJUZAjs.parseLogLevel.call(void 0, value);
14137
14138
  if (!parsed) {
14138
14139
  console.error(
14139
14140
  `Unsupported --log-level ${JSON.stringify(value)}. Use debug, info, warn, or error.`
@@ -14180,12 +14181,12 @@ async function handleRunLogs(args) {
14180
14181
  );
14181
14182
  return 1;
14182
14183
  }
14183
- const client = new (0, _chunkSMSQVRHEjs.DeeplineClient)();
14184
+ const client = new (0, _chunkDB54ROPHjs.DeeplineClient)();
14184
14185
  if (outPath) {
14185
14186
  const result2 = await client.runs.logs(runId, { all: true });
14186
- const logs = result2.entries.filter((line) => _chunk7P2QVMBPjs.logLevelReaches.call(void 0, _chunk7P2QVMBPjs.classifyLogLine.call(void 0, line).level, logLevel)).map((line) => _chunk7P2QVMBPjs.classifyLogLine.call(void 0, line).line);
14187
+ const logs = result2.entries.filter((line) => _chunkAD2WJUZAjs.logLevelReaches.call(void 0, _chunkAD2WJUZAjs.classifyLogLine.call(void 0, line).level, logLevel)).map((line) => _chunkAD2WJUZAjs.classifyLogLine.call(void 0, line).line);
14187
14188
  _fs.writeFileSync.call(void 0, outPath, `${logs.join("\n")}${logs.length > 0 ? "\n" : ""}`);
14188
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
14189
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
14189
14190
  {
14190
14191
  runId: result2.runId,
14191
14192
  log_path: outPath,
@@ -14208,7 +14209,7 @@ async function handleRunLogs(args) {
14208
14209
  ]
14209
14210
  }
14210
14211
  },
14211
- { json: _chunkQKKU2FH4js.argsWantJson.call(void 0, args) }
14212
+ { json: _chunk75NAFY36js.argsWantJson.call(void 0, args) }
14212
14213
  );
14213
14214
  return 0;
14214
14215
  }
@@ -14239,7 +14240,7 @@ async function handleRunLogs(args) {
14239
14240
  }
14240
14241
  };
14241
14242
  const text = buildRunLogsText(filteredResult);
14242
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
14243
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
14243
14244
  {
14244
14245
  runId: result.runId,
14245
14246
  totalCount: result.totalCount,
@@ -14263,7 +14264,7 @@ async function handleRunLogs(args) {
14263
14264
  render: { sections: [{ title: "run logs", lines: entries }] }
14264
14265
  },
14265
14266
  {
14266
- json: _chunkQKKU2FH4js.argsWantJson.call(void 0, args),
14267
+ json: _chunk75NAFY36js.argsWantJson.call(void 0, args),
14267
14268
  text
14268
14269
  }
14269
14270
  );
@@ -14287,7 +14288,7 @@ function selectRunLogTailPage(result, logLevel, limit) {
14287
14288
  );
14288
14289
  }
14289
14290
  const matching = result.entries.map((line, index) => ({ line, seq: first + index })).filter(
14290
- (entry) => _chunk7P2QVMBPjs.logLevelReaches.call(void 0, _chunk7P2QVMBPjs.classifyLogLine.call(void 0, entry.line).level, logLevel)
14291
+ (entry) => _chunkAD2WJUZAjs.logLevelReaches.call(void 0, _chunkAD2WJUZAjs.classifyLogLine.call(void 0, entry.line).level, logLevel)
14291
14292
  );
14292
14293
  const selected = matching.slice(-limit);
14293
14294
  const olderMatchesExist = matching.length > selected.length;
@@ -14297,7 +14298,7 @@ function selectRunLogTailPage(result, logLevel, limit) {
14297
14298
  lastSequence: _nullishCoalesce(_optionalChain([selected, 'access', _553 => _553.at, 'call', _554 => _554(-1), 'optionalAccess', _555 => _555.seq]), () => ( null)),
14298
14299
  truncated: result.truncated || olderMatchesExist,
14299
14300
  hasMore: olderMatchesExist,
14300
- nextCursor: olderMatchesExist ? _chunk7P2QVMBPjs.encodeRunLogsCursor.call(void 0, selected[0].seq) : null
14301
+ nextCursor: olderMatchesExist ? _chunkAD2WJUZAjs.encodeRunLogsCursor.call(void 0, selected[0].seq) : null
14301
14302
  };
14302
14303
  }
14303
14304
  async function handleRunEventSearch(args) {
@@ -14364,7 +14365,7 @@ ${usage2}`);
14364
14365
  namespace,
14365
14366
  ...backend ? { backend } : {}
14366
14367
  } : void 0;
14367
- const client = new (0, _chunkSMSQVRHEjs.DeeplineClient)();
14368
+ const client = new (0, _chunkDB54ROPHjs.DeeplineClient)();
14368
14369
  const result = await client.runs.searchEvents({
14369
14370
  ...runId ? { runId } : {},
14370
14371
  ...values["--since"] ? { since: values["--since"] } : {},
@@ -14436,7 +14437,7 @@ ${renderedDetails}` : ""}`;
14436
14437
  "--limit",
14437
14438
  String(limit)
14438
14439
  ].join(" ") : null;
14439
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
14440
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
14440
14441
  {
14441
14442
  events,
14442
14443
  nextCursor: result.nextCursor,
@@ -14447,14 +14448,14 @@ ${renderedDetails}` : ""}`;
14447
14448
  render: { sections: [{ title: "runtime events", lines }] }
14448
14449
  },
14449
14450
  {
14450
- json: _chunkQKKU2FH4js.argsWantJson.call(void 0, args),
14451
+ json: _chunk75NAFY36js.argsWantJson.call(void 0, args),
14451
14452
  text: `${lines.join("\n")}${lines.length ? "\n" : ""}`
14452
14453
  }
14453
14454
  );
14454
14455
  return 0;
14455
14456
  }
14456
14457
  function buildRunLogsText(result) {
14457
- const lines = result.entries.map((line) => _chunk7P2QVMBPjs.classifyLogLine.call(void 0, line).line);
14458
+ const lines = result.entries.map((line) => _chunkAD2WJUZAjs.classifyLogLine.call(void 0, line).line);
14458
14459
  if (result.warning) {
14459
14460
  if (lines.length > 0) lines.push("");
14460
14461
  lines.push(`warning: ${result.warning}`);
@@ -14488,7 +14489,7 @@ async function handleRunStop(args) {
14488
14489
  reason = args[++index];
14489
14490
  }
14490
14491
  }
14491
- const client = new (0, _chunkSMSQVRHEjs.DeeplineClient)();
14492
+ const client = new (0, _chunkDB54ROPHjs.DeeplineClient)();
14492
14493
  const result = await client.runs.stop(runId, { reason });
14493
14494
  const state = resolveRunStopState(result);
14494
14495
  const hitlCleanupIncomplete = state === "cancelling" && result.hitlCancellationPending === true;
@@ -14503,7 +14504,7 @@ async function handleRunStop(args) {
14503
14504
  ...result.hitlCancelledCount > 0 ? [`cancelled HITL waits: ${result.hitlCancelledCount}`] : [],
14504
14505
  `inspect: deepline runs get ${runId} --full`
14505
14506
  ];
14506
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
14507
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
14507
14508
  {
14508
14509
  ...cancelling,
14509
14510
  state,
@@ -14518,7 +14519,7 @@ async function handleRunStop(args) {
14518
14519
  ]
14519
14520
  }
14520
14521
  },
14521
- { json: _chunkQKKU2FH4js.argsWantJson.call(void 0, args) }
14522
+ { json: _chunk75NAFY36js.argsWantJson.call(void 0, args) }
14522
14523
  );
14523
14524
  return 0;
14524
14525
  }
@@ -14535,7 +14536,7 @@ async function handleRunStop(args) {
14535
14536
  ];
14536
14537
  process.stderr.write(`${lines2.join("\n")}
14537
14538
  `);
14538
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
14539
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
14539
14540
  {
14540
14541
  ...result,
14541
14542
  render: {
@@ -14550,7 +14551,7 @@ async function handleRunStop(args) {
14550
14551
  ]
14551
14552
  }
14552
14553
  },
14553
- { json: _chunkQKKU2FH4js.argsWantJson.call(void 0, args) }
14554
+ { json: _chunk75NAFY36js.argsWantJson.call(void 0, args) }
14554
14555
  );
14555
14556
  return 1;
14556
14557
  }
@@ -14561,12 +14562,12 @@ async function handleRunStop(args) {
14561
14562
  `warning: HITL cancellation or Slack card refresh is still pending; retry 'deepline runs stop ${runId}'`
14562
14563
  ] : []
14563
14564
  ];
14564
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
14565
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
14565
14566
  {
14566
14567
  ...result,
14567
14568
  render: { sections: [{ title: "run stop", lines }] }
14568
14569
  },
14569
- { json: _chunkQKKU2FH4js.argsWantJson.call(void 0, args) }
14570
+ { json: _chunk75NAFY36js.argsWantJson.call(void 0, args) }
14570
14571
  );
14571
14572
  return 0;
14572
14573
  }
@@ -14616,18 +14617,18 @@ async function handleRunStopAll(args) {
14616
14617
  reason = args[++index];
14617
14618
  }
14618
14619
  }
14619
- const client = new (0, _chunkSMSQVRHEjs.DeeplineClient)();
14620
+ const client = new (0, _chunkDB54ROPHjs.DeeplineClient)();
14620
14621
  if (dryRun) {
14621
14622
  const result2 = await client.runs.stopAll({ dryRun: true, reason });
14622
14623
  const lines2 = buildStopAllDryRunTextLines(result2);
14623
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
14624
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
14624
14625
  {
14625
14626
  ...result2,
14626
14627
  render: {
14627
14628
  sections: [{ title: "workspace stop-all (dry run)", lines: lines2 }]
14628
14629
  }
14629
14630
  },
14630
- { json: _chunkQKKU2FH4js.argsWantJson.call(void 0, args), text: `${lines2.join("\n")}
14631
+ { json: _chunk75NAFY36js.argsWantJson.call(void 0, args), text: `${lines2.join("\n")}
14631
14632
  ` }
14632
14633
  );
14633
14634
  return 0;
@@ -14640,17 +14641,17 @@ async function handleRunStopAll(args) {
14640
14641
  ...result.failed > 0 ? [`failed stops: ${result.failed}`] : [],
14641
14642
  ...result.skipped > 0 ? [`skipped: ${result.skipped}`] : []
14642
14643
  ];
14643
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
14644
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
14644
14645
  {
14645
14646
  ...result,
14646
14647
  render: { sections: [{ title: "workspace stop-all", lines }] }
14647
14648
  },
14648
- { json: _chunkQKKU2FH4js.argsWantJson.call(void 0, args) }
14649
+ { json: _chunk75NAFY36js.argsWantJson.call(void 0, args) }
14649
14650
  );
14650
14651
  return result.failed > 0 || result.partial ? 1 : 0;
14651
14652
  }
14652
14653
  async function handleRunExport(args) {
14653
- const selection = _chunkQKKU2FH4js.parseJsonFields.call(void 0, args, "export");
14654
+ const selection = _chunk75NAFY36js.parseJsonFields.call(void 0, args, "export");
14654
14655
  args = selection.args;
14655
14656
  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]";
14656
14657
  let runId;
@@ -14721,17 +14722,17 @@ async function handleRunExport(args) {
14721
14722
  "INVALID_ARGUMENT"
14722
14723
  );
14723
14724
  }
14724
- const client = new (0, _chunkSMSQVRHEjs.DeeplineClient)();
14725
+ const client = new (0, _chunkDB54ROPHjs.DeeplineClient)();
14725
14726
  let status = await client.getPlayStatus(runId, { full: true });
14726
14727
  assertRunExportStatusIdentity(status, runId);
14727
14728
  if (wait && !TERMINAL_PLAY_STATUSES.has(status.status)) {
14728
- const progress = _chunkMJTK6Q3Gjs.createCliProgress.call(void 0, !_chunkQKKU2FH4js.argsWantJson.call(void 0, args));
14729
+ const progress = _chunkYJKKOSXSjs.createCliProgress.call(void 0, !_chunk75NAFY36js.argsWantJson.call(void 0, args));
14729
14730
  try {
14730
14731
  await waitForPlayCompletionByWatch({
14731
14732
  client,
14732
14733
  playName: _nullishCoalesce(extractRunPlayName(status), () => ( runId)),
14733
14734
  workflowId: runId,
14734
- jsonOutput: _chunkQKKU2FH4js.argsWantJson.call(void 0, args),
14735
+ jsonOutput: _chunk75NAFY36js.argsWantJson.call(void 0, args),
14735
14736
  emitLogs: false,
14736
14737
  waitTimeoutMs,
14737
14738
  startedAt: Date.now(),
@@ -14799,7 +14800,7 @@ async function handleRunExport(args) {
14799
14800
  rowCount: _nullishCoalesce(_optionalChain([exportResult, 'optionalAccess', _569 => _569.rowsInfo, 'access', _570 => _570.totalRows]), () => ( null)),
14800
14801
  ...exportedRowOutcomes ? { rowOutcomes: exportedRowOutcomes } : {},
14801
14802
  ...rowFailures ? { rowFailures } : {},
14802
- columns: _chunkKCKAFTPYjs.underscoreKeysLast.call(void 0, _nullishCoalesce(_optionalChain([exportResult, 'optionalAccess', _571 => _571.rowsInfo, 'access', _572 => _572.columns]), () => ( []))),
14803
+ columns: _chunk5ARG7J7Ajs.underscoreKeysLast.call(void 0, _nullishCoalesce(_optionalChain([exportResult, 'optionalAccess', _571 => _571.rowsInfo, 'access', _572 => _572.columns]), () => ( []))),
14803
14804
  ...currentTableNotice ? { notice: currentTableNotice } : {},
14804
14805
  ...metadataOutPath ? { metadata_path: metadataOutPath } : {},
14805
14806
  ...!TERMINAL_PLAY_STATUSES.has(status.status) ? { completionCommand: `${exportCommand} --wait` } : {}
@@ -14833,8 +14834,8 @@ async function handleRunExport(args) {
14833
14834
  "utf-8"
14834
14835
  );
14835
14836
  }
14836
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0, payload, {
14837
- json: _chunkQKKU2FH4js.argsWantJson.call(void 0, args),
14837
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0, payload, {
14838
+ json: _chunk75NAFY36js.argsWantJson.call(void 0, args),
14838
14839
  fields: selection.fields,
14839
14840
  text: `${lines.join("\n")}
14840
14841
  `
@@ -14868,10 +14869,10 @@ async function handlePlayGet(args) {
14868
14869
  );
14869
14870
  return 2;
14870
14871
  }
14871
- const client = new (0, _chunkSMSQVRHEjs.DeeplineClient)();
14872
+ const client = new (0, _chunkDB54ROPHjs.DeeplineClient)();
14872
14873
  const explicitJson = args.includes("--json");
14873
14874
  const sourceOutput = args.includes("--source");
14874
- const jsonOutput = sourceOutput ? explicitJson : _chunkQKKU2FH4js.argsWantJson.call(void 0, args);
14875
+ const jsonOutput = sourceOutput ? explicitJson : _chunk75NAFY36js.argsWantJson.call(void 0, args);
14875
14876
  const requestedRevisionFlags = [
14876
14877
  args.includes("--working"),
14877
14878
  args.includes("--live"),
@@ -14934,7 +14935,7 @@ async function handlePlayGet(args) {
14934
14935
  }
14935
14936
  const loadedMessage = materializedFile ? formatLoadedPlayMessage(materializedFile) : null;
14936
14937
  if (jsonOutput) {
14937
- _chunkQKKU2FH4js.printCompactJson.call(void 0, {
14938
+ _chunk75NAFY36js.printCompactJson.call(void 0, {
14938
14939
  ...detail,
14939
14940
  ...materializedFile ? {
14940
14941
  message: loadedMessage,
@@ -15026,8 +15027,8 @@ async function handlePlayVersions(args) {
15026
15027
  console.error("Usage: deepline plays versions --name <name> [--json]");
15027
15028
  return 1;
15028
15029
  }
15029
- const client = new (0, _chunkSMSQVRHEjs.DeeplineClient)();
15030
- const jsonOutput = _chunkQKKU2FH4js.argsWantJson.call(void 0, args);
15030
+ const client = new (0, _chunkDB54ROPHjs.DeeplineClient)();
15031
+ const jsonOutput = _chunk75NAFY36js.argsWantJson.call(void 0, args);
15031
15032
  await assertCanonicalNamedPlayReference(client, playName, {
15032
15033
  command: "versions"
15033
15034
  });
@@ -15035,7 +15036,7 @@ async function handlePlayVersions(args) {
15035
15036
  parseReferencedPlayTarget(playName).playName
15036
15037
  );
15037
15038
  if (jsonOutput) {
15038
- _chunkQKKU2FH4js.printCompactJson.call(void 0, { versions });
15039
+ _chunk75NAFY36js.printCompactJson.call(void 0, { versions });
15039
15040
  return 0;
15040
15041
  }
15041
15042
  if (versions.length === 0) {
@@ -15078,8 +15079,8 @@ async function handlePlayCost(args) {
15078
15079
  console.error("Usage: deepline plays cost <play> [--json]");
15079
15080
  return 2;
15080
15081
  }
15081
- const result = await new (0, _chunkSMSQVRHEjs.DeeplineClient)().getPlayCostEstimate(name);
15082
- if (_chunkQKKU2FH4js.argsWantJson.call(void 0, args)) console.log(JSON.stringify(result, null, 2));
15082
+ const result = await new (0, _chunkDB54ROPHjs.DeeplineClient)().getPlayCostEstimate(name);
15083
+ if (_chunk75NAFY36js.argsWantJson.call(void 0, args)) console.log(JSON.stringify(result, null, 2));
15083
15084
  else
15084
15085
  console.log(
15085
15086
  `${result.reference}: ${formatPlayCostEstimate(result.costEstimate)}`
@@ -15087,9 +15088,9 @@ async function handlePlayCost(args) {
15087
15088
  return 0;
15088
15089
  }
15089
15090
  async function handlePlayList(args) {
15090
- const jsonOutput = _chunkQKKU2FH4js.argsWantJson.call(void 0, args);
15091
+ const jsonOutput = _chunk75NAFY36js.argsWantJson.call(void 0, args);
15091
15092
  const showCost = args.includes("--show-cost");
15092
- const client = new (0, _chunkSMSQVRHEjs.DeeplineClient)();
15093
+ const client = new (0, _chunkDB54ROPHjs.DeeplineClient)();
15093
15094
  const categoriesIndex = args.indexOf("--categories");
15094
15095
  const categories = categoriesIndex >= 0 ? _optionalChain([args, 'access', _592 => _592[categoriesIndex + 1], 'optionalAccess', _593 => _593.trim, 'call', _594 => _594()]) : void 0;
15095
15096
  const tags = args.flatMap((arg, index) => arg === "--tag" ? [args[index + 1]] : []).flatMap((value) => (_nullishCoalesce(value, () => ( ""))).split(",")).map((value) => value.trim()).filter(Boolean);
@@ -15187,7 +15188,7 @@ async function handlePlayList(args) {
15187
15188
  lines.push("List truncated \u2014 more plays are available.");
15188
15189
  lines.push(`Next page: ${nextPage}`);
15189
15190
  }
15190
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
15191
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
15191
15192
  {
15192
15193
  plays,
15193
15194
  count: plays.length,
@@ -15205,7 +15206,7 @@ async function handlePlayList(args) {
15205
15206
  }
15206
15207
  async function handlePlayPin(args, pinned) {
15207
15208
  const target = _optionalChain([args, 'access', _603 => _603.find, 'call', _604 => _604((arg) => !arg.startsWith("-")), 'optionalAccess', _605 => _605.trim, 'call', _606 => _606()]);
15208
- const jsonOutput = _chunkQKKU2FH4js.argsWantJson.call(void 0, args);
15209
+ const jsonOutput = _chunk75NAFY36js.argsWantJson.call(void 0, args);
15209
15210
  const dryRun = args.includes("--dry-run");
15210
15211
  if (!target) {
15211
15212
  console.error(
@@ -15223,11 +15224,11 @@ async function handlePlayPin(args, pinned) {
15223
15224
  const name = parsedTarget.playName;
15224
15225
  const plan = { name, pinned, dryRun };
15225
15226
  if (dryRun) {
15226
- _chunkQKKU2FH4js.printCompactJson.call(void 0, plan);
15227
+ _chunk75NAFY36js.printCompactJson.call(void 0, plan);
15227
15228
  return 0;
15228
15229
  }
15229
- const result = await new (0, _chunkSMSQVRHEjs.DeeplineClient)().setPlayPinned(name, pinned);
15230
- if (jsonOutput) _chunkQKKU2FH4js.printCompactJson.call(void 0, result);
15230
+ const result = await new (0, _chunkDB54ROPHjs.DeeplineClient)().setPlayPinned(name, pinned);
15231
+ if (jsonOutput) _chunk75NAFY36js.printCompactJson.call(void 0, result);
15231
15232
  else console.log(`${result.pinned ? "Pinned" : "Unpinned"} ${result.name}.`);
15232
15233
  return 0;
15233
15234
  }
@@ -15353,12 +15354,12 @@ async function handlePlayGrep(args) {
15353
15354
  console.error("Usage: deepline plays grep <query> [--json]");
15354
15355
  return 1;
15355
15356
  }
15356
- const client = new (0, _chunkSMSQVRHEjs.DeeplineClient)();
15357
+ const client = new (0, _chunkDB54ROPHjs.DeeplineClient)();
15357
15358
  const results = (await client.listPlays({ grep: query })).map(
15358
15359
  summarizePlayGrepResult
15359
15360
  );
15360
- if (_chunkQKKU2FH4js.argsWantJson.call(void 0, args)) {
15361
- _chunkQKKU2FH4js.printCompactJson.call(void 0, {
15361
+ if (_chunk75NAFY36js.argsWantJson.call(void 0, args)) {
15362
+ _chunk75NAFY36js.printCompactJson.call(void 0, {
15362
15363
  plays: results,
15363
15364
  count: results.length,
15364
15365
  query,
@@ -15381,7 +15382,7 @@ async function handlePlayGrep(args) {
15381
15382
  return 0;
15382
15383
  }
15383
15384
  async function handlePlayDescribe(args) {
15384
- const selection = _chunkQKKU2FH4js.parseJsonFields.call(void 0, args, "describe");
15385
+ const selection = _chunk75NAFY36js.parseJsonFields.call(void 0, args, "describe");
15385
15386
  args = selection.args;
15386
15387
  const playName = args[0];
15387
15388
  if (!playName) {
@@ -15415,8 +15416,8 @@ async function handlePlayDescribe(args) {
15415
15416
  `deepline plays check ${playName}`,
15416
15417
  ...definedName ? [`deepline describe <workspace>/${definedName}`] : []
15417
15418
  ];
15418
- if (_chunkQKKU2FH4js.argsWantJson.call(void 0, args)) {
15419
- _chunkQKKU2FH4js.printCompactJson.call(void 0, {
15419
+ if (_chunk75NAFY36js.argsWantJson.call(void 0, args)) {
15420
+ _chunk75NAFY36js.printCompactJson.call(void 0, {
15420
15421
  ok: false,
15421
15422
  error: { message },
15422
15423
  next
@@ -15430,7 +15431,7 @@ async function handlePlayDescribe(args) {
15430
15431
  }
15431
15432
  return 2;
15432
15433
  }
15433
- const client = new (0, _chunkSMSQVRHEjs.DeeplineClient)();
15434
+ const client = new (0, _chunkDB54ROPHjs.DeeplineClient)();
15434
15435
  await assertCanonicalNamedPlayReference(client, playName, {
15435
15436
  command: "describe"
15436
15437
  });
@@ -15440,9 +15441,9 @@ async function handlePlayDescribe(args) {
15440
15441
  compact: args.includes("--compact")
15441
15442
  }
15442
15443
  );
15443
- if (_chunkQKKU2FH4js.argsWantJson.call(void 0, args)) {
15444
- if (selection.fields) _chunkQKKU2FH4js.printJson.call(void 0, play, selection.fields);
15445
- else _chunkQKKU2FH4js.printCompactJson.call(void 0, play);
15444
+ if (_chunk75NAFY36js.argsWantJson.call(void 0, args)) {
15445
+ if (selection.fields) _chunk75NAFY36js.printJson.call(void 0, play, selection.fields);
15446
+ else _chunk75NAFY36js.printCompactJson.call(void 0, play);
15446
15447
  return 0;
15447
15448
  }
15448
15449
  printPlayDescription(play);
@@ -15464,7 +15465,7 @@ async function handlePlaySave(args) {
15464
15465
  }
15465
15466
  let graph;
15466
15467
  try {
15467
- graph = await _chunkUXQQPMYOjs.traceCliSpan.call(void 0,
15468
+ graph = await _chunk26DJ4BDYjs.traceCliSpan.call(void 0,
15468
15469
  "cli.play_save_bundle_graph",
15469
15470
  { targetKind: "file" },
15470
15471
  () => collectBundledPlayGraph(_path.resolve.call(void 0, options.target))
@@ -15486,7 +15487,7 @@ async function handlePlaySave(args) {
15486
15487
  next: `deepline plays check ${_chunkAID3OYVJjs.shellQuote.call(void 0, options.target)}`
15487
15488
  };
15488
15489
  if (options.jsonOutput) {
15489
- _chunkQKKU2FH4js.printCompactJson.call(void 0, result);
15490
+ _chunk75NAFY36js.printCompactJson.call(void 0, result);
15490
15491
  } else {
15491
15492
  console.error(result.message);
15492
15493
  console.error(` checked artifact: ${result.expectedArtifactHash}`);
@@ -15508,7 +15509,7 @@ async function handlePlaySave(args) {
15508
15509
  };
15509
15510
  if (options.dryRun) {
15510
15511
  if (options.jsonOutput) {
15511
- _chunkQKKU2FH4js.printCompactJson.call(void 0, dryRun);
15512
+ _chunk75NAFY36js.printCompactJson.call(void 0, dryRun);
15512
15513
  } else {
15513
15514
  console.log(`Dry run: ${playName}`);
15514
15515
  console.log(` source: ${dryRun.sourceHash}`);
@@ -15517,14 +15518,14 @@ async function handlePlaySave(args) {
15517
15518
  }
15518
15519
  return 0;
15519
15520
  }
15520
- const client = new (0, _chunkSMSQVRHEjs.DeeplineClient)();
15521
+ const client = new (0, _chunkDB54ROPHjs.DeeplineClient)();
15521
15522
  try {
15522
- await _chunkUXQQPMYOjs.traceCliSpan.call(void 0,
15523
+ await _chunk26DJ4BDYjs.traceCliSpan.call(void 0,
15523
15524
  "cli.play_save_compile_manifests",
15524
15525
  { targetKind: "file", nodeCount: graph.nodes.size },
15525
15526
  () => compileBundledPlayGraphManifests(client, graph)
15526
15527
  );
15527
- const saved = await _chunkUXQQPMYOjs.traceCliSpan.call(void 0,
15528
+ const saved = await _chunk26DJ4BDYjs.traceCliSpan.call(void 0,
15528
15529
  "cli.play_save_register_draft",
15529
15530
  { targetKind: "file", playName, artifactHash },
15530
15531
  () => client.registerPlayArtifact({
@@ -15553,7 +15554,7 @@ async function handlePlaySave(args) {
15553
15554
  }
15554
15555
  };
15555
15556
  if (options.jsonOutput) {
15556
- _chunkQKKU2FH4js.printCompactJson.call(void 0, result);
15557
+ _chunk75NAFY36js.printCompactJson.call(void 0, result);
15557
15558
  } else {
15558
15559
  console.log(
15559
15560
  `\u2713 Saved ${playName} working draft as v${_nullishCoalesce(result.version, () => ( "?"))}`
@@ -15579,7 +15580,7 @@ async function handlePlayPublish(args) {
15579
15580
  }
15580
15581
  const { target: playName, useLatest } = options;
15581
15582
  let revisionId = options.revisionId;
15582
- const client = new (0, _chunkSMSQVRHEjs.DeeplineClient)();
15583
+ const client = new (0, _chunkDB54ROPHjs.DeeplineClient)();
15583
15584
  if (isFileTarget(playName)) {
15584
15585
  if (revisionId || useLatest) {
15585
15586
  console.error(
@@ -15589,7 +15590,7 @@ async function handlePlayPublish(args) {
15589
15590
  }
15590
15591
  let graph;
15591
15592
  try {
15592
- graph = await _chunkUXQQPMYOjs.traceCliSpan.call(void 0,
15593
+ graph = await _chunk26DJ4BDYjs.traceCliSpan.call(void 0,
15593
15594
  "cli.play_publish_bundle_graph",
15594
15595
  { targetKind: "file" },
15595
15596
  () => collectBundledPlayGraph(_path.resolve.call(void 0, playName))
@@ -15611,7 +15612,7 @@ async function handlePlayPublish(args) {
15611
15612
  next: `deepline plays check ${_chunkAID3OYVJjs.shellQuote.call(void 0, playName)}`
15612
15613
  };
15613
15614
  if (options.jsonOutput) {
15614
- _chunkQKKU2FH4js.printCompactJson.call(void 0, result3);
15615
+ _chunk75NAFY36js.printCompactJson.call(void 0, result3);
15615
15616
  } else {
15616
15617
  console.error(result3.message);
15617
15618
  console.error(` checked artifact: ${result3.expectedArtifactHash}`);
@@ -15634,7 +15635,7 @@ async function handlePlayPublish(args) {
15634
15635
  };
15635
15636
  if (options.dryRun) {
15636
15637
  if (options.jsonOutput) {
15637
- _chunkQKKU2FH4js.printCompactJson.call(void 0, dryRun);
15638
+ _chunk75NAFY36js.printCompactJson.call(void 0, dryRun);
15638
15639
  } else {
15639
15640
  console.log(`Dry run: ${rootPlayName}`);
15640
15641
  console.log(` source: ${dryRun.sourceHash}`);
@@ -15653,12 +15654,12 @@ async function handlePlayPublish(args) {
15653
15654
  }
15654
15655
  }
15655
15656
  try {
15656
- await _chunkUXQQPMYOjs.traceCliSpan.call(void 0,
15657
+ await _chunk26DJ4BDYjs.traceCliSpan.call(void 0,
15657
15658
  "cli.play_publish_compile_manifests",
15658
15659
  { targetKind: "file", nodeCount: graph.nodes.size },
15659
15660
  () => compileBundledPlayGraphManifests(client, graph)
15660
15661
  );
15661
- await _chunkUXQQPMYOjs.traceCliSpan.call(void 0,
15662
+ await _chunk26DJ4BDYjs.traceCliSpan.call(void 0,
15662
15663
  "cli.play_publish_imports",
15663
15664
  { targetKind: "file", nodeCount: graph.nodes.size },
15664
15665
  () => publishImportedPlayDependencies(client, graph)
@@ -15667,7 +15668,7 @@ async function handlePlayPublish(args) {
15667
15668
  console.error(error instanceof Error ? error.message : String(error));
15668
15669
  return 1;
15669
15670
  }
15670
- const published = await _chunkUXQQPMYOjs.traceCliSpan.call(void 0,
15671
+ const published = await _chunk26DJ4BDYjs.traceCliSpan.call(void 0,
15671
15672
  "cli.play_publish_register_root",
15672
15673
  {
15673
15674
  targetKind: "file",
@@ -15702,7 +15703,7 @@ async function handlePlayPublish(args) {
15702
15703
  triggerBindings: _nullishCoalesce(published.triggerBindings, () => ( []))
15703
15704
  };
15704
15705
  if (options.jsonOutput) {
15705
- _chunkQKKU2FH4js.printCompactJson.call(void 0, result2);
15706
+ _chunk75NAFY36js.printCompactJson.call(void 0, result2);
15706
15707
  } else {
15707
15708
  printPublishReceipt({
15708
15709
  name: rootPlayName,
@@ -15733,7 +15734,7 @@ async function handlePlayPublish(args) {
15733
15734
  revisionId: _nullishCoalesce(revisionId, () => ( null)),
15734
15735
  latest: useLatest
15735
15736
  };
15736
- _chunkQKKU2FH4js.printCompactJson.call(void 0, result2);
15737
+ _chunk75NAFY36js.printCompactJson.call(void 0, result2);
15737
15738
  return 0;
15738
15739
  }
15739
15740
  const resolvedName = parseReferencedPlayTarget(playName).playName;
@@ -15757,7 +15758,7 @@ async function handlePlayPublish(args) {
15757
15758
  revisionId ? { revisionId } : {}
15758
15759
  );
15759
15760
  if (options.jsonOutput) {
15760
- _chunkQKKU2FH4js.printCompactJson.call(void 0, result);
15761
+ _chunk75NAFY36js.printCompactJson.call(void 0, result);
15761
15762
  } else {
15762
15763
  printPublishReceipt({
15763
15764
  name: result.name,
@@ -15797,7 +15798,7 @@ async function handlePlayDelete(args) {
15797
15798
  );
15798
15799
  return 2;
15799
15800
  }
15800
- const client = new (0, _chunkSMSQVRHEjs.DeeplineClient)();
15801
+ const client = new (0, _chunkDB54ROPHjs.DeeplineClient)();
15801
15802
  let detail;
15802
15803
  try {
15803
15804
  detail = await client.getPlay(parseReferencedPlayTarget(playName).playName);
@@ -15821,8 +15822,8 @@ async function handlePlayDelete(args) {
15821
15822
  name: resolvedName,
15822
15823
  plannedMutation: "move saved org-owned play to Trash and stop triggers"
15823
15824
  };
15824
- if (_chunkQKKU2FH4js.argsWantJson.call(void 0, args)) {
15825
- _chunkQKKU2FH4js.printCompactJson.call(void 0, result2);
15825
+ if (_chunk75NAFY36js.argsWantJson.call(void 0, args)) {
15826
+ _chunk75NAFY36js.printCompactJson.call(void 0, result2);
15826
15827
  } else {
15827
15828
  process.stdout.write(
15828
15829
  `Dry run: would move ${result2.name} to Trash and stop its active triggers.
@@ -15832,8 +15833,8 @@ async function handlePlayDelete(args) {
15832
15833
  return 0;
15833
15834
  }
15834
15835
  const result = await client.deletePlay(resolvedName);
15835
- if (_chunkQKKU2FH4js.argsWantJson.call(void 0, args)) {
15836
- _chunkQKKU2FH4js.printCompactJson.call(void 0, result);
15836
+ if (_chunk75NAFY36js.argsWantJson.call(void 0, args)) {
15837
+ _chunk75NAFY36js.printCompactJson.call(void 0, result);
15837
15838
  return result.archived || result.alreadyArchived ? 0 : 4;
15838
15839
  }
15839
15840
  if (result.alreadyArchived) {
@@ -15872,13 +15873,13 @@ async function handlePlayRestore(args) {
15872
15873
  );
15873
15874
  return 2;
15874
15875
  }
15875
- const client = new (0, _chunkSMSQVRHEjs.DeeplineClient)();
15876
+ const client = new (0, _chunkDB54ROPHjs.DeeplineClient)();
15876
15877
  try {
15877
15878
  const result = await client.restorePlay(
15878
15879
  parseReferencedPlayTarget(playName).playName
15879
15880
  );
15880
- if (_chunkQKKU2FH4js.argsWantJson.call(void 0, args)) {
15881
- _chunkQKKU2FH4js.printCompactJson.call(void 0, result);
15881
+ if (_chunk75NAFY36js.argsWantJson.call(void 0, args)) {
15882
+ _chunk75NAFY36js.printCompactJson.call(void 0, result);
15882
15883
  return result.restored || result.alreadyActive ? 0 : 4;
15883
15884
  }
15884
15885
  if (result.alreadyActive) {
@@ -16005,21 +16006,21 @@ Common commands:
16005
16006
  resume: `deepline plays resume-submission ${_chunkAID3OYVJjs.shellQuote.call(void 0, path)} --json`
16006
16007
  }
16007
16008
  };
16008
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0, result2, {
16009
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0, result2, {
16009
16010
  json: options.json,
16010
16011
  text: `Submission ${saved.workflowId}: admission is unknown. ${result2.next.inspect}
16011
16012
  `
16012
16013
  });
16013
16014
  return;
16014
16015
  }
16015
- const client = new (0, _chunkSMSQVRHEjs.DeeplineClient)();
16016
+ const client = new (0, _chunkDB54ROPHjs.DeeplineClient)();
16016
16017
  if (new URL(saved.baseUrl).origin !== new URL(client.baseUrl).origin) {
16017
16018
  throw new Error(
16018
16019
  "The submission belongs to a different API origin. Select its original host before recovery."
16019
16020
  );
16020
16021
  }
16021
16022
  const result = await client.startPlayRun(saved.request);
16022
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
16023
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
16023
16024
  { ...result },
16024
16025
  {
16025
16026
  json: options.json,
@@ -16055,7 +16056,7 @@ Examples:
16055
16056
  ).action(async (target, options) => {
16056
16057
  process.exitCode = await handlePlayCheck([
16057
16058
  target,
16058
- ..._chunkQKKU2FH4js.jsonFieldArgs.call(void 0, options.json),
16059
+ ..._chunk75NAFY36js.jsonFieldArgs.call(void 0, options.json),
16059
16060
  ...options.full ? ["--full"] : []
16060
16061
  ]);
16061
16062
  });
@@ -16098,10 +16099,10 @@ Notes:
16098
16099
  retained input and pinned revision, and returns once it starts. It accepts
16099
16100
  only --json.
16100
16101
  --max-concurrent-external-calls controls the per-run provider-tool/deepline.fetch
16101
- resident-work ceiling. Default: ${_chunkUSTJEENDjs.DEFAULT_MAX_CONCURRENT_EXTERNAL_CALLS}; accepted range: 1-${_chunkUSTJEENDjs.MAX_CONFIGURABLE_CONCURRENT_EXTERNAL_CALLS}.
16102
+ resident-work ceiling. Default: ${_chunkPRIHD5XSjs.DEFAULT_MAX_CONCURRENT_EXTERNAL_CALLS}; accepted range: 1-${_chunkPRIHD5XSjs.MAX_CONFIGURABLE_CONCURRENT_EXTERNAL_CALLS}.
16102
16103
  Provider pacing and sandbox memory limits still apply.
16103
16104
  --max-concurrent-rows sets the run-wide default and ceiling for live map row
16104
- resolvers. Accepted range: 1-${_chunkUSTJEENDjs.MAX_CONFIGURABLE_CONCURRENT_ROWS}. The runtime
16105
+ resolvers. Accepted range: 1-${_chunkPRIHD5XSjs.MAX_CONFIGURABLE_CONCURRENT_ROWS}. The runtime
16105
16106
  may lower it when source-row size exceeds the active-row memory budget.
16106
16107
  --max-credits replaces the play's billing.maxCreditsPerRun for this run.
16107
16108
  Tool calls that would exceed it are denied.
@@ -16226,10 +16227,10 @@ Examples:
16226
16227
  ).hideHelp()
16227
16228
  ).option(
16228
16229
  "--max-concurrent-external-calls <count>",
16229
- `Concurrent provider-tool and deepline.fetch executions (${_chunkUSTJEENDjs.DEFAULT_MAX_CONCURRENT_EXTERNAL_CALLS} default, max ${_chunkUSTJEENDjs.MAX_CONFIGURABLE_CONCURRENT_EXTERNAL_CALLS})`
16230
+ `Concurrent provider-tool and deepline.fetch executions (${_chunkPRIHD5XSjs.DEFAULT_MAX_CONCURRENT_EXTERNAL_CALLS} default, max ${_chunkPRIHD5XSjs.MAX_CONFIGURABLE_CONCURRENT_EXTERNAL_CALLS})`
16230
16231
  ).option(
16231
16232
  "--max-concurrent-rows <count>",
16232
- `Run-wide dataset map row resolver ceiling (max ${_chunkUSTJEENDjs.MAX_CONFIGURABLE_CONCURRENT_ROWS})`
16233
+ `Run-wide dataset map row resolver ceiling (max ${_chunkPRIHD5XSjs.MAX_CONFIGURABLE_CONCURRENT_ROWS})`
16233
16234
  ).option("--max-credits <credits>", "Deepline-credit cap for this run").option("--open", "Open the run page in a browser after the run starts").option(
16234
16235
  "--debug-map-latency",
16235
16236
  "Internal diagnostics: emit one aggregate latency profile per dataset map"
@@ -16315,14 +16316,14 @@ JSON field selection:
16315
16316
  passthroughArgs.shift();
16316
16317
  }
16317
16318
  const exitCode = await handlePlayRun(
16318
- _chunkUSTJEENDjs.resolvePlayRunCliOptions.call(void 0,
16319
+ _chunkPRIHD5XSjs.resolvePlayRunCliOptions.call(void 0,
16319
16320
  _nullishCoalesce(effectiveTarget, () => ( void 0)),
16320
16321
  options,
16321
16322
  passthroughArgs,
16322
- _chunkUXQQPMYOjs.resolveCliMaintenancePolicy.call(void 0, command.optsWithGlobals())
16323
+ _chunk26DJ4BDYjs.resolveCliMaintenancePolicy.call(void 0, command.optsWithGlobals())
16323
16324
  )
16324
16325
  );
16325
- _chunkUXQQPMYOjs.recordCliTrace.call(void 0, {
16326
+ _chunk26DJ4BDYjs.recordCliTrace.call(void 0, {
16326
16327
  phase: "cli.play_command_exit",
16327
16328
  exitCode
16328
16329
  });
@@ -16371,9 +16372,9 @@ Examples:
16371
16372
  const limit = Number(options.historyLimit);
16372
16373
  if (!Number.isInteger(limit) || limit < 1 || limit > 30)
16373
16374
  throw new Error("--history-limit must be an integer from 1 to 30.");
16374
- const client = new (0, _chunkSMSQVRHEjs.DeeplineClient)();
16375
+ const client = new (0, _chunkDB54ROPHjs.DeeplineClient)();
16375
16376
  if (options.binding) {
16376
- _chunkQKKU2FH4js.printCompactJson.call(void 0,
16377
+ _chunk75NAFY36js.printCompactJson.call(void 0,
16377
16378
  await client.getPlayTriggerHistory(options.binding, { limit })
16378
16379
  );
16379
16380
  return;
@@ -16381,7 +16382,7 @@ Examples:
16381
16382
  const result = await client.listPlayTriggerInventory({
16382
16383
  cursor: options.cursor
16383
16384
  });
16384
- _chunkQKKU2FH4js.printCompactJson.call(void 0, {
16385
+ _chunk75NAFY36js.printCompactJson.call(void 0, {
16385
16386
  ...result,
16386
16387
  next: result.isDone ? null : `deepline plays triggers --cursor ${JSON.stringify(result.continueCursor)}`
16387
16388
  });
@@ -16440,7 +16441,7 @@ Examples:
16440
16441
  if (options.groupBy !== "kind" && options.groupBy !== "trigger_source") {
16441
16442
  throw new Error("--group-by must be kind or trigger_source.");
16442
16443
  }
16443
- const result = await new (0, _chunkSMSQVRHEjs.DeeplineClient)().getPlaysActivity({
16444
+ const result = await new (0, _chunkDB54ROPHjs.DeeplineClient)().getPlaysActivity({
16444
16445
  timeZone: options.timeZone,
16445
16446
  days,
16446
16447
  ...options.endDate ? { endDate: options.endDate } : {},
@@ -16454,7 +16455,7 @@ Examples:
16454
16455
  `${bucket.key} ${groups} failed_play_runs=${bucket.failedPlayRuns} ${coverage}`
16455
16456
  );
16456
16457
  }
16457
- _chunkQKKU2FH4js.printCommandEnvelope.call(void 0,
16458
+ _chunk75NAFY36js.printCommandEnvelope.call(void 0,
16458
16459
  { ...result },
16459
16460
  {
16460
16461
  json: Boolean(options.json),
@@ -16483,7 +16484,7 @@ Examples:
16483
16484
  false
16484
16485
  );
16485
16486
  });
16486
- _chunk67OI26OEjs.registerDeprecatedSearchCommand.call(void 0,
16487
+ _chunk3F676QXJjs.registerDeprecatedSearchCommand.call(void 0,
16487
16488
  play,
16488
16489
  (options) => options.all ? ["plays"] : ["prebuilts"]
16489
16490
  );
@@ -16524,9 +16525,9 @@ Examples:
16524
16525
  "--json [fields]",
16525
16526
  "JSON output; optionally select comma-separated dotted paths"
16526
16527
  );
16527
- _chunkKCKAFTPYjs.addDescribeOptions.call(void 0, describeCommand, { json: false }).action(
16528
+ _chunk5ARG7J7Ajs.addDescribeOptions.call(void 0, describeCommand, { json: false }).action(
16528
16529
  async (target, options) => {
16529
- const ownView = () => handlePlayDescribe(_chunkQKKU2FH4js.describeArgs.call(void 0, target, options));
16530
+ const ownView = () => handlePlayDescribe(_chunk75NAFY36js.describeArgs.call(void 0, target, options));
16530
16531
  const [flagText] = [options.json].filter(
16531
16532
  (value) => typeof value === "string"
16532
16533
  );
@@ -16537,7 +16538,7 @@ Examples:
16537
16538
  process.exitCode = await ownView();
16538
16539
  return;
16539
16540
  }
16540
- const { describeAnything } = await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-OYS7LZJD.js")));
16541
+ const { describeAnything } = await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-AYXVS6DZ.js")));
16541
16542
  process.exitCode = await describeAnything(
16542
16543
  name,
16543
16544
  {
@@ -16655,7 +16656,7 @@ Examples:
16655
16656
  deepline plays deployments <deployment-id>
16656
16657
  `
16657
16658
  ).option("--limit <n>", "Max rows (default 50)").option("--json", "Emit JSON output").action(
16658
- async (id, options) => id ? _chunkFTRVCIGCjs.handleDeploymentGet.call(void 0, id, options) : _chunkFTRVCIGCjs.handleDeploymentsList.call(void 0, options)
16659
+ async (id, options) => id ? _chunkN7G36GXBjs.handleDeploymentGet.call(void 0, id, options) : _chunkN7G36GXBjs.handleDeploymentsList.call(void 0, options)
16659
16660
  );
16660
16661
  addPublishHelp(
16661
16662
  play.command("publish <target>").description(
@@ -16790,14 +16791,14 @@ Examples:
16790
16791
  const limit = Number(options.limit);
16791
16792
  if (!Number.isSafeInteger(limit) || limit < 1 || limit > 1e3)
16792
16793
  throw new Error("--limit must be an integer from 1 to 1000.");
16793
- const result = await new (0, _chunkSMSQVRHEjs.DeeplineClient)().runs.rowHistory({
16794
+ const result = await new (0, _chunkDB54ROPHjs.DeeplineClient)().runs.rowHistory({
16794
16795
  playName: options.play,
16795
16796
  runId,
16796
16797
  tableNamespace: options.dataset,
16797
16798
  limit,
16798
16799
  cursor: options.cursor
16799
16800
  });
16800
- _chunkQKKU2FH4js.printCompactJson.call(void 0, {
16801
+ _chunk75NAFY36js.printCompactJson.call(void 0, {
16801
16802
  ...result,
16802
16803
  ...result.nextCursor ? {
16803
16804
  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`
@@ -16875,7 +16876,7 @@ Examples:
16875
16876
  new (0, _commander.Option)("--log-failed", "Attach terminal-failure logs").hideHelp()
16876
16877
  ).action(async (runId, options) => {
16877
16878
  if (TOOL_EXECUTION_ID.test(runId)) {
16878
- const { getToolExecutionReceipt } = await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-L2364RPA.js")));
16879
+ const { getToolExecutionReceipt } = await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-SCGHABDL.js")));
16879
16880
  process.exitCode = await getToolExecutionReceipt(runId, {
16880
16881
  receiptJson: options.json !== void 0
16881
16882
  });
@@ -16883,7 +16884,7 @@ Examples:
16883
16884
  }
16884
16885
  process.exitCode = await handleRunGet([
16885
16886
  runId,
16886
- ..._chunkQKKU2FH4js.jsonFieldArgs.call(void 0, options.json),
16887
+ ..._chunk75NAFY36js.jsonFieldArgs.call(void 0, options.json),
16887
16888
  ...options.web ? ["--web"] : [],
16888
16889
  ...options.webUrl ? ["--web-url"] : [],
16889
16890
  ...options.full ? ["--full"] : [],
@@ -17200,7 +17201,7 @@ Examples:
17200
17201
  ...options.allowEmpty ? ["--allow-empty"] : [],
17201
17202
  ...options.wait ? ["--wait"] : [],
17202
17203
  ...options.timeoutMs ? ["--timeout-ms", options.timeoutMs] : [],
17203
- ..._chunkQKKU2FH4js.jsonFieldArgs.call(void 0, options.json)
17204
+ ..._chunk75NAFY36js.jsonFieldArgs.call(void 0, options.json)
17204
17205
  ]);
17205
17206
  });
17206
17207
  const share = play.command("share").description(
@@ -17366,10 +17367,10 @@ async function handlePlayShareStatus(args) {
17366
17367
  return 2;
17367
17368
  }
17368
17369
  const name = parseReferencedPlayTarget(target).playName;
17369
- const status = await new (0, _chunkSMSQVRHEjs.DeeplineClient)().getSharePage(name);
17370
+ const status = await new (0, _chunkDB54ROPHjs.DeeplineClient)().getSharePage(name);
17370
17371
  const outputStatus = shareStatusForOutput(status);
17371
- if (_chunkQKKU2FH4js.argsWantJson.call(void 0, args)) {
17372
- _chunkQKKU2FH4js.printCompactJson.call(void 0, outputStatus);
17372
+ if (_chunk75NAFY36js.argsWantJson.call(void 0, args)) {
17373
+ _chunk75NAFY36js.printCompactJson.call(void 0, outputStatus);
17373
17374
  return 0;
17374
17375
  }
17375
17376
  if (!outputStatus.share) {
@@ -17408,7 +17409,7 @@ async function handlePlaySharePublish(args) {
17408
17409
  return 2;
17409
17410
  }
17410
17411
  const name = parseReferencedPlayTarget(target).playName;
17411
- const client = new (0, _chunkSMSQVRHEjs.DeeplineClient)();
17412
+ const client = new (0, _chunkDB54ROPHjs.DeeplineClient)();
17412
17413
  let revisionId = shareFlagValue(args, "--revision-id");
17413
17414
  let resolvedVersion;
17414
17415
  if (!revisionId) {
@@ -17439,8 +17440,8 @@ async function handlePlaySharePublish(args) {
17439
17440
  );
17440
17441
  if (!hasCompleted) {
17441
17442
  const message = `No completed run for ${name}. Publish a play only after it has run successfully. (Override with --no-run-check.)`;
17442
- if (_chunkQKKU2FH4js.argsWantJson.call(void 0, args)) {
17443
- _chunkQKKU2FH4js.printCompactJson.call(void 0, {
17443
+ if (_chunk75NAFY36js.argsWantJson.call(void 0, args)) {
17444
+ _chunk75NAFY36js.printCompactJson.call(void 0, {
17444
17445
  ok: false,
17445
17446
  code: "NO_SUCCESSFUL_RUN",
17446
17447
  message,
@@ -17464,8 +17465,8 @@ async function handlePlaySharePublish(args) {
17464
17465
  };
17465
17466
  if (args.includes("--dry-run")) {
17466
17467
  const plan = { dryRun: true, name, version: resolvedVersion, ...request };
17467
- if (_chunkQKKU2FH4js.argsWantJson.call(void 0, args)) {
17468
- _chunkQKKU2FH4js.printCompactJson.call(void 0, plan);
17468
+ if (_chunk75NAFY36js.argsWantJson.call(void 0, args)) {
17469
+ _chunk75NAFY36js.printCompactJson.call(void 0, plan);
17469
17470
  } else {
17470
17471
  console.log(
17471
17472
  `Would publish ${name}${resolvedVersion ? ` v${resolvedVersion}` : ""} (revision ${revisionId}).`
@@ -17475,8 +17476,8 @@ async function handlePlaySharePublish(args) {
17475
17476
  }
17476
17477
  const status = await client.publishSharePage(name, request);
17477
17478
  const outputStatus = shareStatusForOutput(status);
17478
- if (_chunkQKKU2FH4js.argsWantJson.call(void 0, args)) {
17479
- _chunkQKKU2FH4js.printCompactJson.call(void 0, outputStatus);
17479
+ if (_chunk75NAFY36js.argsWantJson.call(void 0, args)) {
17480
+ _chunk75NAFY36js.printCompactJson.call(void 0, outputStatus);
17480
17481
  return 0;
17481
17482
  }
17482
17483
  const urls = shareUrlFields(outputStatus);
@@ -17507,9 +17508,9 @@ async function handlePlayShareUpdate(args) {
17507
17508
  ...args.includes("--show-latency") ? { showAverageLatency: true } : args.includes("--hide-latency") ? { showAverageLatency: false } : {},
17508
17509
  ...seoIndexing ? { seoIndexing } : {}
17509
17510
  };
17510
- const status = await new (0, _chunkSMSQVRHEjs.DeeplineClient)().updateSharePage(name, request);
17511
- if (_chunkQKKU2FH4js.argsWantJson.call(void 0, args)) {
17512
- _chunkQKKU2FH4js.printCompactJson.call(void 0, status);
17511
+ const status = await new (0, _chunkDB54ROPHjs.DeeplineClient)().updateSharePage(name, request);
17512
+ if (_chunk75NAFY36js.argsWantJson.call(void 0, args)) {
17513
+ _chunk75NAFY36js.printCompactJson.call(void 0, status);
17513
17514
  return 0;
17514
17515
  }
17515
17516
  console.log(`Updated ${name} share settings.`);
@@ -17524,7 +17525,7 @@ async function handlePlayShareRegenerate(args) {
17524
17525
  return 2;
17525
17526
  }
17526
17527
  const name = parseReferencedPlayTarget(target).playName;
17527
- const client = new (0, _chunkSMSQVRHEjs.DeeplineClient)();
17528
+ const client = new (0, _chunkDB54ROPHjs.DeeplineClient)();
17528
17529
  let revisionId = shareFlagValue(args, "--revision-id");
17529
17530
  const versionFlag = shareFlagValue(args, "--version");
17530
17531
  if (!revisionId && versionFlag) {
@@ -17541,8 +17542,8 @@ async function handlePlayShareRegenerate(args) {
17541
17542
  revisionId ? { revisionId } : {}
17542
17543
  );
17543
17544
  const outputStatus = shareStatusForOutput(status);
17544
- if (_chunkQKKU2FH4js.argsWantJson.call(void 0, args)) {
17545
- _chunkQKKU2FH4js.printCompactJson.call(void 0, outputStatus);
17545
+ if (_chunk75NAFY36js.argsWantJson.call(void 0, args)) {
17546
+ _chunk75NAFY36js.printCompactJson.call(void 0, outputStatus);
17546
17547
  return 0;
17547
17548
  }
17548
17549
  const urls = shareUrlFields(outputStatus);
@@ -17567,9 +17568,9 @@ async function handlePlayShareUnpublish(args) {
17567
17568
  return 2;
17568
17569
  }
17569
17570
  const name = parseReferencedPlayTarget(target).playName;
17570
- const status = await new (0, _chunkSMSQVRHEjs.DeeplineClient)().unpublishSharePage(name);
17571
- if (_chunkQKKU2FH4js.argsWantJson.call(void 0, args)) {
17572
- _chunkQKKU2FH4js.printCompactJson.call(void 0, status);
17571
+ const status = await new (0, _chunkDB54ROPHjs.DeeplineClient)().unpublishSharePage(name);
17572
+ if (_chunk75NAFY36js.argsWantJson.call(void 0, args)) {
17573
+ _chunk75NAFY36js.printCompactJson.call(void 0, status);
17573
17574
  return 0;
17574
17575
  }
17575
17576
  console.log(`Unpublished ${name}; the public page has been removed.`);
@@ -17646,4 +17647,4 @@ async function handlePlayShareUnpublish(args) {
17646
17647
 
17647
17648
 
17648
17649
 
17649
- 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 = _chunkUSTJEENDjs.parsePlayRunHeaderFlag; exports.parsePlayRunOptions = _chunkUSTJEENDjs.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.truncateErrorForDisplay = truncateErrorForDisplay; exports.waitForPlayCompletionByWatch = waitForPlayCompletionByWatch; exports.withTerminalPlayIdentity = withTerminalPlayIdentity; exports.writeInlinePlay = writeInlinePlay; exports.writePlayRunIdFile = writePlayRunIdFile; exports.writePlayRunReceipt = writePlayRunReceipt;
17650
+ 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 = _chunkPRIHD5XSjs.parsePlayRunHeaderFlag; exports.parsePlayRunOptions = _chunkPRIHD5XSjs.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.truncateErrorForDisplay = truncateErrorForDisplay; exports.waitForPlayCompletionByWatch = waitForPlayCompletionByWatch; exports.withTerminalPlayIdentity = withTerminalPlayIdentity; exports.writeInlinePlay = writeInlinePlay; exports.writePlayRunIdFile = writePlayRunIdFile; exports.writePlayRunReceipt = writePlayRunReceipt;