deepline 0.3.303 → 0.3.305

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 (100) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/play-runtime/app-runtime-api.ts +31 -1
  3. package/dist/bundling-sources/shared_libs/play-runtime/execute-server-timing.ts +30 -0
  4. package/dist/bundling-sources/shared_libs/play-runtime/resource-governor.ts +144 -1
  5. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-pool.ts +1 -1
  6. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +52 -25
  7. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-event-search.ts +10 -0
  8. package/dist/bundling-sources/shared_libs/product-notifications/billing-sales.ts +13 -0
  9. package/dist/bundling-sources/shared_libs/product-notifications/catalog.ts +69 -0
  10. package/dist/bundling-sources/shared_libs/product-notifications/default-policy.ts +26 -1
  11. package/dist/bundling-sources/shared_libs/product-notifications/events.ts +9 -1
  12. package/dist/cli/auth-WRUUITRZ.js +31 -0
  13. package/dist/cli/{auth-337SVWQD.mjs → auth-XMYFUM5L.mjs} +4 -4
  14. package/dist/cli/{billing-CVQURTWQ.js → billing-NDUDRJ7T.js} +70 -70
  15. package/dist/cli/{billing-SVGYQSJI.mjs → billing-RXT6NYAU.mjs} +4 -4
  16. package/dist/cli/{chunk-XXQYOQWO.mjs → chunk-445RPDOQ.mjs} +2 -2
  17. package/dist/cli/{chunk-PUKK7SZX.mjs → chunk-44GHROVJ.mjs} +1 -1
  18. package/dist/cli/{chunk-GQUI3NYN.js → chunk-5UZQ75HD.js} +57 -57
  19. package/dist/cli/{chunk-JWUOPLAR.mjs → chunk-6C4SD4U3.mjs} +1 -1
  20. package/dist/cli/{chunk-LGGR7CGZ.mjs → chunk-AEMR2R5H.mjs} +4 -4
  21. package/dist/cli/{chunk-HIXYNASX.js → chunk-B7PAZBJX.js} +4 -4
  22. package/dist/cli/{chunk-EAIGGEV5.js → chunk-COMHSM6F.js} +6 -6
  23. package/dist/cli/{chunk-OOQ4IRP4.js → chunk-DNSTXIU4.js} +1 -1
  24. package/dist/cli/{chunk-JGEFX6FQ.js → chunk-DY72E7K2.js} +6 -6
  25. package/dist/cli/{chunk-5NEXN4MZ.js → chunk-E4YSOJ2H.js} +2 -2
  26. package/dist/cli/{chunk-YZLPXH7G.mjs → chunk-HELHRPU6.mjs} +2 -2
  27. package/dist/cli/{chunk-NFWFUCGM.js → chunk-KNHD6J3X.js} +6 -6
  28. package/dist/cli/{chunk-MTICVDNY.mjs → chunk-KNK42P4M.mjs} +1 -1
  29. package/dist/cli/{chunk-WJGRIDWQ.js → chunk-LUBEGHJC.js} +15 -15
  30. package/dist/cli/{chunk-BVJSAJKV.mjs → chunk-LYPASDJJ.mjs} +1 -1
  31. package/dist/cli/{chunk-XKW6HTWO.mjs → chunk-QFSISXKO.mjs} +1 -1
  32. package/dist/cli/{chunk-IVT2CZPM.mjs → chunk-S3HPQWZ3.mjs} +1 -1
  33. package/dist/cli/{chunk-4LRG6AJZ.mjs → chunk-SCX2AZFY.mjs} +2 -2
  34. package/dist/cli/{chunk-DH6LEJWD.mjs → chunk-TGOAQTY3.mjs} +3 -3
  35. package/dist/cli/{chunk-RY6WID7C.js → chunk-UWDFJXBQ.js} +26 -26
  36. package/dist/cli/{chunk-P2KELOST.js → chunk-XZD3NYOL.js} +48 -48
  37. package/dist/cli/{chunk-4D5YQETI.js → chunk-ZQOFBLJN.js} +6 -6
  38. package/dist/cli/client-KBAPBERE.js +20 -0
  39. package/dist/cli/{client-AMSHGQFH.mjs → client-WOHHEX5X.mjs} +3 -3
  40. package/dist/cli/{csv-F4RPWI4E.mjs → csv-WNPLDGFR.mjs} +3 -3
  41. package/dist/cli/{csv-B2OKPMNX.js → csv-WZ5BOOT7.js} +12 -12
  42. package/dist/cli/{db-AJYYK5HH.js → db-GBK4QSIU.js} +20 -20
  43. package/dist/cli/{db-QP4WNVSS.mjs → db-GCQJHGME.mjs} +4 -4
  44. package/dist/cli/{executions-4LHEJCCY.js → executions-BAS6T2BN.js} +6 -6
  45. package/dist/cli/{executions-NY7HYAEH.mjs → executions-MSB6FRNL.mjs} +4 -4
  46. package/dist/cli/{feedback-CXXJJARR.js → feedback-UHOHIOPV.js} +6 -6
  47. package/dist/cli/{feedback-SJYHLVYY.mjs → feedback-VREMIXAX.mjs} +3 -3
  48. package/dist/cli/git-6QYO4FQH.js +23 -0
  49. package/dist/cli/{git-DUODO3NL.mjs → git-GQKD556H.mjs} +4 -4
  50. package/dist/cli/index.js +73 -73
  51. package/dist/cli/index.mjs +30 -30
  52. package/dist/cli/{legacy-noops-3UYJVVNW.js → legacy-noops-PIL4KNVA.js} +7 -7
  53. package/dist/cli/{legacy-noops-IUDXZFYO.mjs → legacy-noops-RI2ROZ6U.mjs} +4 -4
  54. package/dist/cli/{monitors-PDWE6BGA.mjs → monitors-QHLEULAZ.mjs} +4 -4
  55. package/dist/cli/{monitors-IEEVACOD.js → monitors-UVQLZDIO.js} +85 -85
  56. package/dist/cli/{org-VSPO2YF3.mjs → org-BYWI4VI3.mjs} +4 -4
  57. package/dist/cli/{org-NUFEZRY7.js → org-KXJJZOSK.js} +60 -60
  58. package/dist/cli/{play-MXYK2BRE.js → play-3XR54PQY.js} +200 -200
  59. package/dist/cli/{play-KMHPJVWH.mjs → play-WF7AJJ7J.mjs} +6 -6
  60. package/dist/cli/{providers-YE5YRIML.js → providers-4FYRPS4E.js} +7 -7
  61. package/dist/cli/{providers-7ENB4EYV.mjs → providers-FG67H5N5.mjs} +4 -4
  62. package/dist/cli/{quickstart-KXCU2MZ2.js → quickstart-3YCFHVKY.js} +5 -5
  63. package/dist/cli/{quickstart-GFOOHX2U.mjs → quickstart-IBWIR4LX.mjs} +3 -3
  64. package/dist/cli/{search-R426JJQW.js → search-6PQ4QBMC.js} +6 -6
  65. package/dist/cli/{search-KESXCJDL.mjs → search-OZRXENTS.mjs} +5 -5
  66. package/dist/cli/{secrets-BRB5SIXG.js → secrets-2JW5HCHH.js} +13 -13
  67. package/dist/cli/{secrets-HDR522GC.mjs → secrets-S3GIROJA.mjs} +4 -4
  68. package/dist/cli/{sessions-VOOSWVLS.mjs → sessions-6HNVWH3C.mjs} +4 -4
  69. package/dist/cli/{sessions-IK3OSQC6.js → sessions-AQQ6WHMK.js} +5 -5
  70. package/dist/cli/{settings-BZKDIHTX.mjs → settings-6FINI54L.mjs} +7 -7
  71. package/dist/cli/{settings-OPGEFGXL.js → settings-HSHA2FO5.js} +74 -74
  72. package/dist/cli/{setup-TP2VWSCU.js → setup-O7FZ5EUD.js} +41 -41
  73. package/dist/cli/{setup-RVPS7AJJ.mjs → setup-XHIBSXCC.mjs} +6 -6
  74. package/dist/cli/skills-3ASRSEF2.js +28 -0
  75. package/dist/cli/{skills-7BDD2F4V.mjs → skills-ZFIIWR5G.mjs} +4 -4
  76. package/dist/cli/{tools-46ILS57M.js → tools-4B4NLVOJ.js} +50 -50
  77. package/dist/cli/{tools-XLGGDBM3.mjs → tools-WURPIECI.mjs} +5 -5
  78. package/dist/cli/{update-2JEM7WUF.mjs → update-2THOPAUS.mjs} +6 -6
  79. package/dist/cli/update-7ZPTMO6H.js +28 -0
  80. package/dist/cli/{workflow-SSTGMXOQ.mjs → workflow-S2G453ZX.mjs} +5 -5
  81. package/dist/cli/{workflow-ZKGPY7T4.js → workflow-XS5JSKED.js} +15 -15
  82. package/dist/{client-DjJfoW8r.d.ts → client-5Nsl0O0v.d.ts} +85 -0
  83. package/dist/{client-Me88eH3z.d.mts → client-BT11xxG8.d.mts} +85 -0
  84. package/dist/index.d.mts +2 -2
  85. package/dist/index.d.ts +2 -2
  86. package/dist/index.js +6 -6
  87. package/dist/index.mjs +3 -3
  88. package/dist/install-integrity.json +71 -70
  89. package/dist/plays/run-request.d.mts +1 -1
  90. package/dist/plays/run-request.d.ts +1 -1
  91. package/dist/release.d.mts +1 -1
  92. package/dist/release.d.ts +1 -1
  93. package/dist/release.js +2 -2
  94. package/dist/release.mjs +1 -1
  95. package/package.json +1 -1
  96. package/dist/cli/auth-4ME3NANJ.js +0 -31
  97. package/dist/cli/client-WN33QCMV.js +0 -20
  98. package/dist/cli/git-K7YPSXLC.js +0 -23
  99. package/dist/cli/skills-TK2CIWVS.js +0 -28
  100. package/dist/cli/update-3JOCQWNF.js +0 -28
@@ -1,13 +1,13 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } async function _asyncNullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return await rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; } async function _asyncOptionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = await fn(value); } else if (op === 'call' || op === 'optionalCall') { value = await fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
3
 
4
- var _chunkRY6WID7Cjs = require('./chunk-RY6WID7C.js');
4
+ var _chunkUWDFJXBQjs = require('./chunk-UWDFJXBQ.js');
5
5
 
6
6
 
7
7
  var _chunk5JLQPVNXjs = require('./chunk-5JLQPVNX.js');
8
8
 
9
9
 
10
- var _chunkJGEFX6FQjs = require('./chunk-JGEFX6FQ.js');
10
+ var _chunkDY72E7K2js = require('./chunk-DY72E7K2.js');
11
11
 
12
12
 
13
13
 
@@ -28,7 +28,7 @@ var _chunkSDK3ZA2Cjs = require('./chunk-SDK3ZA2C.js');
28
28
 
29
29
 
30
30
 
31
- var _chunkNFWFUCGMjs = require('./chunk-NFWFUCGM.js');
31
+ var _chunkKNHD6J3Xjs = require('./chunk-KNHD6J3X.js');
32
32
 
33
33
 
34
34
 
@@ -59,12 +59,12 @@ var _chunkWJYPBHTEjs = require('./chunk-WJYPBHTE.js');
59
59
 
60
60
 
61
61
 
62
- var _chunkEAIGGEV5js = require('./chunk-EAIGGEV5.js');
62
+ var _chunkCOMHSM6Fjs = require('./chunk-COMHSM6F.js');
63
63
 
64
64
 
65
- var _chunkHIXYNASXjs = require('./chunk-HIXYNASX.js');
65
+ var _chunkB7PAZBJXjs = require('./chunk-B7PAZBJX.js');
66
66
  require('./chunk-XNYIZMNQ.js');
67
- require('./chunk-OOQ4IRP4.js');
67
+ require('./chunk-DNSTXIU4.js');
68
68
 
69
69
 
70
70
 
@@ -2041,7 +2041,7 @@ function resolveField(key, command) {
2041
2041
  }
2042
2042
  function printSettings(result, json, name) {
2043
2043
  const selected = fields.filter(([key]) => !name || key === name);
2044
- _chunkEAIGGEV5js.printCommandEnvelope.call(void 0,
2044
+ _chunkCOMHSM6Fjs.printCommandEnvelope.call(void 0,
2045
2045
  {
2046
2046
  ...result,
2047
2047
  settings: Object.fromEntries(
@@ -2085,7 +2085,7 @@ function registerPlaySettingsCommands(plays) {
2085
2085
  valueSyntax: field.cli.valueSyntax,
2086
2086
  examples: field.cli.examples
2087
2087
  }));
2088
- _chunkEAIGGEV5js.printCommandEnvelope.call(void 0,
2088
+ _chunkCOMHSM6Fjs.printCommandEnvelope.call(void 0,
2089
2089
  {
2090
2090
  fields: descriptions,
2091
2091
  render: {
@@ -2110,7 +2110,7 @@ function registerPlaySettingsCommands(plays) {
2110
2110
  async (options, command) => {
2111
2111
  if (options.name !== void 0) resolveField(options.name, command);
2112
2112
  printSettings(
2113
- await new (0, _chunkNFWFUCGMjs.DeeplineClient)().getPlaySettings(options.play),
2113
+ await new (0, _chunkKNHD6J3Xjs.DeeplineClient)().getPlaySettings(options.play),
2114
2114
  options.json,
2115
2115
  options.name
2116
2116
  );
@@ -2141,7 +2141,7 @@ function registerPlaySettingsCommands(plays) {
2141
2141
  );
2142
2142
  }
2143
2143
  if (options.dryRun) {
2144
- _chunkEAIGGEV5js.printCommandEnvelope.call(void 0,
2144
+ _chunkCOMHSM6Fjs.printCommandEnvelope.call(void 0,
2145
2145
  {
2146
2146
  dryRun: true,
2147
2147
  play,
@@ -2162,7 +2162,7 @@ function registerPlaySettingsCommands(plays) {
2162
2162
  return;
2163
2163
  }
2164
2164
  printSettings(
2165
- await new (0, _chunkNFWFUCGMjs.DeeplineClient)().updatePlaySettings(play, patch),
2165
+ await new (0, _chunkKNHD6J3Xjs.DeeplineClient)().updatePlaySettings(play, patch),
2166
2166
  options.json
2167
2167
  );
2168
2168
  };
@@ -2188,13 +2188,13 @@ function registerPlaySettingsCommands(plays) {
2188
2188
  "--root must be person or team; --limit must be 1\u2013100.",
2189
2189
  { exitCode: 2 }
2190
2190
  );
2191
- const page = await new (0, _chunkNFWFUCGMjs.DeeplineClient)().listPlaySettingsPaths({
2191
+ const page = await new (0, _chunkKNHD6J3Xjs.DeeplineClient)().listPlaySettingsPaths({
2192
2192
  root: options.root,
2193
2193
  limit,
2194
2194
  cursor: options.cursor
2195
2195
  });
2196
2196
  const nextCommand = page.hasMore ? `deepline plays settings paths --cursor '${page.cursor}'${options.root ? ` --root ${options.root}` : ""} --json` : null;
2197
- _chunkEAIGGEV5js.printCommandEnvelope.call(void 0,
2197
+ _chunkCOMHSM6Fjs.printCommandEnvelope.call(void 0,
2198
2198
  {
2199
2199
  ...page,
2200
2200
  nextCommand,
@@ -2245,7 +2245,7 @@ function registerPlaySettingsCommands(plays) {
2245
2245
  root: _nullishCoalesce(_optionalChain([toPath, 'optionalAccess', _13 => _13.root]), () => ( "person")),
2246
2246
  folders: _nullishCoalesce(_optionalChain([toPath, 'optionalAccess', _14 => _14.folders]), () => ( []))
2247
2247
  };
2248
- const client = new (0, _chunkNFWFUCGMjs.DeeplineClient)();
2248
+ const client = new (0, _chunkKNHD6J3Xjs.DeeplineClient)();
2249
2249
  const paths = [];
2250
2250
  let cursor;
2251
2251
  do {
@@ -2307,7 +2307,7 @@ function registerPlaySettingsCommands(plays) {
2307
2307
  moved.push(move.playName);
2308
2308
  }
2309
2309
  }
2310
- _chunkEAIGGEV5js.printCommandEnvelope.call(void 0,
2310
+ _chunkCOMHSM6Fjs.printCommandEnvelope.call(void 0,
2311
2311
  {
2312
2312
  dryRun: Boolean(options.dryRun),
2313
2313
  from: options.from,
@@ -2435,7 +2435,7 @@ function triggerLines(view) {
2435
2435
  return lines;
2436
2436
  }
2437
2437
  function printView(view, json) {
2438
- _chunkEAIGGEV5js.printCommandEnvelope.call(void 0,
2438
+ _chunkCOMHSM6Fjs.printCommandEnvelope.call(void 0,
2439
2439
  {
2440
2440
  ...view,
2441
2441
  render: {
@@ -2448,7 +2448,7 @@ function printView(view, json) {
2448
2448
  );
2449
2449
  }
2450
2450
  function printResult(result, json) {
2451
- _chunkEAIGGEV5js.printCommandEnvelope.call(void 0,
2451
+ _chunkCOMHSM6Fjs.printCommandEnvelope.call(void 0,
2452
2452
  {
2453
2453
  ...result,
2454
2454
  render: {
@@ -2478,7 +2478,7 @@ async function mutate(command, options, build) {
2478
2478
  usage(command, `Invalid trigger: ${formatPlayTriggerConfigError(error)}`);
2479
2479
  }
2480
2480
  if (options.dryRun) {
2481
- _chunkEAIGGEV5js.printCommandEnvelope.call(void 0,
2481
+ _chunkCOMHSM6Fjs.printCommandEnvelope.call(void 0,
2482
2482
  {
2483
2483
  dryRun: true,
2484
2484
  play: options.play,
@@ -2497,7 +2497,7 @@ async function mutate(command, options, build) {
2497
2497
  return;
2498
2498
  }
2499
2499
  printResult(
2500
- await new (0, _chunkNFWFUCGMjs.DeeplineClient)().updatePlayTriggerConfig(options.play, update),
2500
+ await new (0, _chunkKNHD6J3Xjs.DeeplineClient)().updatePlayTriggerConfig(options.play, update),
2501
2501
  options.json
2502
2502
  );
2503
2503
  }
@@ -2530,7 +2530,7 @@ function registerPlayTriggerConfigCommands(plays) {
2530
2530
  }).addHelpText("after", help2);
2531
2531
  trigger.command("get").description("Show the cron and webhook triggers of a Play.").requiredOption("--play <play>", "Play to read").option("--json", "Emit JSON; automatic when piped").addHelpText("after", help2).action(async (options) => {
2532
2532
  printView(
2533
- await new (0, _chunkNFWFUCGMjs.DeeplineClient)().getPlayTriggerConfig(options.play),
2533
+ await new (0, _chunkKNHD6J3Xjs.DeeplineClient)().getPlayTriggerConfig(options.play),
2534
2534
  options.json
2535
2535
  );
2536
2536
  });
@@ -2574,7 +2574,7 @@ function registerPlayTriggerConfigCommands(plays) {
2574
2574
  if (options.auth === void 0) {
2575
2575
  if (secrets.length || options.header || options.signaturePrefix)
2576
2576
  usage(setWebhook, "--secret/--header need --auth.");
2577
- const current = await new (0, _chunkNFWFUCGMjs.DeeplineClient)().getPlayTriggerConfig(
2577
+ const current = await new (0, _chunkKNHD6J3Xjs.DeeplineClient)().getPlayTriggerConfig(
2578
2578
  options.play
2579
2579
  );
2580
2580
  return {
@@ -2651,7 +2651,7 @@ var KIND_DESCRIPTIONS = {
2651
2651
  "receipt.skipped": "Saved work result: skipped.",
2652
2652
  "runtime.event": "Other event."
2653
2653
  };
2654
- var RUN_LOGS_KIND_HELP = _chunkNFWFUCGMjs.RUN_EVENT_SEARCH_KIND_VALUES.map((kind) => ({
2654
+ var RUN_LOGS_KIND_HELP = _chunkKNHD6J3Xjs.RUN_EVENT_SEARCH_KIND_VALUES.map((kind) => ({
2655
2655
  kind,
2656
2656
  description: KIND_DESCRIPTIONS[kind]
2657
2657
  }));
@@ -3511,7 +3511,7 @@ function checkedRunExample(plays, target) {
3511
3511
  const quote = (value) => `'${value.replace(/'/g, `'\\''`)}'`;
3512
3512
  const base = `deepline plays run --file ${quote(target)}`;
3513
3513
  return {
3514
- command: `${base}${_chunkNFWFUCGMjs.playInputExampleArgs.call(void 0, schema)} --json`,
3514
+ command: `${base}${_chunkKNHD6J3Xjs.playInputExampleArgs.call(void 0, schema)} --json`,
3515
3515
  note: "Runs the local file without publishing and may spend credits. Supply the indicated file; JSON input must match inputSchema. Keep stderr separate from JSON stdout."
3516
3516
  };
3517
3517
  }
@@ -5129,7 +5129,7 @@ async function runPlayBootstrap(args) {
5129
5129
  return runMonitorBootstrap(args);
5130
5130
  }
5131
5131
  const options = parsePlayBootstrapOptions(args);
5132
- const client = new (0, _chunkNFWFUCGMjs.DeeplineClient)();
5132
+ const client = new (0, _chunkKNHD6J3Xjs.DeeplineClient)();
5133
5133
  const contracts = await loadBootstrapContracts(client, options);
5134
5134
  const csvContext = loadCsvContext(options.from);
5135
5135
  const source = generateBootstrapPlaySource({
@@ -5284,7 +5284,7 @@ Existing credential redactions and referenced-list previews remain as stored.
5284
5284
  ...text.split(/\r?\n/).map((key) => key.trim()).filter(Boolean)
5285
5285
  );
5286
5286
  }
5287
- const response = await new (0, _chunkNFWFUCGMjs.DeeplineClient)().runs.getReceipts(runId, {
5287
+ const response = await new (0, _chunkKNHD6J3Xjs.DeeplineClient)().runs.getReceipts(runId, {
5288
5288
  keys
5289
5289
  });
5290
5290
  const failed = response.receipts.filter(
@@ -5296,7 +5296,7 @@ Existing credential redactions and referenced-list previews remain as stored.
5296
5296
  JSON.stringify(response, null, 2) + "\n",
5297
5297
  { flag: "wx", mode: 384 }
5298
5298
  );
5299
- _chunkEAIGGEV5js.printCommandEnvelope.call(void 0,
5299
+ _chunkCOMHSM6Fjs.printCommandEnvelope.call(void 0,
5300
5300
  {
5301
5301
  runId,
5302
5302
  out: options.out,
@@ -5306,7 +5306,7 @@ Existing credential redactions and referenced-list previews remain as stored.
5306
5306
  { json: true }
5307
5307
  );
5308
5308
  } else {
5309
- _chunkEAIGGEV5js.printCommandEnvelope.call(void 0, { ...response }, { json: true });
5309
+ _chunkCOMHSM6Fjs.printCommandEnvelope.call(void 0, { ...response }, { json: true });
5310
5310
  }
5311
5311
  if (failed)
5312
5312
  process.exitCode = response.receipts.some(
@@ -5345,7 +5345,7 @@ includes nextCommand when another page is available.
5345
5345
  { exitCode: 2 }
5346
5346
  );
5347
5347
  }
5348
- const page = await new (0, _chunkNFWFUCGMjs.DeeplineClient)().runs.children(parentRunId, {
5348
+ const page = await new (0, _chunkKNHD6J3Xjs.DeeplineClient)().runs.children(parentRunId, {
5349
5349
  launchKey: options.launchKey,
5350
5350
  ...options.cursor !== void 0 ? { cursor: options.cursor } : {},
5351
5351
  limit
@@ -5361,7 +5361,7 @@ includes nextCommand when another page is available.
5361
5361
  String(limit),
5362
5362
  "--json"
5363
5363
  ].join(" ") : null;
5364
- _chunkEAIGGEV5js.printCommandEnvelope.call(void 0,
5364
+ _chunkCOMHSM6Fjs.printCommandEnvelope.call(void 0,
5365
5365
  {
5366
5366
  parentRunId,
5367
5367
  launchKey: options.launchKey,
@@ -5397,7 +5397,7 @@ async function handleRunsHistory(options) {
5397
5397
  throw new Error("--limit must be a positive integer.");
5398
5398
  }
5399
5399
  }
5400
- const page = await new (0, _chunkNFWFUCGMjs.DeeplineClient)().runs.history({
5400
+ const page = await new (0, _chunkKNHD6J3Xjs.DeeplineClient)().runs.history({
5401
5401
  cursor: options.cursor,
5402
5402
  orgId: options.org,
5403
5403
  search: options.search,
@@ -5413,7 +5413,7 @@ async function handleRunsHistory(options) {
5413
5413
  );
5414
5414
  }
5415
5415
  if (page.hasMore) lines.push(`Next cursor: ${page.nextCursor}`);
5416
- _chunkEAIGGEV5js.printCommandEnvelope.call(void 0,
5416
+ _chunkCOMHSM6Fjs.printCommandEnvelope.call(void 0,
5417
5417
  { ...page, render: { sections: [{ title: "Run history", lines }] } },
5418
5418
  options.json ? { json: true } : {}
5419
5419
  );
@@ -5689,7 +5689,7 @@ function projectRunDatasetCell(value) {
5689
5689
  const logicalValue = parseSerializedDatasetValue(value);
5690
5690
  if (logicalValue === null || logicalValue === void 0) return logicalValue;
5691
5691
  if (typeof logicalValue === "object") {
5692
- return _chunkEAIGGEV5js.csvSafeJsonString.call(void 0, canonicalDatasetJson(logicalValue));
5692
+ return _chunkCOMHSM6Fjs.csvSafeJsonString.call(void 0, canonicalDatasetJson(logicalValue));
5693
5693
  }
5694
5694
  return logicalValue;
5695
5695
  }
@@ -8497,7 +8497,7 @@ function renderOutcome(outcome) {
8497
8497
  function printResult2(input) {
8498
8498
  const failed = input.status === "failed" || input.status === "cancelled";
8499
8499
  if (failed) process.exitCode = 1;
8500
- _chunkEAIGGEV5js.printCommandEnvelope.call(void 0,
8500
+ _chunkCOMHSM6Fjs.printCommandEnvelope.call(void 0,
8501
8501
  {
8502
8502
  deployment: { ...input.deployment, status: input.status },
8503
8503
  plays: input.outcomes,
@@ -8522,7 +8522,7 @@ async function handlePlaysDeploy(directory, options) {
8522
8522
  const root = await _promises.realpath.call(void 0, _path.resolve.call(void 0, _nullishCoalesce(directory, () => ( ".")))).catch(() => {
8523
8523
  throw new Error(`No such directory: ${_path.resolve.call(void 0, _nullishCoalesce(directory, () => ( ".")))}`);
8524
8524
  });
8525
- const { http, config } = _chunkEAIGGEV5js.getAuthedHttpClient.call(void 0, );
8525
+ const { http, config } = _chunkCOMHSM6Fjs.getAuthedHttpClient.call(void 0, );
8526
8526
  const deliveryId = `local:${_crypto.randomUUID.call(void 0, )}`;
8527
8527
  const startDeployment = () => http.post("/api/v2/deployments", {
8528
8528
  deliveryId,
@@ -8549,7 +8549,7 @@ async function handlePlaysDeploy(directory, options) {
8549
8549
  },
8550
8550
  {
8551
8551
  bundle: bundleDeployPlayFile,
8552
- fetchImpl: _chunkHIXYNASXjs.fetchWithDeploymentProtection,
8552
+ fetchImpl: _chunkB7PAZBJXjs.fetchWithDeploymentProtection,
8553
8553
  // The plays are already here: "opening" the source is naming it.
8554
8554
  openSource: async () => ({
8555
8555
  open: async () => ({ repoRoot: root })
@@ -9651,7 +9651,7 @@ function playStatusErrorText(status) {
9651
9651
  function isRetryablePendingStartFailure(status) {
9652
9652
  if (status.status !== "failed") return false;
9653
9653
  if (status.runId && status.runId !== "pending") return false;
9654
- return _chunkNFWFUCGMjs.isTransientPlayRunReadError.call(void 0, new Error(playStatusErrorText(status)));
9654
+ return _chunkKNHD6J3Xjs.isTransientPlayRunReadError.call(void 0, new Error(playStatusErrorText(status)));
9655
9655
  }
9656
9656
  function pendingStartFailureStatus(input) {
9657
9657
  const message = input.error instanceof Error ? input.error.message : String(input.error);
@@ -9678,13 +9678,13 @@ var PLAY_PROGRESS_HEARTBEAT_INTERVAL_MS = 15e3;
9678
9678
  var PLAY_STATUS_HEARTBEAT_INTERVAL_MS = 15e3;
9679
9679
  function watchSurfaceReaches(state, provenance, level) {
9680
9680
  const minimumLevel = _nullishCoalesce(state.logLevel, () => ( (state.verbose ? "debug" : "info")));
9681
- if (!_chunkNFWFUCGMjs.logLevelReaches.call(void 0, level, minimumLevel)) {
9681
+ if (!_chunkKNHD6J3Xjs.logLevelReaches.call(void 0, level, minimumLevel)) {
9682
9682
  return false;
9683
9683
  }
9684
- if (_chunkNFWFUCGMjs.logProvenanceReaches.call(void 0, provenance, "watch")) {
9684
+ if (_chunkKNHD6J3Xjs.logProvenanceReaches.call(void 0, provenance, "watch")) {
9685
9685
  return true;
9686
9686
  }
9687
- return state.verbose === true && _chunkNFWFUCGMjs.logProvenanceReaches.call(void 0, provenance, "debug");
9687
+ return state.verbose === true && _chunkKNHD6J3Xjs.logProvenanceReaches.call(void 0, provenance, "debug");
9688
9688
  }
9689
9689
  function getEventPayload(event) {
9690
9690
  return event.payload && typeof event.payload === "object" ? event.payload : {};
@@ -10186,7 +10186,7 @@ function buildPlayDashboardUrl(baseUrl, playName) {
10186
10186
  }
10187
10187
  function openPlayDashboard(dashboardUrl, open2) {
10188
10188
  if (open2 && dashboardUrl) {
10189
- _chunkEAIGGEV5js.openInBrowser.call(void 0, dashboardUrl);
10189
+ _chunkCOMHSM6Fjs.openInBrowser.call(void 0, dashboardUrl);
10190
10190
  }
10191
10191
  }
10192
10192
  function printPlayLogLines(input) {
@@ -10248,7 +10248,7 @@ async function waitForPlayCompletionByWatch(input) {
10248
10248
  billing: false
10249
10249
  });
10250
10250
  } catch (error) {
10251
- if (_chunkNFWFUCGMjs.isTransientPlayRunReadError.call(void 0, error) || isAdmittedRunVisibilityDelay(error)) {
10251
+ if (_chunkKNHD6J3Xjs.isTransientPlayRunReadError.call(void 0, error) || isAdmittedRunVisibilityDelay(error)) {
10252
10252
  return null;
10253
10253
  }
10254
10254
  throw error;
@@ -10437,7 +10437,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
10437
10437
  billing: false
10438
10438
  });
10439
10439
  } catch (error) {
10440
- if (_chunkNFWFUCGMjs.isTransientPlayRunReadError.call(void 0, error)) {
10440
+ if (_chunkKNHD6J3Xjs.isTransientPlayRunReadError.call(void 0, error)) {
10441
10441
  return null;
10442
10442
  }
10443
10443
  throw error;
@@ -10645,7 +10645,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
10645
10645
  lastPhase
10646
10646
  });
10647
10647
  }
10648
- if (lastKnownWorkflowId && _chunkNFWFUCGMjs.isTransientPlayRunReadError.call(void 0, error)) {
10648
+ if (lastKnownWorkflowId && _chunkKNHD6J3Xjs.isTransientPlayRunReadError.call(void 0, error)) {
10649
10649
  if (timeout) {
10650
10650
  clearTimeout(timeout);
10651
10651
  }
@@ -10681,7 +10681,7 @@ async function startAndWaitForPlayCompletionByStreamOnce(input) {
10681
10681
  onRunAdmitted: confirmAdmission
10682
10682
  });
10683
10683
  }
10684
- if (!lastKnownWorkflowId && _chunkNFWFUCGMjs.isTransientPlayRunReadError.call(void 0, error)) {
10684
+ if (!lastKnownWorkflowId && _chunkKNHD6J3Xjs.isTransientPlayRunReadError.call(void 0, error)) {
10685
10685
  _chunkAYHLUHE5js.recordCliTrace.call(void 0, {
10686
10686
  phase: "cli.play_start_stream_transient_failure",
10687
10687
  ms: Date.now() - startedAt,
@@ -10780,7 +10780,7 @@ var BULKY_RETURN_KEYS = /* @__PURE__ */ new Set([
10780
10780
  "logs"
10781
10781
  ]);
10782
10782
  function formatPlayLogLine(rawLine, state) {
10783
- const classified = _chunkNFWFUCGMjs.classifyLogLine.call(void 0, rawLine);
10783
+ const classified = _chunkKNHD6J3Xjs.classifyLogLine.call(void 0, rawLine);
10784
10784
  const line = classified.line;
10785
10785
  const timestampMatch = line.match(/^\[([^\]]+)\]\s*(.*)$/);
10786
10786
  const parsedTimestamp = _optionalChain([timestampMatch, 'optionalAccess', _343 => _343[1]]) ? new Date(timestampMatch[1]) : null;
@@ -10795,14 +10795,14 @@ function formatPlayLogLine(rawLine, state) {
10795
10795
  if (!state.verbose && isProviderRowWaitLogLine(line)) return null;
10796
10796
  const providerWait = formatProviderCapacityWaitLogLine(line);
10797
10797
  if (providerWait && !state.verbose) {
10798
- return _chunkNFWFUCGMjs.logLevelReaches.call(void 0, "warn", _nullishCoalesce(state.logLevel, () => ( "info"))) ? `${prefix}${providerWait}` : null;
10798
+ return _chunkKNHD6J3Xjs.logLevelReaches.call(void 0, "warn", _nullishCoalesce(state.logLevel, () => ( "info"))) ? `${prefix}${providerWait}` : null;
10799
10799
  }
10800
10800
  const mapProgress = formatMapProgressDiagnosticLogLine(line);
10801
10801
  if (mapProgress && !state.verbose) {
10802
- return _chunkNFWFUCGMjs.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info"))) ? `${prefix}${mapProgress}` : null;
10802
+ return _chunkKNHD6J3Xjs.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info"))) ? `${prefix}${mapProgress}` : null;
10803
10803
  }
10804
10804
  if (/\[worker\] picked up run\b/.test(message)) {
10805
- if (!_chunkNFWFUCGMjs.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info")))) {
10805
+ if (!_chunkKNHD6J3Xjs.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info")))) {
10806
10806
  return null;
10807
10807
  }
10808
10808
  if (state.emittedRunnerStarted) {
@@ -10815,7 +10815,7 @@ function formatPlayLogLine(rawLine, state) {
10815
10815
  /^Starting map over (\d+) items with (\d+) fields \(key: ([^;]+); (\d+) already satisfied; (\d+) pending\)$/
10816
10816
  );
10817
10817
  if (mapStart) {
10818
- if (!_chunkNFWFUCGMjs.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info")))) {
10818
+ if (!_chunkKNHD6J3Xjs.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info")))) {
10819
10819
  return null;
10820
10820
  }
10821
10821
  const [, rows, fields2, namespace, cached, pending] = mapStart;
@@ -10825,7 +10825,7 @@ function formatPlayLogLine(rawLine, state) {
10825
10825
  /^Map completed: (\d+) results \((\d+) executed, (\d+) already satisfied\)$/
10826
10826
  );
10827
10827
  if (mapDone) {
10828
- if (!_chunkNFWFUCGMjs.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info")))) {
10828
+ if (!_chunkKNHD6J3Xjs.logLevelReaches.call(void 0, "info", _nullishCoalesce(state.logLevel, () => ( "info")))) {
10829
10829
  return null;
10830
10830
  }
10831
10831
  const [, results, executed, cached] = mapDone;
@@ -12114,7 +12114,7 @@ function formatRecentRunLogLines(value) {
12114
12114
  (line) => typeof line === "string"
12115
12115
  );
12116
12116
  if (tail.length === 0) return [];
12117
- const shown = tail.map((line) => _chunkNFWFUCGMjs.classifyLogLine.call(void 0, line)).filter(
12117
+ const shown = tail.map((line) => _chunkKNHD6J3Xjs.classifyLogLine.call(void 0, line)).filter(
12118
12118
  (entry) => entry.level !== "debug" && !isProviderRowWaitLogLine(entry.line)
12119
12119
  ).slice(-8);
12120
12120
  const total = readNonNegativeInteger(logs.totalCount);
@@ -12394,7 +12394,7 @@ function writePlayResult(status, jsonOutput, options) {
12394
12394
  const hits = _nullishCoalesce(_optionalChain([options, 'optionalAccess', _424 => _424.hits]), () => ( null));
12395
12395
  if (jsonOutput) {
12396
12396
  const payload2 = _optionalChain([options, 'optionalAccess', _425 => _425.fullJson]) ? status.package ? buildRunOverview(status, status) : { ...buildRunLaunch(status), diagnostics: status } : buildRunLaunch(status);
12397
- _chunkEAIGGEV5js.printCommandEnvelope.call(void 0,
12397
+ _chunkCOMHSM6Fjs.printCommandEnvelope.call(void 0,
12398
12398
  hits ? { ...payload2, hits } : payload2,
12399
12399
  { json: true, fields: _optionalChain([options, 'optionalAccess', _426 => _426.jsonFields]) }
12400
12400
  );
@@ -12410,7 +12410,7 @@ function writePlayResult(status, jsonOutput, options) {
12410
12410
  ...buildPlayCompletionTextLines(status),
12411
12411
  ...formatRunHitsLines(hits)
12412
12412
  ];
12413
- _chunkEAIGGEV5js.printCommandEnvelope.call(void 0, displayPackage, {
12413
+ _chunkCOMHSM6Fjs.printCommandEnvelope.call(void 0, displayPackage, {
12414
12414
  json: false,
12415
12415
  text: `${lines2.join("\n")}
12416
12416
  `
@@ -12461,7 +12461,7 @@ function writePlayResult(status, jsonOutput, options) {
12461
12461
  lines.push(...buildBillingRollupTextLines(status));
12462
12462
  const compact = compactPlayStatus(status);
12463
12463
  const payload = _optionalChain([options, 'optionalAccess', _428 => _428.fullJson]) ? status : compact;
12464
- _chunkEAIGGEV5js.printCommandEnvelope.call(void 0,
12464
+ _chunkCOMHSM6Fjs.printCommandEnvelope.call(void 0,
12465
12465
  {
12466
12466
  ...payload,
12467
12467
  render: {
@@ -13221,7 +13221,7 @@ function writeStartedPlayRun(input) {
13221
13221
  dashboardUrl: input.dashboardUrl,
13222
13222
  package: input.package
13223
13223
  };
13224
- _chunkEAIGGEV5js.printCommandEnvelope.call(void 0, buildRunLaunch(status), {
13224
+ _chunkCOMHSM6Fjs.printCommandEnvelope.call(void 0, buildRunLaunch(status), {
13225
13225
  json: true,
13226
13226
  fields: input.jsonFields
13227
13227
  });
@@ -13243,7 +13243,7 @@ function writeStartedPlayRun(input) {
13243
13243
  input.progress.writeLine(output2, process.stdout);
13244
13244
  return;
13245
13245
  }
13246
- _chunkEAIGGEV5js.printCommandEnvelope.call(void 0, input.package, {
13246
+ _chunkCOMHSM6Fjs.printCommandEnvelope.call(void 0, input.package, {
13247
13247
  json: false,
13248
13248
  text: `${output2}
13249
13249
  `
@@ -13272,7 +13272,7 @@ function writeStartedPlayRun(input) {
13272
13272
  ) ? [`Stop: deepline runs stop ${shellSingleQuote(input.runId)} --json`] : []
13273
13273
  ];
13274
13274
  if (input.jsonOutput) {
13275
- _chunkEAIGGEV5js.printCommandEnvelope.call(void 0, payload, { json: true, fields: input.jsonFields });
13275
+ _chunkCOMHSM6Fjs.printCommandEnvelope.call(void 0, payload, { json: true, fields: input.jsonFields });
13276
13276
  return;
13277
13277
  }
13278
13278
  if (input.dashboardUrl) {
@@ -13283,7 +13283,7 @@ function writeStartedPlayRun(input) {
13283
13283
  input.progress.writeLine(output, process.stdout);
13284
13284
  return;
13285
13285
  }
13286
- _chunkEAIGGEV5js.printCommandEnvelope.call(void 0,
13286
+ _chunkCOMHSM6Fjs.printCommandEnvelope.call(void 0,
13287
13287
  {
13288
13288
  ...payload,
13289
13289
  render: { sections: [{ title: "play run", lines }] }
@@ -13293,7 +13293,7 @@ function writeStartedPlayRun(input) {
13293
13293
  );
13294
13294
  }
13295
13295
  function parsePlayRunOptions(args) {
13296
- const selection = _chunkEAIGGEV5js.parseJsonFields.call(void 0, args, "run");
13296
+ const selection = _chunkCOMHSM6Fjs.parseJsonFields.call(void 0, args, "run");
13297
13297
  args = selection.args;
13298
13298
  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.";
13299
13299
  let filePath = null;
@@ -13302,7 +13302,7 @@ function parsePlayRunOptions(args) {
13302
13302
  let revisionId = null;
13303
13303
  let revisionSelector = null;
13304
13304
  const watch = !args.includes("--no-wait");
13305
- let jsonOutput = watch ? args.includes("--json") : _chunkEAIGGEV5js.argsWantJson.call(void 0, args);
13305
+ let jsonOutput = watch ? args.includes("--json") : _chunkCOMHSM6Fjs.argsWantJson.call(void 0, args);
13306
13306
  const fullJson = args.includes("--full");
13307
13307
  const force = args.includes("--force");
13308
13308
  const forceToolRefresh = args.includes("--force-tool-refresh");
@@ -13349,7 +13349,7 @@ function parsePlayRunOptions(args) {
13349
13349
  "--log-level requires one of: debug, info, warn, error."
13350
13350
  );
13351
13351
  }
13352
- const parsed = _chunkNFWFUCGMjs.parseLogLevel.call(void 0, value);
13352
+ const parsed = _chunkKNHD6J3Xjs.parseLogLevel.call(void 0, value);
13353
13353
  if (!parsed) {
13354
13354
  throw new Error(
13355
13355
  `Unsupported --log-level ${JSON.stringify(value)}. Use debug, info, warn, or error.`
@@ -13576,7 +13576,7 @@ function parsePlayRunOptions(args) {
13576
13576
  };
13577
13577
  }
13578
13578
  function parsePlayCheckOptions(args) {
13579
- const selection = _chunkEAIGGEV5js.parseJsonFields.call(void 0, args, "check");
13579
+ const selection = _chunkCOMHSM6Fjs.parseJsonFields.call(void 0, args, "check");
13580
13580
  args = selection.args;
13581
13581
  const target = args[0];
13582
13582
  if (!target || target.startsWith("-")) {
@@ -13588,7 +13588,7 @@ function parsePlayCheckOptions(args) {
13588
13588
  if (arg !== "--json" && arg !== "--full")
13589
13589
  throw new Error(`Unknown plays check option: ${arg}`);
13590
13590
  }
13591
- const jsonOutput = _chunkEAIGGEV5js.argsWantJson.call(void 0, args);
13591
+ const jsonOutput = _chunkCOMHSM6Fjs.argsWantJson.call(void 0, args);
13592
13592
  return {
13593
13593
  target,
13594
13594
  jsonOutput,
@@ -13664,7 +13664,7 @@ ${PLAY_PUBLISH_USAGE}`
13664
13664
  useLatest,
13665
13665
  expectedArtifactHash,
13666
13666
  dryRun,
13667
- jsonOutput: _chunkEAIGGEV5js.argsWantJson.call(void 0, args)
13667
+ jsonOutput: _chunkCOMHSM6Fjs.argsWantJson.call(void 0, args)
13668
13668
  };
13669
13669
  }
13670
13670
  var PLAY_SAVE_USAGE = "Usage: deepline plays save <play-file.ts> [--expected-artifact <hash>] [--dry-run] [--json]";
@@ -13705,7 +13705,7 @@ ${PLAY_SAVE_USAGE}`);
13705
13705
  target,
13706
13706
  expectedArtifactHash,
13707
13707
  dryRun,
13708
- jsonOutput: _chunkEAIGGEV5js.argsWantJson.call(void 0, args)
13708
+ jsonOutput: _chunkCOMHSM6Fjs.argsWantJson.call(void 0, args)
13709
13709
  };
13710
13710
  }
13711
13711
  function printScheduledPlayCapacity(capacity) {
@@ -13916,7 +13916,7 @@ function printBundledRuntimeWarning(bundle) {
13916
13916
  async function handlePlayCheck(args) {
13917
13917
  const options = parsePlayCheckOptions(args);
13918
13918
  if (!isFileTarget(options.target)) {
13919
- const client = new (0, _chunkNFWFUCGMjs.DeeplineClient)();
13919
+ const client = new (0, _chunkKNHD6J3Xjs.DeeplineClient)();
13920
13920
  try {
13921
13921
  await assertCanonicalNamedPlayReference(client, options.target, {
13922
13922
  command: "check"
@@ -13945,7 +13945,7 @@ async function handlePlayCheck(args) {
13945
13945
  },
13946
13946
  ...options.full ? { diagnostics: { staticPipeline: _nullishCoalesce(play.staticPipeline, () => ( null)) } } : {}
13947
13947
  };
13948
- _chunkEAIGGEV5js.printCommandEnvelope.call(void 0, result, {
13948
+ _chunkCOMHSM6Fjs.printCommandEnvelope.call(void 0, result, {
13949
13949
  json: options.jsonOutput,
13950
13950
  fields: options.jsonFields,
13951
13951
  text: renderPlayCheckOutput(result) + "\n"
@@ -13955,7 +13955,7 @@ async function handlePlayCheck(args) {
13955
13955
  const resolved = _path.resolve.call(void 0, options.target);
13956
13956
  const message = error instanceof Error && error.message ? error.message : `File not found: ${resolved}`;
13957
13957
  if (options.jsonOutput) {
13958
- _chunkEAIGGEV5js.printCommandEnvelope.call(void 0,
13958
+ _chunkCOMHSM6Fjs.printCommandEnvelope.call(void 0,
13959
13959
  {
13960
13960
  kind: "play_check",
13961
13961
  checked: "named_contract",
@@ -13997,7 +13997,7 @@ async function handlePlayCheck(args) {
13997
13997
  detailsCommand: `deepline plays check ${shellQuote2(options.target)} --full --json`,
13998
13998
  publishCommand: _optionalChain([primary, 'optionalAccess', _474 => _474.result, 'access', _475 => _475.artifactHash]) ? `deepline plays publish ${shellQuote2(options.target)} --expected-artifact ${primary.result.artifactHash}` : void 0
13999
13999
  });
14000
- _chunkEAIGGEV5js.printCommandEnvelope.call(void 0, output, {
14000
+ _chunkCOMHSM6Fjs.printCommandEnvelope.call(void 0, output, {
14001
14001
  json: options.jsonOutput,
14002
14002
  fields: options.jsonFields,
14003
14003
  text: renderPlayCheckOutput(output) + "\n"
@@ -14059,7 +14059,7 @@ async function checkOneExportedPlay(input) {
14059
14059
  result: { valid: false, errors: descriptionErrors }
14060
14060
  };
14061
14061
  }
14062
- const client = new (0, _chunkNFWFUCGMjs.DeeplineClient)();
14062
+ const client = new (0, _chunkKNHD6J3Xjs.DeeplineClient)();
14063
14063
  const integrationMode = resolveEvalIntegrationMode();
14064
14064
  const importedPlays = [...graph.nodes.values()].filter((node) => node.filePath !== graph.root.filePath).map((node) => ({
14065
14065
  playName: node.playName,
@@ -14096,7 +14096,7 @@ async function handleFileBackedRun(options, hooks) {
14096
14096
  if (options.target.kind !== "file") {
14097
14097
  throw new Error("Expected a file-backed play run target.");
14098
14098
  }
14099
- const client = new (0, _chunkNFWFUCGMjs.DeeplineClient)(playRunClientOptions(options));
14099
+ const client = new (0, _chunkKNHD6J3Xjs.DeeplineClient)(playRunClientOptions(options));
14100
14100
  const progress = _nullishCoalesce(_chunkWJYPBHTEjs.getActiveCliProgress.call(void 0, ), () => ( _chunkWJYPBHTEjs.createCliProgress.call(void 0, !options.jsonOutput)));
14101
14101
  const absolutePlayPath = _path.resolve.call(void 0, options.target.path);
14102
14102
  progress.phase("compiling play");
@@ -14310,7 +14310,7 @@ async function handleNamedRun(options, hooks) {
14310
14310
  if (options.target.kind !== "name") {
14311
14311
  throw new Error("Expected a named play run target.");
14312
14312
  }
14313
- const client = new (0, _chunkNFWFUCGMjs.DeeplineClient)(playRunClientOptions(options));
14313
+ const client = new (0, _chunkKNHD6J3Xjs.DeeplineClient)(playRunClientOptions(options));
14314
14314
  const progress = _nullishCoalesce(_chunkWJYPBHTEjs.getActiveCliProgress.call(void 0, ), () => ( _chunkWJYPBHTEjs.createCliProgress.call(void 0, !options.jsonOutput)));
14315
14315
  const playName = options.target.name;
14316
14316
  const runtimeInput = options.input ? { ...options.input } : {};
@@ -14707,10 +14707,10 @@ function renderRunOverviewText(overview, extras = {}) {
14707
14707
  );
14708
14708
  return `${lines.join("\n")}
14709
14709
 
14710
- ${_chunkEAIGGEV5js.renderCommandEnvelopeText.call(void 0, { render: { sections, actions: actions2 } })}`;
14710
+ ${_chunkCOMHSM6Fjs.renderCommandEnvelopeText.call(void 0, { render: { sections, actions: actions2 } })}`;
14711
14711
  }
14712
14712
  async function handleRunGet(args) {
14713
- const selection = _chunkEAIGGEV5js.parseJsonFields.call(void 0,
14713
+ const selection = _chunkCOMHSM6Fjs.parseJsonFields.call(void 0,
14714
14714
  args,
14715
14715
  args.includes("--config") ? "config" : "get"
14716
14716
  );
@@ -14723,7 +14723,7 @@ async function handleRunGet(args) {
14723
14723
  console.error(error instanceof Error ? error.message : usage2);
14724
14724
  return 1;
14725
14725
  }
14726
- const client = new (0, _chunkNFWFUCGMjs.DeeplineClient)();
14726
+ const client = new (0, _chunkKNHD6J3Xjs.DeeplineClient)();
14727
14727
  if (args.includes("--config")) {
14728
14728
  if (args.some((arg) => ["--input", "--full", "--log-failed"].includes(arg))) {
14729
14729
  console.error(
@@ -14737,7 +14737,7 @@ async function handleRunGet(args) {
14737
14737
  "This server does not support recorded configuration reads."
14738
14738
  );
14739
14739
  }
14740
- _chunkEAIGGEV5js.printCommandEnvelope.call(void 0,
14740
+ _chunkCOMHSM6Fjs.printCommandEnvelope.call(void 0,
14741
14741
  { runId, contract: _nullishCoalesce(status2.contract, () => ( null)) },
14742
14742
  { json: true, fields: selection.fields }
14743
14743
  );
@@ -14745,7 +14745,7 @@ async function handleRunGet(args) {
14745
14745
  }
14746
14746
  if (args.includes("--input")) {
14747
14747
  const input = await client.getRunInput(runId);
14748
- _chunkEAIGGEV5js.printCommandEnvelope.call(void 0, input, { json: true });
14748
+ _chunkCOMHSM6Fjs.printCommandEnvelope.call(void 0, input, { json: true });
14749
14749
  return 0;
14750
14750
  }
14751
14751
  const full = args.includes("--full");
@@ -14758,8 +14758,8 @@ async function handleRunGet(args) {
14758
14758
  full: true,
14759
14759
  failedLogs: args.includes("--log-failed")
14760
14760
  }) : status;
14761
- if (_chunkEAIGGEV5js.argsWantJson.call(void 0, args)) {
14762
- _chunkEAIGGEV5js.printCommandEnvelope.call(void 0,
14761
+ if (_chunkCOMHSM6Fjs.argsWantJson.call(void 0, args)) {
14762
+ _chunkCOMHSM6Fjs.printCommandEnvelope.call(void 0,
14763
14763
  full ? legacyStatus : compactPlayStatus(legacyStatus),
14764
14764
  { json: true, fields: selection.fields }
14765
14765
  );
@@ -14775,8 +14775,8 @@ async function handleRunGet(args) {
14775
14775
  readRunCredits(client, runId, !TERMINAL_PLAY_STATUSES.has(status.status))
14776
14776
  ]);
14777
14777
  const hitLines = formatRunHitsLines(hits);
14778
- const json = _chunkEAIGGEV5js.argsWantJson.call(void 0, args);
14779
- _chunkEAIGGEV5js.printCommandEnvelope.call(void 0,
14778
+ const json = _chunkCOMHSM6Fjs.argsWantJson.call(void 0, args);
14779
+ _chunkCOMHSM6Fjs.printCommandEnvelope.call(void 0,
14780
14780
  {
14781
14781
  ...overview,
14782
14782
  credits,
@@ -14879,9 +14879,9 @@ async function handleRunLifecycleStatus(args) {
14879
14879
  console.error(error instanceof Error ? error.message : usage2);
14880
14880
  return 1;
14881
14881
  }
14882
- const status = await new (0, _chunkNFWFUCGMjs.DeeplineClient)().runs.status(runId);
14883
- if (_chunkEAIGGEV5js.argsWantJson.call(void 0, args)) {
14884
- _chunkEAIGGEV5js.printCommandEnvelope.call(void 0, status, { json: true });
14882
+ const status = await new (0, _chunkKNHD6J3Xjs.DeeplineClient)().runs.status(runId);
14883
+ if (_chunkCOMHSM6Fjs.argsWantJson.call(void 0, args)) {
14884
+ _chunkCOMHSM6Fjs.printCommandEnvelope.call(void 0, status, { json: true });
14885
14885
  return 0;
14886
14886
  }
14887
14887
  if (!status.available) {
@@ -14955,12 +14955,12 @@ async function handleRunsRerun(args) {
14955
14955
  index += 1;
14956
14956
  }
14957
14957
  }
14958
- const result = await new (0, _chunkNFWFUCGMjs.DeeplineClient)().runs.rerun(runId, {
14958
+ const result = await new (0, _chunkKNHD6J3Xjs.DeeplineClient)().runs.rerun(runId, {
14959
14959
  ...idempotencyKey ? { idempotencyKey } : {},
14960
14960
  ...inputOverrides ? { inputOverrides } : {}
14961
14961
  });
14962
- if (_chunkEAIGGEV5js.argsWantJson.call(void 0, args)) {
14963
- _chunkEAIGGEV5js.printCommandEnvelope.call(void 0, result, { json: true });
14962
+ if (_chunkCOMHSM6Fjs.argsWantJson.call(void 0, args)) {
14963
+ _chunkCOMHSM6Fjs.printCommandEnvelope.call(void 0, result, { json: true });
14964
14964
  } else {
14965
14965
  console.log(
14966
14966
  result.deduplicated === true ? `
@@ -15025,8 +15025,8 @@ ${usage2}
15025
15025
  Discover Plays: ${next.discover}
15026
15026
  Active runs: ${next.running}`
15027
15027
  );
15028
- if (_chunkEAIGGEV5js.argsWantJson.call(void 0, args)) {
15029
- _chunkEAIGGEV5js.printCommandEnvelope.call(void 0,
15028
+ if (_chunkCOMHSM6Fjs.argsWantJson.call(void 0, args)) {
15029
+ _chunkCOMHSM6Fjs.printCommandEnvelope.call(void 0,
15030
15030
  { ok: false, exitCode: 1, code: "RUN_FILTER_REQUIRED", message, next },
15031
15031
  { json: true }
15032
15032
  );
@@ -15037,7 +15037,7 @@ Active runs: ${next.running}`
15037
15037
  console.error("--offset requires --play.");
15038
15038
  return 1;
15039
15039
  }
15040
- const client = new (0, _chunkNFWFUCGMjs.DeeplineClient)();
15040
+ const client = new (0, _chunkKNHD6J3Xjs.DeeplineClient)();
15041
15041
  const page = await client.runs.listPage({
15042
15042
  ...playName ? { play: playName } : {},
15043
15043
  ...statusFilter ? { status: statusFilter } : {},
@@ -15090,7 +15090,7 @@ Active runs: ${next.running}`
15090
15090
  nextPage ? `Next page: ${nextPage}` : "Narrow with --play <play-name> to page through runs."
15091
15091
  );
15092
15092
  }
15093
- _chunkEAIGGEV5js.printCommandEnvelope.call(void 0,
15093
+ _chunkCOMHSM6Fjs.printCommandEnvelope.call(void 0,
15094
15094
  {
15095
15095
  runs,
15096
15096
  count: runs.length,
@@ -15104,7 +15104,7 @@ Active runs: ${next.running}`
15104
15104
  },
15105
15105
  render: { sections: [{ title: "runs", lines }] }
15106
15106
  },
15107
- { json: _chunkEAIGGEV5js.argsWantJson.call(void 0, args) }
15107
+ { json: _chunkCOMHSM6Fjs.argsWantJson.call(void 0, args) }
15108
15108
  );
15109
15109
  return 0;
15110
15110
  }
@@ -15134,7 +15134,7 @@ async function handleRunTail(args) {
15134
15134
  console.error("--log-level requires one of: debug, info, warn, error.");
15135
15135
  return 1;
15136
15136
  }
15137
- const parsed = _chunkNFWFUCGMjs.parseLogLevel.call(void 0, value);
15137
+ const parsed = _chunkKNHD6J3Xjs.parseLogLevel.call(void 0, value);
15138
15138
  if (!parsed) {
15139
15139
  console.error(
15140
15140
  `Unsupported --log-level ${JSON.stringify(value)}. Use debug, info, warn, or error.`
@@ -15172,9 +15172,9 @@ async function handleRunTail(args) {
15172
15172
  );
15173
15173
  return 1;
15174
15174
  }
15175
- const client = new (0, _chunkNFWFUCGMjs.DeeplineClient)();
15175
+ const client = new (0, _chunkKNHD6J3Xjs.DeeplineClient)();
15176
15176
  const jsonLines = args.includes("--jsonl");
15177
- const jsonOutput = !jsonLines && _chunkEAIGGEV5js.argsWantJson.call(void 0, args);
15177
+ const jsonOutput = !jsonLines && _chunkCOMHSM6Fjs.argsWantJson.call(void 0, args);
15178
15178
  const compact = args.includes("--compact");
15179
15179
  const showLiveLogs = debug || hasExplicitLogLevel || !jsonOutput && !compact;
15180
15180
  const compactState = {
@@ -15254,7 +15254,7 @@ async function handleRunLogs(args) {
15254
15254
  ]);
15255
15255
  const cursorIndex = args.indexOf("--cursor");
15256
15256
  const cursorValue = cursorIndex >= 0 ? args[cursorIndex + 1] : void 0;
15257
- const continuesEventSearch = cursorIndex >= 0 && !(cursorValue && _chunkNFWFUCGMjs.isRunLogsCursor.call(void 0, cursorValue));
15257
+ const continuesEventSearch = cursorIndex >= 0 && !(cursorValue && _chunkKNHD6J3Xjs.isRunLogsCursor.call(void 0, cursorValue));
15258
15258
  if (!args[0] || args[0].startsWith("--") || continuesEventSearch || args.some((arg) => searchFlags.has(arg))) {
15259
15259
  return handleRunEventSearch(args);
15260
15260
  }
@@ -15288,7 +15288,7 @@ async function handleRunLogs(args) {
15288
15288
  console.error("--log-level requires one of: debug, info, warn, error.");
15289
15289
  return 1;
15290
15290
  }
15291
- const parsed = _chunkNFWFUCGMjs.parseLogLevel.call(void 0, value);
15291
+ const parsed = _chunkKNHD6J3Xjs.parseLogLevel.call(void 0, value);
15292
15292
  if (!parsed) {
15293
15293
  console.error(
15294
15294
  `Unsupported --log-level ${JSON.stringify(value)}. Use debug, info, warn, or error.`
@@ -15335,12 +15335,12 @@ async function handleRunLogs(args) {
15335
15335
  );
15336
15336
  return 1;
15337
15337
  }
15338
- const client = new (0, _chunkNFWFUCGMjs.DeeplineClient)();
15338
+ const client = new (0, _chunkKNHD6J3Xjs.DeeplineClient)();
15339
15339
  if (outPath) {
15340
15340
  const result2 = await client.runs.logs(runId, { all: true });
15341
- const logs = result2.entries.filter((line) => _chunkNFWFUCGMjs.logLevelReaches.call(void 0, _chunkNFWFUCGMjs.classifyLogLine.call(void 0, line).level, logLevel)).map((line) => _chunkNFWFUCGMjs.classifyLogLine.call(void 0, line).line);
15341
+ const logs = result2.entries.filter((line) => _chunkKNHD6J3Xjs.logLevelReaches.call(void 0, _chunkKNHD6J3Xjs.classifyLogLine.call(void 0, line).level, logLevel)).map((line) => _chunkKNHD6J3Xjs.classifyLogLine.call(void 0, line).line);
15342
15342
  _fs.writeFileSync.call(void 0, outPath, `${logs.join("\n")}${logs.length > 0 ? "\n" : ""}`);
15343
- _chunkEAIGGEV5js.printCommandEnvelope.call(void 0,
15343
+ _chunkCOMHSM6Fjs.printCommandEnvelope.call(void 0,
15344
15344
  {
15345
15345
  runId: result2.runId,
15346
15346
  log_path: outPath,
@@ -15363,7 +15363,7 @@ async function handleRunLogs(args) {
15363
15363
  ]
15364
15364
  }
15365
15365
  },
15366
- { json: _chunkEAIGGEV5js.argsWantJson.call(void 0, args) }
15366
+ { json: _chunkCOMHSM6Fjs.argsWantJson.call(void 0, args) }
15367
15367
  );
15368
15368
  return 0;
15369
15369
  }
@@ -15394,7 +15394,7 @@ async function handleRunLogs(args) {
15394
15394
  }
15395
15395
  };
15396
15396
  const text = buildRunLogsText(filteredResult);
15397
- _chunkEAIGGEV5js.printCommandEnvelope.call(void 0,
15397
+ _chunkCOMHSM6Fjs.printCommandEnvelope.call(void 0,
15398
15398
  {
15399
15399
  runId: result.runId,
15400
15400
  totalCount: result.totalCount,
@@ -15418,7 +15418,7 @@ async function handleRunLogs(args) {
15418
15418
  render: { sections: [{ title: "run logs", lines: entries }] }
15419
15419
  },
15420
15420
  {
15421
- json: _chunkEAIGGEV5js.argsWantJson.call(void 0, args),
15421
+ json: _chunkCOMHSM6Fjs.argsWantJson.call(void 0, args),
15422
15422
  text
15423
15423
  }
15424
15424
  );
@@ -15442,7 +15442,7 @@ function selectRunLogTailPage(result, logLevel, limit) {
15442
15442
  );
15443
15443
  }
15444
15444
  const matching = result.entries.map((line, index) => ({ line, seq: first + index })).filter(
15445
- (entry) => _chunkNFWFUCGMjs.logLevelReaches.call(void 0, _chunkNFWFUCGMjs.classifyLogLine.call(void 0, entry.line).level, logLevel)
15445
+ (entry) => _chunkKNHD6J3Xjs.logLevelReaches.call(void 0, _chunkKNHD6J3Xjs.classifyLogLine.call(void 0, entry.line).level, logLevel)
15446
15446
  );
15447
15447
  const selected = matching.slice(-limit);
15448
15448
  const olderMatchesExist = matching.length > selected.length;
@@ -15452,7 +15452,7 @@ function selectRunLogTailPage(result, logLevel, limit) {
15452
15452
  lastSequence: _nullishCoalesce(_optionalChain([selected, 'access', _517 => _517.at, 'call', _518 => _518(-1), 'optionalAccess', _519 => _519.seq]), () => ( null)),
15453
15453
  truncated: result.truncated || olderMatchesExist,
15454
15454
  hasMore: olderMatchesExist,
15455
- nextCursor: olderMatchesExist ? _chunkNFWFUCGMjs.encodeRunLogsCursor.call(void 0, selected[0].seq) : null
15455
+ nextCursor: olderMatchesExist ? _chunkKNHD6J3Xjs.encodeRunLogsCursor.call(void 0, selected[0].seq) : null
15456
15456
  };
15457
15457
  }
15458
15458
  async function handleRunEventSearch(args) {
@@ -15519,7 +15519,7 @@ ${usage2}`);
15519
15519
  namespace,
15520
15520
  ...backend ? { backend } : {}
15521
15521
  } : void 0;
15522
- const client = new (0, _chunkNFWFUCGMjs.DeeplineClient)();
15522
+ const client = new (0, _chunkKNHD6J3Xjs.DeeplineClient)();
15523
15523
  const result = await client.runs.searchEvents({
15524
15524
  ...runId ? { runId } : {},
15525
15525
  ...values["--since"] ? { since: values["--since"] } : {},
@@ -15592,7 +15592,7 @@ ${renderedDetails}` : ""}`;
15592
15592
  String(limit),
15593
15593
  "--json"
15594
15594
  ].join(" ") : null;
15595
- _chunkEAIGGEV5js.printCommandEnvelope.call(void 0,
15595
+ _chunkCOMHSM6Fjs.printCommandEnvelope.call(void 0,
15596
15596
  {
15597
15597
  events,
15598
15598
  nextCursor: result.nextCursor,
@@ -15603,14 +15603,14 @@ ${renderedDetails}` : ""}`;
15603
15603
  render: { sections: [{ title: "runtime events", lines }] }
15604
15604
  },
15605
15605
  {
15606
- json: _chunkEAIGGEV5js.argsWantJson.call(void 0, args),
15606
+ json: _chunkCOMHSM6Fjs.argsWantJson.call(void 0, args),
15607
15607
  text: `${lines.join("\n")}${lines.length ? "\n" : ""}`
15608
15608
  }
15609
15609
  );
15610
15610
  return 0;
15611
15611
  }
15612
15612
  function buildRunLogsText(result) {
15613
- const lines = result.entries.map((line) => _chunkNFWFUCGMjs.classifyLogLine.call(void 0, line).line);
15613
+ const lines = result.entries.map((line) => _chunkKNHD6J3Xjs.classifyLogLine.call(void 0, line).line);
15614
15614
  if (result.warning) {
15615
15615
  if (lines.length > 0) lines.push("");
15616
15616
  lines.push(`warning: ${result.warning}`);
@@ -15644,7 +15644,7 @@ async function handleRunStop(args) {
15644
15644
  reason = args[++index];
15645
15645
  }
15646
15646
  }
15647
- const client = new (0, _chunkNFWFUCGMjs.DeeplineClient)();
15647
+ const client = new (0, _chunkKNHD6J3Xjs.DeeplineClient)();
15648
15648
  const result = await client.runs.stop(runId, { reason });
15649
15649
  const state = resolveRunStopState(result);
15650
15650
  const hitlCleanupIncomplete = state === "cancelling" && result.hitlCancellationPending === true;
@@ -15659,7 +15659,7 @@ async function handleRunStop(args) {
15659
15659
  ...result.hitlCancelledCount > 0 ? [`cancelled HITL waits: ${result.hitlCancelledCount}`] : [],
15660
15660
  `inspect: deepline runs get ${runId} --full --json`
15661
15661
  ];
15662
- _chunkEAIGGEV5js.printCommandEnvelope.call(void 0,
15662
+ _chunkCOMHSM6Fjs.printCommandEnvelope.call(void 0,
15663
15663
  {
15664
15664
  ...cancelling,
15665
15665
  state,
@@ -15674,7 +15674,7 @@ async function handleRunStop(args) {
15674
15674
  ]
15675
15675
  }
15676
15676
  },
15677
- { json: _chunkEAIGGEV5js.argsWantJson.call(void 0, args) }
15677
+ { json: _chunkCOMHSM6Fjs.argsWantJson.call(void 0, args) }
15678
15678
  );
15679
15679
  return 0;
15680
15680
  }
@@ -15691,7 +15691,7 @@ async function handleRunStop(args) {
15691
15691
  ];
15692
15692
  process.stderr.write(`${lines2.join("\n")}
15693
15693
  `);
15694
- _chunkEAIGGEV5js.printCommandEnvelope.call(void 0,
15694
+ _chunkCOMHSM6Fjs.printCommandEnvelope.call(void 0,
15695
15695
  {
15696
15696
  ...result,
15697
15697
  render: {
@@ -15706,7 +15706,7 @@ async function handleRunStop(args) {
15706
15706
  ]
15707
15707
  }
15708
15708
  },
15709
- { json: _chunkEAIGGEV5js.argsWantJson.call(void 0, args) }
15709
+ { json: _chunkCOMHSM6Fjs.argsWantJson.call(void 0, args) }
15710
15710
  );
15711
15711
  return 1;
15712
15712
  }
@@ -15717,12 +15717,12 @@ async function handleRunStop(args) {
15717
15717
  `warning: HITL cancellation or Slack card refresh is still pending; retry 'deepline runs stop ${runId}'`
15718
15718
  ] : []
15719
15719
  ];
15720
- _chunkEAIGGEV5js.printCommandEnvelope.call(void 0,
15720
+ _chunkCOMHSM6Fjs.printCommandEnvelope.call(void 0,
15721
15721
  {
15722
15722
  ...result,
15723
15723
  render: { sections: [{ title: "run stop", lines }] }
15724
15724
  },
15725
- { json: _chunkEAIGGEV5js.argsWantJson.call(void 0, args) }
15725
+ { json: _chunkCOMHSM6Fjs.argsWantJson.call(void 0, args) }
15726
15726
  );
15727
15727
  return 0;
15728
15728
  }
@@ -15772,18 +15772,18 @@ async function handleRunStopAll(args) {
15772
15772
  reason = args[++index];
15773
15773
  }
15774
15774
  }
15775
- const client = new (0, _chunkNFWFUCGMjs.DeeplineClient)();
15775
+ const client = new (0, _chunkKNHD6J3Xjs.DeeplineClient)();
15776
15776
  if (dryRun) {
15777
15777
  const result2 = await client.runs.stopAll({ dryRun: true, reason });
15778
15778
  const lines2 = buildStopAllDryRunTextLines(result2);
15779
- _chunkEAIGGEV5js.printCommandEnvelope.call(void 0,
15779
+ _chunkCOMHSM6Fjs.printCommandEnvelope.call(void 0,
15780
15780
  {
15781
15781
  ...result2,
15782
15782
  render: {
15783
15783
  sections: [{ title: "workspace stop-all (dry run)", lines: lines2 }]
15784
15784
  }
15785
15785
  },
15786
- { json: _chunkEAIGGEV5js.argsWantJson.call(void 0, args), text: `${lines2.join("\n")}
15786
+ { json: _chunkCOMHSM6Fjs.argsWantJson.call(void 0, args), text: `${lines2.join("\n")}
15787
15787
  ` }
15788
15788
  );
15789
15789
  return 0;
@@ -15796,17 +15796,17 @@ async function handleRunStopAll(args) {
15796
15796
  ...result.failed > 0 ? [`failed stops: ${result.failed}`] : [],
15797
15797
  ...result.skipped > 0 ? [`skipped: ${result.skipped}`] : []
15798
15798
  ];
15799
- _chunkEAIGGEV5js.printCommandEnvelope.call(void 0,
15799
+ _chunkCOMHSM6Fjs.printCommandEnvelope.call(void 0,
15800
15800
  {
15801
15801
  ...result,
15802
15802
  render: { sections: [{ title: "workspace stop-all", lines }] }
15803
15803
  },
15804
- { json: _chunkEAIGGEV5js.argsWantJson.call(void 0, args) }
15804
+ { json: _chunkCOMHSM6Fjs.argsWantJson.call(void 0, args) }
15805
15805
  );
15806
15806
  return result.failed > 0 || result.partial ? 1 : 0;
15807
15807
  }
15808
15808
  async function handleRunExport(args) {
15809
- const selection = _chunkEAIGGEV5js.parseJsonFields.call(void 0, args, "export");
15809
+ const selection = _chunkCOMHSM6Fjs.parseJsonFields.call(void 0, args, "export");
15810
15810
  args = selection.args;
15811
15811
  const usage2 = "Usage: deepline runs export <run-id> [--dataset result.rows] --out <path> [--format csv|json] [--wait] [--timeout-ms 300000] [--metadata-out export.json] [--json]";
15812
15812
  let runId;
@@ -15865,16 +15865,16 @@ async function handleRunExport(args) {
15865
15865
  "INVALID_ARGUMENT"
15866
15866
  );
15867
15867
  }
15868
- const client = new (0, _chunkNFWFUCGMjs.DeeplineClient)();
15868
+ const client = new (0, _chunkKNHD6J3Xjs.DeeplineClient)();
15869
15869
  let status = await client.getPlayStatus(runId, { full: true });
15870
15870
  if (wait && !TERMINAL_PLAY_STATUSES.has(status.status)) {
15871
- const progress = _chunkWJYPBHTEjs.createCliProgress.call(void 0, !_chunkEAIGGEV5js.argsWantJson.call(void 0, args));
15871
+ const progress = _chunkWJYPBHTEjs.createCliProgress.call(void 0, !_chunkCOMHSM6Fjs.argsWantJson.call(void 0, args));
15872
15872
  try {
15873
15873
  await waitForPlayCompletionByWatch({
15874
15874
  client,
15875
15875
  playName: _nullishCoalesce(extractRunPlayName(status), () => ( runId)),
15876
15876
  workflowId: runId,
15877
- jsonOutput: _chunkEAIGGEV5js.argsWantJson.call(void 0, args),
15877
+ jsonOutput: _chunkCOMHSM6Fjs.argsWantJson.call(void 0, args),
15878
15878
  emitLogs: false,
15879
15879
  waitTimeoutMs,
15880
15880
  startedAt: Date.now(),
@@ -15973,8 +15973,8 @@ async function handleRunExport(args) {
15973
15973
  "utf-8"
15974
15974
  );
15975
15975
  }
15976
- _chunkEAIGGEV5js.printCommandEnvelope.call(void 0, payload, {
15977
- json: _chunkEAIGGEV5js.argsWantJson.call(void 0, args),
15976
+ _chunkCOMHSM6Fjs.printCommandEnvelope.call(void 0, payload, {
15977
+ json: _chunkCOMHSM6Fjs.argsWantJson.call(void 0, args),
15978
15978
  fields: selection.fields,
15979
15979
  text: `${lines.join("\n")}
15980
15980
  `
@@ -15995,10 +15995,10 @@ async function handlePlayGet(args) {
15995
15995
  );
15996
15996
  return 2;
15997
15997
  }
15998
- const client = new (0, _chunkNFWFUCGMjs.DeeplineClient)();
15998
+ const client = new (0, _chunkKNHD6J3Xjs.DeeplineClient)();
15999
15999
  const explicitJson = args.includes("--json");
16000
16000
  const sourceOutput = args.includes("--source");
16001
- const jsonOutput = sourceOutput ? explicitJson : _chunkEAIGGEV5js.argsWantJson.call(void 0, args);
16001
+ const jsonOutput = sourceOutput ? explicitJson : _chunkCOMHSM6Fjs.argsWantJson.call(void 0, args);
16002
16002
  const requestedRevisionFlags = [
16003
16003
  args.includes("--working"),
16004
16004
  args.includes("--live"),
@@ -16058,7 +16058,7 @@ async function handlePlayGet(args) {
16058
16058
  }
16059
16059
  const loadedMessage = materializedFile ? formatLoadedPlayMessage(materializedFile) : null;
16060
16060
  if (jsonOutput) {
16061
- _chunkEAIGGEV5js.printCompactJson.call(void 0, {
16061
+ _chunkCOMHSM6Fjs.printCompactJson.call(void 0, {
16062
16062
  ...detail,
16063
16063
  ...materializedFile ? {
16064
16064
  message: loadedMessage,
@@ -16145,8 +16145,8 @@ async function handlePlayVersions(args) {
16145
16145
  console.error("Usage: deepline plays versions --name <name> [--json]");
16146
16146
  return 1;
16147
16147
  }
16148
- const client = new (0, _chunkNFWFUCGMjs.DeeplineClient)();
16149
- const jsonOutput = _chunkEAIGGEV5js.argsWantJson.call(void 0, args);
16148
+ const client = new (0, _chunkKNHD6J3Xjs.DeeplineClient)();
16149
+ const jsonOutput = _chunkCOMHSM6Fjs.argsWantJson.call(void 0, args);
16150
16150
  await assertCanonicalNamedPlayReference(client, playName, {
16151
16151
  command: "versions"
16152
16152
  });
@@ -16154,7 +16154,7 @@ async function handlePlayVersions(args) {
16154
16154
  parseReferencedPlayTarget2(playName).playName
16155
16155
  );
16156
16156
  if (jsonOutput) {
16157
- _chunkEAIGGEV5js.printCompactJson.call(void 0, { versions });
16157
+ _chunkCOMHSM6Fjs.printCompactJson.call(void 0, { versions });
16158
16158
  return 0;
16159
16159
  }
16160
16160
  if (versions.length === 0) {
@@ -16186,9 +16186,9 @@ var PREBUILT_PLAY_TAG_KEYS = [
16186
16186
  "signals"
16187
16187
  ];
16188
16188
  async function handlePlayList(args) {
16189
- const jsonOutput = _chunkEAIGGEV5js.argsWantJson.call(void 0, args);
16189
+ const jsonOutput = _chunkCOMHSM6Fjs.argsWantJson.call(void 0, args);
16190
16190
  const showCost = args.includes("--show-cost");
16191
- const client = new (0, _chunkNFWFUCGMjs.DeeplineClient)();
16191
+ const client = new (0, _chunkKNHD6J3Xjs.DeeplineClient)();
16192
16192
  const categoriesIndex = args.indexOf("--categories");
16193
16193
  const categories = categoriesIndex >= 0 ? _optionalChain([args, 'access', _555 => _555[categoriesIndex + 1], 'optionalAccess', _556 => _556.trim, 'call', _557 => _557()]) : void 0;
16194
16194
  const tags = args.flatMap((arg, index) => arg === "--tag" ? [args[index + 1]] : []).flatMap((value) => (_nullishCoalesce(value, () => ( ""))).split(",")).map((value) => value.trim()).filter(Boolean);
@@ -16285,7 +16285,7 @@ async function handlePlayList(args) {
16285
16285
  lines.push("List truncated \u2014 more plays are available.");
16286
16286
  lines.push(`Next page: ${nextPage}`);
16287
16287
  }
16288
- _chunkEAIGGEV5js.printCommandEnvelope.call(void 0,
16288
+ _chunkCOMHSM6Fjs.printCommandEnvelope.call(void 0,
16289
16289
  {
16290
16290
  plays,
16291
16291
  count: plays.length,
@@ -16303,7 +16303,7 @@ async function handlePlayList(args) {
16303
16303
  }
16304
16304
  async function handlePlayPin(args, pinned) {
16305
16305
  const target = _optionalChain([args, 'access', _564 => _564.find, 'call', _565 => _565((arg) => !arg.startsWith("-")), 'optionalAccess', _566 => _566.trim, 'call', _567 => _567()]);
16306
- const jsonOutput = _chunkEAIGGEV5js.argsWantJson.call(void 0, args);
16306
+ const jsonOutput = _chunkCOMHSM6Fjs.argsWantJson.call(void 0, args);
16307
16307
  const dryRun = args.includes("--dry-run");
16308
16308
  if (!target) {
16309
16309
  console.error(
@@ -16321,11 +16321,11 @@ async function handlePlayPin(args, pinned) {
16321
16321
  const name = parsedTarget.playName;
16322
16322
  const plan = { name, pinned, dryRun };
16323
16323
  if (dryRun) {
16324
- _chunkEAIGGEV5js.printCompactJson.call(void 0, plan);
16324
+ _chunkCOMHSM6Fjs.printCompactJson.call(void 0, plan);
16325
16325
  return 0;
16326
16326
  }
16327
- const result = await new (0, _chunkNFWFUCGMjs.DeeplineClient)().setPlayPinned(name, pinned);
16328
- if (jsonOutput) _chunkEAIGGEV5js.printCompactJson.call(void 0, result);
16327
+ const result = await new (0, _chunkKNHD6J3Xjs.DeeplineClient)().setPlayPinned(name, pinned);
16328
+ if (jsonOutput) _chunkCOMHSM6Fjs.printCompactJson.call(void 0, result);
16329
16329
  else console.log(`${result.pinned ? "Pinned" : "Unpinned"} ${result.name}.`);
16330
16330
  return 0;
16331
16331
  }
@@ -16341,7 +16341,7 @@ function csvColumnLines(csvInput) {
16341
16341
  const headers = [defaults[column]].flat().filter((header) => header && header !== column);
16342
16342
  return `${column}${required.has(column) ? " (required)" : ""}${headers.length > 0 ? `, default header: ${headers.join(" or ")}` : ""}`;
16343
16343
  }),
16344
- _chunkNFWFUCGMjs.CSV_HEADER_MATCHING_NOTE
16344
+ _chunkKNHD6J3Xjs.CSV_HEADER_MATCHING_NOTE
16345
16345
  ];
16346
16346
  }
16347
16347
  function printPlayDescription(play) {
@@ -16448,12 +16448,12 @@ async function handlePlayGrep(args) {
16448
16448
  console.error("Usage: deepline plays grep <query> [--json]");
16449
16449
  return 1;
16450
16450
  }
16451
- const client = new (0, _chunkNFWFUCGMjs.DeeplineClient)();
16451
+ const client = new (0, _chunkKNHD6J3Xjs.DeeplineClient)();
16452
16452
  const results = (await client.listPlays({ grep: query })).map(
16453
16453
  summarizePlayGrepResult
16454
16454
  );
16455
- if (_chunkEAIGGEV5js.argsWantJson.call(void 0, args)) {
16456
- _chunkEAIGGEV5js.printCompactJson.call(void 0, {
16455
+ if (_chunkCOMHSM6Fjs.argsWantJson.call(void 0, args)) {
16456
+ _chunkCOMHSM6Fjs.printCompactJson.call(void 0, {
16457
16457
  plays: results,
16458
16458
  count: results.length,
16459
16459
  query,
@@ -16476,7 +16476,7 @@ async function handlePlayGrep(args) {
16476
16476
  return 0;
16477
16477
  }
16478
16478
  async function handlePlayDescribe(args) {
16479
- const selection = _chunkEAIGGEV5js.parseJsonFields.call(void 0, args, "describe");
16479
+ const selection = _chunkCOMHSM6Fjs.parseJsonFields.call(void 0, args, "describe");
16480
16480
  args = selection.args;
16481
16481
  const playName = args[0];
16482
16482
  if (!playName) {
@@ -16510,8 +16510,8 @@ async function handlePlayDescribe(args) {
16510
16510
  `deepline plays check ${playName}`,
16511
16511
  ...definedName ? [`deepline plays describe <workspace>/${definedName}`] : []
16512
16512
  ];
16513
- if (_chunkEAIGGEV5js.argsWantJson.call(void 0, args)) {
16514
- _chunkEAIGGEV5js.printCompactJson.call(void 0, {
16513
+ if (_chunkCOMHSM6Fjs.argsWantJson.call(void 0, args)) {
16514
+ _chunkCOMHSM6Fjs.printCompactJson.call(void 0, {
16515
16515
  ok: false,
16516
16516
  error: { message },
16517
16517
  next
@@ -16525,7 +16525,7 @@ async function handlePlayDescribe(args) {
16525
16525
  }
16526
16526
  return 2;
16527
16527
  }
16528
- const client = new (0, _chunkNFWFUCGMjs.DeeplineClient)();
16528
+ const client = new (0, _chunkKNHD6J3Xjs.DeeplineClient)();
16529
16529
  await assertCanonicalNamedPlayReference(client, playName, {
16530
16530
  command: "describe"
16531
16531
  });
@@ -16535,9 +16535,9 @@ async function handlePlayDescribe(args) {
16535
16535
  compact: args.includes("--compact")
16536
16536
  }
16537
16537
  );
16538
- if (_chunkEAIGGEV5js.argsWantJson.call(void 0, args)) {
16539
- if (selection.fields) _chunkEAIGGEV5js.printJson.call(void 0, play, selection.fields);
16540
- else _chunkEAIGGEV5js.printCompactJson.call(void 0, play);
16538
+ if (_chunkCOMHSM6Fjs.argsWantJson.call(void 0, args)) {
16539
+ if (selection.fields) _chunkCOMHSM6Fjs.printJson.call(void 0, play, selection.fields);
16540
+ else _chunkCOMHSM6Fjs.printCompactJson.call(void 0, play);
16541
16541
  return 0;
16542
16542
  }
16543
16543
  printPlayDescription(play);
@@ -16581,7 +16581,7 @@ async function handlePlaySave(args) {
16581
16581
  next: `deepline plays check ${shellQuote2(options.target)}`
16582
16582
  };
16583
16583
  if (options.jsonOutput) {
16584
- _chunkEAIGGEV5js.printCompactJson.call(void 0, result);
16584
+ _chunkCOMHSM6Fjs.printCompactJson.call(void 0, result);
16585
16585
  } else {
16586
16586
  console.error(result.message);
16587
16587
  console.error(` checked artifact: ${result.expectedArtifactHash}`);
@@ -16603,7 +16603,7 @@ async function handlePlaySave(args) {
16603
16603
  };
16604
16604
  if (options.dryRun) {
16605
16605
  if (options.jsonOutput) {
16606
- _chunkEAIGGEV5js.printCompactJson.call(void 0, dryRun);
16606
+ _chunkCOMHSM6Fjs.printCompactJson.call(void 0, dryRun);
16607
16607
  } else {
16608
16608
  console.log(`Dry run: ${playName}`);
16609
16609
  console.log(` source: ${dryRun.sourceHash}`);
@@ -16612,7 +16612,7 @@ async function handlePlaySave(args) {
16612
16612
  }
16613
16613
  return 0;
16614
16614
  }
16615
- const client = new (0, _chunkNFWFUCGMjs.DeeplineClient)();
16615
+ const client = new (0, _chunkKNHD6J3Xjs.DeeplineClient)();
16616
16616
  try {
16617
16617
  await _chunkAYHLUHE5js.traceCliSpan.call(void 0,
16618
16618
  "cli.play_save_compile_manifests",
@@ -16648,7 +16648,7 @@ async function handlePlaySave(args) {
16648
16648
  }
16649
16649
  };
16650
16650
  if (options.jsonOutput) {
16651
- _chunkEAIGGEV5js.printCompactJson.call(void 0, result);
16651
+ _chunkCOMHSM6Fjs.printCompactJson.call(void 0, result);
16652
16652
  } else {
16653
16653
  console.log(
16654
16654
  `\u2713 Saved ${playName} working draft as v${_nullishCoalesce(result.version, () => ( "?"))}`
@@ -16674,7 +16674,7 @@ async function handlePlayPublish(args) {
16674
16674
  }
16675
16675
  const { target: playName, useLatest } = options;
16676
16676
  let revisionId = options.revisionId;
16677
- const client = new (0, _chunkNFWFUCGMjs.DeeplineClient)();
16677
+ const client = new (0, _chunkKNHD6J3Xjs.DeeplineClient)();
16678
16678
  if (isFileTarget(playName)) {
16679
16679
  if (revisionId || useLatest) {
16680
16680
  console.error(
@@ -16706,7 +16706,7 @@ async function handlePlayPublish(args) {
16706
16706
  next: `deepline plays check ${shellQuote2(playName)}`
16707
16707
  };
16708
16708
  if (options.jsonOutput) {
16709
- _chunkEAIGGEV5js.printCompactJson.call(void 0, result3);
16709
+ _chunkCOMHSM6Fjs.printCompactJson.call(void 0, result3);
16710
16710
  } else {
16711
16711
  console.error(result3.message);
16712
16712
  console.error(` checked artifact: ${result3.expectedArtifactHash}`);
@@ -16729,7 +16729,7 @@ async function handlePlayPublish(args) {
16729
16729
  };
16730
16730
  if (options.dryRun) {
16731
16731
  if (options.jsonOutput) {
16732
- _chunkEAIGGEV5js.printCompactJson.call(void 0, dryRun);
16732
+ _chunkCOMHSM6Fjs.printCompactJson.call(void 0, dryRun);
16733
16733
  } else {
16734
16734
  console.log(`Dry run: ${rootPlayName}`);
16735
16735
  console.log(` source: ${dryRun.sourceHash}`);
@@ -16797,7 +16797,7 @@ async function handlePlayPublish(args) {
16797
16797
  triggerBindings: _nullishCoalesce(published.triggerBindings, () => ( []))
16798
16798
  };
16799
16799
  if (options.jsonOutput) {
16800
- _chunkEAIGGEV5js.printCompactJson.call(void 0, result2);
16800
+ _chunkCOMHSM6Fjs.printCompactJson.call(void 0, result2);
16801
16801
  } else {
16802
16802
  printPublishReceipt({
16803
16803
  name: rootPlayName,
@@ -16828,7 +16828,7 @@ async function handlePlayPublish(args) {
16828
16828
  revisionId: _nullishCoalesce(revisionId, () => ( null)),
16829
16829
  latest: useLatest
16830
16830
  };
16831
- _chunkEAIGGEV5js.printCompactJson.call(void 0, result2);
16831
+ _chunkCOMHSM6Fjs.printCompactJson.call(void 0, result2);
16832
16832
  return 0;
16833
16833
  }
16834
16834
  const resolvedName = parseReferencedPlayTarget2(playName).playName;
@@ -16852,7 +16852,7 @@ async function handlePlayPublish(args) {
16852
16852
  revisionId ? { revisionId } : {}
16853
16853
  );
16854
16854
  if (options.jsonOutput) {
16855
- _chunkEAIGGEV5js.printCompactJson.call(void 0, result);
16855
+ _chunkCOMHSM6Fjs.printCompactJson.call(void 0, result);
16856
16856
  } else {
16857
16857
  printPublishReceipt({
16858
16858
  name: result.name,
@@ -16892,7 +16892,7 @@ async function handlePlayDelete(args) {
16892
16892
  );
16893
16893
  return 2;
16894
16894
  }
16895
- const client = new (0, _chunkNFWFUCGMjs.DeeplineClient)();
16895
+ const client = new (0, _chunkKNHD6J3Xjs.DeeplineClient)();
16896
16896
  let detail;
16897
16897
  try {
16898
16898
  detail = await client.getPlay(parseReferencedPlayTarget2(playName).playName);
@@ -16916,8 +16916,8 @@ async function handlePlayDelete(args) {
16916
16916
  name: resolvedName,
16917
16917
  plannedMutation: "move saved org-owned play to Trash and stop triggers"
16918
16918
  };
16919
- if (_chunkEAIGGEV5js.argsWantJson.call(void 0, args)) {
16920
- _chunkEAIGGEV5js.printCompactJson.call(void 0, result2);
16919
+ if (_chunkCOMHSM6Fjs.argsWantJson.call(void 0, args)) {
16920
+ _chunkCOMHSM6Fjs.printCompactJson.call(void 0, result2);
16921
16921
  } else {
16922
16922
  process.stdout.write(
16923
16923
  `Dry run: would move ${result2.name} to Trash and stop its active triggers.
@@ -16927,8 +16927,8 @@ async function handlePlayDelete(args) {
16927
16927
  return 0;
16928
16928
  }
16929
16929
  const result = await client.deletePlay(resolvedName);
16930
- if (_chunkEAIGGEV5js.argsWantJson.call(void 0, args)) {
16931
- _chunkEAIGGEV5js.printCompactJson.call(void 0, result);
16930
+ if (_chunkCOMHSM6Fjs.argsWantJson.call(void 0, args)) {
16931
+ _chunkCOMHSM6Fjs.printCompactJson.call(void 0, result);
16932
16932
  return result.archived || result.alreadyArchived ? 0 : 4;
16933
16933
  }
16934
16934
  if (result.alreadyArchived) {
@@ -16967,13 +16967,13 @@ async function handlePlayRestore(args) {
16967
16967
  );
16968
16968
  return 2;
16969
16969
  }
16970
- const client = new (0, _chunkNFWFUCGMjs.DeeplineClient)();
16970
+ const client = new (0, _chunkKNHD6J3Xjs.DeeplineClient)();
16971
16971
  try {
16972
16972
  const result = await client.restorePlay(
16973
16973
  parseReferencedPlayTarget2(playName).playName
16974
16974
  );
16975
- if (_chunkEAIGGEV5js.argsWantJson.call(void 0, args)) {
16976
- _chunkEAIGGEV5js.printCompactJson.call(void 0, result);
16975
+ if (_chunkCOMHSM6Fjs.argsWantJson.call(void 0, args)) {
16976
+ _chunkCOMHSM6Fjs.printCompactJson.call(void 0, result);
16977
16977
  return result.restored || result.alreadyActive ? 0 : 4;
16978
16978
  }
16979
16979
  if (result.alreadyActive) {
@@ -17078,7 +17078,7 @@ Examples:
17078
17078
  ).action(async (target, options) => {
17079
17079
  process.exitCode = await handlePlayCheck([
17080
17080
  target,
17081
- ..._chunkEAIGGEV5js.jsonFieldArgs.call(void 0, options.json),
17081
+ ..._chunkCOMHSM6Fjs.jsonFieldArgs.call(void 0, options.json),
17082
17082
  ...options.full ? ["--full"] : []
17083
17083
  ]);
17084
17084
  });
@@ -17265,7 +17265,7 @@ JSON field selection:
17265
17265
  ...options.maxConcurrentRows ? ["--max-concurrent-rows", options.maxConcurrentRows] : [],
17266
17266
  ...options.open ? ["--open"] : [],
17267
17267
  ...options.debugMapLatency ? ["--debug-map-latency"] : [],
17268
- ..._chunkEAIGGEV5js.jsonFieldArgs.call(void 0, options.json),
17268
+ ..._chunkCOMHSM6Fjs.jsonFieldArgs.call(void 0, options.json),
17269
17269
  ...options.full ? ["--full"] : [],
17270
17270
  ...passthroughArgs
17271
17271
  ]);
@@ -17320,9 +17320,9 @@ Examples:
17320
17320
  const limit = Number(options.historyLimit);
17321
17321
  if (!Number.isInteger(limit) || limit < 1 || limit > 30)
17322
17322
  throw new Error("--history-limit must be an integer from 1 to 30.");
17323
- const client = new (0, _chunkNFWFUCGMjs.DeeplineClient)();
17323
+ const client = new (0, _chunkKNHD6J3Xjs.DeeplineClient)();
17324
17324
  if (options.binding) {
17325
- _chunkEAIGGEV5js.printCompactJson.call(void 0,
17325
+ _chunkCOMHSM6Fjs.printCompactJson.call(void 0,
17326
17326
  await client.getPlayTriggerHistory(options.binding, { limit })
17327
17327
  );
17328
17328
  return;
@@ -17330,7 +17330,7 @@ Examples:
17330
17330
  const result = await client.listPlayTriggerInventory({
17331
17331
  cursor: options.cursor
17332
17332
  });
17333
- _chunkEAIGGEV5js.printCompactJson.call(void 0, {
17333
+ _chunkCOMHSM6Fjs.printCompactJson.call(void 0, {
17334
17334
  ...result,
17335
17335
  next: result.isDone ? null : `deepline plays triggers --cursor ${JSON.stringify(result.continueCursor)} --json`
17336
17336
  });
@@ -17377,7 +17377,7 @@ Examples:
17377
17377
  if (options.groupBy !== "kind" && options.groupBy !== "trigger_source") {
17378
17378
  throw new Error("--group-by must be kind or trigger_source.");
17379
17379
  }
17380
- const result = await new (0, _chunkNFWFUCGMjs.DeeplineClient)().getPlaysActivity({
17380
+ const result = await new (0, _chunkKNHD6J3Xjs.DeeplineClient)().getPlaysActivity({
17381
17381
  timeZone: options.timeZone,
17382
17382
  days,
17383
17383
  ...options.endDate ? { endDate: options.endDate } : {},
@@ -17391,7 +17391,7 @@ Examples:
17391
17391
  `${bucket.key} ${groups} failed_play_runs=${bucket.failedPlayRuns} ${coverage}`
17392
17392
  );
17393
17393
  }
17394
- _chunkEAIGGEV5js.printCommandEnvelope.call(void 0,
17394
+ _chunkCOMHSM6Fjs.printCommandEnvelope.call(void 0,
17395
17395
  { ...result },
17396
17396
  {
17397
17397
  json: options.json || !process.stdout.isTTY,
@@ -17420,7 +17420,7 @@ Examples:
17420
17420
  false
17421
17421
  );
17422
17422
  });
17423
- _chunkJGEFX6FQjs.registerDeprecatedSearchCommand.call(void 0,
17423
+ _chunkDY72E7K2js.registerDeprecatedSearchCommand.call(void 0,
17424
17424
  play,
17425
17425
  (options) => options.all ? ["plays"] : ["prebuilts"]
17426
17426
  );
@@ -17463,7 +17463,7 @@ Examples:
17463
17463
  "JSON output; optionally select comma-separated dotted paths"
17464
17464
  ).action(async (target, options) => {
17465
17465
  process.exitCode = await handlePlayDescribe(
17466
- _chunkEAIGGEV5js.describeArgs.call(void 0, target, options)
17466
+ _chunkCOMHSM6Fjs.describeArgs.call(void 0, target, options)
17467
17467
  );
17468
17468
  });
17469
17469
  play.command("versions").description("List revisions for a named play.").addHelpText(
@@ -17570,7 +17570,7 @@ Examples:
17570
17570
  deepline plays deployments <deployment-id>
17571
17571
  `
17572
17572
  ).option("--limit <n>", "Max rows (default 50)").option("--json", "Emit JSON output. Also automatic when stdout is piped").action(
17573
- async (id, options) => id ? _chunkRY6WID7Cjs.handleDeploymentGet.call(void 0, id, options) : _chunkRY6WID7Cjs.handleDeploymentsList.call(void 0, options)
17573
+ async (id, options) => id ? _chunkUWDFJXBQjs.handleDeploymentGet.call(void 0, id, options) : _chunkUWDFJXBQjs.handleDeploymentsList.call(void 0, options)
17574
17574
  );
17575
17575
  addPublishHelp(
17576
17576
  play.command("publish <target>").description(
@@ -17749,7 +17749,7 @@ Examples:
17749
17749
  ).action(async (runId, options) => {
17750
17750
  process.exitCode = await handleRunGet([
17751
17751
  runId,
17752
- ..._chunkEAIGGEV5js.jsonFieldArgs.call(void 0, options.json),
17752
+ ..._chunkCOMHSM6Fjs.jsonFieldArgs.call(void 0, options.json),
17753
17753
  ...options.full ? ["--full"] : [],
17754
17754
  ...options.input ? ["--input"] : [],
17755
17755
  ...options.config ? ["--config"] : [],
@@ -18002,7 +18002,7 @@ Examples:
18002
18002
  ...options.metadataOut ? ["--metadata-out", options.metadataOut] : [],
18003
18003
  ...options.wait ? ["--wait"] : [],
18004
18004
  ...options.timeoutMs ? ["--timeout-ms", options.timeoutMs] : [],
18005
- ..._chunkEAIGGEV5js.jsonFieldArgs.call(void 0, options.json)
18005
+ ..._chunkCOMHSM6Fjs.jsonFieldArgs.call(void 0, options.json)
18006
18006
  ]);
18007
18007
  });
18008
18008
  const share = play.command("share").description(
@@ -18168,10 +18168,10 @@ async function handlePlayShareStatus(args) {
18168
18168
  return 2;
18169
18169
  }
18170
18170
  const name = parseReferencedPlayTarget2(target).playName;
18171
- const status = await new (0, _chunkNFWFUCGMjs.DeeplineClient)().getSharePage(name);
18171
+ const status = await new (0, _chunkKNHD6J3Xjs.DeeplineClient)().getSharePage(name);
18172
18172
  const outputStatus = shareStatusForOutput(status);
18173
- if (_chunkEAIGGEV5js.argsWantJson.call(void 0, args)) {
18174
- _chunkEAIGGEV5js.printCompactJson.call(void 0, outputStatus);
18173
+ if (_chunkCOMHSM6Fjs.argsWantJson.call(void 0, args)) {
18174
+ _chunkCOMHSM6Fjs.printCompactJson.call(void 0, outputStatus);
18175
18175
  return 0;
18176
18176
  }
18177
18177
  if (!outputStatus.share) {
@@ -18210,7 +18210,7 @@ async function handlePlaySharePublish(args) {
18210
18210
  return 2;
18211
18211
  }
18212
18212
  const name = parseReferencedPlayTarget2(target).playName;
18213
- const client = new (0, _chunkNFWFUCGMjs.DeeplineClient)();
18213
+ const client = new (0, _chunkKNHD6J3Xjs.DeeplineClient)();
18214
18214
  let revisionId = shareFlagValue(args, "--revision-id");
18215
18215
  let resolvedVersion;
18216
18216
  if (!revisionId) {
@@ -18241,8 +18241,8 @@ async function handlePlaySharePublish(args) {
18241
18241
  );
18242
18242
  if (!hasCompleted) {
18243
18243
  const message = `No completed run for ${name}. Publish a play only after it has run successfully. (Override with --no-run-check.)`;
18244
- if (_chunkEAIGGEV5js.argsWantJson.call(void 0, args)) {
18245
- _chunkEAIGGEV5js.printCompactJson.call(void 0, {
18244
+ if (_chunkCOMHSM6Fjs.argsWantJson.call(void 0, args)) {
18245
+ _chunkCOMHSM6Fjs.printCompactJson.call(void 0, {
18246
18246
  ok: false,
18247
18247
  code: "NO_SUCCESSFUL_RUN",
18248
18248
  message,
@@ -18266,8 +18266,8 @@ async function handlePlaySharePublish(args) {
18266
18266
  };
18267
18267
  if (args.includes("--dry-run")) {
18268
18268
  const plan = { dryRun: true, name, version: resolvedVersion, ...request };
18269
- if (_chunkEAIGGEV5js.argsWantJson.call(void 0, args)) {
18270
- _chunkEAIGGEV5js.printCompactJson.call(void 0, plan);
18269
+ if (_chunkCOMHSM6Fjs.argsWantJson.call(void 0, args)) {
18270
+ _chunkCOMHSM6Fjs.printCompactJson.call(void 0, plan);
18271
18271
  } else {
18272
18272
  console.log(
18273
18273
  `Would publish ${name}${resolvedVersion ? ` v${resolvedVersion}` : ""} (revision ${revisionId}).`
@@ -18277,8 +18277,8 @@ async function handlePlaySharePublish(args) {
18277
18277
  }
18278
18278
  const status = await client.publishSharePage(name, request);
18279
18279
  const outputStatus = shareStatusForOutput(status);
18280
- if (_chunkEAIGGEV5js.argsWantJson.call(void 0, args)) {
18281
- _chunkEAIGGEV5js.printCompactJson.call(void 0, outputStatus);
18280
+ if (_chunkCOMHSM6Fjs.argsWantJson.call(void 0, args)) {
18281
+ _chunkCOMHSM6Fjs.printCompactJson.call(void 0, outputStatus);
18282
18282
  return 0;
18283
18283
  }
18284
18284
  const urls = shareUrlFields(outputStatus);
@@ -18309,9 +18309,9 @@ async function handlePlayShareUpdate(args) {
18309
18309
  ...args.includes("--show-latency") ? { showAverageLatency: true } : args.includes("--hide-latency") ? { showAverageLatency: false } : {},
18310
18310
  ...seoIndexing ? { seoIndexing } : {}
18311
18311
  };
18312
- const status = await new (0, _chunkNFWFUCGMjs.DeeplineClient)().updateSharePage(name, request);
18313
- if (_chunkEAIGGEV5js.argsWantJson.call(void 0, args)) {
18314
- _chunkEAIGGEV5js.printCompactJson.call(void 0, status);
18312
+ const status = await new (0, _chunkKNHD6J3Xjs.DeeplineClient)().updateSharePage(name, request);
18313
+ if (_chunkCOMHSM6Fjs.argsWantJson.call(void 0, args)) {
18314
+ _chunkCOMHSM6Fjs.printCompactJson.call(void 0, status);
18315
18315
  return 0;
18316
18316
  }
18317
18317
  console.log(`Updated ${name} share settings.`);
@@ -18326,7 +18326,7 @@ async function handlePlayShareRegenerate(args) {
18326
18326
  return 2;
18327
18327
  }
18328
18328
  const name = parseReferencedPlayTarget2(target).playName;
18329
- const client = new (0, _chunkNFWFUCGMjs.DeeplineClient)();
18329
+ const client = new (0, _chunkKNHD6J3Xjs.DeeplineClient)();
18330
18330
  let revisionId = shareFlagValue(args, "--revision-id");
18331
18331
  const versionFlag = shareFlagValue(args, "--version");
18332
18332
  if (!revisionId && versionFlag) {
@@ -18343,8 +18343,8 @@ async function handlePlayShareRegenerate(args) {
18343
18343
  revisionId ? { revisionId } : {}
18344
18344
  );
18345
18345
  const outputStatus = shareStatusForOutput(status);
18346
- if (_chunkEAIGGEV5js.argsWantJson.call(void 0, args)) {
18347
- _chunkEAIGGEV5js.printCompactJson.call(void 0, outputStatus);
18346
+ if (_chunkCOMHSM6Fjs.argsWantJson.call(void 0, args)) {
18347
+ _chunkCOMHSM6Fjs.printCompactJson.call(void 0, outputStatus);
18348
18348
  return 0;
18349
18349
  }
18350
18350
  const urls = shareUrlFields(outputStatus);
@@ -18369,9 +18369,9 @@ async function handlePlayShareUnpublish(args) {
18369
18369
  return 2;
18370
18370
  }
18371
18371
  const name = parseReferencedPlayTarget2(target).playName;
18372
- const status = await new (0, _chunkNFWFUCGMjs.DeeplineClient)().unpublishSharePage(name);
18373
- if (_chunkEAIGGEV5js.argsWantJson.call(void 0, args)) {
18374
- _chunkEAIGGEV5js.printCompactJson.call(void 0, status);
18372
+ const status = await new (0, _chunkKNHD6J3Xjs.DeeplineClient)().unpublishSharePage(name);
18373
+ if (_chunkCOMHSM6Fjs.argsWantJson.call(void 0, args)) {
18374
+ _chunkCOMHSM6Fjs.printCompactJson.call(void 0, status);
18375
18375
  return 0;
18376
18376
  }
18377
18377
  console.log(`Unpublished ${name}; the public page has been removed.`);