deepline 0.3.397 → 0.3.398

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 (87) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-deadline-reconciliation.ts +50 -26
  3. package/dist/cli/auth-3GA2ASQF.js +40 -0
  4. package/dist/cli/{auth-AZJFXGKP.mjs → auth-7ZBPAAZU.mjs} +4 -4
  5. package/dist/cli/{billing-MZAAUHGH.mjs → billing-QTWEEL27.mjs} +4 -4
  6. package/dist/cli/{billing-MQV5AGDJ.js → billing-WHP3YMNQ.js} +73 -73
  7. package/dist/cli/{chunk-YUDKBQUD.mjs → chunk-2QC2T7E3.mjs} +4 -4
  8. package/dist/cli/{chunk-F3BUFYKE.mjs → chunk-52HHMLRM.mjs} +5 -5
  9. package/dist/cli/{chunk-YLRME7MK.js → chunk-6CBU7W56.js} +15 -15
  10. package/dist/cli/{chunk-W3HMGKMI.mjs → chunk-6DVXLWPB.mjs} +2 -2
  11. package/dist/cli/{chunk-MYPH2LUU.mjs → chunk-6HXULNTW.mjs} +2 -2
  12. package/dist/cli/{chunk-MV7QRALK.mjs → chunk-ATDUVJCW.mjs} +3 -3
  13. package/dist/cli/{chunk-NOX2TCBP.mjs → chunk-AWQNG55D.mjs} +1 -1
  14. package/dist/cli/{chunk-RNSWDKBM.mjs → chunk-CH6EFAJ3.mjs} +1 -1
  15. package/dist/cli/{chunk-PSGEDGLT.js → chunk-CTZJLQ7A.js} +8 -8
  16. package/dist/cli/{chunk-VTF4RRWJ.js → chunk-FDAMQFQ7.js} +50 -50
  17. package/dist/cli/{chunk-SO7RUVTY.js → chunk-G6BP55EP.js} +26 -26
  18. package/dist/cli/{chunk-IZ74ABSX.js → chunk-HFDBZXMV.js} +1 -1
  19. package/dist/cli/{chunk-4D745XZO.mjs → chunk-IJU5YQSF.mjs} +3 -3
  20. package/dist/cli/{chunk-3VP34TAU.js → chunk-J4WYPANC.js} +8 -8
  21. package/dist/cli/{chunk-RYW4HPSM.js → chunk-JU3PF7WM.js} +4 -4
  22. package/dist/cli/{chunk-J7ABTQQ7.mjs → chunk-LCRQKI7D.mjs} +1 -1
  23. package/dist/cli/{chunk-UVXBVUZQ.js → chunk-NUBIAJI2.js} +6 -6
  24. package/dist/cli/{chunk-ZHUMDMOS.js → chunk-OU2RZYVS.js} +65 -65
  25. package/dist/cli/{chunk-WM2QEHZL.mjs → chunk-OVUFHUMG.mjs} +2 -2
  26. package/dist/cli/{chunk-K33MXVXQ.js → chunk-Q3FNSWJG.js} +44 -44
  27. package/dist/cli/{chunk-MRXMMERY.mjs → chunk-QP2TRM7M.mjs} +1 -1
  28. package/dist/cli/{chunk-DQ65ZVHN.js → chunk-S22ZQZMU.js} +6 -6
  29. package/dist/cli/{chunk-YSVORIEW.js → chunk-U46S43LV.js} +2 -2
  30. package/dist/cli/{chunk-2LDADJNO.mjs → chunk-ZJ7HLJRF.mjs} +1 -1
  31. package/dist/cli/{csv-AQBQ5O3I.js → csv-NM25BBX7.js} +12 -12
  32. package/dist/cli/{csv-MB7PJMYQ.mjs → csv-TSBHKVNU.mjs} +3 -3
  33. package/dist/cli/{db-JPUYC5RB.js → db-GBDNQJF3.js} +25 -25
  34. package/dist/cli/{db-L5IEI2AU.mjs → db-JQN6SYLK.mjs} +4 -4
  35. package/dist/cli/{describe-S6BFANVI.mjs → describe-ETTGW5LT.mjs} +6 -6
  36. package/dist/cli/{describe-6WT74AOR.js → describe-NVLINP5A.js} +10 -10
  37. package/dist/cli/{executions-L7I2ZW4Z.mjs → executions-6S4KIVEY.mjs} +4 -4
  38. package/dist/cli/{executions-6TMQTFP4.js → executions-IH5JUPIT.js} +6 -6
  39. package/dist/cli/{feedback-XF7CQGMD.js → feedback-ER375ZCB.js} +7 -7
  40. package/dist/cli/{feedback-DSJ63HK6.mjs → feedback-PGOZLNXU.mjs} +3 -3
  41. package/dist/cli/{git-C3ENM67D.mjs → git-7SBFCM52.mjs} +4 -4
  42. package/dist/cli/git-W6DBPLZO.js +24 -0
  43. package/dist/cli/index.js +89 -89
  44. package/dist/cli/index.mjs +32 -32
  45. package/dist/cli/{legacy-noops-B2NHWIVD.js → legacy-noops-IOEF2SB7.js} +7 -7
  46. package/dist/cli/{legacy-noops-VFG2K6HK.mjs → legacy-noops-Q4UQIOQN.mjs} +4 -4
  47. package/dist/cli/{monitors-ORFWOVZB.js → monitors-NZ2J4YGD.js} +84 -84
  48. package/dist/cli/{monitors-TCEDBDGY.mjs → monitors-RZYBFY3Z.mjs} +4 -4
  49. package/dist/cli/{org-T74CJESN.js → org-ERUOT4B2.js} +64 -64
  50. package/dist/cli/{org-45KREIKZ.mjs → org-JLSEM6GG.mjs} +4 -4
  51. package/dist/cli/{play-XHK2LPON.js → play-7TUO7YNG.js} +231 -231
  52. package/dist/cli/{play-MU7MYBIM.mjs → play-Z73VC7YR.mjs} +7 -7
  53. package/dist/cli/{providers-VYCXIJT5.mjs → providers-7HIII2PW.mjs} +4 -4
  54. package/dist/cli/{providers-4MGQKYFD.js → providers-ABKBK2C7.js} +7 -7
  55. package/dist/cli/{quickstart-47G3VEOT.js → quickstart-JBG5RTFZ.js} +5 -5
  56. package/dist/cli/{quickstart-H724EFM2.mjs → quickstart-QQAOCPCZ.mjs} +3 -3
  57. package/dist/cli/{search-VQHXEFQ4.mjs → search-MT2Q64WC.mjs} +5 -5
  58. package/dist/cli/search-QMQBC6SV.js +30 -0
  59. package/dist/cli/{secrets-ALLKCU35.js → secrets-MEW6LLU5.js} +13 -13
  60. package/dist/cli/{secrets-CPBNGA44.mjs → secrets-ZFJPIT6B.mjs} +4 -4
  61. package/dist/cli/{sessions-7RSQB7IX.mjs → sessions-F2KVVZ2Z.mjs} +4 -4
  62. package/dist/cli/{sessions-FKGAY7WQ.js → sessions-TBPU4S6M.js} +5 -5
  63. package/dist/cli/{settings-Y5BI42P7.js → settings-6VDZ6G5V.js} +74 -74
  64. package/dist/cli/{settings-UYSGV4IC.mjs → settings-LUDDM7HO.mjs} +7 -7
  65. package/dist/cli/{setup-VXQPEU3E.js → setup-IP2KTFYO.js} +41 -41
  66. package/dist/cli/{setup-L3ZBBTS4.mjs → setup-MCEY473G.mjs} +6 -6
  67. package/dist/cli/skills-EVIIEX6N.js +29 -0
  68. package/dist/cli/{skills-QHVDLSFE.mjs → skills-KMJ3CY4O.mjs} +4 -4
  69. package/dist/cli/{tools-YWU5QOQ5.js → tools-KNLHQ3L6.js} +7 -7
  70. package/dist/cli/{tools-LSCEK4K2.mjs → tools-WY3PLUA7.mjs} +6 -6
  71. package/dist/cli/update-LVADY5YE.js +29 -0
  72. package/dist/cli/{update-CU22OTBM.mjs → update-XBV52OFM.mjs} +6 -6
  73. package/dist/cli/{workflow-KQARK5BZ.mjs → workflow-5N5HMYDY.mjs} +5 -5
  74. package/dist/cli/{workflow-ERFLTRNX.js → workflow-CO7XWS4D.js} +15 -15
  75. package/dist/index.js +6 -6
  76. package/dist/index.mjs +3 -3
  77. package/dist/install-integrity.json +70 -70
  78. package/dist/release.d.mts +1 -1
  79. package/dist/release.d.ts +1 -1
  80. package/dist/release.js +2 -2
  81. package/dist/release.mjs +1 -1
  82. package/package.json +1 -1
  83. package/dist/cli/auth-CZJQU7B5.js +0 -40
  84. package/dist/cli/git-HYDZK2QR.js +0 -24
  85. package/dist/cli/search-3356ENLD.js +0 -30
  86. package/dist/cli/skills-DUZQTDTE.js +0 -29
  87. package/dist/cli/update-5LYQAI55.js +0 -29
@@ -4,11 +4,11 @@
4
4
  var _chunkZAAKSJASjs = require('./chunk-ZAAKSJAS.js');
5
5
 
6
6
 
7
- var _chunkPSGEDGLTjs = require('./chunk-PSGEDGLT.js');
7
+ var _chunkCTZJLQ7Ajs = require('./chunk-CTZJLQ7A.js');
8
8
 
9
9
 
10
10
 
11
- var _chunkSO7RUVTYjs = require('./chunk-SO7RUVTY.js');
11
+ var _chunkG6BP55EPjs = require('./chunk-G6BP55EP.js');
12
12
 
13
13
 
14
14
  var _chunkBQR6UN3Cjs = require('./chunk-BQR6UN3C.js');
@@ -45,7 +45,7 @@ require('./chunk-KB4SDX5S.js');
45
45
 
46
46
 
47
47
 
48
- var _chunkUVXBVUZQjs = require('./chunk-UVXBVUZQ.js');
48
+ var _chunkNUBIAJI2js = require('./chunk-NUBIAJI2.js');
49
49
  require('./chunk-S6R3OX7B.js');
50
50
 
51
51
 
@@ -84,16 +84,16 @@ var _chunkWJYPBHTEjs = require('./chunk-WJYPBHTE.js');
84
84
 
85
85
 
86
86
 
87
- var _chunkDQ65ZVHNjs = require('./chunk-DQ65ZVHN.js');
87
+ var _chunkS22ZQZMUjs = require('./chunk-S22ZQZMU.js');
88
88
 
89
89
 
90
- var _chunkRYW4HPSMjs = require('./chunk-RYW4HPSM.js');
90
+ var _chunkJU3PF7WMjs = require('./chunk-JU3PF7WM.js');
91
91
  require('./chunk-Q2E4E4FJ.js');
92
92
  require('./chunk-XNYIZMNQ.js');
93
93
 
94
94
 
95
95
  var _chunk7P5AA3SNjs = require('./chunk-7P5AA3SN.js');
96
- require('./chunk-IZ74ABSX.js');
96
+ require('./chunk-HFDBZXMV.js');
97
97
  require('./chunk-OG64RBAC.js');
98
98
 
99
99
 
@@ -2075,7 +2075,7 @@ function resolveField(key, command) {
2075
2075
  function printSettings(result, json, name) {
2076
2076
  result = { ...result, settings: parsePlaySettings(result.settings) };
2077
2077
  const selected = fields.filter(([key]) => !name || key === name);
2078
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0,
2078
+ _chunkS22ZQZMUjs.printCommandEnvelope.call(void 0,
2079
2079
  {
2080
2080
  ...result,
2081
2081
  settings: Object.fromEntries(
@@ -2119,7 +2119,7 @@ function registerPlaySettingsCommands(plays) {
2119
2119
  valueSyntax: field.cli.valueSyntax,
2120
2120
  examples: field.cli.examples
2121
2121
  }));
2122
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0,
2122
+ _chunkS22ZQZMUjs.printCommandEnvelope.call(void 0,
2123
2123
  {
2124
2124
  fields: descriptions,
2125
2125
  render: {
@@ -2144,7 +2144,7 @@ function registerPlaySettingsCommands(plays) {
2144
2144
  async (options, command) => {
2145
2145
  if (options.name !== void 0) resolveField(options.name, command);
2146
2146
  printSettings(
2147
- await new (0, _chunkUVXBVUZQjs.DeeplineClient)().getPlaySettings(options.play),
2147
+ await new (0, _chunkNUBIAJI2js.DeeplineClient)().getPlaySettings(options.play),
2148
2148
  options.json,
2149
2149
  options.name
2150
2150
  );
@@ -2175,7 +2175,7 @@ function registerPlaySettingsCommands(plays) {
2175
2175
  );
2176
2176
  }
2177
2177
  if (options.dryRun) {
2178
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0,
2178
+ _chunkS22ZQZMUjs.printCommandEnvelope.call(void 0,
2179
2179
  {
2180
2180
  dryRun: true,
2181
2181
  play,
@@ -2196,7 +2196,7 @@ function registerPlaySettingsCommands(plays) {
2196
2196
  return;
2197
2197
  }
2198
2198
  printSettings(
2199
- await new (0, _chunkUVXBVUZQjs.DeeplineClient)().updatePlaySettings(play, patch),
2199
+ await new (0, _chunkNUBIAJI2js.DeeplineClient)().updatePlaySettings(play, patch),
2200
2200
  options.json
2201
2201
  );
2202
2202
  };
@@ -2222,13 +2222,13 @@ function registerPlaySettingsCommands(plays) {
2222
2222
  "--root must be person or team; --limit must be 1\u2013100.",
2223
2223
  { exitCode: 2 }
2224
2224
  );
2225
- const page = await new (0, _chunkUVXBVUZQjs.DeeplineClient)().listPlaySettingsPaths({
2225
+ const page = await new (0, _chunkNUBIAJI2js.DeeplineClient)().listPlaySettingsPaths({
2226
2226
  root: options.root,
2227
2227
  limit,
2228
2228
  cursor: options.cursor
2229
2229
  });
2230
2230
  const nextCommand = page.hasMore ? `deepline plays settings paths --cursor '${page.cursor}'${options.root ? ` --root ${options.root}` : ""}` : null;
2231
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0,
2231
+ _chunkS22ZQZMUjs.printCommandEnvelope.call(void 0,
2232
2232
  {
2233
2233
  ...page,
2234
2234
  nextCommand,
@@ -2279,7 +2279,7 @@ function registerPlaySettingsCommands(plays) {
2279
2279
  root: _nullishCoalesce(_optionalChain([toPath, 'optionalAccess', _13 => _13.root]), () => ( "person")),
2280
2280
  folders: _nullishCoalesce(_optionalChain([toPath, 'optionalAccess', _14 => _14.folders]), () => ( []))
2281
2281
  };
2282
- const client = new (0, _chunkUVXBVUZQjs.DeeplineClient)();
2282
+ const client = new (0, _chunkNUBIAJI2js.DeeplineClient)();
2283
2283
  const paths = [];
2284
2284
  let cursor;
2285
2285
  do {
@@ -2341,7 +2341,7 @@ function registerPlaySettingsCommands(plays) {
2341
2341
  moved.push(move.playName);
2342
2342
  }
2343
2343
  }
2344
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0,
2344
+ _chunkS22ZQZMUjs.printCommandEnvelope.call(void 0,
2345
2345
  {
2346
2346
  dryRun: Boolean(options.dryRun),
2347
2347
  from: options.from,
@@ -2469,7 +2469,7 @@ function triggerLines(view) {
2469
2469
  return lines;
2470
2470
  }
2471
2471
  function printView(view, json) {
2472
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0,
2472
+ _chunkS22ZQZMUjs.printCommandEnvelope.call(void 0,
2473
2473
  {
2474
2474
  ...view,
2475
2475
  render: {
@@ -2482,7 +2482,7 @@ function printView(view, json) {
2482
2482
  );
2483
2483
  }
2484
2484
  function printResult(result, json) {
2485
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0,
2485
+ _chunkS22ZQZMUjs.printCommandEnvelope.call(void 0,
2486
2486
  {
2487
2487
  ...result,
2488
2488
  render: {
@@ -2512,7 +2512,7 @@ async function mutate(command, options, build) {
2512
2512
  usage(command, `Invalid trigger: ${formatPlayTriggerConfigError(error)}`);
2513
2513
  }
2514
2514
  if (options.dryRun) {
2515
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0,
2515
+ _chunkS22ZQZMUjs.printCommandEnvelope.call(void 0,
2516
2516
  {
2517
2517
  dryRun: true,
2518
2518
  play: options.play,
@@ -2531,7 +2531,7 @@ async function mutate(command, options, build) {
2531
2531
  return;
2532
2532
  }
2533
2533
  printResult(
2534
- await new (0, _chunkUVXBVUZQjs.DeeplineClient)().updatePlayTriggerConfig(options.play, update),
2534
+ await new (0, _chunkNUBIAJI2js.DeeplineClient)().updatePlayTriggerConfig(options.play, update),
2535
2535
  options.json
2536
2536
  );
2537
2537
  }
@@ -2564,7 +2564,7 @@ function registerPlayTriggerConfigCommands(plays) {
2564
2564
  }).addHelpText("after", help2);
2565
2565
  trigger.command("get").description("Show the cron and webhook triggers of a Play.").requiredOption("--play <play>", "Play to read").option("--json", "Emit JSON").addHelpText("after", help2).action(async (options) => {
2566
2566
  printView(
2567
- await new (0, _chunkUVXBVUZQjs.DeeplineClient)().getPlayTriggerConfig(options.play),
2567
+ await new (0, _chunkNUBIAJI2js.DeeplineClient)().getPlayTriggerConfig(options.play),
2568
2568
  options.json
2569
2569
  );
2570
2570
  });
@@ -2608,7 +2608,7 @@ function registerPlayTriggerConfigCommands(plays) {
2608
2608
  if (options.auth === void 0) {
2609
2609
  if (secrets.length || options.header || options.signaturePrefix)
2610
2610
  usage(setWebhook, "--secret/--header need --auth.");
2611
- const current = await new (0, _chunkUVXBVUZQjs.DeeplineClient)().getPlayTriggerConfig(
2611
+ const current = await new (0, _chunkNUBIAJI2js.DeeplineClient)().getPlayTriggerConfig(
2612
2612
  options.play
2613
2613
  );
2614
2614
  return {
@@ -2685,7 +2685,7 @@ var KIND_DESCRIPTIONS = {
2685
2685
  "receipt.skipped": "Saved work result: skipped.",
2686
2686
  "runtime.event": "Other event."
2687
2687
  };
2688
- var RUN_LOGS_KIND_HELP = _chunkUVXBVUZQjs.RUN_EVENT_SEARCH_KIND_VALUES.map((kind) => ({
2688
+ var RUN_LOGS_KIND_HELP = _chunkNUBIAJI2js.RUN_EVENT_SEARCH_KIND_VALUES.map((kind) => ({
2689
2689
  kind,
2690
2690
  description: KIND_DESCRIPTIONS[kind]
2691
2691
  }));
@@ -2822,9 +2822,9 @@ function configureRunQueryCommandErrors(command, resource) {
2822
2822
  const args = program.args;
2823
2823
  if (error.exitCode !== 0 && (resource === "events" || requestsStructuredLogs(args))) {
2824
2824
  error.exitCode = 2;
2825
- if (_chunkDQ65ZVHNjs.argsWantJson.call(void 0, args) || command.optsWithGlobals().json === true) {
2826
- _chunkDQ65ZVHNjs.printJsonError.call(void 0,
2827
- Object.assign(new (0, _chunkUVXBVUZQjs.RunEventQueryInputError)(error.message), {
2825
+ if (_chunkS22ZQZMUjs.argsWantJson.call(void 0, args) || command.optsWithGlobals().json === true) {
2826
+ _chunkS22ZQZMUjs.printJsonError.call(void 0,
2827
+ Object.assign(new (0, _chunkNUBIAJI2js.RunEventQueryInputError)(error.message), {
2828
2828
  exitCode: 2,
2829
2829
  retryable: false
2830
2830
  })
@@ -2868,14 +2868,14 @@ function parseQuery(args, resource) {
2868
2868
  if (VALUE_FLAGS.has(flag)) {
2869
2869
  const value = equals > 0 ? arg.slice(equals + 1) : args[++index];
2870
2870
  if (!value || equals < 0 && value.startsWith("--") && flag !== "--query" && flag !== "--where") {
2871
- throw new (0, _chunkUVXBVUZQjs.RunEventQueryInputError)(
2871
+ throw new (0, _chunkNUBIAJI2js.RunEventQueryInputError)(
2872
2872
  `${flag} requires a value. Use ${flag} <value>.`
2873
2873
  );
2874
2874
  }
2875
2875
  if (flag === "--sum") sums.push(value);
2876
2876
  else {
2877
2877
  if (values[flag] !== void 0) {
2878
- throw new (0, _chunkUVXBVUZQjs.RunEventQueryInputError)(
2878
+ throw new (0, _chunkNUBIAJI2js.RunEventQueryInputError)(
2879
2879
  `${flag} may only be supplied once.`
2880
2880
  );
2881
2881
  }
@@ -2889,12 +2889,12 @@ function parseQuery(args, resource) {
2889
2889
  }
2890
2890
  if (arg.startsWith("-")) {
2891
2891
  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.";
2892
- throw new (0, _chunkUVXBVUZQjs.RunEventQueryInputError)(
2892
+ throw new (0, _chunkNUBIAJI2js.RunEventQueryInputError)(
2893
2893
  `Unsupported query flag ${flag}. ${correction}`
2894
2894
  );
2895
2895
  }
2896
2896
  if (runId !== void 0) {
2897
- throw new (0, _chunkUVXBVUZQjs.RunEventQueryInputError)(
2897
+ throw new (0, _chunkNUBIAJI2js.RunEventQueryInputError)(
2898
2898
  `Unexpected argument ${JSON.stringify(arg)}. Supply one run ID.`
2899
2899
  );
2900
2900
  }
@@ -2902,7 +2902,7 @@ function parseQuery(args, resource) {
2902
2902
  }
2903
2903
  if (switches.has("--fields")) {
2904
2904
  if (runId !== void 0) {
2905
- throw new (0, _chunkUVXBVUZQjs.RunEventQueryInputError)(
2905
+ throw new (0, _chunkNUBIAJI2js.RunEventQueryInputError)(
2906
2906
  "--fields does not use a run ID. Omit the positional run ID."
2907
2907
  );
2908
2908
  }
@@ -2915,18 +2915,18 @@ function parseQuery(args, resource) {
2915
2915
  )
2916
2916
  ];
2917
2917
  if (incompatible.length) {
2918
- throw new (0, _chunkUVXBVUZQjs.RunEventQueryInputError)(
2918
+ throw new (0, _chunkNUBIAJI2js.RunEventQueryInputError)(
2919
2919
  `--fields cannot be combined with ${incompatible.join(", ")}. Use --fields alone to discover the query contract.`
2920
2920
  );
2921
2921
  }
2922
2922
  }
2923
2923
  if (switches.has("--count") && values["--group-by"] !== void 0) {
2924
- throw new (0, _chunkUVXBVUZQjs.RunEventQueryInputError)(
2924
+ throw new (0, _chunkNUBIAJI2js.RunEventQueryInputError)(
2925
2925
  "--count cannot be combined with --group-by. Use --group-by for counts per group."
2926
2926
  );
2927
2927
  }
2928
2928
  if (sums.length && switches.has("--count")) {
2929
- throw new (0, _chunkUVXBVUZQjs.RunEventQueryInputError)(
2929
+ throw new (0, _chunkNUBIAJI2js.RunEventQueryInputError)(
2930
2930
  "--sum cannot be combined with --count. Use --sum for the exact count and numeric total."
2931
2931
  );
2932
2932
  }
@@ -2934,7 +2934,7 @@ function parseQuery(args, resource) {
2934
2934
  if (operation === "count") {
2935
2935
  for (const flag of ["--limit", "--cursor", "--payloads"]) {
2936
2936
  if (values[flag] !== void 0 || switches.has(flag)) {
2937
- throw new (0, _chunkUVXBVUZQjs.RunEventQueryInputError)(
2937
+ throw new (0, _chunkNUBIAJI2js.RunEventQueryInputError)(
2938
2938
  `--count cannot be combined with ${flag}. Remove ${flag} to count all matching retained records.`
2939
2939
  );
2940
2940
  }
@@ -2969,16 +2969,16 @@ function parseQuery(args, resource) {
2969
2969
  ];
2970
2970
  }
2971
2971
  }
2972
- const request = _chunkUVXBVUZQjs.normalizeRunEventOperationRequest.call(void 0, body);
2972
+ const request = _chunkNUBIAJI2js.normalizeRunEventOperationRequest.call(void 0, body);
2973
2973
  const namespace = _nullishCoalesce(values["--runtime-namespace"], () => ( (process.env.DEEPLINE_RUNTIME_ENVIRONMENT === "preview" ? process.env.DEEPLINE_RUNTIME_NAMESPACE : void 0)));
2974
2974
  const backend = values["--runtime-backend"];
2975
2975
  if (backend && backend !== "daytona" && backend !== "modal") {
2976
- throw new (0, _chunkUVXBVUZQjs.RunEventQueryInputError)(
2976
+ throw new (0, _chunkNUBIAJI2js.RunEventQueryInputError)(
2977
2977
  "--runtime-backend must be daytona or modal."
2978
2978
  );
2979
2979
  }
2980
2980
  if (backend && !namespace) {
2981
- throw new (0, _chunkUVXBVUZQjs.RunEventQueryInputError)(
2981
+ throw new (0, _chunkNUBIAJI2js.RunEventQueryInputError)(
2982
2982
  "--runtime-backend requires --runtime-namespace."
2983
2983
  );
2984
2984
  }
@@ -3025,12 +3025,12 @@ async function handleRunEventQuery(args, resource = "logs") {
3025
3025
  const failure = error instanceof Error ? error : new Error(String(error));
3026
3026
  const record3 = failure;
3027
3027
  const status = record3.statusCode;
3028
- const exitCode = error instanceof _chunkUVXBVUZQjs.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;
3028
+ const exitCode = error instanceof _chunkNUBIAJI2js.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;
3029
3029
  const diagnostic = Object.assign(failure, {
3030
3030
  exitCode,
3031
3031
  retryable: exitCode === 5
3032
3032
  });
3033
- if (_chunkDQ65ZVHNjs.argsWantJson.call(void 0, args)) _chunkDQ65ZVHNjs.printJsonError.call(void 0, diagnostic);
3033
+ if (_chunkS22ZQZMUjs.argsWantJson.call(void 0, args)) _chunkS22ZQZMUjs.printJsonError.call(void 0, diagnostic);
3034
3034
  else console.error(`Error: ${diagnostic.message}`);
3035
3035
  return exitCode;
3036
3036
  }
@@ -3045,7 +3045,7 @@ async function executeRunEventQuery(args, resource) {
3045
3045
  ...criteria
3046
3046
  } = request;
3047
3047
  const options = { ...criteria, ...runtime ? { runtime } : {} };
3048
- const client = new (0, _chunkUVXBVUZQjs.DeeplineClient)();
3048
+ const client = new (0, _chunkNUBIAJI2js.DeeplineClient)();
3049
3049
  let result;
3050
3050
  if (request.operation === "fields") {
3051
3051
  result = await client.runs[resource].fields(runtime ? { runtime } : {});
@@ -3111,13 +3111,13 @@ async function executeRunEventQuery(args, resource) {
3111
3111
  lines.push(`Next page: ${nextPage}`);
3112
3112
  }
3113
3113
  }
3114
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0,
3114
+ _chunkS22ZQZMUjs.printCommandEnvelope.call(void 0,
3115
3115
  {
3116
3116
  ...result,
3117
3117
  ...nextPage ? { next: { page: nextPage } } : {},
3118
3118
  render: { sections: [{ title: `run ${resource}`, lines }] }
3119
3119
  },
3120
- { json: _chunkDQ65ZVHNjs.argsWantJson.call(void 0, args), text: `${lines.join("\n")}
3120
+ { json: _chunkS22ZQZMUjs.argsWantJson.call(void 0, args), text: `${lines.join("\n")}
3121
3121
  ` }
3122
3122
  );
3123
3123
  return 0;
@@ -4035,7 +4035,7 @@ Existing credential redactions and referenced-list previews remain as stored.
4035
4035
  ...text.split(/\r?\n/).map((key) => key.trim()).filter(Boolean)
4036
4036
  );
4037
4037
  }
4038
- const response = await new (0, _chunkUVXBVUZQjs.DeeplineClient)().runs.getReceipts(runId, {
4038
+ const response = await new (0, _chunkNUBIAJI2js.DeeplineClient)().runs.getReceipts(runId, {
4039
4039
  keys
4040
4040
  });
4041
4041
  const failed = response.receipts.filter(
@@ -4047,7 +4047,7 @@ Existing credential redactions and referenced-list previews remain as stored.
4047
4047
  JSON.stringify(response, null, 2) + "\n",
4048
4048
  { flag: "wx", mode: 384 }
4049
4049
  );
4050
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0,
4050
+ _chunkS22ZQZMUjs.printCommandEnvelope.call(void 0,
4051
4051
  {
4052
4052
  runId,
4053
4053
  out: options.out,
@@ -4057,7 +4057,7 @@ Existing credential redactions and referenced-list previews remain as stored.
4057
4057
  { json: true }
4058
4058
  );
4059
4059
  } else {
4060
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0, { ...response }, { json: true });
4060
+ _chunkS22ZQZMUjs.printCommandEnvelope.call(void 0, { ...response }, { json: true });
4061
4061
  }
4062
4062
  if (failed)
4063
4063
  process.exitCode = response.receipts.some(
@@ -4096,7 +4096,7 @@ includes nextCommand when another page is available.
4096
4096
  { exitCode: 2 }
4097
4097
  );
4098
4098
  }
4099
- const page = await new (0, _chunkUVXBVUZQjs.DeeplineClient)().runs.children(parentRunId, {
4099
+ const page = await new (0, _chunkNUBIAJI2js.DeeplineClient)().runs.children(parentRunId, {
4100
4100
  launchKey: options.launchKey,
4101
4101
  ...options.cursor !== void 0 ? { cursor: options.cursor } : {},
4102
4102
  limit
@@ -4111,7 +4111,7 @@ includes nextCommand when another page is available.
4111
4111
  "--limit",
4112
4112
  String(limit)
4113
4113
  ].join(" ") : null;
4114
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0,
4114
+ _chunkS22ZQZMUjs.printCommandEnvelope.call(void 0,
4115
4115
  {
4116
4116
  parentRunId,
4117
4117
  launchKey: options.launchKey,
@@ -4147,7 +4147,7 @@ async function handleRunsHistory(options) {
4147
4147
  throw new Error("--limit must be a positive integer.");
4148
4148
  }
4149
4149
  }
4150
- const page = await new (0, _chunkUVXBVUZQjs.DeeplineClient)().runs.history({
4150
+ const page = await new (0, _chunkNUBIAJI2js.DeeplineClient)().runs.history({
4151
4151
  cursor: options.cursor,
4152
4152
  orgId: options.org,
4153
4153
  search: options.search,
@@ -4163,7 +4163,7 @@ async function handleRunsHistory(options) {
4163
4163
  );
4164
4164
  }
4165
4165
  if (page.hasMore) lines.push(`Next cursor: ${page.nextCursor}`);
4166
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0,
4166
+ _chunkS22ZQZMUjs.printCommandEnvelope.call(void 0,
4167
4167
  { ...page, render: { sections: [{ title: "Run history", lines }] } },
4168
4168
  options.json ? { json: true } : {}
4169
4169
  );
@@ -4215,12 +4215,12 @@ async function runRunsRerunCommand(runId, options) {
4215
4215
  return 1;
4216
4216
  }
4217
4217
  }
4218
- const result = await new (0, _chunkUVXBVUZQjs.DeeplineClient)().runs.rerun(runId, {
4218
+ const result = await new (0, _chunkNUBIAJI2js.DeeplineClient)().runs.rerun(runId, {
4219
4219
  ...idempotencyKey === void 0 ? {} : { idempotencyKey },
4220
4220
  ...inputOverrides === void 0 ? {} : { inputOverrides }
4221
4221
  });
4222
- if (_chunkDQ65ZVHNjs.shouldEmitJson.call(void 0, options.json)) {
4223
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0, result, { json: true });
4222
+ if (_chunkS22ZQZMUjs.shouldEmitJson.call(void 0, options.json)) {
4223
+ _chunkS22ZQZMUjs.printCommandEnvelope.call(void 0, result, { json: true });
4224
4224
  } else {
4225
4225
  console.log(
4226
4226
  result.deduplicated === true ? `
@@ -4488,7 +4488,7 @@ function projectRunDatasetCell(value) {
4488
4488
  const logicalValue = parseSerializedDatasetValue(value);
4489
4489
  if (logicalValue === null || logicalValue === void 0) return logicalValue;
4490
4490
  if (typeof logicalValue === "object") {
4491
- return _chunkDQ65ZVHNjs.csvSafeJsonString.call(void 0, canonicalDatasetJson(logicalValue));
4491
+ return _chunkS22ZQZMUjs.csvSafeJsonString.call(void 0, canonicalDatasetJson(logicalValue));
4492
4492
  }
4493
4493
  return logicalValue;
4494
4494
  }
@@ -6915,7 +6915,7 @@ function renderOutcome(outcome) {
6915
6915
  function printResult2(input) {
6916
6916
  const failed = input.status === "failed" || input.status === "cancelled";
6917
6917
  if (failed) process.exitCode = 1;
6918
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0,
6918
+ _chunkS22ZQZMUjs.printCommandEnvelope.call(void 0,
6919
6919
  {
6920
6920
  deployment: { ...input.deployment, status: input.status },
6921
6921
  plays: input.outcomes,
@@ -6940,7 +6940,7 @@ async function handlePlaysDeploy(directory, options) {
6940
6940
  const root = await _promises.realpath.call(void 0, _path.resolve.call(void 0, _nullishCoalesce(directory, () => ( ".")))).catch(() => {
6941
6941
  throw new Error(`No such directory: ${_path.resolve.call(void 0, _nullishCoalesce(directory, () => ( ".")))}`);
6942
6942
  });
6943
- const { http, config } = _chunkDQ65ZVHNjs.getAuthedHttpClient.call(void 0, );
6943
+ const { http, config } = _chunkS22ZQZMUjs.getAuthedHttpClient.call(void 0, );
6944
6944
  const deliveryId = `local:${_crypto.randomUUID.call(void 0, )}`;
6945
6945
  const startDeployment = () => http.post("/api/v2/deployments", {
6946
6946
  deliveryId,
@@ -6967,7 +6967,7 @@ async function handlePlaysDeploy(directory, options) {
6967
6967
  },
6968
6968
  {
6969
6969
  bundle: bundleDeployPlayFile,
6970
- fetchImpl: _chunkRYW4HPSMjs.fetchWithDeploymentProtection,
6970
+ fetchImpl: _chunkJU3PF7WMjs.fetchWithDeploymentProtection,
6971
6971
  // The plays are already here: "opening" the source is naming it.
6972
6972
  openSource: async () => ({
6973
6973
  open: async () => ({ repoRoot: root })
@@ -7535,7 +7535,7 @@ function parseInputFlagValue(raw) {
7535
7535
  return raw;
7536
7536
  }
7537
7537
  function parsePlayRunOptions(args, initialInput = null) {
7538
- const selection = _chunkDQ65ZVHNjs.parseJsonFields.call(void 0, args, "run");
7538
+ const selection = _chunkS22ZQZMUjs.parseJsonFields.call(void 0, args, "run");
7539
7539
  args = selection.args;
7540
7540
  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.";
7541
7541
  let filePath = null;
@@ -7547,7 +7547,7 @@ function parsePlayRunOptions(args, initialInput = null) {
7547
7547
  let revisionSelector = null;
7548
7548
  const watch = !args.includes("--no-wait");
7549
7549
  const dryRun = args.includes("--dry-run");
7550
- let jsonOutput = dryRun ? _chunkDQ65ZVHNjs.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunkDQ65ZVHNjs.argsWantJson.call(void 0, args);
7550
+ let jsonOutput = dryRun ? _chunkS22ZQZMUjs.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunkS22ZQZMUjs.argsWantJson.call(void 0, args);
7551
7551
  const fullJson = args.includes("--full");
7552
7552
  const force = args.includes("--force");
7553
7553
  const forceToolRefresh = args.includes("--force-tool-refresh");
@@ -7610,7 +7610,7 @@ function parsePlayRunOptions(args, initialInput = null) {
7610
7610
  "--log-level requires one of: debug, info, warn, error."
7611
7611
  );
7612
7612
  }
7613
- const parsed = _chunkUVXBVUZQjs.parseLogLevel.call(void 0, value);
7613
+ const parsed = _chunkNUBIAJI2js.parseLogLevel.call(void 0, value);
7614
7614
  if (!parsed) {
7615
7615
  throw new Error(
7616
7616
  `Unsupported --log-level ${JSON.stringify(value)}. Use debug, info, warn, or error.`
@@ -7928,7 +7928,7 @@ function resolvePlayRunCliOptions(target, options, inputArgs = []) {
7928
7928
  const hasExplicitLogLevel = options.logLevel !== void 0 || inputArgs.some(
7929
7929
  (arg) => arg === "--log-level" || arg.startsWith("--log-level=")
7930
7930
  );
7931
- let logLevel = options.logLevel === void 0 ? base.logLevel : _chunkUVXBVUZQjs.parseLogLevel.call(void 0, options.logLevel);
7931
+ let logLevel = options.logLevel === void 0 ? base.logLevel : _chunkNUBIAJI2js.parseLogLevel.call(void 0, options.logLevel);
7932
7932
  if (!logLevel)
7933
7933
  throw new Error("--log-level requires one of: debug, info, warn, error.");
7934
7934
  const debugAlias = options.logs || options.debug === true || inputArgs.some(
@@ -7942,13 +7942,13 @@ function resolvePlayRunCliOptions(target, options, inputArgs = []) {
7942
7942
  if (debugAlias || debugMapLatency && logLevel === "info")
7943
7943
  logLevel = "debug";
7944
7944
  const fullJson = _nullishCoalesce(options.full, () => ( base.fullJson));
7945
- const jsonFields = options.json === void 0 ? base.jsonFields : _chunkDQ65ZVHNjs.parseJsonFields.call(void 0,
7946
- [...fullJson ? ["--full"] : [], ..._chunkDQ65ZVHNjs.jsonFieldArgs.call(void 0, options.json)],
7945
+ const jsonFields = options.json === void 0 ? base.jsonFields : _chunkS22ZQZMUjs.parseJsonFields.call(void 0,
7946
+ [...fullJson ? ["--full"] : [], ..._chunkS22ZQZMUjs.jsonFieldArgs.call(void 0, options.json)],
7947
7947
  "run"
7948
7948
  ).fields;
7949
7949
  const watch = options.wait === false ? false : base.watch;
7950
7950
  const explicitJson = options.json !== void 0 ? options.json !== false : base.jsonOutput;
7951
- const jsonOutput = dryRun || !watch ? explicitJson || _chunkDQ65ZVHNjs.argsWantJson.call(void 0, []) : explicitJson;
7951
+ const jsonOutput = dryRun || !watch ? explicitJson || _chunkS22ZQZMUjs.argsWantJson.call(void 0, []) : explicitJson;
7952
7952
  const verboseLogs = Boolean(
7953
7953
  debugAlias || logLevel === "debug" || debugMapLatency
7954
7954
  );
@@ -7995,7 +7995,7 @@ function playAuthoringGraphPath(parent, filePath) {
7995
7995
  // src/cli/renderers/local-play-execution.ts
7996
7996
  function renderLocalPlayExecutionPlan(plan, options = {}) {
7997
7997
  if (options.dryRun) {
7998
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0, { dryRun: true, ...plan }, { json: options.json });
7998
+ _chunkS22ZQZMUjs.printCommandEnvelope.call(void 0, { dryRun: true, ...plan }, { json: options.json });
7999
7999
  return;
8000
8000
  }
8001
8001
  process.stderr.write(`Local Play execution plan: ${JSON.stringify(plan)}
@@ -8959,7 +8959,7 @@ function playStatusErrorText(status) {
8959
8959
  function isRetryablePendingStartFailure(status) {
8960
8960
  if (status.status !== "failed") return false;
8961
8961
  if (status.runId && status.runId !== "pending") return false;
8962
- return _chunkUVXBVUZQjs.isTransientPlayRunReadError.call(void 0, new Error(playStatusErrorText(status)));
8962
+ return _chunkNUBIAJI2js.isTransientPlayRunReadError.call(void 0, new Error(playStatusErrorText(status)));
8963
8963
  }
8964
8964
  function pendingStartFailureStatus(input) {
8965
8965
  const message = input.error instanceof Error ? input.error.message : String(input.error);
@@ -8986,13 +8986,13 @@ var PLAY_PROGRESS_HEARTBEAT_INTERVAL_MS = 15e3;
8986
8986
  var PLAY_STATUS_HEARTBEAT_INTERVAL_MS = 15e3;
8987
8987
  function watchSurfaceReaches(state, provenance, level) {
8988
8988
  const minimumLevel = _nullishCoalesce(state.logLevel, () => ( (state.verbose ? "debug" : "info")));
8989
- if (!_chunkUVXBVUZQjs.logLevelReaches.call(void 0, level, minimumLevel)) {
8989
+ if (!_chunkNUBIAJI2js.logLevelReaches.call(void 0, level, minimumLevel)) {
8990
8990
  return false;
8991
8991
  }
8992
- if (_chunkUVXBVUZQjs.logProvenanceReaches.call(void 0, provenance, "watch")) {
8992
+ if (_chunkNUBIAJI2js.logProvenanceReaches.call(void 0, provenance, "watch")) {
8993
8993
  return true;
8994
8994
  }
8995
- return state.verbose === true && _chunkUVXBVUZQjs.logProvenanceReaches.call(void 0, provenance, "debug");
8995
+ return state.verbose === true && _chunkNUBIAJI2js.logProvenanceReaches.call(void 0, provenance, "debug");
8996
8996
  }
8997
8997
  function getEventPayload(event) {
8998
8998
  return event.payload && typeof event.payload === "object" ? event.payload : {};
@@ -9494,7 +9494,7 @@ function resolveRunPlayName(status, runId) {
9494
9494
  }
9495
9495
  function openPlayDashboard(dashboardUrl, open2) {
9496
9496
  if (open2 && dashboardUrl) {
9497
- _chunkDQ65ZVHNjs.openInBrowser.call(void 0, dashboardUrl);
9497
+ _chunkS22ZQZMUjs.openInBrowser.call(void 0, dashboardUrl);
9498
9498
  }
9499
9499
  }
9500
9500
  function printPlayLogLines(input) {
@@ -9556,7 +9556,7 @@ async function waitForPlayCompletionByWatch(input) {
9556
9556
  billing: false
9557
9557
  });
9558
9558
  } catch (error) {
9559
- if (_chunkUVXBVUZQjs.isTransientPlayRunReadError.call(void 0, error) || isAdmittedRunVisibilityDelay(error)) {
9559
+ if (_chunkNUBIAJI2js.isTransientPlayRunReadError.call(void 0, error) || isAdmittedRunVisibilityDelay(error)) {
9560
9560
  return null;
9561
9561
  }
9562
9562
  throw error;
@@ -9754,7 +9754,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
9754
9754
  billing: false
9755
9755
  });
9756
9756
  } catch (error) {
9757
- if (_chunkUVXBVUZQjs.isTransientPlayRunReadError.call(void 0, error)) {
9757
+ if (_chunkNUBIAJI2js.isTransientPlayRunReadError.call(void 0, error)) {
9758
9758
  return null;
9759
9759
  }
9760
9760
  throw error;
@@ -9962,7 +9962,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
9962
9962
  lastPhase
9963
9963
  });
9964
9964
  }
9965
- if (lastKnownWorkflowId && _chunkUVXBVUZQjs.isTransientPlayRunReadError.call(void 0, error)) {
9965
+ if (lastKnownWorkflowId && _chunkNUBIAJI2js.isTransientPlayRunReadError.call(void 0, error)) {
9966
9966
  if (timeout) {
9967
9967
  clearTimeout(timeout);
9968
9968
  }
@@ -9998,7 +9998,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
9998
9998
  onRunAdmitted: confirmAdmission
9999
9999
  });
10000
10000
  }
10001
- if (!lastKnownWorkflowId && _chunkUVXBVUZQjs.isTransientPlayRunReadError.call(void 0, error)) {
10001
+ if (!lastKnownWorkflowId && _chunkNUBIAJI2js.isTransientPlayRunReadError.call(void 0, error)) {
10002
10002
  _chunkAYHLUHE5js.recordCliTrace.call(void 0, {
10003
10003
  phase: "cli.play_start_stream_transient_failure",
10004
10004
  ms: Date.now() - startedAt,
@@ -10097,7 +10097,7 @@ var BULKY_RETURN_KEYS = /* @__PURE__ */ new Set([
10097
10097
  "logs"
10098
10098
  ]);
10099
10099
  function formatPlayLogLine(rawLine, state) {
10100
- const classified = _chunkUVXBVUZQjs.classifyLogLine.call(void 0, rawLine);
10100
+ const classified = _chunkNUBIAJI2js.classifyLogLine.call(void 0, rawLine);
10101
10101
  const line = classified.line;
10102
10102
  const timestampMatch = line.match(/^\[([^\]]+)\]\s*(.*)$/);
10103
10103
  const parsedTimestamp = _optionalChain([timestampMatch, 'optionalAccess', _317 => _317[1]]) ? new Date(timestampMatch[1]) : null;
@@ -10112,14 +10112,14 @@ function formatPlayLogLine(rawLine, state) {
10112
10112
  if (!state.verbose && isProviderRowWaitLogLine(line)) return null;
10113
10113
  const providerWait = formatProviderCapacityWaitLogLine(line);
10114
10114
  if (providerWait && !state.verbose) {
10115
- return _chunkUVXBVUZQjs.logLevelReaches.call(void 0, "warn", _nullishCoalesce(state.logLevel, () => ( "info"))) ? `${prefix}${providerWait}` : null;
10115
+ return _chunkNUBIAJI2js.logLevelReaches.call(void 0, "warn", _nullishCoalesce(state.logLevel, () => ( "info"))) ? `${prefix}${providerWait}` : null;
10116
10116
  }
10117
10117
  const mapProgress = formatMapProgressDiagnosticLogLine(line);
10118
10118
  if (mapProgress && !state.verbose) {
10119
- return _chunkUVXBVUZQjs.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info"))) ? `${prefix}${mapProgress}` : null;
10119
+ return _chunkNUBIAJI2js.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info"))) ? `${prefix}${mapProgress}` : null;
10120
10120
  }
10121
10121
  if (/\[worker\] picked up run\b/.test(message)) {
10122
- if (!_chunkUVXBVUZQjs.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info")))) {
10122
+ if (!_chunkNUBIAJI2js.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info")))) {
10123
10123
  return null;
10124
10124
  }
10125
10125
  if (state.emittedRunnerStarted) {
@@ -10132,7 +10132,7 @@ function formatPlayLogLine(rawLine, state) {
10132
10132
  /^Starting map over (\d+) items with (\d+) fields \(key: ([^;]+); (\d+) already satisfied; (\d+) pending\)$/
10133
10133
  );
10134
10134
  if (mapStart) {
10135
- if (!_chunkUVXBVUZQjs.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info")))) {
10135
+ if (!_chunkNUBIAJI2js.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info")))) {
10136
10136
  return null;
10137
10137
  }
10138
10138
  const [, rows, fields2, namespace, cached, pending] = mapStart;
@@ -10142,7 +10142,7 @@ function formatPlayLogLine(rawLine, state) {
10142
10142
  /^Map completed: (\d+) results \((\d+) executed, (\d+) already satisfied\)$/
10143
10143
  );
10144
10144
  if (mapDone) {
10145
- if (!_chunkUVXBVUZQjs.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info")))) {
10145
+ if (!_chunkNUBIAJI2js.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info")))) {
10146
10146
  return null;
10147
10147
  }
10148
10148
  const [, results, executed, cached] = mapDone;
@@ -11429,7 +11429,7 @@ function formatRecentRunLogLines(value) {
11429
11429
  (line) => typeof line === "string"
11430
11430
  );
11431
11431
  if (tail.length === 0) return [];
11432
- const shown = tail.map((line) => _chunkUVXBVUZQjs.classifyLogLine.call(void 0, line)).filter(
11432
+ const shown = tail.map((line) => _chunkNUBIAJI2js.classifyLogLine.call(void 0, line)).filter(
11433
11433
  (entry) => entry.level !== "debug" && !isProviderRowWaitLogLine(entry.line)
11434
11434
  ).slice(-8);
11435
11435
  const total = readNonNegativeInteger(logs.totalCount);
@@ -11712,7 +11712,7 @@ function writePlayResult(status, jsonOutput, options) {
11712
11712
  const hits = _nullishCoalesce(_optionalChain([options, 'optionalAccess', _398 => _398.hits]), () => ( null));
11713
11713
  if (jsonOutput) {
11714
11714
  const payload2 = _optionalChain([options, 'optionalAccess', _399 => _399.fullJson]) ? status.package ? buildRunOverview(status, status) : { ...buildRunLaunch(status), diagnostics: status } : buildRunLaunch(status);
11715
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0,
11715
+ _chunkS22ZQZMUjs.printCommandEnvelope.call(void 0,
11716
11716
  hits ? { ...payload2, hits } : payload2,
11717
11717
  { json: true, fields: _optionalChain([options, 'optionalAccess', _400 => _400.jsonFields]) }
11718
11718
  );
@@ -11728,7 +11728,7 @@ function writePlayResult(status, jsonOutput, options) {
11728
11728
  ...buildPlayCompletionTextLines(status),
11729
11729
  ...formatRunHitsLines(hits)
11730
11730
  ];
11731
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0, displayPackage, {
11731
+ _chunkS22ZQZMUjs.printCommandEnvelope.call(void 0, displayPackage, {
11732
11732
  json: false,
11733
11733
  text: `${lines2.join("\n")}
11734
11734
  `
@@ -11779,7 +11779,7 @@ function writePlayResult(status, jsonOutput, options) {
11779
11779
  lines.push(...buildBillingRollupTextLines(status));
11780
11780
  const compact = compactPlayStatus(status);
11781
11781
  const payload = _optionalChain([options, 'optionalAccess', _402 => _402.fullJson]) ? status : compact;
11782
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0,
11782
+ _chunkS22ZQZMUjs.printCommandEnvelope.call(void 0,
11783
11783
  {
11784
11784
  ...payload,
11785
11785
  render: {
@@ -12549,7 +12549,7 @@ function writeStartedPlayRun(input) {
12549
12549
  dashboardUrl: input.dashboardUrl,
12550
12550
  package: input.package
12551
12551
  };
12552
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0, buildRunLaunch(status), {
12552
+ _chunkS22ZQZMUjs.printCommandEnvelope.call(void 0, buildRunLaunch(status), {
12553
12553
  json: true,
12554
12554
  fields: input.jsonFields
12555
12555
  });
@@ -12571,7 +12571,7 @@ function writeStartedPlayRun(input) {
12571
12571
  input.progress.writeLine(output2, process.stdout);
12572
12572
  return;
12573
12573
  }
12574
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0, input.package, {
12574
+ _chunkS22ZQZMUjs.printCommandEnvelope.call(void 0, input.package, {
12575
12575
  json: false,
12576
12576
  text: `${output2}
12577
12577
  `
@@ -12600,7 +12600,7 @@ function writeStartedPlayRun(input) {
12600
12600
  ) ? [`Stop: deepline runs stop ${_chunkAID3OYVJjs.shellQuote.call(void 0, input.runId)}`] : []
12601
12601
  ];
12602
12602
  if (input.jsonOutput) {
12603
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0, payload, { json: true, fields: input.jsonFields });
12603
+ _chunkS22ZQZMUjs.printCommandEnvelope.call(void 0, payload, { json: true, fields: input.jsonFields });
12604
12604
  return;
12605
12605
  }
12606
12606
  if (input.dashboardUrl) {
@@ -12611,7 +12611,7 @@ function writeStartedPlayRun(input) {
12611
12611
  input.progress.writeLine(output, process.stdout);
12612
12612
  return;
12613
12613
  }
12614
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0,
12614
+ _chunkS22ZQZMUjs.printCommandEnvelope.call(void 0,
12615
12615
  {
12616
12616
  ...payload,
12617
12617
  render: { sections: [{ title: "play run", lines }] }
@@ -12621,7 +12621,7 @@ function writeStartedPlayRun(input) {
12621
12621
  );
12622
12622
  }
12623
12623
  function parsePlayCheckOptions(args) {
12624
- const selection = _chunkDQ65ZVHNjs.parseJsonFields.call(void 0, args, "check");
12624
+ const selection = _chunkS22ZQZMUjs.parseJsonFields.call(void 0, args, "check");
12625
12625
  args = selection.args;
12626
12626
  const target = args[0];
12627
12627
  if (!target || target.startsWith("-")) {
@@ -12633,7 +12633,7 @@ function parsePlayCheckOptions(args) {
12633
12633
  if (arg !== "--json" && arg !== "--full")
12634
12634
  throw new Error(`Unknown plays check option: ${arg}`);
12635
12635
  }
12636
- const jsonOutput = _chunkDQ65ZVHNjs.argsWantJson.call(void 0, args);
12636
+ const jsonOutput = _chunkS22ZQZMUjs.argsWantJson.call(void 0, args);
12637
12637
  return {
12638
12638
  target,
12639
12639
  jsonOutput,
@@ -12709,7 +12709,7 @@ ${PLAY_PUBLISH_USAGE}`
12709
12709
  useLatest,
12710
12710
  expectedArtifactHash,
12711
12711
  dryRun,
12712
- jsonOutput: _chunkDQ65ZVHNjs.argsWantJson.call(void 0, args)
12712
+ jsonOutput: _chunkS22ZQZMUjs.argsWantJson.call(void 0, args)
12713
12713
  };
12714
12714
  }
12715
12715
  var PLAY_SAVE_USAGE = "Usage: deepline plays save <play-file.ts> [--expected-artifact <hash>] [--dry-run] [--json]";
@@ -12750,7 +12750,7 @@ ${PLAY_SAVE_USAGE}`);
12750
12750
  target,
12751
12751
  expectedArtifactHash,
12752
12752
  dryRun,
12753
- jsonOutput: _chunkDQ65ZVHNjs.argsWantJson.call(void 0, args)
12753
+ jsonOutput: _chunkS22ZQZMUjs.argsWantJson.call(void 0, args)
12754
12754
  };
12755
12755
  }
12756
12756
  function printScheduledPlayCapacity(capacity) {
@@ -12961,7 +12961,7 @@ function printBundledRuntimeWarning(bundle) {
12961
12961
  async function handlePlayCheck(args) {
12962
12962
  const options = parsePlayCheckOptions(args);
12963
12963
  if (!isFileTarget2(options.target)) {
12964
- const client = new (0, _chunkUVXBVUZQjs.DeeplineClient)();
12964
+ const client = new (0, _chunkNUBIAJI2js.DeeplineClient)();
12965
12965
  try {
12966
12966
  await assertCanonicalNamedPlayReference(client, options.target, {
12967
12967
  command: "check"
@@ -12990,7 +12990,7 @@ async function handlePlayCheck(args) {
12990
12990
  },
12991
12991
  ...options.full ? { diagnostics: { staticPipeline: _nullishCoalesce(play.staticPipeline, () => ( null)) } } : {}
12992
12992
  };
12993
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0, result, {
12993
+ _chunkS22ZQZMUjs.printCommandEnvelope.call(void 0, result, {
12994
12994
  json: options.jsonOutput,
12995
12995
  fields: options.jsonFields,
12996
12996
  text: renderPlayCheckOutput(result) + "\n"
@@ -13000,7 +13000,7 @@ async function handlePlayCheck(args) {
13000
13000
  const resolved = _path.resolve.call(void 0, options.target);
13001
13001
  const message = error instanceof Error && error.message ? error.message : `File not found: ${resolved}`;
13002
13002
  if (options.jsonOutput) {
13003
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0,
13003
+ _chunkS22ZQZMUjs.printCommandEnvelope.call(void 0,
13004
13004
  {
13005
13005
  kind: "play_check",
13006
13006
  checked: "named_contract",
@@ -13042,7 +13042,7 @@ async function handlePlayCheck(args) {
13042
13042
  detailsCommand: `deepline plays check ${_chunkAID3OYVJjs.shellQuote.call(void 0, options.target)} --full`,
13043
13043
  publishCommand: _optionalChain([primary, 'optionalAccess', _449 => _449.result, 'access', _450 => _450.artifactHash]) ? `deepline plays publish ${_chunkAID3OYVJjs.shellQuote.call(void 0, options.target)} --expected-artifact ${primary.result.artifactHash}` : void 0
13044
13044
  });
13045
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0, output, {
13045
+ _chunkS22ZQZMUjs.printCommandEnvelope.call(void 0, output, {
13046
13046
  json: options.jsonOutput,
13047
13047
  fields: options.jsonFields,
13048
13048
  text: renderPlayCheckOutput(output) + "\n"
@@ -13096,7 +13096,7 @@ async function checkOneExportedPlay(input) {
13096
13096
  }
13097
13097
  const playName = _nullishCoalesce(graph.root.playName, () => ( fallbackName));
13098
13098
  const authoringErrors = collectPlayGraphAuthoringErrors(graph);
13099
- const client = new (0, _chunkUVXBVUZQjs.DeeplineClient)();
13099
+ const client = new (0, _chunkNUBIAJI2js.DeeplineClient)();
13100
13100
  const integrationMode = resolveEvalIntegrationMode();
13101
13101
  const importedPlays = [...graph.nodes.values()].filter((node) => node.filePath !== graph.root.filePath).map((node) => ({
13102
13102
  playName: node.playName,
@@ -13173,7 +13173,7 @@ async function handleFileBackedRun(options, hooks) {
13173
13173
  );
13174
13174
  return 0;
13175
13175
  }
13176
- client = new (0, _chunkUVXBVUZQjs.DeeplineClient)(playRunClientOptions(options));
13176
+ client = new (0, _chunkNUBIAJI2js.DeeplineClient)(playRunClientOptions(options));
13177
13177
  const canDeferCompilerManifest = graph.root.importedPlayDependencies.length === 0 && !sourceGraphMentionsRunPlay(graph.root) && !inputContainsLocalFilePath(runtimeInput);
13178
13178
  if (canDeferCompilerManifest) {
13179
13179
  _chunkAYHLUHE5js.recordCliTrace.call(void 0, {
@@ -13372,7 +13372,7 @@ async function handleNamedRun(options, hooks) {
13372
13372
  if (options.target.kind !== "name") {
13373
13373
  throw new Error("Expected a named play run target.");
13374
13374
  }
13375
- const client = new (0, _chunkUVXBVUZQjs.DeeplineClient)(playRunClientOptions(options));
13375
+ const client = new (0, _chunkNUBIAJI2js.DeeplineClient)(playRunClientOptions(options));
13376
13376
  const progress = _nullishCoalesce(_chunkWJYPBHTEjs.getActiveCliProgress.call(void 0, ), () => ( _chunkWJYPBHTEjs.createCliProgress.call(void 0, !options.jsonOutput)));
13377
13377
  const playName = options.target.name;
13378
13378
  const runtimeInput = options.input ? { ...options.input } : {};
@@ -13569,7 +13569,7 @@ async function handlePlayRun(args, hooks) {
13569
13569
  JSON.stringify({
13570
13570
  version: 1,
13571
13571
  admissionState: "submitted_unknown",
13572
- baseUrl: new (0, _chunkUVXBVUZQjs.DeeplineClient)().baseUrl,
13572
+ baseUrl: new (0, _chunkNUBIAJI2js.DeeplineClient)().baseUrl,
13573
13573
  ...intent
13574
13574
  })
13575
13575
  );
@@ -13798,10 +13798,10 @@ function renderRunOverviewText(overview, extras = {}) {
13798
13798
  );
13799
13799
  return `${lines.join("\n")}
13800
13800
 
13801
- ${_chunkDQ65ZVHNjs.renderCommandEnvelopeText.call(void 0, { render: { sections, actions: actions2 } })}`;
13801
+ ${_chunkS22ZQZMUjs.renderCommandEnvelopeText.call(void 0, { render: { sections, actions: actions2 } })}`;
13802
13802
  }
13803
13803
  async function handleRunGet(args) {
13804
- const selection = _chunkDQ65ZVHNjs.parseJsonFields.call(void 0,
13804
+ const selection = _chunkS22ZQZMUjs.parseJsonFields.call(void 0,
13805
13805
  args,
13806
13806
  args.includes("--config") ? "config" : "get"
13807
13807
  );
@@ -13814,7 +13814,7 @@ async function handleRunGet(args) {
13814
13814
  console.error(error instanceof Error ? error.message : usage2);
13815
13815
  return 1;
13816
13816
  }
13817
- const client = new (0, _chunkUVXBVUZQjs.DeeplineClient)();
13817
+ const client = new (0, _chunkNUBIAJI2js.DeeplineClient)();
13818
13818
  if (args.includes("--web-url")) {
13819
13819
  const status2 = await client.runs.get(runId, { full: false });
13820
13820
  const playName2 = resolveRunPlayName(status2, runId);
@@ -13823,7 +13823,7 @@ async function handleRunGet(args) {
13823
13823
  return 1;
13824
13824
  }
13825
13825
  const dashboardUrl2 = _chunkBQR6UN3Cjs.buildPlayDashboardUrl.call(void 0, client.baseUrl, playName2);
13826
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0,
13826
+ _chunkS22ZQZMUjs.printCommandEnvelope.call(void 0,
13827
13827
  { dashboardUrl: dashboardUrl2 },
13828
13828
  { json: args.includes("--json"), text: `${dashboardUrl2}
13829
13829
  ` }
@@ -13843,7 +13843,7 @@ async function handleRunGet(args) {
13843
13843
  "This server does not support recorded configuration reads."
13844
13844
  );
13845
13845
  }
13846
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0,
13846
+ _chunkS22ZQZMUjs.printCommandEnvelope.call(void 0,
13847
13847
  { runId, contract: _nullishCoalesce(status2.contract, () => ( null)) },
13848
13848
  { json: true, fields: selection.fields }
13849
13849
  );
@@ -13851,7 +13851,7 @@ async function handleRunGet(args) {
13851
13851
  }
13852
13852
  if (args.includes("--input")) {
13853
13853
  const input = await client.getRunInput(runId);
13854
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0, input, { json: true });
13854
+ _chunkS22ZQZMUjs.printCommandEnvelope.call(void 0, input, { json: true });
13855
13855
  return 0;
13856
13856
  }
13857
13857
  const full = args.includes("--full");
@@ -13867,8 +13867,8 @@ async function handleRunGet(args) {
13867
13867
  }) : status;
13868
13868
  const legacyPlayName = resolveRunPlayName(legacyStatus, runId);
13869
13869
  const legacyDashboardUrl = legacyPlayName ? _chunkBQR6UN3Cjs.buildPlayDashboardUrl.call(void 0, client.baseUrl, legacyPlayName) : null;
13870
- if (_chunkDQ65ZVHNjs.argsWantJson.call(void 0, args)) {
13871
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0,
13870
+ if (_chunkS22ZQZMUjs.argsWantJson.call(void 0, args)) {
13871
+ _chunkS22ZQZMUjs.printCommandEnvelope.call(void 0,
13872
13872
  {
13873
13873
  ...full ? legacyStatus : compactPlayStatus(legacyStatus),
13874
13874
  ...legacyDashboardUrl ? { dashboardUrl: legacyDashboardUrl } : {}
@@ -13878,7 +13878,7 @@ async function handleRunGet(args) {
13878
13878
  } else {
13879
13879
  writePlayResult(legacyStatus, false, { fullJson: full });
13880
13880
  if (legacyDashboardUrl)
13881
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0,
13881
+ _chunkS22ZQZMUjs.printCommandEnvelope.call(void 0,
13882
13882
  { dashboardUrl: legacyDashboardUrl },
13883
13883
  { json: false, text: `play page: ${legacyDashboardUrl}
13884
13884
  ` }
@@ -13893,10 +13893,10 @@ async function handleRunGet(args) {
13893
13893
  readRunCredits(client, runId, !TERMINAL_PLAY_STATUSES.has(status.status))
13894
13894
  ]);
13895
13895
  const hitLines = formatRunHitsLines(hits);
13896
- const json = _chunkDQ65ZVHNjs.argsWantJson.call(void 0, args);
13896
+ const json = _chunkS22ZQZMUjs.argsWantJson.call(void 0, args);
13897
13897
  const playName = resolveRunPlayName(status, runId);
13898
13898
  const dashboardUrl = playName ? _chunkBQR6UN3Cjs.buildPlayDashboardUrl.call(void 0, client.baseUrl, playName) : void 0;
13899
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0,
13899
+ _chunkS22ZQZMUjs.printCommandEnvelope.call(void 0,
13900
13900
  {
13901
13901
  ...overview,
13902
13902
  ...dashboardUrl ? { dashboardUrl } : {},
@@ -14000,9 +14000,9 @@ async function handleRunLifecycleStatus(args) {
14000
14000
  console.error(error instanceof Error ? error.message : usage2);
14001
14001
  return 1;
14002
14002
  }
14003
- const status = await new (0, _chunkUVXBVUZQjs.DeeplineClient)().runs.status(runId);
14004
- if (_chunkDQ65ZVHNjs.argsWantJson.call(void 0, args)) {
14005
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0, status, { json: true });
14003
+ const status = await new (0, _chunkNUBIAJI2js.DeeplineClient)().runs.status(runId);
14004
+ if (_chunkS22ZQZMUjs.argsWantJson.call(void 0, args)) {
14005
+ _chunkS22ZQZMUjs.printCommandEnvelope.call(void 0, status, { json: true });
14006
14006
  return 0;
14007
14007
  }
14008
14008
  if (!status.available) {
@@ -14042,7 +14042,7 @@ async function handleRunsRerun(args) {
14042
14042
  console.error(error instanceof Error ? error.message : usage2);
14043
14043
  return 1;
14044
14044
  }
14045
- const options = { json: _chunkDQ65ZVHNjs.argsWantJson.call(void 0, args) };
14045
+ const options = { json: _chunkS22ZQZMUjs.argsWantJson.call(void 0, args) };
14046
14046
  for (let index = 0; index < args.length; index += 1) {
14047
14047
  if (args[index] === "--idempotency-key") {
14048
14048
  options.idempotencyKey = _nullishCoalesce(args[++index], () => ( ""));
@@ -14107,8 +14107,8 @@ ${usage2}
14107
14107
  Discover Plays: ${next.discover}
14108
14108
  Active runs: ${next.running}`
14109
14109
  );
14110
- if (_chunkDQ65ZVHNjs.argsWantJson.call(void 0, args)) {
14111
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0,
14110
+ if (_chunkS22ZQZMUjs.argsWantJson.call(void 0, args)) {
14111
+ _chunkS22ZQZMUjs.printCommandEnvelope.call(void 0,
14112
14112
  { ok: false, exitCode: 1, code: "RUN_FILTER_REQUIRED", message, next },
14113
14113
  { json: true }
14114
14114
  );
@@ -14123,7 +14123,7 @@ Active runs: ${next.running}`
14123
14123
  console.error("--offset requires --play.");
14124
14124
  return 1;
14125
14125
  }
14126
- const client = new (0, _chunkUVXBVUZQjs.DeeplineClient)();
14126
+ const client = new (0, _chunkNUBIAJI2js.DeeplineClient)();
14127
14127
  const page = await client.runs.listPage({
14128
14128
  ...playName ? { play: playName } : {},
14129
14129
  ...statusFilter ? { status: statusFilter } : {},
@@ -14192,7 +14192,7 @@ Active runs: ${next.running}`
14192
14192
  nextPage ? `Next page: ${nextPage}` : "Narrow with --play <play-name> to page through runs."
14193
14193
  );
14194
14194
  }
14195
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0,
14195
+ _chunkS22ZQZMUjs.printCommandEnvelope.call(void 0,
14196
14196
  {
14197
14197
  runs,
14198
14198
  count: runs.length,
@@ -14206,7 +14206,7 @@ Active runs: ${next.running}`
14206
14206
  },
14207
14207
  render: { sections: [{ title: "runs", lines }] }
14208
14208
  },
14209
- { json: _chunkDQ65ZVHNjs.argsWantJson.call(void 0, args) }
14209
+ { json: _chunkS22ZQZMUjs.argsWantJson.call(void 0, args) }
14210
14210
  );
14211
14211
  return 0;
14212
14212
  }
@@ -14236,7 +14236,7 @@ async function handleRunTail(args) {
14236
14236
  console.error("--log-level requires one of: debug, info, warn, error.");
14237
14237
  return 1;
14238
14238
  }
14239
- const parsed = _chunkUVXBVUZQjs.parseLogLevel.call(void 0, value);
14239
+ const parsed = _chunkNUBIAJI2js.parseLogLevel.call(void 0, value);
14240
14240
  if (!parsed) {
14241
14241
  console.error(
14242
14242
  `Unsupported --log-level ${JSON.stringify(value)}. Use debug, info, warn, or error.`
@@ -14274,9 +14274,9 @@ async function handleRunTail(args) {
14274
14274
  );
14275
14275
  return 1;
14276
14276
  }
14277
- const client = new (0, _chunkUVXBVUZQjs.DeeplineClient)();
14277
+ const client = new (0, _chunkNUBIAJI2js.DeeplineClient)();
14278
14278
  const jsonLines = args.includes("--jsonl");
14279
- const jsonOutput = !jsonLines && _chunkDQ65ZVHNjs.argsWantJson.call(void 0, args);
14279
+ const jsonOutput = !jsonLines && _chunkS22ZQZMUjs.argsWantJson.call(void 0, args);
14280
14280
  const compact = args.includes("--compact");
14281
14281
  const showLiveLogs = debug || hasExplicitLogLevel || !jsonOutput && !compact;
14282
14282
  const compactState = {
@@ -14357,7 +14357,7 @@ async function handleRunLogs(args) {
14357
14357
  ]);
14358
14358
  const cursorIndex = args.indexOf("--cursor");
14359
14359
  const cursorValue = cursorIndex >= 0 ? args[cursorIndex + 1] : void 0;
14360
- const continuesEventSearch = cursorIndex >= 0 && !(cursorValue && _chunkUVXBVUZQjs.isRunLogsCursor.call(void 0, cursorValue));
14360
+ const continuesEventSearch = cursorIndex >= 0 && !(cursorValue && _chunkNUBIAJI2js.isRunLogsCursor.call(void 0, cursorValue));
14361
14361
  if (!args[0] || args[0].startsWith("--") || continuesEventSearch || args.some((arg) => searchFlags.has(arg))) {
14362
14362
  return handleRunEventSearch(args);
14363
14363
  }
@@ -14391,7 +14391,7 @@ async function handleRunLogs(args) {
14391
14391
  console.error("--log-level requires one of: debug, info, warn, error.");
14392
14392
  return 1;
14393
14393
  }
14394
- const parsed = _chunkUVXBVUZQjs.parseLogLevel.call(void 0, value);
14394
+ const parsed = _chunkNUBIAJI2js.parseLogLevel.call(void 0, value);
14395
14395
  if (!parsed) {
14396
14396
  console.error(
14397
14397
  `Unsupported --log-level ${JSON.stringify(value)}. Use debug, info, warn, or error.`
@@ -14438,12 +14438,12 @@ async function handleRunLogs(args) {
14438
14438
  );
14439
14439
  return 1;
14440
14440
  }
14441
- const client = new (0, _chunkUVXBVUZQjs.DeeplineClient)();
14441
+ const client = new (0, _chunkNUBIAJI2js.DeeplineClient)();
14442
14442
  if (outPath) {
14443
14443
  const result2 = await client.runs.logs(runId, { all: true });
14444
- const logs = result2.entries.filter((line) => _chunkUVXBVUZQjs.logLevelReaches.call(void 0, _chunkUVXBVUZQjs.classifyLogLine.call(void 0, line).level, logLevel)).map((line) => _chunkUVXBVUZQjs.classifyLogLine.call(void 0, line).line);
14444
+ const logs = result2.entries.filter((line) => _chunkNUBIAJI2js.logLevelReaches.call(void 0, _chunkNUBIAJI2js.classifyLogLine.call(void 0, line).level, logLevel)).map((line) => _chunkNUBIAJI2js.classifyLogLine.call(void 0, line).line);
14445
14445
  _fs.writeFileSync.call(void 0, outPath, `${logs.join("\n")}${logs.length > 0 ? "\n" : ""}`);
14446
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0,
14446
+ _chunkS22ZQZMUjs.printCommandEnvelope.call(void 0,
14447
14447
  {
14448
14448
  runId: result2.runId,
14449
14449
  log_path: outPath,
@@ -14466,7 +14466,7 @@ async function handleRunLogs(args) {
14466
14466
  ]
14467
14467
  }
14468
14468
  },
14469
- { json: _chunkDQ65ZVHNjs.argsWantJson.call(void 0, args) }
14469
+ { json: _chunkS22ZQZMUjs.argsWantJson.call(void 0, args) }
14470
14470
  );
14471
14471
  return 0;
14472
14472
  }
@@ -14497,7 +14497,7 @@ async function handleRunLogs(args) {
14497
14497
  }
14498
14498
  };
14499
14499
  const text = buildRunLogsText(filteredResult);
14500
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0,
14500
+ _chunkS22ZQZMUjs.printCommandEnvelope.call(void 0,
14501
14501
  {
14502
14502
  runId: result.runId,
14503
14503
  totalCount: result.totalCount,
@@ -14521,7 +14521,7 @@ async function handleRunLogs(args) {
14521
14521
  render: { sections: [{ title: "run logs", lines: entries }] }
14522
14522
  },
14523
14523
  {
14524
- json: _chunkDQ65ZVHNjs.argsWantJson.call(void 0, args),
14524
+ json: _chunkS22ZQZMUjs.argsWantJson.call(void 0, args),
14525
14525
  text
14526
14526
  }
14527
14527
  );
@@ -14545,7 +14545,7 @@ function selectRunLogTailPage(result, logLevel, limit) {
14545
14545
  );
14546
14546
  }
14547
14547
  const matching = result.entries.map((line, index) => ({ line, seq: first + index })).filter(
14548
- (entry) => _chunkUVXBVUZQjs.logLevelReaches.call(void 0, _chunkUVXBVUZQjs.classifyLogLine.call(void 0, entry.line).level, logLevel)
14548
+ (entry) => _chunkNUBIAJI2js.logLevelReaches.call(void 0, _chunkNUBIAJI2js.classifyLogLine.call(void 0, entry.line).level, logLevel)
14549
14549
  );
14550
14550
  const selected = matching.slice(-limit);
14551
14551
  const olderMatchesExist = matching.length > selected.length;
@@ -14555,7 +14555,7 @@ function selectRunLogTailPage(result, logLevel, limit) {
14555
14555
  lastSequence: _nullishCoalesce(_optionalChain([selected, 'access', _498 => _498.at, 'call', _499 => _499(-1), 'optionalAccess', _500 => _500.seq]), () => ( null)),
14556
14556
  truncated: result.truncated || olderMatchesExist,
14557
14557
  hasMore: olderMatchesExist,
14558
- nextCursor: olderMatchesExist ? _chunkUVXBVUZQjs.encodeRunLogsCursor.call(void 0, selected[0].seq) : null
14558
+ nextCursor: olderMatchesExist ? _chunkNUBIAJI2js.encodeRunLogsCursor.call(void 0, selected[0].seq) : null
14559
14559
  };
14560
14560
  }
14561
14561
  async function handleRunEventSearch(args) {
@@ -14622,7 +14622,7 @@ ${usage2}`);
14622
14622
  namespace,
14623
14623
  ...backend ? { backend } : {}
14624
14624
  } : void 0;
14625
- const client = new (0, _chunkUVXBVUZQjs.DeeplineClient)();
14625
+ const client = new (0, _chunkNUBIAJI2js.DeeplineClient)();
14626
14626
  const result = await client.runs.searchEvents({
14627
14627
  ...runId ? { runId } : {},
14628
14628
  ...values["--since"] ? { since: values["--since"] } : {},
@@ -14694,7 +14694,7 @@ ${renderedDetails}` : ""}`;
14694
14694
  "--limit",
14695
14695
  String(limit)
14696
14696
  ].join(" ") : null;
14697
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0,
14697
+ _chunkS22ZQZMUjs.printCommandEnvelope.call(void 0,
14698
14698
  {
14699
14699
  events,
14700
14700
  nextCursor: result.nextCursor,
@@ -14705,14 +14705,14 @@ ${renderedDetails}` : ""}`;
14705
14705
  render: { sections: [{ title: "runtime events", lines }] }
14706
14706
  },
14707
14707
  {
14708
- json: _chunkDQ65ZVHNjs.argsWantJson.call(void 0, args),
14708
+ json: _chunkS22ZQZMUjs.argsWantJson.call(void 0, args),
14709
14709
  text: `${lines.join("\n")}${lines.length ? "\n" : ""}`
14710
14710
  }
14711
14711
  );
14712
14712
  return 0;
14713
14713
  }
14714
14714
  function buildRunLogsText(result) {
14715
- const lines = result.entries.map((line) => _chunkUVXBVUZQjs.classifyLogLine.call(void 0, line).line);
14715
+ const lines = result.entries.map((line) => _chunkNUBIAJI2js.classifyLogLine.call(void 0, line).line);
14716
14716
  if (result.warning) {
14717
14717
  if (lines.length > 0) lines.push("");
14718
14718
  lines.push(`warning: ${result.warning}`);
@@ -14746,7 +14746,7 @@ async function handleRunStop(args) {
14746
14746
  reason = args[++index];
14747
14747
  }
14748
14748
  }
14749
- const client = new (0, _chunkUVXBVUZQjs.DeeplineClient)();
14749
+ const client = new (0, _chunkNUBIAJI2js.DeeplineClient)();
14750
14750
  const result = await client.runs.stop(runId, { reason });
14751
14751
  const state = resolveRunStopState(result);
14752
14752
  const hitlCleanupIncomplete = state === "cancelling" && result.hitlCancellationPending === true;
@@ -14761,7 +14761,7 @@ async function handleRunStop(args) {
14761
14761
  ...result.hitlCancelledCount > 0 ? [`cancelled HITL waits: ${result.hitlCancelledCount}`] : [],
14762
14762
  `inspect: deepline runs get ${runId} --full`
14763
14763
  ];
14764
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0,
14764
+ _chunkS22ZQZMUjs.printCommandEnvelope.call(void 0,
14765
14765
  {
14766
14766
  ...cancelling,
14767
14767
  state,
@@ -14776,7 +14776,7 @@ async function handleRunStop(args) {
14776
14776
  ]
14777
14777
  }
14778
14778
  },
14779
- { json: _chunkDQ65ZVHNjs.argsWantJson.call(void 0, args) }
14779
+ { json: _chunkS22ZQZMUjs.argsWantJson.call(void 0, args) }
14780
14780
  );
14781
14781
  return 0;
14782
14782
  }
@@ -14793,7 +14793,7 @@ async function handleRunStop(args) {
14793
14793
  ];
14794
14794
  process.stderr.write(`${lines2.join("\n")}
14795
14795
  `);
14796
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0,
14796
+ _chunkS22ZQZMUjs.printCommandEnvelope.call(void 0,
14797
14797
  {
14798
14798
  ...result,
14799
14799
  render: {
@@ -14808,7 +14808,7 @@ async function handleRunStop(args) {
14808
14808
  ]
14809
14809
  }
14810
14810
  },
14811
- { json: _chunkDQ65ZVHNjs.argsWantJson.call(void 0, args) }
14811
+ { json: _chunkS22ZQZMUjs.argsWantJson.call(void 0, args) }
14812
14812
  );
14813
14813
  return 1;
14814
14814
  }
@@ -14819,12 +14819,12 @@ async function handleRunStop(args) {
14819
14819
  `warning: HITL cancellation or Slack card refresh is still pending; retry 'deepline runs stop ${runId}'`
14820
14820
  ] : []
14821
14821
  ];
14822
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0,
14822
+ _chunkS22ZQZMUjs.printCommandEnvelope.call(void 0,
14823
14823
  {
14824
14824
  ...result,
14825
14825
  render: { sections: [{ title: "run stop", lines }] }
14826
14826
  },
14827
- { json: _chunkDQ65ZVHNjs.argsWantJson.call(void 0, args) }
14827
+ { json: _chunkS22ZQZMUjs.argsWantJson.call(void 0, args) }
14828
14828
  );
14829
14829
  return 0;
14830
14830
  }
@@ -14874,18 +14874,18 @@ async function handleRunStopAll(args) {
14874
14874
  reason = args[++index];
14875
14875
  }
14876
14876
  }
14877
- const client = new (0, _chunkUVXBVUZQjs.DeeplineClient)();
14877
+ const client = new (0, _chunkNUBIAJI2js.DeeplineClient)();
14878
14878
  if (dryRun) {
14879
14879
  const result2 = await client.runs.stopAll({ dryRun: true, reason });
14880
14880
  const lines2 = buildStopAllDryRunTextLines(result2);
14881
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0,
14881
+ _chunkS22ZQZMUjs.printCommandEnvelope.call(void 0,
14882
14882
  {
14883
14883
  ...result2,
14884
14884
  render: {
14885
14885
  sections: [{ title: "workspace stop-all (dry run)", lines: lines2 }]
14886
14886
  }
14887
14887
  },
14888
- { json: _chunkDQ65ZVHNjs.argsWantJson.call(void 0, args), text: `${lines2.join("\n")}
14888
+ { json: _chunkS22ZQZMUjs.argsWantJson.call(void 0, args), text: `${lines2.join("\n")}
14889
14889
  ` }
14890
14890
  );
14891
14891
  return 0;
@@ -14898,17 +14898,17 @@ async function handleRunStopAll(args) {
14898
14898
  ...result.failed > 0 ? [`failed stops: ${result.failed}`] : [],
14899
14899
  ...result.skipped > 0 ? [`skipped: ${result.skipped}`] : []
14900
14900
  ];
14901
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0,
14901
+ _chunkS22ZQZMUjs.printCommandEnvelope.call(void 0,
14902
14902
  {
14903
14903
  ...result,
14904
14904
  render: { sections: [{ title: "workspace stop-all", lines }] }
14905
14905
  },
14906
- { json: _chunkDQ65ZVHNjs.argsWantJson.call(void 0, args) }
14906
+ { json: _chunkS22ZQZMUjs.argsWantJson.call(void 0, args) }
14907
14907
  );
14908
14908
  return result.failed > 0 || result.partial ? 1 : 0;
14909
14909
  }
14910
14910
  async function handleRunExport(args) {
14911
- const selection = _chunkDQ65ZVHNjs.parseJsonFields.call(void 0, args, "export");
14911
+ const selection = _chunkS22ZQZMUjs.parseJsonFields.call(void 0, args, "export");
14912
14912
  args = selection.args;
14913
14913
  const usage2 = "Usage: deepline runs export <run-id> [--dataset result.rows] --out <path> [--format csv|json] [--wait] [--timeout-ms 300000] [--metadata-out export.json] [--allow-empty] [--json]";
14914
14914
  let runId;
@@ -14967,16 +14967,16 @@ async function handleRunExport(args) {
14967
14967
  "INVALID_ARGUMENT"
14968
14968
  );
14969
14969
  }
14970
- const client = new (0, _chunkUVXBVUZQjs.DeeplineClient)();
14970
+ const client = new (0, _chunkNUBIAJI2js.DeeplineClient)();
14971
14971
  let status = await client.getPlayStatus(runId, { full: true });
14972
14972
  if (wait && !TERMINAL_PLAY_STATUSES.has(status.status)) {
14973
- const progress = _chunkWJYPBHTEjs.createCliProgress.call(void 0, !_chunkDQ65ZVHNjs.argsWantJson.call(void 0, args));
14973
+ const progress = _chunkWJYPBHTEjs.createCliProgress.call(void 0, !_chunkS22ZQZMUjs.argsWantJson.call(void 0, args));
14974
14974
  try {
14975
14975
  await waitForPlayCompletionByWatch({
14976
14976
  client,
14977
14977
  playName: _nullishCoalesce(extractRunPlayName(status), () => ( runId)),
14978
14978
  workflowId: runId,
14979
- jsonOutput: _chunkDQ65ZVHNjs.argsWantJson.call(void 0, args),
14979
+ jsonOutput: _chunkS22ZQZMUjs.argsWantJson.call(void 0, args),
14980
14980
  emitLogs: false,
14981
14981
  waitTimeoutMs,
14982
14982
  startedAt: Date.now(),
@@ -15076,8 +15076,8 @@ async function handleRunExport(args) {
15076
15076
  "utf-8"
15077
15077
  );
15078
15078
  }
15079
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0, payload, {
15080
- json: _chunkDQ65ZVHNjs.argsWantJson.call(void 0, args),
15079
+ _chunkS22ZQZMUjs.printCommandEnvelope.call(void 0, payload, {
15080
+ json: _chunkS22ZQZMUjs.argsWantJson.call(void 0, args),
15081
15081
  fields: selection.fields,
15082
15082
  text: `${lines.join("\n")}
15083
15083
  `
@@ -15098,10 +15098,10 @@ async function handlePlayGet(args) {
15098
15098
  );
15099
15099
  return 2;
15100
15100
  }
15101
- const client = new (0, _chunkUVXBVUZQjs.DeeplineClient)();
15101
+ const client = new (0, _chunkNUBIAJI2js.DeeplineClient)();
15102
15102
  const explicitJson = args.includes("--json");
15103
15103
  const sourceOutput = args.includes("--source");
15104
- const jsonOutput = sourceOutput ? explicitJson : _chunkDQ65ZVHNjs.argsWantJson.call(void 0, args);
15104
+ const jsonOutput = sourceOutput ? explicitJson : _chunkS22ZQZMUjs.argsWantJson.call(void 0, args);
15105
15105
  const requestedRevisionFlags = [
15106
15106
  args.includes("--working"),
15107
15107
  args.includes("--live"),
@@ -15161,7 +15161,7 @@ async function handlePlayGet(args) {
15161
15161
  }
15162
15162
  const loadedMessage = materializedFile ? formatLoadedPlayMessage(materializedFile) : null;
15163
15163
  if (jsonOutput) {
15164
- _chunkDQ65ZVHNjs.printCompactJson.call(void 0, {
15164
+ _chunkS22ZQZMUjs.printCompactJson.call(void 0, {
15165
15165
  ...detail,
15166
15166
  ...materializedFile ? {
15167
15167
  message: loadedMessage,
@@ -15253,8 +15253,8 @@ async function handlePlayVersions(args) {
15253
15253
  console.error("Usage: deepline plays versions --name <name> [--json]");
15254
15254
  return 1;
15255
15255
  }
15256
- const client = new (0, _chunkUVXBVUZQjs.DeeplineClient)();
15257
- const jsonOutput = _chunkDQ65ZVHNjs.argsWantJson.call(void 0, args);
15256
+ const client = new (0, _chunkNUBIAJI2js.DeeplineClient)();
15257
+ const jsonOutput = _chunkS22ZQZMUjs.argsWantJson.call(void 0, args);
15258
15258
  await assertCanonicalNamedPlayReference(client, playName, {
15259
15259
  command: "versions"
15260
15260
  });
@@ -15262,7 +15262,7 @@ async function handlePlayVersions(args) {
15262
15262
  parseReferencedPlayTarget2(playName).playName
15263
15263
  );
15264
15264
  if (jsonOutput) {
15265
- _chunkDQ65ZVHNjs.printCompactJson.call(void 0, { versions });
15265
+ _chunkS22ZQZMUjs.printCompactJson.call(void 0, { versions });
15266
15266
  return 0;
15267
15267
  }
15268
15268
  if (versions.length === 0) {
@@ -15294,9 +15294,9 @@ var PREBUILT_PLAY_TAG_KEYS = [
15294
15294
  "signals"
15295
15295
  ];
15296
15296
  async function handlePlayList(args) {
15297
- const jsonOutput = _chunkDQ65ZVHNjs.argsWantJson.call(void 0, args);
15297
+ const jsonOutput = _chunkS22ZQZMUjs.argsWantJson.call(void 0, args);
15298
15298
  const showCost = args.includes("--show-cost");
15299
- const client = new (0, _chunkUVXBVUZQjs.DeeplineClient)();
15299
+ const client = new (0, _chunkNUBIAJI2js.DeeplineClient)();
15300
15300
  const categoriesIndex = args.indexOf("--categories");
15301
15301
  const categories = categoriesIndex >= 0 ? _optionalChain([args, 'access', _536 => _536[categoriesIndex + 1], 'optionalAccess', _537 => _537.trim, 'call', _538 => _538()]) : void 0;
15302
15302
  const tags = args.flatMap((arg, index) => arg === "--tag" ? [args[index + 1]] : []).flatMap((value) => (_nullishCoalesce(value, () => ( ""))).split(",")).map((value) => value.trim()).filter(Boolean);
@@ -15393,7 +15393,7 @@ async function handlePlayList(args) {
15393
15393
  lines.push("List truncated \u2014 more plays are available.");
15394
15394
  lines.push(`Next page: ${nextPage}`);
15395
15395
  }
15396
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0,
15396
+ _chunkS22ZQZMUjs.printCommandEnvelope.call(void 0,
15397
15397
  {
15398
15398
  plays,
15399
15399
  count: plays.length,
@@ -15411,7 +15411,7 @@ async function handlePlayList(args) {
15411
15411
  }
15412
15412
  async function handlePlayPin(args, pinned) {
15413
15413
  const target = _optionalChain([args, 'access', _545 => _545.find, 'call', _546 => _546((arg) => !arg.startsWith("-")), 'optionalAccess', _547 => _547.trim, 'call', _548 => _548()]);
15414
- const jsonOutput = _chunkDQ65ZVHNjs.argsWantJson.call(void 0, args);
15414
+ const jsonOutput = _chunkS22ZQZMUjs.argsWantJson.call(void 0, args);
15415
15415
  const dryRun = args.includes("--dry-run");
15416
15416
  if (!target) {
15417
15417
  console.error(
@@ -15429,11 +15429,11 @@ async function handlePlayPin(args, pinned) {
15429
15429
  const name = parsedTarget.playName;
15430
15430
  const plan = { name, pinned, dryRun };
15431
15431
  if (dryRun) {
15432
- _chunkDQ65ZVHNjs.printCompactJson.call(void 0, plan);
15432
+ _chunkS22ZQZMUjs.printCompactJson.call(void 0, plan);
15433
15433
  return 0;
15434
15434
  }
15435
- const result = await new (0, _chunkUVXBVUZQjs.DeeplineClient)().setPlayPinned(name, pinned);
15436
- if (jsonOutput) _chunkDQ65ZVHNjs.printCompactJson.call(void 0, result);
15435
+ const result = await new (0, _chunkNUBIAJI2js.DeeplineClient)().setPlayPinned(name, pinned);
15436
+ if (jsonOutput) _chunkS22ZQZMUjs.printCompactJson.call(void 0, result);
15437
15437
  else console.log(`${result.pinned ? "Pinned" : "Unpinned"} ${result.name}.`);
15438
15438
  return 0;
15439
15439
  }
@@ -15559,12 +15559,12 @@ async function handlePlayGrep(args) {
15559
15559
  console.error("Usage: deepline plays grep <query> [--json]");
15560
15560
  return 1;
15561
15561
  }
15562
- const client = new (0, _chunkUVXBVUZQjs.DeeplineClient)();
15562
+ const client = new (0, _chunkNUBIAJI2js.DeeplineClient)();
15563
15563
  const results = (await client.listPlays({ grep: query })).map(
15564
15564
  summarizePlayGrepResult
15565
15565
  );
15566
- if (_chunkDQ65ZVHNjs.argsWantJson.call(void 0, args)) {
15567
- _chunkDQ65ZVHNjs.printCompactJson.call(void 0, {
15566
+ if (_chunkS22ZQZMUjs.argsWantJson.call(void 0, args)) {
15567
+ _chunkS22ZQZMUjs.printCompactJson.call(void 0, {
15568
15568
  plays: results,
15569
15569
  count: results.length,
15570
15570
  query,
@@ -15587,7 +15587,7 @@ async function handlePlayGrep(args) {
15587
15587
  return 0;
15588
15588
  }
15589
15589
  async function handlePlayDescribe(args) {
15590
- const selection = _chunkDQ65ZVHNjs.parseJsonFields.call(void 0, args, "describe");
15590
+ const selection = _chunkS22ZQZMUjs.parseJsonFields.call(void 0, args, "describe");
15591
15591
  args = selection.args;
15592
15592
  const playName = args[0];
15593
15593
  if (!playName) {
@@ -15621,8 +15621,8 @@ async function handlePlayDescribe(args) {
15621
15621
  `deepline plays check ${playName}`,
15622
15622
  ...definedName ? [`deepline describe <workspace>/${definedName}`] : []
15623
15623
  ];
15624
- if (_chunkDQ65ZVHNjs.argsWantJson.call(void 0, args)) {
15625
- _chunkDQ65ZVHNjs.printCompactJson.call(void 0, {
15624
+ if (_chunkS22ZQZMUjs.argsWantJson.call(void 0, args)) {
15625
+ _chunkS22ZQZMUjs.printCompactJson.call(void 0, {
15626
15626
  ok: false,
15627
15627
  error: { message },
15628
15628
  next
@@ -15636,7 +15636,7 @@ async function handlePlayDescribe(args) {
15636
15636
  }
15637
15637
  return 2;
15638
15638
  }
15639
- const client = new (0, _chunkUVXBVUZQjs.DeeplineClient)();
15639
+ const client = new (0, _chunkNUBIAJI2js.DeeplineClient)();
15640
15640
  await assertCanonicalNamedPlayReference(client, playName, {
15641
15641
  command: "describe"
15642
15642
  });
@@ -15646,9 +15646,9 @@ async function handlePlayDescribe(args) {
15646
15646
  compact: args.includes("--compact")
15647
15647
  }
15648
15648
  );
15649
- if (_chunkDQ65ZVHNjs.argsWantJson.call(void 0, args)) {
15650
- if (selection.fields) _chunkDQ65ZVHNjs.printJson.call(void 0, play, selection.fields);
15651
- else _chunkDQ65ZVHNjs.printCompactJson.call(void 0, play);
15649
+ if (_chunkS22ZQZMUjs.argsWantJson.call(void 0, args)) {
15650
+ if (selection.fields) _chunkS22ZQZMUjs.printJson.call(void 0, play, selection.fields);
15651
+ else _chunkS22ZQZMUjs.printCompactJson.call(void 0, play);
15652
15652
  return 0;
15653
15653
  }
15654
15654
  printPlayDescription(play);
@@ -15692,7 +15692,7 @@ async function handlePlaySave(args) {
15692
15692
  next: `deepline plays check ${_chunkAID3OYVJjs.shellQuote.call(void 0, options.target)}`
15693
15693
  };
15694
15694
  if (options.jsonOutput) {
15695
- _chunkDQ65ZVHNjs.printCompactJson.call(void 0, result);
15695
+ _chunkS22ZQZMUjs.printCompactJson.call(void 0, result);
15696
15696
  } else {
15697
15697
  console.error(result.message);
15698
15698
  console.error(` checked artifact: ${result.expectedArtifactHash}`);
@@ -15714,7 +15714,7 @@ async function handlePlaySave(args) {
15714
15714
  };
15715
15715
  if (options.dryRun) {
15716
15716
  if (options.jsonOutput) {
15717
- _chunkDQ65ZVHNjs.printCompactJson.call(void 0, dryRun);
15717
+ _chunkS22ZQZMUjs.printCompactJson.call(void 0, dryRun);
15718
15718
  } else {
15719
15719
  console.log(`Dry run: ${playName}`);
15720
15720
  console.log(` source: ${dryRun.sourceHash}`);
@@ -15723,7 +15723,7 @@ async function handlePlaySave(args) {
15723
15723
  }
15724
15724
  return 0;
15725
15725
  }
15726
- const client = new (0, _chunkUVXBVUZQjs.DeeplineClient)();
15726
+ const client = new (0, _chunkNUBIAJI2js.DeeplineClient)();
15727
15727
  try {
15728
15728
  await _chunkAYHLUHE5js.traceCliSpan.call(void 0,
15729
15729
  "cli.play_save_compile_manifests",
@@ -15759,7 +15759,7 @@ async function handlePlaySave(args) {
15759
15759
  }
15760
15760
  };
15761
15761
  if (options.jsonOutput) {
15762
- _chunkDQ65ZVHNjs.printCompactJson.call(void 0, result);
15762
+ _chunkS22ZQZMUjs.printCompactJson.call(void 0, result);
15763
15763
  } else {
15764
15764
  console.log(
15765
15765
  `\u2713 Saved ${playName} working draft as v${_nullishCoalesce(result.version, () => ( "?"))}`
@@ -15785,7 +15785,7 @@ async function handlePlayPublish(args) {
15785
15785
  }
15786
15786
  const { target: playName, useLatest } = options;
15787
15787
  let revisionId = options.revisionId;
15788
- const client = new (0, _chunkUVXBVUZQjs.DeeplineClient)();
15788
+ const client = new (0, _chunkNUBIAJI2js.DeeplineClient)();
15789
15789
  if (isFileTarget2(playName)) {
15790
15790
  if (revisionId || useLatest) {
15791
15791
  console.error(
@@ -15817,7 +15817,7 @@ async function handlePlayPublish(args) {
15817
15817
  next: `deepline plays check ${_chunkAID3OYVJjs.shellQuote.call(void 0, playName)}`
15818
15818
  };
15819
15819
  if (options.jsonOutput) {
15820
- _chunkDQ65ZVHNjs.printCompactJson.call(void 0, result3);
15820
+ _chunkS22ZQZMUjs.printCompactJson.call(void 0, result3);
15821
15821
  } else {
15822
15822
  console.error(result3.message);
15823
15823
  console.error(` checked artifact: ${result3.expectedArtifactHash}`);
@@ -15840,7 +15840,7 @@ async function handlePlayPublish(args) {
15840
15840
  };
15841
15841
  if (options.dryRun) {
15842
15842
  if (options.jsonOutput) {
15843
- _chunkDQ65ZVHNjs.printCompactJson.call(void 0, dryRun);
15843
+ _chunkS22ZQZMUjs.printCompactJson.call(void 0, dryRun);
15844
15844
  } else {
15845
15845
  console.log(`Dry run: ${rootPlayName}`);
15846
15846
  console.log(` source: ${dryRun.sourceHash}`);
@@ -15908,7 +15908,7 @@ async function handlePlayPublish(args) {
15908
15908
  triggerBindings: _nullishCoalesce(published.triggerBindings, () => ( []))
15909
15909
  };
15910
15910
  if (options.jsonOutput) {
15911
- _chunkDQ65ZVHNjs.printCompactJson.call(void 0, result2);
15911
+ _chunkS22ZQZMUjs.printCompactJson.call(void 0, result2);
15912
15912
  } else {
15913
15913
  printPublishReceipt({
15914
15914
  name: rootPlayName,
@@ -15939,7 +15939,7 @@ async function handlePlayPublish(args) {
15939
15939
  revisionId: _nullishCoalesce(revisionId, () => ( null)),
15940
15940
  latest: useLatest
15941
15941
  };
15942
- _chunkDQ65ZVHNjs.printCompactJson.call(void 0, result2);
15942
+ _chunkS22ZQZMUjs.printCompactJson.call(void 0, result2);
15943
15943
  return 0;
15944
15944
  }
15945
15945
  const resolvedName = parseReferencedPlayTarget2(playName).playName;
@@ -15963,7 +15963,7 @@ async function handlePlayPublish(args) {
15963
15963
  revisionId ? { revisionId } : {}
15964
15964
  );
15965
15965
  if (options.jsonOutput) {
15966
- _chunkDQ65ZVHNjs.printCompactJson.call(void 0, result);
15966
+ _chunkS22ZQZMUjs.printCompactJson.call(void 0, result);
15967
15967
  } else {
15968
15968
  printPublishReceipt({
15969
15969
  name: result.name,
@@ -16003,7 +16003,7 @@ async function handlePlayDelete(args) {
16003
16003
  );
16004
16004
  return 2;
16005
16005
  }
16006
- const client = new (0, _chunkUVXBVUZQjs.DeeplineClient)();
16006
+ const client = new (0, _chunkNUBIAJI2js.DeeplineClient)();
16007
16007
  let detail;
16008
16008
  try {
16009
16009
  detail = await client.getPlay(parseReferencedPlayTarget2(playName).playName);
@@ -16027,8 +16027,8 @@ async function handlePlayDelete(args) {
16027
16027
  name: resolvedName,
16028
16028
  plannedMutation: "move saved org-owned play to Trash and stop triggers"
16029
16029
  };
16030
- if (_chunkDQ65ZVHNjs.argsWantJson.call(void 0, args)) {
16031
- _chunkDQ65ZVHNjs.printCompactJson.call(void 0, result2);
16030
+ if (_chunkS22ZQZMUjs.argsWantJson.call(void 0, args)) {
16031
+ _chunkS22ZQZMUjs.printCompactJson.call(void 0, result2);
16032
16032
  } else {
16033
16033
  process.stdout.write(
16034
16034
  `Dry run: would move ${result2.name} to Trash and stop its active triggers.
@@ -16038,8 +16038,8 @@ async function handlePlayDelete(args) {
16038
16038
  return 0;
16039
16039
  }
16040
16040
  const result = await client.deletePlay(resolvedName);
16041
- if (_chunkDQ65ZVHNjs.argsWantJson.call(void 0, args)) {
16042
- _chunkDQ65ZVHNjs.printCompactJson.call(void 0, result);
16041
+ if (_chunkS22ZQZMUjs.argsWantJson.call(void 0, args)) {
16042
+ _chunkS22ZQZMUjs.printCompactJson.call(void 0, result);
16043
16043
  return result.archived || result.alreadyArchived ? 0 : 4;
16044
16044
  }
16045
16045
  if (result.alreadyArchived) {
@@ -16078,13 +16078,13 @@ async function handlePlayRestore(args) {
16078
16078
  );
16079
16079
  return 2;
16080
16080
  }
16081
- const client = new (0, _chunkUVXBVUZQjs.DeeplineClient)();
16081
+ const client = new (0, _chunkNUBIAJI2js.DeeplineClient)();
16082
16082
  try {
16083
16083
  const result = await client.restorePlay(
16084
16084
  parseReferencedPlayTarget2(playName).playName
16085
16085
  );
16086
- if (_chunkDQ65ZVHNjs.argsWantJson.call(void 0, args)) {
16087
- _chunkDQ65ZVHNjs.printCompactJson.call(void 0, result);
16086
+ if (_chunkS22ZQZMUjs.argsWantJson.call(void 0, args)) {
16087
+ _chunkS22ZQZMUjs.printCompactJson.call(void 0, result);
16088
16088
  return result.restored || result.alreadyActive ? 0 : 4;
16089
16089
  }
16090
16090
  if (result.alreadyActive) {
@@ -16197,21 +16197,21 @@ Common commands:
16197
16197
  resume: `deepline plays resume-submission ${_chunkAID3OYVJjs.shellQuote.call(void 0, path)} --json`
16198
16198
  }
16199
16199
  };
16200
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0, result2, {
16200
+ _chunkS22ZQZMUjs.printCommandEnvelope.call(void 0, result2, {
16201
16201
  json: options.json,
16202
16202
  text: `Submission ${saved.workflowId}: admission is unknown. ${result2.next.inspect}
16203
16203
  `
16204
16204
  });
16205
16205
  return;
16206
16206
  }
16207
- const client = new (0, _chunkUVXBVUZQjs.DeeplineClient)();
16207
+ const client = new (0, _chunkNUBIAJI2js.DeeplineClient)();
16208
16208
  if (new URL(saved.baseUrl).origin !== new URL(client.baseUrl).origin) {
16209
16209
  throw new Error(
16210
16210
  "The submission belongs to a different API origin. Select its original host before recovery."
16211
16211
  );
16212
16212
  }
16213
16213
  const result = await client.startPlayRun(saved.request);
16214
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0,
16214
+ _chunkS22ZQZMUjs.printCommandEnvelope.call(void 0,
16215
16215
  { ...result },
16216
16216
  {
16217
16217
  json: options.json,
@@ -16247,7 +16247,7 @@ Examples:
16247
16247
  ).action(async (target, options) => {
16248
16248
  process.exitCode = await handlePlayCheck([
16249
16249
  target,
16250
- ..._chunkDQ65ZVHNjs.jsonFieldArgs.call(void 0, options.json),
16250
+ ..._chunkS22ZQZMUjs.jsonFieldArgs.call(void 0, options.json),
16251
16251
  ...options.full ? ["--full"] : []
16252
16252
  ]);
16253
16253
  });
@@ -16488,9 +16488,9 @@ Examples:
16488
16488
  const limit = Number(options.historyLimit);
16489
16489
  if (!Number.isInteger(limit) || limit < 1 || limit > 30)
16490
16490
  throw new Error("--history-limit must be an integer from 1 to 30.");
16491
- const client = new (0, _chunkUVXBVUZQjs.DeeplineClient)();
16491
+ const client = new (0, _chunkNUBIAJI2js.DeeplineClient)();
16492
16492
  if (options.binding) {
16493
- _chunkDQ65ZVHNjs.printCompactJson.call(void 0,
16493
+ _chunkS22ZQZMUjs.printCompactJson.call(void 0,
16494
16494
  await client.getPlayTriggerHistory(options.binding, { limit })
16495
16495
  );
16496
16496
  return;
@@ -16498,7 +16498,7 @@ Examples:
16498
16498
  const result = await client.listPlayTriggerInventory({
16499
16499
  cursor: options.cursor
16500
16500
  });
16501
- _chunkDQ65ZVHNjs.printCompactJson.call(void 0, {
16501
+ _chunkS22ZQZMUjs.printCompactJson.call(void 0, {
16502
16502
  ...result,
16503
16503
  next: result.isDone ? null : `deepline plays triggers --cursor ${JSON.stringify(result.continueCursor)}`
16504
16504
  });
@@ -16545,7 +16545,7 @@ Examples:
16545
16545
  if (options.groupBy !== "kind" && options.groupBy !== "trigger_source") {
16546
16546
  throw new Error("--group-by must be kind or trigger_source.");
16547
16547
  }
16548
- const result = await new (0, _chunkUVXBVUZQjs.DeeplineClient)().getPlaysActivity({
16548
+ const result = await new (0, _chunkNUBIAJI2js.DeeplineClient)().getPlaysActivity({
16549
16549
  timeZone: options.timeZone,
16550
16550
  days,
16551
16551
  ...options.endDate ? { endDate: options.endDate } : {},
@@ -16559,7 +16559,7 @@ Examples:
16559
16559
  `${bucket.key} ${groups} failed_play_runs=${bucket.failedPlayRuns} ${coverage}`
16560
16560
  );
16561
16561
  }
16562
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0,
16562
+ _chunkS22ZQZMUjs.printCommandEnvelope.call(void 0,
16563
16563
  { ...result },
16564
16564
  {
16565
16565
  json: Boolean(options.json),
@@ -16588,7 +16588,7 @@ Examples:
16588
16588
  false
16589
16589
  );
16590
16590
  });
16591
- _chunkPSGEDGLTjs.registerDeprecatedSearchCommand.call(void 0,
16591
+ _chunkCTZJLQ7Ajs.registerDeprecatedSearchCommand.call(void 0,
16592
16592
  play,
16593
16593
  (options) => options.all ? ["plays"] : ["prebuilts"]
16594
16594
  );
@@ -16631,7 +16631,7 @@ Examples:
16631
16631
  );
16632
16632
  _chunkZAAKSJASjs.addDescribeOptions.call(void 0, describeCommand, { json: false }).action(
16633
16633
  async (target, options) => {
16634
- const ownView = () => handlePlayDescribe(_chunkDQ65ZVHNjs.describeArgs.call(void 0, target, options));
16634
+ const ownView = () => handlePlayDescribe(_chunkS22ZQZMUjs.describeArgs.call(void 0, target, options));
16635
16635
  const [flagText] = [options.json].filter(
16636
16636
  (value) => typeof value === "string"
16637
16637
  );
@@ -16642,7 +16642,7 @@ Examples:
16642
16642
  process.exitCode = await ownView();
16643
16643
  return;
16644
16644
  }
16645
- const { describeAnything } = await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-6WT74AOR.js")));
16645
+ const { describeAnything } = await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-NVLINP5A.js")));
16646
16646
  process.exitCode = await describeAnything(
16647
16647
  name,
16648
16648
  {
@@ -16760,7 +16760,7 @@ Examples:
16760
16760
  deepline plays deployments <deployment-id>
16761
16761
  `
16762
16762
  ).option("--limit <n>", "Max rows (default 50)").option("--json", "Emit JSON output").action(
16763
- async (id, options) => id ? _chunkSO7RUVTYjs.handleDeploymentGet.call(void 0, id, options) : _chunkSO7RUVTYjs.handleDeploymentsList.call(void 0, options)
16763
+ async (id, options) => id ? _chunkG6BP55EPjs.handleDeploymentGet.call(void 0, id, options) : _chunkG6BP55EPjs.handleDeploymentsList.call(void 0, options)
16764
16764
  );
16765
16765
  addPublishHelp(
16766
16766
  play.command("publish <target>").description(
@@ -16895,14 +16895,14 @@ Examples:
16895
16895
  const limit = Number(options.limit);
16896
16896
  if (!Number.isSafeInteger(limit) || limit < 1 || limit > 1e3)
16897
16897
  throw new Error("--limit must be an integer from 1 to 1000.");
16898
- const result = await new (0, _chunkUVXBVUZQjs.DeeplineClient)().runs.rowHistory({
16898
+ const result = await new (0, _chunkNUBIAJI2js.DeeplineClient)().runs.rowHistory({
16899
16899
  playName: options.play,
16900
16900
  runId,
16901
16901
  tableNamespace: options.dataset,
16902
16902
  limit,
16903
16903
  cursor: options.cursor
16904
16904
  });
16905
- _chunkDQ65ZVHNjs.printCompactJson.call(void 0, {
16905
+ _chunkS22ZQZMUjs.printCompactJson.call(void 0, {
16906
16906
  ...result,
16907
16907
  ...result.nextCursor ? {
16908
16908
  next: `deepline runs rows-history ${_chunkAID3OYVJjs.shellQuote.call(void 0, runId)} --play ${_chunkAID3OYVJjs.shellQuote.call(void 0, options.play)} --dataset ${_chunkAID3OYVJjs.shellQuote.call(void 0, options.dataset)} --limit ${limit} --cursor ${_chunkAID3OYVJjs.shellQuote.call(void 0, result.nextCursor)} --json`
@@ -16967,7 +16967,7 @@ Examples:
16967
16967
  ).action(async (runId, options) => {
16968
16968
  process.exitCode = await handleRunGet([
16969
16969
  runId,
16970
- ..._chunkDQ65ZVHNjs.jsonFieldArgs.call(void 0, options.json),
16970
+ ..._chunkS22ZQZMUjs.jsonFieldArgs.call(void 0, options.json),
16971
16971
  ...options.webUrl ? ["--web-url"] : [],
16972
16972
  ...options.full ? ["--full"] : [],
16973
16973
  ...options.input ? ["--input"] : [],
@@ -17246,7 +17246,7 @@ Examples:
17246
17246
  ...options.allowEmpty ? ["--allow-empty"] : [],
17247
17247
  ...options.wait ? ["--wait"] : [],
17248
17248
  ...options.timeoutMs ? ["--timeout-ms", options.timeoutMs] : [],
17249
- ..._chunkDQ65ZVHNjs.jsonFieldArgs.call(void 0, options.json)
17249
+ ..._chunkS22ZQZMUjs.jsonFieldArgs.call(void 0, options.json)
17250
17250
  ]);
17251
17251
  });
17252
17252
  const share = play.command("share").description(
@@ -17412,10 +17412,10 @@ async function handlePlayShareStatus(args) {
17412
17412
  return 2;
17413
17413
  }
17414
17414
  const name = parseReferencedPlayTarget2(target).playName;
17415
- const status = await new (0, _chunkUVXBVUZQjs.DeeplineClient)().getSharePage(name);
17415
+ const status = await new (0, _chunkNUBIAJI2js.DeeplineClient)().getSharePage(name);
17416
17416
  const outputStatus = shareStatusForOutput(status);
17417
- if (_chunkDQ65ZVHNjs.argsWantJson.call(void 0, args)) {
17418
- _chunkDQ65ZVHNjs.printCompactJson.call(void 0, outputStatus);
17417
+ if (_chunkS22ZQZMUjs.argsWantJson.call(void 0, args)) {
17418
+ _chunkS22ZQZMUjs.printCompactJson.call(void 0, outputStatus);
17419
17419
  return 0;
17420
17420
  }
17421
17421
  if (!outputStatus.share) {
@@ -17454,7 +17454,7 @@ async function handlePlaySharePublish(args) {
17454
17454
  return 2;
17455
17455
  }
17456
17456
  const name = parseReferencedPlayTarget2(target).playName;
17457
- const client = new (0, _chunkUVXBVUZQjs.DeeplineClient)();
17457
+ const client = new (0, _chunkNUBIAJI2js.DeeplineClient)();
17458
17458
  let revisionId = shareFlagValue(args, "--revision-id");
17459
17459
  let resolvedVersion;
17460
17460
  if (!revisionId) {
@@ -17485,8 +17485,8 @@ async function handlePlaySharePublish(args) {
17485
17485
  );
17486
17486
  if (!hasCompleted) {
17487
17487
  const message = `No completed run for ${name}. Publish a play only after it has run successfully. (Override with --no-run-check.)`;
17488
- if (_chunkDQ65ZVHNjs.argsWantJson.call(void 0, args)) {
17489
- _chunkDQ65ZVHNjs.printCompactJson.call(void 0, {
17488
+ if (_chunkS22ZQZMUjs.argsWantJson.call(void 0, args)) {
17489
+ _chunkS22ZQZMUjs.printCompactJson.call(void 0, {
17490
17490
  ok: false,
17491
17491
  code: "NO_SUCCESSFUL_RUN",
17492
17492
  message,
@@ -17510,8 +17510,8 @@ async function handlePlaySharePublish(args) {
17510
17510
  };
17511
17511
  if (args.includes("--dry-run")) {
17512
17512
  const plan = { dryRun: true, name, version: resolvedVersion, ...request };
17513
- if (_chunkDQ65ZVHNjs.argsWantJson.call(void 0, args)) {
17514
- _chunkDQ65ZVHNjs.printCompactJson.call(void 0, plan);
17513
+ if (_chunkS22ZQZMUjs.argsWantJson.call(void 0, args)) {
17514
+ _chunkS22ZQZMUjs.printCompactJson.call(void 0, plan);
17515
17515
  } else {
17516
17516
  console.log(
17517
17517
  `Would publish ${name}${resolvedVersion ? ` v${resolvedVersion}` : ""} (revision ${revisionId}).`
@@ -17521,8 +17521,8 @@ async function handlePlaySharePublish(args) {
17521
17521
  }
17522
17522
  const status = await client.publishSharePage(name, request);
17523
17523
  const outputStatus = shareStatusForOutput(status);
17524
- if (_chunkDQ65ZVHNjs.argsWantJson.call(void 0, args)) {
17525
- _chunkDQ65ZVHNjs.printCompactJson.call(void 0, outputStatus);
17524
+ if (_chunkS22ZQZMUjs.argsWantJson.call(void 0, args)) {
17525
+ _chunkS22ZQZMUjs.printCompactJson.call(void 0, outputStatus);
17526
17526
  return 0;
17527
17527
  }
17528
17528
  const urls = shareUrlFields(outputStatus);
@@ -17553,9 +17553,9 @@ async function handlePlayShareUpdate(args) {
17553
17553
  ...args.includes("--show-latency") ? { showAverageLatency: true } : args.includes("--hide-latency") ? { showAverageLatency: false } : {},
17554
17554
  ...seoIndexing ? { seoIndexing } : {}
17555
17555
  };
17556
- const status = await new (0, _chunkUVXBVUZQjs.DeeplineClient)().updateSharePage(name, request);
17557
- if (_chunkDQ65ZVHNjs.argsWantJson.call(void 0, args)) {
17558
- _chunkDQ65ZVHNjs.printCompactJson.call(void 0, status);
17556
+ const status = await new (0, _chunkNUBIAJI2js.DeeplineClient)().updateSharePage(name, request);
17557
+ if (_chunkS22ZQZMUjs.argsWantJson.call(void 0, args)) {
17558
+ _chunkS22ZQZMUjs.printCompactJson.call(void 0, status);
17559
17559
  return 0;
17560
17560
  }
17561
17561
  console.log(`Updated ${name} share settings.`);
@@ -17570,7 +17570,7 @@ async function handlePlayShareRegenerate(args) {
17570
17570
  return 2;
17571
17571
  }
17572
17572
  const name = parseReferencedPlayTarget2(target).playName;
17573
- const client = new (0, _chunkUVXBVUZQjs.DeeplineClient)();
17573
+ const client = new (0, _chunkNUBIAJI2js.DeeplineClient)();
17574
17574
  let revisionId = shareFlagValue(args, "--revision-id");
17575
17575
  const versionFlag = shareFlagValue(args, "--version");
17576
17576
  if (!revisionId && versionFlag) {
@@ -17587,8 +17587,8 @@ async function handlePlayShareRegenerate(args) {
17587
17587
  revisionId ? { revisionId } : {}
17588
17588
  );
17589
17589
  const outputStatus = shareStatusForOutput(status);
17590
- if (_chunkDQ65ZVHNjs.argsWantJson.call(void 0, args)) {
17591
- _chunkDQ65ZVHNjs.printCompactJson.call(void 0, outputStatus);
17590
+ if (_chunkS22ZQZMUjs.argsWantJson.call(void 0, args)) {
17591
+ _chunkS22ZQZMUjs.printCompactJson.call(void 0, outputStatus);
17592
17592
  return 0;
17593
17593
  }
17594
17594
  const urls = shareUrlFields(outputStatus);
@@ -17613,9 +17613,9 @@ async function handlePlayShareUnpublish(args) {
17613
17613
  return 2;
17614
17614
  }
17615
17615
  const name = parseReferencedPlayTarget2(target).playName;
17616
- const status = await new (0, _chunkUVXBVUZQjs.DeeplineClient)().unpublishSharePage(name);
17617
- if (_chunkDQ65ZVHNjs.argsWantJson.call(void 0, args)) {
17618
- _chunkDQ65ZVHNjs.printCompactJson.call(void 0, status);
17616
+ const status = await new (0, _chunkNUBIAJI2js.DeeplineClient)().unpublishSharePage(name);
17617
+ if (_chunkS22ZQZMUjs.argsWantJson.call(void 0, args)) {
17618
+ _chunkS22ZQZMUjs.printCompactJson.call(void 0, status);
17619
17619
  return 0;
17620
17620
  }
17621
17621
  console.log(`Unpublished ${name}; the public page has been removed.`);