deepline 0.3.313 → 0.3.315

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 (109) hide show
  1. package/dist/bundling-sources/sdk/src/client.ts +12 -0
  2. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  3. package/dist/bundling-sources/sdk/src/types.ts +10 -0
  4. package/dist/bundling-sources/shared_libs/play-runtime/play-run-recovery-policy.ts +50 -0
  5. package/dist/bundling-sources/shared_libs/play-runtime/run-event-query.ts +15 -2
  6. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-launch-transport.ts +210 -2
  7. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-lifecycle.ts +226 -14
  8. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona.ts +4 -18
  9. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +5 -0
  10. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +94 -14
  11. package/dist/bundling-sources/shared_libs/plays/docflow-binding-owner.ts +61 -11
  12. package/dist/cli/{auth-LNA6WCQA.mjs → auth-OVWOO5NP.mjs} +4 -4
  13. package/dist/cli/auth-P2TTZU36.js +31 -0
  14. package/dist/cli/{billing-GJJUUCOZ.js → billing-SRZL7UOH.js} +70 -70
  15. package/dist/cli/{billing-D37QNIE3.mjs → billing-W3OXKWNE.mjs} +4 -4
  16. package/dist/cli/{chunk-HY2SSFRI.js → chunk-6BJACIVK.js} +1 -1
  17. package/dist/cli/{chunk-BS4GAUMH.mjs → chunk-AO4IWPP7.mjs} +33 -8
  18. package/dist/cli/{chunk-DOI3UBGV.mjs → chunk-AZWQJAQF.mjs} +1 -1
  19. package/dist/cli/{chunk-XFEPRIW7.mjs → chunk-B473QUQU.mjs} +4 -4
  20. package/dist/cli/{chunk-P4N7233B.js → chunk-C5WSTXUB.js} +247 -222
  21. package/dist/cli/{chunk-4UXNEC5C.js → chunk-FGAK6FET.js} +26 -26
  22. package/dist/cli/{chunk-3ZC4PHJ6.mjs → chunk-FTJQO757.mjs} +1 -1
  23. package/dist/cli/{chunk-UQBMMN4U.mjs → chunk-GK67FYMS.mjs} +5 -5
  24. package/dist/cli/{chunk-CSH4PKPJ.mjs → chunk-HNKHMHJ7.mjs} +1 -1
  25. package/dist/cli/{chunk-YZ5PP6TX.mjs → chunk-IGE7EJJY.mjs} +23 -3
  26. package/dist/cli/{chunk-HM2TSTCT.mjs → chunk-JF4O5OMH.mjs} +1 -1
  27. package/dist/cli/{chunk-N2DXWS6W.mjs → chunk-L5TSFCJ6.mjs} +2 -2
  28. package/dist/cli/{chunk-6G7ZYA6E.js → chunk-LOWURQMF.js} +50 -50
  29. package/dist/cli/{chunk-FJUIXWZF.js → chunk-OJP4FCCX.js} +48 -48
  30. package/dist/cli/{chunk-BLMO3JMZ.mjs → chunk-OUIIYFG3.mjs} +2 -2
  31. package/dist/cli/{chunk-MHETTUWR.js → chunk-OYJCNCUW.js} +2 -2
  32. package/dist/cli/{chunk-JG2ZTDZV.js → chunk-PPONZ6IE.js} +15 -15
  33. package/dist/cli/{chunk-QCXDLOGA.mjs → chunk-R3IFZDJL.mjs} +2 -2
  34. package/dist/cli/{chunk-KNGTN7NE.js → chunk-SNFSO2AN.js} +6 -6
  35. package/dist/cli/{chunk-RDUS2EDE.mjs → chunk-TQ3F77AC.mjs} +3 -3
  36. package/dist/cli/{chunk-I4FHFGMA.js → chunk-TQK662WG.js} +60 -60
  37. package/dist/cli/{chunk-OTA5C7DD.mjs → chunk-TZ5KUDPP.mjs} +1 -1
  38. package/dist/cli/{chunk-FSZTWQFK.js → chunk-URVZGYGG.js} +4 -4
  39. package/dist/cli/{chunk-VSAYSOVC.js → chunk-VYK23G2C.js} +222 -202
  40. package/dist/cli/{chunk-GQXEHX5X.js → chunk-Y42UERUY.js} +6 -6
  41. package/dist/cli/{chunk-QQMKX7JW.js → chunk-YL42TF53.js} +6 -6
  42. package/dist/cli/client-CXFPFCIG.js +20 -0
  43. package/dist/cli/{client-6RVRZ4OY.mjs → client-WQ3J5BSH.mjs} +3 -3
  44. package/dist/cli/{csv-SBOHBKEG.mjs → csv-36ARCBNQ.mjs} +3 -3
  45. package/dist/cli/{csv-2UHRG67O.js → csv-CENMEWDH.js} +12 -12
  46. package/dist/cli/{db-VRE7CLIQ.js → db-6DQZG6NB.js} +20 -20
  47. package/dist/cli/{db-TUFTPYEA.mjs → db-JU7XLKQM.mjs} +4 -4
  48. package/dist/cli/{describe-WCBZTSOF.mjs → describe-34ALEEFO.mjs} +8 -8
  49. package/dist/cli/{describe-GS5A2XH4.js → describe-VUD4AFBY.js} +15 -15
  50. package/dist/cli/{executions-ENMOOKWH.js → executions-H2UXS6FP.js} +6 -6
  51. package/dist/cli/{executions-UTN3O372.mjs → executions-H66BMN6N.mjs} +4 -4
  52. package/dist/cli/{feedback-PXBA3AG7.mjs → feedback-Q7LXXLSH.mjs} +3 -3
  53. package/dist/cli/{feedback-BLN6SIRG.js → feedback-YSYFQSAB.js} +6 -6
  54. package/dist/cli/git-SYFCYIFP.js +23 -0
  55. package/dist/cli/{git-YDMIRW3Q.mjs → git-XV43NSWN.mjs} +4 -4
  56. package/dist/cli/index.js +74 -74
  57. package/dist/cli/index.mjs +31 -31
  58. package/dist/cli/{legacy-noops-CWTUWTDB.js → legacy-noops-RGDW6SCA.js} +7 -7
  59. package/dist/cli/{legacy-noops-OVG2SICQ.mjs → legacy-noops-Z2DTZQN3.mjs} +4 -4
  60. package/dist/cli/{monitors-T63OPBTY.js → monitors-I75KZ2BP.js} +85 -85
  61. package/dist/cli/{monitors-ATIDXJA4.mjs → monitors-OFQ56O4S.mjs} +4 -4
  62. package/dist/cli/{org-7RVAPMRN.js → org-75AH6RIB.js} +60 -60
  63. package/dist/cli/{org-NXKNIM3H.mjs → org-ZYMCU6XO.mjs} +4 -4
  64. package/dist/cli/{play-B62OVHD4.mjs → play-BKXM76DV.mjs} +7 -7
  65. package/dist/cli/play-OKXUWPMO.js +152 -0
  66. package/dist/cli/{providers-U7B7JEYY.mjs → providers-GWG2WFIY.mjs} +4 -4
  67. package/dist/cli/{providers-EITVEGXD.js → providers-Z77MM7ID.js} +7 -7
  68. package/dist/cli/{quickstart-VSWTYNJM.mjs → quickstart-BGVIV374.mjs} +3 -3
  69. package/dist/cli/{quickstart-G64F2XRU.js → quickstart-I4RECIQC.js} +5 -5
  70. package/dist/cli/search-3KISUDDT.js +26 -0
  71. package/dist/cli/{search-SKYTFKKF.mjs → search-TIKBP3RE.mjs} +5 -5
  72. package/dist/cli/{secrets-JSFHSCGM.js → secrets-SNGRI4KS.js} +13 -13
  73. package/dist/cli/{secrets-4DNS7KWS.mjs → secrets-YCHKLWKC.mjs} +4 -4
  74. package/dist/cli/{sessions-HB7RQ4XN.mjs → sessions-IRDG6ZRX.mjs} +4 -4
  75. package/dist/cli/{sessions-MLTYPPCG.js → sessions-WXLADGDX.js} +5 -5
  76. package/dist/cli/{settings-3PCKNBPU.js → settings-72J4BVF6.js} +74 -74
  77. package/dist/cli/{settings-BT5WCU65.mjs → settings-KZALJDXW.mjs} +7 -7
  78. package/dist/cli/{setup-EIWDTMCK.mjs → setup-4KCA7ESV.mjs} +6 -6
  79. package/dist/cli/{setup-EYZWTDJI.js → setup-FFB3KLFD.js} +41 -41
  80. package/dist/cli/{skills-AQ3ORN2C.mjs → skills-MQZPYUQ3.mjs} +4 -4
  81. package/dist/cli/skills-XGOK4GRW.js +28 -0
  82. package/dist/cli/tools-LEAJ7EPW.js +38 -0
  83. package/dist/cli/{tools-OFTB2BGP.mjs → tools-M3WKRZ5T.mjs} +6 -6
  84. package/dist/cli/{update-ERQTFSAR.mjs → update-QJMNYGNF.mjs} +6 -6
  85. package/dist/cli/update-ZN6LDUHS.js +28 -0
  86. package/dist/cli/{workflow-6D6NHUH4.js → workflow-35UUOZ5E.js} +15 -15
  87. package/dist/cli/{workflow-SRLWGGBM.mjs → workflow-6T2EUFCN.mjs} +5 -5
  88. package/dist/{client-CtVdLZux.d.mts → client-CvpZsBqt.d.mts} +12 -0
  89. package/dist/{client-OBwghxPC.d.ts → client-Dh_4Ph1R.d.ts} +12 -0
  90. package/dist/index.d.mts +2 -2
  91. package/dist/index.d.ts +2 -2
  92. package/dist/index.js +6 -6
  93. package/dist/index.mjs +3 -3
  94. package/dist/install-integrity.json +76 -76
  95. package/dist/plays/run-request.d.mts +1 -1
  96. package/dist/plays/run-request.d.ts +1 -1
  97. package/dist/release.d.mts +1 -1
  98. package/dist/release.d.ts +1 -1
  99. package/dist/release.js +2 -2
  100. package/dist/release.mjs +1 -1
  101. package/package.json +1 -1
  102. package/dist/cli/auth-56NYRTQK.js +0 -31
  103. package/dist/cli/client-XUTMYJDL.js +0 -20
  104. package/dist/cli/git-26D3VD2I.js +0 -23
  105. package/dist/cli/play-WM3NZVE7.js +0 -152
  106. package/dist/cli/search-TXQJJQWY.js +0 -26
  107. package/dist/cli/skills-73T4BSDE.js +0 -28
  108. package/dist/cli/tools-ZGSOHWBY.js +0 -38
  109. package/dist/cli/update-L4V5TF7I.js +0 -28
@@ -7,11 +7,11 @@ var _chunkXNL3SEMCjs = require('./chunk-XNL3SEMC.js');
7
7
  var _chunk5JLQPVNXjs = require('./chunk-5JLQPVNX.js');
8
8
 
9
9
 
10
- var _chunkQQMKX7JWjs = require('./chunk-QQMKX7JW.js');
10
+ var _chunkYL42TF53js = require('./chunk-YL42TF53.js');
11
11
 
12
12
 
13
13
 
14
- var _chunk4UXNEC5Cjs = require('./chunk-4UXNEC5C.js');
14
+ var _chunkFGAK6FETjs = require('./chunk-FGAK6FET.js');
15
15
 
16
16
 
17
17
 
@@ -34,7 +34,7 @@ var _chunkSDK3ZA2Cjs = require('./chunk-SDK3ZA2C.js');
34
34
 
35
35
 
36
36
 
37
- var _chunkVSAYSOVCjs = require('./chunk-VSAYSOVC.js');
37
+ var _chunkVYK23G2Cjs = require('./chunk-VYK23G2C.js');
38
38
 
39
39
 
40
40
 
@@ -66,10 +66,10 @@ var _chunkWJYPBHTEjs = require('./chunk-WJYPBHTE.js');
66
66
 
67
67
 
68
68
 
69
- var _chunkGQXEHX5Xjs = require('./chunk-GQXEHX5X.js');
69
+ var _chunkY42UERUYjs = require('./chunk-Y42UERUY.js');
70
70
 
71
71
 
72
- var _chunkFSZTWQFKjs = require('./chunk-FSZTWQFK.js');
72
+ var _chunkURVZGYGGjs = require('./chunk-URVZGYGG.js');
73
73
 
74
74
 
75
75
 
@@ -2061,7 +2061,7 @@ function resolveField(key, command) {
2061
2061
  function printSettings(result, json, name) {
2062
2062
  result = { ...result, settings: parsePlaySettings(result.settings) };
2063
2063
  const selected = fields.filter(([key]) => !name || key === name);
2064
- _chunkGQXEHX5Xjs.printCommandEnvelope.call(void 0,
2064
+ _chunkY42UERUYjs.printCommandEnvelope.call(void 0,
2065
2065
  {
2066
2066
  ...result,
2067
2067
  settings: Object.fromEntries(
@@ -2105,7 +2105,7 @@ function registerPlaySettingsCommands(plays) {
2105
2105
  valueSyntax: field.cli.valueSyntax,
2106
2106
  examples: field.cli.examples
2107
2107
  }));
2108
- _chunkGQXEHX5Xjs.printCommandEnvelope.call(void 0,
2108
+ _chunkY42UERUYjs.printCommandEnvelope.call(void 0,
2109
2109
  {
2110
2110
  fields: descriptions,
2111
2111
  render: {
@@ -2130,7 +2130,7 @@ function registerPlaySettingsCommands(plays) {
2130
2130
  async (options, command) => {
2131
2131
  if (options.name !== void 0) resolveField(options.name, command);
2132
2132
  printSettings(
2133
- await new (0, _chunkVSAYSOVCjs.DeeplineClient)().getPlaySettings(options.play),
2133
+ await new (0, _chunkVYK23G2Cjs.DeeplineClient)().getPlaySettings(options.play),
2134
2134
  options.json,
2135
2135
  options.name
2136
2136
  );
@@ -2161,7 +2161,7 @@ function registerPlaySettingsCommands(plays) {
2161
2161
  );
2162
2162
  }
2163
2163
  if (options.dryRun) {
2164
- _chunkGQXEHX5Xjs.printCommandEnvelope.call(void 0,
2164
+ _chunkY42UERUYjs.printCommandEnvelope.call(void 0,
2165
2165
  {
2166
2166
  dryRun: true,
2167
2167
  play,
@@ -2182,7 +2182,7 @@ function registerPlaySettingsCommands(plays) {
2182
2182
  return;
2183
2183
  }
2184
2184
  printSettings(
2185
- await new (0, _chunkVSAYSOVCjs.DeeplineClient)().updatePlaySettings(play, patch),
2185
+ await new (0, _chunkVYK23G2Cjs.DeeplineClient)().updatePlaySettings(play, patch),
2186
2186
  options.json
2187
2187
  );
2188
2188
  };
@@ -2208,13 +2208,13 @@ function registerPlaySettingsCommands(plays) {
2208
2208
  "--root must be person or team; --limit must be 1\u2013100.",
2209
2209
  { exitCode: 2 }
2210
2210
  );
2211
- const page = await new (0, _chunkVSAYSOVCjs.DeeplineClient)().listPlaySettingsPaths({
2211
+ const page = await new (0, _chunkVYK23G2Cjs.DeeplineClient)().listPlaySettingsPaths({
2212
2212
  root: options.root,
2213
2213
  limit,
2214
2214
  cursor: options.cursor
2215
2215
  });
2216
2216
  const nextCommand = page.hasMore ? `deepline plays settings paths --cursor '${page.cursor}'${options.root ? ` --root ${options.root}` : ""} --json` : null;
2217
- _chunkGQXEHX5Xjs.printCommandEnvelope.call(void 0,
2217
+ _chunkY42UERUYjs.printCommandEnvelope.call(void 0,
2218
2218
  {
2219
2219
  ...page,
2220
2220
  nextCommand,
@@ -2265,7 +2265,7 @@ function registerPlaySettingsCommands(plays) {
2265
2265
  root: _nullishCoalesce(_optionalChain([toPath, 'optionalAccess', _13 => _13.root]), () => ( "person")),
2266
2266
  folders: _nullishCoalesce(_optionalChain([toPath, 'optionalAccess', _14 => _14.folders]), () => ( []))
2267
2267
  };
2268
- const client = new (0, _chunkVSAYSOVCjs.DeeplineClient)();
2268
+ const client = new (0, _chunkVYK23G2Cjs.DeeplineClient)();
2269
2269
  const paths = [];
2270
2270
  let cursor;
2271
2271
  do {
@@ -2327,7 +2327,7 @@ function registerPlaySettingsCommands(plays) {
2327
2327
  moved.push(move.playName);
2328
2328
  }
2329
2329
  }
2330
- _chunkGQXEHX5Xjs.printCommandEnvelope.call(void 0,
2330
+ _chunkY42UERUYjs.printCommandEnvelope.call(void 0,
2331
2331
  {
2332
2332
  dryRun: Boolean(options.dryRun),
2333
2333
  from: options.from,
@@ -2455,7 +2455,7 @@ function triggerLines(view) {
2455
2455
  return lines;
2456
2456
  }
2457
2457
  function printView(view, json) {
2458
- _chunkGQXEHX5Xjs.printCommandEnvelope.call(void 0,
2458
+ _chunkY42UERUYjs.printCommandEnvelope.call(void 0,
2459
2459
  {
2460
2460
  ...view,
2461
2461
  render: {
@@ -2468,7 +2468,7 @@ function printView(view, json) {
2468
2468
  );
2469
2469
  }
2470
2470
  function printResult(result, json) {
2471
- _chunkGQXEHX5Xjs.printCommandEnvelope.call(void 0,
2471
+ _chunkY42UERUYjs.printCommandEnvelope.call(void 0,
2472
2472
  {
2473
2473
  ...result,
2474
2474
  render: {
@@ -2498,7 +2498,7 @@ async function mutate(command, options, build) {
2498
2498
  usage(command, `Invalid trigger: ${formatPlayTriggerConfigError(error)}`);
2499
2499
  }
2500
2500
  if (options.dryRun) {
2501
- _chunkGQXEHX5Xjs.printCommandEnvelope.call(void 0,
2501
+ _chunkY42UERUYjs.printCommandEnvelope.call(void 0,
2502
2502
  {
2503
2503
  dryRun: true,
2504
2504
  play: options.play,
@@ -2517,7 +2517,7 @@ async function mutate(command, options, build) {
2517
2517
  return;
2518
2518
  }
2519
2519
  printResult(
2520
- await new (0, _chunkVSAYSOVCjs.DeeplineClient)().updatePlayTriggerConfig(options.play, update),
2520
+ await new (0, _chunkVYK23G2Cjs.DeeplineClient)().updatePlayTriggerConfig(options.play, update),
2521
2521
  options.json
2522
2522
  );
2523
2523
  }
@@ -2550,7 +2550,7 @@ function registerPlayTriggerConfigCommands(plays) {
2550
2550
  }).addHelpText("after", help2);
2551
2551
  trigger.command("get").description("Show the cron and webhook triggers of a Play.").requiredOption("--play <play>", "Play to read").option("--json", "Emit JSON; automatic when piped").addHelpText("after", help2).action(async (options) => {
2552
2552
  printView(
2553
- await new (0, _chunkVSAYSOVCjs.DeeplineClient)().getPlayTriggerConfig(options.play),
2553
+ await new (0, _chunkVYK23G2Cjs.DeeplineClient)().getPlayTriggerConfig(options.play),
2554
2554
  options.json
2555
2555
  );
2556
2556
  });
@@ -2594,7 +2594,7 @@ function registerPlayTriggerConfigCommands(plays) {
2594
2594
  if (options.auth === void 0) {
2595
2595
  if (secrets.length || options.header || options.signaturePrefix)
2596
2596
  usage(setWebhook, "--secret/--header need --auth.");
2597
- const current = await new (0, _chunkVSAYSOVCjs.DeeplineClient)().getPlayTriggerConfig(
2597
+ const current = await new (0, _chunkVYK23G2Cjs.DeeplineClient)().getPlayTriggerConfig(
2598
2598
  options.play
2599
2599
  );
2600
2600
  return {
@@ -2671,7 +2671,7 @@ var KIND_DESCRIPTIONS = {
2671
2671
  "receipt.skipped": "Saved work result: skipped.",
2672
2672
  "runtime.event": "Other event."
2673
2673
  };
2674
- var RUN_LOGS_KIND_HELP = _chunkVSAYSOVCjs.RUN_EVENT_SEARCH_KIND_VALUES.map((kind) => ({
2674
+ var RUN_LOGS_KIND_HELP = _chunkVYK23G2Cjs.RUN_EVENT_SEARCH_KIND_VALUES.map((kind) => ({
2675
2675
  kind,
2676
2676
  description: KIND_DESCRIPTIONS[kind]
2677
2677
  }));
@@ -2808,9 +2808,9 @@ function configureRunQueryCommandErrors(command, resource) {
2808
2808
  const args = program.args;
2809
2809
  if (error.exitCode !== 0 && (resource === "events" || requestsStructuredLogs(args))) {
2810
2810
  error.exitCode = 2;
2811
- if (_chunkGQXEHX5Xjs.argsWantJson.call(void 0, args) || command.optsWithGlobals().json === true) {
2812
- _chunkGQXEHX5Xjs.printJsonError.call(void 0,
2813
- Object.assign(new (0, _chunkVSAYSOVCjs.RunEventQueryInputError)(error.message), {
2811
+ if (_chunkY42UERUYjs.argsWantJson.call(void 0, args) || command.optsWithGlobals().json === true) {
2812
+ _chunkY42UERUYjs.printJsonError.call(void 0,
2813
+ Object.assign(new (0, _chunkVYK23G2Cjs.RunEventQueryInputError)(error.message), {
2814
2814
  exitCode: 2,
2815
2815
  retryable: false
2816
2816
  })
@@ -2854,14 +2854,14 @@ function parseQuery(args, resource) {
2854
2854
  if (VALUE_FLAGS.has(flag)) {
2855
2855
  const value = equals > 0 ? arg.slice(equals + 1) : args[++index];
2856
2856
  if (!value || equals < 0 && value.startsWith("--") && flag !== "--query" && flag !== "--where") {
2857
- throw new (0, _chunkVSAYSOVCjs.RunEventQueryInputError)(
2857
+ throw new (0, _chunkVYK23G2Cjs.RunEventQueryInputError)(
2858
2858
  `${flag} requires a value. Use ${flag} <value>.`
2859
2859
  );
2860
2860
  }
2861
2861
  if (flag === "--sum") sums.push(value);
2862
2862
  else {
2863
2863
  if (values[flag] !== void 0) {
2864
- throw new (0, _chunkVSAYSOVCjs.RunEventQueryInputError)(
2864
+ throw new (0, _chunkVYK23G2Cjs.RunEventQueryInputError)(
2865
2865
  `${flag} may only be supplied once.`
2866
2866
  );
2867
2867
  }
@@ -2875,12 +2875,12 @@ function parseQuery(args, resource) {
2875
2875
  }
2876
2876
  if (arg.startsWith("-")) {
2877
2877
  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.";
2878
- throw new (0, _chunkVSAYSOVCjs.RunEventQueryInputError)(
2878
+ throw new (0, _chunkVYK23G2Cjs.RunEventQueryInputError)(
2879
2879
  `Unsupported query flag ${flag}. ${correction}`
2880
2880
  );
2881
2881
  }
2882
2882
  if (runId !== void 0) {
2883
- throw new (0, _chunkVSAYSOVCjs.RunEventQueryInputError)(
2883
+ throw new (0, _chunkVYK23G2Cjs.RunEventQueryInputError)(
2884
2884
  `Unexpected argument ${JSON.stringify(arg)}. Supply one run ID.`
2885
2885
  );
2886
2886
  }
@@ -2888,7 +2888,7 @@ function parseQuery(args, resource) {
2888
2888
  }
2889
2889
  if (switches.has("--fields")) {
2890
2890
  if (runId !== void 0) {
2891
- throw new (0, _chunkVSAYSOVCjs.RunEventQueryInputError)(
2891
+ throw new (0, _chunkVYK23G2Cjs.RunEventQueryInputError)(
2892
2892
  "--fields does not use a run ID. Omit the positional run ID."
2893
2893
  );
2894
2894
  }
@@ -2901,18 +2901,18 @@ function parseQuery(args, resource) {
2901
2901
  )
2902
2902
  ];
2903
2903
  if (incompatible.length) {
2904
- throw new (0, _chunkVSAYSOVCjs.RunEventQueryInputError)(
2904
+ throw new (0, _chunkVYK23G2Cjs.RunEventQueryInputError)(
2905
2905
  `--fields cannot be combined with ${incompatible.join(", ")}. Use --fields alone to discover the query contract.`
2906
2906
  );
2907
2907
  }
2908
2908
  }
2909
2909
  if (switches.has("--count") && values["--group-by"] !== void 0) {
2910
- throw new (0, _chunkVSAYSOVCjs.RunEventQueryInputError)(
2910
+ throw new (0, _chunkVYK23G2Cjs.RunEventQueryInputError)(
2911
2911
  "--count cannot be combined with --group-by. Use --group-by for counts per group."
2912
2912
  );
2913
2913
  }
2914
2914
  if (sums.length && switches.has("--count")) {
2915
- throw new (0, _chunkVSAYSOVCjs.RunEventQueryInputError)(
2915
+ throw new (0, _chunkVYK23G2Cjs.RunEventQueryInputError)(
2916
2916
  "--sum cannot be combined with --count. Use --sum for the exact count and numeric total."
2917
2917
  );
2918
2918
  }
@@ -2920,7 +2920,7 @@ function parseQuery(args, resource) {
2920
2920
  if (operation === "count") {
2921
2921
  for (const flag of ["--limit", "--cursor", "--payloads"]) {
2922
2922
  if (values[flag] !== void 0 || switches.has(flag)) {
2923
- throw new (0, _chunkVSAYSOVCjs.RunEventQueryInputError)(
2923
+ throw new (0, _chunkVYK23G2Cjs.RunEventQueryInputError)(
2924
2924
  `--count cannot be combined with ${flag}. Remove ${flag} to count all matching retained records.`
2925
2925
  );
2926
2926
  }
@@ -2955,16 +2955,16 @@ function parseQuery(args, resource) {
2955
2955
  ];
2956
2956
  }
2957
2957
  }
2958
- const request = _chunkVSAYSOVCjs.normalizeRunEventOperationRequest.call(void 0, body);
2958
+ const request = _chunkVYK23G2Cjs.normalizeRunEventOperationRequest.call(void 0, body);
2959
2959
  const namespace = _nullishCoalesce(values["--runtime-namespace"], () => ( (process.env.DEEPLINE_RUNTIME_ENVIRONMENT === "preview" ? process.env.DEEPLINE_RUNTIME_NAMESPACE : void 0)));
2960
2960
  const backend = values["--runtime-backend"];
2961
2961
  if (backend && backend !== "daytona" && backend !== "modal") {
2962
- throw new (0, _chunkVSAYSOVCjs.RunEventQueryInputError)(
2962
+ throw new (0, _chunkVYK23G2Cjs.RunEventQueryInputError)(
2963
2963
  "--runtime-backend must be daytona or modal."
2964
2964
  );
2965
2965
  }
2966
2966
  if (backend && !namespace) {
2967
- throw new (0, _chunkVSAYSOVCjs.RunEventQueryInputError)(
2967
+ throw new (0, _chunkVYK23G2Cjs.RunEventQueryInputError)(
2968
2968
  "--runtime-backend requires --runtime-namespace."
2969
2969
  );
2970
2970
  }
@@ -3012,12 +3012,12 @@ async function handleRunEventQuery(args, resource = "logs") {
3012
3012
  const failure = error instanceof Error ? error : new Error(String(error));
3013
3013
  const record3 = failure;
3014
3014
  const status = record3.statusCode;
3015
- const exitCode = error instanceof _chunkVSAYSOVCjs.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;
3015
+ const exitCode = error instanceof _chunkVYK23G2Cjs.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;
3016
3016
  const diagnostic = Object.assign(failure, {
3017
3017
  exitCode,
3018
3018
  retryable: exitCode === 5
3019
3019
  });
3020
- if (_chunkGQXEHX5Xjs.argsWantJson.call(void 0, args)) _chunkGQXEHX5Xjs.printJsonError.call(void 0, diagnostic);
3020
+ if (_chunkY42UERUYjs.argsWantJson.call(void 0, args)) _chunkY42UERUYjs.printJsonError.call(void 0, diagnostic);
3021
3021
  else console.error(`Error: ${diagnostic.message}`);
3022
3022
  return exitCode;
3023
3023
  }
@@ -3032,7 +3032,7 @@ async function executeRunEventQuery(args, resource) {
3032
3032
  ...criteria
3033
3033
  } = request;
3034
3034
  const options = { ...criteria, ...runtime ? { runtime } : {} };
3035
- const client = new (0, _chunkVSAYSOVCjs.DeeplineClient)();
3035
+ const client = new (0, _chunkVYK23G2Cjs.DeeplineClient)();
3036
3036
  let result;
3037
3037
  if (request.operation === "fields") {
3038
3038
  result = await client.runs[resource].fields(runtime ? { runtime } : {});
@@ -3090,6 +3090,7 @@ async function executeRunEventQuery(args, resource) {
3090
3090
  if (lines.length === 0) lines.push(`0 matching retained ${resource}.`);
3091
3091
  }
3092
3092
  lines.push(
3093
+ `Searched UTC: ${result.query.since} (inclusive) to ${result.query.until} (exclusive).`,
3093
3094
  `Retained history since ${result.retention.retainedSince} (${result.retention.retentionDays} days).`
3094
3095
  );
3095
3096
  if ("page" in result && result.page.nextCursor) {
@@ -3097,13 +3098,13 @@ async function executeRunEventQuery(args, resource) {
3097
3098
  lines.push(`Next page: ${nextPage}`);
3098
3099
  }
3099
3100
  }
3100
- _chunkGQXEHX5Xjs.printCommandEnvelope.call(void 0,
3101
+ _chunkY42UERUYjs.printCommandEnvelope.call(void 0,
3101
3102
  {
3102
3103
  ...result,
3103
3104
  ...nextPage ? { next: { page: nextPage } } : {},
3104
3105
  render: { sections: [{ title: `run ${resource}`, lines }] }
3105
3106
  },
3106
- { json: _chunkGQXEHX5Xjs.argsWantJson.call(void 0, args), text: `${lines.join("\n")}
3107
+ { json: _chunkY42UERUYjs.argsWantJson.call(void 0, args), text: `${lines.join("\n")}
3107
3108
  ` }
3108
3109
  );
3109
3110
  return 0;
@@ -3921,7 +3922,7 @@ function checkedRunExample(plays, target) {
3921
3922
  const quote = (value) => `'${value.replace(/'/g, `'\\''`)}'`;
3922
3923
  const base = `deepline plays run --file ${quote(target)}`;
3923
3924
  return {
3924
- command: `${base}${_chunkVSAYSOVCjs.playInputExampleArgs.call(void 0, schema)} --json`,
3925
+ command: `${base}${_chunkVYK23G2Cjs.playInputExampleArgs.call(void 0, schema)} --json`,
3925
3926
  note: "Runs the local file without publishing and may spend credits. Supply the indicated file; JSON input must match inputSchema. Keep stderr separate from JSON stdout."
3926
3927
  };
3927
3928
  }
@@ -5539,7 +5540,7 @@ async function runPlayBootstrap(args) {
5539
5540
  return runMonitorBootstrap(args);
5540
5541
  }
5541
5542
  const options = parsePlayBootstrapOptions(args);
5542
- const client = new (0, _chunkVSAYSOVCjs.DeeplineClient)();
5543
+ const client = new (0, _chunkVYK23G2Cjs.DeeplineClient)();
5543
5544
  const contracts = await loadBootstrapContracts(client, options);
5544
5545
  const csvContext = loadCsvContext(options.from);
5545
5546
  const source = generateBootstrapPlaySource({
@@ -5694,7 +5695,7 @@ Existing credential redactions and referenced-list previews remain as stored.
5694
5695
  ...text.split(/\r?\n/).map((key) => key.trim()).filter(Boolean)
5695
5696
  );
5696
5697
  }
5697
- const response = await new (0, _chunkVSAYSOVCjs.DeeplineClient)().runs.getReceipts(runId, {
5698
+ const response = await new (0, _chunkVYK23G2Cjs.DeeplineClient)().runs.getReceipts(runId, {
5698
5699
  keys
5699
5700
  });
5700
5701
  const failed = response.receipts.filter(
@@ -5706,7 +5707,7 @@ Existing credential redactions and referenced-list previews remain as stored.
5706
5707
  JSON.stringify(response, null, 2) + "\n",
5707
5708
  { flag: "wx", mode: 384 }
5708
5709
  );
5709
- _chunkGQXEHX5Xjs.printCommandEnvelope.call(void 0,
5710
+ _chunkY42UERUYjs.printCommandEnvelope.call(void 0,
5710
5711
  {
5711
5712
  runId,
5712
5713
  out: options.out,
@@ -5716,7 +5717,7 @@ Existing credential redactions and referenced-list previews remain as stored.
5716
5717
  { json: true }
5717
5718
  );
5718
5719
  } else {
5719
- _chunkGQXEHX5Xjs.printCommandEnvelope.call(void 0, { ...response }, { json: true });
5720
+ _chunkY42UERUYjs.printCommandEnvelope.call(void 0, { ...response }, { json: true });
5720
5721
  }
5721
5722
  if (failed)
5722
5723
  process.exitCode = response.receipts.some(
@@ -5755,7 +5756,7 @@ includes nextCommand when another page is available.
5755
5756
  { exitCode: 2 }
5756
5757
  );
5757
5758
  }
5758
- const page = await new (0, _chunkVSAYSOVCjs.DeeplineClient)().runs.children(parentRunId, {
5759
+ const page = await new (0, _chunkVYK23G2Cjs.DeeplineClient)().runs.children(parentRunId, {
5759
5760
  launchKey: options.launchKey,
5760
5761
  ...options.cursor !== void 0 ? { cursor: options.cursor } : {},
5761
5762
  limit
@@ -5771,7 +5772,7 @@ includes nextCommand when another page is available.
5771
5772
  String(limit),
5772
5773
  "--json"
5773
5774
  ].join(" ") : null;
5774
- _chunkGQXEHX5Xjs.printCommandEnvelope.call(void 0,
5775
+ _chunkY42UERUYjs.printCommandEnvelope.call(void 0,
5775
5776
  {
5776
5777
  parentRunId,
5777
5778
  launchKey: options.launchKey,
@@ -5807,7 +5808,7 @@ async function handleRunsHistory(options) {
5807
5808
  throw new Error("--limit must be a positive integer.");
5808
5809
  }
5809
5810
  }
5810
- const page = await new (0, _chunkVSAYSOVCjs.DeeplineClient)().runs.history({
5811
+ const page = await new (0, _chunkVYK23G2Cjs.DeeplineClient)().runs.history({
5811
5812
  cursor: options.cursor,
5812
5813
  orgId: options.org,
5813
5814
  search: options.search,
@@ -5823,7 +5824,7 @@ async function handleRunsHistory(options) {
5823
5824
  );
5824
5825
  }
5825
5826
  if (page.hasMore) lines.push(`Next cursor: ${page.nextCursor}`);
5826
- _chunkGQXEHX5Xjs.printCommandEnvelope.call(void 0,
5827
+ _chunkY42UERUYjs.printCommandEnvelope.call(void 0,
5827
5828
  { ...page, render: { sections: [{ title: "Run history", lines }] } },
5828
5829
  options.json ? { json: true } : {}
5829
5830
  );
@@ -6099,7 +6100,7 @@ function projectRunDatasetCell(value) {
6099
6100
  const logicalValue = parseSerializedDatasetValue(value);
6100
6101
  if (logicalValue === null || logicalValue === void 0) return logicalValue;
6101
6102
  if (typeof logicalValue === "object") {
6102
- return _chunkGQXEHX5Xjs.csvSafeJsonString.call(void 0, canonicalDatasetJson(logicalValue));
6103
+ return _chunkY42UERUYjs.csvSafeJsonString.call(void 0, canonicalDatasetJson(logicalValue));
6103
6104
  }
6104
6105
  return logicalValue;
6105
6106
  }
@@ -8907,7 +8908,7 @@ function renderOutcome(outcome) {
8907
8908
  function printResult2(input) {
8908
8909
  const failed = input.status === "failed" || input.status === "cancelled";
8909
8910
  if (failed) process.exitCode = 1;
8910
- _chunkGQXEHX5Xjs.printCommandEnvelope.call(void 0,
8911
+ _chunkY42UERUYjs.printCommandEnvelope.call(void 0,
8911
8912
  {
8912
8913
  deployment: { ...input.deployment, status: input.status },
8913
8914
  plays: input.outcomes,
@@ -8932,7 +8933,7 @@ async function handlePlaysDeploy(directory, options) {
8932
8933
  const root = await _promises.realpath.call(void 0, _path.resolve.call(void 0, _nullishCoalesce(directory, () => ( ".")))).catch(() => {
8933
8934
  throw new Error(`No such directory: ${_path.resolve.call(void 0, _nullishCoalesce(directory, () => ( ".")))}`);
8934
8935
  });
8935
- const { http, config } = _chunkGQXEHX5Xjs.getAuthedHttpClient.call(void 0, );
8936
+ const { http, config } = _chunkY42UERUYjs.getAuthedHttpClient.call(void 0, );
8936
8937
  const deliveryId = `local:${_crypto.randomUUID.call(void 0, )}`;
8937
8938
  const startDeployment = () => http.post("/api/v2/deployments", {
8938
8939
  deliveryId,
@@ -8959,7 +8960,7 @@ async function handlePlaysDeploy(directory, options) {
8959
8960
  },
8960
8961
  {
8961
8962
  bundle: bundleDeployPlayFile,
8962
- fetchImpl: _chunkFSZTWQFKjs.fetchWithDeploymentProtection,
8963
+ fetchImpl: _chunkURVZGYGGjs.fetchWithDeploymentProtection,
8963
8964
  // The plays are already here: "opening" the source is naming it.
8964
8965
  openSource: async () => ({
8965
8966
  open: async () => ({ repoRoot: root })
@@ -10059,7 +10060,7 @@ function playStatusErrorText(status) {
10059
10060
  function isRetryablePendingStartFailure(status) {
10060
10061
  if (status.status !== "failed") return false;
10061
10062
  if (status.runId && status.runId !== "pending") return false;
10062
- return _chunkVSAYSOVCjs.isTransientPlayRunReadError.call(void 0, new Error(playStatusErrorText(status)));
10063
+ return _chunkVYK23G2Cjs.isTransientPlayRunReadError.call(void 0, new Error(playStatusErrorText(status)));
10063
10064
  }
10064
10065
  function pendingStartFailureStatus(input) {
10065
10066
  const message = input.error instanceof Error ? input.error.message : String(input.error);
@@ -10086,13 +10087,13 @@ var PLAY_PROGRESS_HEARTBEAT_INTERVAL_MS = 15e3;
10086
10087
  var PLAY_STATUS_HEARTBEAT_INTERVAL_MS = 15e3;
10087
10088
  function watchSurfaceReaches(state, provenance, level) {
10088
10089
  const minimumLevel = _nullishCoalesce(state.logLevel, () => ( (state.verbose ? "debug" : "info")));
10089
- if (!_chunkVSAYSOVCjs.logLevelReaches.call(void 0, level, minimumLevel)) {
10090
+ if (!_chunkVYK23G2Cjs.logLevelReaches.call(void 0, level, minimumLevel)) {
10090
10091
  return false;
10091
10092
  }
10092
- if (_chunkVSAYSOVCjs.logProvenanceReaches.call(void 0, provenance, "watch")) {
10093
+ if (_chunkVYK23G2Cjs.logProvenanceReaches.call(void 0, provenance, "watch")) {
10093
10094
  return true;
10094
10095
  }
10095
- return state.verbose === true && _chunkVSAYSOVCjs.logProvenanceReaches.call(void 0, provenance, "debug");
10096
+ return state.verbose === true && _chunkVYK23G2Cjs.logProvenanceReaches.call(void 0, provenance, "debug");
10096
10097
  }
10097
10098
  function getEventPayload(event) {
10098
10099
  return event.payload && typeof event.payload === "object" ? event.payload : {};
@@ -10594,7 +10595,7 @@ function buildPlayDashboardUrl(baseUrl, playName) {
10594
10595
  }
10595
10596
  function openPlayDashboard(dashboardUrl, open2) {
10596
10597
  if (open2 && dashboardUrl) {
10597
- _chunkGQXEHX5Xjs.openInBrowser.call(void 0, dashboardUrl);
10598
+ _chunkY42UERUYjs.openInBrowser.call(void 0, dashboardUrl);
10598
10599
  }
10599
10600
  }
10600
10601
  function printPlayLogLines(input) {
@@ -10656,7 +10657,7 @@ async function waitForPlayCompletionByWatch(input) {
10656
10657
  billing: false
10657
10658
  });
10658
10659
  } catch (error) {
10659
- if (_chunkVSAYSOVCjs.isTransientPlayRunReadError.call(void 0, error) || isAdmittedRunVisibilityDelay(error)) {
10660
+ if (_chunkVYK23G2Cjs.isTransientPlayRunReadError.call(void 0, error) || isAdmittedRunVisibilityDelay(error)) {
10660
10661
  return null;
10661
10662
  }
10662
10663
  throw error;
@@ -10845,7 +10846,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
10845
10846
  billing: false
10846
10847
  });
10847
10848
  } catch (error) {
10848
- if (_chunkVSAYSOVCjs.isTransientPlayRunReadError.call(void 0, error)) {
10849
+ if (_chunkVYK23G2Cjs.isTransientPlayRunReadError.call(void 0, error)) {
10849
10850
  return null;
10850
10851
  }
10851
10852
  throw error;
@@ -11053,7 +11054,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
11053
11054
  lastPhase
11054
11055
  });
11055
11056
  }
11056
- if (lastKnownWorkflowId && _chunkVSAYSOVCjs.isTransientPlayRunReadError.call(void 0, error)) {
11057
+ if (lastKnownWorkflowId && _chunkVYK23G2Cjs.isTransientPlayRunReadError.call(void 0, error)) {
11057
11058
  if (timeout) {
11058
11059
  clearTimeout(timeout);
11059
11060
  }
@@ -11089,7 +11090,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
11089
11090
  onRunAdmitted: confirmAdmission
11090
11091
  });
11091
11092
  }
11092
- if (!lastKnownWorkflowId && _chunkVSAYSOVCjs.isTransientPlayRunReadError.call(void 0, error)) {
11093
+ if (!lastKnownWorkflowId && _chunkVYK23G2Cjs.isTransientPlayRunReadError.call(void 0, error)) {
11093
11094
  _chunkAYHLUHE5js.recordCliTrace.call(void 0, {
11094
11095
  phase: "cli.play_start_stream_transient_failure",
11095
11096
  ms: Date.now() - startedAt,
@@ -11188,7 +11189,7 @@ var BULKY_RETURN_KEYS = /* @__PURE__ */ new Set([
11188
11189
  "logs"
11189
11190
  ]);
11190
11191
  function formatPlayLogLine(rawLine, state) {
11191
- const classified = _chunkVSAYSOVCjs.classifyLogLine.call(void 0, rawLine);
11192
+ const classified = _chunkVYK23G2Cjs.classifyLogLine.call(void 0, rawLine);
11192
11193
  const line = classified.line;
11193
11194
  const timestampMatch = line.match(/^\[([^\]]+)\]\s*(.*)$/);
11194
11195
  const parsedTimestamp = _optionalChain([timestampMatch, 'optionalAccess', _344 => _344[1]]) ? new Date(timestampMatch[1]) : null;
@@ -11203,14 +11204,14 @@ function formatPlayLogLine(rawLine, state) {
11203
11204
  if (!state.verbose && isProviderRowWaitLogLine(line)) return null;
11204
11205
  const providerWait = formatProviderCapacityWaitLogLine(line);
11205
11206
  if (providerWait && !state.verbose) {
11206
- return _chunkVSAYSOVCjs.logLevelReaches.call(void 0, "warn", _nullishCoalesce(state.logLevel, () => ( "info"))) ? `${prefix}${providerWait}` : null;
11207
+ return _chunkVYK23G2Cjs.logLevelReaches.call(void 0, "warn", _nullishCoalesce(state.logLevel, () => ( "info"))) ? `${prefix}${providerWait}` : null;
11207
11208
  }
11208
11209
  const mapProgress = formatMapProgressDiagnosticLogLine(line);
11209
11210
  if (mapProgress && !state.verbose) {
11210
- return _chunkVSAYSOVCjs.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info"))) ? `${prefix}${mapProgress}` : null;
11211
+ return _chunkVYK23G2Cjs.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info"))) ? `${prefix}${mapProgress}` : null;
11211
11212
  }
11212
11213
  if (/\[worker\] picked up run\b/.test(message)) {
11213
- if (!_chunkVSAYSOVCjs.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info")))) {
11214
+ if (!_chunkVYK23G2Cjs.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info")))) {
11214
11215
  return null;
11215
11216
  }
11216
11217
  if (state.emittedRunnerStarted) {
@@ -11223,7 +11224,7 @@ function formatPlayLogLine(rawLine, state) {
11223
11224
  /^Starting map over (\d+) items with (\d+) fields \(key: ([^;]+); (\d+) already satisfied; (\d+) pending\)$/
11224
11225
  );
11225
11226
  if (mapStart) {
11226
- if (!_chunkVSAYSOVCjs.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info")))) {
11227
+ if (!_chunkVYK23G2Cjs.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info")))) {
11227
11228
  return null;
11228
11229
  }
11229
11230
  const [, rows, fields2, namespace, cached, pending] = mapStart;
@@ -11233,7 +11234,7 @@ function formatPlayLogLine(rawLine, state) {
11233
11234
  /^Map completed: (\d+) results \((\d+) executed, (\d+) already satisfied\)$/
11234
11235
  );
11235
11236
  if (mapDone) {
11236
- if (!_chunkVSAYSOVCjs.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info")))) {
11237
+ if (!_chunkVYK23G2Cjs.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info")))) {
11237
11238
  return null;
11238
11239
  }
11239
11240
  const [, results, executed, cached] = mapDone;
@@ -12522,7 +12523,7 @@ function formatRecentRunLogLines(value) {
12522
12523
  (line) => typeof line === "string"
12523
12524
  );
12524
12525
  if (tail.length === 0) return [];
12525
- const shown = tail.map((line) => _chunkVSAYSOVCjs.classifyLogLine.call(void 0, line)).filter(
12526
+ const shown = tail.map((line) => _chunkVYK23G2Cjs.classifyLogLine.call(void 0, line)).filter(
12526
12527
  (entry) => entry.level !== "debug" && !isProviderRowWaitLogLine(entry.line)
12527
12528
  ).slice(-8);
12528
12529
  const total = readNonNegativeInteger(logs.totalCount);
@@ -12802,7 +12803,7 @@ function writePlayResult(status, jsonOutput, options) {
12802
12803
  const hits = _nullishCoalesce(_optionalChain([options, 'optionalAccess', _425 => _425.hits]), () => ( null));
12803
12804
  if (jsonOutput) {
12804
12805
  const payload2 = _optionalChain([options, 'optionalAccess', _426 => _426.fullJson]) ? status.package ? buildRunOverview(status, status) : { ...buildRunLaunch(status), diagnostics: status } : buildRunLaunch(status);
12805
- _chunkGQXEHX5Xjs.printCommandEnvelope.call(void 0,
12806
+ _chunkY42UERUYjs.printCommandEnvelope.call(void 0,
12806
12807
  hits ? { ...payload2, hits } : payload2,
12807
12808
  { json: true, fields: _optionalChain([options, 'optionalAccess', _427 => _427.jsonFields]) }
12808
12809
  );
@@ -12818,7 +12819,7 @@ function writePlayResult(status, jsonOutput, options) {
12818
12819
  ...buildPlayCompletionTextLines(status),
12819
12820
  ...formatRunHitsLines(hits)
12820
12821
  ];
12821
- _chunkGQXEHX5Xjs.printCommandEnvelope.call(void 0, displayPackage, {
12822
+ _chunkY42UERUYjs.printCommandEnvelope.call(void 0, displayPackage, {
12822
12823
  json: false,
12823
12824
  text: `${lines2.join("\n")}
12824
12825
  `
@@ -12869,7 +12870,7 @@ function writePlayResult(status, jsonOutput, options) {
12869
12870
  lines.push(...buildBillingRollupTextLines(status));
12870
12871
  const compact = compactPlayStatus(status);
12871
12872
  const payload = _optionalChain([options, 'optionalAccess', _429 => _429.fullJson]) ? status : compact;
12872
- _chunkGQXEHX5Xjs.printCommandEnvelope.call(void 0,
12873
+ _chunkY42UERUYjs.printCommandEnvelope.call(void 0,
12873
12874
  {
12874
12875
  ...payload,
12875
12876
  render: {
@@ -13629,7 +13630,7 @@ function writeStartedPlayRun(input) {
13629
13630
  dashboardUrl: input.dashboardUrl,
13630
13631
  package: input.package
13631
13632
  };
13632
- _chunkGQXEHX5Xjs.printCommandEnvelope.call(void 0, buildRunLaunch(status), {
13633
+ _chunkY42UERUYjs.printCommandEnvelope.call(void 0, buildRunLaunch(status), {
13633
13634
  json: true,
13634
13635
  fields: input.jsonFields
13635
13636
  });
@@ -13651,7 +13652,7 @@ function writeStartedPlayRun(input) {
13651
13652
  input.progress.writeLine(output2, process.stdout);
13652
13653
  return;
13653
13654
  }
13654
- _chunkGQXEHX5Xjs.printCommandEnvelope.call(void 0, input.package, {
13655
+ _chunkY42UERUYjs.printCommandEnvelope.call(void 0, input.package, {
13655
13656
  json: false,
13656
13657
  text: `${output2}
13657
13658
  `
@@ -13680,7 +13681,7 @@ function writeStartedPlayRun(input) {
13680
13681
  ) ? [`Stop: deepline runs stop ${shellSingleQuote(input.runId)} --json`] : []
13681
13682
  ];
13682
13683
  if (input.jsonOutput) {
13683
- _chunkGQXEHX5Xjs.printCommandEnvelope.call(void 0, payload, { json: true, fields: input.jsonFields });
13684
+ _chunkY42UERUYjs.printCommandEnvelope.call(void 0, payload, { json: true, fields: input.jsonFields });
13684
13685
  return;
13685
13686
  }
13686
13687
  if (input.dashboardUrl) {
@@ -13691,7 +13692,7 @@ function writeStartedPlayRun(input) {
13691
13692
  input.progress.writeLine(output, process.stdout);
13692
13693
  return;
13693
13694
  }
13694
- _chunkGQXEHX5Xjs.printCommandEnvelope.call(void 0,
13695
+ _chunkY42UERUYjs.printCommandEnvelope.call(void 0,
13695
13696
  {
13696
13697
  ...payload,
13697
13698
  render: { sections: [{ title: "play run", lines }] }
@@ -13701,7 +13702,7 @@ function writeStartedPlayRun(input) {
13701
13702
  );
13702
13703
  }
13703
13704
  function parsePlayRunOptions(args) {
13704
- const selection = _chunkGQXEHX5Xjs.parseJsonFields.call(void 0, args, "run");
13705
+ const selection = _chunkY42UERUYjs.parseJsonFields.call(void 0, args, "run");
13705
13706
  args = selection.args;
13706
13707
  const usage2 = "Usage: deepline plays run <play-name> [--input '{...}'] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run <play-file.ts> [--input '{...}'] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run --file <play-file.ts> [--input '{...}'] [--profile <id>] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run --name <name> [--input '{...}'] [--profile <id>] [--live|--latest|--revision-id <id>] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--json] [--full] [--<input> value]\n Runs use the Absurd CJS runtime.\n --header '<name>: <value>' may repeat; each is sent on every request for this run.\n Unknown --<input> value flags, such as --limit 5, are passed into play input.\nRun `deepline plays run --help` for idempotent call caching and ctx.dataset guidance.";
13707
13708
  let filePath = null;
@@ -13710,7 +13711,7 @@ function parsePlayRunOptions(args) {
13710
13711
  let revisionId = null;
13711
13712
  let revisionSelector = null;
13712
13713
  const watch = !args.includes("--no-wait");
13713
- let jsonOutput = watch ? args.includes("--json") : _chunkGQXEHX5Xjs.argsWantJson.call(void 0, args);
13714
+ let jsonOutput = watch ? args.includes("--json") : _chunkY42UERUYjs.argsWantJson.call(void 0, args);
13714
13715
  const fullJson = args.includes("--full");
13715
13716
  const force = args.includes("--force");
13716
13717
  const forceToolRefresh = args.includes("--force-tool-refresh");
@@ -13757,7 +13758,7 @@ function parsePlayRunOptions(args) {
13757
13758
  "--log-level requires one of: debug, info, warn, error."
13758
13759
  );
13759
13760
  }
13760
- const parsed = _chunkVSAYSOVCjs.parseLogLevel.call(void 0, value);
13761
+ const parsed = _chunkVYK23G2Cjs.parseLogLevel.call(void 0, value);
13761
13762
  if (!parsed) {
13762
13763
  throw new Error(
13763
13764
  `Unsupported --log-level ${JSON.stringify(value)}. Use debug, info, warn, or error.`
@@ -13984,7 +13985,7 @@ function parsePlayRunOptions(args) {
13984
13985
  };
13985
13986
  }
13986
13987
  function parsePlayCheckOptions(args) {
13987
- const selection = _chunkGQXEHX5Xjs.parseJsonFields.call(void 0, args, "check");
13988
+ const selection = _chunkY42UERUYjs.parseJsonFields.call(void 0, args, "check");
13988
13989
  args = selection.args;
13989
13990
  const target = args[0];
13990
13991
  if (!target || target.startsWith("-")) {
@@ -13996,7 +13997,7 @@ function parsePlayCheckOptions(args) {
13996
13997
  if (arg !== "--json" && arg !== "--full")
13997
13998
  throw new Error(`Unknown plays check option: ${arg}`);
13998
13999
  }
13999
- const jsonOutput = _chunkGQXEHX5Xjs.argsWantJson.call(void 0, args);
14000
+ const jsonOutput = _chunkY42UERUYjs.argsWantJson.call(void 0, args);
14000
14001
  return {
14001
14002
  target,
14002
14003
  jsonOutput,
@@ -14072,7 +14073,7 @@ ${PLAY_PUBLISH_USAGE}`
14072
14073
  useLatest,
14073
14074
  expectedArtifactHash,
14074
14075
  dryRun,
14075
- jsonOutput: _chunkGQXEHX5Xjs.argsWantJson.call(void 0, args)
14076
+ jsonOutput: _chunkY42UERUYjs.argsWantJson.call(void 0, args)
14076
14077
  };
14077
14078
  }
14078
14079
  var PLAY_SAVE_USAGE = "Usage: deepline plays save <play-file.ts> [--expected-artifact <hash>] [--dry-run] [--json]";
@@ -14113,7 +14114,7 @@ ${PLAY_SAVE_USAGE}`);
14113
14114
  target,
14114
14115
  expectedArtifactHash,
14115
14116
  dryRun,
14116
- jsonOutput: _chunkGQXEHX5Xjs.argsWantJson.call(void 0, args)
14117
+ jsonOutput: _chunkY42UERUYjs.argsWantJson.call(void 0, args)
14117
14118
  };
14118
14119
  }
14119
14120
  function printScheduledPlayCapacity(capacity) {
@@ -14324,7 +14325,7 @@ function printBundledRuntimeWarning(bundle) {
14324
14325
  async function handlePlayCheck(args) {
14325
14326
  const options = parsePlayCheckOptions(args);
14326
14327
  if (!isFileTarget(options.target)) {
14327
- const client = new (0, _chunkVSAYSOVCjs.DeeplineClient)();
14328
+ const client = new (0, _chunkVYK23G2Cjs.DeeplineClient)();
14328
14329
  try {
14329
14330
  await assertCanonicalNamedPlayReference(client, options.target, {
14330
14331
  command: "check"
@@ -14353,7 +14354,7 @@ async function handlePlayCheck(args) {
14353
14354
  },
14354
14355
  ...options.full ? { diagnostics: { staticPipeline: _nullishCoalesce(play.staticPipeline, () => ( null)) } } : {}
14355
14356
  };
14356
- _chunkGQXEHX5Xjs.printCommandEnvelope.call(void 0, result, {
14357
+ _chunkY42UERUYjs.printCommandEnvelope.call(void 0, result, {
14357
14358
  json: options.jsonOutput,
14358
14359
  fields: options.jsonFields,
14359
14360
  text: renderPlayCheckOutput(result) + "\n"
@@ -14363,7 +14364,7 @@ async function handlePlayCheck(args) {
14363
14364
  const resolved = _path.resolve.call(void 0, options.target);
14364
14365
  const message = error instanceof Error && error.message ? error.message : `File not found: ${resolved}`;
14365
14366
  if (options.jsonOutput) {
14366
- _chunkGQXEHX5Xjs.printCommandEnvelope.call(void 0,
14367
+ _chunkY42UERUYjs.printCommandEnvelope.call(void 0,
14367
14368
  {
14368
14369
  kind: "play_check",
14369
14370
  checked: "named_contract",
@@ -14405,7 +14406,7 @@ async function handlePlayCheck(args) {
14405
14406
  detailsCommand: `deepline plays check ${shellQuote3(options.target)} --full --json`,
14406
14407
  publishCommand: _optionalChain([primary, 'optionalAccess', _475 => _475.result, 'access', _476 => _476.artifactHash]) ? `deepline plays publish ${shellQuote3(options.target)} --expected-artifact ${primary.result.artifactHash}` : void 0
14407
14408
  });
14408
- _chunkGQXEHX5Xjs.printCommandEnvelope.call(void 0, output, {
14409
+ _chunkY42UERUYjs.printCommandEnvelope.call(void 0, output, {
14409
14410
  json: options.jsonOutput,
14410
14411
  fields: options.jsonFields,
14411
14412
  text: renderPlayCheckOutput(output) + "\n"
@@ -14467,7 +14468,7 @@ async function checkOneExportedPlay(input) {
14467
14468
  result: { valid: false, errors: descriptionErrors }
14468
14469
  };
14469
14470
  }
14470
- const client = new (0, _chunkVSAYSOVCjs.DeeplineClient)();
14471
+ const client = new (0, _chunkVYK23G2Cjs.DeeplineClient)();
14471
14472
  const integrationMode = resolveEvalIntegrationMode();
14472
14473
  const importedPlays = [...graph.nodes.values()].filter((node) => node.filePath !== graph.root.filePath).map((node) => ({
14473
14474
  playName: node.playName,
@@ -14504,7 +14505,7 @@ async function handleFileBackedRun(options, hooks) {
14504
14505
  if (options.target.kind !== "file") {
14505
14506
  throw new Error("Expected a file-backed play run target.");
14506
14507
  }
14507
- const client = new (0, _chunkVSAYSOVCjs.DeeplineClient)(playRunClientOptions(options));
14508
+ const client = new (0, _chunkVYK23G2Cjs.DeeplineClient)(playRunClientOptions(options));
14508
14509
  const progress = _nullishCoalesce(_chunkWJYPBHTEjs.getActiveCliProgress.call(void 0, ), () => ( _chunkWJYPBHTEjs.createCliProgress.call(void 0, !options.jsonOutput)));
14509
14510
  const absolutePlayPath = _path.resolve.call(void 0, options.target.path);
14510
14511
  progress.phase("compiling play");
@@ -14718,7 +14719,7 @@ async function handleNamedRun(options, hooks) {
14718
14719
  if (options.target.kind !== "name") {
14719
14720
  throw new Error("Expected a named play run target.");
14720
14721
  }
14721
- const client = new (0, _chunkVSAYSOVCjs.DeeplineClient)(playRunClientOptions(options));
14722
+ const client = new (0, _chunkVYK23G2Cjs.DeeplineClient)(playRunClientOptions(options));
14722
14723
  const progress = _nullishCoalesce(_chunkWJYPBHTEjs.getActiveCliProgress.call(void 0, ), () => ( _chunkWJYPBHTEjs.createCliProgress.call(void 0, !options.jsonOutput)));
14723
14724
  const playName = options.target.name;
14724
14725
  const runtimeInput = options.input ? { ...options.input } : {};
@@ -15115,10 +15116,10 @@ function renderRunOverviewText(overview, extras = {}) {
15115
15116
  );
15116
15117
  return `${lines.join("\n")}
15117
15118
 
15118
- ${_chunkGQXEHX5Xjs.renderCommandEnvelopeText.call(void 0, { render: { sections, actions: actions2 } })}`;
15119
+ ${_chunkY42UERUYjs.renderCommandEnvelopeText.call(void 0, { render: { sections, actions: actions2 } })}`;
15119
15120
  }
15120
15121
  async function handleRunGet(args) {
15121
- const selection = _chunkGQXEHX5Xjs.parseJsonFields.call(void 0,
15122
+ const selection = _chunkY42UERUYjs.parseJsonFields.call(void 0,
15122
15123
  args,
15123
15124
  args.includes("--config") ? "config" : "get"
15124
15125
  );
@@ -15131,7 +15132,7 @@ async function handleRunGet(args) {
15131
15132
  console.error(error instanceof Error ? error.message : usage2);
15132
15133
  return 1;
15133
15134
  }
15134
- const client = new (0, _chunkVSAYSOVCjs.DeeplineClient)();
15135
+ const client = new (0, _chunkVYK23G2Cjs.DeeplineClient)();
15135
15136
  if (args.includes("--config")) {
15136
15137
  if (args.some((arg) => ["--input", "--full", "--log-failed"].includes(arg))) {
15137
15138
  console.error(
@@ -15145,7 +15146,7 @@ async function handleRunGet(args) {
15145
15146
  "This server does not support recorded configuration reads."
15146
15147
  );
15147
15148
  }
15148
- _chunkGQXEHX5Xjs.printCommandEnvelope.call(void 0,
15149
+ _chunkY42UERUYjs.printCommandEnvelope.call(void 0,
15149
15150
  { runId, contract: _nullishCoalesce(status2.contract, () => ( null)) },
15150
15151
  { json: true, fields: selection.fields }
15151
15152
  );
@@ -15153,7 +15154,7 @@ async function handleRunGet(args) {
15153
15154
  }
15154
15155
  if (args.includes("--input")) {
15155
15156
  const input = await client.getRunInput(runId);
15156
- _chunkGQXEHX5Xjs.printCommandEnvelope.call(void 0, input, { json: true });
15157
+ _chunkY42UERUYjs.printCommandEnvelope.call(void 0, input, { json: true });
15157
15158
  return 0;
15158
15159
  }
15159
15160
  const full = args.includes("--full");
@@ -15166,8 +15167,8 @@ async function handleRunGet(args) {
15166
15167
  full: true,
15167
15168
  failedLogs: args.includes("--log-failed")
15168
15169
  }) : status;
15169
- if (_chunkGQXEHX5Xjs.argsWantJson.call(void 0, args)) {
15170
- _chunkGQXEHX5Xjs.printCommandEnvelope.call(void 0,
15170
+ if (_chunkY42UERUYjs.argsWantJson.call(void 0, args)) {
15171
+ _chunkY42UERUYjs.printCommandEnvelope.call(void 0,
15171
15172
  full ? legacyStatus : compactPlayStatus(legacyStatus),
15172
15173
  { json: true, fields: selection.fields }
15173
15174
  );
@@ -15183,8 +15184,8 @@ async function handleRunGet(args) {
15183
15184
  readRunCredits(client, runId, !TERMINAL_PLAY_STATUSES.has(status.status))
15184
15185
  ]);
15185
15186
  const hitLines = formatRunHitsLines(hits);
15186
- const json = _chunkGQXEHX5Xjs.argsWantJson.call(void 0, args);
15187
- _chunkGQXEHX5Xjs.printCommandEnvelope.call(void 0,
15187
+ const json = _chunkY42UERUYjs.argsWantJson.call(void 0, args);
15188
+ _chunkY42UERUYjs.printCommandEnvelope.call(void 0,
15188
15189
  {
15189
15190
  ...overview,
15190
15191
  credits,
@@ -15287,9 +15288,9 @@ async function handleRunLifecycleStatus(args) {
15287
15288
  console.error(error instanceof Error ? error.message : usage2);
15288
15289
  return 1;
15289
15290
  }
15290
- const status = await new (0, _chunkVSAYSOVCjs.DeeplineClient)().runs.status(runId);
15291
- if (_chunkGQXEHX5Xjs.argsWantJson.call(void 0, args)) {
15292
- _chunkGQXEHX5Xjs.printCommandEnvelope.call(void 0, status, { json: true });
15291
+ const status = await new (0, _chunkVYK23G2Cjs.DeeplineClient)().runs.status(runId);
15292
+ if (_chunkY42UERUYjs.argsWantJson.call(void 0, args)) {
15293
+ _chunkY42UERUYjs.printCommandEnvelope.call(void 0, status, { json: true });
15293
15294
  return 0;
15294
15295
  }
15295
15296
  if (!status.available) {
@@ -15363,12 +15364,12 @@ async function handleRunsRerun(args) {
15363
15364
  index += 1;
15364
15365
  }
15365
15366
  }
15366
- const result = await new (0, _chunkVSAYSOVCjs.DeeplineClient)().runs.rerun(runId, {
15367
+ const result = await new (0, _chunkVYK23G2Cjs.DeeplineClient)().runs.rerun(runId, {
15367
15368
  ...idempotencyKey ? { idempotencyKey } : {},
15368
15369
  ...inputOverrides ? { inputOverrides } : {}
15369
15370
  });
15370
- if (_chunkGQXEHX5Xjs.argsWantJson.call(void 0, args)) {
15371
- _chunkGQXEHX5Xjs.printCommandEnvelope.call(void 0, result, { json: true });
15371
+ if (_chunkY42UERUYjs.argsWantJson.call(void 0, args)) {
15372
+ _chunkY42UERUYjs.printCommandEnvelope.call(void 0, result, { json: true });
15372
15373
  } else {
15373
15374
  console.log(
15374
15375
  result.deduplicated === true ? `
@@ -15384,8 +15385,9 @@ Rerun started from ${runId}${inputOverrides ? " with input overrides" : ""}.`
15384
15385
  return 0;
15385
15386
  }
15386
15387
  async function handleRunsList(args) {
15387
- const usage2 = "Usage: deepline runs list [--play <play-name>] [--status <status>] [--limit <count>] [--offset <count>] [--json]";
15388
+ const usage2 = "Usage: deepline runs list [--play <play-name>] [--node <mermaid-node-id>] [--status <status>] [--limit <count>] [--offset <count>] [--json]";
15388
15389
  let playName = null;
15390
+ let nodeId = null;
15389
15391
  let statusFilter = null;
15390
15392
  let limit;
15391
15393
  let offset;
@@ -15395,6 +15397,10 @@ async function handleRunsList(args) {
15395
15397
  playName = args[++index].trim();
15396
15398
  continue;
15397
15399
  }
15400
+ if (arg === "--node" && args[index + 1]) {
15401
+ nodeId = args[++index].trim();
15402
+ continue;
15403
+ }
15398
15404
  if (arg === "--status" && args[index + 1]) {
15399
15405
  statusFilter = args[++index].trim().toLowerCase();
15400
15406
  continue;
@@ -15433,22 +15439,27 @@ ${usage2}
15433
15439
  Discover Plays: ${next.discover}
15434
15440
  Active runs: ${next.running}`
15435
15441
  );
15436
- if (_chunkGQXEHX5Xjs.argsWantJson.call(void 0, args)) {
15437
- _chunkGQXEHX5Xjs.printCommandEnvelope.call(void 0,
15442
+ if (_chunkY42UERUYjs.argsWantJson.call(void 0, args)) {
15443
+ _chunkY42UERUYjs.printCommandEnvelope.call(void 0,
15438
15444
  { ok: false, exitCode: 1, code: "RUN_FILTER_REQUIRED", message, next },
15439
15445
  { json: true }
15440
15446
  );
15441
15447
  }
15442
15448
  return 1;
15443
15449
  }
15450
+ if (nodeId && !playName) {
15451
+ console.error("--node requires --play.");
15452
+ return 1;
15453
+ }
15444
15454
  if ((_nullishCoalesce(offset, () => ( 0))) > 0 && !playName) {
15445
15455
  console.error("--offset requires --play.");
15446
15456
  return 1;
15447
15457
  }
15448
- const client = new (0, _chunkVSAYSOVCjs.DeeplineClient)();
15458
+ const client = new (0, _chunkVYK23G2Cjs.DeeplineClient)();
15449
15459
  const page = await client.runs.listPage({
15450
15460
  ...playName ? { play: playName } : {},
15451
15461
  ...statusFilter ? { status: statusFilter } : {},
15462
+ ...nodeId ? { node: nodeId } : {},
15452
15463
  ...limit !== void 0 ? { limit } : {},
15453
15464
  ...offset !== void 0 ? { offset } : {}
15454
15465
  });
@@ -15473,7 +15484,8 @@ Active runs: ${next.running}`
15473
15484
  executionTime: run.executionTime,
15474
15485
  billingTotalCredits: run.billingTotalCredits,
15475
15486
  billingMaxCreditsPerRun: run.billingMaxCreditsPerRun,
15476
- playName: _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(run.playName, () => ( _optionalChain([run, 'access', _512 => _512.memo, 'optionalAccess', _513 => _513.playName]))), () => ( playName)), () => ( null))
15487
+ playName: _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(run.playName, () => ( _optionalChain([run, 'access', _512 => _512.memo, 'optionalAccess', _513 => _513.playName]))), () => ( playName)), () => ( null)),
15488
+ ...nodeId ? { nodeObservation: _nullishCoalesce(run.nodeObservation, () => ( null)) } : {}
15477
15489
  }));
15478
15490
  const lines = runs.length === 0 ? [
15479
15491
  playName ? `No runs found for ${playName}.` : `No runs found for status ${statusFilter}.`
@@ -15488,6 +15500,19 @@ Active runs: ${next.running}`
15488
15500
  ];
15489
15501
  if (run.parentRunId) lines2.push(` parent: ${run.parentRunId}`);
15490
15502
  if (run.rootRunId) lines2.push(` root: ${run.rootRunId}`);
15503
+ if (nodeId && run.nodeObservation) {
15504
+ lines2.push(
15505
+ ` node ${nodeId} (${run.nodeObservation.status}, attempt ${run.nodeObservation.attempt})`
15506
+ );
15507
+ lines2.push(
15508
+ ` input: ${JSON.stringify(_nullishCoalesce(run.nodeObservation.inputs, () => ( {})))}`
15509
+ );
15510
+ lines2.push(
15511
+ ` output: ${JSON.stringify(_nullishCoalesce(run.nodeObservation.outputs, () => ( {})))}`
15512
+ );
15513
+ } else if (nodeId) {
15514
+ lines2.push(` node ${nodeId}: not recorded`);
15515
+ }
15491
15516
  return lines2.join("\n");
15492
15517
  });
15493
15518
  const nextOffset = (_nullishCoalesce(_nullishCoalesce(page.offset, () => ( offset)), () => ( 0))) + runs.length;
@@ -15498,7 +15523,7 @@ Active runs: ${next.running}`
15498
15523
  nextPage ? `Next page: ${nextPage}` : "Narrow with --play <play-name> to page through runs."
15499
15524
  );
15500
15525
  }
15501
- _chunkGQXEHX5Xjs.printCommandEnvelope.call(void 0,
15526
+ _chunkY42UERUYjs.printCommandEnvelope.call(void 0,
15502
15527
  {
15503
15528
  runs,
15504
15529
  count: runs.length,
@@ -15512,7 +15537,7 @@ Active runs: ${next.running}`
15512
15537
  },
15513
15538
  render: { sections: [{ title: "runs", lines }] }
15514
15539
  },
15515
- { json: _chunkGQXEHX5Xjs.argsWantJson.call(void 0, args) }
15540
+ { json: _chunkY42UERUYjs.argsWantJson.call(void 0, args) }
15516
15541
  );
15517
15542
  return 0;
15518
15543
  }
@@ -15542,7 +15567,7 @@ async function handleRunTail(args) {
15542
15567
  console.error("--log-level requires one of: debug, info, warn, error.");
15543
15568
  return 1;
15544
15569
  }
15545
- const parsed = _chunkVSAYSOVCjs.parseLogLevel.call(void 0, value);
15570
+ const parsed = _chunkVYK23G2Cjs.parseLogLevel.call(void 0, value);
15546
15571
  if (!parsed) {
15547
15572
  console.error(
15548
15573
  `Unsupported --log-level ${JSON.stringify(value)}. Use debug, info, warn, or error.`
@@ -15580,9 +15605,9 @@ async function handleRunTail(args) {
15580
15605
  );
15581
15606
  return 1;
15582
15607
  }
15583
- const client = new (0, _chunkVSAYSOVCjs.DeeplineClient)();
15608
+ const client = new (0, _chunkVYK23G2Cjs.DeeplineClient)();
15584
15609
  const jsonLines = args.includes("--jsonl");
15585
- const jsonOutput = !jsonLines && _chunkGQXEHX5Xjs.argsWantJson.call(void 0, args);
15610
+ const jsonOutput = !jsonLines && _chunkY42UERUYjs.argsWantJson.call(void 0, args);
15586
15611
  const compact = args.includes("--compact");
15587
15612
  const showLiveLogs = debug || hasExplicitLogLevel || !jsonOutput && !compact;
15588
15613
  const compactState = {
@@ -15663,7 +15688,7 @@ async function handleRunLogs(args) {
15663
15688
  ]);
15664
15689
  const cursorIndex = args.indexOf("--cursor");
15665
15690
  const cursorValue = cursorIndex >= 0 ? args[cursorIndex + 1] : void 0;
15666
- const continuesEventSearch = cursorIndex >= 0 && !(cursorValue && _chunkVSAYSOVCjs.isRunLogsCursor.call(void 0, cursorValue));
15691
+ const continuesEventSearch = cursorIndex >= 0 && !(cursorValue && _chunkVYK23G2Cjs.isRunLogsCursor.call(void 0, cursorValue));
15667
15692
  if (!args[0] || args[0].startsWith("--") || continuesEventSearch || args.some((arg) => searchFlags.has(arg))) {
15668
15693
  return handleRunEventSearch(args);
15669
15694
  }
@@ -15697,7 +15722,7 @@ async function handleRunLogs(args) {
15697
15722
  console.error("--log-level requires one of: debug, info, warn, error.");
15698
15723
  return 1;
15699
15724
  }
15700
- const parsed = _chunkVSAYSOVCjs.parseLogLevel.call(void 0, value);
15725
+ const parsed = _chunkVYK23G2Cjs.parseLogLevel.call(void 0, value);
15701
15726
  if (!parsed) {
15702
15727
  console.error(
15703
15728
  `Unsupported --log-level ${JSON.stringify(value)}. Use debug, info, warn, or error.`
@@ -15744,12 +15769,12 @@ async function handleRunLogs(args) {
15744
15769
  );
15745
15770
  return 1;
15746
15771
  }
15747
- const client = new (0, _chunkVSAYSOVCjs.DeeplineClient)();
15772
+ const client = new (0, _chunkVYK23G2Cjs.DeeplineClient)();
15748
15773
  if (outPath) {
15749
15774
  const result2 = await client.runs.logs(runId, { all: true });
15750
- const logs = result2.entries.filter((line) => _chunkVSAYSOVCjs.logLevelReaches.call(void 0, _chunkVSAYSOVCjs.classifyLogLine.call(void 0, line).level, logLevel)).map((line) => _chunkVSAYSOVCjs.classifyLogLine.call(void 0, line).line);
15775
+ const logs = result2.entries.filter((line) => _chunkVYK23G2Cjs.logLevelReaches.call(void 0, _chunkVYK23G2Cjs.classifyLogLine.call(void 0, line).level, logLevel)).map((line) => _chunkVYK23G2Cjs.classifyLogLine.call(void 0, line).line);
15751
15776
  _fs.writeFileSync.call(void 0, outPath, `${logs.join("\n")}${logs.length > 0 ? "\n" : ""}`);
15752
- _chunkGQXEHX5Xjs.printCommandEnvelope.call(void 0,
15777
+ _chunkY42UERUYjs.printCommandEnvelope.call(void 0,
15753
15778
  {
15754
15779
  runId: result2.runId,
15755
15780
  log_path: outPath,
@@ -15772,7 +15797,7 @@ async function handleRunLogs(args) {
15772
15797
  ]
15773
15798
  }
15774
15799
  },
15775
- { json: _chunkGQXEHX5Xjs.argsWantJson.call(void 0, args) }
15800
+ { json: _chunkY42UERUYjs.argsWantJson.call(void 0, args) }
15776
15801
  );
15777
15802
  return 0;
15778
15803
  }
@@ -15803,7 +15828,7 @@ async function handleRunLogs(args) {
15803
15828
  }
15804
15829
  };
15805
15830
  const text = buildRunLogsText(filteredResult);
15806
- _chunkGQXEHX5Xjs.printCommandEnvelope.call(void 0,
15831
+ _chunkY42UERUYjs.printCommandEnvelope.call(void 0,
15807
15832
  {
15808
15833
  runId: result.runId,
15809
15834
  totalCount: result.totalCount,
@@ -15827,7 +15852,7 @@ async function handleRunLogs(args) {
15827
15852
  render: { sections: [{ title: "run logs", lines: entries }] }
15828
15853
  },
15829
15854
  {
15830
- json: _chunkGQXEHX5Xjs.argsWantJson.call(void 0, args),
15855
+ json: _chunkY42UERUYjs.argsWantJson.call(void 0, args),
15831
15856
  text
15832
15857
  }
15833
15858
  );
@@ -15851,7 +15876,7 @@ function selectRunLogTailPage(result, logLevel, limit) {
15851
15876
  );
15852
15877
  }
15853
15878
  const matching = result.entries.map((line, index) => ({ line, seq: first + index })).filter(
15854
- (entry) => _chunkVSAYSOVCjs.logLevelReaches.call(void 0, _chunkVSAYSOVCjs.classifyLogLine.call(void 0, entry.line).level, logLevel)
15879
+ (entry) => _chunkVYK23G2Cjs.logLevelReaches.call(void 0, _chunkVYK23G2Cjs.classifyLogLine.call(void 0, entry.line).level, logLevel)
15855
15880
  );
15856
15881
  const selected = matching.slice(-limit);
15857
15882
  const olderMatchesExist = matching.length > selected.length;
@@ -15861,7 +15886,7 @@ function selectRunLogTailPage(result, logLevel, limit) {
15861
15886
  lastSequence: _nullishCoalesce(_optionalChain([selected, 'access', _518 => _518.at, 'call', _519 => _519(-1), 'optionalAccess', _520 => _520.seq]), () => ( null)),
15862
15887
  truncated: result.truncated || olderMatchesExist,
15863
15888
  hasMore: olderMatchesExist,
15864
- nextCursor: olderMatchesExist ? _chunkVSAYSOVCjs.encodeRunLogsCursor.call(void 0, selected[0].seq) : null
15889
+ nextCursor: olderMatchesExist ? _chunkVYK23G2Cjs.encodeRunLogsCursor.call(void 0, selected[0].seq) : null
15865
15890
  };
15866
15891
  }
15867
15892
  async function handleRunEventSearch(args) {
@@ -15928,7 +15953,7 @@ ${usage2}`);
15928
15953
  namespace,
15929
15954
  ...backend ? { backend } : {}
15930
15955
  } : void 0;
15931
- const client = new (0, _chunkVSAYSOVCjs.DeeplineClient)();
15956
+ const client = new (0, _chunkVYK23G2Cjs.DeeplineClient)();
15932
15957
  const result = await client.runs.searchEvents({
15933
15958
  ...runId ? { runId } : {},
15934
15959
  ...values["--since"] ? { since: values["--since"] } : {},
@@ -16001,7 +16026,7 @@ ${renderedDetails}` : ""}`;
16001
16026
  String(limit),
16002
16027
  "--json"
16003
16028
  ].join(" ") : null;
16004
- _chunkGQXEHX5Xjs.printCommandEnvelope.call(void 0,
16029
+ _chunkY42UERUYjs.printCommandEnvelope.call(void 0,
16005
16030
  {
16006
16031
  events,
16007
16032
  nextCursor: result.nextCursor,
@@ -16012,14 +16037,14 @@ ${renderedDetails}` : ""}`;
16012
16037
  render: { sections: [{ title: "runtime events", lines }] }
16013
16038
  },
16014
16039
  {
16015
- json: _chunkGQXEHX5Xjs.argsWantJson.call(void 0, args),
16040
+ json: _chunkY42UERUYjs.argsWantJson.call(void 0, args),
16016
16041
  text: `${lines.join("\n")}${lines.length ? "\n" : ""}`
16017
16042
  }
16018
16043
  );
16019
16044
  return 0;
16020
16045
  }
16021
16046
  function buildRunLogsText(result) {
16022
- const lines = result.entries.map((line) => _chunkVSAYSOVCjs.classifyLogLine.call(void 0, line).line);
16047
+ const lines = result.entries.map((line) => _chunkVYK23G2Cjs.classifyLogLine.call(void 0, line).line);
16023
16048
  if (result.warning) {
16024
16049
  if (lines.length > 0) lines.push("");
16025
16050
  lines.push(`warning: ${result.warning}`);
@@ -16053,7 +16078,7 @@ async function handleRunStop(args) {
16053
16078
  reason = args[++index];
16054
16079
  }
16055
16080
  }
16056
- const client = new (0, _chunkVSAYSOVCjs.DeeplineClient)();
16081
+ const client = new (0, _chunkVYK23G2Cjs.DeeplineClient)();
16057
16082
  const result = await client.runs.stop(runId, { reason });
16058
16083
  const state = resolveRunStopState(result);
16059
16084
  const hitlCleanupIncomplete = state === "cancelling" && result.hitlCancellationPending === true;
@@ -16068,7 +16093,7 @@ async function handleRunStop(args) {
16068
16093
  ...result.hitlCancelledCount > 0 ? [`cancelled HITL waits: ${result.hitlCancelledCount}`] : [],
16069
16094
  `inspect: deepline runs get ${runId} --full --json`
16070
16095
  ];
16071
- _chunkGQXEHX5Xjs.printCommandEnvelope.call(void 0,
16096
+ _chunkY42UERUYjs.printCommandEnvelope.call(void 0,
16072
16097
  {
16073
16098
  ...cancelling,
16074
16099
  state,
@@ -16083,7 +16108,7 @@ async function handleRunStop(args) {
16083
16108
  ]
16084
16109
  }
16085
16110
  },
16086
- { json: _chunkGQXEHX5Xjs.argsWantJson.call(void 0, args) }
16111
+ { json: _chunkY42UERUYjs.argsWantJson.call(void 0, args) }
16087
16112
  );
16088
16113
  return 0;
16089
16114
  }
@@ -16100,7 +16125,7 @@ async function handleRunStop(args) {
16100
16125
  ];
16101
16126
  process.stderr.write(`${lines2.join("\n")}
16102
16127
  `);
16103
- _chunkGQXEHX5Xjs.printCommandEnvelope.call(void 0,
16128
+ _chunkY42UERUYjs.printCommandEnvelope.call(void 0,
16104
16129
  {
16105
16130
  ...result,
16106
16131
  render: {
@@ -16115,7 +16140,7 @@ async function handleRunStop(args) {
16115
16140
  ]
16116
16141
  }
16117
16142
  },
16118
- { json: _chunkGQXEHX5Xjs.argsWantJson.call(void 0, args) }
16143
+ { json: _chunkY42UERUYjs.argsWantJson.call(void 0, args) }
16119
16144
  );
16120
16145
  return 1;
16121
16146
  }
@@ -16126,12 +16151,12 @@ async function handleRunStop(args) {
16126
16151
  `warning: HITL cancellation or Slack card refresh is still pending; retry 'deepline runs stop ${runId}'`
16127
16152
  ] : []
16128
16153
  ];
16129
- _chunkGQXEHX5Xjs.printCommandEnvelope.call(void 0,
16154
+ _chunkY42UERUYjs.printCommandEnvelope.call(void 0,
16130
16155
  {
16131
16156
  ...result,
16132
16157
  render: { sections: [{ title: "run stop", lines }] }
16133
16158
  },
16134
- { json: _chunkGQXEHX5Xjs.argsWantJson.call(void 0, args) }
16159
+ { json: _chunkY42UERUYjs.argsWantJson.call(void 0, args) }
16135
16160
  );
16136
16161
  return 0;
16137
16162
  }
@@ -16181,18 +16206,18 @@ async function handleRunStopAll(args) {
16181
16206
  reason = args[++index];
16182
16207
  }
16183
16208
  }
16184
- const client = new (0, _chunkVSAYSOVCjs.DeeplineClient)();
16209
+ const client = new (0, _chunkVYK23G2Cjs.DeeplineClient)();
16185
16210
  if (dryRun) {
16186
16211
  const result2 = await client.runs.stopAll({ dryRun: true, reason });
16187
16212
  const lines2 = buildStopAllDryRunTextLines(result2);
16188
- _chunkGQXEHX5Xjs.printCommandEnvelope.call(void 0,
16213
+ _chunkY42UERUYjs.printCommandEnvelope.call(void 0,
16189
16214
  {
16190
16215
  ...result2,
16191
16216
  render: {
16192
16217
  sections: [{ title: "workspace stop-all (dry run)", lines: lines2 }]
16193
16218
  }
16194
16219
  },
16195
- { json: _chunkGQXEHX5Xjs.argsWantJson.call(void 0, args), text: `${lines2.join("\n")}
16220
+ { json: _chunkY42UERUYjs.argsWantJson.call(void 0, args), text: `${lines2.join("\n")}
16196
16221
  ` }
16197
16222
  );
16198
16223
  return 0;
@@ -16205,17 +16230,17 @@ async function handleRunStopAll(args) {
16205
16230
  ...result.failed > 0 ? [`failed stops: ${result.failed}`] : [],
16206
16231
  ...result.skipped > 0 ? [`skipped: ${result.skipped}`] : []
16207
16232
  ];
16208
- _chunkGQXEHX5Xjs.printCommandEnvelope.call(void 0,
16233
+ _chunkY42UERUYjs.printCommandEnvelope.call(void 0,
16209
16234
  {
16210
16235
  ...result,
16211
16236
  render: { sections: [{ title: "workspace stop-all", lines }] }
16212
16237
  },
16213
- { json: _chunkGQXEHX5Xjs.argsWantJson.call(void 0, args) }
16238
+ { json: _chunkY42UERUYjs.argsWantJson.call(void 0, args) }
16214
16239
  );
16215
16240
  return result.failed > 0 || result.partial ? 1 : 0;
16216
16241
  }
16217
16242
  async function handleRunExport(args) {
16218
- const selection = _chunkGQXEHX5Xjs.parseJsonFields.call(void 0, args, "export");
16243
+ const selection = _chunkY42UERUYjs.parseJsonFields.call(void 0, args, "export");
16219
16244
  args = selection.args;
16220
16245
  const usage2 = "Usage: deepline runs export <run-id> [--dataset result.rows] --out <path> [--format csv|json] [--wait] [--timeout-ms 300000] [--metadata-out export.json] [--json]";
16221
16246
  let runId;
@@ -16274,16 +16299,16 @@ async function handleRunExport(args) {
16274
16299
  "INVALID_ARGUMENT"
16275
16300
  );
16276
16301
  }
16277
- const client = new (0, _chunkVSAYSOVCjs.DeeplineClient)();
16302
+ const client = new (0, _chunkVYK23G2Cjs.DeeplineClient)();
16278
16303
  let status = await client.getPlayStatus(runId, { full: true });
16279
16304
  if (wait && !TERMINAL_PLAY_STATUSES.has(status.status)) {
16280
- const progress = _chunkWJYPBHTEjs.createCliProgress.call(void 0, !_chunkGQXEHX5Xjs.argsWantJson.call(void 0, args));
16305
+ const progress = _chunkWJYPBHTEjs.createCliProgress.call(void 0, !_chunkY42UERUYjs.argsWantJson.call(void 0, args));
16281
16306
  try {
16282
16307
  await waitForPlayCompletionByWatch({
16283
16308
  client,
16284
16309
  playName: _nullishCoalesce(extractRunPlayName(status), () => ( runId)),
16285
16310
  workflowId: runId,
16286
- jsonOutput: _chunkGQXEHX5Xjs.argsWantJson.call(void 0, args),
16311
+ jsonOutput: _chunkY42UERUYjs.argsWantJson.call(void 0, args),
16287
16312
  emitLogs: false,
16288
16313
  waitTimeoutMs,
16289
16314
  startedAt: Date.now(),
@@ -16382,8 +16407,8 @@ async function handleRunExport(args) {
16382
16407
  "utf-8"
16383
16408
  );
16384
16409
  }
16385
- _chunkGQXEHX5Xjs.printCommandEnvelope.call(void 0, payload, {
16386
- json: _chunkGQXEHX5Xjs.argsWantJson.call(void 0, args),
16410
+ _chunkY42UERUYjs.printCommandEnvelope.call(void 0, payload, {
16411
+ json: _chunkY42UERUYjs.argsWantJson.call(void 0, args),
16387
16412
  fields: selection.fields,
16388
16413
  text: `${lines.join("\n")}
16389
16414
  `
@@ -16404,10 +16429,10 @@ async function handlePlayGet(args) {
16404
16429
  );
16405
16430
  return 2;
16406
16431
  }
16407
- const client = new (0, _chunkVSAYSOVCjs.DeeplineClient)();
16432
+ const client = new (0, _chunkVYK23G2Cjs.DeeplineClient)();
16408
16433
  const explicitJson = args.includes("--json");
16409
16434
  const sourceOutput = args.includes("--source");
16410
- const jsonOutput = sourceOutput ? explicitJson : _chunkGQXEHX5Xjs.argsWantJson.call(void 0, args);
16435
+ const jsonOutput = sourceOutput ? explicitJson : _chunkY42UERUYjs.argsWantJson.call(void 0, args);
16411
16436
  const requestedRevisionFlags = [
16412
16437
  args.includes("--working"),
16413
16438
  args.includes("--live"),
@@ -16467,7 +16492,7 @@ async function handlePlayGet(args) {
16467
16492
  }
16468
16493
  const loadedMessage = materializedFile ? formatLoadedPlayMessage(materializedFile) : null;
16469
16494
  if (jsonOutput) {
16470
- _chunkGQXEHX5Xjs.printCompactJson.call(void 0, {
16495
+ _chunkY42UERUYjs.printCompactJson.call(void 0, {
16471
16496
  ...detail,
16472
16497
  ...materializedFile ? {
16473
16498
  message: loadedMessage,
@@ -16554,8 +16579,8 @@ async function handlePlayVersions(args) {
16554
16579
  console.error("Usage: deepline plays versions --name <name> [--json]");
16555
16580
  return 1;
16556
16581
  }
16557
- const client = new (0, _chunkVSAYSOVCjs.DeeplineClient)();
16558
- const jsonOutput = _chunkGQXEHX5Xjs.argsWantJson.call(void 0, args);
16582
+ const client = new (0, _chunkVYK23G2Cjs.DeeplineClient)();
16583
+ const jsonOutput = _chunkY42UERUYjs.argsWantJson.call(void 0, args);
16559
16584
  await assertCanonicalNamedPlayReference(client, playName, {
16560
16585
  command: "versions"
16561
16586
  });
@@ -16563,7 +16588,7 @@ async function handlePlayVersions(args) {
16563
16588
  parseReferencedPlayTarget2(playName).playName
16564
16589
  );
16565
16590
  if (jsonOutput) {
16566
- _chunkGQXEHX5Xjs.printCompactJson.call(void 0, { versions });
16591
+ _chunkY42UERUYjs.printCompactJson.call(void 0, { versions });
16567
16592
  return 0;
16568
16593
  }
16569
16594
  if (versions.length === 0) {
@@ -16595,9 +16620,9 @@ var PREBUILT_PLAY_TAG_KEYS = [
16595
16620
  "signals"
16596
16621
  ];
16597
16622
  async function handlePlayList(args) {
16598
- const jsonOutput = _chunkGQXEHX5Xjs.argsWantJson.call(void 0, args);
16623
+ const jsonOutput = _chunkY42UERUYjs.argsWantJson.call(void 0, args);
16599
16624
  const showCost = args.includes("--show-cost");
16600
- const client = new (0, _chunkVSAYSOVCjs.DeeplineClient)();
16625
+ const client = new (0, _chunkVYK23G2Cjs.DeeplineClient)();
16601
16626
  const categoriesIndex = args.indexOf("--categories");
16602
16627
  const categories = categoriesIndex >= 0 ? _optionalChain([args, 'access', _556 => _556[categoriesIndex + 1], 'optionalAccess', _557 => _557.trim, 'call', _558 => _558()]) : void 0;
16603
16628
  const tags = args.flatMap((arg, index) => arg === "--tag" ? [args[index + 1]] : []).flatMap((value) => (_nullishCoalesce(value, () => ( ""))).split(",")).map((value) => value.trim()).filter(Boolean);
@@ -16694,7 +16719,7 @@ async function handlePlayList(args) {
16694
16719
  lines.push("List truncated \u2014 more plays are available.");
16695
16720
  lines.push(`Next page: ${nextPage}`);
16696
16721
  }
16697
- _chunkGQXEHX5Xjs.printCommandEnvelope.call(void 0,
16722
+ _chunkY42UERUYjs.printCommandEnvelope.call(void 0,
16698
16723
  {
16699
16724
  plays,
16700
16725
  count: plays.length,
@@ -16712,7 +16737,7 @@ async function handlePlayList(args) {
16712
16737
  }
16713
16738
  async function handlePlayPin(args, pinned) {
16714
16739
  const target = _optionalChain([args, 'access', _565 => _565.find, 'call', _566 => _566((arg) => !arg.startsWith("-")), 'optionalAccess', _567 => _567.trim, 'call', _568 => _568()]);
16715
- const jsonOutput = _chunkGQXEHX5Xjs.argsWantJson.call(void 0, args);
16740
+ const jsonOutput = _chunkY42UERUYjs.argsWantJson.call(void 0, args);
16716
16741
  const dryRun = args.includes("--dry-run");
16717
16742
  if (!target) {
16718
16743
  console.error(
@@ -16730,11 +16755,11 @@ async function handlePlayPin(args, pinned) {
16730
16755
  const name = parsedTarget.playName;
16731
16756
  const plan = { name, pinned, dryRun };
16732
16757
  if (dryRun) {
16733
- _chunkGQXEHX5Xjs.printCompactJson.call(void 0, plan);
16758
+ _chunkY42UERUYjs.printCompactJson.call(void 0, plan);
16734
16759
  return 0;
16735
16760
  }
16736
- const result = await new (0, _chunkVSAYSOVCjs.DeeplineClient)().setPlayPinned(name, pinned);
16737
- if (jsonOutput) _chunkGQXEHX5Xjs.printCompactJson.call(void 0, result);
16761
+ const result = await new (0, _chunkVYK23G2Cjs.DeeplineClient)().setPlayPinned(name, pinned);
16762
+ if (jsonOutput) _chunkY42UERUYjs.printCompactJson.call(void 0, result);
16738
16763
  else console.log(`${result.pinned ? "Pinned" : "Unpinned"} ${result.name}.`);
16739
16764
  return 0;
16740
16765
  }
@@ -16750,7 +16775,7 @@ function csvColumnLines(csvInput) {
16750
16775
  const headers = [defaults[column]].flat().filter((header) => header && header !== column);
16751
16776
  return `${column}${required.has(column) ? " (required)" : ""}${headers.length > 0 ? `, default header: ${headers.join(" or ")}` : ""}`;
16752
16777
  }),
16753
- _chunkVSAYSOVCjs.CSV_HEADER_MATCHING_NOTE
16778
+ _chunkVYK23G2Cjs.CSV_HEADER_MATCHING_NOTE
16754
16779
  ];
16755
16780
  }
16756
16781
  function describedPlay(play) {
@@ -16894,12 +16919,12 @@ async function handlePlayGrep(args) {
16894
16919
  console.error("Usage: deepline plays grep <query> [--json]");
16895
16920
  return 1;
16896
16921
  }
16897
- const client = new (0, _chunkVSAYSOVCjs.DeeplineClient)();
16922
+ const client = new (0, _chunkVYK23G2Cjs.DeeplineClient)();
16898
16923
  const results = (await client.listPlays({ grep: query })).map(
16899
16924
  summarizePlayGrepResult
16900
16925
  );
16901
- if (_chunkGQXEHX5Xjs.argsWantJson.call(void 0, args)) {
16902
- _chunkGQXEHX5Xjs.printCompactJson.call(void 0, {
16926
+ if (_chunkY42UERUYjs.argsWantJson.call(void 0, args)) {
16927
+ _chunkY42UERUYjs.printCompactJson.call(void 0, {
16903
16928
  plays: results,
16904
16929
  count: results.length,
16905
16930
  query,
@@ -16922,7 +16947,7 @@ async function handlePlayGrep(args) {
16922
16947
  return 0;
16923
16948
  }
16924
16949
  async function handlePlayDescribe(args) {
16925
- const selection = _chunkGQXEHX5Xjs.parseJsonFields.call(void 0, args, "describe");
16950
+ const selection = _chunkY42UERUYjs.parseJsonFields.call(void 0, args, "describe");
16926
16951
  args = selection.args;
16927
16952
  const playName = args[0];
16928
16953
  if (!playName) {
@@ -16956,8 +16981,8 @@ async function handlePlayDescribe(args) {
16956
16981
  `deepline plays check ${playName}`,
16957
16982
  ...definedName ? [`deepline describe <workspace>/${definedName}`] : []
16958
16983
  ];
16959
- if (_chunkGQXEHX5Xjs.argsWantJson.call(void 0, args)) {
16960
- _chunkGQXEHX5Xjs.printCompactJson.call(void 0, {
16984
+ if (_chunkY42UERUYjs.argsWantJson.call(void 0, args)) {
16985
+ _chunkY42UERUYjs.printCompactJson.call(void 0, {
16961
16986
  ok: false,
16962
16987
  error: { message },
16963
16988
  next
@@ -16971,7 +16996,7 @@ async function handlePlayDescribe(args) {
16971
16996
  }
16972
16997
  return 2;
16973
16998
  }
16974
- const client = new (0, _chunkVSAYSOVCjs.DeeplineClient)();
16999
+ const client = new (0, _chunkVYK23G2Cjs.DeeplineClient)();
16975
17000
  await assertCanonicalNamedPlayReference(client, playName, {
16976
17001
  command: "describe"
16977
17002
  });
@@ -16981,9 +17006,9 @@ async function handlePlayDescribe(args) {
16981
17006
  compact: args.includes("--compact")
16982
17007
  }
16983
17008
  );
16984
- if (_chunkGQXEHX5Xjs.argsWantJson.call(void 0, args)) {
16985
- if (selection.fields) _chunkGQXEHX5Xjs.printJson.call(void 0, play, selection.fields);
16986
- else _chunkGQXEHX5Xjs.printCompactJson.call(void 0, play);
17009
+ if (_chunkY42UERUYjs.argsWantJson.call(void 0, args)) {
17010
+ if (selection.fields) _chunkY42UERUYjs.printJson.call(void 0, play, selection.fields);
17011
+ else _chunkY42UERUYjs.printCompactJson.call(void 0, play);
16987
17012
  return 0;
16988
17013
  }
16989
17014
  printPlayDescription(play);
@@ -17027,7 +17052,7 @@ async function handlePlaySave(args) {
17027
17052
  next: `deepline plays check ${shellQuote3(options.target)}`
17028
17053
  };
17029
17054
  if (options.jsonOutput) {
17030
- _chunkGQXEHX5Xjs.printCompactJson.call(void 0, result);
17055
+ _chunkY42UERUYjs.printCompactJson.call(void 0, result);
17031
17056
  } else {
17032
17057
  console.error(result.message);
17033
17058
  console.error(` checked artifact: ${result.expectedArtifactHash}`);
@@ -17049,7 +17074,7 @@ async function handlePlaySave(args) {
17049
17074
  };
17050
17075
  if (options.dryRun) {
17051
17076
  if (options.jsonOutput) {
17052
- _chunkGQXEHX5Xjs.printCompactJson.call(void 0, dryRun);
17077
+ _chunkY42UERUYjs.printCompactJson.call(void 0, dryRun);
17053
17078
  } else {
17054
17079
  console.log(`Dry run: ${playName}`);
17055
17080
  console.log(` source: ${dryRun.sourceHash}`);
@@ -17058,7 +17083,7 @@ async function handlePlaySave(args) {
17058
17083
  }
17059
17084
  return 0;
17060
17085
  }
17061
- const client = new (0, _chunkVSAYSOVCjs.DeeplineClient)();
17086
+ const client = new (0, _chunkVYK23G2Cjs.DeeplineClient)();
17062
17087
  try {
17063
17088
  await _chunkAYHLUHE5js.traceCliSpan.call(void 0,
17064
17089
  "cli.play_save_compile_manifests",
@@ -17094,7 +17119,7 @@ async function handlePlaySave(args) {
17094
17119
  }
17095
17120
  };
17096
17121
  if (options.jsonOutput) {
17097
- _chunkGQXEHX5Xjs.printCompactJson.call(void 0, result);
17122
+ _chunkY42UERUYjs.printCompactJson.call(void 0, result);
17098
17123
  } else {
17099
17124
  console.log(
17100
17125
  `\u2713 Saved ${playName} working draft as v${_nullishCoalesce(result.version, () => ( "?"))}`
@@ -17120,7 +17145,7 @@ async function handlePlayPublish(args) {
17120
17145
  }
17121
17146
  const { target: playName, useLatest } = options;
17122
17147
  let revisionId = options.revisionId;
17123
- const client = new (0, _chunkVSAYSOVCjs.DeeplineClient)();
17148
+ const client = new (0, _chunkVYK23G2Cjs.DeeplineClient)();
17124
17149
  if (isFileTarget(playName)) {
17125
17150
  if (revisionId || useLatest) {
17126
17151
  console.error(
@@ -17152,7 +17177,7 @@ async function handlePlayPublish(args) {
17152
17177
  next: `deepline plays check ${shellQuote3(playName)}`
17153
17178
  };
17154
17179
  if (options.jsonOutput) {
17155
- _chunkGQXEHX5Xjs.printCompactJson.call(void 0, result3);
17180
+ _chunkY42UERUYjs.printCompactJson.call(void 0, result3);
17156
17181
  } else {
17157
17182
  console.error(result3.message);
17158
17183
  console.error(` checked artifact: ${result3.expectedArtifactHash}`);
@@ -17175,7 +17200,7 @@ async function handlePlayPublish(args) {
17175
17200
  };
17176
17201
  if (options.dryRun) {
17177
17202
  if (options.jsonOutput) {
17178
- _chunkGQXEHX5Xjs.printCompactJson.call(void 0, dryRun);
17203
+ _chunkY42UERUYjs.printCompactJson.call(void 0, dryRun);
17179
17204
  } else {
17180
17205
  console.log(`Dry run: ${rootPlayName}`);
17181
17206
  console.log(` source: ${dryRun.sourceHash}`);
@@ -17243,7 +17268,7 @@ async function handlePlayPublish(args) {
17243
17268
  triggerBindings: _nullishCoalesce(published.triggerBindings, () => ( []))
17244
17269
  };
17245
17270
  if (options.jsonOutput) {
17246
- _chunkGQXEHX5Xjs.printCompactJson.call(void 0, result2);
17271
+ _chunkY42UERUYjs.printCompactJson.call(void 0, result2);
17247
17272
  } else {
17248
17273
  printPublishReceipt({
17249
17274
  name: rootPlayName,
@@ -17274,7 +17299,7 @@ async function handlePlayPublish(args) {
17274
17299
  revisionId: _nullishCoalesce(revisionId, () => ( null)),
17275
17300
  latest: useLatest
17276
17301
  };
17277
- _chunkGQXEHX5Xjs.printCompactJson.call(void 0, result2);
17302
+ _chunkY42UERUYjs.printCompactJson.call(void 0, result2);
17278
17303
  return 0;
17279
17304
  }
17280
17305
  const resolvedName = parseReferencedPlayTarget2(playName).playName;
@@ -17298,7 +17323,7 @@ async function handlePlayPublish(args) {
17298
17323
  revisionId ? { revisionId } : {}
17299
17324
  );
17300
17325
  if (options.jsonOutput) {
17301
- _chunkGQXEHX5Xjs.printCompactJson.call(void 0, result);
17326
+ _chunkY42UERUYjs.printCompactJson.call(void 0, result);
17302
17327
  } else {
17303
17328
  printPublishReceipt({
17304
17329
  name: result.name,
@@ -17338,7 +17363,7 @@ async function handlePlayDelete(args) {
17338
17363
  );
17339
17364
  return 2;
17340
17365
  }
17341
- const client = new (0, _chunkVSAYSOVCjs.DeeplineClient)();
17366
+ const client = new (0, _chunkVYK23G2Cjs.DeeplineClient)();
17342
17367
  let detail;
17343
17368
  try {
17344
17369
  detail = await client.getPlay(parseReferencedPlayTarget2(playName).playName);
@@ -17362,8 +17387,8 @@ async function handlePlayDelete(args) {
17362
17387
  name: resolvedName,
17363
17388
  plannedMutation: "move saved org-owned play to Trash and stop triggers"
17364
17389
  };
17365
- if (_chunkGQXEHX5Xjs.argsWantJson.call(void 0, args)) {
17366
- _chunkGQXEHX5Xjs.printCompactJson.call(void 0, result2);
17390
+ if (_chunkY42UERUYjs.argsWantJson.call(void 0, args)) {
17391
+ _chunkY42UERUYjs.printCompactJson.call(void 0, result2);
17367
17392
  } else {
17368
17393
  process.stdout.write(
17369
17394
  `Dry run: would move ${result2.name} to Trash and stop its active triggers.
@@ -17373,8 +17398,8 @@ async function handlePlayDelete(args) {
17373
17398
  return 0;
17374
17399
  }
17375
17400
  const result = await client.deletePlay(resolvedName);
17376
- if (_chunkGQXEHX5Xjs.argsWantJson.call(void 0, args)) {
17377
- _chunkGQXEHX5Xjs.printCompactJson.call(void 0, result);
17401
+ if (_chunkY42UERUYjs.argsWantJson.call(void 0, args)) {
17402
+ _chunkY42UERUYjs.printCompactJson.call(void 0, result);
17378
17403
  return result.archived || result.alreadyArchived ? 0 : 4;
17379
17404
  }
17380
17405
  if (result.alreadyArchived) {
@@ -17413,13 +17438,13 @@ async function handlePlayRestore(args) {
17413
17438
  );
17414
17439
  return 2;
17415
17440
  }
17416
- const client = new (0, _chunkVSAYSOVCjs.DeeplineClient)();
17441
+ const client = new (0, _chunkVYK23G2Cjs.DeeplineClient)();
17417
17442
  try {
17418
17443
  const result = await client.restorePlay(
17419
17444
  parseReferencedPlayTarget2(playName).playName
17420
17445
  );
17421
- if (_chunkGQXEHX5Xjs.argsWantJson.call(void 0, args)) {
17422
- _chunkGQXEHX5Xjs.printCompactJson.call(void 0, result);
17446
+ if (_chunkY42UERUYjs.argsWantJson.call(void 0, args)) {
17447
+ _chunkY42UERUYjs.printCompactJson.call(void 0, result);
17423
17448
  return result.restored || result.alreadyActive ? 0 : 4;
17424
17449
  }
17425
17450
  if (result.alreadyActive) {
@@ -17524,7 +17549,7 @@ Examples:
17524
17549
  ).action(async (target, options) => {
17525
17550
  process.exitCode = await handlePlayCheck([
17526
17551
  target,
17527
- ..._chunkGQXEHX5Xjs.jsonFieldArgs.call(void 0, options.json),
17552
+ ..._chunkY42UERUYjs.jsonFieldArgs.call(void 0, options.json),
17528
17553
  ...options.full ? ["--full"] : []
17529
17554
  ]);
17530
17555
  });
@@ -17711,7 +17736,7 @@ JSON field selection:
17711
17736
  ...options.maxConcurrentRows ? ["--max-concurrent-rows", options.maxConcurrentRows] : [],
17712
17737
  ...options.open ? ["--open"] : [],
17713
17738
  ...options.debugMapLatency ? ["--debug-map-latency"] : [],
17714
- ..._chunkGQXEHX5Xjs.jsonFieldArgs.call(void 0, options.json),
17739
+ ..._chunkY42UERUYjs.jsonFieldArgs.call(void 0, options.json),
17715
17740
  ...options.full ? ["--full"] : [],
17716
17741
  ...passthroughArgs
17717
17742
  ]);
@@ -17766,9 +17791,9 @@ Examples:
17766
17791
  const limit = Number(options.historyLimit);
17767
17792
  if (!Number.isInteger(limit) || limit < 1 || limit > 30)
17768
17793
  throw new Error("--history-limit must be an integer from 1 to 30.");
17769
- const client = new (0, _chunkVSAYSOVCjs.DeeplineClient)();
17794
+ const client = new (0, _chunkVYK23G2Cjs.DeeplineClient)();
17770
17795
  if (options.binding) {
17771
- _chunkGQXEHX5Xjs.printCompactJson.call(void 0,
17796
+ _chunkY42UERUYjs.printCompactJson.call(void 0,
17772
17797
  await client.getPlayTriggerHistory(options.binding, { limit })
17773
17798
  );
17774
17799
  return;
@@ -17776,7 +17801,7 @@ Examples:
17776
17801
  const result = await client.listPlayTriggerInventory({
17777
17802
  cursor: options.cursor
17778
17803
  });
17779
- _chunkGQXEHX5Xjs.printCompactJson.call(void 0, {
17804
+ _chunkY42UERUYjs.printCompactJson.call(void 0, {
17780
17805
  ...result,
17781
17806
  next: result.isDone ? null : `deepline plays triggers --cursor ${JSON.stringify(result.continueCursor)} --json`
17782
17807
  });
@@ -17823,7 +17848,7 @@ Examples:
17823
17848
  if (options.groupBy !== "kind" && options.groupBy !== "trigger_source") {
17824
17849
  throw new Error("--group-by must be kind or trigger_source.");
17825
17850
  }
17826
- const result = await new (0, _chunkVSAYSOVCjs.DeeplineClient)().getPlaysActivity({
17851
+ const result = await new (0, _chunkVYK23G2Cjs.DeeplineClient)().getPlaysActivity({
17827
17852
  timeZone: options.timeZone,
17828
17853
  days,
17829
17854
  ...options.endDate ? { endDate: options.endDate } : {},
@@ -17837,7 +17862,7 @@ Examples:
17837
17862
  `${bucket.key} ${groups} failed_play_runs=${bucket.failedPlayRuns} ${coverage}`
17838
17863
  );
17839
17864
  }
17840
- _chunkGQXEHX5Xjs.printCommandEnvelope.call(void 0,
17865
+ _chunkY42UERUYjs.printCommandEnvelope.call(void 0,
17841
17866
  { ...result },
17842
17867
  {
17843
17868
  json: options.json || !process.stdout.isTTY,
@@ -17866,7 +17891,7 @@ Examples:
17866
17891
  false
17867
17892
  );
17868
17893
  });
17869
- _chunkQQMKX7JWjs.registerDeprecatedSearchCommand.call(void 0,
17894
+ _chunkYL42TF53js.registerDeprecatedSearchCommand.call(void 0,
17870
17895
  play,
17871
17896
  (options) => options.all ? ["plays"] : ["prebuilts"]
17872
17897
  );
@@ -17910,7 +17935,7 @@ Examples:
17910
17935
  );
17911
17936
  _chunkXNL3SEMCjs.addDescribeOptions.call(void 0, describeCommand, { json: false }).action(
17912
17937
  async (target, options) => {
17913
- const ownView = () => handlePlayDescribe(_chunkGQXEHX5Xjs.describeArgs.call(void 0, target, options));
17938
+ const ownView = () => handlePlayDescribe(_chunkY42UERUYjs.describeArgs.call(void 0, target, options));
17914
17939
  const [flagText] = [options.json].filter(
17915
17940
  (value) => typeof value === "string"
17916
17941
  );
@@ -17921,7 +17946,7 @@ Examples:
17921
17946
  process.exitCode = await ownView();
17922
17947
  return;
17923
17948
  }
17924
- const { describeAnything } = await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-GS5A2XH4.js")));
17949
+ const { describeAnything } = await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-VUD4AFBY.js")));
17925
17950
  process.exitCode = await describeAnything(
17926
17951
  name,
17927
17952
  {
@@ -18038,7 +18063,7 @@ Examples:
18038
18063
  deepline plays deployments <deployment-id>
18039
18064
  `
18040
18065
  ).option("--limit <n>", "Max rows (default 50)").option("--json", "Emit JSON output. Also automatic when stdout is piped").action(
18041
- async (id, options) => id ? _chunk4UXNEC5Cjs.handleDeploymentGet.call(void 0, id, options) : _chunk4UXNEC5Cjs.handleDeploymentsList.call(void 0, options)
18066
+ async (id, options) => id ? _chunkFGAK6FETjs.handleDeploymentGet.call(void 0, id, options) : _chunkFGAK6FETjs.handleDeploymentsList.call(void 0, options)
18042
18067
  );
18043
18068
  addPublishHelp(
18044
18069
  play.command("publish <target>").description(
@@ -18218,7 +18243,7 @@ Examples:
18218
18243
  ).action(async (runId, options) => {
18219
18244
  process.exitCode = await handleRunGet([
18220
18245
  runId,
18221
- ..._chunkGQXEHX5Xjs.jsonFieldArgs.call(void 0, options.json),
18246
+ ..._chunkY42UERUYjs.jsonFieldArgs.call(void 0, options.json),
18222
18247
  ...options.full ? ["--full"] : [],
18223
18248
  ...options.input ? ["--input"] : [],
18224
18249
  ...options.config ? ["--config"] : [],
@@ -18493,7 +18518,7 @@ Examples:
18493
18518
  ...options.metadataOut ? ["--metadata-out", options.metadataOut] : [],
18494
18519
  ...options.wait ? ["--wait"] : [],
18495
18520
  ...options.timeoutMs ? ["--timeout-ms", options.timeoutMs] : [],
18496
- ..._chunkGQXEHX5Xjs.jsonFieldArgs.call(void 0, options.json)
18521
+ ..._chunkY42UERUYjs.jsonFieldArgs.call(void 0, options.json)
18497
18522
  ]);
18498
18523
  });
18499
18524
  const share = play.command("share").description(
@@ -18659,10 +18684,10 @@ async function handlePlayShareStatus(args) {
18659
18684
  return 2;
18660
18685
  }
18661
18686
  const name = parseReferencedPlayTarget2(target).playName;
18662
- const status = await new (0, _chunkVSAYSOVCjs.DeeplineClient)().getSharePage(name);
18687
+ const status = await new (0, _chunkVYK23G2Cjs.DeeplineClient)().getSharePage(name);
18663
18688
  const outputStatus = shareStatusForOutput(status);
18664
- if (_chunkGQXEHX5Xjs.argsWantJson.call(void 0, args)) {
18665
- _chunkGQXEHX5Xjs.printCompactJson.call(void 0, outputStatus);
18689
+ if (_chunkY42UERUYjs.argsWantJson.call(void 0, args)) {
18690
+ _chunkY42UERUYjs.printCompactJson.call(void 0, outputStatus);
18666
18691
  return 0;
18667
18692
  }
18668
18693
  if (!outputStatus.share) {
@@ -18701,7 +18726,7 @@ async function handlePlaySharePublish(args) {
18701
18726
  return 2;
18702
18727
  }
18703
18728
  const name = parseReferencedPlayTarget2(target).playName;
18704
- const client = new (0, _chunkVSAYSOVCjs.DeeplineClient)();
18729
+ const client = new (0, _chunkVYK23G2Cjs.DeeplineClient)();
18705
18730
  let revisionId = shareFlagValue(args, "--revision-id");
18706
18731
  let resolvedVersion;
18707
18732
  if (!revisionId) {
@@ -18732,8 +18757,8 @@ async function handlePlaySharePublish(args) {
18732
18757
  );
18733
18758
  if (!hasCompleted) {
18734
18759
  const message = `No completed run for ${name}. Publish a play only after it has run successfully. (Override with --no-run-check.)`;
18735
- if (_chunkGQXEHX5Xjs.argsWantJson.call(void 0, args)) {
18736
- _chunkGQXEHX5Xjs.printCompactJson.call(void 0, {
18760
+ if (_chunkY42UERUYjs.argsWantJson.call(void 0, args)) {
18761
+ _chunkY42UERUYjs.printCompactJson.call(void 0, {
18737
18762
  ok: false,
18738
18763
  code: "NO_SUCCESSFUL_RUN",
18739
18764
  message,
@@ -18757,8 +18782,8 @@ async function handlePlaySharePublish(args) {
18757
18782
  };
18758
18783
  if (args.includes("--dry-run")) {
18759
18784
  const plan = { dryRun: true, name, version: resolvedVersion, ...request };
18760
- if (_chunkGQXEHX5Xjs.argsWantJson.call(void 0, args)) {
18761
- _chunkGQXEHX5Xjs.printCompactJson.call(void 0, plan);
18785
+ if (_chunkY42UERUYjs.argsWantJson.call(void 0, args)) {
18786
+ _chunkY42UERUYjs.printCompactJson.call(void 0, plan);
18762
18787
  } else {
18763
18788
  console.log(
18764
18789
  `Would publish ${name}${resolvedVersion ? ` v${resolvedVersion}` : ""} (revision ${revisionId}).`
@@ -18768,8 +18793,8 @@ async function handlePlaySharePublish(args) {
18768
18793
  }
18769
18794
  const status = await client.publishSharePage(name, request);
18770
18795
  const outputStatus = shareStatusForOutput(status);
18771
- if (_chunkGQXEHX5Xjs.argsWantJson.call(void 0, args)) {
18772
- _chunkGQXEHX5Xjs.printCompactJson.call(void 0, outputStatus);
18796
+ if (_chunkY42UERUYjs.argsWantJson.call(void 0, args)) {
18797
+ _chunkY42UERUYjs.printCompactJson.call(void 0, outputStatus);
18773
18798
  return 0;
18774
18799
  }
18775
18800
  const urls = shareUrlFields(outputStatus);
@@ -18800,9 +18825,9 @@ async function handlePlayShareUpdate(args) {
18800
18825
  ...args.includes("--show-latency") ? { showAverageLatency: true } : args.includes("--hide-latency") ? { showAverageLatency: false } : {},
18801
18826
  ...seoIndexing ? { seoIndexing } : {}
18802
18827
  };
18803
- const status = await new (0, _chunkVSAYSOVCjs.DeeplineClient)().updateSharePage(name, request);
18804
- if (_chunkGQXEHX5Xjs.argsWantJson.call(void 0, args)) {
18805
- _chunkGQXEHX5Xjs.printCompactJson.call(void 0, status);
18828
+ const status = await new (0, _chunkVYK23G2Cjs.DeeplineClient)().updateSharePage(name, request);
18829
+ if (_chunkY42UERUYjs.argsWantJson.call(void 0, args)) {
18830
+ _chunkY42UERUYjs.printCompactJson.call(void 0, status);
18806
18831
  return 0;
18807
18832
  }
18808
18833
  console.log(`Updated ${name} share settings.`);
@@ -18817,7 +18842,7 @@ async function handlePlayShareRegenerate(args) {
18817
18842
  return 2;
18818
18843
  }
18819
18844
  const name = parseReferencedPlayTarget2(target).playName;
18820
- const client = new (0, _chunkVSAYSOVCjs.DeeplineClient)();
18845
+ const client = new (0, _chunkVYK23G2Cjs.DeeplineClient)();
18821
18846
  let revisionId = shareFlagValue(args, "--revision-id");
18822
18847
  const versionFlag = shareFlagValue(args, "--version");
18823
18848
  if (!revisionId && versionFlag) {
@@ -18834,8 +18859,8 @@ async function handlePlayShareRegenerate(args) {
18834
18859
  revisionId ? { revisionId } : {}
18835
18860
  );
18836
18861
  const outputStatus = shareStatusForOutput(status);
18837
- if (_chunkGQXEHX5Xjs.argsWantJson.call(void 0, args)) {
18838
- _chunkGQXEHX5Xjs.printCompactJson.call(void 0, outputStatus);
18862
+ if (_chunkY42UERUYjs.argsWantJson.call(void 0, args)) {
18863
+ _chunkY42UERUYjs.printCompactJson.call(void 0, outputStatus);
18839
18864
  return 0;
18840
18865
  }
18841
18866
  const urls = shareUrlFields(outputStatus);
@@ -18860,9 +18885,9 @@ async function handlePlayShareUnpublish(args) {
18860
18885
  return 2;
18861
18886
  }
18862
18887
  const name = parseReferencedPlayTarget2(target).playName;
18863
- const status = await new (0, _chunkVSAYSOVCjs.DeeplineClient)().unpublishSharePage(name);
18864
- if (_chunkGQXEHX5Xjs.argsWantJson.call(void 0, args)) {
18865
- _chunkGQXEHX5Xjs.printCompactJson.call(void 0, status);
18888
+ const status = await new (0, _chunkVYK23G2Cjs.DeeplineClient)().unpublishSharePage(name);
18889
+ if (_chunkY42UERUYjs.argsWantJson.call(void 0, args)) {
18890
+ _chunkY42UERUYjs.printCompactJson.call(void 0, status);
18866
18891
  return 0;
18867
18892
  }
18868
18893
  console.log(`Unpublished ${name}; the public page has been removed.`);