deepline 0.3.394 → 0.3.396

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 (110) hide show
  1. package/dist/bundling-sources/sdk/src/client.ts +30 -162
  2. package/dist/bundling-sources/sdk/src/index.ts +1 -0
  3. package/dist/bundling-sources/sdk/src/plays/play-description.ts +167 -0
  4. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  5. package/dist/bundling-sources/sdk/src/types.ts +1 -0
  6. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +1 -1
  7. package/dist/cli/{auth-OSXDAVCF.mjs → auth-3LTD62VL.mjs} +4 -4
  8. package/dist/cli/auth-562JPKOM.js +39 -0
  9. package/dist/cli/{billing-ZNNKX3UR.mjs → billing-DP7ZAJBO.mjs} +5 -4
  10. package/dist/cli/{billing-EKLYOXUY.js → billing-PA5OXEM5.js} +76 -75
  11. package/dist/cli/{chunk-BP33SIZF.mjs → chunk-23GAA3YO.mjs} +1 -1
  12. package/dist/cli/{chunk-KI635JN4.js → chunk-2VOLOWYZ.js} +1087 -1056
  13. package/dist/cli/{chunk-XXUDVEXK.mjs → chunk-3T4MCB5R.mjs} +1026 -995
  14. package/dist/cli/{chunk-VB6KECLU.mjs → chunk-5WNJF2T3.mjs} +102 -36
  15. package/dist/cli/{chunk-KIUMEOM5.js → chunk-772W2SAU.js} +8 -8
  16. package/dist/cli/{chunk-2MDDA7A4.js → chunk-7Z66NHUC.js} +26 -26
  17. package/dist/cli/{chunk-M57J2SK4.mjs → chunk-AUYXWELC.mjs} +2 -2
  18. package/dist/cli/{chunk-354JCXA2.js → chunk-AVHLATII.js} +50 -50
  19. package/dist/cli/{chunk-MLPU5SMZ.js → chunk-DC6LTULT.js} +2 -2
  20. package/dist/cli/chunk-EIMG75BT.mjs +130 -0
  21. package/dist/cli/{chunk-6YAUMG27.js → chunk-GNN4MY5X.js} +1 -1
  22. package/dist/cli/{chunk-UXFSWG3Q.mjs → chunk-I4T4XAA2.mjs} +4 -4
  23. package/dist/cli/{chunk-MFB2VKBO.mjs → chunk-JCN4DHF7.mjs} +2 -2
  24. package/dist/cli/{chunk-VK6FYZLP.js → chunk-KAEZNPUM.js} +23 -8
  25. package/dist/cli/chunk-KXMNM4AQ.js +130 -0
  26. package/dist/cli/{chunk-XRQ2AQL7.mjs → chunk-LOGGNW4H.mjs} +2 -2
  27. package/dist/cli/{chunk-RDXFGPJU.js → chunk-LWERJUKN.js} +218 -218
  28. package/dist/cli/{chunk-QIQBYKLB.js → chunk-ME6XRFLY.js} +15 -15
  29. package/dist/cli/{chunk-JHIJIHFB.mjs → chunk-MR6XCBQJ.mjs} +23 -131
  30. package/dist/cli/{chunk-TJI2EN6K.mjs → chunk-NHB5YUCS.mjs} +1 -1
  31. package/dist/cli/{chunk-ZMVJSS6N.js → chunk-NSOTASOP.js} +101 -35
  32. package/dist/cli/{chunk-ZYBGA4AR.mjs → chunk-QHGPA362.mjs} +18 -3
  33. package/dist/cli/{chunk-4P27AXEA.js → chunk-RMTASUAK.js} +65 -65
  34. package/dist/cli/{chunk-KGNTKMRG.js → chunk-RTO5QZWT.js} +6 -6
  35. package/dist/cli/{chunk-X63FDZJZ.mjs → chunk-TLQ3FZOC.mjs} +3 -3
  36. package/dist/cli/{chunk-CS6RAIVY.js → chunk-V7UP2F4U.js} +4 -4
  37. package/dist/cli/{chunk-FJGW5GXU.mjs → chunk-VE3U3SQC.mjs} +1 -1
  38. package/dist/cli/{chunk-E23BQ5SC.js → chunk-WQJJNIMQ.js} +241 -349
  39. package/dist/cli/{chunk-NR3DFKNF.mjs → chunk-XKZXO7D3.mjs} +1 -1
  40. package/dist/cli/{csv-5AXRB35H.mjs → csv-RLRR74RQ.mjs} +3 -3
  41. package/dist/cli/{csv-LU7O75WE.js → csv-TF576S77.js} +12 -12
  42. package/dist/cli/{db-F7YTFKVM.js → db-FDBJUTFO.js} +30 -29
  43. package/dist/cli/{db-7XP5UWEW.mjs → db-XORGNBIC.mjs} +5 -4
  44. package/dist/cli/{describe-K4ES5LIL.mjs → describe-6O2ENKTP.mjs} +86 -67
  45. package/dist/cli/{describe-FRH32RDV.js → describe-EFWNECHI.js} +100 -81
  46. package/dist/cli/{executions-RZV5XPT2.js → executions-SFYAXPF4.js} +7 -6
  47. package/dist/cli/{executions-IEHEHJUO.mjs → executions-YPP7WR77.mjs} +5 -4
  48. package/dist/cli/{feedback-3P65QTX3.js → feedback-5UZFYMGB.js} +7 -7
  49. package/dist/cli/{feedback-FPUVZBAN.mjs → feedback-RBGA5ARU.mjs} +3 -3
  50. package/dist/cli/git-5LDY5ZID.js +23 -0
  51. package/dist/cli/{git-GLVVP7TY.mjs → git-IRSAJEK2.mjs} +4 -4
  52. package/dist/cli/index.js +93 -93
  53. package/dist/cli/index.mjs +42 -42
  54. package/dist/cli/{legacy-noops-XKSGZR7Q.js → legacy-noops-CVAOQY2F.js} +7 -7
  55. package/dist/cli/{legacy-noops-3MOI6NBM.mjs → legacy-noops-NA7N6ZOU.mjs} +4 -4
  56. package/dist/cli/{monitors-NZ2DYNST.js → monitors-4OMRXCXP.js} +86 -85
  57. package/dist/cli/{monitors-FTBGNEFG.mjs → monitors-ILZ2XHYG.mjs} +5 -4
  58. package/dist/cli/{org-V2J5RBCN.mjs → org-QDDXAE3J.mjs} +5 -4
  59. package/dist/cli/{org-MCKDQXIV.js → org-YGNJDD2X.js} +65 -64
  60. package/dist/cli/{chunk-RBJYWRCF.js → play-L535H26U.js} +270 -325
  61. package/dist/cli/{chunk-5BB2RGAX.mjs → play-VT6OHB2D.mjs} +77 -132
  62. package/dist/cli/{providers-2JEZ2264.js → providers-GPZ6PQAL.js} +8 -7
  63. package/dist/cli/{providers-I6RQJZFZ.mjs → providers-KG4W5MPK.mjs} +5 -4
  64. package/dist/cli/{quickstart-BIDQDMO4.mjs → quickstart-2JDGTXIG.mjs} +3 -3
  65. package/dist/cli/{quickstart-GJ2RPDU3.js → quickstart-UI27S5LO.js} +5 -5
  66. package/dist/cli/search-MGWROZ33.js +28 -0
  67. package/dist/cli/{search-ELRXFWG5.mjs → search-PW3RAUX7.mjs} +6 -5
  68. package/dist/cli/{secrets-SQXGZXIC.mjs → secrets-HNOMK5A2.mjs} +5 -4
  69. package/dist/cli/{secrets-53IT6VXD.js → secrets-WFAXOUZE.js} +14 -13
  70. package/dist/cli/{sessions-CAV5M77Y.js → sessions-366KROUA.js} +5 -5
  71. package/dist/cli/{sessions-2X5QF7SL.mjs → sessions-XLX3E5UO.mjs} +4 -4
  72. package/dist/cli/{settings-532WNAZO.js → settings-GADAG2UK.js} +75 -74
  73. package/dist/cli/{settings-7P67VGCJ.mjs → settings-YNZ4YKCH.mjs} +8 -7
  74. package/dist/cli/{setup-QGGBV2LE.mjs → setup-PSEHIUXO.mjs} +6 -6
  75. package/dist/cli/{setup-6L2VSUWJ.js → setup-R5YO7GT6.js} +41 -41
  76. package/dist/cli/skills-JF2LPEGM.js +28 -0
  77. package/dist/cli/{skills-3FE62WBG.mjs → skills-LTQBP6CZ.mjs} +4 -4
  78. package/dist/cli/tools-CP2PEFRN.js +34 -0
  79. package/dist/cli/{tools-DMR25DEF.mjs → tools-UAXDWU63.mjs} +11 -18
  80. package/dist/cli/update-HZHZOU6C.js +28 -0
  81. package/dist/cli/{update-6RZMHJZP.mjs → update-SMNIBIMS.mjs} +6 -6
  82. package/dist/cli/{workflow-TX4F2PIX.js → workflow-AOQVZHMD.js} +16 -15
  83. package/dist/cli/{workflow-L2DQRE6R.mjs → workflow-IKGMBGF6.mjs} +6 -5
  84. package/dist/{client-C3O1Ipf3.d.ts → client-Bgis7F6-.d.ts} +22 -12
  85. package/dist/{client-BktIPdIj.d.mts → client-DiGl8ska.d.mts} +22 -12
  86. package/dist/index.d.mts +2 -2
  87. package/dist/index.d.ts +2 -2
  88. package/dist/index.js +11 -10
  89. package/dist/index.mjs +9 -8
  90. package/dist/install-integrity.json +83 -78
  91. package/dist/plays/play-description.d.mts +6 -0
  92. package/dist/plays/play-description.d.ts +6 -0
  93. package/dist/plays/play-description.js +11 -0
  94. package/dist/plays/play-description.mjs +11 -0
  95. package/dist/plays/run-request.d.mts +1 -1
  96. package/dist/plays/run-request.d.ts +1 -1
  97. package/dist/release.d.mts +1 -1
  98. package/dist/release.d.ts +1 -1
  99. package/dist/release.js +2 -2
  100. package/dist/release.mjs +1 -1
  101. package/package.json +6 -1
  102. package/dist/cli/auth-IHKISLJQ.js +0 -39
  103. package/dist/cli/git-MFFAWVVX.js +0 -23
  104. package/dist/cli/play-AJFGME3B.mjs +0 -158
  105. package/dist/cli/play-WLSN2EO2.js +0 -158
  106. package/dist/cli/search-5VN4YD4I.js +0 -27
  107. package/dist/cli/skills-S6NPZAN7.js +0 -28
  108. package/dist/cli/tools-647RLXQS.js +0 -41
  109. package/dist/cli/update-WVTSC3EM.js +0 -28
  110. package/dist/cli/{chunk-KZZC33PY.mjs → chunk-H5KLUGY7.mjs} +214 -214
@@ -1,9 +1,10 @@
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 _chunkE23BQ5SCjs = require('./chunk-E23BQ5SC.js');
4
+ var _chunkWQJJNIMQjs = require('./chunk-WQJJNIMQ.js');
5
5
  require('./chunk-S6R3OX7B.js');
6
6
  require('./chunk-UHNDVD3P.js');
7
+ require('./chunk-KXMNM4AQ.js');
7
8
  require('./chunk-XDVT3GOM.js');
8
9
 
9
10
 
@@ -18,15 +19,15 @@ var _chunkIF75RD6Ujs = require('./chunk-IF75RD6U.js');
18
19
 
19
20
 
20
21
 
21
- var _chunkKGNTKMRGjs = require('./chunk-KGNTKMRG.js');
22
+ var _chunkRTO5QZWTjs = require('./chunk-RTO5QZWT.js');
22
23
 
23
24
 
24
- var _chunkCS6RAIVYjs = require('./chunk-CS6RAIVY.js');
25
+ var _chunkV7UP2F4Ujs = require('./chunk-V7UP2F4U.js');
25
26
  require('./chunk-XNYIZMNQ.js');
26
27
 
27
28
 
28
29
  var _chunk7P5AA3SNjs = require('./chunk-7P5AA3SN.js');
29
- require('./chunk-6YAUMG27.js');
30
+ require('./chunk-GNN4MY5X.js');
30
31
  require('./chunk-OG64RBAC.js');
31
32
  require('./chunk-COGTRVWW.js');
32
33
 
@@ -57,7 +58,7 @@ var MonitorDryRunUnsupportedError = (_class2 = class extends Error {
57
58
  function monitorsErrorExitCode(error) {
58
59
  if (error instanceof MonitorsUsageError) return 2;
59
60
  if (error instanceof MonitorFleetStateError) return 6;
60
- if (error instanceof _chunkCS6RAIVYjs.AuthError) return 3;
61
+ if (error instanceof _chunkV7UP2F4Ujs.AuthError) return 3;
61
62
  if (error instanceof _chunk7P5AA3SNjs.DeeplineError) {
62
63
  const status = error.statusCode;
63
64
  if (status === 401 || status === 403) return 3;
@@ -104,10 +105,10 @@ function reportMonitorsFailure(error, options) {
104
105
  const exitCode = monitorsErrorExitCode(error);
105
106
  const next = monitorsFailureNextCommand(error, exitCode, options);
106
107
  const retrySafe = exitCode === 5 && _optionalChain([options, 'optionalAccess', _9 => _9.retryCommand]) !== void 0;
107
- const wantsJson = _chunkKGNTKMRGjs.shouldEmitJson.call(void 0, process.argv.includes("--json"));
108
+ const wantsJson = _chunkRTO5QZWTjs.shouldEmitJson.call(void 0, process.argv.includes("--json"));
108
109
  if (wantsJson) {
109
- const payload = _chunkKGNTKMRGjs.errorToJsonPayload.call(void 0, error);
110
- _chunkKGNTKMRGjs.printJson.call(void 0, {
110
+ const payload = _chunkRTO5QZWTjs.errorToJsonPayload.call(void 0, error);
111
+ _chunkRTO5QZWTjs.printJson.call(void 0, {
111
112
  ok: false,
112
113
  exitCode,
113
114
  ...next ? { next } : {},
@@ -521,14 +522,14 @@ Preview the plan first with:
521
522
  );
522
523
  }
523
524
  async function handleMonitorsStatus(options) {
524
- const payload = await new (0, _chunkE23BQ5SCjs.DeeplineClient)().monitors.status();
525
+ const payload = await new (0, _chunkWQJJNIMQjs.DeeplineClient)().monitors.status();
525
526
  const hasAccess = payload.has_access === true;
526
527
  const reason = typeof payload.reason === "string" && payload.reason.trim() ? payload.reason.trim() : void 0;
527
528
  const text = hasAccess ? `\u2713 You have access to Deepline Monitors${reason ? `
528
529
  ${reason}` : ""}
529
530
  ` : `\u2717 No access to Deepline Monitors${reason ? ` \u2014 ${reason}` : ""}
530
531
  `;
531
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0,
532
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0,
532
533
  { has_access: hasAccess, ...reason ? { reason } : {} },
533
534
  { json: options.json, text }
534
535
  );
@@ -594,14 +595,14 @@ async function handleMonitorsAvailable(toolId, options) {
594
595
  }
595
596
  }
596
597
  const tool = _nullishCoalesce(toolId, () => ( options.tool));
597
- const payload = await new (0, _chunkE23BQ5SCjs.DeeplineClient)().monitors.available(tool, {
598
+ const payload = await new (0, _chunkWQJJNIMQjs.DeeplineClient)().monitors.available(tool, {
598
599
  ...options.provider ? { provider: options.provider } : {},
599
600
  ...options.search ? { search: options.search } : {},
600
601
  ...options.limit ? { limit: options.limit } : {},
601
602
  ...options.full ? { full: true } : {},
602
603
  ...options.compact ? { compact: true } : {}
603
604
  });
604
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0, payload, {
605
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0, payload, {
605
606
  json: options.json,
606
607
  // Human list view shows id + name + deployed_count ("deployed: N") so
607
608
  // can-deploy vs already-deployed is visible in one view. Describing a
@@ -704,14 +705,14 @@ async function handleMonitorsList(options) {
704
705
  "`--compact` is deprecated and now does nothing; returning the complete monitor records.\n"
705
706
  );
706
707
  }
707
- const payload = await new (0, _chunkE23BQ5SCjs.DeeplineClient)().monitors.list({
708
+ const payload = await new (0, _chunkWQJJNIMQjs.DeeplineClient)().monitors.list({
708
709
  ...state ? { state } : {},
709
710
  ...options.status ? { status: options.status } : {},
710
711
  ...options.limit ? { limit: options.limit } : {},
711
712
  ...options.cursor ? { cursor: options.cursor } : {},
712
713
  ...options.includeConsumers ? { includeConsumers: true } : {}
713
714
  });
714
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0, payload, {
715
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0, payload, {
715
716
  json: options.json,
716
717
  text: renderDeployedListText(
717
718
  payload,
@@ -727,10 +728,10 @@ async function handleMonitorsCheck(definition, options) {
727
728
  argLabel: "<definition>",
728
729
  command: "deepline monitors check"
729
730
  });
730
- const payload = await new (0, _chunkE23BQ5SCjs.DeeplineClient)().monitors.check(
731
+ const payload = await new (0, _chunkWQJJNIMQjs.DeeplineClient)().monitors.check(
731
732
  body
732
733
  );
733
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0, payload, { json: options.json });
734
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0, payload, { json: options.json });
734
735
  }
735
736
  async function handleMonitorsDeploy(definition, options) {
736
737
  const body = resolveMonitorJsonBody({
@@ -739,7 +740,7 @@ async function handleMonitorsDeploy(definition, options) {
739
740
  argLabel: "<definition>",
740
741
  command: "deepline monitors deploy"
741
742
  });
742
- const client = new (0, _chunkE23BQ5SCjs.DeeplineClient)();
743
+ const client = new (0, _chunkWQJJNIMQjs.DeeplineClient)();
743
744
  const definitionArg = body;
744
745
  if (options.dryRun) {
745
746
  const payload2 = await client.monitors.deploy(definitionArg, {
@@ -747,7 +748,7 @@ async function handleMonitorsDeploy(definition, options) {
747
748
  });
748
749
  const valid = payload2.valid !== false;
749
750
  const hasIdentityConflict = Boolean(_optionalChain([asRecord, 'call', _21 => _21(payload2), 'optionalAccess', _22 => _22.identity_conflict]));
750
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0,
751
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0,
751
752
  { dry_run: true, ...payload2 },
752
753
  { json: options.json, text: renderMonitorDeployPlan(payload2) }
753
754
  );
@@ -757,7 +758,7 @@ async function handleMonitorsDeploy(definition, options) {
757
758
  return;
758
759
  }
759
760
  const payload = await client.monitors.deploy(definitionArg);
760
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0, payload, {
761
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0, payload, {
761
762
  json: options.json,
762
763
  text: renderMonitorDeployCompletion(payload)
763
764
  });
@@ -769,29 +770,29 @@ async function handleMonitorsSync(definition, options) {
769
770
  argLabel: "<definition>",
770
771
  command: "deepline monitors sync"
771
772
  });
772
- const payload = await new (0, _chunkE23BQ5SCjs.DeeplineClient)().monitors.sync(body, {
773
+ const payload = await new (0, _chunkWQJJNIMQjs.DeeplineClient)().monitors.sync(body, {
773
774
  ...options.dryRun ? { dryRun: true } : {},
774
775
  idempotencyKey: _nullishCoalesce(options.idempotencyKey, () => ( monitorJobIdempotencyKey("scalar-sync", void 0)))
775
776
  });
776
777
  if (options.dryRun) {
777
778
  const plan = payload;
778
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0,
779
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0,
779
780
  { dry_run: true, ...plan },
780
781
  { json: options.json, text: renderMonitorDeployPlan(plan) }
781
782
  );
782
783
  return;
783
784
  }
784
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0, payload, {
785
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0, payload, {
785
786
  json: options.json,
786
787
  text: renderMonitorJob(payload)
787
788
  });
788
789
  }
789
790
  async function handleScalarMonitorLifecycle(action, key, options) {
790
- const payload = await new (0, _chunkE23BQ5SCjs.DeeplineClient)().monitors[action](key, {
791
+ const payload = await new (0, _chunkWQJJNIMQjs.DeeplineClient)().monitors[action](key, {
791
792
  ...options.dryRun ? { dryRun: true } : {},
792
793
  idempotencyKey: _nullishCoalesce(options.idempotencyKey, () => ( monitorJobIdempotencyKey(`${action}-${key}`, void 0)))
793
794
  });
794
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0, payload, {
795
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0, payload, {
795
796
  json: options.json,
796
797
  text: options.dryRun ? void 0 : renderMonitorJob(payload)
797
798
  });
@@ -880,11 +881,11 @@ async function handleMonitorJobBatchDeploy(options, idempotencyKey) {
880
881
  lint.issues.filter((issue) => issue.severity === "error").map((issue) => `${issue.path || "batch"}: ${issue.message}`).join("; ")
881
882
  );
882
883
  }
883
- const payload = await new (0, _chunkE23BQ5SCjs.DeeplineClient)().monitors.batch.deploy(
884
+ const payload = await new (0, _chunkWQJJNIMQjs.DeeplineClient)().monitors.batch.deploy(
884
885
  lint.normalized.monitors,
885
886
  { idempotencyKey }
886
887
  );
887
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0,
888
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0,
888
889
  {
889
890
  ...payload,
890
891
  idempotency_key: idempotencyKey,
@@ -917,7 +918,7 @@ async function handleNamedMonitorBatchSync(batchId, options) {
917
918
  );
918
919
  }
919
920
  if (options.dryRun) {
920
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0,
921
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0,
921
922
  {
922
923
  ok: true,
923
924
  dry_run: true,
@@ -934,7 +935,7 @@ async function handleNamedMonitorBatchSync(batchId, options) {
934
935
  "sync",
935
936
  options.idempotencyKey
936
937
  );
937
- const payload = await new (0, _chunkE23BQ5SCjs.DeeplineClient)().monitors.batches.sync(
938
+ const payload = await new (0, _chunkWQJJNIMQjs.DeeplineClient)().monitors.batches.sync(
938
939
  batchId,
939
940
  lint.normalized.monitors,
940
941
  {
@@ -942,14 +943,14 @@ async function handleNamedMonitorBatchSync(batchId, options) {
942
943
  ...parsedGeneration === void 0 ? {} : { expectedGeneration: parsedGeneration }
943
944
  }
944
945
  );
945
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0,
946
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0,
946
947
  { ...payload, idempotency_key: idempotencyKey },
947
948
  { json: options.json, text: renderMonitorJob(payload) }
948
949
  );
949
950
  }
950
951
  async function handleNamedMonitorBatchLifecycle(batchId, intent, options) {
951
952
  if (options.dryRun) {
952
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0,
953
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0,
953
954
  {
954
955
  ok: true,
955
956
  dry_run: true,
@@ -965,17 +966,17 @@ async function handleNamedMonitorBatchLifecycle(batchId, intent, options) {
965
966
  intent,
966
967
  options.idempotencyKey
967
968
  );
968
- const payload = await new (0, _chunkE23BQ5SCjs.DeeplineClient)().monitors.batches[intent](batchId, {
969
+ const payload = await new (0, _chunkWQJJNIMQjs.DeeplineClient)().monitors.batches[intent](batchId, {
969
970
  idempotencyKey
970
971
  });
971
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0,
972
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0,
972
973
  { ...payload, idempotency_key: idempotencyKey },
973
974
  { json: options.json, text: renderMonitorJob(payload) }
974
975
  );
975
976
  }
976
977
  async function handleNamedMonitorBatchGet(batchId, options) {
977
- const payload = await new (0, _chunkE23BQ5SCjs.DeeplineClient)().monitors.batches.get(batchId);
978
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0, payload, {
978
+ const payload = await new (0, _chunkWQJJNIMQjs.DeeplineClient)().monitors.batches.get(batchId);
979
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0, payload, {
979
980
  json: options.json,
980
981
  text: renderMonitorJob(payload)
981
982
  });
@@ -989,7 +990,7 @@ async function handleMonitorBatchLint(options) {
989
990
  const result = _chunkIF75RD6Ujs.lintMonitorBatchInput.call(void 0,
990
991
  readMonitorDefinitionsJsonFile(options.file)
991
992
  );
992
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0,
993
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0,
993
994
  {
994
995
  ok: !result.issues.some((issue) => issue.severity === "error"),
995
996
  ...result.normalized ? { normalized: result.normalized } : {},
@@ -1009,7 +1010,7 @@ async function handleMonitorFleetLint(options) {
1009
1010
  const result = _chunkC374C22Yjs.lintMonitorFleetInput.call(void 0,
1010
1011
  readMonitorDefinitionsJsonFile(options.file)
1011
1012
  );
1012
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0,
1013
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0,
1013
1014
  {
1014
1015
  ok: !result.issues.some((issue) => issue.severity === "error"),
1015
1016
  ...result.normalized ? { normalized: result.normalized } : {},
@@ -1021,32 +1022,32 @@ async function handleMonitorFleetLint(options) {
1021
1022
  process.exitCode = 2;
1022
1023
  }
1023
1024
  async function handleMonitorJobGet(jobId, options) {
1024
- const payload = await new (0, _chunkE23BQ5SCjs.DeeplineClient)().monitors.jobs.get(jobId);
1025
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0, payload, {
1025
+ const payload = await new (0, _chunkWQJJNIMQjs.DeeplineClient)().monitors.jobs.get(jobId);
1026
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0, payload, {
1026
1027
  json: options.json,
1027
1028
  text: renderMonitorJob(payload)
1028
1029
  });
1029
1030
  }
1030
1031
  async function handleMonitorJobWait(jobId, options) {
1031
- const payload = await new (0, _chunkE23BQ5SCjs.DeeplineClient)().monitors.jobs.wait(jobId, {
1032
+ const payload = await new (0, _chunkWQJJNIMQjs.DeeplineClient)().monitors.jobs.wait(jobId, {
1032
1033
  timeoutMs: fleetTimeoutMs(options.timeout),
1033
1034
  pollIntervalMs: FLEET_POLL_INTERVAL_MS
1034
1035
  });
1035
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0, payload, {
1036
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0, payload, {
1036
1037
  json: options.json,
1037
1038
  text: renderMonitorJob(payload)
1038
1039
  });
1039
1040
  }
1040
1041
  async function handleMonitorJobLogs(jobId, options) {
1041
1042
  const limit = options.limit ? fleetIntegerOption(options.limit, "--limit") : void 0;
1042
- const payload = await new (0, _chunkE23BQ5SCjs.DeeplineClient)().monitors.jobs.logs(jobId, {
1043
+ const payload = await new (0, _chunkWQJJNIMQjs.DeeplineClient)().monitors.jobs.logs(jobId, {
1043
1044
  ...limit === void 0 ? {} : { limit }
1044
1045
  });
1045
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0, payload, { json: options.json });
1046
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0, payload, { json: options.json });
1046
1047
  }
1047
1048
  async function handleMonitorJobCancel(jobId, options) {
1048
- const payload = await new (0, _chunkE23BQ5SCjs.DeeplineClient)().monitors.jobs.cancel(jobId);
1049
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0, payload, {
1049
+ const payload = await new (0, _chunkWQJJNIMQjs.DeeplineClient)().monitors.jobs.cancel(jobId);
1050
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0, payload, {
1050
1051
  json: options.json,
1051
1052
  text: renderMonitorJob(payload)
1052
1053
  });
@@ -1344,7 +1345,7 @@ function renderFleetDeactivatePlan(payload, fleetId) {
1344
1345
  `;
1345
1346
  }
1346
1347
  function reportFleetState(payload, error, options) {
1347
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0,
1348
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0,
1348
1349
  {
1349
1350
  ...payload,
1350
1351
  code: error.code,
@@ -1459,7 +1460,7 @@ async function handleMonitorFleetsInit(fleetId, options) {
1459
1460
  _fs.writeFileSync.call(void 0, file, `${JSON.stringify(definition, null, 2)}
1460
1461
  `, "utf8");
1461
1462
  const next = `deepline monitors fleets deploy --file ${fleetShellArg(file)} --dry-run`;
1462
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0,
1463
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0,
1463
1464
  { schemaVersion: 2, file, definition, next },
1464
1465
  {
1465
1466
  json: options.json,
@@ -1521,7 +1522,7 @@ async function handleMonitorFleetsSync(target, options, idempotencyKey) {
1521
1522
  'The Fleet definition has no id. Add a top-level "id" and re-run.'
1522
1523
  );
1523
1524
  }
1524
- const client = new (0, _chunkE23BQ5SCjs.DeeplineClient)();
1525
+ const client = new (0, _chunkWQJJNIMQjs.DeeplineClient)();
1525
1526
  const payload = await client.monitors.fleets.sync(
1526
1527
  _nullishCoalesce(definition, () => ( fleetId)),
1527
1528
  {
@@ -1543,7 +1544,7 @@ async function handleMonitorFleetsSync(target, options, idempotencyKey) {
1543
1544
  }
1544
1545
  const accepted = { ...payload, idempotency_key: idempotencyKey };
1545
1546
  if (!options.wait || options.dryRun) {
1546
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0, accepted, {
1547
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0, accepted, {
1547
1548
  json: options.json,
1548
1549
  text: renderFleetSync(payload, {
1549
1550
  fleetId,
@@ -1569,7 +1570,7 @@ async function handleMonitorFleetsSync(target, options, idempotencyKey) {
1569
1570
  const status = fleetStatus(final);
1570
1571
  const summary = renderFleetGet(final);
1571
1572
  if (status === "converged") {
1572
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0, envelope, { json: options.json, text: summary });
1573
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0, envelope, { json: options.json, text: summary });
1573
1574
  return;
1574
1575
  }
1575
1576
  const driftCommand = `deepline monitors fleets get ${fleetShellArg(fleetId)} --drift`;
@@ -1602,14 +1603,14 @@ async function handleMonitorFleetsGet(fleetId, options) {
1602
1603
  );
1603
1604
  }
1604
1605
  const limit = options.limit === void 0 ? void 0 : fleetIntegerOption(options.limit, "--limit");
1605
- const client = new (0, _chunkE23BQ5SCjs.DeeplineClient)();
1606
+ const client = new (0, _chunkWQJJNIMQjs.DeeplineClient)();
1606
1607
  const payload = await client.monitors.fleets.get(fleetId, {
1607
1608
  ...options.drift ? { drift: true } : {},
1608
1609
  ...limit !== void 0 ? { limit } : {}
1609
1610
  });
1610
1611
  const text = fleetId ? renderFleetGet(payload) : renderFleetList(payload);
1611
1612
  if (!options.check) {
1612
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0, payload, { json: options.json, text });
1613
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0, payload, { json: options.json, text });
1613
1614
  return;
1614
1615
  }
1615
1616
  const statuses = fleetId ? [fleetStatus(payload)] : (Array.isArray(payload.fleets) ? payload.fleets : []).map(
@@ -1617,7 +1618,7 @@ async function handleMonitorFleetsGet(fleetId, options) {
1617
1618
  );
1618
1619
  const unconverged = statuses.filter((status) => status !== "converged");
1619
1620
  if (unconverged.length === 0) {
1620
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0, payload, { json: options.json, text });
1621
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0, payload, { json: options.json, text });
1621
1622
  return;
1622
1623
  }
1623
1624
  const target = _nullishCoalesce(fleetId, () => ( "<fleet-id>"));
@@ -1656,13 +1657,13 @@ async function handleMonitorFleetsReactivate(fleetId, options, idempotencyKey) {
1656
1657
  ${fleetReactivateCommandLine(fleetId, options)}`
1657
1658
  );
1658
1659
  }
1659
- const client = new (0, _chunkE23BQ5SCjs.DeeplineClient)();
1660
+ const client = new (0, _chunkWQJJNIMQjs.DeeplineClient)();
1660
1661
  const payload = await client.monitors.fleets.reactivate(fleetId, {
1661
1662
  idempotencyKey
1662
1663
  });
1663
1664
  const accepted = { ...payload, idempotency_key: idempotencyKey };
1664
1665
  if (!options.wait) {
1665
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0, accepted, {
1666
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0, accepted, {
1666
1667
  json: options.json,
1667
1668
  text: `Fleet ${fleetId} \u2014 ${readMonitorState(payload) ? `state ${readMonitorState(payload)}` : "reactivation accepted"}
1668
1669
  idempotency key ${idempotencyKey}
@@ -1685,7 +1686,7 @@ async function handleMonitorFleetsReactivate(fleetId, options, idempotencyKey) {
1685
1686
  const envelope = { ...accepted, ...final };
1686
1687
  const text = renderFleetGet(final);
1687
1688
  if (fleetStatus(final) === "converged") {
1688
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0, envelope, { json: options.json, text });
1689
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0, envelope, { json: options.json, text });
1689
1690
  return;
1690
1691
  }
1691
1692
  reportFleetState(
@@ -1727,7 +1728,7 @@ async function confirmFleetDeactivate(fleetId, plan) {
1727
1728
  }
1728
1729
  }
1729
1730
  async function handleMonitorFleetsDeactivate(fleetId, options, idempotencyKey) {
1730
- const client = new (0, _chunkE23BQ5SCjs.DeeplineClient)();
1731
+ const client = new (0, _chunkWQJJNIMQjs.DeeplineClient)();
1731
1732
  if (options.dryRun) {
1732
1733
  const plan = await client.monitors.fleets.deactivate(fleetId, {
1733
1734
  dryRun: true,
@@ -1737,7 +1738,7 @@ async function handleMonitorFleetsDeactivate(fleetId, options, idempotencyKey) {
1737
1738
  command: "deepline monitors fleets deactivate",
1738
1739
  mutation: "fleet deactivate"
1739
1740
  });
1740
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0, plan, {
1741
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0, plan, {
1741
1742
  json: options.json,
1742
1743
  text: renderFleetDeactivatePlan(plan, fleetId)
1743
1744
  });
@@ -1775,7 +1776,7 @@ Preview the blast radius first:
1775
1776
  });
1776
1777
  const accepted = { ...payload, idempotency_key: idempotencyKey };
1777
1778
  if (payload.already === true) {
1778
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0, accepted, {
1779
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0, accepted, {
1779
1780
  json: options.json,
1780
1781
  text: `Fleet ${fleetId} is already deactivated.
1781
1782
  `
@@ -1787,7 +1788,7 @@ Preview the blast radius first:
1787
1788
  ` + (fleetServerNext(payload) ? `Next: ${fleetServerNext(payload)}
1788
1789
  ` : "");
1789
1790
  if (!options.wait) {
1790
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0, accepted, {
1791
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0, accepted, {
1791
1792
  json: options.json,
1792
1793
  text: acceptedText
1793
1794
  });
@@ -1809,7 +1810,7 @@ Preview the blast radius first:
1809
1810
  const envelope = { ...accepted, ...final };
1810
1811
  const summary = renderFleetGet(final);
1811
1812
  if (fleetStatus(final) === "deactivated") {
1812
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0, envelope, { json: options.json, text: summary });
1813
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0, envelope, { json: options.json, text: summary });
1813
1814
  return;
1814
1815
  }
1815
1816
  reportFleetState(
@@ -1840,7 +1841,7 @@ function handleMonitorFleetsOverview(options) {
1840
1841
  "Agent notes:",
1841
1842
  ...MONITOR_FLEET_AGENT_NOTES.map((note) => ` ${note}`)
1842
1843
  ];
1843
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0,
1844
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0,
1844
1845
  {
1845
1846
  schemaVersion: 1,
1846
1847
  lifecycle: MONITOR_FLEET_LIFECYCLE,
@@ -2001,7 +2002,7 @@ function renderMonitorGet(payload) {
2001
2002
  `;
2002
2003
  }
2003
2004
  async function handleMonitorsGet(key, options) {
2004
- const client = new (0, _chunkE23BQ5SCjs.DeeplineClient)();
2005
+ const client = new (0, _chunkWQJJNIMQjs.DeeplineClient)();
2005
2006
  const payload = await client.monitors.get(key);
2006
2007
  const boundPlays = Array.isArray(payload.bound_plays) ? payload.bound_plays : null;
2007
2008
  const dependents = boundPlays ? {
@@ -2009,24 +2010,24 @@ async function handleMonitorsGet(key, options) {
2009
2010
  truncated: payload.consumer_health_truncated === true
2010
2011
  } : await client.monitors.dependents(key);
2011
2012
  const detail = { ...payload, dependents };
2012
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0, detail, {
2013
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0, detail, {
2013
2014
  json: options.json,
2014
2015
  text: renderMonitorGet(detail)
2015
2016
  });
2016
2017
  }
2017
2018
  async function handleMonitorsTest(key, payload, options) {
2018
2019
  const explicitPayload = parseJsonObjectArg(payload, "<payload>");
2019
- const result = await new (0, _chunkE23BQ5SCjs.DeeplineClient)().monitors.test(key, explicitPayload);
2020
+ const result = await new (0, _chunkWQJJNIMQjs.DeeplineClient)().monitors.test(key, explicitPayload);
2020
2021
  const text = `Monitor diagnostic for ${key}: ${result.accepted === true ? "accepted" : "rejected"}
2021
2022
  mode: validation_only (no rows written, credits spent, or Plays dispatched)
2022
2023
  persisted rows: ${_nullishCoalesce(asFiniteNumber(result.persisted_rows), () => ( 0))}
2023
2024
  dispatched bound Plays: ${_nullishCoalesce(asFiniteNumber(result.dispatched_bound_plays), () => ( 0))}
2024
2025
  `;
2025
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0, result, { json: options.json, text });
2026
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0, result, { json: options.json, text });
2026
2027
  }
2027
2028
  async function handleMonitorsValidate(key, options) {
2028
- const result = await new (0, _chunkE23BQ5SCjs.DeeplineClient)().monitors.validate(key);
2029
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0, result, { json: options.json });
2029
+ const result = await new (0, _chunkWQJJNIMQjs.DeeplineClient)().monitors.validate(key);
2030
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0, result, { json: options.json });
2030
2031
  if (result.valid === false) process.exitCode = 7;
2031
2032
  }
2032
2033
  async function confirmMonitorDelete(key) {
@@ -2044,14 +2045,14 @@ async function confirmMonitorDelete(key) {
2044
2045
  }
2045
2046
  }
2046
2047
  async function handleMonitorsDelete(key, options) {
2047
- const client = new (0, _chunkE23BQ5SCjs.DeeplineClient)();
2048
+ const client = new (0, _chunkWQJJNIMQjs.DeeplineClient)();
2048
2049
  if (options.dryRun) {
2049
2050
  const payload2 = await client.monitors.delete(key, { dryRun: true });
2050
2051
  assertMonitorDryRunAcknowledged(payload2, {
2051
2052
  command: "deepline monitors delete",
2052
2053
  mutation: "delete"
2053
2054
  });
2054
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0, payload2, {
2055
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0, payload2, {
2055
2056
  json: options.json,
2056
2057
  text: renderMonitorDeletePlan(payload2, key)
2057
2058
  });
@@ -2071,7 +2072,7 @@ async function handleMonitorsDelete(key, options) {
2071
2072
  }
2072
2073
  }
2073
2074
  const payload = await client.monitors.delete(key);
2074
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0, payload, { json: options.json });
2075
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0, payload, { json: options.json });
2075
2076
  }
2076
2077
  async function handleMonitorsUpdate(key, patch, options) {
2077
2078
  const body = resolveMonitorJsonBody({
@@ -2080,25 +2081,25 @@ async function handleMonitorsUpdate(key, patch, options) {
2080
2081
  argLabel: "<patch>",
2081
2082
  command: `deepline monitors update ${key}`
2082
2083
  });
2083
- const payload = await new (0, _chunkE23BQ5SCjs.DeeplineClient)().monitors.update(key, body);
2084
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0, payload, { json: options.json });
2084
+ const payload = await new (0, _chunkWQJJNIMQjs.DeeplineClient)().monitors.update(key, body);
2085
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0, payload, { json: options.json });
2085
2086
  }
2086
2087
  async function handleMonitorsReactivate(key, options) {
2087
- const client = new (0, _chunkE23BQ5SCjs.DeeplineClient)();
2088
+ const client = new (0, _chunkWQJJNIMQjs.DeeplineClient)();
2088
2089
  if (options.dryRun) {
2089
2090
  const payload2 = await client.monitors.reactivate(key, { dryRun: true });
2090
2091
  assertMonitorDryRunAcknowledged(payload2, {
2091
2092
  command: "deepline monitors reactivate",
2092
2093
  mutation: "reactivate"
2093
2094
  });
2094
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0, payload2, {
2095
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0, payload2, {
2095
2096
  json: options.json,
2096
2097
  text: renderMonitorReactivatePlan(payload2, key)
2097
2098
  });
2098
2099
  return;
2099
2100
  }
2100
2101
  const payload = await client.monitors.reactivate(key);
2101
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0, payload, { json: options.json });
2102
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0, payload, { json: options.json });
2102
2103
  }
2103
2104
  var MONITOR_VERB_POLL_INTERVAL_MS = 2e3;
2104
2105
  function monitorHealthLine(health) {
@@ -2220,7 +2221,7 @@ function monitorHealthText(health) {
2220
2221
  `;
2221
2222
  }
2222
2223
  async function handleMonitorsAudit(options) {
2223
- const client = new (0, _chunkE23BQ5SCjs.DeeplineClient)();
2224
+ const client = new (0, _chunkWQJJNIMQjs.DeeplineClient)();
2224
2225
  const fleetId = _optionalChain([options, 'access', _73 => _73.fleet, 'optionalAccess', _74 => _74.trim, 'call', _75 => _75()]) || void 0;
2225
2226
  const scope = fleetId ? { fleetId } : {};
2226
2227
  let result = await client.monitors.audit(scope);
@@ -2264,7 +2265,7 @@ async function handleMonitorsAudit(options) {
2264
2265
  "",
2265
2266
  monitorHealthText(health)
2266
2267
  ].join("\n");
2267
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0,
2268
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0,
2268
2269
  { ...result, audit: { ...result.audit, totals }, health },
2269
2270
  { json: options.json, text }
2270
2271
  );
@@ -2277,10 +2278,10 @@ async function handleMonitorsRepair(options) {
2277
2278
  }
2278
2279
  async function handleMonitorsHealth(options) {
2279
2280
  const fleetId = _optionalChain([options, 'access', _79 => _79.fleet, 'optionalAccess', _80 => _80.trim, 'call', _81 => _81()]) || void 0;
2280
- const health = await new (0, _chunkE23BQ5SCjs.DeeplineClient)().monitors.health(
2281
+ const health = await new (0, _chunkWQJJNIMQjs.DeeplineClient)().monitors.health(
2281
2282
  fleetId ? { fleetId } : {}
2282
2283
  );
2283
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0, health, {
2284
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0, health, {
2284
2285
  json: options.json,
2285
2286
  text: monitorHealthText(health)
2286
2287
  });
@@ -2354,14 +2355,14 @@ async function handleMonitorBatchDeploy(options) {
2354
2355
  "deploy",
2355
2356
  options.idempotencyKey
2356
2357
  );
2357
- const result = await new (0, _chunkE23BQ5SCjs.DeeplineClient)().monitors.batch.submit({
2358
+ const result = await new (0, _chunkWQJJNIMQjs.DeeplineClient)().monitors.batch.submit({
2358
2359
  kind: "deploy",
2359
2360
  manifestNdjson,
2360
2361
  dryRun: options.dryRun === true,
2361
2362
  idempotencyKey
2362
2363
  });
2363
2364
  const operation = result.operation;
2364
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0,
2365
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0,
2365
2366
  { ...result, idempotency_key: idempotencyKey },
2366
2367
  {
2367
2368
  json: options.json,
@@ -2389,7 +2390,7 @@ async function handleMonitorBatch(kind, options) {
2389
2390
  kind,
2390
2391
  options.idempotencyKey
2391
2392
  );
2392
- const result = await new (0, _chunkE23BQ5SCjs.DeeplineClient)().monitors.batch.submit({
2393
+ const result = await new (0, _chunkWQJJNIMQjs.DeeplineClient)().monitors.batch.submit({
2393
2394
  kind,
2394
2395
  scope,
2395
2396
  dryRun: options.dryRun === true,
@@ -2402,14 +2403,14 @@ async function handleMonitorBatch(kind, options) {
2402
2403
  `state ${operation.state} \xB7 retry key ${idempotencyKey}`,
2403
2404
  `inspect: deepline monitors batch get ${operation.runId}`
2404
2405
  ].join("\n");
2405
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0,
2406
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0,
2406
2407
  { ...result, idempotency_key: idempotencyKey },
2407
2408
  { json: options.json, text: `${text}
2408
2409
  ` }
2409
2410
  );
2410
2411
  }
2411
2412
  async function handleMonitorBatchGet(operationId, options) {
2412
- const result = await new (0, _chunkE23BQ5SCjs.DeeplineClient)().monitors.batch.get(operationId, {
2413
+ const result = await new (0, _chunkWQJJNIMQjs.DeeplineClient)().monitors.batch.get(operationId, {
2413
2414
  ...options.cursor ? { cursor: options.cursor } : {}
2414
2415
  });
2415
2416
  const summary = _nullishCoalesce(result.operation.summary, () => ( {}));
@@ -2421,7 +2422,7 @@ async function handleMonitorBatchGet(operationId, options) {
2421
2422
  `results ${result.results.page.length}${result.results.isDone ? "" : " (more; pass --cursor)"}`
2422
2423
  ] : []
2423
2424
  ].join("\n");
2424
- _chunkKGNTKMRGjs.printCommandEnvelope.call(void 0, result, { json: options.json, text: `${text}
2425
+ _chunkRTO5QZWTjs.printCommandEnvelope.call(void 0, result, { json: options.json, text: `${text}
2425
2426
  ` });
2426
2427
  }
2427
2428
  function registerMonitorsCommands(program) {
@@ -1,9 +1,10 @@
1
1
  import "./chunk-EXMLR72R.mjs";
2
2
  import {
3
3
  DeeplineClient
4
- } from "./chunk-JHIJIHFB.mjs";
4
+ } from "./chunk-MR6XCBQJ.mjs";
5
5
  import "./chunk-6IKARAYD.mjs";
6
6
  import "./chunk-JI2B4RZP.mjs";
7
+ import "./chunk-EIMG75BT.mjs";
7
8
  import "./chunk-UBKA33KY.mjs";
8
9
  import {
9
10
  MONITOR_FLEET_DOCUMENTATION,
@@ -18,15 +19,15 @@ import {
18
19
  printCommandEnvelope,
19
20
  printJson,
20
21
  shouldEmitJson
21
- } from "./chunk-NR3DFKNF.mjs";
22
+ } from "./chunk-XKZXO7D3.mjs";
22
23
  import {
23
24
  AuthError
24
- } from "./chunk-FJGW5GXU.mjs";
25
+ } from "./chunk-VE3U3SQC.mjs";
25
26
  import "./chunk-DLIRSHV6.mjs";
26
27
  import {
27
28
  DeeplineError
28
29
  } from "./chunk-NXGCO4JB.mjs";
29
- import "./chunk-TJI2EN6K.mjs";
30
+ import "./chunk-NHB5YUCS.mjs";
30
31
  import "./chunk-WZYKRD7T.mjs";
31
32
  import "./chunk-KRD6H754.mjs";
32
33