deepline 0.3.506 → 0.3.508

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