deepline 0.3.483 → 0.3.484

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 (128) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/monitors/signal-radars/inbound-dead-letter.ts +100 -9
  3. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/ambiguous-modal-create-state.ts +21 -0
  4. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/compute-billing-job-state.ts +23 -0
  5. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/integration-operation-value-retirement-state.ts +25 -0
  6. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/integration-operation-value-retirement.ts +15 -1
  7. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/outbox-repair-operation-state.ts +30 -0
  8. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +95 -33
  9. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-capacity.ts +9 -1
  10. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/sandbox-cleanup-job-state.ts +23 -0
  11. package/dist/bundling-sources/shared_libs/product-notifications/destination-state.ts +93 -0
  12. package/dist/cli/{auth-2NXF6Q3Q.mjs → auth-EBFOTF7X.mjs} +5 -5
  13. package/dist/cli/auth-L5CSV3UO.js +43 -0
  14. package/dist/cli/{billing-W2Y4EOZP.mjs → billing-2ZOIMW5V.mjs} +6 -6
  15. package/dist/cli/{billing-5PW4L5WD.js → billing-G2G3EF3I.js} +79 -79
  16. package/dist/cli/{chunk-2MKX3HV3.js → chunk-2AWYJXBX.js} +5 -5
  17. package/dist/cli/{chunk-5LHU7NUS.js → chunk-3XQIVEAT.js} +3 -3
  18. package/dist/cli/{chunk-C3LJSOQ6.mjs → chunk-4OEOM6GP.mjs} +4 -4
  19. package/dist/cli/{chunk-7APXZ3CX.mjs → chunk-4OVHIWE7.mjs} +2 -2
  20. package/dist/cli/{chunk-EDMCD7MX.mjs → chunk-4SFC2XUF.mjs} +5 -5
  21. package/dist/cli/{chunk-JYEZ6BWX.mjs → chunk-5GOG5ZGC.mjs} +2 -2
  22. package/dist/cli/{chunk-ISP7ZENV.mjs → chunk-5K5CAND4.mjs} +4 -4
  23. package/dist/cli/{chunk-DS455RPF.js → chunk-5KNRQWHE.js} +3 -3
  24. package/dist/cli/{chunk-XRIQN6EP.js → chunk-6GRZEYSG.js} +7 -7
  25. package/dist/cli/{chunk-YL64JIQ7.mjs → chunk-6NPWXE32.mjs} +1 -1
  26. package/dist/cli/{chunk-NREZRYPU.mjs → chunk-7K5CWKKZ.mjs} +2 -2
  27. package/dist/cli/{chunk-FAZTLYJO.mjs → chunk-AF7MOUZP.mjs} +2 -2
  28. package/dist/cli/{chunk-5JCXS4MP.js → chunk-C62NI2X6.js} +5 -5
  29. package/dist/cli/{chunk-MYB6JVSD.js → chunk-CYWBAV5H.js} +16 -16
  30. package/dist/cli/{chunk-7TKLISLM.js → chunk-DBJ62RAO.js} +3 -3
  31. package/dist/cli/{chunk-4X23YY2E.mjs → chunk-DEXSQGXB.mjs} +5 -5
  32. package/dist/cli/{chunk-GGJQ4HJW.mjs → chunk-EACX7QXO.mjs} +2 -2
  33. package/dist/cli/{chunk-2JWG2H2N.js → chunk-FQK7BULS.js} +1 -1
  34. package/dist/cli/{chunk-T5GZZJ7O.js → chunk-FRD5WFT4.js} +6 -6
  35. package/dist/cli/{chunk-SCPFOH5Z.mjs → chunk-HEI3BWIV.mjs} +1 -1
  36. package/dist/cli/{chunk-B7HQL77V.js → chunk-IXWQOVNW.js} +53 -53
  37. package/dist/cli/{chunk-PHDEQ6W3.js → chunk-KA2LNIUP.js} +6 -6
  38. package/dist/cli/{chunk-WI2HNYQX.js → chunk-KGOC6HGI.js} +53 -53
  39. package/dist/cli/{chunk-JJSLEMQQ.mjs → chunk-LTZXLYKE.mjs} +1 -1
  40. package/dist/cli/{chunk-UGBZ6MCR.js → chunk-M4PG7FGC.js} +2 -2
  41. package/dist/cli/{chunk-QSYA6VE4.js → chunk-NW4QJE54.js} +2 -2
  42. package/dist/cli/{chunk-UY7OXFVU.js → chunk-OHKKDPA5.js} +10 -10
  43. package/dist/cli/{chunk-J7S3DJB4.mjs → chunk-PU52JXKA.mjs} +2 -2
  44. package/dist/cli/{chunk-VFEW53L5.js → chunk-QIDDTIVZ.js} +93 -93
  45. package/dist/cli/{chunk-62XGOB2D.js → chunk-RLLEH2SP.js} +26 -26
  46. package/dist/cli/{chunk-AWAFYRFV.mjs → chunk-TIRSKEZH.mjs} +1 -1
  47. package/dist/cli/{chunk-EGHYGTJM.mjs → chunk-TN2GW57M.mjs} +1 -1
  48. package/dist/cli/{chunk-FK47YUPC.mjs → chunk-TRLDJNVE.mjs} +1 -1
  49. package/dist/cli/{chunk-GONUMUBM.js → chunk-U7IJAGWB.js} +7 -7
  50. package/dist/cli/{chunk-WKB6Y43W.js → chunk-UKM74PAA.js} +37 -37
  51. package/dist/cli/{chunk-75IIHFN6.js → chunk-UT4YMA2N.js} +4 -4
  52. package/dist/cli/{chunk-2T4OSJEH.js → chunk-UWOY74RU.js} +21 -21
  53. package/dist/cli/{chunk-FGEC5SWP.mjs → chunk-V7JCMBLU.mjs} +4 -4
  54. package/dist/cli/{chunk-5ICAG4RE.js → chunk-VEVGM6B5.js} +9 -9
  55. package/dist/cli/{chunk-25IGCYJP.mjs → chunk-WXRM3UC6.mjs} +3 -3
  56. package/dist/cli/{chunk-GRE3ID5E.mjs → chunk-WYUCDLVR.mjs} +1 -1
  57. package/dist/cli/{chunk-IEV5UWPN.mjs → chunk-XZXIWPT3.mjs} +1 -1
  58. package/dist/cli/{chunk-S24CK3CJ.mjs → chunk-YGN77QA5.mjs} +2 -2
  59. package/dist/cli/{chunk-PRL7EKJZ.mjs → chunk-YHA3EV3I.mjs} +4 -4
  60. package/dist/cli/{chunk-UDF2CY4D.mjs → chunk-YWC5AN26.mjs} +10 -10
  61. package/dist/cli/{chunk-R2OR4RHV.js → chunk-ZOKM7DVA.js} +8 -8
  62. package/dist/cli/{csv-DIFVIR23.mjs → csv-NLWVWD3H.mjs} +4 -4
  63. package/dist/cli/{csv-EKEFLUIW.js → csv-S3CHUKI6.js} +13 -13
  64. package/dist/cli/{db-DOW4EVEU.mjs → db-OGRPAEEM.mjs} +6 -6
  65. package/dist/cli/{db-S7DDRUHX.js → db-WBSKMMOH.js} +27 -27
  66. package/dist/cli/{describe-KSZFOWKV.mjs → describe-FAD3Z7LN.mjs} +17 -17
  67. package/dist/cli/describe-UIAYCHWW.js +49 -0
  68. package/dist/cli/{executions-CAG7YC5K.mjs → executions-LYCL344R.mjs} +6 -6
  69. package/dist/cli/{executions-3DU5IXB6.js → executions-SOAZHCY4.js} +8 -8
  70. package/dist/cli/{feedback-BQMPTE47.mjs → feedback-AVF6V7SV.mjs} +4 -4
  71. package/dist/cli/{feedback-I65JMCP2.js → feedback-OROUPUNJ.js} +8 -8
  72. package/dist/cli/git-ATMWC27D.js +25 -0
  73. package/dist/cli/{git-UQUCD7XZ.mjs → git-J5N5M57H.mjs} +5 -5
  74. package/dist/cli/index.js +138 -138
  75. package/dist/cli/index.mjs +40 -40
  76. package/dist/cli/{legacy-noops-JXKLHUI3.mjs → legacy-noops-ENRRM7BL.mjs} +5 -5
  77. package/dist/cli/{legacy-noops-OLNT2BG5.js → legacy-noops-QAQMZMEG.js} +8 -8
  78. package/dist/cli/{monitors-DLTHHAFQ.mjs → monitors-CKQ65WRL.mjs} +7 -7
  79. package/dist/cli/{monitors-Z5X56AZN.js → monitors-SFMQ5LFR.js} +91 -91
  80. package/dist/cli/{org-XBHJLKUG.js → org-3UNTDLT2.js} +72 -72
  81. package/dist/cli/{org-6EZZHD3M.mjs → org-K4UIEU5P.mjs} +6 -6
  82. package/dist/cli/{pages-MYXROSVK.mjs → pages-6GPGBIAH.mjs} +6 -6
  83. package/dist/cli/{pages-XVJ34SCN.js → pages-NKZTGB4C.js} +17 -17
  84. package/dist/cli/{play-5PV4LAHE.mjs → play-62BEE7IX.mjs} +17 -17
  85. package/dist/cli/{play-ACC4T2XQ.js → play-BDEADESI.js} +309 -309
  86. package/dist/cli/{providers-JCI3KNE4.js → providers-SXGP44GH.js} +9 -9
  87. package/dist/cli/{providers-2DLUGIFF.mjs → providers-X3CUWMFP.mjs} +6 -6
  88. package/dist/cli/{quickstart-NSL3C76K.mjs → quickstart-7LN22BKX.mjs} +4 -4
  89. package/dist/cli/{quickstart-PDSQEDLD.js → quickstart-XQ4426M4.js} +6 -6
  90. package/dist/cli/{run-UCFMHOQC.js → run-PBJ4ZJ4W.js} +36 -36
  91. package/dist/cli/{run-X5MXCM4P.mjs → run-XXSN3B5A.mjs} +22 -22
  92. package/dist/cli/search-IGHLRLBD.js +32 -0
  93. package/dist/cli/{search-RPEMXV6N.mjs → search-M75VMADD.mjs} +7 -7
  94. package/dist/cli/{search-output-MZH3HLVE.js → search-output-F6HCFYEI.js} +6 -6
  95. package/dist/cli/{search-output-6UO47B7G.mjs → search-output-NUQAKWDM.mjs} +4 -4
  96. package/dist/cli/{secrets-NLEQURD3.mjs → secrets-J2H6V33R.mjs} +6 -6
  97. package/dist/cli/{secrets-UFBASYGY.js → secrets-LRYY4QPE.js} +15 -15
  98. package/dist/cli/{sessions-3ALFLWVU.mjs → sessions-IMT336UV.mjs} +5 -5
  99. package/dist/cli/{sessions-JYH4DBEE.js → sessions-YPF62CZE.js} +6 -6
  100. package/dist/cli/{settings-MQYKNAMB.js → settings-35YYC5WA.js} +78 -78
  101. package/dist/cli/{settings-YPRILREA.mjs → settings-PDWVQIGH.mjs} +11 -11
  102. package/dist/cli/{setup-DK4GM227.mjs → setup-DG5DISSE.mjs} +9 -9
  103. package/dist/cli/{setup-5IGSHH4E.js → setup-UR7GOR7H.js} +47 -47
  104. package/dist/cli/skills-4U5WC4MJ.js +33 -0
  105. package/dist/cli/{skills-KYBZH3IT.mjs → skills-U6NJD5J7.mjs} +7 -7
  106. package/dist/cli/{tools-4B2MHNBN.mjs → tools-2HGEOELR.mjs} +16 -16
  107. package/dist/cli/tools-PYJTQVVS.js +56 -0
  108. package/dist/cli/update-344OTRFM.js +33 -0
  109. package/dist/cli/{update-S6VEO7NB.mjs → update-FRAYBAHK.mjs} +9 -9
  110. package/dist/cli/{workflow-KXZZYFEF.mjs → workflow-DDKVTF36.mjs} +7 -7
  111. package/dist/cli/{workflow-FU2XVPUK.js → workflow-JKKLOMBX.js} +17 -17
  112. package/dist/index.js +9 -9
  113. package/dist/index.mjs +6 -6
  114. package/dist/install-integrity.json +104 -98
  115. package/dist/release.d.mts +1 -1
  116. package/dist/release.d.ts +1 -1
  117. package/dist/release.js +2 -2
  118. package/dist/release.mjs +1 -1
  119. package/dist/server.js +5 -5
  120. package/dist/server.mjs +3 -3
  121. package/package.json +1 -1
  122. package/dist/cli/auth-JHQKM6QY.js +0 -43
  123. package/dist/cli/describe-RXYQCJRR.js +0 -49
  124. package/dist/cli/git-ADIABNMQ.js +0 -25
  125. package/dist/cli/search-YILJZD36.js +0 -32
  126. package/dist/cli/skills-I4IUZN3U.js +0 -33
  127. package/dist/cli/tools-NLZR7ABS.js +0 -56
  128. package/dist/cli/update-RVDEUJTE.js +0 -33
@@ -5,7 +5,7 @@
5
5
 
6
6
 
7
7
 
8
- var _chunk5ICAG4REjs = require('./chunk-5ICAG4RE.js');
8
+ var _chunkVEVGM6B5js = require('./chunk-VEVGM6B5.js');
9
9
 
10
10
 
11
11
 
@@ -17,15 +17,15 @@ var _chunk5ICAG4REjs = require('./chunk-5ICAG4RE.js');
17
17
 
18
18
 
19
19
 
20
- var _chunk7TKLISLMjs = require('./chunk-7TKLISLM.js');
20
+ var _chunkDBJ62RAOjs = require('./chunk-DBJ62RAO.js');
21
21
 
22
22
 
23
- var _chunkXRIQN6EPjs = require('./chunk-XRIQN6EP.js');
23
+ var _chunk6GRZEYSGjs = require('./chunk-6GRZEYSG.js');
24
24
  require('./chunk-D3BCSAN7.js');
25
25
 
26
26
 
27
27
 
28
- var _chunk62XGOB2Djs = require('./chunk-62XGOB2D.js');
28
+ var _chunkRLLEH2SPjs = require('./chunk-RLLEH2SP.js');
29
29
 
30
30
 
31
31
  var _chunkIAYSWZDJjs = require('./chunk-IAYSWZDJ.js');
@@ -57,10 +57,10 @@ var _chunkA6QCMBGLjs = require('./chunk-A6QCMBGL.js');
57
57
 
58
58
 
59
59
 
60
- var _chunk5JCXS4MPjs = require('./chunk-5JCXS4MP.js');
60
+ var _chunkC62NI2X6js = require('./chunk-C62NI2X6.js');
61
61
 
62
62
 
63
- var _chunk2MKX3HV3js = require('./chunk-2MKX3HV3.js');
63
+ var _chunk2AWYJXBXjs = require('./chunk-2AWYJXBX.js');
64
64
 
65
65
 
66
66
 
@@ -73,7 +73,7 @@ var _chunk2MKX3HV3js = require('./chunk-2MKX3HV3.js');
73
73
 
74
74
 
75
75
 
76
- var _chunkT5GZZJ7Ojs = require('./chunk-T5GZZJ7O.js');
76
+ var _chunkFRD5WFT4js = require('./chunk-FRD5WFT4.js');
77
77
  require('./chunk-E4CABWXL.js');
78
78
 
79
79
 
@@ -93,18 +93,18 @@ require('./chunk-XDVT3GOM.js');
93
93
 
94
94
 
95
95
 
96
- var _chunkPHDEQ6W3js = require('./chunk-PHDEQ6W3.js');
96
+ var _chunkKA2LNIUPjs = require('./chunk-KA2LNIUP.js');
97
97
 
98
98
 
99
99
 
100
100
 
101
101
 
102
- var _chunkQSYA6VE4js = require('./chunk-QSYA6VE4.js');
103
- require('./chunk-B7HQL77V.js');
102
+ var _chunkNW4QJE54js = require('./chunk-NW4QJE54.js');
103
+ require('./chunk-IXWQOVNW.js');
104
104
 
105
105
 
106
106
 
107
- var _chunkDS455RPFjs = require('./chunk-DS455RPF.js');
107
+ var _chunk5KNRQWHEjs = require('./chunk-5KNRQWHE.js');
108
108
 
109
109
 
110
110
 
@@ -118,17 +118,17 @@ var _chunkDS455RPFjs = require('./chunk-DS455RPF.js');
118
118
 
119
119
 
120
120
 
121
- var _chunkGONUMUBMjs = require('./chunk-GONUMUBM.js');
122
- require('./chunk-5LHU7NUS.js');
121
+ var _chunkU7IJAGWBjs = require('./chunk-U7IJAGWB.js');
122
+ require('./chunk-3XQIVEAT.js');
123
123
 
124
124
 
125
- var _chunk75IIHFN6js = require('./chunk-75IIHFN6.js');
125
+ var _chunkUT4YMA2Njs = require('./chunk-UT4YMA2N.js');
126
126
  require('./chunk-ALJJRZNJ.js');
127
127
  require('./chunk-XNYIZMNQ.js');
128
128
 
129
129
 
130
130
  var _chunkDIAWYWT5js = require('./chunk-DIAWYWT5.js');
131
- require('./chunk-2JWG2H2N.js');
131
+ require('./chunk-FQK7BULS.js');
132
132
  require('./chunk-OG64RBAC.js');
133
133
 
134
134
 
@@ -2110,7 +2110,7 @@ function resolveField(key, command) {
2110
2110
  function printSettings(result, json, name) {
2111
2111
  result = { ...result, settings: parsePlaySettings(result.settings) };
2112
2112
  const selected = fields.filter(([key]) => !name || key === name);
2113
- _chunkGONUMUBMjs.printCommandEnvelope.call(void 0,
2113
+ _chunkU7IJAGWBjs.printCommandEnvelope.call(void 0,
2114
2114
  {
2115
2115
  ...result,
2116
2116
  settings: Object.fromEntries(
@@ -2154,7 +2154,7 @@ function registerPlaySettingsCommands(plays) {
2154
2154
  valueSyntax: field.cli.valueSyntax,
2155
2155
  examples: field.cli.examples
2156
2156
  }));
2157
- _chunkGONUMUBMjs.printCommandEnvelope.call(void 0,
2157
+ _chunkU7IJAGWBjs.printCommandEnvelope.call(void 0,
2158
2158
  {
2159
2159
  fields: descriptions,
2160
2160
  render: {
@@ -2179,7 +2179,7 @@ function registerPlaySettingsCommands(plays) {
2179
2179
  async (options, command) => {
2180
2180
  if (options.name !== void 0) resolveField(options.name, command);
2181
2181
  printSettings(
2182
- await new (0, _chunk2MKX3HV3js.DeeplineClient)().getPlaySettings(options.play),
2182
+ await new (0, _chunk2AWYJXBXjs.DeeplineClient)().getPlaySettings(options.play),
2183
2183
  options.json,
2184
2184
  options.name
2185
2185
  );
@@ -2210,7 +2210,7 @@ function registerPlaySettingsCommands(plays) {
2210
2210
  );
2211
2211
  }
2212
2212
  if (options.dryRun) {
2213
- _chunkGONUMUBMjs.printCommandEnvelope.call(void 0,
2213
+ _chunkU7IJAGWBjs.printCommandEnvelope.call(void 0,
2214
2214
  {
2215
2215
  dryRun: true,
2216
2216
  play,
@@ -2231,7 +2231,7 @@ function registerPlaySettingsCommands(plays) {
2231
2231
  return;
2232
2232
  }
2233
2233
  printSettings(
2234
- await new (0, _chunk2MKX3HV3js.DeeplineClient)().updatePlaySettings(play, patch),
2234
+ await new (0, _chunk2AWYJXBXjs.DeeplineClient)().updatePlaySettings(play, patch),
2235
2235
  options.json
2236
2236
  );
2237
2237
  };
@@ -2257,13 +2257,13 @@ function registerPlaySettingsCommands(plays) {
2257
2257
  "--root must be person or team; --limit must be 1\u2013100.",
2258
2258
  { exitCode: 2 }
2259
2259
  );
2260
- const page = await new (0, _chunk2MKX3HV3js.DeeplineClient)().listPlaySettingsPaths({
2260
+ const page = await new (0, _chunk2AWYJXBXjs.DeeplineClient)().listPlaySettingsPaths({
2261
2261
  root: options.root,
2262
2262
  limit,
2263
2263
  cursor: options.cursor
2264
2264
  });
2265
2265
  const nextCommand = page.hasMore ? `deepline plays settings paths --cursor '${page.cursor}'${options.root ? ` --root ${options.root}` : ""}` : null;
2266
- _chunkGONUMUBMjs.printCommandEnvelope.call(void 0,
2266
+ _chunkU7IJAGWBjs.printCommandEnvelope.call(void 0,
2267
2267
  {
2268
2268
  ...page,
2269
2269
  nextCommand,
@@ -2314,7 +2314,7 @@ function registerPlaySettingsCommands(plays) {
2314
2314
  root: _nullishCoalesce(_optionalChain([toPath, 'optionalAccess', _12 => _12.root]), () => ( "person")),
2315
2315
  folders: _nullishCoalesce(_optionalChain([toPath, 'optionalAccess', _13 => _13.folders]), () => ( []))
2316
2316
  };
2317
- const client = new (0, _chunk2MKX3HV3js.DeeplineClient)();
2317
+ const client = new (0, _chunk2AWYJXBXjs.DeeplineClient)();
2318
2318
  const paths = [];
2319
2319
  let cursor;
2320
2320
  do {
@@ -2376,7 +2376,7 @@ function registerPlaySettingsCommands(plays) {
2376
2376
  moved.push(move.playName);
2377
2377
  }
2378
2378
  }
2379
- _chunkGONUMUBMjs.printCommandEnvelope.call(void 0,
2379
+ _chunkU7IJAGWBjs.printCommandEnvelope.call(void 0,
2380
2380
  {
2381
2381
  dryRun: Boolean(options.dryRun),
2382
2382
  from: options.from,
@@ -2504,7 +2504,7 @@ function triggerLines(view) {
2504
2504
  return lines;
2505
2505
  }
2506
2506
  function printView(view, json) {
2507
- _chunkGONUMUBMjs.printCommandEnvelope.call(void 0,
2507
+ _chunkU7IJAGWBjs.printCommandEnvelope.call(void 0,
2508
2508
  {
2509
2509
  ...view,
2510
2510
  render: {
@@ -2517,7 +2517,7 @@ function printView(view, json) {
2517
2517
  );
2518
2518
  }
2519
2519
  function printResult(result, json) {
2520
- _chunkGONUMUBMjs.printCommandEnvelope.call(void 0,
2520
+ _chunkU7IJAGWBjs.printCommandEnvelope.call(void 0,
2521
2521
  {
2522
2522
  ...result,
2523
2523
  render: {
@@ -2547,7 +2547,7 @@ async function mutate(command, options, build) {
2547
2547
  usage(command, `Invalid trigger: ${formatPlayTriggerConfigError(error)}`);
2548
2548
  }
2549
2549
  if (options.dryRun) {
2550
- _chunkGONUMUBMjs.printCommandEnvelope.call(void 0,
2550
+ _chunkU7IJAGWBjs.printCommandEnvelope.call(void 0,
2551
2551
  {
2552
2552
  dryRun: true,
2553
2553
  play: options.play,
@@ -2566,7 +2566,7 @@ async function mutate(command, options, build) {
2566
2566
  return;
2567
2567
  }
2568
2568
  printResult(
2569
- await new (0, _chunk2MKX3HV3js.DeeplineClient)().updatePlayTriggerConfig(options.play, update),
2569
+ await new (0, _chunk2AWYJXBXjs.DeeplineClient)().updatePlayTriggerConfig(options.play, update),
2570
2570
  options.json
2571
2571
  );
2572
2572
  }
@@ -2599,7 +2599,7 @@ function registerPlayTriggerConfigCommands(plays) {
2599
2599
  }).addHelpText("after", help2);
2600
2600
  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) => {
2601
2601
  printView(
2602
- await new (0, _chunk2MKX3HV3js.DeeplineClient)().getPlayTriggerConfig(options.play),
2602
+ await new (0, _chunk2AWYJXBXjs.DeeplineClient)().getPlayTriggerConfig(options.play),
2603
2603
  options.json
2604
2604
  );
2605
2605
  });
@@ -2643,7 +2643,7 @@ function registerPlayTriggerConfigCommands(plays) {
2643
2643
  if (options.auth === void 0) {
2644
2644
  if (secrets.length || options.header || options.signaturePrefix)
2645
2645
  usage(setWebhook, "--secret/--header need --auth.");
2646
- const current = await new (0, _chunk2MKX3HV3js.DeeplineClient)().getPlayTriggerConfig(
2646
+ const current = await new (0, _chunk2AWYJXBXjs.DeeplineClient)().getPlayTriggerConfig(
2647
2647
  options.play
2648
2648
  );
2649
2649
  return {
@@ -2720,7 +2720,7 @@ var KIND_DESCRIPTIONS = {
2720
2720
  "receipt.skipped": "Saved work result: skipped.",
2721
2721
  "runtime.event": "Other event."
2722
2722
  };
2723
- var RUN_LOGS_KIND_HELP = _chunkT5GZZJ7Ojs.RUN_EVENT_SEARCH_KIND_VALUES.map((kind) => ({
2723
+ var RUN_LOGS_KIND_HELP = _chunkFRD5WFT4js.RUN_EVENT_SEARCH_KIND_VALUES.map((kind) => ({
2724
2724
  kind,
2725
2725
  description: KIND_DESCRIPTIONS[kind]
2726
2726
  }));
@@ -2857,9 +2857,9 @@ function configureRunQueryCommandErrors(command, resource) {
2857
2857
  const args = program.args;
2858
2858
  if (error.exitCode !== 0 && (resource === "events" || requestsStructuredLogs(args))) {
2859
2859
  error.exitCode = 2;
2860
- if (_chunkGONUMUBMjs.argsWantJson.call(void 0, args) || command.optsWithGlobals().json === true) {
2861
- _chunkGONUMUBMjs.printJsonError.call(void 0,
2862
- Object.assign(new (0, _chunkT5GZZJ7Ojs.RunEventQueryInputError)(error.message), {
2860
+ if (_chunkU7IJAGWBjs.argsWantJson.call(void 0, args) || command.optsWithGlobals().json === true) {
2861
+ _chunkU7IJAGWBjs.printJsonError.call(void 0,
2862
+ Object.assign(new (0, _chunkFRD5WFT4js.RunEventQueryInputError)(error.message), {
2863
2863
  exitCode: 2,
2864
2864
  retryable: false
2865
2865
  })
@@ -2903,14 +2903,14 @@ function parseQuery(args, resource) {
2903
2903
  if (VALUE_FLAGS.has(flag)) {
2904
2904
  const value = equals > 0 ? arg.slice(equals + 1) : args[++index];
2905
2905
  if (!value || equals < 0 && value.startsWith("--") && flag !== "--query" && flag !== "--where") {
2906
- throw new (0, _chunkT5GZZJ7Ojs.RunEventQueryInputError)(
2906
+ throw new (0, _chunkFRD5WFT4js.RunEventQueryInputError)(
2907
2907
  `${flag} requires a value. Use ${flag} <value>.`
2908
2908
  );
2909
2909
  }
2910
2910
  if (flag === "--sum") sums.push(value);
2911
2911
  else {
2912
2912
  if (values[flag] !== void 0) {
2913
- throw new (0, _chunkT5GZZJ7Ojs.RunEventQueryInputError)(
2913
+ throw new (0, _chunkFRD5WFT4js.RunEventQueryInputError)(
2914
2914
  `${flag} may only be supplied once.`
2915
2915
  );
2916
2916
  }
@@ -2924,12 +2924,12 @@ function parseQuery(args, resource) {
2924
2924
  }
2925
2925
  if (arg.startsWith("-")) {
2926
2926
  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.";
2927
- throw new (0, _chunkT5GZZJ7Ojs.RunEventQueryInputError)(
2927
+ throw new (0, _chunkFRD5WFT4js.RunEventQueryInputError)(
2928
2928
  `Unsupported query flag ${flag}. ${correction}`
2929
2929
  );
2930
2930
  }
2931
2931
  if (runId !== void 0) {
2932
- throw new (0, _chunkT5GZZJ7Ojs.RunEventQueryInputError)(
2932
+ throw new (0, _chunkFRD5WFT4js.RunEventQueryInputError)(
2933
2933
  `Unexpected argument ${JSON.stringify(arg)}. Supply one run ID.`
2934
2934
  );
2935
2935
  }
@@ -2937,7 +2937,7 @@ function parseQuery(args, resource) {
2937
2937
  }
2938
2938
  if (switches.has("--fields")) {
2939
2939
  if (runId !== void 0) {
2940
- throw new (0, _chunkT5GZZJ7Ojs.RunEventQueryInputError)(
2940
+ throw new (0, _chunkFRD5WFT4js.RunEventQueryInputError)(
2941
2941
  "--fields does not use a run ID. Omit the positional run ID."
2942
2942
  );
2943
2943
  }
@@ -2950,18 +2950,18 @@ function parseQuery(args, resource) {
2950
2950
  )
2951
2951
  ];
2952
2952
  if (incompatible.length) {
2953
- throw new (0, _chunkT5GZZJ7Ojs.RunEventQueryInputError)(
2953
+ throw new (0, _chunkFRD5WFT4js.RunEventQueryInputError)(
2954
2954
  `--fields cannot be combined with ${incompatible.join(", ")}. Use --fields alone to discover the query contract.`
2955
2955
  );
2956
2956
  }
2957
2957
  }
2958
2958
  if (switches.has("--count") && values["--group-by"] !== void 0) {
2959
- throw new (0, _chunkT5GZZJ7Ojs.RunEventQueryInputError)(
2959
+ throw new (0, _chunkFRD5WFT4js.RunEventQueryInputError)(
2960
2960
  "--count cannot be combined with --group-by. Use --group-by for counts per group."
2961
2961
  );
2962
2962
  }
2963
2963
  if (sums.length && switches.has("--count")) {
2964
- throw new (0, _chunkT5GZZJ7Ojs.RunEventQueryInputError)(
2964
+ throw new (0, _chunkFRD5WFT4js.RunEventQueryInputError)(
2965
2965
  "--sum cannot be combined with --count. Use --sum for the exact count and numeric total."
2966
2966
  );
2967
2967
  }
@@ -2969,7 +2969,7 @@ function parseQuery(args, resource) {
2969
2969
  if (operation === "count") {
2970
2970
  for (const flag of ["--limit", "--cursor", "--payloads"]) {
2971
2971
  if (values[flag] !== void 0 || switches.has(flag)) {
2972
- throw new (0, _chunkT5GZZJ7Ojs.RunEventQueryInputError)(
2972
+ throw new (0, _chunkFRD5WFT4js.RunEventQueryInputError)(
2973
2973
  `--count cannot be combined with ${flag}. Remove ${flag} to count all matching retained records.`
2974
2974
  );
2975
2975
  }
@@ -3004,16 +3004,16 @@ function parseQuery(args, resource) {
3004
3004
  ];
3005
3005
  }
3006
3006
  }
3007
- const request = _chunkT5GZZJ7Ojs.normalizeRunEventOperationRequest.call(void 0, body);
3007
+ const request = _chunkFRD5WFT4js.normalizeRunEventOperationRequest.call(void 0, body);
3008
3008
  const namespace = _nullishCoalesce(values["--runtime-namespace"], () => ( (process.env.DEEPLINE_RUNTIME_ENVIRONMENT === "preview" ? process.env.DEEPLINE_RUNTIME_NAMESPACE : void 0)));
3009
3009
  const backend = values["--runtime-backend"];
3010
3010
  if (backend && backend !== "daytona" && backend !== "modal") {
3011
- throw new (0, _chunkT5GZZJ7Ojs.RunEventQueryInputError)(
3011
+ throw new (0, _chunkFRD5WFT4js.RunEventQueryInputError)(
3012
3012
  "--runtime-backend must be daytona or modal."
3013
3013
  );
3014
3014
  }
3015
3015
  if (backend && !namespace) {
3016
- throw new (0, _chunkT5GZZJ7Ojs.RunEventQueryInputError)(
3016
+ throw new (0, _chunkFRD5WFT4js.RunEventQueryInputError)(
3017
3017
  "--runtime-backend requires --runtime-namespace."
3018
3018
  );
3019
3019
  }
@@ -3060,12 +3060,12 @@ async function handleRunEventQuery(args, resource = "logs") {
3060
3060
  const failure = error instanceof Error ? error : new Error(String(error));
3061
3061
  const record3 = failure;
3062
3062
  const status = record3.statusCode;
3063
- const exitCode = error instanceof _chunkT5GZZJ7Ojs.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;
3063
+ const exitCode = error instanceof _chunkFRD5WFT4js.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;
3064
3064
  const diagnostic = Object.assign(failure, {
3065
3065
  exitCode,
3066
3066
  retryable: exitCode === 5
3067
3067
  });
3068
- if (_chunkGONUMUBMjs.argsWantJson.call(void 0, args)) _chunkGONUMUBMjs.printJsonError.call(void 0, diagnostic);
3068
+ if (_chunkU7IJAGWBjs.argsWantJson.call(void 0, args)) _chunkU7IJAGWBjs.printJsonError.call(void 0, diagnostic);
3069
3069
  else console.error(`Error: ${diagnostic.message}`);
3070
3070
  return exitCode;
3071
3071
  }
@@ -3080,7 +3080,7 @@ async function executeRunEventQuery(args, resource) {
3080
3080
  ...criteria
3081
3081
  } = request;
3082
3082
  const options = { ...criteria, ...runtime ? { runtime } : {} };
3083
- const client = new (0, _chunk2MKX3HV3js.DeeplineClient)();
3083
+ const client = new (0, _chunk2AWYJXBXjs.DeeplineClient)();
3084
3084
  let result;
3085
3085
  if (request.operation === "fields") {
3086
3086
  result = await client.runs[resource].fields(runtime ? { runtime } : {});
@@ -3146,13 +3146,13 @@ async function executeRunEventQuery(args, resource) {
3146
3146
  lines.push(`Next page: ${nextPage}`);
3147
3147
  }
3148
3148
  }
3149
- _chunkGONUMUBMjs.printCommandEnvelope.call(void 0,
3149
+ _chunkU7IJAGWBjs.printCommandEnvelope.call(void 0,
3150
3150
  {
3151
3151
  ...result,
3152
3152
  ...nextPage ? { next: { page: nextPage } } : {},
3153
3153
  render: { sections: [{ title: `run ${resource}`, lines }] }
3154
3154
  },
3155
- { json: _chunkGONUMUBMjs.argsWantJson.call(void 0, args), text: `${lines.join("\n")}
3155
+ { json: _chunkU7IJAGWBjs.argsWantJson.call(void 0, args), text: `${lines.join("\n")}
3156
3156
  ` }
3157
3157
  );
3158
3158
  return 0;
@@ -4071,7 +4071,7 @@ Existing credential redactions and referenced-list previews remain as stored.
4071
4071
  ...text.split(/\r?\n/).map((key) => key.trim()).filter(Boolean)
4072
4072
  );
4073
4073
  }
4074
- const response = await new (0, _chunk2MKX3HV3js.DeeplineClient)().runs.getReceipts(runId, {
4074
+ const response = await new (0, _chunk2AWYJXBXjs.DeeplineClient)().runs.getReceipts(runId, {
4075
4075
  keys
4076
4076
  });
4077
4077
  const failed = response.receipts.filter(
@@ -4083,7 +4083,7 @@ Existing credential redactions and referenced-list previews remain as stored.
4083
4083
  JSON.stringify(response, null, 2) + "\n",
4084
4084
  { flag: "wx", mode: 384 }
4085
4085
  );
4086
- _chunkGONUMUBMjs.printCommandEnvelope.call(void 0,
4086
+ _chunkU7IJAGWBjs.printCommandEnvelope.call(void 0,
4087
4087
  {
4088
4088
  runId,
4089
4089
  out: options.out,
@@ -4093,7 +4093,7 @@ Existing credential redactions and referenced-list previews remain as stored.
4093
4093
  { json: true }
4094
4094
  );
4095
4095
  } else {
4096
- _chunkGONUMUBMjs.printCommandEnvelope.call(void 0, { ...response }, { json: true });
4096
+ _chunkU7IJAGWBjs.printCommandEnvelope.call(void 0, { ...response }, { json: true });
4097
4097
  }
4098
4098
  if (failed)
4099
4099
  process.exitCode = response.receipts.some(
@@ -4132,7 +4132,7 @@ includes nextCommand when another page is available.
4132
4132
  { exitCode: 2 }
4133
4133
  );
4134
4134
  }
4135
- const page = await new (0, _chunk2MKX3HV3js.DeeplineClient)().runs.children(parentRunId, {
4135
+ const page = await new (0, _chunk2AWYJXBXjs.DeeplineClient)().runs.children(parentRunId, {
4136
4136
  launchKey: options.launchKey,
4137
4137
  ...options.cursor !== void 0 ? { cursor: options.cursor } : {},
4138
4138
  limit
@@ -4147,7 +4147,7 @@ includes nextCommand when another page is available.
4147
4147
  "--limit",
4148
4148
  String(limit)
4149
4149
  ].join(" ") : null;
4150
- _chunkGONUMUBMjs.printCommandEnvelope.call(void 0,
4150
+ _chunkU7IJAGWBjs.printCommandEnvelope.call(void 0,
4151
4151
  {
4152
4152
  parentRunId,
4153
4153
  launchKey: options.launchKey,
@@ -4183,7 +4183,7 @@ async function handleRunsHistory(options) {
4183
4183
  throw new Error("--limit must be a positive integer.");
4184
4184
  }
4185
4185
  }
4186
- const page = await new (0, _chunk2MKX3HV3js.DeeplineClient)().runs.history({
4186
+ const page = await new (0, _chunk2AWYJXBXjs.DeeplineClient)().runs.history({
4187
4187
  cursor: options.cursor,
4188
4188
  orgId: options.org,
4189
4189
  search: options.search,
@@ -4199,7 +4199,7 @@ async function handleRunsHistory(options) {
4199
4199
  );
4200
4200
  }
4201
4201
  if (page.hasMore) lines.push(`Next cursor: ${page.nextCursor}`);
4202
- _chunkGONUMUBMjs.printCommandEnvelope.call(void 0,
4202
+ _chunkU7IJAGWBjs.printCommandEnvelope.call(void 0,
4203
4203
  { ...page, render: { sections: [{ title: "Run history", lines }] } },
4204
4204
  options.json ? { json: true } : {}
4205
4205
  );
@@ -4251,12 +4251,12 @@ async function runRunsRerunCommand(runId, options) {
4251
4251
  return 1;
4252
4252
  }
4253
4253
  }
4254
- const result = await new (0, _chunk2MKX3HV3js.DeeplineClient)().runs.rerun(runId, {
4254
+ const result = await new (0, _chunk2AWYJXBXjs.DeeplineClient)().runs.rerun(runId, {
4255
4255
  ...idempotencyKey === void 0 ? {} : { idempotencyKey },
4256
4256
  ...inputOverrides === void 0 ? {} : { inputOverrides }
4257
4257
  });
4258
- if (_chunkGONUMUBMjs.shouldEmitJson.call(void 0, options.json)) {
4259
- _chunkGONUMUBMjs.printCommandEnvelope.call(void 0, result, { json: true });
4258
+ if (_chunkU7IJAGWBjs.shouldEmitJson.call(void 0, options.json)) {
4259
+ _chunkU7IJAGWBjs.printCommandEnvelope.call(void 0, result, { json: true });
4260
4260
  } else if (result.rateLimited) {
4261
4261
  console.log(`
4262
4262
  ${result.rateLimited.message}`);
@@ -5080,13 +5080,13 @@ var RunDataset = class _RunDataset {
5080
5080
  const absolutePath = _path.resolve.call(void 0, outPath);
5081
5081
  _fs.writeFileSync.call(void 0,
5082
5082
  absolutePath,
5083
- `${JSON.stringify(_chunk7TKLISLMjs.orderRunExportJson.call(void 0, this.rows), null, 2)}
5083
+ `${JSON.stringify(_chunkDBJ62RAOjs.orderRunExportJson.call(void 0, this.rows), null, 2)}
5084
5084
  `,
5085
5085
  "utf-8"
5086
5086
  );
5087
5087
  return absolutePath;
5088
5088
  }
5089
- return _chunk7TKLISLMjs.writeRunDatasetCsv.call(void 0, {
5089
+ return _chunkDBJ62RAOjs.writeRunDatasetCsv.call(void 0, {
5090
5090
  rows: this.rows,
5091
5091
  columns: this.#info.columns,
5092
5092
  outPath
@@ -6783,7 +6783,7 @@ function renderOutcome(outcome) {
6783
6783
  function printResult2(input) {
6784
6784
  const failed = input.status === "failed" || input.status === "cancelled";
6785
6785
  if (failed) process.exitCode = 1;
6786
- _chunkGONUMUBMjs.printCommandEnvelope.call(void 0,
6786
+ _chunkU7IJAGWBjs.printCommandEnvelope.call(void 0,
6787
6787
  {
6788
6788
  deployment: { ...input.deployment, status: input.status },
6789
6789
  plays: input.outcomes,
@@ -6808,7 +6808,7 @@ async function handlePlaysDeploy(directory, options) {
6808
6808
  const root = await _promises.realpath.call(void 0, _path.resolve.call(void 0, _nullishCoalesce(directory, () => ( ".")))).catch(() => {
6809
6809
  throw new Error(`No such directory: ${_path.resolve.call(void 0, _nullishCoalesce(directory, () => ( ".")))}`);
6810
6810
  });
6811
- const { http, config } = _chunkGONUMUBMjs.getAuthedHttpClient.call(void 0, );
6811
+ const { http, config } = _chunkU7IJAGWBjs.getAuthedHttpClient.call(void 0, );
6812
6812
  const deliveryId = `local:${_crypto.randomUUID.call(void 0, )}`;
6813
6813
  const startDeployment = () => http.post("/api/v2/deployments", {
6814
6814
  deliveryId,
@@ -6835,7 +6835,7 @@ async function handlePlaysDeploy(directory, options) {
6835
6835
  },
6836
6836
  {
6837
6837
  bundle: bundleDeployPlayFile,
6838
- fetchImpl: _chunk75IIHFN6js.fetchWithDeploymentProtection,
6838
+ fetchImpl: _chunkUT4YMA2Njs.fetchWithDeploymentProtection,
6839
6839
  // The plays are already here: "opening" the source is naming it.
6840
6840
  openSource: async () => ({
6841
6841
  open: async () => ({ repoRoot: root })
@@ -6961,7 +6961,7 @@ async function checkLocalPlayGraph(input) {
6961
6961
  // src/cli/renderers/local-play-execution.ts
6962
6962
  function renderLocalPlayExecutionPlan(plan, options = {}) {
6963
6963
  if (options.dryRun) {
6964
- _chunkGONUMUBMjs.printCommandEnvelope.call(void 0, { dryRun: true, ...plan }, { json: options.json });
6964
+ _chunkU7IJAGWBjs.printCommandEnvelope.call(void 0, { dryRun: true, ...plan }, { json: options.json });
6965
6965
  return;
6966
6966
  }
6967
6967
  process.stderr.write(`Local Play execution plan: ${JSON.stringify(plan)}
@@ -7133,7 +7133,7 @@ function traceCliSync(phase, fields2, run) {
7133
7133
  const startedAt = Date.now();
7134
7134
  try {
7135
7135
  const result = run();
7136
- _chunkQSYA6VE4js.recordCliTrace.call(void 0, {
7136
+ _chunkNW4QJE54js.recordCliTrace.call(void 0, {
7137
7137
  phase,
7138
7138
  ms: Date.now() - startedAt,
7139
7139
  ok: true,
@@ -7141,7 +7141,7 @@ function traceCliSync(phase, fields2, run) {
7141
7141
  });
7142
7142
  return result;
7143
7143
  } catch (error) {
7144
- _chunkQSYA6VE4js.recordCliTrace.call(void 0, {
7144
+ _chunkNW4QJE54js.recordCliTrace.call(void 0, {
7145
7145
  phase,
7146
7146
  ms: Date.now() - startedAt,
7147
7147
  ok: false,
@@ -7929,7 +7929,7 @@ function playStatusErrorText(status) {
7929
7929
  function isRetryablePendingStartFailure(status) {
7930
7930
  if (status.status !== "failed") return false;
7931
7931
  if (status.runId && status.runId !== "pending") return false;
7932
- return _chunkT5GZZJ7Ojs.isTransientPlayRunReadError.call(void 0, new Error(playStatusErrorText(status)));
7932
+ return _chunkFRD5WFT4js.isTransientPlayRunReadError.call(void 0, new Error(playStatusErrorText(status)));
7933
7933
  }
7934
7934
  function isAmbiguousPlayStartOutcomeError(error) {
7935
7935
  if (error instanceof _chunkDIAWYWT5js.DeeplineError && typeof error.statusCode === "number") {
@@ -7978,13 +7978,13 @@ var PlayStartOutcomeUnknownError = (_class = class extends _chunkDIAWYWT5js.Deep
7978
7978
  }, _class);
7979
7979
  function watchSurfaceReaches(state, provenance, level) {
7980
7980
  const minimumLevel = _nullishCoalesce(state.logLevel, () => ( (state.verbose ? "debug" : "info")));
7981
- if (!_chunkT5GZZJ7Ojs.logLevelReaches.call(void 0, level, minimumLevel)) {
7981
+ if (!_chunkFRD5WFT4js.logLevelReaches.call(void 0, level, minimumLevel)) {
7982
7982
  return false;
7983
7983
  }
7984
- if (_chunkT5GZZJ7Ojs.logProvenanceReaches.call(void 0, provenance, "watch")) {
7984
+ if (_chunkFRD5WFT4js.logProvenanceReaches.call(void 0, provenance, "watch")) {
7985
7985
  return true;
7986
7986
  }
7987
- return state.verbose === true && _chunkT5GZZJ7Ojs.logProvenanceReaches.call(void 0, provenance, "debug");
7987
+ return state.verbose === true && _chunkFRD5WFT4js.logProvenanceReaches.call(void 0, provenance, "debug");
7988
7988
  }
7989
7989
  function getEventPayload(event) {
7990
7990
  return event.payload && typeof event.payload === "object" ? event.payload : {};
@@ -8486,7 +8486,7 @@ function resolveRunPlayName(status, runId) {
8486
8486
  }
8487
8487
  function openPlayDashboard(dashboardUrl, open2) {
8488
8488
  if (open2 && dashboardUrl) {
8489
- _chunkGONUMUBMjs.openInBrowser.call(void 0, dashboardUrl);
8489
+ _chunkU7IJAGWBjs.openInBrowser.call(void 0, dashboardUrl);
8490
8490
  }
8491
8491
  }
8492
8492
  function printPlayLogLines(input) {
@@ -8566,7 +8566,7 @@ async function waitForPlayCompletionByWatch(input) {
8566
8566
  ...input.fullJson === void 0 ? {} : { full: input.fullJson }
8567
8567
  });
8568
8568
  } catch (error) {
8569
- if (_chunkT5GZZJ7Ojs.isTransientPlayRunReadError.call(void 0, error) || isAdmittedRunVisibilityDelay(error)) {
8569
+ if (_chunkFRD5WFT4js.isTransientPlayRunReadError.call(void 0, error) || isAdmittedRunVisibilityDelay(error)) {
8570
8570
  return null;
8571
8571
  }
8572
8572
  throw error;
@@ -8646,9 +8646,9 @@ async function waitForPlayCompletionByWatch(input) {
8646
8646
  signal: controller.signal,
8647
8647
  deferLogs: !input.emitLogs,
8648
8648
  omitTerminalLogs: !input.emitLogs,
8649
- ..._chunkQSYA6VE4js.isCliTraceEnabled.call(void 0, ) ? {
8649
+ ..._chunkNW4QJE54js.isCliTraceEnabled.call(void 0, ) ? {
8650
8650
  onPoll: (observation) => {
8651
- _chunkQSYA6VE4js.recordCliTrace.call(void 0, {
8651
+ _chunkNW4QJE54js.recordCliTrace.call(void 0, {
8652
8652
  phase: "play_watch_poll",
8653
8653
  workflowId: input.workflowId,
8654
8654
  ms: observation.durationMs,
@@ -8662,7 +8662,7 @@ async function waitForPlayCompletionByWatch(input) {
8662
8662
  full: input.fullJson,
8663
8663
  billing: false,
8664
8664
  onStatus: async (status) => {
8665
- _chunkQSYA6VE4js.recordCliTrace.call(void 0, {
8665
+ _chunkNW4QJE54js.recordCliTrace.call(void 0, {
8666
8666
  phase: "play_watch_terminal_status",
8667
8667
  workflowId: input.workflowId,
8668
8668
  full: input.fullJson === true
@@ -8732,7 +8732,7 @@ async function startAndWaitForPlayCompletion(input) {
8732
8732
  });
8733
8733
  } catch (error) {
8734
8734
  if (!(error instanceof _chunkGVAENVIGjs.CliPlayAdmissionUnsupportedError)) throw error;
8735
- await _chunkPHDEQ6W3js.checkPlayRunCompatibility.call(void 0,
8735
+ await _chunkKA2LNIUPjs.checkPlayRunCompatibility.call(void 0,
8736
8736
  input.client.baseUrl,
8737
8737
  input.maintenancePolicy
8738
8738
  );
@@ -8780,7 +8780,7 @@ async function startAndWaitForPlayCompletion(input) {
8780
8780
  }
8781
8781
  openPlayDashboard(dashboardUrl, _nullishCoalesce(input.open, () => ( false)));
8782
8782
  input.progress.phase("running");
8783
- _chunkQSYA6VE4js.recordCliTrace.call(void 0, {
8783
+ _chunkNW4QJE54js.recordCliTrace.call(void 0, {
8784
8784
  phase: "cli.play_start_admitted",
8785
8785
  ms: Date.now() - startedAt,
8786
8786
  ok: true,
@@ -8797,7 +8797,7 @@ async function startAndWaitForPlayCompletion(input) {
8797
8797
  startedAt,
8798
8798
  waitTimeoutMs: input.waitTimeoutMs
8799
8799
  });
8800
- const initialStatus = _chunkT5GZZJ7Ojs.normalizePlayStatus.call(void 0, initialTerminal);
8800
+ const initialStatus = _chunkFRD5WFT4js.normalizePlayStatus.call(void 0, initialTerminal);
8801
8801
  const status2 = await resolvePlayRunOutputStatus({
8802
8802
  client: input.client,
8803
8803
  status: initialStatus,
@@ -8805,7 +8805,7 @@ async function startAndWaitForPlayCompletion(input) {
8805
8805
  jsonOutput: input.jsonOutput,
8806
8806
  fromDurableStatus: true
8807
8807
  });
8808
- _chunkQSYA6VE4js.recordCliTrace.call(void 0, {
8808
+ _chunkNW4QJE54js.recordCliTrace.call(void 0, {
8809
8809
  phase: "play_watch_terminal_status",
8810
8810
  workflowId,
8811
8811
  full: true,
@@ -8875,7 +8875,7 @@ async function startAndWaitForPlayCompletionByStream(input) {
8875
8875
  );
8876
8876
  } catch (error) {
8877
8877
  if (error instanceof _chunkGVAENVIGjs.CliPlayAdmissionUnsupportedError && input.cliAdmission) {
8878
- await _chunkPHDEQ6W3js.checkPlayRunCompatibility.call(void 0,
8878
+ await _chunkKA2LNIUPjs.checkPlayRunCompatibility.call(void 0,
8879
8879
  input.client.baseUrl,
8880
8880
  input.maintenancePolicy
8881
8881
  );
@@ -8911,7 +8911,7 @@ async function startAndWaitForPlayCompletionByStream(input) {
8911
8911
  `[play watch] start response was ambiguous; retrying the same caller intent (${error.message})`
8912
8912
  );
8913
8913
  }
8914
- _chunkQSYA6VE4js.recordCliTrace.call(void 0, {
8914
+ _chunkNW4QJE54js.recordCliTrace.call(void 0, {
8915
8915
  phase: "cli.play_start_stream_retry",
8916
8916
  ms: 0,
8917
8917
  ok: true,
@@ -8932,7 +8932,7 @@ async function startAndWaitForPlayCompletionByStream(input) {
8932
8932
  `[play watch] start failed before run id with a transient error; retrying (${playStatusErrorText(status)})`
8933
8933
  );
8934
8934
  }
8935
- _chunkQSYA6VE4js.recordCliTrace.call(void 0, {
8935
+ _chunkNW4QJE54js.recordCliTrace.call(void 0, {
8936
8936
  phase: "cli.play_start_stream_retry",
8937
8937
  ms: 0,
8938
8938
  ok: true,
@@ -8977,7 +8977,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
8977
8977
  if (launchConfirmed || !runId || runId === "pending") return;
8978
8978
  launchConfirmed = true;
8979
8979
  await _optionalChain([input, 'access', _312 => _312.onRunAdmitted, 'optionalCall', _313 => _313(runId)]);
8980
- _chunkQSYA6VE4js.recordCliTrace.call(void 0, {
8980
+ _chunkNW4QJE54js.recordCliTrace.call(void 0, {
8981
8981
  phase: "cli.play_start_admitted",
8982
8982
  ms: Date.now() - startedAt,
8983
8983
  ok: true,
@@ -9011,7 +9011,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
9011
9011
  full: input.fullJson
9012
9012
  });
9013
9013
  } catch (error) {
9014
- if (_chunkT5GZZJ7Ojs.isTransientPlayRunReadError.call(void 0, error)) {
9014
+ if (_chunkFRD5WFT4js.isTransientPlayRunReadError.call(void 0, error)) {
9015
9015
  return null;
9016
9016
  }
9017
9017
  throw error;
@@ -9160,7 +9160,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
9160
9160
  };
9161
9161
  }
9162
9162
  if (!canonicalTerminal) {
9163
- _chunkQSYA6VE4js.recordCliTrace.call(void 0, {
9163
+ _chunkNW4QJE54js.recordCliTrace.call(void 0, {
9164
9164
  phase: "cli.play_start_stream_stale_terminal_ignored",
9165
9165
  ms: Date.now() - startedAt,
9166
9166
  ok: true,
@@ -9181,14 +9181,14 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
9181
9181
  fromDurableStatus
9182
9182
  }) : canonicalTerminal;
9183
9183
  if (input.fullJson === true) {
9184
- _chunkQSYA6VE4js.recordCliTrace.call(void 0, {
9184
+ _chunkNW4QJE54js.recordCliTrace.call(void 0, {
9185
9185
  phase: "play_watch_terminal_status",
9186
9186
  workflowId: outputTerminal.runId || lastKnownWorkflowId || void 0,
9187
9187
  full: true,
9188
9188
  source: outputTerminal === canonicalTerminal ? fromDurableStatus ? "start_stream_durable" : "start_stream" : "durable_repair"
9189
9189
  });
9190
9190
  }
9191
- _chunkQSYA6VE4js.recordCliTrace.call(void 0, {
9191
+ _chunkNW4QJE54js.recordCliTrace.call(void 0, {
9192
9192
  phase: "cli.play_start_stream_terminal",
9193
9193
  ms: Date.now() - startedAt,
9194
9194
  ok: true,
@@ -9208,7 +9208,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
9208
9208
  clearTimeout(timeout);
9209
9209
  }
9210
9210
  controller.abort();
9211
- _chunkQSYA6VE4js.recordCliTrace.call(void 0, {
9211
+ _chunkNW4QJE54js.recordCliTrace.call(void 0, {
9212
9212
  phase: "cli.play_start_stream_handoff_to_tail",
9213
9213
  ms: Date.now() - startedAt,
9214
9214
  ok: true,
@@ -9239,7 +9239,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
9239
9239
  if (timedOut) {
9240
9240
  const terminal = await fetchKnownTerminalStatus();
9241
9241
  if (terminal) {
9242
- _chunkQSYA6VE4js.recordCliTrace.call(void 0, {
9242
+ _chunkNW4QJE54js.recordCliTrace.call(void 0, {
9243
9243
  phase: "cli.play_start_stream_timeout_status_reconcile",
9244
9244
  ms: Date.now() - startedAt,
9245
9245
  ok: true,
@@ -9259,7 +9259,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
9259
9259
  lastPhase
9260
9260
  });
9261
9261
  }
9262
- if (lastKnownWorkflowId && (terminalWindowExpired || _chunkT5GZZJ7Ojs.isTransientPlayRunReadError.call(void 0, error))) {
9262
+ if (lastKnownWorkflowId && (terminalWindowExpired || _chunkFRD5WFT4js.isTransientPlayRunReadError.call(void 0, error))) {
9263
9263
  if (timeout) {
9264
9264
  clearTimeout(timeout);
9265
9265
  }
@@ -9270,7 +9270,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
9270
9270
  `
9271
9271
  );
9272
9272
  }
9273
- _chunkQSYA6VE4js.recordCliTrace.call(void 0, {
9273
+ _chunkNW4QJE54js.recordCliTrace.call(void 0, {
9274
9274
  phase: "cli.play_start_stream_reconnect",
9275
9275
  ms: Date.now() - startedAt,
9276
9276
  ok: true,
@@ -9297,7 +9297,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
9297
9297
  });
9298
9298
  }
9299
9299
  if (!lastKnownWorkflowId && isAmbiguousPlayStartOutcomeError(error)) {
9300
- _chunkQSYA6VE4js.recordCliTrace.call(void 0, {
9300
+ _chunkNW4QJE54js.recordCliTrace.call(void 0, {
9301
9301
  phase: "cli.play_start_stream_transient_failure",
9302
9302
  ms: Date.now() - startedAt,
9303
9303
  ok: false,
@@ -9325,7 +9325,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
9325
9325
  `[play watch] start stream ended after run ${lastKnownWorkflowId}; reconnecting to canonical run stream`
9326
9326
  );
9327
9327
  }
9328
- _chunkQSYA6VE4js.recordCliTrace.call(void 0, {
9328
+ _chunkNW4QJE54js.recordCliTrace.call(void 0, {
9329
9329
  phase: "cli.play_start_stream_reconnect",
9330
9330
  ms: Date.now() - startedAt,
9331
9331
  ok: true,
@@ -9405,7 +9405,7 @@ var BULKY_RETURN_KEYS = /* @__PURE__ */ new Set([
9405
9405
  "logs"
9406
9406
  ]);
9407
9407
  function formatPlayLogLine(rawLine, state) {
9408
- const classified = _chunkT5GZZJ7Ojs.classifyLogLine.call(void 0, rawLine);
9408
+ const classified = _chunkFRD5WFT4js.classifyLogLine.call(void 0, rawLine);
9409
9409
  const line = classified.line;
9410
9410
  const timestampMatch = line.match(/^\[([^\]]+)\]\s*(.*)$/);
9411
9411
  const parsedTimestamp = _optionalChain([timestampMatch, 'optionalAccess', _335 => _335[1]]) ? new Date(timestampMatch[1]) : null;
@@ -9420,14 +9420,14 @@ function formatPlayLogLine(rawLine, state) {
9420
9420
  if (!state.verbose && isProviderRowWaitLogLine(line)) return null;
9421
9421
  const providerWait = formatProviderCapacityWaitLogLine(line);
9422
9422
  if (providerWait && !state.verbose) {
9423
- return _chunkT5GZZJ7Ojs.logLevelReaches.call(void 0, "warn", _nullishCoalesce(state.logLevel, () => ( "info"))) ? `${prefix}${providerWait}` : null;
9423
+ return _chunkFRD5WFT4js.logLevelReaches.call(void 0, "warn", _nullishCoalesce(state.logLevel, () => ( "info"))) ? `${prefix}${providerWait}` : null;
9424
9424
  }
9425
9425
  const mapProgress = formatMapProgressDiagnosticLogLine(line);
9426
9426
  if (mapProgress && !state.verbose) {
9427
- return _chunkT5GZZJ7Ojs.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info"))) ? `${prefix}${mapProgress}` : null;
9427
+ return _chunkFRD5WFT4js.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info"))) ? `${prefix}${mapProgress}` : null;
9428
9428
  }
9429
9429
  if (/\[worker\] picked up run\b/.test(message)) {
9430
- if (!_chunkT5GZZJ7Ojs.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info")))) {
9430
+ if (!_chunkFRD5WFT4js.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info")))) {
9431
9431
  return null;
9432
9432
  }
9433
9433
  if (state.emittedRunnerStarted) {
@@ -9440,7 +9440,7 @@ function formatPlayLogLine(rawLine, state) {
9440
9440
  /^Starting map over (\d+) items with (\d+) fields \(key: ([^;]+); (\d+) already satisfied; (\d+) pending\)$/
9441
9441
  );
9442
9442
  if (mapStart) {
9443
- if (!_chunkT5GZZJ7Ojs.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info")))) {
9443
+ if (!_chunkFRD5WFT4js.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info")))) {
9444
9444
  return null;
9445
9445
  }
9446
9446
  const [, rows, fields2, namespace, cached, pending] = mapStart;
@@ -9450,7 +9450,7 @@ function formatPlayLogLine(rawLine, state) {
9450
9450
  /^Map completed: (\d+) results \((\d+) executed, (\d+) already satisfied\)$/
9451
9451
  );
9452
9452
  if (mapDone) {
9453
- if (!_chunkT5GZZJ7Ojs.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info")))) {
9453
+ if (!_chunkFRD5WFT4js.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info")))) {
9454
9454
  return null;
9455
9455
  }
9456
9456
  const [, results, executed, cached] = mapDone;
@@ -10739,7 +10739,7 @@ function formatRecentRunLogLines(value) {
10739
10739
  (line) => typeof line === "string"
10740
10740
  );
10741
10741
  if (tail.length === 0) return [];
10742
- const shown = tail.map((line) => _chunkT5GZZJ7Ojs.classifyLogLine.call(void 0, line)).filter(
10742
+ const shown = tail.map((line) => _chunkFRD5WFT4js.classifyLogLine.call(void 0, line)).filter(
10743
10743
  (entry) => entry.level !== "debug" && !isProviderRowWaitLogLine(entry.line)
10744
10744
  ).slice(-8);
10745
10745
  const total = readNonNegativeInteger(logs.totalCount);
@@ -11034,11 +11034,11 @@ function buildPlayCompletionTextLines(status) {
11034
11034
  }
11035
11035
  function writePlayResult(status, jsonOutput, options) {
11036
11036
  const packaged = getPlayRunPackage(status);
11037
- if (status.package) _chunk7TKLISLMjs.recordPlayTermination.call(void 0, buildRunOverview(status).run);
11037
+ if (status.package) _chunkDBJ62RAOjs.recordPlayTermination.call(void 0, buildRunOverview(status).run);
11038
11038
  const hits = _nullishCoalesce(_optionalChain([options, 'optionalAccess', _418 => _418.hits]), () => ( null));
11039
11039
  if (jsonOutput) {
11040
11040
  const payload2 = _optionalChain([options, 'optionalAccess', _419 => _419.fullJson]) ? status.package ? buildRunOverview(status, status) : { ...buildRunLaunch(status), diagnostics: status } : buildRunLaunch(status);
11041
- _chunkGONUMUBMjs.printCommandEnvelope.call(void 0,
11041
+ _chunkU7IJAGWBjs.printCommandEnvelope.call(void 0,
11042
11042
  hits ? { ...payload2, hits } : payload2,
11043
11043
  { json: true, fields: _optionalChain([options, 'optionalAccess', _420 => _420.jsonFields]) }
11044
11044
  );
@@ -11054,7 +11054,7 @@ function writePlayResult(status, jsonOutput, options) {
11054
11054
  ...buildPlayCompletionTextLines(status),
11055
11055
  ...formatRunHitsLines(hits)
11056
11056
  ];
11057
- _chunkGONUMUBMjs.printCommandEnvelope.call(void 0, displayPackage, {
11057
+ _chunkU7IJAGWBjs.printCommandEnvelope.call(void 0, displayPackage, {
11058
11058
  json: false,
11059
11059
  text: `${lines2.join("\n")}
11060
11060
  `
@@ -11105,7 +11105,7 @@ function writePlayResult(status, jsonOutput, options) {
11105
11105
  lines.push(...buildBillingRollupTextLines(status));
11106
11106
  const compact = compactPlayStatus(status);
11107
11107
  const payload = _optionalChain([options, 'optionalAccess', _422 => _422.fullJson]) ? status : compact;
11108
- _chunkGONUMUBMjs.printCommandEnvelope.call(void 0,
11108
+ _chunkU7IJAGWBjs.printCommandEnvelope.call(void 0,
11109
11109
  {
11110
11110
  ...payload,
11111
11111
  render: {
@@ -11329,7 +11329,7 @@ async function fetchBackingDatasetRows(input) {
11329
11329
  }
11330
11330
  offset += page.rows.length;
11331
11331
  }
11332
- const withError = _chunk7TKLISLMjs.tableExportHasFailedRows.call(void 0,
11332
+ const withError = _chunkDBJ62RAOjs.tableExportHasFailedRows.call(void 0,
11333
11333
  sheetRows.filter(
11334
11334
  (row) => Boolean(row) && typeof row === "object" && !Array.isArray(row)
11335
11335
  )
@@ -11345,7 +11345,7 @@ async function fetchBackingDatasetRows(input) {
11345
11345
  return [
11346
11346
  withError ? {
11347
11347
  ...exported,
11348
- [_chunk7TKLISLMjs.TABLE_EXPORT_ERROR_COLUMN]: _chunk7TKLISLMjs.tableExportErrorCell.call(void 0,
11348
+ [_chunkDBJ62RAOjs.TABLE_EXPORT_ERROR_COLUMN]: _chunkDBJ62RAOjs.tableExportErrorCell.call(void 0,
11349
11349
  row
11350
11350
  )
11351
11351
  } : exported
@@ -11880,7 +11880,7 @@ function renderServerResultView(value) {
11880
11880
  function writeStartedPlayRun(input) {
11881
11881
  if (input.package && isPlayRunPackageValue(input.package)) {
11882
11882
  const run = input.package.run;
11883
- _chunk7TKLISLMjs.recordPlayTermination.call(void 0, {
11883
+ _chunkDBJ62RAOjs.recordPlayTermination.call(void 0, {
11884
11884
  id: run.id,
11885
11885
  status: run.status,
11886
11886
  finishedAt: run.finishedAt
@@ -11893,7 +11893,7 @@ function writeStartedPlayRun(input) {
11893
11893
  dashboardUrl: input.dashboardUrl,
11894
11894
  package: input.package
11895
11895
  };
11896
- _chunkGONUMUBMjs.printCommandEnvelope.call(void 0, buildRunLaunch(status), {
11896
+ _chunkU7IJAGWBjs.printCommandEnvelope.call(void 0, buildRunLaunch(status), {
11897
11897
  json: true,
11898
11898
  fields: input.jsonFields
11899
11899
  });
@@ -11915,7 +11915,7 @@ function writeStartedPlayRun(input) {
11915
11915
  input.progress.writeLine(output2, process.stdout);
11916
11916
  return;
11917
11917
  }
11918
- _chunkGONUMUBMjs.printCommandEnvelope.call(void 0, input.package, {
11918
+ _chunkU7IJAGWBjs.printCommandEnvelope.call(void 0, input.package, {
11919
11919
  json: false,
11920
11920
  text: `${output2}
11921
11921
  `
@@ -11944,7 +11944,7 @@ function writeStartedPlayRun(input) {
11944
11944
  ) ? [`Stop: deepline runs stop ${_chunkAID3OYVJjs.shellQuote.call(void 0, input.runId)}`] : []
11945
11945
  ];
11946
11946
  if (input.jsonOutput) {
11947
- _chunkGONUMUBMjs.printCommandEnvelope.call(void 0, payload, { json: true, fields: input.jsonFields });
11947
+ _chunkU7IJAGWBjs.printCommandEnvelope.call(void 0, payload, { json: true, fields: input.jsonFields });
11948
11948
  return;
11949
11949
  }
11950
11950
  if (input.dashboardUrl) {
@@ -11955,7 +11955,7 @@ function writeStartedPlayRun(input) {
11955
11955
  input.progress.writeLine(output, process.stdout);
11956
11956
  return;
11957
11957
  }
11958
- _chunkGONUMUBMjs.printCommandEnvelope.call(void 0,
11958
+ _chunkU7IJAGWBjs.printCommandEnvelope.call(void 0,
11959
11959
  {
11960
11960
  ...payload,
11961
11961
  render: { sections: [{ title: "play run", lines }] }
@@ -11965,7 +11965,7 @@ function writeStartedPlayRun(input) {
11965
11965
  );
11966
11966
  }
11967
11967
  function parsePlayCheckOptions(args) {
11968
- const selection = _chunkGONUMUBMjs.parseJsonFields.call(void 0, args, "check");
11968
+ const selection = _chunkU7IJAGWBjs.parseJsonFields.call(void 0, args, "check");
11969
11969
  args = selection.args;
11970
11970
  const target = args[0];
11971
11971
  if (!target || target.startsWith("-")) {
@@ -11977,7 +11977,7 @@ function parsePlayCheckOptions(args) {
11977
11977
  if (arg !== "--json" && arg !== "--full")
11978
11978
  throw new Error(`Unknown plays check option: ${arg}`);
11979
11979
  }
11980
- const jsonOutput = _chunkGONUMUBMjs.argsWantJson.call(void 0, args);
11980
+ const jsonOutput = _chunkU7IJAGWBjs.argsWantJson.call(void 0, args);
11981
11981
  return {
11982
11982
  target,
11983
11983
  jsonOutput,
@@ -12053,7 +12053,7 @@ ${PLAY_PUBLISH_USAGE}`
12053
12053
  useLatest,
12054
12054
  expectedArtifactHash,
12055
12055
  dryRun,
12056
- jsonOutput: _chunkGONUMUBMjs.argsWantJson.call(void 0, args)
12056
+ jsonOutput: _chunkU7IJAGWBjs.argsWantJson.call(void 0, args)
12057
12057
  };
12058
12058
  }
12059
12059
  var PLAY_SAVE_USAGE = "Usage: deepline plays save <play-file.ts> [--expected-artifact <hash>] [--dry-run] [--json]";
@@ -12094,7 +12094,7 @@ ${PLAY_SAVE_USAGE}`);
12094
12094
  target,
12095
12095
  expectedArtifactHash,
12096
12096
  dryRun,
12097
- jsonOutput: _chunkGONUMUBMjs.argsWantJson.call(void 0, args)
12097
+ jsonOutput: _chunkU7IJAGWBjs.argsWantJson.call(void 0, args)
12098
12098
  };
12099
12099
  }
12100
12100
  function printScheduledPlayCapacity(capacity) {
@@ -12305,7 +12305,7 @@ function printBundledRuntimeWarning(bundle) {
12305
12305
  async function handlePlayCheck(args) {
12306
12306
  const options = parsePlayCheckOptions(args);
12307
12307
  if (!isFileTarget(options.target)) {
12308
- const client = new (0, _chunk2MKX3HV3js.DeeplineClient)();
12308
+ const client = new (0, _chunk2AWYJXBXjs.DeeplineClient)();
12309
12309
  try {
12310
12310
  await assertCanonicalNamedPlayReference(client, options.target, {
12311
12311
  command: "check"
@@ -12334,7 +12334,7 @@ async function handlePlayCheck(args) {
12334
12334
  },
12335
12335
  ...options.full ? { diagnostics: { staticPipeline: _nullishCoalesce(play.staticPipeline, () => ( null)) } } : {}
12336
12336
  };
12337
- _chunkGONUMUBMjs.printCommandEnvelope.call(void 0, result, {
12337
+ _chunkU7IJAGWBjs.printCommandEnvelope.call(void 0, result, {
12338
12338
  json: options.jsonOutput,
12339
12339
  fields: options.jsonFields,
12340
12340
  text: renderPlayCheckOutput(result) + "\n"
@@ -12344,7 +12344,7 @@ async function handlePlayCheck(args) {
12344
12344
  const resolved = _path.resolve.call(void 0, options.target);
12345
12345
  const message = error instanceof Error && error.message ? error.message : `File not found: ${resolved}`;
12346
12346
  if (options.jsonOutput) {
12347
- _chunkGONUMUBMjs.printCommandEnvelope.call(void 0,
12347
+ _chunkU7IJAGWBjs.printCommandEnvelope.call(void 0,
12348
12348
  {
12349
12349
  kind: "play_check",
12350
12350
  checked: "named_contract",
@@ -12386,7 +12386,7 @@ async function handlePlayCheck(args) {
12386
12386
  detailsCommand: `deepline plays check ${_chunkAID3OYVJjs.shellQuote.call(void 0, options.target)} --full`,
12387
12387
  publishCommand: _optionalChain([primary, 'optionalAccess', _472 => _472.result, 'access', _473 => _473.artifactHash]) ? `deepline plays publish ${_chunkAID3OYVJjs.shellQuote.call(void 0, options.target)} --expected-artifact ${primary.result.artifactHash}` : void 0
12388
12388
  });
12389
- _chunkGONUMUBMjs.printCommandEnvelope.call(void 0, output, {
12389
+ _chunkU7IJAGWBjs.printCommandEnvelope.call(void 0, output, {
12390
12390
  json: options.jsonOutput,
12391
12391
  fields: options.jsonFields,
12392
12392
  text: renderPlayCheckOutput(output) + "\n"
@@ -12440,7 +12440,7 @@ async function checkOneExportedPlay(input) {
12440
12440
  }
12441
12441
  const playName = _nullishCoalesce(graph.root.playName, () => ( fallbackName));
12442
12442
  const authoringErrors = collectPlayGraphAuthoringErrors(graph);
12443
- const client = new (0, _chunk2MKX3HV3js.DeeplineClient)();
12443
+ const client = new (0, _chunk2AWYJXBXjs.DeeplineClient)();
12444
12444
  const integrationMode = resolveEvalIntegrationMode();
12445
12445
  const checked = await checkLocalPlayGraph({
12446
12446
  client,
@@ -12495,11 +12495,11 @@ async function handleFileBackedRun(options, hooks) {
12495
12495
  let client;
12496
12496
  let prefetchClient;
12497
12497
  let admissionCapability;
12498
- let cliAdmission = _chunkPHDEQ6W3js.usesInlinePlayAdmission.call(void 0,
12498
+ let cliAdmission = _chunkKA2LNIUPjs.usesInlinePlayAdmission.call(void 0,
12499
12499
  "plays run",
12500
12500
  process.argv.slice(2)
12501
12501
  );
12502
- const progress = _nullishCoalesce(_chunkDS455RPFjs.getActiveCliProgress.call(void 0, ), () => ( _chunkDS455RPFjs.createCliProgress.call(void 0, !options.jsonOutput)));
12502
+ const progress = _nullishCoalesce(_chunk5KNRQWHEjs.getActiveCliProgress.call(void 0, ), () => ( _chunk5KNRQWHEjs.createCliProgress.call(void 0, !options.jsonOutput)));
12503
12503
  const absolutePlayPath = _path.resolve.call(void 0, options.target.path);
12504
12504
  progress.phase("compiling play");
12505
12505
  const sourceCode = traceCliSync(
@@ -12515,9 +12515,9 @@ async function handleFileBackedRun(options, hooks) {
12515
12515
  return 1;
12516
12516
  }
12517
12517
  if (!options.dryRun && options.watch && cliAdmission && options.maxTotalCredits === null && !inputContainsLocalFilePath(runtimeInput)) {
12518
- const clientForPrefetch = new (0, _chunk2MKX3HV3js.DeeplineClient)(playRunClientOptions(options));
12518
+ const clientForPrefetch = new (0, _chunk2AWYJXBXjs.DeeplineClient)(playRunClientOptions(options));
12519
12519
  prefetchClient = clientForPrefetch;
12520
- admissionCapability = _chunkQSYA6VE4js.traceCliSpan.call(void 0,
12520
+ admissionCapability = _chunkNW4QJE54js.traceCliSpan.call(void 0,
12521
12521
  "cli.play_admission_capability_prefetch",
12522
12522
  { targetKind: "file" },
12523
12523
  () => clientForPrefetch.prefetchPlayRunAdmissionCapability()
@@ -12526,7 +12526,7 @@ async function handleFileBackedRun(options, hooks) {
12526
12526
  }
12527
12527
  let graph;
12528
12528
  try {
12529
- graph = await _chunkQSYA6VE4js.traceCliSpan.call(void 0,
12529
+ graph = await _chunkNW4QJE54js.traceCliSpan.call(void 0,
12530
12530
  "cli.play_file_bundle_graph",
12531
12531
  { targetKind: "file" },
12532
12532
  () => collectBundledPlayGraph(
@@ -12540,14 +12540,14 @@ async function handleFileBackedRun(options, hooks) {
12540
12540
  if (options.dryRun) {
12541
12541
  progress.complete();
12542
12542
  renderLocalPlayExecutionPlan(
12543
- _chunk5JCXS4MPjs.planLocalPlayExecution.call(void 0, graph, { runIdFile: options.runIdFile }),
12543
+ _chunkC62NI2X6js.planLocalPlayExecution.call(void 0, graph, { runIdFile: options.runIdFile }),
12544
12544
  { dryRun: true, json: options.jsonOutput }
12545
12545
  );
12546
12546
  return 0;
12547
12547
  }
12548
- client = _nullishCoalesce(prefetchClient, () => ( new (0, _chunk2MKX3HV3js.DeeplineClient)(playRunClientOptions(options))));
12548
+ client = _nullishCoalesce(prefetchClient, () => ( new (0, _chunk2AWYJXBXjs.DeeplineClient)(playRunClientOptions(options))));
12549
12549
  if (cliAdmission && (graph.root.importedPlayDependencies.length > 0 || inputContainsLocalFilePath(runtimeInput))) {
12550
- await _chunkPHDEQ6W3js.checkPlayRunCompatibility.call(void 0,
12550
+ await _chunkKA2LNIUPjs.checkPlayRunCompatibility.call(void 0,
12551
12551
  client.baseUrl,
12552
12552
  options.maintenancePolicy
12553
12553
  );
@@ -12560,7 +12560,7 @@ async function handleFileBackedRun(options, hooks) {
12560
12560
  });
12561
12561
  const canDeferCompilerManifest = graph.root.importedPlayDependencies.length === 0 && !sourceGraphMentionsRunPlay(graph.root) && !inputContainsLocalFilePath(runtimeInput);
12562
12562
  if (canDeferCompilerManifest) {
12563
- _chunkQSYA6VE4js.recordCliTrace.call(void 0, {
12563
+ _chunkNW4QJE54js.recordCliTrace.call(void 0, {
12564
12564
  phase: "cli.play_file_compile_manifests",
12565
12565
  ms: 0,
12566
12566
  ok: true,
@@ -12569,7 +12569,7 @@ async function handleFileBackedRun(options, hooks) {
12569
12569
  reason: "validated_by_run_route"
12570
12570
  });
12571
12571
  } else {
12572
- await _chunkQSYA6VE4js.traceCliSpan.call(void 0,
12572
+ await _chunkNW4QJE54js.traceCliSpan.call(void 0,
12573
12573
  "cli.play_file_compile_manifests",
12574
12574
  { targetKind: "file", skipped: false },
12575
12575
  () => compileBundledPlayGraphManifests(client, graph)
@@ -12590,13 +12590,13 @@ async function handleFileBackedRun(options, hooks) {
12590
12590
  if (bundleResult.importedPlayDependencies.length > 0) {
12591
12591
  try {
12592
12592
  renderLocalPlayExecutionPlan(
12593
- _chunk5JCXS4MPjs.planLocalPlayExecution.call(void 0, graph, { runIdFile: options.runIdFile })
12593
+ _chunkC62NI2X6js.planLocalPlayExecution.call(void 0, graph, { runIdFile: options.runIdFile })
12594
12594
  );
12595
12595
  progress.phase("pinning imported plays");
12596
- graph = await _chunkQSYA6VE4js.traceCliSpan.call(void 0,
12596
+ graph = await _chunkNW4QJE54js.traceCliSpan.call(void 0,
12597
12597
  "cli.play_file_pin_imports",
12598
12598
  { targetKind: "file" },
12599
- () => _chunk5JCXS4MPjs.pinLocalPlayImports.call(void 0, client, graph)
12599
+ () => _chunkC62NI2X6js.pinLocalPlayImports.call(void 0, client, graph)
12600
12600
  );
12601
12601
  bundleResult = graph.root;
12602
12602
  } catch (error) {
@@ -12612,7 +12612,7 @@ async function handleFileBackedRun(options, hooks) {
12612
12612
  const fileInputBindings = _chunkGVAENVIGjs.fileInputBindingsFromStaticPipeline.call(void 0,
12613
12613
  _optionalChain([compilerManifest, 'optionalAccess', _482 => _482.staticPipeline])
12614
12614
  );
12615
- const stagedFileInputs = await _chunkQSYA6VE4js.traceCliSpan.call(void 0,
12615
+ const stagedFileInputs = await _chunkNW4QJE54js.traceCliSpan.call(void 0,
12616
12616
  "cli.play_stage_inputs",
12617
12617
  {
12618
12618
  targetKind: "file",
@@ -12659,7 +12659,7 @@ async function handleFileBackedRun(options, hooks) {
12659
12659
  };
12660
12660
  if (options.watch) {
12661
12661
  progress.phase("starting run");
12662
- const finalStatus = await _chunkQSYA6VE4js.traceCliSpan.call(void 0,
12662
+ const finalStatus = await _chunkNW4QJE54js.traceCliSpan.call(void 0,
12663
12663
  "cli.play_start_watch",
12664
12664
  { targetKind: "file", playName },
12665
12665
  () => (options.runIdFile || cliAdmission ? startAndWaitForPlayCompletionByStream : startAndWaitForPlayCompletion)({
@@ -12720,7 +12720,7 @@ async function handleFileBackedRun(options, hooks) {
12720
12720
  return outputStatus.status === "completed" ? 0 : 1;
12721
12721
  }
12722
12722
  progress.phase("starting run");
12723
- const started = await _chunkQSYA6VE4js.traceCliSpan.call(void 0,
12723
+ const started = await _chunkNW4QJE54js.traceCliSpan.call(void 0,
12724
12724
  "cli.play_start_unwatched",
12725
12725
  { targetKind: "file", playName },
12726
12726
  () => client.startPlayRun(startRequest, { onSubmission: _optionalChain([hooks, 'optionalAccess', _489 => _489.onSubmission]) }).catch(async (error) => {
@@ -12771,12 +12771,12 @@ async function handleNamedRun(options, hooks) {
12771
12771
  if (options.target.kind !== "name") {
12772
12772
  throw new Error("Expected a named play run target.");
12773
12773
  }
12774
- const client = new (0, _chunk2MKX3HV3js.DeeplineClient)(playRunClientOptions(options));
12775
- let cliAdmission = _chunkPHDEQ6W3js.usesInlinePlayAdmission.call(void 0,
12774
+ const client = new (0, _chunk2AWYJXBXjs.DeeplineClient)(playRunClientOptions(options));
12775
+ let cliAdmission = _chunkKA2LNIUPjs.usesInlinePlayAdmission.call(void 0,
12776
12776
  "plays run",
12777
12777
  process.argv.slice(2)
12778
12778
  );
12779
- const progress = _nullishCoalesce(_chunkDS455RPFjs.getActiveCliProgress.call(void 0, ), () => ( _chunkDS455RPFjs.createCliProgress.call(void 0, !options.jsonOutput)));
12779
+ const progress = _nullishCoalesce(_chunk5KNRQWHEjs.getActiveCliProgress.call(void 0, ), () => ( _chunk5KNRQWHEjs.createCliProgress.call(void 0, !options.jsonOutput)));
12780
12780
  const playName = options.target.name;
12781
12781
  const runtimeInput = options.input ? { ...options.input } : {};
12782
12782
  try {
@@ -12791,7 +12791,7 @@ async function handleNamedRun(options, hooks) {
12791
12791
  });
12792
12792
  let admissionCapability;
12793
12793
  if (options.watch && cliAdmission && options.maxTotalCredits === null && !needsPlayDefinition && !inputContainsLocalFilePath(runtimeInput)) {
12794
- admissionCapability = _chunkQSYA6VE4js.traceCliSpan.call(void 0,
12794
+ admissionCapability = _chunkNW4QJE54js.traceCliSpan.call(void 0,
12795
12795
  "cli.play_admission_capability_prefetch",
12796
12796
  { targetKind: "name", playName },
12797
12797
  () => client.prefetchPlayRunAdmissionCapability()
@@ -12800,14 +12800,14 @@ async function handleNamedRun(options, hooks) {
12800
12800
  }
12801
12801
  const playDetail = needsPlayDefinition ? await (async () => {
12802
12802
  progress.phase("loading play definition");
12803
- return _chunkQSYA6VE4js.traceCliSpan.call(void 0,
12803
+ return _chunkNW4QJE54js.traceCliSpan.call(void 0,
12804
12804
  "cli.play_load_definition",
12805
12805
  { targetKind: "name", playName, skipped: false },
12806
12806
  () => assertCanonicalNamedPlayReference(client, playName, {
12807
12807
  command: "run"
12808
12808
  })
12809
12809
  );
12810
- })() : (_chunkQSYA6VE4js.recordCliTrace.call(void 0, {
12810
+ })() : (_chunkNW4QJE54js.recordCliTrace.call(void 0, {
12811
12811
  phase: "cli.play_load_definition",
12812
12812
  ms: 0,
12813
12813
  ok: true,
@@ -12816,7 +12816,7 @@ async function handleNamedRun(options, hooks) {
12816
12816
  skipped: true
12817
12817
  }), null);
12818
12818
  progress.phase("selecting revision");
12819
- const selectedRevisionId = await _chunkQSYA6VE4js.traceCliSpan.call(void 0,
12819
+ const selectedRevisionId = await _chunkNW4QJE54js.traceCliSpan.call(void 0,
12820
12820
  "cli.play_select_revision",
12821
12821
  {
12822
12822
  targetKind: "name",
@@ -12841,10 +12841,10 @@ async function handleNamedRun(options, hooks) {
12841
12841
  ..._chunkGVAENVIGjs.fileInputBindingsFromStaticPipeline.call(void 0, playDetail.play.staticPipeline)
12842
12842
  ] : [];
12843
12843
  if (cliAdmission && fileInputBindings.length > 0) {
12844
- await _chunkPHDEQ6W3js.checkPlayRunCompatibility.call(void 0, client.baseUrl, options.maintenancePolicy);
12844
+ await _chunkKA2LNIUPjs.checkPlayRunCompatibility.call(void 0, client.baseUrl, options.maintenancePolicy);
12845
12845
  cliAdmission = false;
12846
12846
  }
12847
- const stagedFileInputs = await _chunkQSYA6VE4js.traceCliSpan.call(void 0,
12847
+ const stagedFileInputs = await _chunkNW4QJE54js.traceCliSpan.call(void 0,
12848
12848
  "cli.play_stage_inputs",
12849
12849
  {
12850
12850
  targetKind: "name",
@@ -12888,7 +12888,7 @@ async function handleNamedRun(options, hooks) {
12888
12888
  });
12889
12889
  if (options.watch) {
12890
12890
  progress.phase("starting run");
12891
- const finalStatus = await _chunkQSYA6VE4js.traceCliSpan.call(void 0,
12891
+ const finalStatus = await _chunkNW4QJE54js.traceCliSpan.call(void 0,
12892
12892
  "cli.play_start_watch",
12893
12893
  { targetKind: "name", playName },
12894
12894
  () => (options.runIdFile || cliAdmission ? startAndWaitForPlayCompletionByStream : startAndWaitForPlayCompletion)({
@@ -12952,7 +12952,7 @@ async function handleNamedRun(options, hooks) {
12952
12952
  return outputStatus.status === "completed" ? 0 : 1;
12953
12953
  }
12954
12954
  progress.phase("starting run");
12955
- const started = await _chunkQSYA6VE4js.traceCliSpan.call(void 0,
12955
+ const started = await _chunkNW4QJE54js.traceCliSpan.call(void 0,
12956
12956
  "cli.play_start_unwatched",
12957
12957
  { targetKind: "name", playName },
12958
12958
  () => client.startPlayRun(startRequest, { onSubmission: _optionalChain([hooks, 'optionalAccess', _502 => _502.onSubmission]) }).catch(async (error) => {
@@ -12997,7 +12997,7 @@ async function writePlayRunReceipt(client, status, output) {
12997
12997
  const next = { status: `deepline runs get ${status.runId}` };
12998
12998
  const playName = _nullishCoalesce(_nullishCoalesce(_optionalChain([/^play\/(.+)\/run\//, 'access', _510 => _510.exec, 'call', _511 => _511(status.runId), 'optionalAccess', _512 => _512[1]]), () => ( extractRunPlayName(status))), () => ( null));
12999
12999
  if (!terminal) {
13000
- _chunk7TKLISLMjs.writeExecutionOutput.call(void 0,
13000
+ _chunkDBJ62RAOjs.writeExecutionOutput.call(void 0,
13001
13001
  { id: status.runId, status: status.status, next },
13002
13002
  output
13003
13003
  );
@@ -13072,10 +13072,10 @@ async function writePlayRunReceipt(client, status, output) {
13072
13072
  };
13073
13073
  }
13074
13074
  const byRows = new Map(collections.map((c) => [c.rows, c]));
13075
- const allCollections = _chunk7TKLISLMjs.outputCollections.call(void 0, data).map(
13075
+ const allCollections = _chunkDBJ62RAOjs.outputCollections.call(void 0, data).map(
13076
13076
  (collection) => _nullishCoalesce(byRows.get(collection.rows), () => ( collection))
13077
13077
  );
13078
- _chunk7TKLISLMjs.writeExecutionOutput.call(void 0,
13078
+ _chunkDBJ62RAOjs.writeExecutionOutput.call(void 0,
13079
13079
  {
13080
13080
  id: status.runId,
13081
13081
  status: status.status,
@@ -13096,7 +13096,7 @@ async function writePlayRunReceipt(client, status, output) {
13096
13096
  }
13097
13097
  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;
13098
13098
  async function handlePlayRun(args, hooks) {
13099
- const parsedOptions = Array.isArray(args) ? _chunk5ICAG4REjs.parsePlayRunOptions.call(void 0, args) : args;
13099
+ const parsedOptions = Array.isArray(args) ? _chunkVEVGM6B5js.parsePlayRunOptions.call(void 0, args) : args;
13100
13100
  const options = parsedOptions.runIdFile ? {
13101
13101
  ...parsedOptions,
13102
13102
  runIdFile: parsedOptions.dryRun ? _path.resolve.call(void 0, parsedOptions.runIdFile) : await preflightRunIdFile(parsedOptions.runIdFile)
@@ -13113,7 +13113,7 @@ async function handlePlayRun(args, hooks) {
13113
13113
  JSON.stringify({
13114
13114
  version: 1,
13115
13115
  admissionState: "submitted_unknown",
13116
- baseUrl: new (0, _chunk2MKX3HV3js.DeeplineClient)().baseUrl,
13116
+ baseUrl: new (0, _chunk2AWYJXBXjs.DeeplineClient)().baseUrl,
13117
13117
  ...intent
13118
13118
  })
13119
13119
  );
@@ -13342,7 +13342,7 @@ function renderRunOverviewText(overview, extras = {}) {
13342
13342
  );
13343
13343
  return `${lines.join("\n")}
13344
13344
 
13345
- ${_chunkGONUMUBMjs.renderCommandEnvelopeText.call(void 0, { render: { sections, actions: actions2 } })}`;
13345
+ ${_chunkU7IJAGWBjs.renderCommandEnvelopeText.call(void 0, { render: { sections, actions: actions2 } })}`;
13346
13346
  }
13347
13347
  var RUN_READ_TIMING_PROGRESS_INTERVAL_MS = 15e3;
13348
13348
  async function withRunReadTiming(command, stage, enabled, action) {
@@ -13366,7 +13366,7 @@ async function withRunReadTiming(command, stage, enabled, action) {
13366
13366
  }
13367
13367
  }
13368
13368
  async function handleRunGet(args) {
13369
- const selection = _chunkGONUMUBMjs.parseJsonFields.call(void 0,
13369
+ const selection = _chunkU7IJAGWBjs.parseJsonFields.call(void 0,
13370
13370
  args,
13371
13371
  args.includes("--config") ? "config" : "get"
13372
13372
  );
@@ -13379,7 +13379,7 @@ async function handleRunGet(args) {
13379
13379
  console.error(error instanceof Error ? error.message : usage2);
13380
13380
  return 1;
13381
13381
  }
13382
- const client = new (0, _chunk2MKX3HV3js.DeeplineClient)();
13382
+ const client = new (0, _chunk2AWYJXBXjs.DeeplineClient)();
13383
13383
  const timing = args.includes("--timing");
13384
13384
  if (args.includes("--web-url")) {
13385
13385
  const status2 = await withRunReadTiming(
@@ -13394,7 +13394,7 @@ async function handleRunGet(args) {
13394
13394
  return 1;
13395
13395
  }
13396
13396
  const dashboardUrl2 = _chunkIAYSWZDJjs.buildPlayDashboardUrl.call(void 0, client.baseUrl, playName2);
13397
- _chunkGONUMUBMjs.printCommandEnvelope.call(void 0,
13397
+ _chunkU7IJAGWBjs.printCommandEnvelope.call(void 0,
13398
13398
  { dashboardUrl: dashboardUrl2 },
13399
13399
  { json: args.includes("--json"), text: `${dashboardUrl2}
13400
13400
  ` }
@@ -13419,7 +13419,7 @@ async function handleRunGet(args) {
13419
13419
  "This server does not support recorded configuration reads."
13420
13420
  );
13421
13421
  }
13422
- _chunkGONUMUBMjs.printCommandEnvelope.call(void 0,
13422
+ _chunkU7IJAGWBjs.printCommandEnvelope.call(void 0,
13423
13423
  { runId, contract: _nullishCoalesce(status2.contract, () => ( null)) },
13424
13424
  { json: true, fields: selection.fields }
13425
13425
  );
@@ -13432,7 +13432,7 @@ async function handleRunGet(args) {
13432
13432
  timing,
13433
13433
  () => client.getRunInput(runId)
13434
13434
  );
13435
- _chunkGONUMUBMjs.printCommandEnvelope.call(void 0, input, { json: true });
13435
+ _chunkU7IJAGWBjs.printCommandEnvelope.call(void 0, input, { json: true });
13436
13436
  return 0;
13437
13437
  }
13438
13438
  const full = args.includes("--full");
@@ -13445,7 +13445,7 @@ async function handleRunGet(args) {
13445
13445
  failedLogs: args.includes("--log-failed")
13446
13446
  })
13447
13447
  );
13448
- if (status.package) _chunk7TKLISLMjs.recordPlayTermination.call(void 0, buildRunOverview(status).run);
13448
+ if (status.package) _chunkDBJ62RAOjs.recordPlayTermination.call(void 0, buildRunOverview(status).run);
13449
13449
  if (!status.package) {
13450
13450
  const legacyStatus = full ? await withRunReadTiming(
13451
13451
  "runs get",
@@ -13458,8 +13458,8 @@ async function handleRunGet(args) {
13458
13458
  ) : status;
13459
13459
  const legacyPlayName = resolveRunPlayName(legacyStatus, runId);
13460
13460
  const legacyDashboardUrl = legacyPlayName ? _chunkIAYSWZDJjs.buildPlayDashboardUrl.call(void 0, client.baseUrl, legacyPlayName) : null;
13461
- if (_chunkGONUMUBMjs.argsWantJson.call(void 0, args)) {
13462
- _chunkGONUMUBMjs.printCommandEnvelope.call(void 0,
13461
+ if (_chunkU7IJAGWBjs.argsWantJson.call(void 0, args)) {
13462
+ _chunkU7IJAGWBjs.printCommandEnvelope.call(void 0,
13463
13463
  {
13464
13464
  ...full ? legacyStatus : compactPlayStatus(legacyStatus),
13465
13465
  ...legacyDashboardUrl ? { dashboardUrl: legacyDashboardUrl } : {}
@@ -13469,7 +13469,7 @@ async function handleRunGet(args) {
13469
13469
  } else {
13470
13470
  writePlayResult(legacyStatus, false, { fullJson: full });
13471
13471
  if (legacyDashboardUrl)
13472
- _chunkGONUMUBMjs.printCommandEnvelope.call(void 0,
13472
+ _chunkU7IJAGWBjs.printCommandEnvelope.call(void 0,
13473
13473
  { dashboardUrl: legacyDashboardUrl },
13474
13474
  { json: false, text: `play page: ${legacyDashboardUrl}
13475
13475
  ` }
@@ -13499,10 +13499,10 @@ async function handleRunGet(args) {
13499
13499
  )
13500
13500
  ]);
13501
13501
  const hitLines = formatRunHitsLines(hits);
13502
- const json = _chunkGONUMUBMjs.argsWantJson.call(void 0, args);
13502
+ const json = _chunkU7IJAGWBjs.argsWantJson.call(void 0, args);
13503
13503
  const playName = resolveRunPlayName(status, runId);
13504
13504
  const dashboardUrl = playName ? _chunkIAYSWZDJjs.buildPlayDashboardUrl.call(void 0, client.baseUrl, playName) : void 0;
13505
- _chunkGONUMUBMjs.printCommandEnvelope.call(void 0,
13505
+ _chunkU7IJAGWBjs.printCommandEnvelope.call(void 0,
13506
13506
  {
13507
13507
  ...overview,
13508
13508
  ...dashboardUrl ? { dashboardUrl } : {},
@@ -13606,9 +13606,9 @@ async function handleRunLifecycleStatus(args) {
13606
13606
  console.error(error instanceof Error ? error.message : usage2);
13607
13607
  return 1;
13608
13608
  }
13609
- const status = await new (0, _chunk2MKX3HV3js.DeeplineClient)().runs.status(runId);
13610
- if (_chunkGONUMUBMjs.argsWantJson.call(void 0, args)) {
13611
- _chunkGONUMUBMjs.printCommandEnvelope.call(void 0, status, { json: true });
13609
+ const status = await new (0, _chunk2AWYJXBXjs.DeeplineClient)().runs.status(runId);
13610
+ if (_chunkU7IJAGWBjs.argsWantJson.call(void 0, args)) {
13611
+ _chunkU7IJAGWBjs.printCommandEnvelope.call(void 0, status, { json: true });
13612
13612
  return 0;
13613
13613
  }
13614
13614
  if (!status.available) {
@@ -13648,7 +13648,7 @@ async function handleRunsRerun(args) {
13648
13648
  console.error(error instanceof Error ? error.message : usage2);
13649
13649
  return 1;
13650
13650
  }
13651
- const options = { json: _chunkGONUMUBMjs.argsWantJson.call(void 0, args) };
13651
+ const options = { json: _chunkU7IJAGWBjs.argsWantJson.call(void 0, args) };
13652
13652
  for (let index = 0; index < args.length; index += 1) {
13653
13653
  if (args[index] === "--idempotency-key") {
13654
13654
  options.idempotencyKey = _nullishCoalesce(args[++index], () => ( ""));
@@ -13714,8 +13714,8 @@ ${usage2}
13714
13714
  Discover Plays: ${next.discover}
13715
13715
  Active runs: ${next.running}`
13716
13716
  );
13717
- if (_chunkGONUMUBMjs.argsWantJson.call(void 0, args)) {
13718
- _chunkGONUMUBMjs.printCommandEnvelope.call(void 0,
13717
+ if (_chunkU7IJAGWBjs.argsWantJson.call(void 0, args)) {
13718
+ _chunkU7IJAGWBjs.printCommandEnvelope.call(void 0,
13719
13719
  { ok: false, exitCode: 1, code: "RUN_FILTER_REQUIRED", message, next },
13720
13720
  { json: true }
13721
13721
  );
@@ -13730,7 +13730,7 @@ Active runs: ${next.running}`
13730
13730
  console.error("--offset requires --play.");
13731
13731
  return 1;
13732
13732
  }
13733
- const client = new (0, _chunk2MKX3HV3js.DeeplineClient)();
13733
+ const client = new (0, _chunk2AWYJXBXjs.DeeplineClient)();
13734
13734
  const page = await withRunReadTiming(
13735
13735
  "runs list",
13736
13736
  "run inventory",
@@ -13797,14 +13797,14 @@ Active runs: ${next.running}`
13797
13797
  return lines2.join("\n");
13798
13798
  });
13799
13799
  const nextOffset = (_nullishCoalesce(_nullishCoalesce(page.offset, () => ( offset)), () => ( 0))) + runs.length;
13800
- 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}${_chunkGONUMUBMjs.argsWantJson.call(void 0, args) ? " --json" : ""}` : null;
13800
+ 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}${_chunkU7IJAGWBjs.argsWantJson.call(void 0, args) ? " --json" : ""}` : null;
13801
13801
  if (page.hasMore) {
13802
13802
  lines.push("List truncated \u2014 more runs match this filter.");
13803
13803
  lines.push(
13804
13804
  nextPage ? `Next page: ${nextPage}` : "Narrow with --play <play-name> to page through runs."
13805
13805
  );
13806
13806
  }
13807
- _chunkGONUMUBMjs.printCommandEnvelope.call(void 0,
13807
+ _chunkU7IJAGWBjs.printCommandEnvelope.call(void 0,
13808
13808
  {
13809
13809
  runs,
13810
13810
  count: runs.length,
@@ -13818,7 +13818,7 @@ Active runs: ${next.running}`
13818
13818
  },
13819
13819
  render: { sections: [{ title: "runs", lines }] }
13820
13820
  },
13821
- { json: _chunkGONUMUBMjs.argsWantJson.call(void 0, args) }
13821
+ { json: _chunkU7IJAGWBjs.argsWantJson.call(void 0, args) }
13822
13822
  );
13823
13823
  return 0;
13824
13824
  }
@@ -13848,7 +13848,7 @@ async function handleRunTail(args) {
13848
13848
  console.error("--log-level requires one of: debug, info, warn, error.");
13849
13849
  return 1;
13850
13850
  }
13851
- const parsed = _chunkT5GZZJ7Ojs.parseLogLevel.call(void 0, value);
13851
+ const parsed = _chunkFRD5WFT4js.parseLogLevel.call(void 0, value);
13852
13852
  if (!parsed) {
13853
13853
  console.error(
13854
13854
  `Unsupported --log-level ${JSON.stringify(value)}. Use debug, info, warn, or error.`
@@ -13886,9 +13886,9 @@ async function handleRunTail(args) {
13886
13886
  );
13887
13887
  return 1;
13888
13888
  }
13889
- const client = new (0, _chunk2MKX3HV3js.DeeplineClient)();
13889
+ const client = new (0, _chunk2AWYJXBXjs.DeeplineClient)();
13890
13890
  const jsonLines = args.includes("--jsonl");
13891
- const jsonOutput = !jsonLines && _chunkGONUMUBMjs.argsWantJson.call(void 0, args);
13891
+ const jsonOutput = !jsonLines && _chunkU7IJAGWBjs.argsWantJson.call(void 0, args);
13892
13892
  const compact = args.includes("--compact");
13893
13893
  const showLiveLogs = debug || hasExplicitLogLevel || !jsonOutput && !compact;
13894
13894
  const compactState = {
@@ -13969,7 +13969,7 @@ async function handleRunLogs(args) {
13969
13969
  ]);
13970
13970
  const cursorIndex = args.indexOf("--cursor");
13971
13971
  const cursorValue = cursorIndex >= 0 ? args[cursorIndex + 1] : void 0;
13972
- const continuesEventSearch = cursorIndex >= 0 && !(cursorValue && _chunkT5GZZJ7Ojs.isRunLogsCursor.call(void 0, cursorValue));
13972
+ const continuesEventSearch = cursorIndex >= 0 && !(cursorValue && _chunkFRD5WFT4js.isRunLogsCursor.call(void 0, cursorValue));
13973
13973
  if (!args[0] || args[0].startsWith("--") || continuesEventSearch || args.some((arg) => searchFlags.has(arg))) {
13974
13974
  return handleRunEventSearch(args);
13975
13975
  }
@@ -14003,7 +14003,7 @@ async function handleRunLogs(args) {
14003
14003
  console.error("--log-level requires one of: debug, info, warn, error.");
14004
14004
  return 1;
14005
14005
  }
14006
- const parsed = _chunkT5GZZJ7Ojs.parseLogLevel.call(void 0, value);
14006
+ const parsed = _chunkFRD5WFT4js.parseLogLevel.call(void 0, value);
14007
14007
  if (!parsed) {
14008
14008
  console.error(
14009
14009
  `Unsupported --log-level ${JSON.stringify(value)}. Use debug, info, warn, or error.`
@@ -14050,12 +14050,12 @@ async function handleRunLogs(args) {
14050
14050
  );
14051
14051
  return 1;
14052
14052
  }
14053
- const client = new (0, _chunk2MKX3HV3js.DeeplineClient)();
14053
+ const client = new (0, _chunk2AWYJXBXjs.DeeplineClient)();
14054
14054
  if (outPath) {
14055
14055
  const result2 = await client.runs.logs(runId, { all: true });
14056
- const logs = result2.entries.filter((line) => _chunkT5GZZJ7Ojs.logLevelReaches.call(void 0, _chunkT5GZZJ7Ojs.classifyLogLine.call(void 0, line).level, logLevel)).map((line) => _chunkT5GZZJ7Ojs.classifyLogLine.call(void 0, line).line);
14056
+ const logs = result2.entries.filter((line) => _chunkFRD5WFT4js.logLevelReaches.call(void 0, _chunkFRD5WFT4js.classifyLogLine.call(void 0, line).level, logLevel)).map((line) => _chunkFRD5WFT4js.classifyLogLine.call(void 0, line).line);
14057
14057
  _fs.writeFileSync.call(void 0, outPath, `${logs.join("\n")}${logs.length > 0 ? "\n" : ""}`);
14058
- _chunkGONUMUBMjs.printCommandEnvelope.call(void 0,
14058
+ _chunkU7IJAGWBjs.printCommandEnvelope.call(void 0,
14059
14059
  {
14060
14060
  runId: result2.runId,
14061
14061
  log_path: outPath,
@@ -14078,7 +14078,7 @@ async function handleRunLogs(args) {
14078
14078
  ]
14079
14079
  }
14080
14080
  },
14081
- { json: _chunkGONUMUBMjs.argsWantJson.call(void 0, args) }
14081
+ { json: _chunkU7IJAGWBjs.argsWantJson.call(void 0, args) }
14082
14082
  );
14083
14083
  return 0;
14084
14084
  }
@@ -14109,7 +14109,7 @@ async function handleRunLogs(args) {
14109
14109
  }
14110
14110
  };
14111
14111
  const text = buildRunLogsText(filteredResult);
14112
- _chunkGONUMUBMjs.printCommandEnvelope.call(void 0,
14112
+ _chunkU7IJAGWBjs.printCommandEnvelope.call(void 0,
14113
14113
  {
14114
14114
  runId: result.runId,
14115
14115
  totalCount: result.totalCount,
@@ -14133,7 +14133,7 @@ async function handleRunLogs(args) {
14133
14133
  render: { sections: [{ title: "run logs", lines: entries }] }
14134
14134
  },
14135
14135
  {
14136
- json: _chunkGONUMUBMjs.argsWantJson.call(void 0, args),
14136
+ json: _chunkU7IJAGWBjs.argsWantJson.call(void 0, args),
14137
14137
  text
14138
14138
  }
14139
14139
  );
@@ -14157,7 +14157,7 @@ function selectRunLogTailPage(result, logLevel, limit) {
14157
14157
  );
14158
14158
  }
14159
14159
  const matching = result.entries.map((line, index) => ({ line, seq: first + index })).filter(
14160
- (entry) => _chunkT5GZZJ7Ojs.logLevelReaches.call(void 0, _chunkT5GZZJ7Ojs.classifyLogLine.call(void 0, entry.line).level, logLevel)
14160
+ (entry) => _chunkFRD5WFT4js.logLevelReaches.call(void 0, _chunkFRD5WFT4js.classifyLogLine.call(void 0, entry.line).level, logLevel)
14161
14161
  );
14162
14162
  const selected = matching.slice(-limit);
14163
14163
  const olderMatchesExist = matching.length > selected.length;
@@ -14167,7 +14167,7 @@ function selectRunLogTailPage(result, logLevel, limit) {
14167
14167
  lastSequence: _nullishCoalesce(_optionalChain([selected, 'access', _544 => _544.at, 'call', _545 => _545(-1), 'optionalAccess', _546 => _546.seq]), () => ( null)),
14168
14168
  truncated: result.truncated || olderMatchesExist,
14169
14169
  hasMore: olderMatchesExist,
14170
- nextCursor: olderMatchesExist ? _chunkT5GZZJ7Ojs.encodeRunLogsCursor.call(void 0, selected[0].seq) : null
14170
+ nextCursor: olderMatchesExist ? _chunkFRD5WFT4js.encodeRunLogsCursor.call(void 0, selected[0].seq) : null
14171
14171
  };
14172
14172
  }
14173
14173
  async function handleRunEventSearch(args) {
@@ -14234,7 +14234,7 @@ ${usage2}`);
14234
14234
  namespace,
14235
14235
  ...backend ? { backend } : {}
14236
14236
  } : void 0;
14237
- const client = new (0, _chunk2MKX3HV3js.DeeplineClient)();
14237
+ const client = new (0, _chunk2AWYJXBXjs.DeeplineClient)();
14238
14238
  const result = await client.runs.searchEvents({
14239
14239
  ...runId ? { runId } : {},
14240
14240
  ...values["--since"] ? { since: values["--since"] } : {},
@@ -14306,7 +14306,7 @@ ${renderedDetails}` : ""}`;
14306
14306
  "--limit",
14307
14307
  String(limit)
14308
14308
  ].join(" ") : null;
14309
- _chunkGONUMUBMjs.printCommandEnvelope.call(void 0,
14309
+ _chunkU7IJAGWBjs.printCommandEnvelope.call(void 0,
14310
14310
  {
14311
14311
  events,
14312
14312
  nextCursor: result.nextCursor,
@@ -14317,14 +14317,14 @@ ${renderedDetails}` : ""}`;
14317
14317
  render: { sections: [{ title: "runtime events", lines }] }
14318
14318
  },
14319
14319
  {
14320
- json: _chunkGONUMUBMjs.argsWantJson.call(void 0, args),
14320
+ json: _chunkU7IJAGWBjs.argsWantJson.call(void 0, args),
14321
14321
  text: `${lines.join("\n")}${lines.length ? "\n" : ""}`
14322
14322
  }
14323
14323
  );
14324
14324
  return 0;
14325
14325
  }
14326
14326
  function buildRunLogsText(result) {
14327
- const lines = result.entries.map((line) => _chunkT5GZZJ7Ojs.classifyLogLine.call(void 0, line).line);
14327
+ const lines = result.entries.map((line) => _chunkFRD5WFT4js.classifyLogLine.call(void 0, line).line);
14328
14328
  if (result.warning) {
14329
14329
  if (lines.length > 0) lines.push("");
14330
14330
  lines.push(`warning: ${result.warning}`);
@@ -14358,7 +14358,7 @@ async function handleRunStop(args) {
14358
14358
  reason = args[++index];
14359
14359
  }
14360
14360
  }
14361
- const client = new (0, _chunk2MKX3HV3js.DeeplineClient)();
14361
+ const client = new (0, _chunk2AWYJXBXjs.DeeplineClient)();
14362
14362
  const result = await client.runs.stop(runId, { reason });
14363
14363
  const state = resolveRunStopState(result);
14364
14364
  const hitlCleanupIncomplete = state === "cancelling" && result.hitlCancellationPending === true;
@@ -14373,7 +14373,7 @@ async function handleRunStop(args) {
14373
14373
  ...result.hitlCancelledCount > 0 ? [`cancelled HITL waits: ${result.hitlCancelledCount}`] : [],
14374
14374
  `inspect: deepline runs get ${runId} --full`
14375
14375
  ];
14376
- _chunkGONUMUBMjs.printCommandEnvelope.call(void 0,
14376
+ _chunkU7IJAGWBjs.printCommandEnvelope.call(void 0,
14377
14377
  {
14378
14378
  ...cancelling,
14379
14379
  state,
@@ -14388,7 +14388,7 @@ async function handleRunStop(args) {
14388
14388
  ]
14389
14389
  }
14390
14390
  },
14391
- { json: _chunkGONUMUBMjs.argsWantJson.call(void 0, args) }
14391
+ { json: _chunkU7IJAGWBjs.argsWantJson.call(void 0, args) }
14392
14392
  );
14393
14393
  return 0;
14394
14394
  }
@@ -14405,7 +14405,7 @@ async function handleRunStop(args) {
14405
14405
  ];
14406
14406
  process.stderr.write(`${lines2.join("\n")}
14407
14407
  `);
14408
- _chunkGONUMUBMjs.printCommandEnvelope.call(void 0,
14408
+ _chunkU7IJAGWBjs.printCommandEnvelope.call(void 0,
14409
14409
  {
14410
14410
  ...result,
14411
14411
  render: {
@@ -14420,7 +14420,7 @@ async function handleRunStop(args) {
14420
14420
  ]
14421
14421
  }
14422
14422
  },
14423
- { json: _chunkGONUMUBMjs.argsWantJson.call(void 0, args) }
14423
+ { json: _chunkU7IJAGWBjs.argsWantJson.call(void 0, args) }
14424
14424
  );
14425
14425
  return 1;
14426
14426
  }
@@ -14431,12 +14431,12 @@ async function handleRunStop(args) {
14431
14431
  `warning: HITL cancellation or Slack card refresh is still pending; retry 'deepline runs stop ${runId}'`
14432
14432
  ] : []
14433
14433
  ];
14434
- _chunkGONUMUBMjs.printCommandEnvelope.call(void 0,
14434
+ _chunkU7IJAGWBjs.printCommandEnvelope.call(void 0,
14435
14435
  {
14436
14436
  ...result,
14437
14437
  render: { sections: [{ title: "run stop", lines }] }
14438
14438
  },
14439
- { json: _chunkGONUMUBMjs.argsWantJson.call(void 0, args) }
14439
+ { json: _chunkU7IJAGWBjs.argsWantJson.call(void 0, args) }
14440
14440
  );
14441
14441
  return 0;
14442
14442
  }
@@ -14486,18 +14486,18 @@ async function handleRunStopAll(args) {
14486
14486
  reason = args[++index];
14487
14487
  }
14488
14488
  }
14489
- const client = new (0, _chunk2MKX3HV3js.DeeplineClient)();
14489
+ const client = new (0, _chunk2AWYJXBXjs.DeeplineClient)();
14490
14490
  if (dryRun) {
14491
14491
  const result2 = await client.runs.stopAll({ dryRun: true, reason });
14492
14492
  const lines2 = buildStopAllDryRunTextLines(result2);
14493
- _chunkGONUMUBMjs.printCommandEnvelope.call(void 0,
14493
+ _chunkU7IJAGWBjs.printCommandEnvelope.call(void 0,
14494
14494
  {
14495
14495
  ...result2,
14496
14496
  render: {
14497
14497
  sections: [{ title: "workspace stop-all (dry run)", lines: lines2 }]
14498
14498
  }
14499
14499
  },
14500
- { json: _chunkGONUMUBMjs.argsWantJson.call(void 0, args), text: `${lines2.join("\n")}
14500
+ { json: _chunkU7IJAGWBjs.argsWantJson.call(void 0, args), text: `${lines2.join("\n")}
14501
14501
  ` }
14502
14502
  );
14503
14503
  return 0;
@@ -14510,17 +14510,17 @@ async function handleRunStopAll(args) {
14510
14510
  ...result.failed > 0 ? [`failed stops: ${result.failed}`] : [],
14511
14511
  ...result.skipped > 0 ? [`skipped: ${result.skipped}`] : []
14512
14512
  ];
14513
- _chunkGONUMUBMjs.printCommandEnvelope.call(void 0,
14513
+ _chunkU7IJAGWBjs.printCommandEnvelope.call(void 0,
14514
14514
  {
14515
14515
  ...result,
14516
14516
  render: { sections: [{ title: "workspace stop-all", lines }] }
14517
14517
  },
14518
- { json: _chunkGONUMUBMjs.argsWantJson.call(void 0, args) }
14518
+ { json: _chunkU7IJAGWBjs.argsWantJson.call(void 0, args) }
14519
14519
  );
14520
14520
  return result.failed > 0 || result.partial ? 1 : 0;
14521
14521
  }
14522
14522
  async function handleRunExport(args) {
14523
- const selection = _chunkGONUMUBMjs.parseJsonFields.call(void 0, args, "export");
14523
+ const selection = _chunkU7IJAGWBjs.parseJsonFields.call(void 0, args, "export");
14524
14524
  args = selection.args;
14525
14525
  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]";
14526
14526
  let runId;
@@ -14591,17 +14591,17 @@ async function handleRunExport(args) {
14591
14591
  "INVALID_ARGUMENT"
14592
14592
  );
14593
14593
  }
14594
- const client = new (0, _chunk2MKX3HV3js.DeeplineClient)();
14594
+ const client = new (0, _chunk2AWYJXBXjs.DeeplineClient)();
14595
14595
  let status = await client.getPlayStatus(runId, { full: true });
14596
14596
  assertRunExportStatusIdentity(status, runId);
14597
14597
  if (wait && !TERMINAL_PLAY_STATUSES.has(status.status)) {
14598
- const progress = _chunkDS455RPFjs.createCliProgress.call(void 0, !_chunkGONUMUBMjs.argsWantJson.call(void 0, args));
14598
+ const progress = _chunk5KNRQWHEjs.createCliProgress.call(void 0, !_chunkU7IJAGWBjs.argsWantJson.call(void 0, args));
14599
14599
  try {
14600
14600
  await waitForPlayCompletionByWatch({
14601
14601
  client,
14602
14602
  playName: _nullishCoalesce(extractRunPlayName(status), () => ( runId)),
14603
14603
  workflowId: runId,
14604
- jsonOutput: _chunkGONUMUBMjs.argsWantJson.call(void 0, args),
14604
+ jsonOutput: _chunkU7IJAGWBjs.argsWantJson.call(void 0, args),
14605
14605
  emitLogs: false,
14606
14606
  waitTimeoutMs,
14607
14607
  startedAt: Date.now(),
@@ -14669,7 +14669,7 @@ async function handleRunExport(args) {
14669
14669
  rowCount: _nullishCoalesce(_optionalChain([exportResult, 'optionalAccess', _560 => _560.rowsInfo, 'access', _561 => _561.totalRows]), () => ( null)),
14670
14670
  ...exportedRowOutcomes ? { rowOutcomes: exportedRowOutcomes } : {},
14671
14671
  ...rowFailures ? { rowFailures } : {},
14672
- columns: _chunk7TKLISLMjs.underscoreKeysLast.call(void 0, _nullishCoalesce(_optionalChain([exportResult, 'optionalAccess', _562 => _562.rowsInfo, 'access', _563 => _563.columns]), () => ( []))),
14672
+ columns: _chunkDBJ62RAOjs.underscoreKeysLast.call(void 0, _nullishCoalesce(_optionalChain([exportResult, 'optionalAccess', _562 => _562.rowsInfo, 'access', _563 => _563.columns]), () => ( []))),
14673
14673
  ...currentTableNotice ? { notice: currentTableNotice } : {},
14674
14674
  ...metadataOutPath ? { metadata_path: metadataOutPath } : {},
14675
14675
  ...!TERMINAL_PLAY_STATUSES.has(status.status) ? { completionCommand: `${exportCommand} --wait` } : {}
@@ -14703,8 +14703,8 @@ async function handleRunExport(args) {
14703
14703
  "utf-8"
14704
14704
  );
14705
14705
  }
14706
- _chunkGONUMUBMjs.printCommandEnvelope.call(void 0, payload, {
14707
- json: _chunkGONUMUBMjs.argsWantJson.call(void 0, args),
14706
+ _chunkU7IJAGWBjs.printCommandEnvelope.call(void 0, payload, {
14707
+ json: _chunkU7IJAGWBjs.argsWantJson.call(void 0, args),
14708
14708
  fields: selection.fields,
14709
14709
  text: `${lines.join("\n")}
14710
14710
  `
@@ -14738,10 +14738,10 @@ async function handlePlayGet(args) {
14738
14738
  );
14739
14739
  return 2;
14740
14740
  }
14741
- const client = new (0, _chunk2MKX3HV3js.DeeplineClient)();
14741
+ const client = new (0, _chunk2AWYJXBXjs.DeeplineClient)();
14742
14742
  const explicitJson = args.includes("--json");
14743
14743
  const sourceOutput = args.includes("--source");
14744
- const jsonOutput = sourceOutput ? explicitJson : _chunkGONUMUBMjs.argsWantJson.call(void 0, args);
14744
+ const jsonOutput = sourceOutput ? explicitJson : _chunkU7IJAGWBjs.argsWantJson.call(void 0, args);
14745
14745
  const requestedRevisionFlags = [
14746
14746
  args.includes("--working"),
14747
14747
  args.includes("--live"),
@@ -14804,7 +14804,7 @@ async function handlePlayGet(args) {
14804
14804
  }
14805
14805
  const loadedMessage = materializedFile ? formatLoadedPlayMessage(materializedFile) : null;
14806
14806
  if (jsonOutput) {
14807
- _chunkGONUMUBMjs.printCompactJson.call(void 0, {
14807
+ _chunkU7IJAGWBjs.printCompactJson.call(void 0, {
14808
14808
  ...detail,
14809
14809
  ...materializedFile ? {
14810
14810
  message: loadedMessage,
@@ -14896,8 +14896,8 @@ async function handlePlayVersions(args) {
14896
14896
  console.error("Usage: deepline plays versions --name <name> [--json]");
14897
14897
  return 1;
14898
14898
  }
14899
- const client = new (0, _chunk2MKX3HV3js.DeeplineClient)();
14900
- const jsonOutput = _chunkGONUMUBMjs.argsWantJson.call(void 0, args);
14899
+ const client = new (0, _chunk2AWYJXBXjs.DeeplineClient)();
14900
+ const jsonOutput = _chunkU7IJAGWBjs.argsWantJson.call(void 0, args);
14901
14901
  await assertCanonicalNamedPlayReference(client, playName, {
14902
14902
  command: "versions"
14903
14903
  });
@@ -14905,7 +14905,7 @@ async function handlePlayVersions(args) {
14905
14905
  parseReferencedPlayTarget(playName).playName
14906
14906
  );
14907
14907
  if (jsonOutput) {
14908
- _chunkGONUMUBMjs.printCompactJson.call(void 0, { versions });
14908
+ _chunkU7IJAGWBjs.printCompactJson.call(void 0, { versions });
14909
14909
  return 0;
14910
14910
  }
14911
14911
  if (versions.length === 0) {
@@ -14948,8 +14948,8 @@ async function handlePlayCost(args) {
14948
14948
  console.error("Usage: deepline plays cost <play> [--json]");
14949
14949
  return 2;
14950
14950
  }
14951
- const result = await new (0, _chunk2MKX3HV3js.DeeplineClient)().getPlayCostEstimate(name);
14952
- if (_chunkGONUMUBMjs.argsWantJson.call(void 0, args)) console.log(JSON.stringify(result, null, 2));
14951
+ const result = await new (0, _chunk2AWYJXBXjs.DeeplineClient)().getPlayCostEstimate(name);
14952
+ if (_chunkU7IJAGWBjs.argsWantJson.call(void 0, args)) console.log(JSON.stringify(result, null, 2));
14953
14953
  else
14954
14954
  console.log(
14955
14955
  `${result.reference}: ${formatPlayCostEstimate(result.costEstimate)}`
@@ -14957,9 +14957,9 @@ async function handlePlayCost(args) {
14957
14957
  return 0;
14958
14958
  }
14959
14959
  async function handlePlayList(args) {
14960
- const jsonOutput = _chunkGONUMUBMjs.argsWantJson.call(void 0, args);
14960
+ const jsonOutput = _chunkU7IJAGWBjs.argsWantJson.call(void 0, args);
14961
14961
  const showCost = args.includes("--show-cost");
14962
- const client = new (0, _chunk2MKX3HV3js.DeeplineClient)();
14962
+ const client = new (0, _chunk2AWYJXBXjs.DeeplineClient)();
14963
14963
  const categoriesIndex = args.indexOf("--categories");
14964
14964
  const categories = categoriesIndex >= 0 ? _optionalChain([args, 'access', _583 => _583[categoriesIndex + 1], 'optionalAccess', _584 => _584.trim, 'call', _585 => _585()]) : void 0;
14965
14965
  const tags = args.flatMap((arg, index) => arg === "--tag" ? [args[index + 1]] : []).flatMap((value) => (_nullishCoalesce(value, () => ( ""))).split(",")).map((value) => value.trim()).filter(Boolean);
@@ -15057,7 +15057,7 @@ async function handlePlayList(args) {
15057
15057
  lines.push("List truncated \u2014 more plays are available.");
15058
15058
  lines.push(`Next page: ${nextPage}`);
15059
15059
  }
15060
- _chunkGONUMUBMjs.printCommandEnvelope.call(void 0,
15060
+ _chunkU7IJAGWBjs.printCommandEnvelope.call(void 0,
15061
15061
  {
15062
15062
  plays,
15063
15063
  count: plays.length,
@@ -15075,7 +15075,7 @@ async function handlePlayList(args) {
15075
15075
  }
15076
15076
  async function handlePlayPin(args, pinned) {
15077
15077
  const target = _optionalChain([args, 'access', _594 => _594.find, 'call', _595 => _595((arg) => !arg.startsWith("-")), 'optionalAccess', _596 => _596.trim, 'call', _597 => _597()]);
15078
- const jsonOutput = _chunkGONUMUBMjs.argsWantJson.call(void 0, args);
15078
+ const jsonOutput = _chunkU7IJAGWBjs.argsWantJson.call(void 0, args);
15079
15079
  const dryRun = args.includes("--dry-run");
15080
15080
  if (!target) {
15081
15081
  console.error(
@@ -15093,11 +15093,11 @@ async function handlePlayPin(args, pinned) {
15093
15093
  const name = parsedTarget.playName;
15094
15094
  const plan = { name, pinned, dryRun };
15095
15095
  if (dryRun) {
15096
- _chunkGONUMUBMjs.printCompactJson.call(void 0, plan);
15096
+ _chunkU7IJAGWBjs.printCompactJson.call(void 0, plan);
15097
15097
  return 0;
15098
15098
  }
15099
- const result = await new (0, _chunk2MKX3HV3js.DeeplineClient)().setPlayPinned(name, pinned);
15100
- if (jsonOutput) _chunkGONUMUBMjs.printCompactJson.call(void 0, result);
15099
+ const result = await new (0, _chunk2AWYJXBXjs.DeeplineClient)().setPlayPinned(name, pinned);
15100
+ if (jsonOutput) _chunkU7IJAGWBjs.printCompactJson.call(void 0, result);
15101
15101
  else console.log(`${result.pinned ? "Pinned" : "Unpinned"} ${result.name}.`);
15102
15102
  return 0;
15103
15103
  }
@@ -15223,12 +15223,12 @@ async function handlePlayGrep(args) {
15223
15223
  console.error("Usage: deepline plays grep <query> [--json]");
15224
15224
  return 1;
15225
15225
  }
15226
- const client = new (0, _chunk2MKX3HV3js.DeeplineClient)();
15226
+ const client = new (0, _chunk2AWYJXBXjs.DeeplineClient)();
15227
15227
  const results = (await client.listPlays({ grep: query })).map(
15228
15228
  summarizePlayGrepResult
15229
15229
  );
15230
- if (_chunkGONUMUBMjs.argsWantJson.call(void 0, args)) {
15231
- _chunkGONUMUBMjs.printCompactJson.call(void 0, {
15230
+ if (_chunkU7IJAGWBjs.argsWantJson.call(void 0, args)) {
15231
+ _chunkU7IJAGWBjs.printCompactJson.call(void 0, {
15232
15232
  plays: results,
15233
15233
  count: results.length,
15234
15234
  query,
@@ -15251,7 +15251,7 @@ async function handlePlayGrep(args) {
15251
15251
  return 0;
15252
15252
  }
15253
15253
  async function handlePlayDescribe(args) {
15254
- const selection = _chunkGONUMUBMjs.parseJsonFields.call(void 0, args, "describe");
15254
+ const selection = _chunkU7IJAGWBjs.parseJsonFields.call(void 0, args, "describe");
15255
15255
  args = selection.args;
15256
15256
  const playName = args[0];
15257
15257
  if (!playName) {
@@ -15285,8 +15285,8 @@ async function handlePlayDescribe(args) {
15285
15285
  `deepline plays check ${playName}`,
15286
15286
  ...definedName ? [`deepline describe <workspace>/${definedName}`] : []
15287
15287
  ];
15288
- if (_chunkGONUMUBMjs.argsWantJson.call(void 0, args)) {
15289
- _chunkGONUMUBMjs.printCompactJson.call(void 0, {
15288
+ if (_chunkU7IJAGWBjs.argsWantJson.call(void 0, args)) {
15289
+ _chunkU7IJAGWBjs.printCompactJson.call(void 0, {
15290
15290
  ok: false,
15291
15291
  error: { message },
15292
15292
  next
@@ -15300,7 +15300,7 @@ async function handlePlayDescribe(args) {
15300
15300
  }
15301
15301
  return 2;
15302
15302
  }
15303
- const client = new (0, _chunk2MKX3HV3js.DeeplineClient)();
15303
+ const client = new (0, _chunk2AWYJXBXjs.DeeplineClient)();
15304
15304
  await assertCanonicalNamedPlayReference(client, playName, {
15305
15305
  command: "describe"
15306
15306
  });
@@ -15310,9 +15310,9 @@ async function handlePlayDescribe(args) {
15310
15310
  compact: args.includes("--compact")
15311
15311
  }
15312
15312
  );
15313
- if (_chunkGONUMUBMjs.argsWantJson.call(void 0, args)) {
15314
- if (selection.fields) _chunkGONUMUBMjs.printJson.call(void 0, play, selection.fields);
15315
- else _chunkGONUMUBMjs.printCompactJson.call(void 0, play);
15313
+ if (_chunkU7IJAGWBjs.argsWantJson.call(void 0, args)) {
15314
+ if (selection.fields) _chunkU7IJAGWBjs.printJson.call(void 0, play, selection.fields);
15315
+ else _chunkU7IJAGWBjs.printCompactJson.call(void 0, play);
15316
15316
  return 0;
15317
15317
  }
15318
15318
  printPlayDescription(play);
@@ -15334,7 +15334,7 @@ async function handlePlaySave(args) {
15334
15334
  }
15335
15335
  let graph;
15336
15336
  try {
15337
- graph = await _chunkQSYA6VE4js.traceCliSpan.call(void 0,
15337
+ graph = await _chunkNW4QJE54js.traceCliSpan.call(void 0,
15338
15338
  "cli.play_save_bundle_graph",
15339
15339
  { targetKind: "file" },
15340
15340
  () => collectBundledPlayGraph(_path.resolve.call(void 0, options.target))
@@ -15356,7 +15356,7 @@ async function handlePlaySave(args) {
15356
15356
  next: `deepline plays check ${_chunkAID3OYVJjs.shellQuote.call(void 0, options.target)}`
15357
15357
  };
15358
15358
  if (options.jsonOutput) {
15359
- _chunkGONUMUBMjs.printCompactJson.call(void 0, result);
15359
+ _chunkU7IJAGWBjs.printCompactJson.call(void 0, result);
15360
15360
  } else {
15361
15361
  console.error(result.message);
15362
15362
  console.error(` checked artifact: ${result.expectedArtifactHash}`);
@@ -15378,7 +15378,7 @@ async function handlePlaySave(args) {
15378
15378
  };
15379
15379
  if (options.dryRun) {
15380
15380
  if (options.jsonOutput) {
15381
- _chunkGONUMUBMjs.printCompactJson.call(void 0, dryRun);
15381
+ _chunkU7IJAGWBjs.printCompactJson.call(void 0, dryRun);
15382
15382
  } else {
15383
15383
  console.log(`Dry run: ${playName}`);
15384
15384
  console.log(` source: ${dryRun.sourceHash}`);
@@ -15387,14 +15387,14 @@ async function handlePlaySave(args) {
15387
15387
  }
15388
15388
  return 0;
15389
15389
  }
15390
- const client = new (0, _chunk2MKX3HV3js.DeeplineClient)();
15390
+ const client = new (0, _chunk2AWYJXBXjs.DeeplineClient)();
15391
15391
  try {
15392
- await _chunkQSYA6VE4js.traceCliSpan.call(void 0,
15392
+ await _chunkNW4QJE54js.traceCliSpan.call(void 0,
15393
15393
  "cli.play_save_compile_manifests",
15394
15394
  { targetKind: "file", nodeCount: graph.nodes.size },
15395
15395
  () => compileBundledPlayGraphManifests(client, graph)
15396
15396
  );
15397
- const saved = await _chunkQSYA6VE4js.traceCliSpan.call(void 0,
15397
+ const saved = await _chunkNW4QJE54js.traceCliSpan.call(void 0,
15398
15398
  "cli.play_save_register_draft",
15399
15399
  { targetKind: "file", playName, artifactHash },
15400
15400
  () => client.registerPlayArtifact({
@@ -15423,7 +15423,7 @@ async function handlePlaySave(args) {
15423
15423
  }
15424
15424
  };
15425
15425
  if (options.jsonOutput) {
15426
- _chunkGONUMUBMjs.printCompactJson.call(void 0, result);
15426
+ _chunkU7IJAGWBjs.printCompactJson.call(void 0, result);
15427
15427
  } else {
15428
15428
  console.log(
15429
15429
  `\u2713 Saved ${playName} working draft as v${_nullishCoalesce(result.version, () => ( "?"))}`
@@ -15449,7 +15449,7 @@ async function handlePlayPublish(args) {
15449
15449
  }
15450
15450
  const { target: playName, useLatest } = options;
15451
15451
  let revisionId = options.revisionId;
15452
- const client = new (0, _chunk2MKX3HV3js.DeeplineClient)();
15452
+ const client = new (0, _chunk2AWYJXBXjs.DeeplineClient)();
15453
15453
  if (isFileTarget(playName)) {
15454
15454
  if (revisionId || useLatest) {
15455
15455
  console.error(
@@ -15459,7 +15459,7 @@ async function handlePlayPublish(args) {
15459
15459
  }
15460
15460
  let graph;
15461
15461
  try {
15462
- graph = await _chunkQSYA6VE4js.traceCliSpan.call(void 0,
15462
+ graph = await _chunkNW4QJE54js.traceCliSpan.call(void 0,
15463
15463
  "cli.play_publish_bundle_graph",
15464
15464
  { targetKind: "file" },
15465
15465
  () => collectBundledPlayGraph(_path.resolve.call(void 0, playName))
@@ -15481,7 +15481,7 @@ async function handlePlayPublish(args) {
15481
15481
  next: `deepline plays check ${_chunkAID3OYVJjs.shellQuote.call(void 0, playName)}`
15482
15482
  };
15483
15483
  if (options.jsonOutput) {
15484
- _chunkGONUMUBMjs.printCompactJson.call(void 0, result3);
15484
+ _chunkU7IJAGWBjs.printCompactJson.call(void 0, result3);
15485
15485
  } else {
15486
15486
  console.error(result3.message);
15487
15487
  console.error(` checked artifact: ${result3.expectedArtifactHash}`);
@@ -15504,7 +15504,7 @@ async function handlePlayPublish(args) {
15504
15504
  };
15505
15505
  if (options.dryRun) {
15506
15506
  if (options.jsonOutput) {
15507
- _chunkGONUMUBMjs.printCompactJson.call(void 0, dryRun);
15507
+ _chunkU7IJAGWBjs.printCompactJson.call(void 0, dryRun);
15508
15508
  } else {
15509
15509
  console.log(`Dry run: ${rootPlayName}`);
15510
15510
  console.log(` source: ${dryRun.sourceHash}`);
@@ -15523,12 +15523,12 @@ async function handlePlayPublish(args) {
15523
15523
  }
15524
15524
  }
15525
15525
  try {
15526
- await _chunkQSYA6VE4js.traceCliSpan.call(void 0,
15526
+ await _chunkNW4QJE54js.traceCliSpan.call(void 0,
15527
15527
  "cli.play_publish_compile_manifests",
15528
15528
  { targetKind: "file", nodeCount: graph.nodes.size },
15529
15529
  () => compileBundledPlayGraphManifests(client, graph)
15530
15530
  );
15531
- await _chunkQSYA6VE4js.traceCliSpan.call(void 0,
15531
+ await _chunkNW4QJE54js.traceCliSpan.call(void 0,
15532
15532
  "cli.play_publish_imports",
15533
15533
  { targetKind: "file", nodeCount: graph.nodes.size },
15534
15534
  () => publishImportedPlayDependencies(client, graph)
@@ -15537,7 +15537,7 @@ async function handlePlayPublish(args) {
15537
15537
  console.error(error instanceof Error ? error.message : String(error));
15538
15538
  return 1;
15539
15539
  }
15540
- const published = await _chunkQSYA6VE4js.traceCliSpan.call(void 0,
15540
+ const published = await _chunkNW4QJE54js.traceCliSpan.call(void 0,
15541
15541
  "cli.play_publish_register_root",
15542
15542
  {
15543
15543
  targetKind: "file",
@@ -15572,7 +15572,7 @@ async function handlePlayPublish(args) {
15572
15572
  triggerBindings: _nullishCoalesce(published.triggerBindings, () => ( []))
15573
15573
  };
15574
15574
  if (options.jsonOutput) {
15575
- _chunkGONUMUBMjs.printCompactJson.call(void 0, result2);
15575
+ _chunkU7IJAGWBjs.printCompactJson.call(void 0, result2);
15576
15576
  } else {
15577
15577
  printPublishReceipt({
15578
15578
  name: rootPlayName,
@@ -15603,7 +15603,7 @@ async function handlePlayPublish(args) {
15603
15603
  revisionId: _nullishCoalesce(revisionId, () => ( null)),
15604
15604
  latest: useLatest
15605
15605
  };
15606
- _chunkGONUMUBMjs.printCompactJson.call(void 0, result2);
15606
+ _chunkU7IJAGWBjs.printCompactJson.call(void 0, result2);
15607
15607
  return 0;
15608
15608
  }
15609
15609
  const resolvedName = parseReferencedPlayTarget(playName).playName;
@@ -15627,7 +15627,7 @@ async function handlePlayPublish(args) {
15627
15627
  revisionId ? { revisionId } : {}
15628
15628
  );
15629
15629
  if (options.jsonOutput) {
15630
- _chunkGONUMUBMjs.printCompactJson.call(void 0, result);
15630
+ _chunkU7IJAGWBjs.printCompactJson.call(void 0, result);
15631
15631
  } else {
15632
15632
  printPublishReceipt({
15633
15633
  name: result.name,
@@ -15667,7 +15667,7 @@ async function handlePlayDelete(args) {
15667
15667
  );
15668
15668
  return 2;
15669
15669
  }
15670
- const client = new (0, _chunk2MKX3HV3js.DeeplineClient)();
15670
+ const client = new (0, _chunk2AWYJXBXjs.DeeplineClient)();
15671
15671
  let detail;
15672
15672
  try {
15673
15673
  detail = await client.getPlay(parseReferencedPlayTarget(playName).playName);
@@ -15691,8 +15691,8 @@ async function handlePlayDelete(args) {
15691
15691
  name: resolvedName,
15692
15692
  plannedMutation: "move saved org-owned play to Trash and stop triggers"
15693
15693
  };
15694
- if (_chunkGONUMUBMjs.argsWantJson.call(void 0, args)) {
15695
- _chunkGONUMUBMjs.printCompactJson.call(void 0, result2);
15694
+ if (_chunkU7IJAGWBjs.argsWantJson.call(void 0, args)) {
15695
+ _chunkU7IJAGWBjs.printCompactJson.call(void 0, result2);
15696
15696
  } else {
15697
15697
  process.stdout.write(
15698
15698
  `Dry run: would move ${result2.name} to Trash and stop its active triggers.
@@ -15702,8 +15702,8 @@ async function handlePlayDelete(args) {
15702
15702
  return 0;
15703
15703
  }
15704
15704
  const result = await client.deletePlay(resolvedName);
15705
- if (_chunkGONUMUBMjs.argsWantJson.call(void 0, args)) {
15706
- _chunkGONUMUBMjs.printCompactJson.call(void 0, result);
15705
+ if (_chunkU7IJAGWBjs.argsWantJson.call(void 0, args)) {
15706
+ _chunkU7IJAGWBjs.printCompactJson.call(void 0, result);
15707
15707
  return result.archived || result.alreadyArchived ? 0 : 4;
15708
15708
  }
15709
15709
  if (result.alreadyArchived) {
@@ -15742,13 +15742,13 @@ async function handlePlayRestore(args) {
15742
15742
  );
15743
15743
  return 2;
15744
15744
  }
15745
- const client = new (0, _chunk2MKX3HV3js.DeeplineClient)();
15745
+ const client = new (0, _chunk2AWYJXBXjs.DeeplineClient)();
15746
15746
  try {
15747
15747
  const result = await client.restorePlay(
15748
15748
  parseReferencedPlayTarget(playName).playName
15749
15749
  );
15750
- if (_chunkGONUMUBMjs.argsWantJson.call(void 0, args)) {
15751
- _chunkGONUMUBMjs.printCompactJson.call(void 0, result);
15750
+ if (_chunkU7IJAGWBjs.argsWantJson.call(void 0, args)) {
15751
+ _chunkU7IJAGWBjs.printCompactJson.call(void 0, result);
15752
15752
  return result.restored || result.alreadyActive ? 0 : 4;
15753
15753
  }
15754
15754
  if (result.alreadyActive) {
@@ -15875,21 +15875,21 @@ Common commands:
15875
15875
  resume: `deepline plays resume-submission ${_chunkAID3OYVJjs.shellQuote.call(void 0, path)} --json`
15876
15876
  }
15877
15877
  };
15878
- _chunkGONUMUBMjs.printCommandEnvelope.call(void 0, result2, {
15878
+ _chunkU7IJAGWBjs.printCommandEnvelope.call(void 0, result2, {
15879
15879
  json: options.json,
15880
15880
  text: `Submission ${saved.workflowId}: admission is unknown. ${result2.next.inspect}
15881
15881
  `
15882
15882
  });
15883
15883
  return;
15884
15884
  }
15885
- const client = new (0, _chunk2MKX3HV3js.DeeplineClient)();
15885
+ const client = new (0, _chunk2AWYJXBXjs.DeeplineClient)();
15886
15886
  if (new URL(saved.baseUrl).origin !== new URL(client.baseUrl).origin) {
15887
15887
  throw new Error(
15888
15888
  "The submission belongs to a different API origin. Select its original host before recovery."
15889
15889
  );
15890
15890
  }
15891
15891
  const result = await client.startPlayRun(saved.request);
15892
- _chunkGONUMUBMjs.printCommandEnvelope.call(void 0,
15892
+ _chunkU7IJAGWBjs.printCommandEnvelope.call(void 0,
15893
15893
  { ...result },
15894
15894
  {
15895
15895
  json: options.json,
@@ -15925,7 +15925,7 @@ Examples:
15925
15925
  ).action(async (target, options) => {
15926
15926
  process.exitCode = await handlePlayCheck([
15927
15927
  target,
15928
- ..._chunkGONUMUBMjs.jsonFieldArgs.call(void 0, options.json),
15928
+ ..._chunkU7IJAGWBjs.jsonFieldArgs.call(void 0, options.json),
15929
15929
  ...options.full ? ["--full"] : []
15930
15930
  ]);
15931
15931
  });
@@ -15964,10 +15964,10 @@ Notes:
15964
15964
  --force-tool-refresh re-executes completed tool receipts and may repeat billed
15965
15965
  provider calls. It is independent from --force.
15966
15966
  --max-concurrent-external-calls controls the per-run provider-tool/deepline.fetch
15967
- resident-work ceiling. Default: ${_chunk5ICAG4REjs.DEFAULT_MAX_CONCURRENT_EXTERNAL_CALLS}; accepted range: 1-${_chunk5ICAG4REjs.MAX_CONFIGURABLE_CONCURRENT_EXTERNAL_CALLS}.
15967
+ resident-work ceiling. Default: ${_chunkVEVGM6B5js.DEFAULT_MAX_CONCURRENT_EXTERNAL_CALLS}; accepted range: 1-${_chunkVEVGM6B5js.MAX_CONFIGURABLE_CONCURRENT_EXTERNAL_CALLS}.
15968
15968
  Provider pacing and sandbox memory limits still apply.
15969
15969
  --max-concurrent-rows sets the run-wide default and ceiling for live map row
15970
- resolvers. Accepted range: 1-${_chunk5ICAG4REjs.MAX_CONFIGURABLE_CONCURRENT_ROWS}. The runtime
15970
+ resolvers. Accepted range: 1-${_chunkVEVGM6B5js.MAX_CONFIGURABLE_CONCURRENT_ROWS}. The runtime
15971
15971
  may lower it when source-row size exceeds the active-row memory budget.
15972
15972
  --max-credits replaces the play's billing.maxCreditsPerRun for this run.
15973
15973
  Tool calls that would exceed it are denied.
@@ -16081,10 +16081,10 @@ Examples:
16081
16081
  "Refresh completed tool receipts; may repeat billed provider calls"
16082
16082
  ).option(
16083
16083
  "--max-concurrent-external-calls <count>",
16084
- `Concurrent provider-tool and deepline.fetch executions (${_chunk5ICAG4REjs.DEFAULT_MAX_CONCURRENT_EXTERNAL_CALLS} default, max ${_chunk5ICAG4REjs.MAX_CONFIGURABLE_CONCURRENT_EXTERNAL_CALLS})`
16084
+ `Concurrent provider-tool and deepline.fetch executions (${_chunkVEVGM6B5js.DEFAULT_MAX_CONCURRENT_EXTERNAL_CALLS} default, max ${_chunkVEVGM6B5js.MAX_CONFIGURABLE_CONCURRENT_EXTERNAL_CALLS})`
16085
16085
  ).option(
16086
16086
  "--max-concurrent-rows <count>",
16087
- `Run-wide dataset map row resolver ceiling (max ${_chunk5ICAG4REjs.MAX_CONFIGURABLE_CONCURRENT_ROWS})`
16087
+ `Run-wide dataset map row resolver ceiling (max ${_chunkVEVGM6B5js.MAX_CONFIGURABLE_CONCURRENT_ROWS})`
16088
16088
  ).option("--max-credits <credits>", "Deepline-credit cap for this run").option("--open", "Open the play page in a browser after the run starts").option(
16089
16089
  "--debug-map-latency",
16090
16090
  "Internal diagnostics: emit one aggregate latency profile per dataset map"
@@ -16129,14 +16129,14 @@ JSON field selection:
16129
16129
  passthroughArgs.shift();
16130
16130
  }
16131
16131
  const exitCode = await handlePlayRun(
16132
- _chunk5ICAG4REjs.resolvePlayRunCliOptions.call(void 0,
16132
+ _chunkVEVGM6B5js.resolvePlayRunCliOptions.call(void 0,
16133
16133
  _nullishCoalesce(effectiveTarget, () => ( void 0)),
16134
16134
  options,
16135
16135
  passthroughArgs,
16136
- _chunkQSYA6VE4js.resolveCliMaintenancePolicy.call(void 0, command.optsWithGlobals())
16136
+ _chunkNW4QJE54js.resolveCliMaintenancePolicy.call(void 0, command.optsWithGlobals())
16137
16137
  )
16138
16138
  );
16139
- _chunkQSYA6VE4js.recordCliTrace.call(void 0, {
16139
+ _chunkNW4QJE54js.recordCliTrace.call(void 0, {
16140
16140
  phase: "cli.play_command_exit",
16141
16141
  exitCode
16142
16142
  });
@@ -16185,9 +16185,9 @@ Examples:
16185
16185
  const limit = Number(options.historyLimit);
16186
16186
  if (!Number.isInteger(limit) || limit < 1 || limit > 30)
16187
16187
  throw new Error("--history-limit must be an integer from 1 to 30.");
16188
- const client = new (0, _chunk2MKX3HV3js.DeeplineClient)();
16188
+ const client = new (0, _chunk2AWYJXBXjs.DeeplineClient)();
16189
16189
  if (options.binding) {
16190
- _chunkGONUMUBMjs.printCompactJson.call(void 0,
16190
+ _chunkU7IJAGWBjs.printCompactJson.call(void 0,
16191
16191
  await client.getPlayTriggerHistory(options.binding, { limit })
16192
16192
  );
16193
16193
  return;
@@ -16195,7 +16195,7 @@ Examples:
16195
16195
  const result = await client.listPlayTriggerInventory({
16196
16196
  cursor: options.cursor
16197
16197
  });
16198
- _chunkGONUMUBMjs.printCompactJson.call(void 0, {
16198
+ _chunkU7IJAGWBjs.printCompactJson.call(void 0, {
16199
16199
  ...result,
16200
16200
  next: result.isDone ? null : `deepline plays triggers --cursor ${JSON.stringify(result.continueCursor)}`
16201
16201
  });
@@ -16254,7 +16254,7 @@ Examples:
16254
16254
  if (options.groupBy !== "kind" && options.groupBy !== "trigger_source") {
16255
16255
  throw new Error("--group-by must be kind or trigger_source.");
16256
16256
  }
16257
- const result = await new (0, _chunk2MKX3HV3js.DeeplineClient)().getPlaysActivity({
16257
+ const result = await new (0, _chunk2AWYJXBXjs.DeeplineClient)().getPlaysActivity({
16258
16258
  timeZone: options.timeZone,
16259
16259
  days,
16260
16260
  ...options.endDate ? { endDate: options.endDate } : {},
@@ -16268,7 +16268,7 @@ Examples:
16268
16268
  `${bucket.key} ${groups} failed_play_runs=${bucket.failedPlayRuns} ${coverage}`
16269
16269
  );
16270
16270
  }
16271
- _chunkGONUMUBMjs.printCommandEnvelope.call(void 0,
16271
+ _chunkU7IJAGWBjs.printCommandEnvelope.call(void 0,
16272
16272
  { ...result },
16273
16273
  {
16274
16274
  json: Boolean(options.json),
@@ -16297,7 +16297,7 @@ Examples:
16297
16297
  false
16298
16298
  );
16299
16299
  });
16300
- _chunkXRIQN6EPjs.registerDeprecatedSearchCommand.call(void 0,
16300
+ _chunk6GRZEYSGjs.registerDeprecatedSearchCommand.call(void 0,
16301
16301
  play,
16302
16302
  (options) => options.all ? ["plays"] : ["prebuilts"]
16303
16303
  );
@@ -16338,9 +16338,9 @@ Examples:
16338
16338
  "--json [fields]",
16339
16339
  "JSON output; optionally select comma-separated dotted paths"
16340
16340
  );
16341
- _chunk7TKLISLMjs.addDescribeOptions.call(void 0, describeCommand, { json: false }).action(
16341
+ _chunkDBJ62RAOjs.addDescribeOptions.call(void 0, describeCommand, { json: false }).action(
16342
16342
  async (target, options) => {
16343
- const ownView = () => handlePlayDescribe(_chunkGONUMUBMjs.describeArgs.call(void 0, target, options));
16343
+ const ownView = () => handlePlayDescribe(_chunkU7IJAGWBjs.describeArgs.call(void 0, target, options));
16344
16344
  const [flagText] = [options.json].filter(
16345
16345
  (value) => typeof value === "string"
16346
16346
  );
@@ -16351,7 +16351,7 @@ Examples:
16351
16351
  process.exitCode = await ownView();
16352
16352
  return;
16353
16353
  }
16354
- const { describeAnything } = await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-RXYQCJRR.js")));
16354
+ const { describeAnything } = await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-UIAYCHWW.js")));
16355
16355
  process.exitCode = await describeAnything(
16356
16356
  name,
16357
16357
  {
@@ -16469,7 +16469,7 @@ Examples:
16469
16469
  deepline plays deployments <deployment-id>
16470
16470
  `
16471
16471
  ).option("--limit <n>", "Max rows (default 50)").option("--json", "Emit JSON output").action(
16472
- async (id, options) => id ? _chunk62XGOB2Djs.handleDeploymentGet.call(void 0, id, options) : _chunk62XGOB2Djs.handleDeploymentsList.call(void 0, options)
16472
+ async (id, options) => id ? _chunkRLLEH2SPjs.handleDeploymentGet.call(void 0, id, options) : _chunkRLLEH2SPjs.handleDeploymentsList.call(void 0, options)
16473
16473
  );
16474
16474
  addPublishHelp(
16475
16475
  play.command("publish <target>").description(
@@ -16604,14 +16604,14 @@ Examples:
16604
16604
  const limit = Number(options.limit);
16605
16605
  if (!Number.isSafeInteger(limit) || limit < 1 || limit > 1e3)
16606
16606
  throw new Error("--limit must be an integer from 1 to 1000.");
16607
- const result = await new (0, _chunk2MKX3HV3js.DeeplineClient)().runs.rowHistory({
16607
+ const result = await new (0, _chunk2AWYJXBXjs.DeeplineClient)().runs.rowHistory({
16608
16608
  playName: options.play,
16609
16609
  runId,
16610
16610
  tableNamespace: options.dataset,
16611
16611
  limit,
16612
16612
  cursor: options.cursor
16613
16613
  });
16614
- _chunkGONUMUBMjs.printCompactJson.call(void 0, {
16614
+ _chunkU7IJAGWBjs.printCompactJson.call(void 0, {
16615
16615
  ...result,
16616
16616
  ...result.nextCursor ? {
16617
16617
  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`
@@ -16685,7 +16685,7 @@ Examples:
16685
16685
  new (0, _commander.Option)("--log-failed", "Attach terminal-failure logs").hideHelp()
16686
16686
  ).action(async (runId, options) => {
16687
16687
  if (TOOL_EXECUTION_ID.test(runId)) {
16688
- const { getToolExecutionReceipt } = await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-NLZR7ABS.js")));
16688
+ const { getToolExecutionReceipt } = await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-PYJTQVVS.js")));
16689
16689
  process.exitCode = await getToolExecutionReceipt(runId, {
16690
16690
  receiptJson: options.json !== void 0
16691
16691
  });
@@ -16693,7 +16693,7 @@ Examples:
16693
16693
  }
16694
16694
  process.exitCode = await handleRunGet([
16695
16695
  runId,
16696
- ..._chunkGONUMUBMjs.jsonFieldArgs.call(void 0, options.json),
16696
+ ..._chunkU7IJAGWBjs.jsonFieldArgs.call(void 0, options.json),
16697
16697
  ...options.webUrl ? ["--web-url"] : [],
16698
16698
  ...options.full ? ["--full"] : [],
16699
16699
  ...options.input ? ["--input"] : [],
@@ -16983,7 +16983,7 @@ Examples:
16983
16983
  ...options.allowEmpty ? ["--allow-empty"] : [],
16984
16984
  ...options.wait ? ["--wait"] : [],
16985
16985
  ...options.timeoutMs ? ["--timeout-ms", options.timeoutMs] : [],
16986
- ..._chunkGONUMUBMjs.jsonFieldArgs.call(void 0, options.json)
16986
+ ..._chunkU7IJAGWBjs.jsonFieldArgs.call(void 0, options.json)
16987
16987
  ]);
16988
16988
  });
16989
16989
  const share = play.command("share").description(
@@ -17149,10 +17149,10 @@ async function handlePlayShareStatus(args) {
17149
17149
  return 2;
17150
17150
  }
17151
17151
  const name = parseReferencedPlayTarget(target).playName;
17152
- const status = await new (0, _chunk2MKX3HV3js.DeeplineClient)().getSharePage(name);
17152
+ const status = await new (0, _chunk2AWYJXBXjs.DeeplineClient)().getSharePage(name);
17153
17153
  const outputStatus = shareStatusForOutput(status);
17154
- if (_chunkGONUMUBMjs.argsWantJson.call(void 0, args)) {
17155
- _chunkGONUMUBMjs.printCompactJson.call(void 0, outputStatus);
17154
+ if (_chunkU7IJAGWBjs.argsWantJson.call(void 0, args)) {
17155
+ _chunkU7IJAGWBjs.printCompactJson.call(void 0, outputStatus);
17156
17156
  return 0;
17157
17157
  }
17158
17158
  if (!outputStatus.share) {
@@ -17191,7 +17191,7 @@ async function handlePlaySharePublish(args) {
17191
17191
  return 2;
17192
17192
  }
17193
17193
  const name = parseReferencedPlayTarget(target).playName;
17194
- const client = new (0, _chunk2MKX3HV3js.DeeplineClient)();
17194
+ const client = new (0, _chunk2AWYJXBXjs.DeeplineClient)();
17195
17195
  let revisionId = shareFlagValue(args, "--revision-id");
17196
17196
  let resolvedVersion;
17197
17197
  if (!revisionId) {
@@ -17222,8 +17222,8 @@ async function handlePlaySharePublish(args) {
17222
17222
  );
17223
17223
  if (!hasCompleted) {
17224
17224
  const message = `No completed run for ${name}. Publish a play only after it has run successfully. (Override with --no-run-check.)`;
17225
- if (_chunkGONUMUBMjs.argsWantJson.call(void 0, args)) {
17226
- _chunkGONUMUBMjs.printCompactJson.call(void 0, {
17225
+ if (_chunkU7IJAGWBjs.argsWantJson.call(void 0, args)) {
17226
+ _chunkU7IJAGWBjs.printCompactJson.call(void 0, {
17227
17227
  ok: false,
17228
17228
  code: "NO_SUCCESSFUL_RUN",
17229
17229
  message,
@@ -17247,8 +17247,8 @@ async function handlePlaySharePublish(args) {
17247
17247
  };
17248
17248
  if (args.includes("--dry-run")) {
17249
17249
  const plan = { dryRun: true, name, version: resolvedVersion, ...request };
17250
- if (_chunkGONUMUBMjs.argsWantJson.call(void 0, args)) {
17251
- _chunkGONUMUBMjs.printCompactJson.call(void 0, plan);
17250
+ if (_chunkU7IJAGWBjs.argsWantJson.call(void 0, args)) {
17251
+ _chunkU7IJAGWBjs.printCompactJson.call(void 0, plan);
17252
17252
  } else {
17253
17253
  console.log(
17254
17254
  `Would publish ${name}${resolvedVersion ? ` v${resolvedVersion}` : ""} (revision ${revisionId}).`
@@ -17258,8 +17258,8 @@ async function handlePlaySharePublish(args) {
17258
17258
  }
17259
17259
  const status = await client.publishSharePage(name, request);
17260
17260
  const outputStatus = shareStatusForOutput(status);
17261
- if (_chunkGONUMUBMjs.argsWantJson.call(void 0, args)) {
17262
- _chunkGONUMUBMjs.printCompactJson.call(void 0, outputStatus);
17261
+ if (_chunkU7IJAGWBjs.argsWantJson.call(void 0, args)) {
17262
+ _chunkU7IJAGWBjs.printCompactJson.call(void 0, outputStatus);
17263
17263
  return 0;
17264
17264
  }
17265
17265
  const urls = shareUrlFields(outputStatus);
@@ -17290,9 +17290,9 @@ async function handlePlayShareUpdate(args) {
17290
17290
  ...args.includes("--show-latency") ? { showAverageLatency: true } : args.includes("--hide-latency") ? { showAverageLatency: false } : {},
17291
17291
  ...seoIndexing ? { seoIndexing } : {}
17292
17292
  };
17293
- const status = await new (0, _chunk2MKX3HV3js.DeeplineClient)().updateSharePage(name, request);
17294
- if (_chunkGONUMUBMjs.argsWantJson.call(void 0, args)) {
17295
- _chunkGONUMUBMjs.printCompactJson.call(void 0, status);
17293
+ const status = await new (0, _chunk2AWYJXBXjs.DeeplineClient)().updateSharePage(name, request);
17294
+ if (_chunkU7IJAGWBjs.argsWantJson.call(void 0, args)) {
17295
+ _chunkU7IJAGWBjs.printCompactJson.call(void 0, status);
17296
17296
  return 0;
17297
17297
  }
17298
17298
  console.log(`Updated ${name} share settings.`);
@@ -17307,7 +17307,7 @@ async function handlePlayShareRegenerate(args) {
17307
17307
  return 2;
17308
17308
  }
17309
17309
  const name = parseReferencedPlayTarget(target).playName;
17310
- const client = new (0, _chunk2MKX3HV3js.DeeplineClient)();
17310
+ const client = new (0, _chunk2AWYJXBXjs.DeeplineClient)();
17311
17311
  let revisionId = shareFlagValue(args, "--revision-id");
17312
17312
  const versionFlag = shareFlagValue(args, "--version");
17313
17313
  if (!revisionId && versionFlag) {
@@ -17324,8 +17324,8 @@ async function handlePlayShareRegenerate(args) {
17324
17324
  revisionId ? { revisionId } : {}
17325
17325
  );
17326
17326
  const outputStatus = shareStatusForOutput(status);
17327
- if (_chunkGONUMUBMjs.argsWantJson.call(void 0, args)) {
17328
- _chunkGONUMUBMjs.printCompactJson.call(void 0, outputStatus);
17327
+ if (_chunkU7IJAGWBjs.argsWantJson.call(void 0, args)) {
17328
+ _chunkU7IJAGWBjs.printCompactJson.call(void 0, outputStatus);
17329
17329
  return 0;
17330
17330
  }
17331
17331
  const urls = shareUrlFields(outputStatus);
@@ -17350,9 +17350,9 @@ async function handlePlayShareUnpublish(args) {
17350
17350
  return 2;
17351
17351
  }
17352
17352
  const name = parseReferencedPlayTarget(target).playName;
17353
- const status = await new (0, _chunk2MKX3HV3js.DeeplineClient)().unpublishSharePage(name);
17354
- if (_chunkGONUMUBMjs.argsWantJson.call(void 0, args)) {
17355
- _chunkGONUMUBMjs.printCompactJson.call(void 0, status);
17353
+ const status = await new (0, _chunk2AWYJXBXjs.DeeplineClient)().unpublishSharePage(name);
17354
+ if (_chunkU7IJAGWBjs.argsWantJson.call(void 0, args)) {
17355
+ _chunkU7IJAGWBjs.printCompactJson.call(void 0, status);
17356
17356
  return 0;
17357
17357
  }
17358
17358
  console.log(`Unpublished ${name}; the public page has been removed.`);
@@ -17427,4 +17427,4 @@ async function handlePlayShareUnpublish(args) {
17427
17427
 
17428
17428
 
17429
17429
 
17430
- 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 = _chunk5ICAG4REjs.parsePlayRunHeaderFlag; exports.parsePlayRunOptions = _chunk5ICAG4REjs.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;
17430
+ 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 = _chunkVEVGM6B5js.parsePlayRunHeaderFlag; exports.parsePlayRunOptions = _chunkVEVGM6B5js.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;