deepline 0.3.429 → 0.3.430

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 (116) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/integration-contracts/billing-entitlements.ts +22 -0
  3. package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +2 -2
  4. package/dist/cli/auth-OAK76MZS.js +40 -0
  5. package/dist/cli/{auth-VVTFGWJO.mjs → auth-TQ6HZBPI.mjs} +4 -4
  6. package/dist/cli/{billing-UL7WSUTB.mjs → billing-XJXA44X5.mjs} +10 -5
  7. package/dist/cli/{billing-LYFQRKIT.js → billing-XTJCA6KF.js} +79 -74
  8. package/dist/cli/{chunk-XYFONY3Y.js → chunk-2TWBFXWH.js} +20 -20
  9. package/dist/cli/{chunk-N2UQLMCH.mjs → chunk-2VOTRAHO.mjs} +1 -1
  10. package/dist/cli/{chunk-IP4IW4M4.js → chunk-4NVJEG6K.js} +26 -26
  11. package/dist/cli/{chunk-73XPPBKX.mjs → chunk-4R545AO3.mjs} +2 -2
  12. package/dist/cli/{chunk-VDE2V6O6.mjs → chunk-AHUSKKDG.mjs} +1 -1
  13. package/dist/cli/{chunk-RMJ35WKB.mjs → chunk-AUGEGDPO.mjs} +2 -2
  14. package/dist/cli/{chunk-YHRS6XTB.js → chunk-BBWDU3D5.js} +2 -2
  15. package/dist/cli/{chunk-ULJLCHJ3.js → chunk-CSBYEPJI.js} +2 -2
  16. package/dist/cli/{chunk-UM4C6PSJ.js → chunk-E546F74V.js} +79 -79
  17. package/dist/cli/{chunk-OPOS55BL.js → chunk-EKT4FLA4.js} +6 -6
  18. package/dist/cli/{chunk-KXHXZ2R4.mjs → chunk-EM744RIR.mjs} +3 -3
  19. package/dist/cli/{chunk-QJG6VLPU.mjs → chunk-FE34BAP6.mjs} +2 -2
  20. package/dist/cli/{chunk-ALS26N2J.js → chunk-FZ73XHSU.js} +10 -10
  21. package/dist/cli/{chunk-ZH3Q6AEB.js → chunk-JKOUIBTD.js} +16 -16
  22. package/dist/cli/{chunk-7VB4IDTE.js → chunk-JMTJEPWU.js} +8 -8
  23. package/dist/cli/{chunk-VEHQBGWS.mjs → chunk-KKXF6L3D.mjs} +4 -4
  24. package/dist/cli/{chunk-N37OGHQR.js → chunk-LNQEBCTW.js} +4 -4
  25. package/dist/cli/{chunk-V5JHBTQJ.mjs → chunk-OKCYUSQW.mjs} +1 -1
  26. package/dist/cli/{chunk-2BQUML3X.mjs → chunk-PH2FUNEJ.mjs} +2 -2
  27. package/dist/cli/{chunk-HESEQV33.js → chunk-PTGJD7EH.js} +8 -8
  28. package/dist/cli/{chunk-M4OIGYU6.mjs → chunk-QJQDK4BQ.mjs} +3 -3
  29. package/dist/cli/{chunk-FZ6BGVW6.mjs → chunk-RB3QFQMO.mjs} +1 -1
  30. package/dist/cli/{chunk-5B4E3WNZ.mjs → chunk-SV7N6OLB.mjs} +2 -2
  31. package/dist/cli/{chunk-LYNUCTLH.js → chunk-T6S3GT5F.js} +1 -1
  32. package/dist/cli/{chunk-N5Q7GCTI.mjs → chunk-TIUSTHSJ.mjs} +3 -3
  33. package/dist/cli/{chunk-GJVN2OIX.js → chunk-TTRFTUQ3.js} +2 -2
  34. package/dist/cli/{chunk-7H65SYK3.js → chunk-UIDYVJYW.js} +6 -6
  35. package/dist/cli/{chunk-OHD4H4CU.mjs → chunk-V35KYXHC.mjs} +1 -1
  36. package/dist/cli/{chunk-42RBIHU5.mjs → chunk-WHEH2GEA.mjs} +1 -1
  37. package/dist/cli/{chunk-RGDZ6AAX.js → chunk-WPGJ3XNI.js} +52 -52
  38. package/dist/cli/{chunk-CAOJGQ7F.mjs → chunk-YAXZQFVM.mjs} +5 -5
  39. package/dist/cli/{chunk-CLYPCYS7.mjs → chunk-YOVCI5LP.mjs} +8 -8
  40. package/dist/cli/{chunk-IUYCK4MZ.js → chunk-ZLVQPXMG.js} +35 -35
  41. package/dist/cli/{chunk-4BXZBDI3.js → chunk-ZNC65U6P.js} +50 -50
  42. package/dist/cli/{csv-RMPUP5SR.js → csv-FSO52YQ2.js} +12 -12
  43. package/dist/cli/{csv-TVBFPGXO.mjs → csv-QPV7472B.mjs} +3 -3
  44. package/dist/cli/{db-7XYZVCAL.mjs → db-U7BFCR7L.mjs} +4 -4
  45. package/dist/cli/{db-GWOQMQQT.js → db-W45QQTMX.js} +25 -25
  46. package/dist/cli/{describe-5HDKGDQ2.mjs → describe-Q27T6S5D.mjs} +12 -12
  47. package/dist/cli/{describe-AI566F46.js → describe-WA3X2FS4.js} +16 -16
  48. package/dist/cli/describe-core.d.mts +2 -2
  49. package/dist/cli/describe-core.d.ts +2 -2
  50. package/dist/cli/{executions-XNTOZHZY.mjs → executions-KSUQC3PR.mjs} +4 -4
  51. package/dist/cli/{executions-EWIVWZQC.js → executions-R4PNHW4I.js} +6 -6
  52. package/dist/cli/{feedback-IYZLJ7ZE.js → feedback-SEBEU3ON.js} +7 -7
  53. package/dist/cli/{feedback-AHF5WNVA.mjs → feedback-XV6CPH3L.mjs} +3 -3
  54. package/dist/cli/git-AHISFYL3.js +24 -0
  55. package/dist/cli/{git-EMQ3MVLE.mjs → git-JA3Z3VSQ.mjs} +4 -4
  56. package/dist/cli/index.js +131 -131
  57. package/dist/cli/index.mjs +36 -36
  58. package/dist/cli/{legacy-noops-7M63J4IC.js → legacy-noops-I5BSQYD5.js} +7 -7
  59. package/dist/cli/{legacy-noops-KZFAEOAR.mjs → legacy-noops-IFFVKM6D.mjs} +4 -4
  60. package/dist/cli/{monitors-7XMIETU6.mjs → monitors-2HUBFPZ4.mjs} +4 -4
  61. package/dist/cli/{monitors-BNPHJJBH.js → monitors-BED4ZHQX.js} +84 -84
  62. package/dist/cli/{org-WO6VOSTL.mjs → org-7KHAOMG3.mjs} +4 -4
  63. package/dist/cli/{org-WNV54C4G.js → org-KBAWY5VZ.js} +64 -64
  64. package/dist/cli/{play-D6JUOTX6.js → play-VVFKKNQP.js} +301 -301
  65. package/dist/cli/{play-AD3JPG2F.mjs → play-ZOVQLLBH.mjs} +11 -11
  66. package/dist/cli/{providers-DUKMQLGB.js → providers-J72IJJ2Q.js} +7 -7
  67. package/dist/cli/{providers-DMZRJ5B5.mjs → providers-UCKMIGIQ.mjs} +4 -4
  68. package/dist/cli/{quickstart-6PHBKFD6.js → quickstart-3PUK5N7Z.js} +5 -5
  69. package/dist/cli/{quickstart-7OJBU7D4.mjs → quickstart-JV4ILEMI.mjs} +3 -3
  70. package/dist/cli/{search-GYGSJJQF.mjs → search-26VHUJNX.mjs} +5 -5
  71. package/dist/cli/search-ZG77YAQ6.js +30 -0
  72. package/dist/cli/{secrets-JMB5BCTQ.js → secrets-QDOQQ7UK.js} +13 -13
  73. package/dist/cli/{secrets-4YQFKDJS.mjs → secrets-XWSUTLI5.mjs} +4 -4
  74. package/dist/cli/{sessions-SET44DR4.mjs → sessions-2LNUKAAG.mjs} +4 -4
  75. package/dist/cli/{sessions-IP7XE32G.js → sessions-XKBVY4GN.js} +5 -5
  76. package/dist/cli/{settings-NT5RSSYG.js → settings-ST2VREJE.js} +75 -75
  77. package/dist/cli/{settings-SYLLT2KO.mjs → settings-YRI2IOGN.mjs} +8 -8
  78. package/dist/cli/{setup-TXLBM7NG.mjs → setup-552JZJI3.mjs} +7 -7
  79. package/dist/cli/{setup-FIN6TXJF.js → setup-VPRXUVJL.js} +42 -42
  80. package/dist/cli/skills-UDMRMI6C.js +29 -0
  81. package/dist/cli/{skills-HHAIAVO2.mjs → skills-UFRAQLOT.mjs} +5 -5
  82. package/dist/cli/{tools-DUSWZVFC.mjs → tools-27ZL5GVS.mjs} +12 -12
  83. package/dist/cli/tools-SR2CN3VP.js +44 -0
  84. package/dist/cli/update-HS45ZLBY.js +31 -0
  85. package/dist/cli/{update-SKJUQK3E.mjs → update-T5PK5V3I.mjs} +7 -7
  86. package/dist/cli/{workflow-2KI2H3LJ.js → workflow-GO2BBGKL.js} +15 -15
  87. package/dist/cli/{workflow-EJM4EZYA.mjs → workflow-ZJO2FFWQ.mjs} +5 -5
  88. package/dist/{client-ChLTwy9x.d.mts → client-BuCrTjW6.d.mts} +1 -1
  89. package/dist/{client---03YXeB.d.ts → client-C0VoQB5b.d.ts} +1 -1
  90. package/dist/{compiler-manifest-DaFuA1ki.d.mts → compiler-manifest-D0Gl9gLn.d.mts} +22 -0
  91. package/dist/{compiler-manifest-DaFuA1ki.d.ts → compiler-manifest-D0Gl9gLn.d.ts} +22 -0
  92. package/dist/{index-0yS9ihly.d.mts → index-Bub1jys9.d.mts} +1 -1
  93. package/dist/{index-CRAScKPg.d.ts → index-VyHDAshm.d.ts} +1 -1
  94. package/dist/index.d.mts +5 -5
  95. package/dist/index.d.ts +5 -5
  96. package/dist/index.js +6 -6
  97. package/dist/index.mjs +3 -3
  98. package/dist/install-integrity.json +86 -86
  99. package/dist/plays/bundle-play-file.d.mts +3 -3
  100. package/dist/plays/bundle-play-file.d.ts +3 -3
  101. package/dist/plays/bundle-play-file.mjs +1 -1
  102. package/dist/plays/play-description.d.mts +2 -2
  103. package/dist/plays/play-description.d.ts +2 -2
  104. package/dist/plays/run-request.d.mts +2 -2
  105. package/dist/plays/run-request.d.ts +2 -2
  106. package/dist/release.d.mts +1 -1
  107. package/dist/release.d.ts +1 -1
  108. package/dist/release.js +2 -2
  109. package/dist/release.mjs +1 -1
  110. package/package.json +1 -1
  111. package/dist/cli/auth-KNATWMNY.js +0 -40
  112. package/dist/cli/git-EHWZSXTK.js +0 -24
  113. package/dist/cli/search-JBA32QD2.js +0 -30
  114. package/dist/cli/skills-6RTSMDQQ.js +0 -29
  115. package/dist/cli/tools-4DBJUJDV.js +0 -44
  116. package/dist/cli/update-SUJJG5YO.js +0 -31
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return 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; } var _class; var _class2;require('./chunk-I5YZLGMG.js');
2
2
 
3
3
 
4
- var _chunkALS26N2Jjs = require('./chunk-ALS26N2J.js');
4
+ var _chunkFZ73XHSUjs = require('./chunk-FZ73XHSU.js');
5
5
  require('./chunk-E4CABWXL.js');
6
6
  require('./chunk-2H4EY7KH.js');
7
7
  require('./chunk-KXMNM4AQ.js');
@@ -19,8 +19,8 @@ var _chunkIF75RD6Ujs = require('./chunk-IF75RD6U.js');
19
19
 
20
20
 
21
21
 
22
- var _chunk7H65SYK3js = require('./chunk-7H65SYK3.js');
23
- require('./chunk-N37OGHQR.js');
22
+ var _chunkUIDYVJYWjs = require('./chunk-UIDYVJYW.js');
23
+ require('./chunk-LNQEBCTW.js');
24
24
 
25
25
 
26
26
  var _chunkNPBJI7REjs = require('./chunk-NPBJI7RE.js');
@@ -28,7 +28,7 @@ require('./chunk-XNYIZMNQ.js');
28
28
 
29
29
 
30
30
  var _chunkPPDBRJRWjs = require('./chunk-PPDBRJRW.js');
31
- require('./chunk-LYNUCTLH.js');
31
+ require('./chunk-T6S3GT5F.js');
32
32
  require('./chunk-OG64RBAC.js');
33
33
  require('./chunk-COGTRVWW.js');
34
34
 
@@ -106,10 +106,10 @@ function reportMonitorsFailure(error, options) {
106
106
  const exitCode = monitorsErrorExitCode(error);
107
107
  const next = monitorsFailureNextCommand(error, exitCode, options);
108
108
  const retrySafe = exitCode === 5 && _optionalChain([options, 'optionalAccess', _9 => _9.retryCommand]) !== void 0;
109
- const wantsJson = _chunk7H65SYK3js.shouldEmitJson.call(void 0, process.argv.includes("--json"));
109
+ const wantsJson = _chunkUIDYVJYWjs.shouldEmitJson.call(void 0, process.argv.includes("--json"));
110
110
  if (wantsJson) {
111
- const payload = _chunk7H65SYK3js.errorToJsonPayload.call(void 0, error);
112
- _chunk7H65SYK3js.printJson.call(void 0, {
111
+ const payload = _chunkUIDYVJYWjs.errorToJsonPayload.call(void 0, error);
112
+ _chunkUIDYVJYWjs.printJson.call(void 0, {
113
113
  ok: false,
114
114
  exitCode,
115
115
  ...next ? { next } : {},
@@ -524,14 +524,14 @@ Preview the plan first with:
524
524
  );
525
525
  }
526
526
  async function handleMonitorsStatus(options) {
527
- const payload = await new (0, _chunkALS26N2Jjs.DeeplineClient)().monitors.status();
527
+ const payload = await new (0, _chunkFZ73XHSUjs.DeeplineClient)().monitors.status();
528
528
  const hasAccess = payload.has_access === true;
529
529
  const reason = typeof payload.reason === "string" && payload.reason.trim() ? payload.reason.trim() : void 0;
530
530
  const text = hasAccess ? `\u2713 You have access to Deepline Monitors${reason ? `
531
531
  ${reason}` : ""}
532
532
  ` : `\u2717 No access to Deepline Monitors${reason ? ` \u2014 ${reason}` : ""}
533
533
  `;
534
- _chunk7H65SYK3js.printCommandEnvelope.call(void 0,
534
+ _chunkUIDYVJYWjs.printCommandEnvelope.call(void 0,
535
535
  { has_access: hasAccess, ...reason ? { reason } : {} },
536
536
  { json: options.json, text }
537
537
  );
@@ -597,14 +597,14 @@ async function handleMonitorsAvailable(toolId, options) {
597
597
  }
598
598
  }
599
599
  const tool = _nullishCoalesce(toolId, () => ( options.tool));
600
- const payload = await new (0, _chunkALS26N2Jjs.DeeplineClient)().monitors.available(tool, {
600
+ const payload = await new (0, _chunkFZ73XHSUjs.DeeplineClient)().monitors.available(tool, {
601
601
  ...options.provider ? { provider: options.provider } : {},
602
602
  ...options.search ? { search: options.search } : {},
603
603
  ...options.limit ? { limit: options.limit } : {},
604
604
  ...options.full ? { full: true } : {},
605
605
  ...options.compact ? { compact: true } : {}
606
606
  });
607
- _chunk7H65SYK3js.printCommandEnvelope.call(void 0, payload, {
607
+ _chunkUIDYVJYWjs.printCommandEnvelope.call(void 0, payload, {
608
608
  json: options.json,
609
609
  // Human list view shows id + name + deployed_count ("deployed: N") so
610
610
  // can-deploy vs already-deployed is visible in one view. Describing a
@@ -707,14 +707,14 @@ async function handleMonitorsList(options) {
707
707
  "`--compact` is deprecated and now does nothing; returning the complete monitor records.\n"
708
708
  );
709
709
  }
710
- const payload = await new (0, _chunkALS26N2Jjs.DeeplineClient)().monitors.list({
710
+ const payload = await new (0, _chunkFZ73XHSUjs.DeeplineClient)().monitors.list({
711
711
  ...state ? { state } : {},
712
712
  ...options.status ? { status: options.status } : {},
713
713
  ...options.limit ? { limit: options.limit } : {},
714
714
  ...options.cursor ? { cursor: options.cursor } : {},
715
715
  ...options.includeConsumers ? { includeConsumers: true } : {}
716
716
  });
717
- _chunk7H65SYK3js.printCommandEnvelope.call(void 0, payload, {
717
+ _chunkUIDYVJYWjs.printCommandEnvelope.call(void 0, payload, {
718
718
  json: options.json,
719
719
  text: renderDeployedListText(
720
720
  payload,
@@ -730,10 +730,10 @@ async function handleMonitorsCheck(definition, options) {
730
730
  argLabel: "<definition>",
731
731
  command: "deepline monitors check"
732
732
  });
733
- const payload = await new (0, _chunkALS26N2Jjs.DeeplineClient)().monitors.check(
733
+ const payload = await new (0, _chunkFZ73XHSUjs.DeeplineClient)().monitors.check(
734
734
  body
735
735
  );
736
- _chunk7H65SYK3js.printCommandEnvelope.call(void 0, payload, { json: options.json });
736
+ _chunkUIDYVJYWjs.printCommandEnvelope.call(void 0, payload, { json: options.json });
737
737
  }
738
738
  async function handleMonitorsDeploy(definition, options) {
739
739
  const body = resolveMonitorJsonBody({
@@ -742,7 +742,7 @@ async function handleMonitorsDeploy(definition, options) {
742
742
  argLabel: "<definition>",
743
743
  command: "deepline monitors deploy"
744
744
  });
745
- const client = new (0, _chunkALS26N2Jjs.DeeplineClient)();
745
+ const client = new (0, _chunkFZ73XHSUjs.DeeplineClient)();
746
746
  const definitionArg = body;
747
747
  if (options.dryRun) {
748
748
  const payload2 = await client.monitors.deploy(definitionArg, {
@@ -750,7 +750,7 @@ async function handleMonitorsDeploy(definition, options) {
750
750
  });
751
751
  const valid = payload2.valid !== false;
752
752
  const hasIdentityConflict = Boolean(_optionalChain([asRecord, 'call', _21 => _21(payload2), 'optionalAccess', _22 => _22.identity_conflict]));
753
- _chunk7H65SYK3js.printCommandEnvelope.call(void 0,
753
+ _chunkUIDYVJYWjs.printCommandEnvelope.call(void 0,
754
754
  { dry_run: true, ...payload2 },
755
755
  { json: options.json, text: renderMonitorDeployPlan(payload2) }
756
756
  );
@@ -760,7 +760,7 @@ async function handleMonitorsDeploy(definition, options) {
760
760
  return;
761
761
  }
762
762
  const payload = await client.monitors.deploy(definitionArg);
763
- _chunk7H65SYK3js.printCommandEnvelope.call(void 0, payload, {
763
+ _chunkUIDYVJYWjs.printCommandEnvelope.call(void 0, payload, {
764
764
  json: options.json,
765
765
  text: renderMonitorDeployCompletion(payload)
766
766
  });
@@ -772,29 +772,29 @@ async function handleMonitorsSync(definition, options) {
772
772
  argLabel: "<definition>",
773
773
  command: "deepline monitors sync"
774
774
  });
775
- const payload = await new (0, _chunkALS26N2Jjs.DeeplineClient)().monitors.sync(body, {
775
+ const payload = await new (0, _chunkFZ73XHSUjs.DeeplineClient)().monitors.sync(body, {
776
776
  ...options.dryRun ? { dryRun: true } : {},
777
777
  idempotencyKey: _nullishCoalesce(options.idempotencyKey, () => ( monitorJobIdempotencyKey("scalar-sync", void 0)))
778
778
  });
779
779
  if (options.dryRun) {
780
780
  const plan = payload;
781
- _chunk7H65SYK3js.printCommandEnvelope.call(void 0,
781
+ _chunkUIDYVJYWjs.printCommandEnvelope.call(void 0,
782
782
  { dry_run: true, ...plan },
783
783
  { json: options.json, text: renderMonitorDeployPlan(plan) }
784
784
  );
785
785
  return;
786
786
  }
787
- _chunk7H65SYK3js.printCommandEnvelope.call(void 0, payload, {
787
+ _chunkUIDYVJYWjs.printCommandEnvelope.call(void 0, payload, {
788
788
  json: options.json,
789
789
  text: renderMonitorJob(payload)
790
790
  });
791
791
  }
792
792
  async function handleScalarMonitorLifecycle(action, key, options) {
793
- const payload = await new (0, _chunkALS26N2Jjs.DeeplineClient)().monitors[action](key, {
793
+ const payload = await new (0, _chunkFZ73XHSUjs.DeeplineClient)().monitors[action](key, {
794
794
  ...options.dryRun ? { dryRun: true } : {},
795
795
  idempotencyKey: _nullishCoalesce(options.idempotencyKey, () => ( monitorJobIdempotencyKey(`${action}-${key}`, void 0)))
796
796
  });
797
- _chunk7H65SYK3js.printCommandEnvelope.call(void 0, payload, {
797
+ _chunkUIDYVJYWjs.printCommandEnvelope.call(void 0, payload, {
798
798
  json: options.json,
799
799
  text: options.dryRun ? void 0 : renderMonitorJob(payload)
800
800
  });
@@ -883,11 +883,11 @@ async function handleMonitorJobBatchDeploy(options, idempotencyKey) {
883
883
  lint.issues.filter((issue) => issue.severity === "error").map((issue) => `${issue.path || "batch"}: ${issue.message}`).join("; ")
884
884
  );
885
885
  }
886
- const payload = await new (0, _chunkALS26N2Jjs.DeeplineClient)().monitors.batch.deploy(
886
+ const payload = await new (0, _chunkFZ73XHSUjs.DeeplineClient)().monitors.batch.deploy(
887
887
  lint.normalized.monitors,
888
888
  { idempotencyKey }
889
889
  );
890
- _chunk7H65SYK3js.printCommandEnvelope.call(void 0,
890
+ _chunkUIDYVJYWjs.printCommandEnvelope.call(void 0,
891
891
  {
892
892
  ...payload,
893
893
  idempotency_key: idempotencyKey,
@@ -920,7 +920,7 @@ async function handleNamedMonitorBatchSync(batchId, options) {
920
920
  );
921
921
  }
922
922
  if (options.dryRun) {
923
- _chunk7H65SYK3js.printCommandEnvelope.call(void 0,
923
+ _chunkUIDYVJYWjs.printCommandEnvelope.call(void 0,
924
924
  {
925
925
  ok: true,
926
926
  dry_run: true,
@@ -937,7 +937,7 @@ async function handleNamedMonitorBatchSync(batchId, options) {
937
937
  "sync",
938
938
  options.idempotencyKey
939
939
  );
940
- const payload = await new (0, _chunkALS26N2Jjs.DeeplineClient)().monitors.batches.sync(
940
+ const payload = await new (0, _chunkFZ73XHSUjs.DeeplineClient)().monitors.batches.sync(
941
941
  batchId,
942
942
  lint.normalized.monitors,
943
943
  {
@@ -945,14 +945,14 @@ async function handleNamedMonitorBatchSync(batchId, options) {
945
945
  ...parsedGeneration === void 0 ? {} : { expectedGeneration: parsedGeneration }
946
946
  }
947
947
  );
948
- _chunk7H65SYK3js.printCommandEnvelope.call(void 0,
948
+ _chunkUIDYVJYWjs.printCommandEnvelope.call(void 0,
949
949
  { ...payload, idempotency_key: idempotencyKey },
950
950
  { json: options.json, text: renderMonitorJob(payload) }
951
951
  );
952
952
  }
953
953
  async function handleNamedMonitorBatchLifecycle(batchId, intent, options) {
954
954
  if (options.dryRun) {
955
- _chunk7H65SYK3js.printCommandEnvelope.call(void 0,
955
+ _chunkUIDYVJYWjs.printCommandEnvelope.call(void 0,
956
956
  {
957
957
  ok: true,
958
958
  dry_run: true,
@@ -968,17 +968,17 @@ async function handleNamedMonitorBatchLifecycle(batchId, intent, options) {
968
968
  intent,
969
969
  options.idempotencyKey
970
970
  );
971
- const payload = await new (0, _chunkALS26N2Jjs.DeeplineClient)().monitors.batches[intent](batchId, {
971
+ const payload = await new (0, _chunkFZ73XHSUjs.DeeplineClient)().monitors.batches[intent](batchId, {
972
972
  idempotencyKey
973
973
  });
974
- _chunk7H65SYK3js.printCommandEnvelope.call(void 0,
974
+ _chunkUIDYVJYWjs.printCommandEnvelope.call(void 0,
975
975
  { ...payload, idempotency_key: idempotencyKey },
976
976
  { json: options.json, text: renderMonitorJob(payload) }
977
977
  );
978
978
  }
979
979
  async function handleNamedMonitorBatchGet(batchId, options) {
980
- const payload = await new (0, _chunkALS26N2Jjs.DeeplineClient)().monitors.batches.get(batchId);
981
- _chunk7H65SYK3js.printCommandEnvelope.call(void 0, payload, {
980
+ const payload = await new (0, _chunkFZ73XHSUjs.DeeplineClient)().monitors.batches.get(batchId);
981
+ _chunkUIDYVJYWjs.printCommandEnvelope.call(void 0, payload, {
982
982
  json: options.json,
983
983
  text: renderMonitorJob(payload)
984
984
  });
@@ -992,7 +992,7 @@ async function handleMonitorBatchLint(options) {
992
992
  const result = _chunkIF75RD6Ujs.lintMonitorBatchInput.call(void 0,
993
993
  readMonitorDefinitionsJsonFile(options.file)
994
994
  );
995
- _chunk7H65SYK3js.printCommandEnvelope.call(void 0,
995
+ _chunkUIDYVJYWjs.printCommandEnvelope.call(void 0,
996
996
  {
997
997
  ok: !result.issues.some((issue) => issue.severity === "error"),
998
998
  ...result.normalized ? { normalized: result.normalized } : {},
@@ -1012,7 +1012,7 @@ async function handleMonitorFleetLint(options) {
1012
1012
  const result = _chunkC374C22Yjs.lintMonitorFleetInput.call(void 0,
1013
1013
  readMonitorDefinitionsJsonFile(options.file)
1014
1014
  );
1015
- _chunk7H65SYK3js.printCommandEnvelope.call(void 0,
1015
+ _chunkUIDYVJYWjs.printCommandEnvelope.call(void 0,
1016
1016
  {
1017
1017
  ok: !result.issues.some((issue) => issue.severity === "error"),
1018
1018
  ...result.normalized ? { normalized: result.normalized } : {},
@@ -1024,32 +1024,32 @@ async function handleMonitorFleetLint(options) {
1024
1024
  process.exitCode = 2;
1025
1025
  }
1026
1026
  async function handleMonitorJobGet(jobId, options) {
1027
- const payload = await new (0, _chunkALS26N2Jjs.DeeplineClient)().monitors.jobs.get(jobId);
1028
- _chunk7H65SYK3js.printCommandEnvelope.call(void 0, payload, {
1027
+ const payload = await new (0, _chunkFZ73XHSUjs.DeeplineClient)().monitors.jobs.get(jobId);
1028
+ _chunkUIDYVJYWjs.printCommandEnvelope.call(void 0, payload, {
1029
1029
  json: options.json,
1030
1030
  text: renderMonitorJob(payload)
1031
1031
  });
1032
1032
  }
1033
1033
  async function handleMonitorJobWait(jobId, options) {
1034
- const payload = await new (0, _chunkALS26N2Jjs.DeeplineClient)().monitors.jobs.wait(jobId, {
1034
+ const payload = await new (0, _chunkFZ73XHSUjs.DeeplineClient)().monitors.jobs.wait(jobId, {
1035
1035
  timeoutMs: fleetTimeoutMs(options.timeout),
1036
1036
  pollIntervalMs: FLEET_POLL_INTERVAL_MS
1037
1037
  });
1038
- _chunk7H65SYK3js.printCommandEnvelope.call(void 0, payload, {
1038
+ _chunkUIDYVJYWjs.printCommandEnvelope.call(void 0, payload, {
1039
1039
  json: options.json,
1040
1040
  text: renderMonitorJob(payload)
1041
1041
  });
1042
1042
  }
1043
1043
  async function handleMonitorJobLogs(jobId, options) {
1044
1044
  const limit = options.limit ? fleetIntegerOption(options.limit, "--limit") : void 0;
1045
- const payload = await new (0, _chunkALS26N2Jjs.DeeplineClient)().monitors.jobs.logs(jobId, {
1045
+ const payload = await new (0, _chunkFZ73XHSUjs.DeeplineClient)().monitors.jobs.logs(jobId, {
1046
1046
  ...limit === void 0 ? {} : { limit }
1047
1047
  });
1048
- _chunk7H65SYK3js.printCommandEnvelope.call(void 0, payload, { json: options.json });
1048
+ _chunkUIDYVJYWjs.printCommandEnvelope.call(void 0, payload, { json: options.json });
1049
1049
  }
1050
1050
  async function handleMonitorJobCancel(jobId, options) {
1051
- const payload = await new (0, _chunkALS26N2Jjs.DeeplineClient)().monitors.jobs.cancel(jobId);
1052
- _chunk7H65SYK3js.printCommandEnvelope.call(void 0, payload, {
1051
+ const payload = await new (0, _chunkFZ73XHSUjs.DeeplineClient)().monitors.jobs.cancel(jobId);
1052
+ _chunkUIDYVJYWjs.printCommandEnvelope.call(void 0, payload, {
1053
1053
  json: options.json,
1054
1054
  text: renderMonitorJob(payload)
1055
1055
  });
@@ -1347,7 +1347,7 @@ function renderFleetDeactivatePlan(payload, fleetId) {
1347
1347
  `;
1348
1348
  }
1349
1349
  function reportFleetState(payload, error, options) {
1350
- _chunk7H65SYK3js.printCommandEnvelope.call(void 0,
1350
+ _chunkUIDYVJYWjs.printCommandEnvelope.call(void 0,
1351
1351
  {
1352
1352
  ...payload,
1353
1353
  code: error.code,
@@ -1462,7 +1462,7 @@ async function handleMonitorFleetsInit(fleetId, options) {
1462
1462
  _fs.writeFileSync.call(void 0, file, `${JSON.stringify(definition, null, 2)}
1463
1463
  `, "utf8");
1464
1464
  const next = `deepline monitors fleets deploy --file ${fleetShellArg(file)} --dry-run`;
1465
- _chunk7H65SYK3js.printCommandEnvelope.call(void 0,
1465
+ _chunkUIDYVJYWjs.printCommandEnvelope.call(void 0,
1466
1466
  { schemaVersion: 2, file, definition, next },
1467
1467
  {
1468
1468
  json: options.json,
@@ -1524,7 +1524,7 @@ async function handleMonitorFleetsSync(target, options, idempotencyKey) {
1524
1524
  'The Fleet definition has no id. Add a top-level "id" and re-run.'
1525
1525
  );
1526
1526
  }
1527
- const client = new (0, _chunkALS26N2Jjs.DeeplineClient)();
1527
+ const client = new (0, _chunkFZ73XHSUjs.DeeplineClient)();
1528
1528
  const payload = await client.monitors.fleets.sync(
1529
1529
  _nullishCoalesce(definition, () => ( fleetId)),
1530
1530
  {
@@ -1546,7 +1546,7 @@ async function handleMonitorFleetsSync(target, options, idempotencyKey) {
1546
1546
  }
1547
1547
  const accepted = { ...payload, idempotency_key: idempotencyKey };
1548
1548
  if (!options.wait || options.dryRun) {
1549
- _chunk7H65SYK3js.printCommandEnvelope.call(void 0, accepted, {
1549
+ _chunkUIDYVJYWjs.printCommandEnvelope.call(void 0, accepted, {
1550
1550
  json: options.json,
1551
1551
  text: renderFleetSync(payload, {
1552
1552
  fleetId,
@@ -1572,7 +1572,7 @@ async function handleMonitorFleetsSync(target, options, idempotencyKey) {
1572
1572
  const status = fleetStatus(final);
1573
1573
  const summary = renderFleetGet(final);
1574
1574
  if (status === "converged") {
1575
- _chunk7H65SYK3js.printCommandEnvelope.call(void 0, envelope, { json: options.json, text: summary });
1575
+ _chunkUIDYVJYWjs.printCommandEnvelope.call(void 0, envelope, { json: options.json, text: summary });
1576
1576
  return;
1577
1577
  }
1578
1578
  const driftCommand = `deepline monitors fleets get ${fleetShellArg(fleetId)} --drift`;
@@ -1605,14 +1605,14 @@ async function handleMonitorFleetsGet(fleetId, options) {
1605
1605
  );
1606
1606
  }
1607
1607
  const limit = options.limit === void 0 ? void 0 : fleetIntegerOption(options.limit, "--limit");
1608
- const client = new (0, _chunkALS26N2Jjs.DeeplineClient)();
1608
+ const client = new (0, _chunkFZ73XHSUjs.DeeplineClient)();
1609
1609
  const payload = await client.monitors.fleets.get(fleetId, {
1610
1610
  ...options.drift ? { drift: true } : {},
1611
1611
  ...limit !== void 0 ? { limit } : {}
1612
1612
  });
1613
1613
  const text = fleetId ? renderFleetGet(payload) : renderFleetList(payload);
1614
1614
  if (!options.check) {
1615
- _chunk7H65SYK3js.printCommandEnvelope.call(void 0, payload, { json: options.json, text });
1615
+ _chunkUIDYVJYWjs.printCommandEnvelope.call(void 0, payload, { json: options.json, text });
1616
1616
  return;
1617
1617
  }
1618
1618
  const statuses = fleetId ? [fleetStatus(payload)] : (Array.isArray(payload.fleets) ? payload.fleets : []).map(
@@ -1620,7 +1620,7 @@ async function handleMonitorFleetsGet(fleetId, options) {
1620
1620
  );
1621
1621
  const unconverged = statuses.filter((status) => status !== "converged");
1622
1622
  if (unconverged.length === 0) {
1623
- _chunk7H65SYK3js.printCommandEnvelope.call(void 0, payload, { json: options.json, text });
1623
+ _chunkUIDYVJYWjs.printCommandEnvelope.call(void 0, payload, { json: options.json, text });
1624
1624
  return;
1625
1625
  }
1626
1626
  const target = _nullishCoalesce(fleetId, () => ( "<fleet-id>"));
@@ -1659,13 +1659,13 @@ async function handleMonitorFleetsReactivate(fleetId, options, idempotencyKey) {
1659
1659
  ${fleetReactivateCommandLine(fleetId, options)}`
1660
1660
  );
1661
1661
  }
1662
- const client = new (0, _chunkALS26N2Jjs.DeeplineClient)();
1662
+ const client = new (0, _chunkFZ73XHSUjs.DeeplineClient)();
1663
1663
  const payload = await client.monitors.fleets.reactivate(fleetId, {
1664
1664
  idempotencyKey
1665
1665
  });
1666
1666
  const accepted = { ...payload, idempotency_key: idempotencyKey };
1667
1667
  if (!options.wait) {
1668
- _chunk7H65SYK3js.printCommandEnvelope.call(void 0, accepted, {
1668
+ _chunkUIDYVJYWjs.printCommandEnvelope.call(void 0, accepted, {
1669
1669
  json: options.json,
1670
1670
  text: `Fleet ${fleetId} \u2014 ${readMonitorState(payload) ? `state ${readMonitorState(payload)}` : "reactivation accepted"}
1671
1671
  idempotency key ${idempotencyKey}
@@ -1688,7 +1688,7 @@ async function handleMonitorFleetsReactivate(fleetId, options, idempotencyKey) {
1688
1688
  const envelope = { ...accepted, ...final };
1689
1689
  const text = renderFleetGet(final);
1690
1690
  if (fleetStatus(final) === "converged") {
1691
- _chunk7H65SYK3js.printCommandEnvelope.call(void 0, envelope, { json: options.json, text });
1691
+ _chunkUIDYVJYWjs.printCommandEnvelope.call(void 0, envelope, { json: options.json, text });
1692
1692
  return;
1693
1693
  }
1694
1694
  reportFleetState(
@@ -1730,7 +1730,7 @@ async function confirmFleetDeactivate(fleetId, plan) {
1730
1730
  }
1731
1731
  }
1732
1732
  async function handleMonitorFleetsDeactivate(fleetId, options, idempotencyKey) {
1733
- const client = new (0, _chunkALS26N2Jjs.DeeplineClient)();
1733
+ const client = new (0, _chunkFZ73XHSUjs.DeeplineClient)();
1734
1734
  if (options.dryRun) {
1735
1735
  const plan = await client.monitors.fleets.deactivate(fleetId, {
1736
1736
  dryRun: true,
@@ -1740,7 +1740,7 @@ async function handleMonitorFleetsDeactivate(fleetId, options, idempotencyKey) {
1740
1740
  command: "deepline monitors fleets deactivate",
1741
1741
  mutation: "fleet deactivate"
1742
1742
  });
1743
- _chunk7H65SYK3js.printCommandEnvelope.call(void 0, plan, {
1743
+ _chunkUIDYVJYWjs.printCommandEnvelope.call(void 0, plan, {
1744
1744
  json: options.json,
1745
1745
  text: renderFleetDeactivatePlan(plan, fleetId)
1746
1746
  });
@@ -1778,7 +1778,7 @@ Preview the blast radius first:
1778
1778
  });
1779
1779
  const accepted = { ...payload, idempotency_key: idempotencyKey };
1780
1780
  if (payload.already === true) {
1781
- _chunk7H65SYK3js.printCommandEnvelope.call(void 0, accepted, {
1781
+ _chunkUIDYVJYWjs.printCommandEnvelope.call(void 0, accepted, {
1782
1782
  json: options.json,
1783
1783
  text: `Fleet ${fleetId} is already deactivated.
1784
1784
  `
@@ -1790,7 +1790,7 @@ Preview the blast radius first:
1790
1790
  ` + (fleetServerNext(payload) ? `Next: ${fleetServerNext(payload)}
1791
1791
  ` : "");
1792
1792
  if (!options.wait) {
1793
- _chunk7H65SYK3js.printCommandEnvelope.call(void 0, accepted, {
1793
+ _chunkUIDYVJYWjs.printCommandEnvelope.call(void 0, accepted, {
1794
1794
  json: options.json,
1795
1795
  text: acceptedText
1796
1796
  });
@@ -1812,7 +1812,7 @@ Preview the blast radius first:
1812
1812
  const envelope = { ...accepted, ...final };
1813
1813
  const summary = renderFleetGet(final);
1814
1814
  if (fleetStatus(final) === "deactivated") {
1815
- _chunk7H65SYK3js.printCommandEnvelope.call(void 0, envelope, { json: options.json, text: summary });
1815
+ _chunkUIDYVJYWjs.printCommandEnvelope.call(void 0, envelope, { json: options.json, text: summary });
1816
1816
  return;
1817
1817
  }
1818
1818
  reportFleetState(
@@ -1843,7 +1843,7 @@ function handleMonitorFleetsOverview(options) {
1843
1843
  "Agent notes:",
1844
1844
  ...MONITOR_FLEET_AGENT_NOTES.map((note) => ` ${note}`)
1845
1845
  ];
1846
- _chunk7H65SYK3js.printCommandEnvelope.call(void 0,
1846
+ _chunkUIDYVJYWjs.printCommandEnvelope.call(void 0,
1847
1847
  {
1848
1848
  schemaVersion: 1,
1849
1849
  lifecycle: MONITOR_FLEET_LIFECYCLE,
@@ -2004,7 +2004,7 @@ function renderMonitorGet(payload) {
2004
2004
  `;
2005
2005
  }
2006
2006
  async function handleMonitorsGet(key, options) {
2007
- const client = new (0, _chunkALS26N2Jjs.DeeplineClient)();
2007
+ const client = new (0, _chunkFZ73XHSUjs.DeeplineClient)();
2008
2008
  const payload = await client.monitors.get(key);
2009
2009
  const boundPlays = Array.isArray(payload.bound_plays) ? payload.bound_plays : null;
2010
2010
  const dependents = boundPlays ? {
@@ -2012,24 +2012,24 @@ async function handleMonitorsGet(key, options) {
2012
2012
  truncated: payload.consumer_health_truncated === true
2013
2013
  } : await client.monitors.dependents(key);
2014
2014
  const detail = { ...payload, dependents };
2015
- _chunk7H65SYK3js.printCommandEnvelope.call(void 0, detail, {
2015
+ _chunkUIDYVJYWjs.printCommandEnvelope.call(void 0, detail, {
2016
2016
  json: options.json,
2017
2017
  text: renderMonitorGet(detail)
2018
2018
  });
2019
2019
  }
2020
2020
  async function handleMonitorsTest(key, payload, options) {
2021
2021
  const explicitPayload = parseJsonObjectArg(payload, "<payload>");
2022
- const result = await new (0, _chunkALS26N2Jjs.DeeplineClient)().monitors.test(key, explicitPayload);
2022
+ const result = await new (0, _chunkFZ73XHSUjs.DeeplineClient)().monitors.test(key, explicitPayload);
2023
2023
  const text = `Monitor diagnostic for ${key}: ${result.accepted === true ? "accepted" : "rejected"}
2024
2024
  mode: validation_only (no rows written, credits spent, or Plays dispatched)
2025
2025
  persisted rows: ${_nullishCoalesce(asFiniteNumber(result.persisted_rows), () => ( 0))}
2026
2026
  dispatched bound Plays: ${_nullishCoalesce(asFiniteNumber(result.dispatched_bound_plays), () => ( 0))}
2027
2027
  `;
2028
- _chunk7H65SYK3js.printCommandEnvelope.call(void 0, result, { json: options.json, text });
2028
+ _chunkUIDYVJYWjs.printCommandEnvelope.call(void 0, result, { json: options.json, text });
2029
2029
  }
2030
2030
  async function handleMonitorsValidate(key, options) {
2031
- const result = await new (0, _chunkALS26N2Jjs.DeeplineClient)().monitors.validate(key);
2032
- _chunk7H65SYK3js.printCommandEnvelope.call(void 0, result, { json: options.json });
2031
+ const result = await new (0, _chunkFZ73XHSUjs.DeeplineClient)().monitors.validate(key);
2032
+ _chunkUIDYVJYWjs.printCommandEnvelope.call(void 0, result, { json: options.json });
2033
2033
  if (result.valid === false) process.exitCode = 7;
2034
2034
  }
2035
2035
  async function confirmMonitorDelete(key) {
@@ -2047,14 +2047,14 @@ async function confirmMonitorDelete(key) {
2047
2047
  }
2048
2048
  }
2049
2049
  async function handleMonitorsDelete(key, options) {
2050
- const client = new (0, _chunkALS26N2Jjs.DeeplineClient)();
2050
+ const client = new (0, _chunkFZ73XHSUjs.DeeplineClient)();
2051
2051
  if (options.dryRun) {
2052
2052
  const payload2 = await client.monitors.delete(key, { dryRun: true });
2053
2053
  assertMonitorDryRunAcknowledged(payload2, {
2054
2054
  command: "deepline monitors delete",
2055
2055
  mutation: "delete"
2056
2056
  });
2057
- _chunk7H65SYK3js.printCommandEnvelope.call(void 0, payload2, {
2057
+ _chunkUIDYVJYWjs.printCommandEnvelope.call(void 0, payload2, {
2058
2058
  json: options.json,
2059
2059
  text: renderMonitorDeletePlan(payload2, key)
2060
2060
  });
@@ -2074,7 +2074,7 @@ async function handleMonitorsDelete(key, options) {
2074
2074
  }
2075
2075
  }
2076
2076
  const payload = await client.monitors.delete(key);
2077
- _chunk7H65SYK3js.printCommandEnvelope.call(void 0, payload, { json: options.json });
2077
+ _chunkUIDYVJYWjs.printCommandEnvelope.call(void 0, payload, { json: options.json });
2078
2078
  }
2079
2079
  async function handleMonitorsUpdate(key, patch, options) {
2080
2080
  const body = resolveMonitorJsonBody({
@@ -2083,25 +2083,25 @@ async function handleMonitorsUpdate(key, patch, options) {
2083
2083
  argLabel: "<patch>",
2084
2084
  command: `deepline monitors update ${key}`
2085
2085
  });
2086
- const payload = await new (0, _chunkALS26N2Jjs.DeeplineClient)().monitors.update(key, body);
2087
- _chunk7H65SYK3js.printCommandEnvelope.call(void 0, payload, { json: options.json });
2086
+ const payload = await new (0, _chunkFZ73XHSUjs.DeeplineClient)().monitors.update(key, body);
2087
+ _chunkUIDYVJYWjs.printCommandEnvelope.call(void 0, payload, { json: options.json });
2088
2088
  }
2089
2089
  async function handleMonitorsReactivate(key, options) {
2090
- const client = new (0, _chunkALS26N2Jjs.DeeplineClient)();
2090
+ const client = new (0, _chunkFZ73XHSUjs.DeeplineClient)();
2091
2091
  if (options.dryRun) {
2092
2092
  const payload2 = await client.monitors.reactivate(key, { dryRun: true });
2093
2093
  assertMonitorDryRunAcknowledged(payload2, {
2094
2094
  command: "deepline monitors reactivate",
2095
2095
  mutation: "reactivate"
2096
2096
  });
2097
- _chunk7H65SYK3js.printCommandEnvelope.call(void 0, payload2, {
2097
+ _chunkUIDYVJYWjs.printCommandEnvelope.call(void 0, payload2, {
2098
2098
  json: options.json,
2099
2099
  text: renderMonitorReactivatePlan(payload2, key)
2100
2100
  });
2101
2101
  return;
2102
2102
  }
2103
2103
  const payload = await client.monitors.reactivate(key);
2104
- _chunk7H65SYK3js.printCommandEnvelope.call(void 0, payload, { json: options.json });
2104
+ _chunkUIDYVJYWjs.printCommandEnvelope.call(void 0, payload, { json: options.json });
2105
2105
  }
2106
2106
  var MONITOR_VERB_POLL_INTERVAL_MS = 2e3;
2107
2107
  function monitorHealthLine(health) {
@@ -2223,7 +2223,7 @@ function monitorHealthText(health) {
2223
2223
  `;
2224
2224
  }
2225
2225
  async function handleMonitorsAudit(options) {
2226
- const client = new (0, _chunkALS26N2Jjs.DeeplineClient)();
2226
+ const client = new (0, _chunkFZ73XHSUjs.DeeplineClient)();
2227
2227
  const fleetId = _optionalChain([options, 'access', _73 => _73.fleet, 'optionalAccess', _74 => _74.trim, 'call', _75 => _75()]) || void 0;
2228
2228
  const scope = fleetId ? { fleetId } : {};
2229
2229
  let result = await client.monitors.audit(scope);
@@ -2267,7 +2267,7 @@ async function handleMonitorsAudit(options) {
2267
2267
  "",
2268
2268
  monitorHealthText(health)
2269
2269
  ].join("\n");
2270
- _chunk7H65SYK3js.printCommandEnvelope.call(void 0,
2270
+ _chunkUIDYVJYWjs.printCommandEnvelope.call(void 0,
2271
2271
  { ...result, audit: { ...result.audit, totals }, health },
2272
2272
  { json: options.json, text }
2273
2273
  );
@@ -2280,10 +2280,10 @@ async function handleMonitorsRepair(options) {
2280
2280
  }
2281
2281
  async function handleMonitorsHealth(options) {
2282
2282
  const fleetId = _optionalChain([options, 'access', _79 => _79.fleet, 'optionalAccess', _80 => _80.trim, 'call', _81 => _81()]) || void 0;
2283
- const health = await new (0, _chunkALS26N2Jjs.DeeplineClient)().monitors.health(
2283
+ const health = await new (0, _chunkFZ73XHSUjs.DeeplineClient)().monitors.health(
2284
2284
  fleetId ? { fleetId } : {}
2285
2285
  );
2286
- _chunk7H65SYK3js.printCommandEnvelope.call(void 0, health, {
2286
+ _chunkUIDYVJYWjs.printCommandEnvelope.call(void 0, health, {
2287
2287
  json: options.json,
2288
2288
  text: monitorHealthText(health)
2289
2289
  });
@@ -2357,14 +2357,14 @@ async function handleMonitorBatchDeploy(options) {
2357
2357
  "deploy",
2358
2358
  options.idempotencyKey
2359
2359
  );
2360
- const result = await new (0, _chunkALS26N2Jjs.DeeplineClient)().monitors.batch.submit({
2360
+ const result = await new (0, _chunkFZ73XHSUjs.DeeplineClient)().monitors.batch.submit({
2361
2361
  kind: "deploy",
2362
2362
  manifestNdjson,
2363
2363
  dryRun: options.dryRun === true,
2364
2364
  idempotencyKey
2365
2365
  });
2366
2366
  const operation = result.operation;
2367
- _chunk7H65SYK3js.printCommandEnvelope.call(void 0,
2367
+ _chunkUIDYVJYWjs.printCommandEnvelope.call(void 0,
2368
2368
  { ...result, idempotency_key: idempotencyKey },
2369
2369
  {
2370
2370
  json: options.json,
@@ -2392,7 +2392,7 @@ async function handleMonitorBatch(kind, options) {
2392
2392
  kind,
2393
2393
  options.idempotencyKey
2394
2394
  );
2395
- const result = await new (0, _chunkALS26N2Jjs.DeeplineClient)().monitors.batch.submit({
2395
+ const result = await new (0, _chunkFZ73XHSUjs.DeeplineClient)().monitors.batch.submit({
2396
2396
  kind,
2397
2397
  scope,
2398
2398
  dryRun: options.dryRun === true,
@@ -2405,14 +2405,14 @@ async function handleMonitorBatch(kind, options) {
2405
2405
  `state ${operation.state} \xB7 retry key ${idempotencyKey}`,
2406
2406
  `inspect: deepline monitors batch get ${operation.runId}`
2407
2407
  ].join("\n");
2408
- _chunk7H65SYK3js.printCommandEnvelope.call(void 0,
2408
+ _chunkUIDYVJYWjs.printCommandEnvelope.call(void 0,
2409
2409
  { ...result, idempotency_key: idempotencyKey },
2410
2410
  { json: options.json, text: `${text}
2411
2411
  ` }
2412
2412
  );
2413
2413
  }
2414
2414
  async function handleMonitorBatchGet(operationId, options) {
2415
- const result = await new (0, _chunkALS26N2Jjs.DeeplineClient)().monitors.batch.get(operationId, {
2415
+ const result = await new (0, _chunkFZ73XHSUjs.DeeplineClient)().monitors.batch.get(operationId, {
2416
2416
  ...options.cursor ? { cursor: options.cursor } : {}
2417
2417
  });
2418
2418
  const summary = _nullishCoalesce(result.operation.summary, () => ( {}));
@@ -2424,7 +2424,7 @@ async function handleMonitorBatchGet(operationId, options) {
2424
2424
  `results ${result.results.page.length}${result.results.isDone ? "" : " (more; pass --cursor)"}`
2425
2425
  ] : []
2426
2426
  ].join("\n");
2427
- _chunk7H65SYK3js.printCommandEnvelope.call(void 0, result, { json: options.json, text: `${text}
2427
+ _chunkUIDYVJYWjs.printCommandEnvelope.call(void 0, result, { json: options.json, text: `${text}
2428
2428
  ` });
2429
2429
  }
2430
2430
  function registerMonitorsCommands(program) {
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  DeeplineClient
3
- } from "./chunk-FZ6BGVW6.mjs";
3
+ } from "./chunk-RB3QFQMO.mjs";
4
4
  import "./chunk-L2VKAASU.mjs";
5
5
  import "./chunk-KCC3FKIW.mjs";
6
6
  import "./chunk-EIMG75BT.mjs";
7
7
  import "./chunk-UBKA33KY.mjs";
8
8
  import {
9
9
  printCommandEnvelope
10
- } from "./chunk-V5JHBTQJ.mjs";
10
+ } from "./chunk-OKCYUSQW.mjs";
11
11
  import {
12
12
  ACTIVE_ORG_ID_ENV,
13
13
  ACTIVE_ORG_NAME_ENV,
@@ -28,11 +28,11 @@ import {
28
28
  saveProjectDeeplineEnvValues,
29
29
  sdkCliStateDirPath,
30
30
  storedHostFeatures
31
- } from "./chunk-OHD4H4CU.mjs";
31
+ } from "./chunk-V35KYXHC.mjs";
32
32
  import "./chunk-MAMVGOSC.mjs";
33
33
  import "./chunk-DLIRSHV6.mjs";
34
34
  import "./chunk-E4IXDAZI.mjs";
35
- import "./chunk-42RBIHU5.mjs";
35
+ import "./chunk-WHEH2GEA.mjs";
36
36
  import "./chunk-WZYKRD7T.mjs";
37
37
  import "./chunk-KRD6H754.mjs";
38
38