deepline 0.3.472 → 0.3.473

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 (125) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/observability/scheduled-work-control.ts +17 -0
  3. package/dist/bundling-sources/shared_libs/observability/scheduled-work-manual.ts +55 -0
  4. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/run-ledger-outbox-recovery.ts +14 -5
  5. package/dist/cli/auth-IJOWKNSB.js +41 -0
  6. package/dist/cli/{auth-35DAEPHC.mjs → auth-KLJOQ4DZ.mjs} +5 -5
  7. package/dist/cli/{billing-CXVBJEC4.mjs → billing-DNDYNBQ7.mjs} +6 -6
  8. package/dist/cli/{billing-5ED5X2IO.js → billing-IQNJXKH5.js} +79 -79
  9. package/dist/cli/{chunk-L3AXQXNT.js → chunk-36KEQFWZ.js} +13 -13
  10. package/dist/cli/{chunk-RDOPZK7A.js → chunk-3J2N7YF5.js} +18 -4
  11. package/dist/cli/{chunk-UPXGN62E.js → chunk-3LFSIUFI.js} +21 -21
  12. package/dist/cli/{chunk-T5H7ETIM.mjs → chunk-3OPQLFUK.mjs} +4 -4
  13. package/dist/cli/{chunk-V6OMS7E2.js → chunk-4IOY2SCQ.js} +10 -2
  14. package/dist/cli/{chunk-LQUOZGM6.js → chunk-4U3RNA3J.js} +51 -51
  15. package/dist/cli/{chunk-SBPI7AEB.js → chunk-63OOFT6B.js} +272 -258
  16. package/dist/cli/{chunk-TMMODGPV.mjs → chunk-6QS7522K.mjs} +2 -2
  17. package/dist/cli/{chunk-MRZ7AO72.mjs → chunk-6YOGOXOJ.mjs} +26 -12
  18. package/dist/cli/{chunk-6PKONIIP.mjs → chunk-ABLEU3QI.mjs} +5 -5
  19. package/dist/cli/{chunk-T5GRG37B.js → chunk-AK7UKQ5R.js} +5 -5
  20. package/dist/cli/{chunk-HBVT4FW5.js → chunk-B3BM3PAI.js} +6 -6
  21. package/dist/cli/{chunk-YNW47NOJ.mjs → chunk-CNCK2D6B.mjs} +2 -2
  22. package/dist/cli/{chunk-RMQB72WW.js → chunk-D22QIUE3.js} +9 -9
  23. package/dist/cli/{chunk-ODAARZSK.js → chunk-D4B3EV55.js} +36 -36
  24. package/dist/cli/{chunk-H7YFUC3J.js → chunk-DD7E4ZVH.js} +7 -7
  25. package/dist/cli/{chunk-OMPW5ELS.mjs → chunk-EUHTZV2E.mjs} +1 -1
  26. package/dist/cli/{chunk-FHIO7WI2.mjs → chunk-EVLUSXQG.mjs} +2 -2
  27. package/dist/cli/{chunk-5FHU67AT.js → chunk-F4PUDYBY.js} +3 -3
  28. package/dist/cli/{chunk-R73LE2IM.mjs → chunk-GAWP2YF5.mjs} +1 -1
  29. package/dist/cli/{chunk-KQJHIVCE.mjs → chunk-GE5GPLNM.mjs} +1 -1
  30. package/dist/cli/{chunk-C5PY2PP6.mjs → chunk-GISBRE2H.mjs} +3 -3
  31. package/dist/cli/{chunk-R6L6JRDR.mjs → chunk-GQBAJTQU.mjs} +2 -2
  32. package/dist/cli/{chunk-CFDQZQE2.mjs → chunk-GTH7JORC.mjs} +2 -2
  33. package/dist/cli/{chunk-2S36YV2K.mjs → chunk-HQCTPAXP.mjs} +1 -1
  34. package/dist/cli/{chunk-UKKCS6Z4.js → chunk-IC6AHOYS.js} +1 -1
  35. package/dist/cli/{chunk-QSCLOPWR.mjs → chunk-IFZ76E5H.mjs} +16 -2
  36. package/dist/cli/{chunk-VDHDTXCK.js → chunk-MREO5LZD.js} +2 -2
  37. package/dist/cli/{chunk-XSSIBO74.js → chunk-N4ZCMQ54.js} +8 -8
  38. package/dist/cli/{chunk-ZZQIS3TH.mjs → chunk-NTFM7JQW.mjs} +3 -3
  39. package/dist/cli/{chunk-GJPRBELO.js → chunk-OHUGXZ7N.js} +16 -16
  40. package/dist/cli/{chunk-X3RAGNNZ.mjs → chunk-OWUZKXE7.mjs} +1 -1
  41. package/dist/cli/{chunk-SKVMC6K6.js → chunk-PMJAGTSQ.js} +5 -5
  42. package/dist/cli/{chunk-NZBZFEVA.mjs → chunk-QD6IW2HP.mjs} +4 -4
  43. package/dist/cli/{chunk-4NFBYW7X.mjs → chunk-QG3THSTN.mjs} +2 -2
  44. package/dist/cli/{chunk-QLVYYDUI.js → chunk-QI73EL5C.js} +26 -26
  45. package/dist/cli/{chunk-2DND7LLL.js → chunk-RVRG57OB.js} +8 -8
  46. package/dist/cli/{chunk-XSX6TJUA.mjs → chunk-SD7QWZTV.mjs} +10 -2
  47. package/dist/cli/{chunk-52VOORHM.mjs → chunk-SWAYZST7.mjs} +2 -2
  48. package/dist/cli/{chunk-JRZW4LWK.mjs → chunk-TBLBYIKO.mjs} +1 -1
  49. package/dist/cli/{chunk-3L76SFGN.js → chunk-TUFQFTOC.js} +53 -53
  50. package/dist/cli/{chunk-M475BQ77.js → chunk-UON3WCBD.js} +3 -3
  51. package/dist/cli/{chunk-IPJ27SD2.mjs → chunk-V25CXRQ7.mjs} +5 -5
  52. package/dist/cli/{chunk-UXFUD2MB.mjs → chunk-VGVSHQN5.mjs} +5 -5
  53. package/dist/cli/{chunk-YMB2CD55.mjs → chunk-VS7JKS22.mjs} +1 -1
  54. package/dist/cli/{chunk-7KAS4QOW.js → chunk-WGQKOLXH.js} +6 -6
  55. package/dist/cli/{chunk-YK64LQPQ.mjs → chunk-X6R5UNDZ.mjs} +1 -1
  56. package/dist/cli/{chunk-SYWOSAW7.js → chunk-YH5SFKHJ.js} +4 -4
  57. package/dist/cli/{chunk-2G4R4APL.js → chunk-YHB6MASP.js} +2 -2
  58. package/dist/cli/{chunk-IIQ6O5F3.js → chunk-ZVLYUKJU.js} +5 -5
  59. package/dist/cli/{csv-OSDYY3QW.mjs → csv-NCY5MWS2.mjs} +4 -4
  60. package/dist/cli/{csv-SQJQM3B2.js → csv-OVV3HWN4.js} +13 -13
  61. package/dist/cli/{db-ATDYXAD5.js → db-BOELNDS4.js} +27 -27
  62. package/dist/cli/{db-2M6BU6G5.mjs → db-VPH6JHUD.mjs} +6 -6
  63. package/dist/cli/describe-7SFESEFL.js +48 -0
  64. package/dist/cli/{describe-WIAJCWF3.mjs → describe-FFDCPYZH.mjs} +19 -19
  65. package/dist/cli/describe-core.js +3 -3
  66. package/dist/cli/describe-core.mjs +2 -2
  67. package/dist/cli/{executions-2J6CCJL2.mjs → executions-5GCCDENS.mjs} +6 -6
  68. package/dist/cli/{executions-Y32LMYH6.js → executions-RF44ANF5.js} +8 -8
  69. package/dist/cli/{feedback-RXQLS6QU.js → feedback-NJM3V7QV.js} +8 -8
  70. package/dist/cli/{feedback-L4AVIMGI.mjs → feedback-OI2A5L6F.mjs} +4 -4
  71. package/dist/cli/git-4V5ZS5SE.js +25 -0
  72. package/dist/cli/{git-V3K77AWH.mjs → git-EOGSZ3T2.mjs} +5 -5
  73. package/dist/cli/index.js +135 -135
  74. package/dist/cli/index.mjs +40 -40
  75. package/dist/cli/{legacy-noops-B2KJT4CZ.js → legacy-noops-5QM7XGGX.js} +8 -8
  76. package/dist/cli/{legacy-noops-LOGMYOY5.mjs → legacy-noops-UYKK7AAB.mjs} +5 -5
  77. package/dist/cli/{monitors-A5WYUCGD.js → monitors-52GW2V4V.js} +91 -91
  78. package/dist/cli/{monitors-5ETSB7S7.mjs → monitors-N3ITC5MP.mjs} +7 -7
  79. package/dist/cli/{org-7EZDWYKK.js → org-ADF47NPV.js} +72 -72
  80. package/dist/cli/{org-BJOAUSXL.mjs → org-KUZUG33W.mjs} +6 -6
  81. package/dist/cli/{pages-3BYGBTVK.mjs → pages-C3S5WU3S.mjs} +6 -6
  82. package/dist/cli/{pages-45VNTEQU.js → pages-H3H7ODBN.js} +17 -17
  83. package/dist/cli/{play-R7JQV533.mjs → play-SZETTQPV.mjs} +17 -17
  84. package/dist/cli/{play-5KER3JFU.js → play-YWZWBG32.js} +306 -306
  85. package/dist/cli/{providers-RMFCE6MM.mjs → providers-FSCD35HB.mjs} +6 -6
  86. package/dist/cli/{providers-OHMZ6QIF.js → providers-V3BP7ZB2.js} +9 -9
  87. package/dist/cli/{quickstart-GNRE4SAT.js → quickstart-ICULVGAR.js} +6 -6
  88. package/dist/cli/{quickstart-IHR4VC5K.mjs → quickstart-SYZCT2WI.mjs} +4 -4
  89. package/dist/cli/{run-Y4MIRFJY.mjs → run-HA5B3AYQ.mjs} +24 -24
  90. package/dist/cli/{run-77QIMUUV.js → run-WUJSKGUM.js} +39 -39
  91. package/dist/cli/{search-24YKTHMK.mjs → search-A27AGYDV.mjs} +7 -7
  92. package/dist/cli/search-XATDPNEM.js +32 -0
  93. package/dist/cli/{secrets-KHX62AWC.mjs → secrets-2L4VRJ2F.mjs} +6 -6
  94. package/dist/cli/{secrets-SSEBT3IS.js → secrets-ODX56QBF.js} +15 -15
  95. package/dist/cli/{sessions-E6KNWYEH.js → sessions-DVZ4FECP.js} +6 -6
  96. package/dist/cli/{sessions-H7T25HGE.mjs → sessions-PRF36DHO.mjs} +5 -5
  97. package/dist/cli/{settings-XSJG6M32.mjs → settings-LUATIKJE.mjs} +11 -11
  98. package/dist/cli/{settings-GXUYF5G7.js → settings-RJT5DBWG.js} +78 -78
  99. package/dist/cli/{setup-JP5YPIA4.js → setup-FJSBKCLU.js} +44 -44
  100. package/dist/cli/{setup-GD7IOD4U.mjs → setup-IQXTYLRH.mjs} +9 -9
  101. package/dist/cli/skills-N6CPBF6T.js +31 -0
  102. package/dist/cli/{skills-HLHE3ENN.mjs → skills-XJH4ZC5Y.mjs} +7 -7
  103. package/dist/cli/{tools-Q4XIQX7W.mjs → tools-IGXLZCKZ.mjs} +17 -17
  104. package/dist/cli/tools-YMVEVRCE.js +55 -0
  105. package/dist/cli/{update-3KRMR2QJ.mjs → update-AH7G5VSL.mjs} +9 -9
  106. package/dist/cli/update-MUCWGTXH.js +33 -0
  107. package/dist/cli/{workflow-NMUESL3O.js → workflow-IQ2J7LWM.js} +17 -17
  108. package/dist/cli/{workflow-NOZ7WFEY.mjs → workflow-WOYSCWVD.mjs} +7 -7
  109. package/dist/index.js +9 -9
  110. package/dist/index.mjs +6 -6
  111. package/dist/install-integrity.json +100 -100
  112. package/dist/release.d.mts +1 -1
  113. package/dist/release.d.ts +1 -1
  114. package/dist/release.js +2 -2
  115. package/dist/release.mjs +1 -1
  116. package/dist/server.js +5 -5
  117. package/dist/server.mjs +3 -3
  118. package/package.json +1 -1
  119. package/dist/cli/auth-Q5TM66UI.js +0 -41
  120. package/dist/cli/describe-37QXXDCF.js +0 -48
  121. package/dist/cli/git-JGUR335T.js +0 -25
  122. package/dist/cli/search-S3VO2UKV.js +0 -32
  123. package/dist/cli/skills-C4KTW3US.js +0 -31
  124. package/dist/cli/tools-KS7JMRK6.js +0 -55
  125. package/dist/cli/update-GYTQYK2W.js +0 -33
@@ -5,7 +5,7 @@
5
5
 
6
6
 
7
7
 
8
- var _chunkRMQB72WWjs = require('./chunk-RMQB72WW.js');
8
+ var _chunkD22QIUE3js = require('./chunk-D22QIUE3.js');
9
9
 
10
10
 
11
11
 
@@ -17,14 +17,14 @@ var _chunkRMQB72WWjs = require('./chunk-RMQB72WW.js');
17
17
 
18
18
 
19
19
 
20
- var _chunkRDOPZK7Ajs = require('./chunk-RDOPZK7A.js');
20
+ var _chunk3J2N7YF5js = require('./chunk-3J2N7YF5.js');
21
21
 
22
22
 
23
- var _chunk2DND7LLLjs = require('./chunk-2DND7LLL.js');
23
+ var _chunkRVRG57OBjs = require('./chunk-RVRG57OB.js');
24
24
 
25
25
 
26
26
 
27
- var _chunkQLVYYDUIjs = require('./chunk-QLVYYDUI.js');
27
+ var _chunkQI73EL5Cjs = require('./chunk-QI73EL5C.js');
28
28
 
29
29
 
30
30
  var _chunkIAYSWZDJjs = require('./chunk-IAYSWZDJ.js');
@@ -52,10 +52,10 @@ var _chunkA6QCMBGLjs = require('./chunk-A6QCMBGL.js');
52
52
 
53
53
 
54
54
 
55
- var _chunkIIQ6O5F3js = require('./chunk-IIQ6O5F3.js');
55
+ var _chunkZVLYUKJUjs = require('./chunk-ZVLYUKJU.js');
56
56
 
57
57
 
58
- var _chunkSKVMC6K6js = require('./chunk-SKVMC6K6.js');
58
+ var _chunkPMJAGTSQjs = require('./chunk-PMJAGTSQ.js');
59
59
  require('./chunk-VKKVSFRD.js');
60
60
 
61
61
 
@@ -69,7 +69,7 @@ require('./chunk-VKKVSFRD.js');
69
69
 
70
70
 
71
71
 
72
- var _chunk7KAS4QOWjs = require('./chunk-7KAS4QOW.js');
72
+ var _chunkWGQKOLXHjs = require('./chunk-WGQKOLXH.js');
73
73
  require('./chunk-E4CABWXL.js');
74
74
 
75
75
 
@@ -89,18 +89,18 @@ require('./chunk-XDVT3GOM.js');
89
89
 
90
90
 
91
91
 
92
- var _chunkHBVT4FW5js = require('./chunk-HBVT4FW5.js');
92
+ var _chunkB3BM3PAIjs = require('./chunk-B3BM3PAI.js');
93
93
 
94
94
 
95
95
 
96
96
 
97
97
 
98
- var _chunk2G4R4APLjs = require('./chunk-2G4R4APL.js');
99
- require('./chunk-3L76SFGN.js');
98
+ var _chunkYHB6MASPjs = require('./chunk-YHB6MASP.js');
99
+ require('./chunk-TUFQFTOC.js');
100
100
 
101
101
 
102
102
 
103
- var _chunkM475BQ77js = require('./chunk-M475BQ77.js');
103
+ var _chunkUON3WCBDjs = require('./chunk-UON3WCBD.js');
104
104
 
105
105
 
106
106
 
@@ -114,17 +114,17 @@ var _chunkM475BQ77js = require('./chunk-M475BQ77.js');
114
114
 
115
115
 
116
116
 
117
- var _chunkH7YFUC3Jjs = require('./chunk-H7YFUC3J.js');
118
- require('./chunk-5FHU67AT.js');
117
+ var _chunkDD7E4ZVHjs = require('./chunk-DD7E4ZVH.js');
118
+ require('./chunk-F4PUDYBY.js');
119
119
 
120
120
 
121
- var _chunkSYWOSAW7js = require('./chunk-SYWOSAW7.js');
121
+ var _chunkYH5SFKHJjs = require('./chunk-YH5SFKHJ.js');
122
122
  require('./chunk-ALJJRZNJ.js');
123
123
  require('./chunk-XNYIZMNQ.js');
124
124
 
125
125
 
126
126
  var _chunkDIAWYWT5js = require('./chunk-DIAWYWT5.js');
127
- require('./chunk-UKKCS6Z4.js');
127
+ require('./chunk-IC6AHOYS.js');
128
128
  require('./chunk-OG64RBAC.js');
129
129
 
130
130
 
@@ -2106,7 +2106,7 @@ function resolveField(key, command) {
2106
2106
  function printSettings(result, json, name) {
2107
2107
  result = { ...result, settings: parsePlaySettings(result.settings) };
2108
2108
  const selected = fields.filter(([key]) => !name || key === name);
2109
- _chunkH7YFUC3Jjs.printCommandEnvelope.call(void 0,
2109
+ _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
2110
2110
  {
2111
2111
  ...result,
2112
2112
  settings: Object.fromEntries(
@@ -2150,7 +2150,7 @@ function registerPlaySettingsCommands(plays) {
2150
2150
  valueSyntax: field.cli.valueSyntax,
2151
2151
  examples: field.cli.examples
2152
2152
  }));
2153
- _chunkH7YFUC3Jjs.printCommandEnvelope.call(void 0,
2153
+ _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
2154
2154
  {
2155
2155
  fields: descriptions,
2156
2156
  render: {
@@ -2175,7 +2175,7 @@ function registerPlaySettingsCommands(plays) {
2175
2175
  async (options, command) => {
2176
2176
  if (options.name !== void 0) resolveField(options.name, command);
2177
2177
  printSettings(
2178
- await new (0, _chunkSKVMC6K6js.DeeplineClient)().getPlaySettings(options.play),
2178
+ await new (0, _chunkPMJAGTSQjs.DeeplineClient)().getPlaySettings(options.play),
2179
2179
  options.json,
2180
2180
  options.name
2181
2181
  );
@@ -2206,7 +2206,7 @@ function registerPlaySettingsCommands(plays) {
2206
2206
  );
2207
2207
  }
2208
2208
  if (options.dryRun) {
2209
- _chunkH7YFUC3Jjs.printCommandEnvelope.call(void 0,
2209
+ _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
2210
2210
  {
2211
2211
  dryRun: true,
2212
2212
  play,
@@ -2227,7 +2227,7 @@ function registerPlaySettingsCommands(plays) {
2227
2227
  return;
2228
2228
  }
2229
2229
  printSettings(
2230
- await new (0, _chunkSKVMC6K6js.DeeplineClient)().updatePlaySettings(play, patch),
2230
+ await new (0, _chunkPMJAGTSQjs.DeeplineClient)().updatePlaySettings(play, patch),
2231
2231
  options.json
2232
2232
  );
2233
2233
  };
@@ -2253,13 +2253,13 @@ function registerPlaySettingsCommands(plays) {
2253
2253
  "--root must be person or team; --limit must be 1\u2013100.",
2254
2254
  { exitCode: 2 }
2255
2255
  );
2256
- const page = await new (0, _chunkSKVMC6K6js.DeeplineClient)().listPlaySettingsPaths({
2256
+ const page = await new (0, _chunkPMJAGTSQjs.DeeplineClient)().listPlaySettingsPaths({
2257
2257
  root: options.root,
2258
2258
  limit,
2259
2259
  cursor: options.cursor
2260
2260
  });
2261
2261
  const nextCommand = page.hasMore ? `deepline plays settings paths --cursor '${page.cursor}'${options.root ? ` --root ${options.root}` : ""}` : null;
2262
- _chunkH7YFUC3Jjs.printCommandEnvelope.call(void 0,
2262
+ _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
2263
2263
  {
2264
2264
  ...page,
2265
2265
  nextCommand,
@@ -2310,7 +2310,7 @@ function registerPlaySettingsCommands(plays) {
2310
2310
  root: _nullishCoalesce(_optionalChain([toPath, 'optionalAccess', _12 => _12.root]), () => ( "person")),
2311
2311
  folders: _nullishCoalesce(_optionalChain([toPath, 'optionalAccess', _13 => _13.folders]), () => ( []))
2312
2312
  };
2313
- const client = new (0, _chunkSKVMC6K6js.DeeplineClient)();
2313
+ const client = new (0, _chunkPMJAGTSQjs.DeeplineClient)();
2314
2314
  const paths = [];
2315
2315
  let cursor;
2316
2316
  do {
@@ -2372,7 +2372,7 @@ function registerPlaySettingsCommands(plays) {
2372
2372
  moved.push(move.playName);
2373
2373
  }
2374
2374
  }
2375
- _chunkH7YFUC3Jjs.printCommandEnvelope.call(void 0,
2375
+ _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
2376
2376
  {
2377
2377
  dryRun: Boolean(options.dryRun),
2378
2378
  from: options.from,
@@ -2500,7 +2500,7 @@ function triggerLines(view) {
2500
2500
  return lines;
2501
2501
  }
2502
2502
  function printView(view, json) {
2503
- _chunkH7YFUC3Jjs.printCommandEnvelope.call(void 0,
2503
+ _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
2504
2504
  {
2505
2505
  ...view,
2506
2506
  render: {
@@ -2513,7 +2513,7 @@ function printView(view, json) {
2513
2513
  );
2514
2514
  }
2515
2515
  function printResult(result, json) {
2516
- _chunkH7YFUC3Jjs.printCommandEnvelope.call(void 0,
2516
+ _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
2517
2517
  {
2518
2518
  ...result,
2519
2519
  render: {
@@ -2543,7 +2543,7 @@ async function mutate(command, options, build) {
2543
2543
  usage(command, `Invalid trigger: ${formatPlayTriggerConfigError(error)}`);
2544
2544
  }
2545
2545
  if (options.dryRun) {
2546
- _chunkH7YFUC3Jjs.printCommandEnvelope.call(void 0,
2546
+ _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
2547
2547
  {
2548
2548
  dryRun: true,
2549
2549
  play: options.play,
@@ -2562,7 +2562,7 @@ async function mutate(command, options, build) {
2562
2562
  return;
2563
2563
  }
2564
2564
  printResult(
2565
- await new (0, _chunkSKVMC6K6js.DeeplineClient)().updatePlayTriggerConfig(options.play, update),
2565
+ await new (0, _chunkPMJAGTSQjs.DeeplineClient)().updatePlayTriggerConfig(options.play, update),
2566
2566
  options.json
2567
2567
  );
2568
2568
  }
@@ -2595,7 +2595,7 @@ function registerPlayTriggerConfigCommands(plays) {
2595
2595
  }).addHelpText("after", help2);
2596
2596
  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) => {
2597
2597
  printView(
2598
- await new (0, _chunkSKVMC6K6js.DeeplineClient)().getPlayTriggerConfig(options.play),
2598
+ await new (0, _chunkPMJAGTSQjs.DeeplineClient)().getPlayTriggerConfig(options.play),
2599
2599
  options.json
2600
2600
  );
2601
2601
  });
@@ -2639,7 +2639,7 @@ function registerPlayTriggerConfigCommands(plays) {
2639
2639
  if (options.auth === void 0) {
2640
2640
  if (secrets.length || options.header || options.signaturePrefix)
2641
2641
  usage(setWebhook, "--secret/--header need --auth.");
2642
- const current = await new (0, _chunkSKVMC6K6js.DeeplineClient)().getPlayTriggerConfig(
2642
+ const current = await new (0, _chunkPMJAGTSQjs.DeeplineClient)().getPlayTriggerConfig(
2643
2643
  options.play
2644
2644
  );
2645
2645
  return {
@@ -2716,7 +2716,7 @@ var KIND_DESCRIPTIONS = {
2716
2716
  "receipt.skipped": "Saved work result: skipped.",
2717
2717
  "runtime.event": "Other event."
2718
2718
  };
2719
- var RUN_LOGS_KIND_HELP = _chunk7KAS4QOWjs.RUN_EVENT_SEARCH_KIND_VALUES.map((kind) => ({
2719
+ var RUN_LOGS_KIND_HELP = _chunkWGQKOLXHjs.RUN_EVENT_SEARCH_KIND_VALUES.map((kind) => ({
2720
2720
  kind,
2721
2721
  description: KIND_DESCRIPTIONS[kind]
2722
2722
  }));
@@ -2853,9 +2853,9 @@ function configureRunQueryCommandErrors(command, resource) {
2853
2853
  const args = program.args;
2854
2854
  if (error.exitCode !== 0 && (resource === "events" || requestsStructuredLogs(args))) {
2855
2855
  error.exitCode = 2;
2856
- if (_chunkH7YFUC3Jjs.argsWantJson.call(void 0, args) || command.optsWithGlobals().json === true) {
2857
- _chunkH7YFUC3Jjs.printJsonError.call(void 0,
2858
- Object.assign(new (0, _chunk7KAS4QOWjs.RunEventQueryInputError)(error.message), {
2856
+ if (_chunkDD7E4ZVHjs.argsWantJson.call(void 0, args) || command.optsWithGlobals().json === true) {
2857
+ _chunkDD7E4ZVHjs.printJsonError.call(void 0,
2858
+ Object.assign(new (0, _chunkWGQKOLXHjs.RunEventQueryInputError)(error.message), {
2859
2859
  exitCode: 2,
2860
2860
  retryable: false
2861
2861
  })
@@ -2899,14 +2899,14 @@ function parseQuery(args, resource) {
2899
2899
  if (VALUE_FLAGS.has(flag)) {
2900
2900
  const value = equals > 0 ? arg.slice(equals + 1) : args[++index];
2901
2901
  if (!value || equals < 0 && value.startsWith("--") && flag !== "--query" && flag !== "--where") {
2902
- throw new (0, _chunk7KAS4QOWjs.RunEventQueryInputError)(
2902
+ throw new (0, _chunkWGQKOLXHjs.RunEventQueryInputError)(
2903
2903
  `${flag} requires a value. Use ${flag} <value>.`
2904
2904
  );
2905
2905
  }
2906
2906
  if (flag === "--sum") sums.push(value);
2907
2907
  else {
2908
2908
  if (values[flag] !== void 0) {
2909
- throw new (0, _chunk7KAS4QOWjs.RunEventQueryInputError)(
2909
+ throw new (0, _chunkWGQKOLXHjs.RunEventQueryInputError)(
2910
2910
  `${flag} may only be supplied once.`
2911
2911
  );
2912
2912
  }
@@ -2920,12 +2920,12 @@ function parseQuery(args, resource) {
2920
2920
  }
2921
2921
  if (arg.startsWith("-")) {
2922
2922
  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.";
2923
- throw new (0, _chunk7KAS4QOWjs.RunEventQueryInputError)(
2923
+ throw new (0, _chunkWGQKOLXHjs.RunEventQueryInputError)(
2924
2924
  `Unsupported query flag ${flag}. ${correction}`
2925
2925
  );
2926
2926
  }
2927
2927
  if (runId !== void 0) {
2928
- throw new (0, _chunk7KAS4QOWjs.RunEventQueryInputError)(
2928
+ throw new (0, _chunkWGQKOLXHjs.RunEventQueryInputError)(
2929
2929
  `Unexpected argument ${JSON.stringify(arg)}. Supply one run ID.`
2930
2930
  );
2931
2931
  }
@@ -2933,7 +2933,7 @@ function parseQuery(args, resource) {
2933
2933
  }
2934
2934
  if (switches.has("--fields")) {
2935
2935
  if (runId !== void 0) {
2936
- throw new (0, _chunk7KAS4QOWjs.RunEventQueryInputError)(
2936
+ throw new (0, _chunkWGQKOLXHjs.RunEventQueryInputError)(
2937
2937
  "--fields does not use a run ID. Omit the positional run ID."
2938
2938
  );
2939
2939
  }
@@ -2946,18 +2946,18 @@ function parseQuery(args, resource) {
2946
2946
  )
2947
2947
  ];
2948
2948
  if (incompatible.length) {
2949
- throw new (0, _chunk7KAS4QOWjs.RunEventQueryInputError)(
2949
+ throw new (0, _chunkWGQKOLXHjs.RunEventQueryInputError)(
2950
2950
  `--fields cannot be combined with ${incompatible.join(", ")}. Use --fields alone to discover the query contract.`
2951
2951
  );
2952
2952
  }
2953
2953
  }
2954
2954
  if (switches.has("--count") && values["--group-by"] !== void 0) {
2955
- throw new (0, _chunk7KAS4QOWjs.RunEventQueryInputError)(
2955
+ throw new (0, _chunkWGQKOLXHjs.RunEventQueryInputError)(
2956
2956
  "--count cannot be combined with --group-by. Use --group-by for counts per group."
2957
2957
  );
2958
2958
  }
2959
2959
  if (sums.length && switches.has("--count")) {
2960
- throw new (0, _chunk7KAS4QOWjs.RunEventQueryInputError)(
2960
+ throw new (0, _chunkWGQKOLXHjs.RunEventQueryInputError)(
2961
2961
  "--sum cannot be combined with --count. Use --sum for the exact count and numeric total."
2962
2962
  );
2963
2963
  }
@@ -2965,7 +2965,7 @@ function parseQuery(args, resource) {
2965
2965
  if (operation === "count") {
2966
2966
  for (const flag of ["--limit", "--cursor", "--payloads"]) {
2967
2967
  if (values[flag] !== void 0 || switches.has(flag)) {
2968
- throw new (0, _chunk7KAS4QOWjs.RunEventQueryInputError)(
2968
+ throw new (0, _chunkWGQKOLXHjs.RunEventQueryInputError)(
2969
2969
  `--count cannot be combined with ${flag}. Remove ${flag} to count all matching retained records.`
2970
2970
  );
2971
2971
  }
@@ -3000,16 +3000,16 @@ function parseQuery(args, resource) {
3000
3000
  ];
3001
3001
  }
3002
3002
  }
3003
- const request = _chunk7KAS4QOWjs.normalizeRunEventOperationRequest.call(void 0, body);
3003
+ const request = _chunkWGQKOLXHjs.normalizeRunEventOperationRequest.call(void 0, body);
3004
3004
  const namespace = _nullishCoalesce(values["--runtime-namespace"], () => ( (process.env.DEEPLINE_RUNTIME_ENVIRONMENT === "preview" ? process.env.DEEPLINE_RUNTIME_NAMESPACE : void 0)));
3005
3005
  const backend = values["--runtime-backend"];
3006
3006
  if (backend && backend !== "daytona" && backend !== "modal") {
3007
- throw new (0, _chunk7KAS4QOWjs.RunEventQueryInputError)(
3007
+ throw new (0, _chunkWGQKOLXHjs.RunEventQueryInputError)(
3008
3008
  "--runtime-backend must be daytona or modal."
3009
3009
  );
3010
3010
  }
3011
3011
  if (backend && !namespace) {
3012
- throw new (0, _chunk7KAS4QOWjs.RunEventQueryInputError)(
3012
+ throw new (0, _chunkWGQKOLXHjs.RunEventQueryInputError)(
3013
3013
  "--runtime-backend requires --runtime-namespace."
3014
3014
  );
3015
3015
  }
@@ -3056,12 +3056,12 @@ async function handleRunEventQuery(args, resource = "logs") {
3056
3056
  const failure = error instanceof Error ? error : new Error(String(error));
3057
3057
  const record3 = failure;
3058
3058
  const status = record3.statusCode;
3059
- const exitCode = error instanceof _chunk7KAS4QOWjs.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;
3059
+ const exitCode = error instanceof _chunkWGQKOLXHjs.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;
3060
3060
  const diagnostic = Object.assign(failure, {
3061
3061
  exitCode,
3062
3062
  retryable: exitCode === 5
3063
3063
  });
3064
- if (_chunkH7YFUC3Jjs.argsWantJson.call(void 0, args)) _chunkH7YFUC3Jjs.printJsonError.call(void 0, diagnostic);
3064
+ if (_chunkDD7E4ZVHjs.argsWantJson.call(void 0, args)) _chunkDD7E4ZVHjs.printJsonError.call(void 0, diagnostic);
3065
3065
  else console.error(`Error: ${diagnostic.message}`);
3066
3066
  return exitCode;
3067
3067
  }
@@ -3076,7 +3076,7 @@ async function executeRunEventQuery(args, resource) {
3076
3076
  ...criteria
3077
3077
  } = request;
3078
3078
  const options = { ...criteria, ...runtime ? { runtime } : {} };
3079
- const client = new (0, _chunkSKVMC6K6js.DeeplineClient)();
3079
+ const client = new (0, _chunkPMJAGTSQjs.DeeplineClient)();
3080
3080
  let result;
3081
3081
  if (request.operation === "fields") {
3082
3082
  result = await client.runs[resource].fields(runtime ? { runtime } : {});
@@ -3142,13 +3142,13 @@ async function executeRunEventQuery(args, resource) {
3142
3142
  lines.push(`Next page: ${nextPage}`);
3143
3143
  }
3144
3144
  }
3145
- _chunkH7YFUC3Jjs.printCommandEnvelope.call(void 0,
3145
+ _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
3146
3146
  {
3147
3147
  ...result,
3148
3148
  ...nextPage ? { next: { page: nextPage } } : {},
3149
3149
  render: { sections: [{ title: `run ${resource}`, lines }] }
3150
3150
  },
3151
- { json: _chunkH7YFUC3Jjs.argsWantJson.call(void 0, args), text: `${lines.join("\n")}
3151
+ { json: _chunkDD7E4ZVHjs.argsWantJson.call(void 0, args), text: `${lines.join("\n")}
3152
3152
  ` }
3153
3153
  );
3154
3154
  return 0;
@@ -4067,7 +4067,7 @@ Existing credential redactions and referenced-list previews remain as stored.
4067
4067
  ...text.split(/\r?\n/).map((key) => key.trim()).filter(Boolean)
4068
4068
  );
4069
4069
  }
4070
- const response = await new (0, _chunkSKVMC6K6js.DeeplineClient)().runs.getReceipts(runId, {
4070
+ const response = await new (0, _chunkPMJAGTSQjs.DeeplineClient)().runs.getReceipts(runId, {
4071
4071
  keys
4072
4072
  });
4073
4073
  const failed = response.receipts.filter(
@@ -4079,7 +4079,7 @@ Existing credential redactions and referenced-list previews remain as stored.
4079
4079
  JSON.stringify(response, null, 2) + "\n",
4080
4080
  { flag: "wx", mode: 384 }
4081
4081
  );
4082
- _chunkH7YFUC3Jjs.printCommandEnvelope.call(void 0,
4082
+ _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
4083
4083
  {
4084
4084
  runId,
4085
4085
  out: options.out,
@@ -4089,7 +4089,7 @@ Existing credential redactions and referenced-list previews remain as stored.
4089
4089
  { json: true }
4090
4090
  );
4091
4091
  } else {
4092
- _chunkH7YFUC3Jjs.printCommandEnvelope.call(void 0, { ...response }, { json: true });
4092
+ _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0, { ...response }, { json: true });
4093
4093
  }
4094
4094
  if (failed)
4095
4095
  process.exitCode = response.receipts.some(
@@ -4128,7 +4128,7 @@ includes nextCommand when another page is available.
4128
4128
  { exitCode: 2 }
4129
4129
  );
4130
4130
  }
4131
- const page = await new (0, _chunkSKVMC6K6js.DeeplineClient)().runs.children(parentRunId, {
4131
+ const page = await new (0, _chunkPMJAGTSQjs.DeeplineClient)().runs.children(parentRunId, {
4132
4132
  launchKey: options.launchKey,
4133
4133
  ...options.cursor !== void 0 ? { cursor: options.cursor } : {},
4134
4134
  limit
@@ -4143,7 +4143,7 @@ includes nextCommand when another page is available.
4143
4143
  "--limit",
4144
4144
  String(limit)
4145
4145
  ].join(" ") : null;
4146
- _chunkH7YFUC3Jjs.printCommandEnvelope.call(void 0,
4146
+ _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
4147
4147
  {
4148
4148
  parentRunId,
4149
4149
  launchKey: options.launchKey,
@@ -4179,7 +4179,7 @@ async function handleRunsHistory(options) {
4179
4179
  throw new Error("--limit must be a positive integer.");
4180
4180
  }
4181
4181
  }
4182
- const page = await new (0, _chunkSKVMC6K6js.DeeplineClient)().runs.history({
4182
+ const page = await new (0, _chunkPMJAGTSQjs.DeeplineClient)().runs.history({
4183
4183
  cursor: options.cursor,
4184
4184
  orgId: options.org,
4185
4185
  search: options.search,
@@ -4195,7 +4195,7 @@ async function handleRunsHistory(options) {
4195
4195
  );
4196
4196
  }
4197
4197
  if (page.hasMore) lines.push(`Next cursor: ${page.nextCursor}`);
4198
- _chunkH7YFUC3Jjs.printCommandEnvelope.call(void 0,
4198
+ _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
4199
4199
  { ...page, render: { sections: [{ title: "Run history", lines }] } },
4200
4200
  options.json ? { json: true } : {}
4201
4201
  );
@@ -4247,12 +4247,12 @@ async function runRunsRerunCommand(runId, options) {
4247
4247
  return 1;
4248
4248
  }
4249
4249
  }
4250
- const result = await new (0, _chunkSKVMC6K6js.DeeplineClient)().runs.rerun(runId, {
4250
+ const result = await new (0, _chunkPMJAGTSQjs.DeeplineClient)().runs.rerun(runId, {
4251
4251
  ...idempotencyKey === void 0 ? {} : { idempotencyKey },
4252
4252
  ...inputOverrides === void 0 ? {} : { inputOverrides }
4253
4253
  });
4254
- if (_chunkH7YFUC3Jjs.shouldEmitJson.call(void 0, options.json)) {
4255
- _chunkH7YFUC3Jjs.printCommandEnvelope.call(void 0, result, { json: true });
4254
+ if (_chunkDD7E4ZVHjs.shouldEmitJson.call(void 0, options.json)) {
4255
+ _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0, result, { json: true });
4256
4256
  } else if (result.rateLimited) {
4257
4257
  console.log(`
4258
4258
  ${result.rateLimited.message}`);
@@ -5076,13 +5076,13 @@ var RunDataset = class _RunDataset {
5076
5076
  const absolutePath = _path.resolve.call(void 0, outPath);
5077
5077
  _fs.writeFileSync.call(void 0,
5078
5078
  absolutePath,
5079
- `${JSON.stringify(_chunkRDOPZK7Ajs.orderRunExportJson.call(void 0, this.rows), null, 2)}
5079
+ `${JSON.stringify(_chunk3J2N7YF5js.orderRunExportJson.call(void 0, this.rows), null, 2)}
5080
5080
  `,
5081
5081
  "utf-8"
5082
5082
  );
5083
5083
  return absolutePath;
5084
5084
  }
5085
- return _chunkRDOPZK7Ajs.writeRunDatasetCsv.call(void 0, {
5085
+ return _chunk3J2N7YF5js.writeRunDatasetCsv.call(void 0, {
5086
5086
  rows: this.rows,
5087
5087
  columns: this.#info.columns,
5088
5088
  outPath
@@ -6802,7 +6802,7 @@ function renderOutcome(outcome) {
6802
6802
  function printResult2(input) {
6803
6803
  const failed = input.status === "failed" || input.status === "cancelled";
6804
6804
  if (failed) process.exitCode = 1;
6805
- _chunkH7YFUC3Jjs.printCommandEnvelope.call(void 0,
6805
+ _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
6806
6806
  {
6807
6807
  deployment: { ...input.deployment, status: input.status },
6808
6808
  plays: input.outcomes,
@@ -6827,7 +6827,7 @@ async function handlePlaysDeploy(directory, options) {
6827
6827
  const root = await _promises.realpath.call(void 0, _path.resolve.call(void 0, _nullishCoalesce(directory, () => ( ".")))).catch(() => {
6828
6828
  throw new Error(`No such directory: ${_path.resolve.call(void 0, _nullishCoalesce(directory, () => ( ".")))}`);
6829
6829
  });
6830
- const { http, config } = _chunkH7YFUC3Jjs.getAuthedHttpClient.call(void 0, );
6830
+ const { http, config } = _chunkDD7E4ZVHjs.getAuthedHttpClient.call(void 0, );
6831
6831
  const deliveryId = `local:${_crypto.randomUUID.call(void 0, )}`;
6832
6832
  const startDeployment = () => http.post("/api/v2/deployments", {
6833
6833
  deliveryId,
@@ -6854,7 +6854,7 @@ async function handlePlaysDeploy(directory, options) {
6854
6854
  },
6855
6855
  {
6856
6856
  bundle: bundleDeployPlayFile,
6857
- fetchImpl: _chunkSYWOSAW7js.fetchWithDeploymentProtection,
6857
+ fetchImpl: _chunkYH5SFKHJjs.fetchWithDeploymentProtection,
6858
6858
  // The plays are already here: "opening" the source is naming it.
6859
6859
  openSource: async () => ({
6860
6860
  open: async () => ({ repoRoot: root })
@@ -6980,7 +6980,7 @@ async function checkLocalPlayGraph(input) {
6980
6980
  // src/cli/renderers/local-play-execution.ts
6981
6981
  function renderLocalPlayExecutionPlan(plan, options = {}) {
6982
6982
  if (options.dryRun) {
6983
- _chunkH7YFUC3Jjs.printCommandEnvelope.call(void 0, { dryRun: true, ...plan }, { json: options.json });
6983
+ _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0, { dryRun: true, ...plan }, { json: options.json });
6984
6984
  return;
6985
6985
  }
6986
6986
  process.stderr.write(`Local Play execution plan: ${JSON.stringify(plan)}
@@ -7152,7 +7152,7 @@ function traceCliSync(phase, fields2, run) {
7152
7152
  const startedAt = Date.now();
7153
7153
  try {
7154
7154
  const result = run();
7155
- _chunk2G4R4APLjs.recordCliTrace.call(void 0, {
7155
+ _chunkYHB6MASPjs.recordCliTrace.call(void 0, {
7156
7156
  phase,
7157
7157
  ms: Date.now() - startedAt,
7158
7158
  ok: true,
@@ -7160,7 +7160,7 @@ function traceCliSync(phase, fields2, run) {
7160
7160
  });
7161
7161
  return result;
7162
7162
  } catch (error) {
7163
- _chunk2G4R4APLjs.recordCliTrace.call(void 0, {
7163
+ _chunkYHB6MASPjs.recordCliTrace.call(void 0, {
7164
7164
  phase,
7165
7165
  ms: Date.now() - startedAt,
7166
7166
  ok: false,
@@ -7947,7 +7947,7 @@ function playStatusErrorText(status) {
7947
7947
  function isRetryablePendingStartFailure(status) {
7948
7948
  if (status.status !== "failed") return false;
7949
7949
  if (status.runId && status.runId !== "pending") return false;
7950
- return _chunk7KAS4QOWjs.isTransientPlayRunReadError.call(void 0, new Error(playStatusErrorText(status)));
7950
+ return _chunkWGQKOLXHjs.isTransientPlayRunReadError.call(void 0, new Error(playStatusErrorText(status)));
7951
7951
  }
7952
7952
  function isAmbiguousPlayStartOutcomeError(error) {
7953
7953
  if (error instanceof _chunkDIAWYWT5js.DeeplineError && typeof error.statusCode === "number") {
@@ -7996,13 +7996,13 @@ var PlayStartOutcomeUnknownError = (_class = class extends _chunkDIAWYWT5js.Deep
7996
7996
  }, _class);
7997
7997
  function watchSurfaceReaches(state, provenance, level) {
7998
7998
  const minimumLevel = _nullishCoalesce(state.logLevel, () => ( (state.verbose ? "debug" : "info")));
7999
- if (!_chunk7KAS4QOWjs.logLevelReaches.call(void 0, level, minimumLevel)) {
7999
+ if (!_chunkWGQKOLXHjs.logLevelReaches.call(void 0, level, minimumLevel)) {
8000
8000
  return false;
8001
8001
  }
8002
- if (_chunk7KAS4QOWjs.logProvenanceReaches.call(void 0, provenance, "watch")) {
8002
+ if (_chunkWGQKOLXHjs.logProvenanceReaches.call(void 0, provenance, "watch")) {
8003
8003
  return true;
8004
8004
  }
8005
- return state.verbose === true && _chunk7KAS4QOWjs.logProvenanceReaches.call(void 0, provenance, "debug");
8005
+ return state.verbose === true && _chunkWGQKOLXHjs.logProvenanceReaches.call(void 0, provenance, "debug");
8006
8006
  }
8007
8007
  function getEventPayload(event) {
8008
8008
  return event.payload && typeof event.payload === "object" ? event.payload : {};
@@ -8504,7 +8504,7 @@ function resolveRunPlayName(status, runId) {
8504
8504
  }
8505
8505
  function openPlayDashboard(dashboardUrl, open2) {
8506
8506
  if (open2 && dashboardUrl) {
8507
- _chunkH7YFUC3Jjs.openInBrowser.call(void 0, dashboardUrl);
8507
+ _chunkDD7E4ZVHjs.openInBrowser.call(void 0, dashboardUrl);
8508
8508
  }
8509
8509
  }
8510
8510
  function printPlayLogLines(input) {
@@ -8581,7 +8581,7 @@ async function waitForPlayCompletionByWatch(input) {
8581
8581
  ...input.fullJson === void 0 ? {} : { full: input.fullJson }
8582
8582
  });
8583
8583
  } catch (error) {
8584
- if (_chunk7KAS4QOWjs.isTransientPlayRunReadError.call(void 0, error) || isAdmittedRunVisibilityDelay(error)) {
8584
+ if (_chunkWGQKOLXHjs.isTransientPlayRunReadError.call(void 0, error) || isAdmittedRunVisibilityDelay(error)) {
8585
8585
  return null;
8586
8586
  }
8587
8587
  throw error;
@@ -8661,9 +8661,9 @@ async function waitForPlayCompletionByWatch(input) {
8661
8661
  signal: controller.signal,
8662
8662
  deferLogs: !input.emitLogs,
8663
8663
  omitTerminalLogs: !input.emitLogs,
8664
- ..._chunk2G4R4APLjs.isCliTraceEnabled.call(void 0, ) ? {
8664
+ ..._chunkYHB6MASPjs.isCliTraceEnabled.call(void 0, ) ? {
8665
8665
  onPoll: (observation) => {
8666
- _chunk2G4R4APLjs.recordCliTrace.call(void 0, {
8666
+ _chunkYHB6MASPjs.recordCliTrace.call(void 0, {
8667
8667
  phase: "play_watch_poll",
8668
8668
  workflowId: input.workflowId,
8669
8669
  ms: observation.durationMs,
@@ -8677,7 +8677,7 @@ async function waitForPlayCompletionByWatch(input) {
8677
8677
  full: input.fullJson,
8678
8678
  billing: false,
8679
8679
  onStatus: async (status) => {
8680
- _chunk2G4R4APLjs.recordCliTrace.call(void 0, {
8680
+ _chunkYHB6MASPjs.recordCliTrace.call(void 0, {
8681
8681
  phase: "play_watch_terminal_status",
8682
8682
  workflowId: input.workflowId,
8683
8683
  full: input.fullJson === true
@@ -8747,7 +8747,7 @@ async function startAndWaitForPlayCompletion(input) {
8747
8747
  });
8748
8748
  } catch (error) {
8749
8749
  if (!(error instanceof _chunkJDMR33HSjs.CliPlayAdmissionUnsupportedError)) throw error;
8750
- await _chunkHBVT4FW5js.checkPlayRunCompatibility.call(void 0,
8750
+ await _chunkB3BM3PAIjs.checkPlayRunCompatibility.call(void 0,
8751
8751
  input.client.baseUrl,
8752
8752
  input.maintenancePolicy
8753
8753
  );
@@ -8795,7 +8795,7 @@ async function startAndWaitForPlayCompletion(input) {
8795
8795
  }
8796
8796
  openPlayDashboard(dashboardUrl, _nullishCoalesce(input.open, () => ( false)));
8797
8797
  input.progress.phase("running");
8798
- _chunk2G4R4APLjs.recordCliTrace.call(void 0, {
8798
+ _chunkYHB6MASPjs.recordCliTrace.call(void 0, {
8799
8799
  phase: "cli.play_start_admitted",
8800
8800
  ms: Date.now() - startedAt,
8801
8801
  ok: true,
@@ -8812,7 +8812,7 @@ async function startAndWaitForPlayCompletion(input) {
8812
8812
  startedAt,
8813
8813
  waitTimeoutMs: input.waitTimeoutMs
8814
8814
  });
8815
- const initialStatus = _chunk7KAS4QOWjs.normalizePlayStatus.call(void 0, initialTerminal);
8815
+ const initialStatus = _chunkWGQKOLXHjs.normalizePlayStatus.call(void 0, initialTerminal);
8816
8816
  const status2 = await resolvePlayRunOutputStatus({
8817
8817
  client: input.client,
8818
8818
  status: initialStatus,
@@ -8820,7 +8820,7 @@ async function startAndWaitForPlayCompletion(input) {
8820
8820
  jsonOutput: input.jsonOutput,
8821
8821
  fromDurableStatus: true
8822
8822
  });
8823
- _chunk2G4R4APLjs.recordCliTrace.call(void 0, {
8823
+ _chunkYHB6MASPjs.recordCliTrace.call(void 0, {
8824
8824
  phase: "play_watch_terminal_status",
8825
8825
  workflowId,
8826
8826
  full: true,
@@ -8875,7 +8875,7 @@ async function startAndWaitForPlayCompletionByStream(input) {
8875
8875
  );
8876
8876
  } catch (error) {
8877
8877
  if (error instanceof _chunkJDMR33HSjs.CliPlayAdmissionUnsupportedError && input.cliAdmission) {
8878
- await _chunkHBVT4FW5js.checkPlayRunCompatibility.call(void 0,
8878
+ await _chunkB3BM3PAIjs.checkPlayRunCompatibility.call(void 0,
8879
8879
  input.client.baseUrl,
8880
8880
  input.maintenancePolicy
8881
8881
  );
@@ -8902,7 +8902,7 @@ async function startAndWaitForPlayCompletionByStream(input) {
8902
8902
  `[play watch] start response was ambiguous; retrying the same caller intent (${error.message})`
8903
8903
  );
8904
8904
  }
8905
- _chunk2G4R4APLjs.recordCliTrace.call(void 0, {
8905
+ _chunkYHB6MASPjs.recordCliTrace.call(void 0, {
8906
8906
  phase: "cli.play_start_stream_retry",
8907
8907
  ms: 0,
8908
8908
  ok: true,
@@ -8923,7 +8923,7 @@ async function startAndWaitForPlayCompletionByStream(input) {
8923
8923
  `[play watch] start failed before run id with a transient error; retrying (${playStatusErrorText(status)})`
8924
8924
  );
8925
8925
  }
8926
- _chunk2G4R4APLjs.recordCliTrace.call(void 0, {
8926
+ _chunkYHB6MASPjs.recordCliTrace.call(void 0, {
8927
8927
  phase: "cli.play_start_stream_retry",
8928
8928
  ms: 0,
8929
8929
  ok: true,
@@ -8968,7 +8968,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
8968
8968
  if (launchConfirmed || !runId || runId === "pending") return;
8969
8969
  launchConfirmed = true;
8970
8970
  await _optionalChain([input, 'access', _312 => _312.onRunAdmitted, 'optionalCall', _313 => _313(runId)]);
8971
- _chunk2G4R4APLjs.recordCliTrace.call(void 0, {
8971
+ _chunkYHB6MASPjs.recordCliTrace.call(void 0, {
8972
8972
  phase: "cli.play_start_admitted",
8973
8973
  ms: Date.now() - startedAt,
8974
8974
  ok: true,
@@ -9002,7 +9002,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
9002
9002
  full: input.fullJson
9003
9003
  });
9004
9004
  } catch (error) {
9005
- if (_chunk7KAS4QOWjs.isTransientPlayRunReadError.call(void 0, error)) {
9005
+ if (_chunkWGQKOLXHjs.isTransientPlayRunReadError.call(void 0, error)) {
9006
9006
  return null;
9007
9007
  }
9008
9008
  throw error;
@@ -9140,7 +9140,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
9140
9140
  };
9141
9141
  }
9142
9142
  if (!canonicalTerminal) {
9143
- _chunk2G4R4APLjs.recordCliTrace.call(void 0, {
9143
+ _chunkYHB6MASPjs.recordCliTrace.call(void 0, {
9144
9144
  phase: "cli.play_start_stream_stale_terminal_ignored",
9145
9145
  ms: Date.now() - startedAt,
9146
9146
  ok: true,
@@ -9161,14 +9161,14 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
9161
9161
  fromDurableStatus
9162
9162
  }) : canonicalTerminal;
9163
9163
  if (input.fullJson === true) {
9164
- _chunk2G4R4APLjs.recordCliTrace.call(void 0, {
9164
+ _chunkYHB6MASPjs.recordCliTrace.call(void 0, {
9165
9165
  phase: "play_watch_terminal_status",
9166
9166
  workflowId: outputTerminal.runId || lastKnownWorkflowId || void 0,
9167
9167
  full: true,
9168
9168
  source: outputTerminal === canonicalTerminal ? fromDurableStatus ? "start_stream_durable" : "start_stream" : "durable_repair"
9169
9169
  });
9170
9170
  }
9171
- _chunk2G4R4APLjs.recordCliTrace.call(void 0, {
9171
+ _chunkYHB6MASPjs.recordCliTrace.call(void 0, {
9172
9172
  phase: "cli.play_start_stream_terminal",
9173
9173
  ms: Date.now() - startedAt,
9174
9174
  ok: true,
@@ -9188,7 +9188,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
9188
9188
  clearTimeout(timeout);
9189
9189
  }
9190
9190
  controller.abort();
9191
- _chunk2G4R4APLjs.recordCliTrace.call(void 0, {
9191
+ _chunkYHB6MASPjs.recordCliTrace.call(void 0, {
9192
9192
  phase: "cli.play_start_stream_handoff_to_tail",
9193
9193
  ms: Date.now() - startedAt,
9194
9194
  ok: true,
@@ -9219,7 +9219,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
9219
9219
  if (timedOut) {
9220
9220
  const terminal = await fetchKnownTerminalStatus();
9221
9221
  if (terminal) {
9222
- _chunk2G4R4APLjs.recordCliTrace.call(void 0, {
9222
+ _chunkYHB6MASPjs.recordCliTrace.call(void 0, {
9223
9223
  phase: "cli.play_start_stream_timeout_status_reconcile",
9224
9224
  ms: Date.now() - startedAt,
9225
9225
  ok: true,
@@ -9239,7 +9239,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
9239
9239
  lastPhase
9240
9240
  });
9241
9241
  }
9242
- if (lastKnownWorkflowId && (terminalWindowExpired || _chunk7KAS4QOWjs.isTransientPlayRunReadError.call(void 0, error))) {
9242
+ if (lastKnownWorkflowId && (terminalWindowExpired || _chunkWGQKOLXHjs.isTransientPlayRunReadError.call(void 0, error))) {
9243
9243
  if (timeout) {
9244
9244
  clearTimeout(timeout);
9245
9245
  }
@@ -9250,7 +9250,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
9250
9250
  `
9251
9251
  );
9252
9252
  }
9253
- _chunk2G4R4APLjs.recordCliTrace.call(void 0, {
9253
+ _chunkYHB6MASPjs.recordCliTrace.call(void 0, {
9254
9254
  phase: "cli.play_start_stream_reconnect",
9255
9255
  ms: Date.now() - startedAt,
9256
9256
  ok: true,
@@ -9277,7 +9277,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
9277
9277
  });
9278
9278
  }
9279
9279
  if (!lastKnownWorkflowId && isAmbiguousPlayStartOutcomeError(error)) {
9280
- _chunk2G4R4APLjs.recordCliTrace.call(void 0, {
9280
+ _chunkYHB6MASPjs.recordCliTrace.call(void 0, {
9281
9281
  phase: "cli.play_start_stream_transient_failure",
9282
9282
  ms: Date.now() - startedAt,
9283
9283
  ok: false,
@@ -9305,7 +9305,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
9305
9305
  `[play watch] start stream ended after run ${lastKnownWorkflowId}; reconnecting to canonical run stream`
9306
9306
  );
9307
9307
  }
9308
- _chunk2G4R4APLjs.recordCliTrace.call(void 0, {
9308
+ _chunkYHB6MASPjs.recordCliTrace.call(void 0, {
9309
9309
  phase: "cli.play_start_stream_reconnect",
9310
9310
  ms: Date.now() - startedAt,
9311
9311
  ok: true,
@@ -9385,7 +9385,7 @@ var BULKY_RETURN_KEYS = /* @__PURE__ */ new Set([
9385
9385
  "logs"
9386
9386
  ]);
9387
9387
  function formatPlayLogLine(rawLine, state) {
9388
- const classified = _chunk7KAS4QOWjs.classifyLogLine.call(void 0, rawLine);
9388
+ const classified = _chunkWGQKOLXHjs.classifyLogLine.call(void 0, rawLine);
9389
9389
  const line = classified.line;
9390
9390
  const timestampMatch = line.match(/^\[([^\]]+)\]\s*(.*)$/);
9391
9391
  const parsedTimestamp = _optionalChain([timestampMatch, 'optionalAccess', _318 => _318[1]]) ? new Date(timestampMatch[1]) : null;
@@ -9400,14 +9400,14 @@ function formatPlayLogLine(rawLine, state) {
9400
9400
  if (!state.verbose && isProviderRowWaitLogLine(line)) return null;
9401
9401
  const providerWait = formatProviderCapacityWaitLogLine(line);
9402
9402
  if (providerWait && !state.verbose) {
9403
- return _chunk7KAS4QOWjs.logLevelReaches.call(void 0, "warn", _nullishCoalesce(state.logLevel, () => ( "info"))) ? `${prefix}${providerWait}` : null;
9403
+ return _chunkWGQKOLXHjs.logLevelReaches.call(void 0, "warn", _nullishCoalesce(state.logLevel, () => ( "info"))) ? `${prefix}${providerWait}` : null;
9404
9404
  }
9405
9405
  const mapProgress = formatMapProgressDiagnosticLogLine(line);
9406
9406
  if (mapProgress && !state.verbose) {
9407
- return _chunk7KAS4QOWjs.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info"))) ? `${prefix}${mapProgress}` : null;
9407
+ return _chunkWGQKOLXHjs.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info"))) ? `${prefix}${mapProgress}` : null;
9408
9408
  }
9409
9409
  if (/\[worker\] picked up run\b/.test(message)) {
9410
- if (!_chunk7KAS4QOWjs.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info")))) {
9410
+ if (!_chunkWGQKOLXHjs.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info")))) {
9411
9411
  return null;
9412
9412
  }
9413
9413
  if (state.emittedRunnerStarted) {
@@ -9420,7 +9420,7 @@ function formatPlayLogLine(rawLine, state) {
9420
9420
  /^Starting map over (\d+) items with (\d+) fields \(key: ([^;]+); (\d+) already satisfied; (\d+) pending\)$/
9421
9421
  );
9422
9422
  if (mapStart) {
9423
- if (!_chunk7KAS4QOWjs.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info")))) {
9423
+ if (!_chunkWGQKOLXHjs.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info")))) {
9424
9424
  return null;
9425
9425
  }
9426
9426
  const [, rows, fields2, namespace, cached, pending] = mapStart;
@@ -9430,7 +9430,7 @@ function formatPlayLogLine(rawLine, state) {
9430
9430
  /^Map completed: (\d+) results \((\d+) executed, (\d+) already satisfied\)$/
9431
9431
  );
9432
9432
  if (mapDone) {
9433
- if (!_chunk7KAS4QOWjs.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info")))) {
9433
+ if (!_chunkWGQKOLXHjs.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info")))) {
9434
9434
  return null;
9435
9435
  }
9436
9436
  const [, results, executed, cached] = mapDone;
@@ -10719,7 +10719,7 @@ function formatRecentRunLogLines(value) {
10719
10719
  (line) => typeof line === "string"
10720
10720
  );
10721
10721
  if (tail.length === 0) return [];
10722
- const shown = tail.map((line) => _chunk7KAS4QOWjs.classifyLogLine.call(void 0, line)).filter(
10722
+ const shown = tail.map((line) => _chunkWGQKOLXHjs.classifyLogLine.call(void 0, line)).filter(
10723
10723
  (entry) => entry.level !== "debug" && !isProviderRowWaitLogLine(entry.line)
10724
10724
  ).slice(-8);
10725
10725
  const total = readNonNegativeInteger(logs.totalCount);
@@ -11014,11 +11014,11 @@ function buildPlayCompletionTextLines(status) {
11014
11014
  }
11015
11015
  function writePlayResult(status, jsonOutput, options) {
11016
11016
  const packaged = getPlayRunPackage(status);
11017
- if (status.package) _chunkRDOPZK7Ajs.recordPlayTermination.call(void 0, buildRunOverview(status).run);
11017
+ if (status.package) _chunk3J2N7YF5js.recordPlayTermination.call(void 0, buildRunOverview(status).run);
11018
11018
  const hits = _nullishCoalesce(_optionalChain([options, 'optionalAccess', _401 => _401.hits]), () => ( null));
11019
11019
  if (jsonOutput) {
11020
11020
  const payload2 = _optionalChain([options, 'optionalAccess', _402 => _402.fullJson]) ? status.package ? buildRunOverview(status, status) : { ...buildRunLaunch(status), diagnostics: status } : buildRunLaunch(status);
11021
- _chunkH7YFUC3Jjs.printCommandEnvelope.call(void 0,
11021
+ _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
11022
11022
  hits ? { ...payload2, hits } : payload2,
11023
11023
  { json: true, fields: _optionalChain([options, 'optionalAccess', _403 => _403.jsonFields]) }
11024
11024
  );
@@ -11034,7 +11034,7 @@ function writePlayResult(status, jsonOutput, options) {
11034
11034
  ...buildPlayCompletionTextLines(status),
11035
11035
  ...formatRunHitsLines(hits)
11036
11036
  ];
11037
- _chunkH7YFUC3Jjs.printCommandEnvelope.call(void 0, displayPackage, {
11037
+ _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0, displayPackage, {
11038
11038
  json: false,
11039
11039
  text: `${lines2.join("\n")}
11040
11040
  `
@@ -11085,7 +11085,7 @@ function writePlayResult(status, jsonOutput, options) {
11085
11085
  lines.push(...buildBillingRollupTextLines(status));
11086
11086
  const compact = compactPlayStatus(status);
11087
11087
  const payload = _optionalChain([options, 'optionalAccess', _405 => _405.fullJson]) ? status : compact;
11088
- _chunkH7YFUC3Jjs.printCommandEnvelope.call(void 0,
11088
+ _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
11089
11089
  {
11090
11090
  ...payload,
11091
11091
  render: {
@@ -11294,7 +11294,7 @@ async function fetchBackingDatasetRows(input) {
11294
11294
  }
11295
11295
  offset += page.rows.length;
11296
11296
  }
11297
- const withError = _chunkRDOPZK7Ajs.tableExportHasFailedRows.call(void 0,
11297
+ const withError = _chunk3J2N7YF5js.tableExportHasFailedRows.call(void 0,
11298
11298
  sheetRows.filter(
11299
11299
  (row) => Boolean(row) && typeof row === "object" && !Array.isArray(row)
11300
11300
  )
@@ -11310,7 +11310,7 @@ async function fetchBackingDatasetRows(input) {
11310
11310
  return [
11311
11311
  withError ? {
11312
11312
  ...exported,
11313
- [_chunkRDOPZK7Ajs.TABLE_EXPORT_ERROR_COLUMN]: _chunkRDOPZK7Ajs.tableExportErrorCell.call(void 0,
11313
+ [_chunk3J2N7YF5js.TABLE_EXPORT_ERROR_COLUMN]: _chunk3J2N7YF5js.tableExportErrorCell.call(void 0,
11314
11314
  row
11315
11315
  )
11316
11316
  } : exported
@@ -11845,7 +11845,7 @@ function renderServerResultView(value) {
11845
11845
  function writeStartedPlayRun(input) {
11846
11846
  if (input.package && isPlayRunPackageValue(input.package)) {
11847
11847
  const run = input.package.run;
11848
- _chunkRDOPZK7Ajs.recordPlayTermination.call(void 0, {
11848
+ _chunk3J2N7YF5js.recordPlayTermination.call(void 0, {
11849
11849
  id: run.id,
11850
11850
  status: run.status,
11851
11851
  finishedAt: run.finishedAt
@@ -11858,7 +11858,7 @@ function writeStartedPlayRun(input) {
11858
11858
  dashboardUrl: input.dashboardUrl,
11859
11859
  package: input.package
11860
11860
  };
11861
- _chunkH7YFUC3Jjs.printCommandEnvelope.call(void 0, buildRunLaunch(status), {
11861
+ _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0, buildRunLaunch(status), {
11862
11862
  json: true,
11863
11863
  fields: input.jsonFields
11864
11864
  });
@@ -11880,7 +11880,7 @@ function writeStartedPlayRun(input) {
11880
11880
  input.progress.writeLine(output2, process.stdout);
11881
11881
  return;
11882
11882
  }
11883
- _chunkH7YFUC3Jjs.printCommandEnvelope.call(void 0, input.package, {
11883
+ _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0, input.package, {
11884
11884
  json: false,
11885
11885
  text: `${output2}
11886
11886
  `
@@ -11909,7 +11909,7 @@ function writeStartedPlayRun(input) {
11909
11909
  ) ? [`Stop: deepline runs stop ${_chunkAID3OYVJjs.shellQuote.call(void 0, input.runId)}`] : []
11910
11910
  ];
11911
11911
  if (input.jsonOutput) {
11912
- _chunkH7YFUC3Jjs.printCommandEnvelope.call(void 0, payload, { json: true, fields: input.jsonFields });
11912
+ _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0, payload, { json: true, fields: input.jsonFields });
11913
11913
  return;
11914
11914
  }
11915
11915
  if (input.dashboardUrl) {
@@ -11920,7 +11920,7 @@ function writeStartedPlayRun(input) {
11920
11920
  input.progress.writeLine(output, process.stdout);
11921
11921
  return;
11922
11922
  }
11923
- _chunkH7YFUC3Jjs.printCommandEnvelope.call(void 0,
11923
+ _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
11924
11924
  {
11925
11925
  ...payload,
11926
11926
  render: { sections: [{ title: "play run", lines }] }
@@ -11930,7 +11930,7 @@ function writeStartedPlayRun(input) {
11930
11930
  );
11931
11931
  }
11932
11932
  function parsePlayCheckOptions(args) {
11933
- const selection = _chunkH7YFUC3Jjs.parseJsonFields.call(void 0, args, "check");
11933
+ const selection = _chunkDD7E4ZVHjs.parseJsonFields.call(void 0, args, "check");
11934
11934
  args = selection.args;
11935
11935
  const target = args[0];
11936
11936
  if (!target || target.startsWith("-")) {
@@ -11942,7 +11942,7 @@ function parsePlayCheckOptions(args) {
11942
11942
  if (arg !== "--json" && arg !== "--full")
11943
11943
  throw new Error(`Unknown plays check option: ${arg}`);
11944
11944
  }
11945
- const jsonOutput = _chunkH7YFUC3Jjs.argsWantJson.call(void 0, args);
11945
+ const jsonOutput = _chunkDD7E4ZVHjs.argsWantJson.call(void 0, args);
11946
11946
  return {
11947
11947
  target,
11948
11948
  jsonOutput,
@@ -12018,7 +12018,7 @@ ${PLAY_PUBLISH_USAGE}`
12018
12018
  useLatest,
12019
12019
  expectedArtifactHash,
12020
12020
  dryRun,
12021
- jsonOutput: _chunkH7YFUC3Jjs.argsWantJson.call(void 0, args)
12021
+ jsonOutput: _chunkDD7E4ZVHjs.argsWantJson.call(void 0, args)
12022
12022
  };
12023
12023
  }
12024
12024
  var PLAY_SAVE_USAGE = "Usage: deepline plays save <play-file.ts> [--expected-artifact <hash>] [--dry-run] [--json]";
@@ -12059,7 +12059,7 @@ ${PLAY_SAVE_USAGE}`);
12059
12059
  target,
12060
12060
  expectedArtifactHash,
12061
12061
  dryRun,
12062
- jsonOutput: _chunkH7YFUC3Jjs.argsWantJson.call(void 0, args)
12062
+ jsonOutput: _chunkDD7E4ZVHjs.argsWantJson.call(void 0, args)
12063
12063
  };
12064
12064
  }
12065
12065
  function printScheduledPlayCapacity(capacity) {
@@ -12270,7 +12270,7 @@ function printBundledRuntimeWarning(bundle) {
12270
12270
  async function handlePlayCheck(args) {
12271
12271
  const options = parsePlayCheckOptions(args);
12272
12272
  if (!isFileTarget(options.target)) {
12273
- const client = new (0, _chunkSKVMC6K6js.DeeplineClient)();
12273
+ const client = new (0, _chunkPMJAGTSQjs.DeeplineClient)();
12274
12274
  try {
12275
12275
  await assertCanonicalNamedPlayReference(client, options.target, {
12276
12276
  command: "check"
@@ -12299,7 +12299,7 @@ async function handlePlayCheck(args) {
12299
12299
  },
12300
12300
  ...options.full ? { diagnostics: { staticPipeline: _nullishCoalesce(play.staticPipeline, () => ( null)) } } : {}
12301
12301
  };
12302
- _chunkH7YFUC3Jjs.printCommandEnvelope.call(void 0, result, {
12302
+ _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0, result, {
12303
12303
  json: options.jsonOutput,
12304
12304
  fields: options.jsonFields,
12305
12305
  text: renderPlayCheckOutput(result) + "\n"
@@ -12309,7 +12309,7 @@ async function handlePlayCheck(args) {
12309
12309
  const resolved = _path.resolve.call(void 0, options.target);
12310
12310
  const message = error instanceof Error && error.message ? error.message : `File not found: ${resolved}`;
12311
12311
  if (options.jsonOutput) {
12312
- _chunkH7YFUC3Jjs.printCommandEnvelope.call(void 0,
12312
+ _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
12313
12313
  {
12314
12314
  kind: "play_check",
12315
12315
  checked: "named_contract",
@@ -12351,7 +12351,7 @@ async function handlePlayCheck(args) {
12351
12351
  detailsCommand: `deepline plays check ${_chunkAID3OYVJjs.shellQuote.call(void 0, options.target)} --full`,
12352
12352
  publishCommand: _optionalChain([primary, 'optionalAccess', _455 => _455.result, 'access', _456 => _456.artifactHash]) ? `deepline plays publish ${_chunkAID3OYVJjs.shellQuote.call(void 0, options.target)} --expected-artifact ${primary.result.artifactHash}` : void 0
12353
12353
  });
12354
- _chunkH7YFUC3Jjs.printCommandEnvelope.call(void 0, output, {
12354
+ _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0, output, {
12355
12355
  json: options.jsonOutput,
12356
12356
  fields: options.jsonFields,
12357
12357
  text: renderPlayCheckOutput(output) + "\n"
@@ -12405,7 +12405,7 @@ async function checkOneExportedPlay(input) {
12405
12405
  }
12406
12406
  const playName = _nullishCoalesce(graph.root.playName, () => ( fallbackName));
12407
12407
  const authoringErrors = collectPlayGraphAuthoringErrors(graph);
12408
- const client = new (0, _chunkSKVMC6K6js.DeeplineClient)();
12408
+ const client = new (0, _chunkPMJAGTSQjs.DeeplineClient)();
12409
12409
  const integrationMode = resolveEvalIntegrationMode();
12410
12410
  const checked = await checkLocalPlayGraph({
12411
12411
  client,
@@ -12458,11 +12458,11 @@ async function handleFileBackedRun(options, hooks) {
12458
12458
  throw new Error("Expected a file-backed play run target.");
12459
12459
  }
12460
12460
  let client;
12461
- let cliAdmission = _chunkHBVT4FW5js.usesInlinePlayAdmission.call(void 0,
12461
+ let cliAdmission = _chunkB3BM3PAIjs.usesInlinePlayAdmission.call(void 0,
12462
12462
  "plays run",
12463
12463
  process.argv.slice(2)
12464
12464
  );
12465
- const progress = _nullishCoalesce(_chunkM475BQ77js.getActiveCliProgress.call(void 0, ), () => ( _chunkM475BQ77js.createCliProgress.call(void 0, !options.jsonOutput)));
12465
+ const progress = _nullishCoalesce(_chunkUON3WCBDjs.getActiveCliProgress.call(void 0, ), () => ( _chunkUON3WCBDjs.createCliProgress.call(void 0, !options.jsonOutput)));
12466
12466
  const absolutePlayPath = _path.resolve.call(void 0, options.target.path);
12467
12467
  progress.phase("compiling play");
12468
12468
  const sourceCode = traceCliSync(
@@ -12479,7 +12479,7 @@ async function handleFileBackedRun(options, hooks) {
12479
12479
  }
12480
12480
  let graph;
12481
12481
  try {
12482
- graph = await _chunk2G4R4APLjs.traceCliSpan.call(void 0,
12482
+ graph = await _chunkYHB6MASPjs.traceCliSpan.call(void 0,
12483
12483
  "cli.play_file_bundle_graph",
12484
12484
  { targetKind: "file" },
12485
12485
  () => collectBundledPlayGraph(
@@ -12493,14 +12493,14 @@ async function handleFileBackedRun(options, hooks) {
12493
12493
  if (options.dryRun) {
12494
12494
  progress.complete();
12495
12495
  renderLocalPlayExecutionPlan(
12496
- _chunkIIQ6O5F3js.planLocalPlayExecution.call(void 0, graph, { runIdFile: options.runIdFile }),
12496
+ _chunkZVLYUKJUjs.planLocalPlayExecution.call(void 0, graph, { runIdFile: options.runIdFile }),
12497
12497
  { dryRun: true, json: options.jsonOutput }
12498
12498
  );
12499
12499
  return 0;
12500
12500
  }
12501
- client = new (0, _chunkSKVMC6K6js.DeeplineClient)(playRunClientOptions(options));
12501
+ client = new (0, _chunkPMJAGTSQjs.DeeplineClient)(playRunClientOptions(options));
12502
12502
  if (cliAdmission && (graph.root.importedPlayDependencies.length > 0 || inputContainsLocalFilePath(runtimeInput))) {
12503
- await _chunkHBVT4FW5js.checkPlayRunCompatibility.call(void 0,
12503
+ await _chunkB3BM3PAIjs.checkPlayRunCompatibility.call(void 0,
12504
12504
  client.baseUrl,
12505
12505
  options.maintenancePolicy
12506
12506
  );
@@ -12513,7 +12513,7 @@ async function handleFileBackedRun(options, hooks) {
12513
12513
  });
12514
12514
  const canDeferCompilerManifest = graph.root.importedPlayDependencies.length === 0 && !sourceGraphMentionsRunPlay(graph.root) && !inputContainsLocalFilePath(runtimeInput);
12515
12515
  if (canDeferCompilerManifest) {
12516
- _chunk2G4R4APLjs.recordCliTrace.call(void 0, {
12516
+ _chunkYHB6MASPjs.recordCliTrace.call(void 0, {
12517
12517
  phase: "cli.play_file_compile_manifests",
12518
12518
  ms: 0,
12519
12519
  ok: true,
@@ -12522,7 +12522,7 @@ async function handleFileBackedRun(options, hooks) {
12522
12522
  reason: "validated_by_run_route"
12523
12523
  });
12524
12524
  } else {
12525
- await _chunk2G4R4APLjs.traceCliSpan.call(void 0,
12525
+ await _chunkYHB6MASPjs.traceCliSpan.call(void 0,
12526
12526
  "cli.play_file_compile_manifests",
12527
12527
  { targetKind: "file", skipped: false },
12528
12528
  () => compileBundledPlayGraphManifests(client, graph)
@@ -12543,13 +12543,13 @@ async function handleFileBackedRun(options, hooks) {
12543
12543
  if (bundleResult.importedPlayDependencies.length > 0) {
12544
12544
  try {
12545
12545
  renderLocalPlayExecutionPlan(
12546
- _chunkIIQ6O5F3js.planLocalPlayExecution.call(void 0, graph, { runIdFile: options.runIdFile })
12546
+ _chunkZVLYUKJUjs.planLocalPlayExecution.call(void 0, graph, { runIdFile: options.runIdFile })
12547
12547
  );
12548
12548
  progress.phase("pinning imported plays");
12549
- graph = await _chunk2G4R4APLjs.traceCliSpan.call(void 0,
12549
+ graph = await _chunkYHB6MASPjs.traceCliSpan.call(void 0,
12550
12550
  "cli.play_file_pin_imports",
12551
12551
  { targetKind: "file" },
12552
- () => _chunkIIQ6O5F3js.pinLocalPlayImports.call(void 0, client, graph)
12552
+ () => _chunkZVLYUKJUjs.pinLocalPlayImports.call(void 0, client, graph)
12553
12553
  );
12554
12554
  bundleResult = graph.root;
12555
12555
  } catch (error) {
@@ -12565,7 +12565,7 @@ async function handleFileBackedRun(options, hooks) {
12565
12565
  const fileInputBindings = _chunkJDMR33HSjs.fileInputBindingsFromStaticPipeline.call(void 0,
12566
12566
  _optionalChain([compilerManifest, 'optionalAccess', _465 => _465.staticPipeline])
12567
12567
  );
12568
- const stagedFileInputs = await _chunk2G4R4APLjs.traceCliSpan.call(void 0,
12568
+ const stagedFileInputs = await _chunkYHB6MASPjs.traceCliSpan.call(void 0,
12569
12569
  "cli.play_stage_inputs",
12570
12570
  {
12571
12571
  targetKind: "file",
@@ -12612,7 +12612,7 @@ async function handleFileBackedRun(options, hooks) {
12612
12612
  };
12613
12613
  if (options.watch) {
12614
12614
  progress.phase("starting run");
12615
- const finalStatus = await _chunk2G4R4APLjs.traceCliSpan.call(void 0,
12615
+ const finalStatus = await _chunkYHB6MASPjs.traceCliSpan.call(void 0,
12616
12616
  "cli.play_start_watch",
12617
12617
  { targetKind: "file", playName },
12618
12618
  () => (options.runIdFile || cliAdmission ? startAndWaitForPlayCompletionByStream : startAndWaitForPlayCompletion)({
@@ -12672,7 +12672,7 @@ async function handleFileBackedRun(options, hooks) {
12672
12672
  return outputStatus.status === "completed" ? 0 : 1;
12673
12673
  }
12674
12674
  progress.phase("starting run");
12675
- const started = await _chunk2G4R4APLjs.traceCliSpan.call(void 0,
12675
+ const started = await _chunkYHB6MASPjs.traceCliSpan.call(void 0,
12676
12676
  "cli.play_start_unwatched",
12677
12677
  { targetKind: "file", playName },
12678
12678
  () => client.startPlayRun(startRequest, { onSubmission: _optionalChain([hooks, 'optionalAccess', _472 => _472.onSubmission]) }).catch(async (error) => {
@@ -12723,12 +12723,12 @@ async function handleNamedRun(options, hooks) {
12723
12723
  if (options.target.kind !== "name") {
12724
12724
  throw new Error("Expected a named play run target.");
12725
12725
  }
12726
- const client = new (0, _chunkSKVMC6K6js.DeeplineClient)(playRunClientOptions(options));
12727
- let cliAdmission = _chunkHBVT4FW5js.usesInlinePlayAdmission.call(void 0,
12726
+ const client = new (0, _chunkPMJAGTSQjs.DeeplineClient)(playRunClientOptions(options));
12727
+ let cliAdmission = _chunkB3BM3PAIjs.usesInlinePlayAdmission.call(void 0,
12728
12728
  "plays run",
12729
12729
  process.argv.slice(2)
12730
12730
  );
12731
- const progress = _nullishCoalesce(_chunkM475BQ77js.getActiveCliProgress.call(void 0, ), () => ( _chunkM475BQ77js.createCliProgress.call(void 0, !options.jsonOutput)));
12731
+ const progress = _nullishCoalesce(_chunkUON3WCBDjs.getActiveCliProgress.call(void 0, ), () => ( _chunkUON3WCBDjs.createCliProgress.call(void 0, !options.jsonOutput)));
12732
12732
  const playName = options.target.name;
12733
12733
  const runtimeInput = options.input ? { ...options.input } : {};
12734
12734
  try {
@@ -12743,14 +12743,14 @@ async function handleNamedRun(options, hooks) {
12743
12743
  });
12744
12744
  const playDetail = needsPlayDefinition ? await (async () => {
12745
12745
  progress.phase("loading play definition");
12746
- return _chunk2G4R4APLjs.traceCliSpan.call(void 0,
12746
+ return _chunkYHB6MASPjs.traceCliSpan.call(void 0,
12747
12747
  "cli.play_load_definition",
12748
12748
  { targetKind: "name", playName, skipped: false },
12749
12749
  () => assertCanonicalNamedPlayReference(client, playName, {
12750
12750
  command: "run"
12751
12751
  })
12752
12752
  );
12753
- })() : (_chunk2G4R4APLjs.recordCliTrace.call(void 0, {
12753
+ })() : (_chunkYHB6MASPjs.recordCliTrace.call(void 0, {
12754
12754
  phase: "cli.play_load_definition",
12755
12755
  ms: 0,
12756
12756
  ok: true,
@@ -12759,7 +12759,7 @@ async function handleNamedRun(options, hooks) {
12759
12759
  skipped: true
12760
12760
  }), null);
12761
12761
  progress.phase("selecting revision");
12762
- const selectedRevisionId = await _chunk2G4R4APLjs.traceCliSpan.call(void 0,
12762
+ const selectedRevisionId = await _chunkYHB6MASPjs.traceCliSpan.call(void 0,
12763
12763
  "cli.play_select_revision",
12764
12764
  {
12765
12765
  targetKind: "name",
@@ -12784,10 +12784,10 @@ async function handleNamedRun(options, hooks) {
12784
12784
  ..._chunkJDMR33HSjs.fileInputBindingsFromStaticPipeline.call(void 0, playDetail.play.staticPipeline)
12785
12785
  ] : [];
12786
12786
  if (cliAdmission && fileInputBindings.length > 0) {
12787
- await _chunkHBVT4FW5js.checkPlayRunCompatibility.call(void 0, client.baseUrl, options.maintenancePolicy);
12787
+ await _chunkB3BM3PAIjs.checkPlayRunCompatibility.call(void 0, client.baseUrl, options.maintenancePolicy);
12788
12788
  cliAdmission = false;
12789
12789
  }
12790
- const stagedFileInputs = await _chunk2G4R4APLjs.traceCliSpan.call(void 0,
12790
+ const stagedFileInputs = await _chunkYHB6MASPjs.traceCliSpan.call(void 0,
12791
12791
  "cli.play_stage_inputs",
12792
12792
  {
12793
12793
  targetKind: "name",
@@ -12831,7 +12831,7 @@ async function handleNamedRun(options, hooks) {
12831
12831
  });
12832
12832
  if (options.watch) {
12833
12833
  progress.phase("starting run");
12834
- const finalStatus = await _chunk2G4R4APLjs.traceCliSpan.call(void 0,
12834
+ const finalStatus = await _chunkYHB6MASPjs.traceCliSpan.call(void 0,
12835
12835
  "cli.play_start_watch",
12836
12836
  { targetKind: "name", playName },
12837
12837
  () => (options.runIdFile || cliAdmission ? startAndWaitForPlayCompletionByStream : startAndWaitForPlayCompletion)({
@@ -12894,7 +12894,7 @@ async function handleNamedRun(options, hooks) {
12894
12894
  return outputStatus.status === "completed" ? 0 : 1;
12895
12895
  }
12896
12896
  progress.phase("starting run");
12897
- const started = await _chunk2G4R4APLjs.traceCliSpan.call(void 0,
12897
+ const started = await _chunkYHB6MASPjs.traceCliSpan.call(void 0,
12898
12898
  "cli.play_start_unwatched",
12899
12899
  { targetKind: "name", playName },
12900
12900
  () => client.startPlayRun(startRequest, { onSubmission: _optionalChain([hooks, 'optionalAccess', _485 => _485.onSubmission]) }).catch(async (error) => {
@@ -12939,7 +12939,7 @@ async function writePlayRunReceipt(client, status, output) {
12939
12939
  const next = { status: `deepline runs get ${status.runId}` };
12940
12940
  const playName = _nullishCoalesce(_nullishCoalesce(_optionalChain([/^play\/(.+)\/run\//, 'access', _493 => _493.exec, 'call', _494 => _494(status.runId), 'optionalAccess', _495 => _495[1]]), () => ( extractRunPlayName(status))), () => ( null));
12941
12941
  if (!terminal) {
12942
- _chunkRDOPZK7Ajs.writeExecutionOutput.call(void 0,
12942
+ _chunk3J2N7YF5js.writeExecutionOutput.call(void 0,
12943
12943
  { id: status.runId, status: status.status, next },
12944
12944
  output
12945
12945
  );
@@ -13014,10 +13014,10 @@ async function writePlayRunReceipt(client, status, output) {
13014
13014
  };
13015
13015
  }
13016
13016
  const byRows = new Map(collections.map((c) => [c.rows, c]));
13017
- const allCollections = _chunkRDOPZK7Ajs.outputCollections.call(void 0, data).map(
13017
+ const allCollections = _chunk3J2N7YF5js.outputCollections.call(void 0, data).map(
13018
13018
  (collection) => _nullishCoalesce(byRows.get(collection.rows), () => ( collection))
13019
13019
  );
13020
- _chunkRDOPZK7Ajs.writeExecutionOutput.call(void 0,
13020
+ _chunk3J2N7YF5js.writeExecutionOutput.call(void 0,
13021
13021
  {
13022
13022
  id: status.runId,
13023
13023
  status: status.status,
@@ -13038,7 +13038,7 @@ async function writePlayRunReceipt(client, status, output) {
13038
13038
  }
13039
13039
  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;
13040
13040
  async function handlePlayRun(args, hooks) {
13041
- const parsedOptions = Array.isArray(args) ? _chunkRMQB72WWjs.parsePlayRunOptions.call(void 0, args) : args;
13041
+ const parsedOptions = Array.isArray(args) ? _chunkD22QIUE3js.parsePlayRunOptions.call(void 0, args) : args;
13042
13042
  const options = parsedOptions.runIdFile ? {
13043
13043
  ...parsedOptions,
13044
13044
  runIdFile: parsedOptions.dryRun ? _path.resolve.call(void 0, parsedOptions.runIdFile) : await preflightRunIdFile(parsedOptions.runIdFile)
@@ -13055,7 +13055,7 @@ async function handlePlayRun(args, hooks) {
13055
13055
  JSON.stringify({
13056
13056
  version: 1,
13057
13057
  admissionState: "submitted_unknown",
13058
- baseUrl: new (0, _chunkSKVMC6K6js.DeeplineClient)().baseUrl,
13058
+ baseUrl: new (0, _chunkPMJAGTSQjs.DeeplineClient)().baseUrl,
13059
13059
  ...intent
13060
13060
  })
13061
13061
  );
@@ -13284,7 +13284,7 @@ function renderRunOverviewText(overview, extras = {}) {
13284
13284
  );
13285
13285
  return `${lines.join("\n")}
13286
13286
 
13287
- ${_chunkH7YFUC3Jjs.renderCommandEnvelopeText.call(void 0, { render: { sections, actions: actions2 } })}`;
13287
+ ${_chunkDD7E4ZVHjs.renderCommandEnvelopeText.call(void 0, { render: { sections, actions: actions2 } })}`;
13288
13288
  }
13289
13289
  var RUN_READ_TIMING_PROGRESS_INTERVAL_MS = 15e3;
13290
13290
  async function withRunReadTiming(command, stage, enabled, action) {
@@ -13308,7 +13308,7 @@ async function withRunReadTiming(command, stage, enabled, action) {
13308
13308
  }
13309
13309
  }
13310
13310
  async function handleRunGet(args) {
13311
- const selection = _chunkH7YFUC3Jjs.parseJsonFields.call(void 0,
13311
+ const selection = _chunkDD7E4ZVHjs.parseJsonFields.call(void 0,
13312
13312
  args,
13313
13313
  args.includes("--config") ? "config" : "get"
13314
13314
  );
@@ -13321,7 +13321,7 @@ async function handleRunGet(args) {
13321
13321
  console.error(error instanceof Error ? error.message : usage2);
13322
13322
  return 1;
13323
13323
  }
13324
- const client = new (0, _chunkSKVMC6K6js.DeeplineClient)();
13324
+ const client = new (0, _chunkPMJAGTSQjs.DeeplineClient)();
13325
13325
  const timing = args.includes("--timing");
13326
13326
  if (args.includes("--web-url")) {
13327
13327
  const status2 = await withRunReadTiming(
@@ -13336,7 +13336,7 @@ async function handleRunGet(args) {
13336
13336
  return 1;
13337
13337
  }
13338
13338
  const dashboardUrl2 = _chunkIAYSWZDJjs.buildPlayDashboardUrl.call(void 0, client.baseUrl, playName2);
13339
- _chunkH7YFUC3Jjs.printCommandEnvelope.call(void 0,
13339
+ _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
13340
13340
  { dashboardUrl: dashboardUrl2 },
13341
13341
  { json: args.includes("--json"), text: `${dashboardUrl2}
13342
13342
  ` }
@@ -13361,7 +13361,7 @@ async function handleRunGet(args) {
13361
13361
  "This server does not support recorded configuration reads."
13362
13362
  );
13363
13363
  }
13364
- _chunkH7YFUC3Jjs.printCommandEnvelope.call(void 0,
13364
+ _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
13365
13365
  { runId, contract: _nullishCoalesce(status2.contract, () => ( null)) },
13366
13366
  { json: true, fields: selection.fields }
13367
13367
  );
@@ -13374,7 +13374,7 @@ async function handleRunGet(args) {
13374
13374
  timing,
13375
13375
  () => client.getRunInput(runId)
13376
13376
  );
13377
- _chunkH7YFUC3Jjs.printCommandEnvelope.call(void 0, input, { json: true });
13377
+ _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0, input, { json: true });
13378
13378
  return 0;
13379
13379
  }
13380
13380
  const full = args.includes("--full");
@@ -13387,7 +13387,7 @@ async function handleRunGet(args) {
13387
13387
  failedLogs: args.includes("--log-failed")
13388
13388
  })
13389
13389
  );
13390
- if (status.package) _chunkRDOPZK7Ajs.recordPlayTermination.call(void 0, buildRunOverview(status).run);
13390
+ if (status.package) _chunk3J2N7YF5js.recordPlayTermination.call(void 0, buildRunOverview(status).run);
13391
13391
  if (!status.package) {
13392
13392
  const legacyStatus = full ? await withRunReadTiming(
13393
13393
  "runs get",
@@ -13400,8 +13400,8 @@ async function handleRunGet(args) {
13400
13400
  ) : status;
13401
13401
  const legacyPlayName = resolveRunPlayName(legacyStatus, runId);
13402
13402
  const legacyDashboardUrl = legacyPlayName ? _chunkIAYSWZDJjs.buildPlayDashboardUrl.call(void 0, client.baseUrl, legacyPlayName) : null;
13403
- if (_chunkH7YFUC3Jjs.argsWantJson.call(void 0, args)) {
13404
- _chunkH7YFUC3Jjs.printCommandEnvelope.call(void 0,
13403
+ if (_chunkDD7E4ZVHjs.argsWantJson.call(void 0, args)) {
13404
+ _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
13405
13405
  {
13406
13406
  ...full ? legacyStatus : compactPlayStatus(legacyStatus),
13407
13407
  ...legacyDashboardUrl ? { dashboardUrl: legacyDashboardUrl } : {}
@@ -13411,7 +13411,7 @@ async function handleRunGet(args) {
13411
13411
  } else {
13412
13412
  writePlayResult(legacyStatus, false, { fullJson: full });
13413
13413
  if (legacyDashboardUrl)
13414
- _chunkH7YFUC3Jjs.printCommandEnvelope.call(void 0,
13414
+ _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
13415
13415
  { dashboardUrl: legacyDashboardUrl },
13416
13416
  { json: false, text: `play page: ${legacyDashboardUrl}
13417
13417
  ` }
@@ -13441,10 +13441,10 @@ async function handleRunGet(args) {
13441
13441
  )
13442
13442
  ]);
13443
13443
  const hitLines = formatRunHitsLines(hits);
13444
- const json = _chunkH7YFUC3Jjs.argsWantJson.call(void 0, args);
13444
+ const json = _chunkDD7E4ZVHjs.argsWantJson.call(void 0, args);
13445
13445
  const playName = resolveRunPlayName(status, runId);
13446
13446
  const dashboardUrl = playName ? _chunkIAYSWZDJjs.buildPlayDashboardUrl.call(void 0, client.baseUrl, playName) : void 0;
13447
- _chunkH7YFUC3Jjs.printCommandEnvelope.call(void 0,
13447
+ _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
13448
13448
  {
13449
13449
  ...overview,
13450
13450
  ...dashboardUrl ? { dashboardUrl } : {},
@@ -13548,9 +13548,9 @@ async function handleRunLifecycleStatus(args) {
13548
13548
  console.error(error instanceof Error ? error.message : usage2);
13549
13549
  return 1;
13550
13550
  }
13551
- const status = await new (0, _chunkSKVMC6K6js.DeeplineClient)().runs.status(runId);
13552
- if (_chunkH7YFUC3Jjs.argsWantJson.call(void 0, args)) {
13553
- _chunkH7YFUC3Jjs.printCommandEnvelope.call(void 0, status, { json: true });
13551
+ const status = await new (0, _chunkPMJAGTSQjs.DeeplineClient)().runs.status(runId);
13552
+ if (_chunkDD7E4ZVHjs.argsWantJson.call(void 0, args)) {
13553
+ _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0, status, { json: true });
13554
13554
  return 0;
13555
13555
  }
13556
13556
  if (!status.available) {
@@ -13590,7 +13590,7 @@ async function handleRunsRerun(args) {
13590
13590
  console.error(error instanceof Error ? error.message : usage2);
13591
13591
  return 1;
13592
13592
  }
13593
- const options = { json: _chunkH7YFUC3Jjs.argsWantJson.call(void 0, args) };
13593
+ const options = { json: _chunkDD7E4ZVHjs.argsWantJson.call(void 0, args) };
13594
13594
  for (let index = 0; index < args.length; index += 1) {
13595
13595
  if (args[index] === "--idempotency-key") {
13596
13596
  options.idempotencyKey = _nullishCoalesce(args[++index], () => ( ""));
@@ -13656,8 +13656,8 @@ ${usage2}
13656
13656
  Discover Plays: ${next.discover}
13657
13657
  Active runs: ${next.running}`
13658
13658
  );
13659
- if (_chunkH7YFUC3Jjs.argsWantJson.call(void 0, args)) {
13660
- _chunkH7YFUC3Jjs.printCommandEnvelope.call(void 0,
13659
+ if (_chunkDD7E4ZVHjs.argsWantJson.call(void 0, args)) {
13660
+ _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
13661
13661
  { ok: false, exitCode: 1, code: "RUN_FILTER_REQUIRED", message, next },
13662
13662
  { json: true }
13663
13663
  );
@@ -13672,7 +13672,7 @@ Active runs: ${next.running}`
13672
13672
  console.error("--offset requires --play.");
13673
13673
  return 1;
13674
13674
  }
13675
- const client = new (0, _chunkSKVMC6K6js.DeeplineClient)();
13675
+ const client = new (0, _chunkPMJAGTSQjs.DeeplineClient)();
13676
13676
  const page = await withRunReadTiming(
13677
13677
  "runs list",
13678
13678
  "run inventory",
@@ -13739,14 +13739,14 @@ Active runs: ${next.running}`
13739
13739
  return lines2.join("\n");
13740
13740
  });
13741
13741
  const nextOffset = (_nullishCoalesce(_nullishCoalesce(page.offset, () => ( offset)), () => ( 0))) + runs.length;
13742
- 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}${_chunkH7YFUC3Jjs.argsWantJson.call(void 0, args) ? " --json" : ""}` : null;
13742
+ 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}${_chunkDD7E4ZVHjs.argsWantJson.call(void 0, args) ? " --json" : ""}` : null;
13743
13743
  if (page.hasMore) {
13744
13744
  lines.push("List truncated \u2014 more runs match this filter.");
13745
13745
  lines.push(
13746
13746
  nextPage ? `Next page: ${nextPage}` : "Narrow with --play <play-name> to page through runs."
13747
13747
  );
13748
13748
  }
13749
- _chunkH7YFUC3Jjs.printCommandEnvelope.call(void 0,
13749
+ _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
13750
13750
  {
13751
13751
  runs,
13752
13752
  count: runs.length,
@@ -13760,7 +13760,7 @@ Active runs: ${next.running}`
13760
13760
  },
13761
13761
  render: { sections: [{ title: "runs", lines }] }
13762
13762
  },
13763
- { json: _chunkH7YFUC3Jjs.argsWantJson.call(void 0, args) }
13763
+ { json: _chunkDD7E4ZVHjs.argsWantJson.call(void 0, args) }
13764
13764
  );
13765
13765
  return 0;
13766
13766
  }
@@ -13790,7 +13790,7 @@ async function handleRunTail(args) {
13790
13790
  console.error("--log-level requires one of: debug, info, warn, error.");
13791
13791
  return 1;
13792
13792
  }
13793
- const parsed = _chunk7KAS4QOWjs.parseLogLevel.call(void 0, value);
13793
+ const parsed = _chunkWGQKOLXHjs.parseLogLevel.call(void 0, value);
13794
13794
  if (!parsed) {
13795
13795
  console.error(
13796
13796
  `Unsupported --log-level ${JSON.stringify(value)}. Use debug, info, warn, or error.`
@@ -13828,9 +13828,9 @@ async function handleRunTail(args) {
13828
13828
  );
13829
13829
  return 1;
13830
13830
  }
13831
- const client = new (0, _chunkSKVMC6K6js.DeeplineClient)();
13831
+ const client = new (0, _chunkPMJAGTSQjs.DeeplineClient)();
13832
13832
  const jsonLines = args.includes("--jsonl");
13833
- const jsonOutput = !jsonLines && _chunkH7YFUC3Jjs.argsWantJson.call(void 0, args);
13833
+ const jsonOutput = !jsonLines && _chunkDD7E4ZVHjs.argsWantJson.call(void 0, args);
13834
13834
  const compact = args.includes("--compact");
13835
13835
  const showLiveLogs = debug || hasExplicitLogLevel || !jsonOutput && !compact;
13836
13836
  const compactState = {
@@ -13911,7 +13911,7 @@ async function handleRunLogs(args) {
13911
13911
  ]);
13912
13912
  const cursorIndex = args.indexOf("--cursor");
13913
13913
  const cursorValue = cursorIndex >= 0 ? args[cursorIndex + 1] : void 0;
13914
- const continuesEventSearch = cursorIndex >= 0 && !(cursorValue && _chunk7KAS4QOWjs.isRunLogsCursor.call(void 0, cursorValue));
13914
+ const continuesEventSearch = cursorIndex >= 0 && !(cursorValue && _chunkWGQKOLXHjs.isRunLogsCursor.call(void 0, cursorValue));
13915
13915
  if (!args[0] || args[0].startsWith("--") || continuesEventSearch || args.some((arg) => searchFlags.has(arg))) {
13916
13916
  return handleRunEventSearch(args);
13917
13917
  }
@@ -13945,7 +13945,7 @@ async function handleRunLogs(args) {
13945
13945
  console.error("--log-level requires one of: debug, info, warn, error.");
13946
13946
  return 1;
13947
13947
  }
13948
- const parsed = _chunk7KAS4QOWjs.parseLogLevel.call(void 0, value);
13948
+ const parsed = _chunkWGQKOLXHjs.parseLogLevel.call(void 0, value);
13949
13949
  if (!parsed) {
13950
13950
  console.error(
13951
13951
  `Unsupported --log-level ${JSON.stringify(value)}. Use debug, info, warn, or error.`
@@ -13992,12 +13992,12 @@ async function handleRunLogs(args) {
13992
13992
  );
13993
13993
  return 1;
13994
13994
  }
13995
- const client = new (0, _chunkSKVMC6K6js.DeeplineClient)();
13995
+ const client = new (0, _chunkPMJAGTSQjs.DeeplineClient)();
13996
13996
  if (outPath) {
13997
13997
  const result2 = await client.runs.logs(runId, { all: true });
13998
- const logs = result2.entries.filter((line) => _chunk7KAS4QOWjs.logLevelReaches.call(void 0, _chunk7KAS4QOWjs.classifyLogLine.call(void 0, line).level, logLevel)).map((line) => _chunk7KAS4QOWjs.classifyLogLine.call(void 0, line).line);
13998
+ const logs = result2.entries.filter((line) => _chunkWGQKOLXHjs.logLevelReaches.call(void 0, _chunkWGQKOLXHjs.classifyLogLine.call(void 0, line).level, logLevel)).map((line) => _chunkWGQKOLXHjs.classifyLogLine.call(void 0, line).line);
13999
13999
  _fs.writeFileSync.call(void 0, outPath, `${logs.join("\n")}${logs.length > 0 ? "\n" : ""}`);
14000
- _chunkH7YFUC3Jjs.printCommandEnvelope.call(void 0,
14000
+ _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
14001
14001
  {
14002
14002
  runId: result2.runId,
14003
14003
  log_path: outPath,
@@ -14020,7 +14020,7 @@ async function handleRunLogs(args) {
14020
14020
  ]
14021
14021
  }
14022
14022
  },
14023
- { json: _chunkH7YFUC3Jjs.argsWantJson.call(void 0, args) }
14023
+ { json: _chunkDD7E4ZVHjs.argsWantJson.call(void 0, args) }
14024
14024
  );
14025
14025
  return 0;
14026
14026
  }
@@ -14051,7 +14051,7 @@ async function handleRunLogs(args) {
14051
14051
  }
14052
14052
  };
14053
14053
  const text = buildRunLogsText(filteredResult);
14054
- _chunkH7YFUC3Jjs.printCommandEnvelope.call(void 0,
14054
+ _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
14055
14055
  {
14056
14056
  runId: result.runId,
14057
14057
  totalCount: result.totalCount,
@@ -14075,7 +14075,7 @@ async function handleRunLogs(args) {
14075
14075
  render: { sections: [{ title: "run logs", lines: entries }] }
14076
14076
  },
14077
14077
  {
14078
- json: _chunkH7YFUC3Jjs.argsWantJson.call(void 0, args),
14078
+ json: _chunkDD7E4ZVHjs.argsWantJson.call(void 0, args),
14079
14079
  text
14080
14080
  }
14081
14081
  );
@@ -14099,7 +14099,7 @@ function selectRunLogTailPage(result, logLevel, limit) {
14099
14099
  );
14100
14100
  }
14101
14101
  const matching = result.entries.map((line, index) => ({ line, seq: first + index })).filter(
14102
- (entry) => _chunk7KAS4QOWjs.logLevelReaches.call(void 0, _chunk7KAS4QOWjs.classifyLogLine.call(void 0, entry.line).level, logLevel)
14102
+ (entry) => _chunkWGQKOLXHjs.logLevelReaches.call(void 0, _chunkWGQKOLXHjs.classifyLogLine.call(void 0, entry.line).level, logLevel)
14103
14103
  );
14104
14104
  const selected = matching.slice(-limit);
14105
14105
  const olderMatchesExist = matching.length > selected.length;
@@ -14109,7 +14109,7 @@ function selectRunLogTailPage(result, logLevel, limit) {
14109
14109
  lastSequence: _nullishCoalesce(_optionalChain([selected, 'access', _527 => _527.at, 'call', _528 => _528(-1), 'optionalAccess', _529 => _529.seq]), () => ( null)),
14110
14110
  truncated: result.truncated || olderMatchesExist,
14111
14111
  hasMore: olderMatchesExist,
14112
- nextCursor: olderMatchesExist ? _chunk7KAS4QOWjs.encodeRunLogsCursor.call(void 0, selected[0].seq) : null
14112
+ nextCursor: olderMatchesExist ? _chunkWGQKOLXHjs.encodeRunLogsCursor.call(void 0, selected[0].seq) : null
14113
14113
  };
14114
14114
  }
14115
14115
  async function handleRunEventSearch(args) {
@@ -14176,7 +14176,7 @@ ${usage2}`);
14176
14176
  namespace,
14177
14177
  ...backend ? { backend } : {}
14178
14178
  } : void 0;
14179
- const client = new (0, _chunkSKVMC6K6js.DeeplineClient)();
14179
+ const client = new (0, _chunkPMJAGTSQjs.DeeplineClient)();
14180
14180
  const result = await client.runs.searchEvents({
14181
14181
  ...runId ? { runId } : {},
14182
14182
  ...values["--since"] ? { since: values["--since"] } : {},
@@ -14248,7 +14248,7 @@ ${renderedDetails}` : ""}`;
14248
14248
  "--limit",
14249
14249
  String(limit)
14250
14250
  ].join(" ") : null;
14251
- _chunkH7YFUC3Jjs.printCommandEnvelope.call(void 0,
14251
+ _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
14252
14252
  {
14253
14253
  events,
14254
14254
  nextCursor: result.nextCursor,
@@ -14259,14 +14259,14 @@ ${renderedDetails}` : ""}`;
14259
14259
  render: { sections: [{ title: "runtime events", lines }] }
14260
14260
  },
14261
14261
  {
14262
- json: _chunkH7YFUC3Jjs.argsWantJson.call(void 0, args),
14262
+ json: _chunkDD7E4ZVHjs.argsWantJson.call(void 0, args),
14263
14263
  text: `${lines.join("\n")}${lines.length ? "\n" : ""}`
14264
14264
  }
14265
14265
  );
14266
14266
  return 0;
14267
14267
  }
14268
14268
  function buildRunLogsText(result) {
14269
- const lines = result.entries.map((line) => _chunk7KAS4QOWjs.classifyLogLine.call(void 0, line).line);
14269
+ const lines = result.entries.map((line) => _chunkWGQKOLXHjs.classifyLogLine.call(void 0, line).line);
14270
14270
  if (result.warning) {
14271
14271
  if (lines.length > 0) lines.push("");
14272
14272
  lines.push(`warning: ${result.warning}`);
@@ -14300,7 +14300,7 @@ async function handleRunStop(args) {
14300
14300
  reason = args[++index];
14301
14301
  }
14302
14302
  }
14303
- const client = new (0, _chunkSKVMC6K6js.DeeplineClient)();
14303
+ const client = new (0, _chunkPMJAGTSQjs.DeeplineClient)();
14304
14304
  const result = await client.runs.stop(runId, { reason });
14305
14305
  const state = resolveRunStopState(result);
14306
14306
  const hitlCleanupIncomplete = state === "cancelling" && result.hitlCancellationPending === true;
@@ -14315,7 +14315,7 @@ async function handleRunStop(args) {
14315
14315
  ...result.hitlCancelledCount > 0 ? [`cancelled HITL waits: ${result.hitlCancelledCount}`] : [],
14316
14316
  `inspect: deepline runs get ${runId} --full`
14317
14317
  ];
14318
- _chunkH7YFUC3Jjs.printCommandEnvelope.call(void 0,
14318
+ _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
14319
14319
  {
14320
14320
  ...cancelling,
14321
14321
  state,
@@ -14330,7 +14330,7 @@ async function handleRunStop(args) {
14330
14330
  ]
14331
14331
  }
14332
14332
  },
14333
- { json: _chunkH7YFUC3Jjs.argsWantJson.call(void 0, args) }
14333
+ { json: _chunkDD7E4ZVHjs.argsWantJson.call(void 0, args) }
14334
14334
  );
14335
14335
  return 0;
14336
14336
  }
@@ -14347,7 +14347,7 @@ async function handleRunStop(args) {
14347
14347
  ];
14348
14348
  process.stderr.write(`${lines2.join("\n")}
14349
14349
  `);
14350
- _chunkH7YFUC3Jjs.printCommandEnvelope.call(void 0,
14350
+ _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
14351
14351
  {
14352
14352
  ...result,
14353
14353
  render: {
@@ -14362,7 +14362,7 @@ async function handleRunStop(args) {
14362
14362
  ]
14363
14363
  }
14364
14364
  },
14365
- { json: _chunkH7YFUC3Jjs.argsWantJson.call(void 0, args) }
14365
+ { json: _chunkDD7E4ZVHjs.argsWantJson.call(void 0, args) }
14366
14366
  );
14367
14367
  return 1;
14368
14368
  }
@@ -14373,12 +14373,12 @@ async function handleRunStop(args) {
14373
14373
  `warning: HITL cancellation or Slack card refresh is still pending; retry 'deepline runs stop ${runId}'`
14374
14374
  ] : []
14375
14375
  ];
14376
- _chunkH7YFUC3Jjs.printCommandEnvelope.call(void 0,
14376
+ _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
14377
14377
  {
14378
14378
  ...result,
14379
14379
  render: { sections: [{ title: "run stop", lines }] }
14380
14380
  },
14381
- { json: _chunkH7YFUC3Jjs.argsWantJson.call(void 0, args) }
14381
+ { json: _chunkDD7E4ZVHjs.argsWantJson.call(void 0, args) }
14382
14382
  );
14383
14383
  return 0;
14384
14384
  }
@@ -14428,18 +14428,18 @@ async function handleRunStopAll(args) {
14428
14428
  reason = args[++index];
14429
14429
  }
14430
14430
  }
14431
- const client = new (0, _chunkSKVMC6K6js.DeeplineClient)();
14431
+ const client = new (0, _chunkPMJAGTSQjs.DeeplineClient)();
14432
14432
  if (dryRun) {
14433
14433
  const result2 = await client.runs.stopAll({ dryRun: true, reason });
14434
14434
  const lines2 = buildStopAllDryRunTextLines(result2);
14435
- _chunkH7YFUC3Jjs.printCommandEnvelope.call(void 0,
14435
+ _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
14436
14436
  {
14437
14437
  ...result2,
14438
14438
  render: {
14439
14439
  sections: [{ title: "workspace stop-all (dry run)", lines: lines2 }]
14440
14440
  }
14441
14441
  },
14442
- { json: _chunkH7YFUC3Jjs.argsWantJson.call(void 0, args), text: `${lines2.join("\n")}
14442
+ { json: _chunkDD7E4ZVHjs.argsWantJson.call(void 0, args), text: `${lines2.join("\n")}
14443
14443
  ` }
14444
14444
  );
14445
14445
  return 0;
@@ -14452,17 +14452,17 @@ async function handleRunStopAll(args) {
14452
14452
  ...result.failed > 0 ? [`failed stops: ${result.failed}`] : [],
14453
14453
  ...result.skipped > 0 ? [`skipped: ${result.skipped}`] : []
14454
14454
  ];
14455
- _chunkH7YFUC3Jjs.printCommandEnvelope.call(void 0,
14455
+ _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
14456
14456
  {
14457
14457
  ...result,
14458
14458
  render: { sections: [{ title: "workspace stop-all", lines }] }
14459
14459
  },
14460
- { json: _chunkH7YFUC3Jjs.argsWantJson.call(void 0, args) }
14460
+ { json: _chunkDD7E4ZVHjs.argsWantJson.call(void 0, args) }
14461
14461
  );
14462
14462
  return result.failed > 0 || result.partial ? 1 : 0;
14463
14463
  }
14464
14464
  async function handleRunExport(args) {
14465
- const selection = _chunkH7YFUC3Jjs.parseJsonFields.call(void 0, args, "export");
14465
+ const selection = _chunkDD7E4ZVHjs.parseJsonFields.call(void 0, args, "export");
14466
14466
  args = selection.args;
14467
14467
  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]";
14468
14468
  let runId;
@@ -14533,17 +14533,17 @@ async function handleRunExport(args) {
14533
14533
  "INVALID_ARGUMENT"
14534
14534
  );
14535
14535
  }
14536
- const client = new (0, _chunkSKVMC6K6js.DeeplineClient)();
14536
+ const client = new (0, _chunkPMJAGTSQjs.DeeplineClient)();
14537
14537
  let status = await client.getPlayStatus(runId, { full: true });
14538
14538
  assertRunExportStatusIdentity(status, runId);
14539
14539
  if (wait && !TERMINAL_PLAY_STATUSES.has(status.status)) {
14540
- const progress = _chunkM475BQ77js.createCliProgress.call(void 0, !_chunkH7YFUC3Jjs.argsWantJson.call(void 0, args));
14540
+ const progress = _chunkUON3WCBDjs.createCliProgress.call(void 0, !_chunkDD7E4ZVHjs.argsWantJson.call(void 0, args));
14541
14541
  try {
14542
14542
  await waitForPlayCompletionByWatch({
14543
14543
  client,
14544
14544
  playName: _nullishCoalesce(extractRunPlayName(status), () => ( runId)),
14545
14545
  workflowId: runId,
14546
- jsonOutput: _chunkH7YFUC3Jjs.argsWantJson.call(void 0, args),
14546
+ jsonOutput: _chunkDD7E4ZVHjs.argsWantJson.call(void 0, args),
14547
14547
  emitLogs: false,
14548
14548
  waitTimeoutMs,
14549
14549
  startedAt: Date.now(),
@@ -14611,7 +14611,7 @@ async function handleRunExport(args) {
14611
14611
  rowCount: _nullishCoalesce(_optionalChain([exportResult, 'optionalAccess', _543 => _543.rowsInfo, 'access', _544 => _544.totalRows]), () => ( null)),
14612
14612
  ...exportedRowOutcomes ? { rowOutcomes: exportedRowOutcomes } : {},
14613
14613
  ...rowFailures ? { rowFailures } : {},
14614
- columns: _chunkRDOPZK7Ajs.underscoreKeysLast.call(void 0, _nullishCoalesce(_optionalChain([exportResult, 'optionalAccess', _545 => _545.rowsInfo, 'access', _546 => _546.columns]), () => ( []))),
14614
+ columns: _chunk3J2N7YF5js.underscoreKeysLast.call(void 0, _nullishCoalesce(_optionalChain([exportResult, 'optionalAccess', _545 => _545.rowsInfo, 'access', _546 => _546.columns]), () => ( []))),
14615
14615
  ...currentTableNotice ? { notice: currentTableNotice } : {},
14616
14616
  ...metadataOutPath ? { metadata_path: metadataOutPath } : {},
14617
14617
  ...!TERMINAL_PLAY_STATUSES.has(status.status) ? { completionCommand: `${exportCommand} --wait` } : {}
@@ -14645,8 +14645,8 @@ async function handleRunExport(args) {
14645
14645
  "utf-8"
14646
14646
  );
14647
14647
  }
14648
- _chunkH7YFUC3Jjs.printCommandEnvelope.call(void 0, payload, {
14649
- json: _chunkH7YFUC3Jjs.argsWantJson.call(void 0, args),
14648
+ _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0, payload, {
14649
+ json: _chunkDD7E4ZVHjs.argsWantJson.call(void 0, args),
14650
14650
  fields: selection.fields,
14651
14651
  text: `${lines.join("\n")}
14652
14652
  `
@@ -14680,10 +14680,10 @@ async function handlePlayGet(args) {
14680
14680
  );
14681
14681
  return 2;
14682
14682
  }
14683
- const client = new (0, _chunkSKVMC6K6js.DeeplineClient)();
14683
+ const client = new (0, _chunkPMJAGTSQjs.DeeplineClient)();
14684
14684
  const explicitJson = args.includes("--json");
14685
14685
  const sourceOutput = args.includes("--source");
14686
- const jsonOutput = sourceOutput ? explicitJson : _chunkH7YFUC3Jjs.argsWantJson.call(void 0, args);
14686
+ const jsonOutput = sourceOutput ? explicitJson : _chunkDD7E4ZVHjs.argsWantJson.call(void 0, args);
14687
14687
  const requestedRevisionFlags = [
14688
14688
  args.includes("--working"),
14689
14689
  args.includes("--live"),
@@ -14743,7 +14743,7 @@ async function handlePlayGet(args) {
14743
14743
  }
14744
14744
  const loadedMessage = materializedFile ? formatLoadedPlayMessage(materializedFile) : null;
14745
14745
  if (jsonOutput) {
14746
- _chunkH7YFUC3Jjs.printCompactJson.call(void 0, {
14746
+ _chunkDD7E4ZVHjs.printCompactJson.call(void 0, {
14747
14747
  ...detail,
14748
14748
  ...materializedFile ? {
14749
14749
  message: loadedMessage,
@@ -14835,8 +14835,8 @@ async function handlePlayVersions(args) {
14835
14835
  console.error("Usage: deepline plays versions --name <name> [--json]");
14836
14836
  return 1;
14837
14837
  }
14838
- const client = new (0, _chunkSKVMC6K6js.DeeplineClient)();
14839
- const jsonOutput = _chunkH7YFUC3Jjs.argsWantJson.call(void 0, args);
14838
+ const client = new (0, _chunkPMJAGTSQjs.DeeplineClient)();
14839
+ const jsonOutput = _chunkDD7E4ZVHjs.argsWantJson.call(void 0, args);
14840
14840
  await assertCanonicalNamedPlayReference(client, playName, {
14841
14841
  command: "versions"
14842
14842
  });
@@ -14844,7 +14844,7 @@ async function handlePlayVersions(args) {
14844
14844
  parseReferencedPlayTarget(playName).playName
14845
14845
  );
14846
14846
  if (jsonOutput) {
14847
- _chunkH7YFUC3Jjs.printCompactJson.call(void 0, { versions });
14847
+ _chunkDD7E4ZVHjs.printCompactJson.call(void 0, { versions });
14848
14848
  return 0;
14849
14849
  }
14850
14850
  if (versions.length === 0) {
@@ -14887,8 +14887,8 @@ async function handlePlayCost(args) {
14887
14887
  console.error("Usage: deepline plays cost <play> [--json]");
14888
14888
  return 2;
14889
14889
  }
14890
- const result = await new (0, _chunkSKVMC6K6js.DeeplineClient)().getPlayCostEstimate(name);
14891
- if (_chunkH7YFUC3Jjs.argsWantJson.call(void 0, args)) console.log(JSON.stringify(result, null, 2));
14890
+ const result = await new (0, _chunkPMJAGTSQjs.DeeplineClient)().getPlayCostEstimate(name);
14891
+ if (_chunkDD7E4ZVHjs.argsWantJson.call(void 0, args)) console.log(JSON.stringify(result, null, 2));
14892
14892
  else
14893
14893
  console.log(
14894
14894
  `${result.reference}: ${formatPlayCostEstimate(result.costEstimate)}`
@@ -14896,9 +14896,9 @@ async function handlePlayCost(args) {
14896
14896
  return 0;
14897
14897
  }
14898
14898
  async function handlePlayList(args) {
14899
- const jsonOutput = _chunkH7YFUC3Jjs.argsWantJson.call(void 0, args);
14899
+ const jsonOutput = _chunkDD7E4ZVHjs.argsWantJson.call(void 0, args);
14900
14900
  const showCost = args.includes("--show-cost");
14901
- const client = new (0, _chunkSKVMC6K6js.DeeplineClient)();
14901
+ const client = new (0, _chunkPMJAGTSQjs.DeeplineClient)();
14902
14902
  const categoriesIndex = args.indexOf("--categories");
14903
14903
  const categories = categoriesIndex >= 0 ? _optionalChain([args, 'access', _566 => _566[categoriesIndex + 1], 'optionalAccess', _567 => _567.trim, 'call', _568 => _568()]) : void 0;
14904
14904
  const tags = args.flatMap((arg, index) => arg === "--tag" ? [args[index + 1]] : []).flatMap((value) => (_nullishCoalesce(value, () => ( ""))).split(",")).map((value) => value.trim()).filter(Boolean);
@@ -14996,7 +14996,7 @@ async function handlePlayList(args) {
14996
14996
  lines.push("List truncated \u2014 more plays are available.");
14997
14997
  lines.push(`Next page: ${nextPage}`);
14998
14998
  }
14999
- _chunkH7YFUC3Jjs.printCommandEnvelope.call(void 0,
14999
+ _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
15000
15000
  {
15001
15001
  plays,
15002
15002
  count: plays.length,
@@ -15014,7 +15014,7 @@ async function handlePlayList(args) {
15014
15014
  }
15015
15015
  async function handlePlayPin(args, pinned) {
15016
15016
  const target = _optionalChain([args, 'access', _577 => _577.find, 'call', _578 => _578((arg) => !arg.startsWith("-")), 'optionalAccess', _579 => _579.trim, 'call', _580 => _580()]);
15017
- const jsonOutput = _chunkH7YFUC3Jjs.argsWantJson.call(void 0, args);
15017
+ const jsonOutput = _chunkDD7E4ZVHjs.argsWantJson.call(void 0, args);
15018
15018
  const dryRun = args.includes("--dry-run");
15019
15019
  if (!target) {
15020
15020
  console.error(
@@ -15032,11 +15032,11 @@ async function handlePlayPin(args, pinned) {
15032
15032
  const name = parsedTarget.playName;
15033
15033
  const plan = { name, pinned, dryRun };
15034
15034
  if (dryRun) {
15035
- _chunkH7YFUC3Jjs.printCompactJson.call(void 0, plan);
15035
+ _chunkDD7E4ZVHjs.printCompactJson.call(void 0, plan);
15036
15036
  return 0;
15037
15037
  }
15038
- const result = await new (0, _chunkSKVMC6K6js.DeeplineClient)().setPlayPinned(name, pinned);
15039
- if (jsonOutput) _chunkH7YFUC3Jjs.printCompactJson.call(void 0, result);
15038
+ const result = await new (0, _chunkPMJAGTSQjs.DeeplineClient)().setPlayPinned(name, pinned);
15039
+ if (jsonOutput) _chunkDD7E4ZVHjs.printCompactJson.call(void 0, result);
15040
15040
  else console.log(`${result.pinned ? "Pinned" : "Unpinned"} ${result.name}.`);
15041
15041
  return 0;
15042
15042
  }
@@ -15162,12 +15162,12 @@ async function handlePlayGrep(args) {
15162
15162
  console.error("Usage: deepline plays grep <query> [--json]");
15163
15163
  return 1;
15164
15164
  }
15165
- const client = new (0, _chunkSKVMC6K6js.DeeplineClient)();
15165
+ const client = new (0, _chunkPMJAGTSQjs.DeeplineClient)();
15166
15166
  const results = (await client.listPlays({ grep: query })).map(
15167
15167
  summarizePlayGrepResult
15168
15168
  );
15169
- if (_chunkH7YFUC3Jjs.argsWantJson.call(void 0, args)) {
15170
- _chunkH7YFUC3Jjs.printCompactJson.call(void 0, {
15169
+ if (_chunkDD7E4ZVHjs.argsWantJson.call(void 0, args)) {
15170
+ _chunkDD7E4ZVHjs.printCompactJson.call(void 0, {
15171
15171
  plays: results,
15172
15172
  count: results.length,
15173
15173
  query,
@@ -15190,7 +15190,7 @@ async function handlePlayGrep(args) {
15190
15190
  return 0;
15191
15191
  }
15192
15192
  async function handlePlayDescribe(args) {
15193
- const selection = _chunkH7YFUC3Jjs.parseJsonFields.call(void 0, args, "describe");
15193
+ const selection = _chunkDD7E4ZVHjs.parseJsonFields.call(void 0, args, "describe");
15194
15194
  args = selection.args;
15195
15195
  const playName = args[0];
15196
15196
  if (!playName) {
@@ -15224,8 +15224,8 @@ async function handlePlayDescribe(args) {
15224
15224
  `deepline plays check ${playName}`,
15225
15225
  ...definedName ? [`deepline describe <workspace>/${definedName}`] : []
15226
15226
  ];
15227
- if (_chunkH7YFUC3Jjs.argsWantJson.call(void 0, args)) {
15228
- _chunkH7YFUC3Jjs.printCompactJson.call(void 0, {
15227
+ if (_chunkDD7E4ZVHjs.argsWantJson.call(void 0, args)) {
15228
+ _chunkDD7E4ZVHjs.printCompactJson.call(void 0, {
15229
15229
  ok: false,
15230
15230
  error: { message },
15231
15231
  next
@@ -15239,7 +15239,7 @@ async function handlePlayDescribe(args) {
15239
15239
  }
15240
15240
  return 2;
15241
15241
  }
15242
- const client = new (0, _chunkSKVMC6K6js.DeeplineClient)();
15242
+ const client = new (0, _chunkPMJAGTSQjs.DeeplineClient)();
15243
15243
  await assertCanonicalNamedPlayReference(client, playName, {
15244
15244
  command: "describe"
15245
15245
  });
@@ -15249,9 +15249,9 @@ async function handlePlayDescribe(args) {
15249
15249
  compact: args.includes("--compact")
15250
15250
  }
15251
15251
  );
15252
- if (_chunkH7YFUC3Jjs.argsWantJson.call(void 0, args)) {
15253
- if (selection.fields) _chunkH7YFUC3Jjs.printJson.call(void 0, play, selection.fields);
15254
- else _chunkH7YFUC3Jjs.printCompactJson.call(void 0, play);
15252
+ if (_chunkDD7E4ZVHjs.argsWantJson.call(void 0, args)) {
15253
+ if (selection.fields) _chunkDD7E4ZVHjs.printJson.call(void 0, play, selection.fields);
15254
+ else _chunkDD7E4ZVHjs.printCompactJson.call(void 0, play);
15255
15255
  return 0;
15256
15256
  }
15257
15257
  printPlayDescription(play);
@@ -15273,7 +15273,7 @@ async function handlePlaySave(args) {
15273
15273
  }
15274
15274
  let graph;
15275
15275
  try {
15276
- graph = await _chunk2G4R4APLjs.traceCliSpan.call(void 0,
15276
+ graph = await _chunkYHB6MASPjs.traceCliSpan.call(void 0,
15277
15277
  "cli.play_save_bundle_graph",
15278
15278
  { targetKind: "file" },
15279
15279
  () => collectBundledPlayGraph(_path.resolve.call(void 0, options.target))
@@ -15295,7 +15295,7 @@ async function handlePlaySave(args) {
15295
15295
  next: `deepline plays check ${_chunkAID3OYVJjs.shellQuote.call(void 0, options.target)}`
15296
15296
  };
15297
15297
  if (options.jsonOutput) {
15298
- _chunkH7YFUC3Jjs.printCompactJson.call(void 0, result);
15298
+ _chunkDD7E4ZVHjs.printCompactJson.call(void 0, result);
15299
15299
  } else {
15300
15300
  console.error(result.message);
15301
15301
  console.error(` checked artifact: ${result.expectedArtifactHash}`);
@@ -15317,7 +15317,7 @@ async function handlePlaySave(args) {
15317
15317
  };
15318
15318
  if (options.dryRun) {
15319
15319
  if (options.jsonOutput) {
15320
- _chunkH7YFUC3Jjs.printCompactJson.call(void 0, dryRun);
15320
+ _chunkDD7E4ZVHjs.printCompactJson.call(void 0, dryRun);
15321
15321
  } else {
15322
15322
  console.log(`Dry run: ${playName}`);
15323
15323
  console.log(` source: ${dryRun.sourceHash}`);
@@ -15326,14 +15326,14 @@ async function handlePlaySave(args) {
15326
15326
  }
15327
15327
  return 0;
15328
15328
  }
15329
- const client = new (0, _chunkSKVMC6K6js.DeeplineClient)();
15329
+ const client = new (0, _chunkPMJAGTSQjs.DeeplineClient)();
15330
15330
  try {
15331
- await _chunk2G4R4APLjs.traceCliSpan.call(void 0,
15331
+ await _chunkYHB6MASPjs.traceCliSpan.call(void 0,
15332
15332
  "cli.play_save_compile_manifests",
15333
15333
  { targetKind: "file", nodeCount: graph.nodes.size },
15334
15334
  () => compileBundledPlayGraphManifests(client, graph)
15335
15335
  );
15336
- const saved = await _chunk2G4R4APLjs.traceCliSpan.call(void 0,
15336
+ const saved = await _chunkYHB6MASPjs.traceCliSpan.call(void 0,
15337
15337
  "cli.play_save_register_draft",
15338
15338
  { targetKind: "file", playName, artifactHash },
15339
15339
  () => client.registerPlayArtifact({
@@ -15362,7 +15362,7 @@ async function handlePlaySave(args) {
15362
15362
  }
15363
15363
  };
15364
15364
  if (options.jsonOutput) {
15365
- _chunkH7YFUC3Jjs.printCompactJson.call(void 0, result);
15365
+ _chunkDD7E4ZVHjs.printCompactJson.call(void 0, result);
15366
15366
  } else {
15367
15367
  console.log(
15368
15368
  `\u2713 Saved ${playName} working draft as v${_nullishCoalesce(result.version, () => ( "?"))}`
@@ -15388,7 +15388,7 @@ async function handlePlayPublish(args) {
15388
15388
  }
15389
15389
  const { target: playName, useLatest } = options;
15390
15390
  let revisionId = options.revisionId;
15391
- const client = new (0, _chunkSKVMC6K6js.DeeplineClient)();
15391
+ const client = new (0, _chunkPMJAGTSQjs.DeeplineClient)();
15392
15392
  if (isFileTarget(playName)) {
15393
15393
  if (revisionId || useLatest) {
15394
15394
  console.error(
@@ -15398,7 +15398,7 @@ async function handlePlayPublish(args) {
15398
15398
  }
15399
15399
  let graph;
15400
15400
  try {
15401
- graph = await _chunk2G4R4APLjs.traceCliSpan.call(void 0,
15401
+ graph = await _chunkYHB6MASPjs.traceCliSpan.call(void 0,
15402
15402
  "cli.play_publish_bundle_graph",
15403
15403
  { targetKind: "file" },
15404
15404
  () => collectBundledPlayGraph(_path.resolve.call(void 0, playName))
@@ -15420,7 +15420,7 @@ async function handlePlayPublish(args) {
15420
15420
  next: `deepline plays check ${_chunkAID3OYVJjs.shellQuote.call(void 0, playName)}`
15421
15421
  };
15422
15422
  if (options.jsonOutput) {
15423
- _chunkH7YFUC3Jjs.printCompactJson.call(void 0, result3);
15423
+ _chunkDD7E4ZVHjs.printCompactJson.call(void 0, result3);
15424
15424
  } else {
15425
15425
  console.error(result3.message);
15426
15426
  console.error(` checked artifact: ${result3.expectedArtifactHash}`);
@@ -15443,7 +15443,7 @@ async function handlePlayPublish(args) {
15443
15443
  };
15444
15444
  if (options.dryRun) {
15445
15445
  if (options.jsonOutput) {
15446
- _chunkH7YFUC3Jjs.printCompactJson.call(void 0, dryRun);
15446
+ _chunkDD7E4ZVHjs.printCompactJson.call(void 0, dryRun);
15447
15447
  } else {
15448
15448
  console.log(`Dry run: ${rootPlayName}`);
15449
15449
  console.log(` source: ${dryRun.sourceHash}`);
@@ -15462,12 +15462,12 @@ async function handlePlayPublish(args) {
15462
15462
  }
15463
15463
  }
15464
15464
  try {
15465
- await _chunk2G4R4APLjs.traceCliSpan.call(void 0,
15465
+ await _chunkYHB6MASPjs.traceCliSpan.call(void 0,
15466
15466
  "cli.play_publish_compile_manifests",
15467
15467
  { targetKind: "file", nodeCount: graph.nodes.size },
15468
15468
  () => compileBundledPlayGraphManifests(client, graph)
15469
15469
  );
15470
- await _chunk2G4R4APLjs.traceCliSpan.call(void 0,
15470
+ await _chunkYHB6MASPjs.traceCliSpan.call(void 0,
15471
15471
  "cli.play_publish_imports",
15472
15472
  { targetKind: "file", nodeCount: graph.nodes.size },
15473
15473
  () => publishImportedPlayDependencies(client, graph)
@@ -15476,7 +15476,7 @@ async function handlePlayPublish(args) {
15476
15476
  console.error(error instanceof Error ? error.message : String(error));
15477
15477
  return 1;
15478
15478
  }
15479
- const published = await _chunk2G4R4APLjs.traceCliSpan.call(void 0,
15479
+ const published = await _chunkYHB6MASPjs.traceCliSpan.call(void 0,
15480
15480
  "cli.play_publish_register_root",
15481
15481
  {
15482
15482
  targetKind: "file",
@@ -15511,7 +15511,7 @@ async function handlePlayPublish(args) {
15511
15511
  triggerBindings: _nullishCoalesce(published.triggerBindings, () => ( []))
15512
15512
  };
15513
15513
  if (options.jsonOutput) {
15514
- _chunkH7YFUC3Jjs.printCompactJson.call(void 0, result2);
15514
+ _chunkDD7E4ZVHjs.printCompactJson.call(void 0, result2);
15515
15515
  } else {
15516
15516
  printPublishReceipt({
15517
15517
  name: rootPlayName,
@@ -15542,7 +15542,7 @@ async function handlePlayPublish(args) {
15542
15542
  revisionId: _nullishCoalesce(revisionId, () => ( null)),
15543
15543
  latest: useLatest
15544
15544
  };
15545
- _chunkH7YFUC3Jjs.printCompactJson.call(void 0, result2);
15545
+ _chunkDD7E4ZVHjs.printCompactJson.call(void 0, result2);
15546
15546
  return 0;
15547
15547
  }
15548
15548
  const resolvedName = parseReferencedPlayTarget(playName).playName;
@@ -15566,7 +15566,7 @@ async function handlePlayPublish(args) {
15566
15566
  revisionId ? { revisionId } : {}
15567
15567
  );
15568
15568
  if (options.jsonOutput) {
15569
- _chunkH7YFUC3Jjs.printCompactJson.call(void 0, result);
15569
+ _chunkDD7E4ZVHjs.printCompactJson.call(void 0, result);
15570
15570
  } else {
15571
15571
  printPublishReceipt({
15572
15572
  name: result.name,
@@ -15606,7 +15606,7 @@ async function handlePlayDelete(args) {
15606
15606
  );
15607
15607
  return 2;
15608
15608
  }
15609
- const client = new (0, _chunkSKVMC6K6js.DeeplineClient)();
15609
+ const client = new (0, _chunkPMJAGTSQjs.DeeplineClient)();
15610
15610
  let detail;
15611
15611
  try {
15612
15612
  detail = await client.getPlay(parseReferencedPlayTarget(playName).playName);
@@ -15630,8 +15630,8 @@ async function handlePlayDelete(args) {
15630
15630
  name: resolvedName,
15631
15631
  plannedMutation: "move saved org-owned play to Trash and stop triggers"
15632
15632
  };
15633
- if (_chunkH7YFUC3Jjs.argsWantJson.call(void 0, args)) {
15634
- _chunkH7YFUC3Jjs.printCompactJson.call(void 0, result2);
15633
+ if (_chunkDD7E4ZVHjs.argsWantJson.call(void 0, args)) {
15634
+ _chunkDD7E4ZVHjs.printCompactJson.call(void 0, result2);
15635
15635
  } else {
15636
15636
  process.stdout.write(
15637
15637
  `Dry run: would move ${result2.name} to Trash and stop its active triggers.
@@ -15641,8 +15641,8 @@ async function handlePlayDelete(args) {
15641
15641
  return 0;
15642
15642
  }
15643
15643
  const result = await client.deletePlay(resolvedName);
15644
- if (_chunkH7YFUC3Jjs.argsWantJson.call(void 0, args)) {
15645
- _chunkH7YFUC3Jjs.printCompactJson.call(void 0, result);
15644
+ if (_chunkDD7E4ZVHjs.argsWantJson.call(void 0, args)) {
15645
+ _chunkDD7E4ZVHjs.printCompactJson.call(void 0, result);
15646
15646
  return result.archived || result.alreadyArchived ? 0 : 4;
15647
15647
  }
15648
15648
  if (result.alreadyArchived) {
@@ -15681,13 +15681,13 @@ async function handlePlayRestore(args) {
15681
15681
  );
15682
15682
  return 2;
15683
15683
  }
15684
- const client = new (0, _chunkSKVMC6K6js.DeeplineClient)();
15684
+ const client = new (0, _chunkPMJAGTSQjs.DeeplineClient)();
15685
15685
  try {
15686
15686
  const result = await client.restorePlay(
15687
15687
  parseReferencedPlayTarget(playName).playName
15688
15688
  );
15689
- if (_chunkH7YFUC3Jjs.argsWantJson.call(void 0, args)) {
15690
- _chunkH7YFUC3Jjs.printCompactJson.call(void 0, result);
15689
+ if (_chunkDD7E4ZVHjs.argsWantJson.call(void 0, args)) {
15690
+ _chunkDD7E4ZVHjs.printCompactJson.call(void 0, result);
15691
15691
  return result.restored || result.alreadyActive ? 0 : 4;
15692
15692
  }
15693
15693
  if (result.alreadyActive) {
@@ -15814,21 +15814,21 @@ Common commands:
15814
15814
  resume: `deepline plays resume-submission ${_chunkAID3OYVJjs.shellQuote.call(void 0, path)} --json`
15815
15815
  }
15816
15816
  };
15817
- _chunkH7YFUC3Jjs.printCommandEnvelope.call(void 0, result2, {
15817
+ _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0, result2, {
15818
15818
  json: options.json,
15819
15819
  text: `Submission ${saved.workflowId}: admission is unknown. ${result2.next.inspect}
15820
15820
  `
15821
15821
  });
15822
15822
  return;
15823
15823
  }
15824
- const client = new (0, _chunkSKVMC6K6js.DeeplineClient)();
15824
+ const client = new (0, _chunkPMJAGTSQjs.DeeplineClient)();
15825
15825
  if (new URL(saved.baseUrl).origin !== new URL(client.baseUrl).origin) {
15826
15826
  throw new Error(
15827
15827
  "The submission belongs to a different API origin. Select its original host before recovery."
15828
15828
  );
15829
15829
  }
15830
15830
  const result = await client.startPlayRun(saved.request);
15831
- _chunkH7YFUC3Jjs.printCommandEnvelope.call(void 0,
15831
+ _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
15832
15832
  { ...result },
15833
15833
  {
15834
15834
  json: options.json,
@@ -15864,7 +15864,7 @@ Examples:
15864
15864
  ).action(async (target, options) => {
15865
15865
  process.exitCode = await handlePlayCheck([
15866
15866
  target,
15867
- ..._chunkH7YFUC3Jjs.jsonFieldArgs.call(void 0, options.json),
15867
+ ..._chunkDD7E4ZVHjs.jsonFieldArgs.call(void 0, options.json),
15868
15868
  ...options.full ? ["--full"] : []
15869
15869
  ]);
15870
15870
  });
@@ -15903,10 +15903,10 @@ Notes:
15903
15903
  --force-tool-refresh re-executes completed tool receipts and may repeat billed
15904
15904
  provider calls. It is independent from --force.
15905
15905
  --max-concurrent-external-calls controls the per-run provider-tool/deepline.fetch
15906
- resident-work ceiling. Default: ${_chunkRMQB72WWjs.DEFAULT_MAX_CONCURRENT_EXTERNAL_CALLS}; accepted range: 1-${_chunkRMQB72WWjs.MAX_CONFIGURABLE_CONCURRENT_EXTERNAL_CALLS}.
15906
+ resident-work ceiling. Default: ${_chunkD22QIUE3js.DEFAULT_MAX_CONCURRENT_EXTERNAL_CALLS}; accepted range: 1-${_chunkD22QIUE3js.MAX_CONFIGURABLE_CONCURRENT_EXTERNAL_CALLS}.
15907
15907
  Provider pacing and sandbox memory limits still apply.
15908
15908
  --max-concurrent-rows sets the run-wide default and ceiling for live map row
15909
- resolvers. Accepted range: 1-${_chunkRMQB72WWjs.MAX_CONFIGURABLE_CONCURRENT_ROWS}. The runtime
15909
+ resolvers. Accepted range: 1-${_chunkD22QIUE3js.MAX_CONFIGURABLE_CONCURRENT_ROWS}. The runtime
15910
15910
  may lower it when source-row size exceeds the active-row memory budget.
15911
15911
  --max-credits replaces the play's billing.maxCreditsPerRun for this run.
15912
15912
  Tool calls that would exceed it are denied.
@@ -16020,10 +16020,10 @@ Examples:
16020
16020
  "Refresh completed tool receipts; may repeat billed provider calls"
16021
16021
  ).option(
16022
16022
  "--max-concurrent-external-calls <count>",
16023
- `Concurrent provider-tool and deepline.fetch executions (${_chunkRMQB72WWjs.DEFAULT_MAX_CONCURRENT_EXTERNAL_CALLS} default, max ${_chunkRMQB72WWjs.MAX_CONFIGURABLE_CONCURRENT_EXTERNAL_CALLS})`
16023
+ `Concurrent provider-tool and deepline.fetch executions (${_chunkD22QIUE3js.DEFAULT_MAX_CONCURRENT_EXTERNAL_CALLS} default, max ${_chunkD22QIUE3js.MAX_CONFIGURABLE_CONCURRENT_EXTERNAL_CALLS})`
16024
16024
  ).option(
16025
16025
  "--max-concurrent-rows <count>",
16026
- `Run-wide dataset map row resolver ceiling (max ${_chunkRMQB72WWjs.MAX_CONFIGURABLE_CONCURRENT_ROWS})`
16026
+ `Run-wide dataset map row resolver ceiling (max ${_chunkD22QIUE3js.MAX_CONFIGURABLE_CONCURRENT_ROWS})`
16027
16027
  ).option("--max-credits <credits>", "Deepline-credit cap for this run").option("--open", "Open the play page in a browser after the run starts").option(
16028
16028
  "--debug-map-latency",
16029
16029
  "Internal diagnostics: emit one aggregate latency profile per dataset map"
@@ -16068,14 +16068,14 @@ JSON field selection:
16068
16068
  passthroughArgs.shift();
16069
16069
  }
16070
16070
  const exitCode = await handlePlayRun(
16071
- _chunkRMQB72WWjs.resolvePlayRunCliOptions.call(void 0,
16071
+ _chunkD22QIUE3js.resolvePlayRunCliOptions.call(void 0,
16072
16072
  _nullishCoalesce(effectiveTarget, () => ( void 0)),
16073
16073
  options,
16074
16074
  passthroughArgs,
16075
- _chunk2G4R4APLjs.resolveCliMaintenancePolicy.call(void 0, command.optsWithGlobals())
16075
+ _chunkYHB6MASPjs.resolveCliMaintenancePolicy.call(void 0, command.optsWithGlobals())
16076
16076
  )
16077
16077
  );
16078
- _chunk2G4R4APLjs.recordCliTrace.call(void 0, {
16078
+ _chunkYHB6MASPjs.recordCliTrace.call(void 0, {
16079
16079
  phase: "cli.play_command_exit",
16080
16080
  exitCode
16081
16081
  });
@@ -16124,9 +16124,9 @@ Examples:
16124
16124
  const limit = Number(options.historyLimit);
16125
16125
  if (!Number.isInteger(limit) || limit < 1 || limit > 30)
16126
16126
  throw new Error("--history-limit must be an integer from 1 to 30.");
16127
- const client = new (0, _chunkSKVMC6K6js.DeeplineClient)();
16127
+ const client = new (0, _chunkPMJAGTSQjs.DeeplineClient)();
16128
16128
  if (options.binding) {
16129
- _chunkH7YFUC3Jjs.printCompactJson.call(void 0,
16129
+ _chunkDD7E4ZVHjs.printCompactJson.call(void 0,
16130
16130
  await client.getPlayTriggerHistory(options.binding, { limit })
16131
16131
  );
16132
16132
  return;
@@ -16134,7 +16134,7 @@ Examples:
16134
16134
  const result = await client.listPlayTriggerInventory({
16135
16135
  cursor: options.cursor
16136
16136
  });
16137
- _chunkH7YFUC3Jjs.printCompactJson.call(void 0, {
16137
+ _chunkDD7E4ZVHjs.printCompactJson.call(void 0, {
16138
16138
  ...result,
16139
16139
  next: result.isDone ? null : `deepline plays triggers --cursor ${JSON.stringify(result.continueCursor)}`
16140
16140
  });
@@ -16193,7 +16193,7 @@ Examples:
16193
16193
  if (options.groupBy !== "kind" && options.groupBy !== "trigger_source") {
16194
16194
  throw new Error("--group-by must be kind or trigger_source.");
16195
16195
  }
16196
- const result = await new (0, _chunkSKVMC6K6js.DeeplineClient)().getPlaysActivity({
16196
+ const result = await new (0, _chunkPMJAGTSQjs.DeeplineClient)().getPlaysActivity({
16197
16197
  timeZone: options.timeZone,
16198
16198
  days,
16199
16199
  ...options.endDate ? { endDate: options.endDate } : {},
@@ -16207,7 +16207,7 @@ Examples:
16207
16207
  `${bucket.key} ${groups} failed_play_runs=${bucket.failedPlayRuns} ${coverage}`
16208
16208
  );
16209
16209
  }
16210
- _chunkH7YFUC3Jjs.printCommandEnvelope.call(void 0,
16210
+ _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
16211
16211
  { ...result },
16212
16212
  {
16213
16213
  json: Boolean(options.json),
@@ -16236,7 +16236,7 @@ Examples:
16236
16236
  false
16237
16237
  );
16238
16238
  });
16239
- _chunk2DND7LLLjs.registerDeprecatedSearchCommand.call(void 0,
16239
+ _chunkRVRG57OBjs.registerDeprecatedSearchCommand.call(void 0,
16240
16240
  play,
16241
16241
  (options) => options.all ? ["plays"] : ["prebuilts"]
16242
16242
  );
@@ -16277,9 +16277,9 @@ Examples:
16277
16277
  "--json [fields]",
16278
16278
  "JSON output; optionally select comma-separated dotted paths"
16279
16279
  );
16280
- _chunkRDOPZK7Ajs.addDescribeOptions.call(void 0, describeCommand, { json: false }).action(
16280
+ _chunk3J2N7YF5js.addDescribeOptions.call(void 0, describeCommand, { json: false }).action(
16281
16281
  async (target, options) => {
16282
- const ownView = () => handlePlayDescribe(_chunkH7YFUC3Jjs.describeArgs.call(void 0, target, options));
16282
+ const ownView = () => handlePlayDescribe(_chunkDD7E4ZVHjs.describeArgs.call(void 0, target, options));
16283
16283
  const [flagText] = [options.json].filter(
16284
16284
  (value) => typeof value === "string"
16285
16285
  );
@@ -16290,7 +16290,7 @@ Examples:
16290
16290
  process.exitCode = await ownView();
16291
16291
  return;
16292
16292
  }
16293
- const { describeAnything } = await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-37QXXDCF.js")));
16293
+ const { describeAnything } = await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-7SFESEFL.js")));
16294
16294
  process.exitCode = await describeAnything(
16295
16295
  name,
16296
16296
  {
@@ -16408,7 +16408,7 @@ Examples:
16408
16408
  deepline plays deployments <deployment-id>
16409
16409
  `
16410
16410
  ).option("--limit <n>", "Max rows (default 50)").option("--json", "Emit JSON output").action(
16411
- async (id, options) => id ? _chunkQLVYYDUIjs.handleDeploymentGet.call(void 0, id, options) : _chunkQLVYYDUIjs.handleDeploymentsList.call(void 0, options)
16411
+ async (id, options) => id ? _chunkQI73EL5Cjs.handleDeploymentGet.call(void 0, id, options) : _chunkQI73EL5Cjs.handleDeploymentsList.call(void 0, options)
16412
16412
  );
16413
16413
  addPublishHelp(
16414
16414
  play.command("publish <target>").description(
@@ -16543,14 +16543,14 @@ Examples:
16543
16543
  const limit = Number(options.limit);
16544
16544
  if (!Number.isSafeInteger(limit) || limit < 1 || limit > 1e3)
16545
16545
  throw new Error("--limit must be an integer from 1 to 1000.");
16546
- const result = await new (0, _chunkSKVMC6K6js.DeeplineClient)().runs.rowHistory({
16546
+ const result = await new (0, _chunkPMJAGTSQjs.DeeplineClient)().runs.rowHistory({
16547
16547
  playName: options.play,
16548
16548
  runId,
16549
16549
  tableNamespace: options.dataset,
16550
16550
  limit,
16551
16551
  cursor: options.cursor
16552
16552
  });
16553
- _chunkH7YFUC3Jjs.printCompactJson.call(void 0, {
16553
+ _chunkDD7E4ZVHjs.printCompactJson.call(void 0, {
16554
16554
  ...result,
16555
16555
  ...result.nextCursor ? {
16556
16556
  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`
@@ -16624,7 +16624,7 @@ Examples:
16624
16624
  new (0, _commander.Option)("--log-failed", "Attach terminal-failure logs").hideHelp()
16625
16625
  ).action(async (runId, options) => {
16626
16626
  if (TOOL_EXECUTION_ID.test(runId)) {
16627
- const { getToolExecutionReceipt } = await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-KS7JMRK6.js")));
16627
+ const { getToolExecutionReceipt } = await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-YMVEVRCE.js")));
16628
16628
  process.exitCode = await getToolExecutionReceipt(runId, {
16629
16629
  receiptJson: options.json !== void 0
16630
16630
  });
@@ -16632,7 +16632,7 @@ Examples:
16632
16632
  }
16633
16633
  process.exitCode = await handleRunGet([
16634
16634
  runId,
16635
- ..._chunkH7YFUC3Jjs.jsonFieldArgs.call(void 0, options.json),
16635
+ ..._chunkDD7E4ZVHjs.jsonFieldArgs.call(void 0, options.json),
16636
16636
  ...options.webUrl ? ["--web-url"] : [],
16637
16637
  ...options.full ? ["--full"] : [],
16638
16638
  ...options.input ? ["--input"] : [],
@@ -16922,7 +16922,7 @@ Examples:
16922
16922
  ...options.allowEmpty ? ["--allow-empty"] : [],
16923
16923
  ...options.wait ? ["--wait"] : [],
16924
16924
  ...options.timeoutMs ? ["--timeout-ms", options.timeoutMs] : [],
16925
- ..._chunkH7YFUC3Jjs.jsonFieldArgs.call(void 0, options.json)
16925
+ ..._chunkDD7E4ZVHjs.jsonFieldArgs.call(void 0, options.json)
16926
16926
  ]);
16927
16927
  });
16928
16928
  const share = play.command("share").description(
@@ -17088,10 +17088,10 @@ async function handlePlayShareStatus(args) {
17088
17088
  return 2;
17089
17089
  }
17090
17090
  const name = parseReferencedPlayTarget(target).playName;
17091
- const status = await new (0, _chunkSKVMC6K6js.DeeplineClient)().getSharePage(name);
17091
+ const status = await new (0, _chunkPMJAGTSQjs.DeeplineClient)().getSharePage(name);
17092
17092
  const outputStatus = shareStatusForOutput(status);
17093
- if (_chunkH7YFUC3Jjs.argsWantJson.call(void 0, args)) {
17094
- _chunkH7YFUC3Jjs.printCompactJson.call(void 0, outputStatus);
17093
+ if (_chunkDD7E4ZVHjs.argsWantJson.call(void 0, args)) {
17094
+ _chunkDD7E4ZVHjs.printCompactJson.call(void 0, outputStatus);
17095
17095
  return 0;
17096
17096
  }
17097
17097
  if (!outputStatus.share) {
@@ -17130,7 +17130,7 @@ async function handlePlaySharePublish(args) {
17130
17130
  return 2;
17131
17131
  }
17132
17132
  const name = parseReferencedPlayTarget(target).playName;
17133
- const client = new (0, _chunkSKVMC6K6js.DeeplineClient)();
17133
+ const client = new (0, _chunkPMJAGTSQjs.DeeplineClient)();
17134
17134
  let revisionId = shareFlagValue(args, "--revision-id");
17135
17135
  let resolvedVersion;
17136
17136
  if (!revisionId) {
@@ -17161,8 +17161,8 @@ async function handlePlaySharePublish(args) {
17161
17161
  );
17162
17162
  if (!hasCompleted) {
17163
17163
  const message = `No completed run for ${name}. Publish a play only after it has run successfully. (Override with --no-run-check.)`;
17164
- if (_chunkH7YFUC3Jjs.argsWantJson.call(void 0, args)) {
17165
- _chunkH7YFUC3Jjs.printCompactJson.call(void 0, {
17164
+ if (_chunkDD7E4ZVHjs.argsWantJson.call(void 0, args)) {
17165
+ _chunkDD7E4ZVHjs.printCompactJson.call(void 0, {
17166
17166
  ok: false,
17167
17167
  code: "NO_SUCCESSFUL_RUN",
17168
17168
  message,
@@ -17186,8 +17186,8 @@ async function handlePlaySharePublish(args) {
17186
17186
  };
17187
17187
  if (args.includes("--dry-run")) {
17188
17188
  const plan = { dryRun: true, name, version: resolvedVersion, ...request };
17189
- if (_chunkH7YFUC3Jjs.argsWantJson.call(void 0, args)) {
17190
- _chunkH7YFUC3Jjs.printCompactJson.call(void 0, plan);
17189
+ if (_chunkDD7E4ZVHjs.argsWantJson.call(void 0, args)) {
17190
+ _chunkDD7E4ZVHjs.printCompactJson.call(void 0, plan);
17191
17191
  } else {
17192
17192
  console.log(
17193
17193
  `Would publish ${name}${resolvedVersion ? ` v${resolvedVersion}` : ""} (revision ${revisionId}).`
@@ -17197,8 +17197,8 @@ async function handlePlaySharePublish(args) {
17197
17197
  }
17198
17198
  const status = await client.publishSharePage(name, request);
17199
17199
  const outputStatus = shareStatusForOutput(status);
17200
- if (_chunkH7YFUC3Jjs.argsWantJson.call(void 0, args)) {
17201
- _chunkH7YFUC3Jjs.printCompactJson.call(void 0, outputStatus);
17200
+ if (_chunkDD7E4ZVHjs.argsWantJson.call(void 0, args)) {
17201
+ _chunkDD7E4ZVHjs.printCompactJson.call(void 0, outputStatus);
17202
17202
  return 0;
17203
17203
  }
17204
17204
  const urls = shareUrlFields(outputStatus);
@@ -17229,9 +17229,9 @@ async function handlePlayShareUpdate(args) {
17229
17229
  ...args.includes("--show-latency") ? { showAverageLatency: true } : args.includes("--hide-latency") ? { showAverageLatency: false } : {},
17230
17230
  ...seoIndexing ? { seoIndexing } : {}
17231
17231
  };
17232
- const status = await new (0, _chunkSKVMC6K6js.DeeplineClient)().updateSharePage(name, request);
17233
- if (_chunkH7YFUC3Jjs.argsWantJson.call(void 0, args)) {
17234
- _chunkH7YFUC3Jjs.printCompactJson.call(void 0, status);
17232
+ const status = await new (0, _chunkPMJAGTSQjs.DeeplineClient)().updateSharePage(name, request);
17233
+ if (_chunkDD7E4ZVHjs.argsWantJson.call(void 0, args)) {
17234
+ _chunkDD7E4ZVHjs.printCompactJson.call(void 0, status);
17235
17235
  return 0;
17236
17236
  }
17237
17237
  console.log(`Updated ${name} share settings.`);
@@ -17246,7 +17246,7 @@ async function handlePlayShareRegenerate(args) {
17246
17246
  return 2;
17247
17247
  }
17248
17248
  const name = parseReferencedPlayTarget(target).playName;
17249
- const client = new (0, _chunkSKVMC6K6js.DeeplineClient)();
17249
+ const client = new (0, _chunkPMJAGTSQjs.DeeplineClient)();
17250
17250
  let revisionId = shareFlagValue(args, "--revision-id");
17251
17251
  const versionFlag = shareFlagValue(args, "--version");
17252
17252
  if (!revisionId && versionFlag) {
@@ -17263,8 +17263,8 @@ async function handlePlayShareRegenerate(args) {
17263
17263
  revisionId ? { revisionId } : {}
17264
17264
  );
17265
17265
  const outputStatus = shareStatusForOutput(status);
17266
- if (_chunkH7YFUC3Jjs.argsWantJson.call(void 0, args)) {
17267
- _chunkH7YFUC3Jjs.printCompactJson.call(void 0, outputStatus);
17266
+ if (_chunkDD7E4ZVHjs.argsWantJson.call(void 0, args)) {
17267
+ _chunkDD7E4ZVHjs.printCompactJson.call(void 0, outputStatus);
17268
17268
  return 0;
17269
17269
  }
17270
17270
  const urls = shareUrlFields(outputStatus);
@@ -17289,9 +17289,9 @@ async function handlePlayShareUnpublish(args) {
17289
17289
  return 2;
17290
17290
  }
17291
17291
  const name = parseReferencedPlayTarget(target).playName;
17292
- const status = await new (0, _chunkSKVMC6K6js.DeeplineClient)().unpublishSharePage(name);
17293
- if (_chunkH7YFUC3Jjs.argsWantJson.call(void 0, args)) {
17294
- _chunkH7YFUC3Jjs.printCompactJson.call(void 0, status);
17292
+ const status = await new (0, _chunkPMJAGTSQjs.DeeplineClient)().unpublishSharePage(name);
17293
+ if (_chunkDD7E4ZVHjs.argsWantJson.call(void 0, args)) {
17294
+ _chunkDD7E4ZVHjs.printCompactJson.call(void 0, status);
17295
17295
  return 0;
17296
17296
  }
17297
17297
  console.log(`Unpublished ${name}; the public page has been removed.`);
@@ -17366,4 +17366,4 @@ async function handlePlayShareUnpublish(args) {
17366
17366
 
17367
17367
 
17368
17368
 
17369
- 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.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 = _chunkRMQB72WWjs.parsePlayRunHeaderFlag; exports.parsePlayRunOptions = _chunkRMQB72WWjs.parsePlayRunOptions; exports.preflightLocalFileInputs = preflightLocalFileInputs; exports.registerPlayCommands = registerPlayCommands; exports.renderRunOverviewText = renderRunOverviewText; exports.resolveDatasetByName = resolveDatasetByName; exports.resolvePlayRunOutputStatus = resolvePlayRunOutputStatus; 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;
17369
+ 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.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 = _chunkD22QIUE3js.parsePlayRunHeaderFlag; exports.parsePlayRunOptions = _chunkD22QIUE3js.parsePlayRunOptions; exports.preflightLocalFileInputs = preflightLocalFileInputs; exports.registerPlayCommands = registerPlayCommands; exports.renderRunOverviewText = renderRunOverviewText; exports.resolveDatasetByName = resolveDatasetByName; exports.resolvePlayRunOutputStatus = resolvePlayRunOutputStatus; 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;