deepline 0.3.423 → 0.3.425

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 (115) hide show
  1. package/dist/bundling-sources/sdk/src/client.ts +13 -6
  2. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  3. package/dist/bundling-sources/shared_libs/monitors/fleets/verdict.ts +11 -1
  4. package/dist/bundling-sources/shared_libs/monitors/inventory-reconciliation.ts +38 -4
  5. package/dist/bundling-sources/shared_libs/monitors/provider-monitor-batch-operation.ts +12 -0
  6. package/dist/bundling-sources/shared_libs/monitors/provider-monitor-control-plane-capability.ts +25 -0
  7. package/dist/bundling-sources/shared_libs/monitors/provider-monitor-errors.ts +10 -0
  8. package/dist/bundling-sources/shared_libs/monitors/provider-monitor-identity-claims.ts +201 -0
  9. package/dist/bundling-sources/shared_libs/monitors/provider-monitor-state.ts +42 -5
  10. package/dist/bundling-sources/shared_libs/monitors/provider-webhook-monitor-runtime.ts +5 -0
  11. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +18 -0
  12. package/dist/cli/auth-PTKVFEIT.js +40 -0
  13. package/dist/cli/{auth-L7Q53QKK.mjs → auth-RF5WGHBC.mjs} +4 -4
  14. package/dist/cli/{billing-QNP6YGI2.js → billing-E4G4QVR5.js} +73 -73
  15. package/dist/cli/{billing-IH7AKDR2.mjs → billing-P4RUJ4UT.mjs} +4 -4
  16. package/dist/cli/{chunk-2F5ULM2F.js → chunk-2ACYJZHU.js} +1 -1
  17. package/dist/cli/{chunk-FJRFSBWO.mjs → chunk-2J2I5A7K.mjs} +4 -4
  18. package/dist/cli/{chunk-RAL75ND3.js → chunk-53DTOGNJ.js} +2 -2
  19. package/dist/cli/{chunk-EWWWOKX2.js → chunk-7F6KTNUP.js} +6 -6
  20. package/dist/cli/{chunk-QN6DG4JO.mjs → chunk-BFVDDMRH.mjs} +2 -2
  21. package/dist/cli/{chunk-4WT5RISA.js → chunk-CSP5CXTC.js} +20 -20
  22. package/dist/cli/{chunk-S6KG7JCR.mjs → chunk-E7RPU3VG.mjs} +2 -2
  23. package/dist/cli/{chunk-44US3EL2.mjs → chunk-FDM3BUIB.mjs} +5 -5
  24. package/dist/cli/{chunk-OPI7UCQG.mjs → chunk-HT3UBTXV.mjs} +1 -1
  25. package/dist/cli/{chunk-2U3AMRHF.js → chunk-IJPWBQEA.js} +8 -8
  26. package/dist/cli/{chunk-YCHR57TD.js → chunk-J6FKYOFB.js} +35 -35
  27. package/dist/cli/{chunk-YNT7PJND.mjs → chunk-MWR452MP.mjs} +3 -3
  28. package/dist/cli/{chunk-OZLMMMZH.js → chunk-NC5DYZ36.js} +6 -6
  29. package/dist/cli/{chunk-6FFORGD2.mjs → chunk-NUET45RU.mjs} +1 -1
  30. package/dist/cli/{chunk-NFIZ5YED.mjs → chunk-ODO6ZIHB.mjs} +2 -2
  31. package/dist/cli/{chunk-IW5QK3K6.mjs → chunk-P7SNOFPA.mjs} +3 -3
  32. package/dist/cli/{chunk-DRK6FYJU.js → chunk-RH2N5JUT.js} +26 -26
  33. package/dist/cli/{chunk-MHG3NND4.mjs → chunk-RTFXD5ZX.mjs} +3 -3
  34. package/dist/cli/{chunk-XSERB7H2.mjs → chunk-S5FCTT3E.mjs} +1 -1
  35. package/dist/cli/{chunk-PQ4G6MKI.js → chunk-SBPPCMZD.js} +16 -16
  36. package/dist/cli/{chunk-W42SSVM7.js → chunk-U42S2GAF.js} +4 -4
  37. package/dist/cli/{chunk-PH4BP6KM.mjs → chunk-UDRNGM3S.mjs} +2 -2
  38. package/dist/cli/{chunk-AVOBDFQ5.js → chunk-UXLJZ4XQ.js} +10 -10
  39. package/dist/cli/{chunk-QWJJMQNE.mjs → chunk-VYO6TLWN.mjs} +1 -1
  40. package/dist/cli/{chunk-ARTGL3FM.mjs → chunk-WNXYRODJ.mjs} +1 -1
  41. package/dist/cli/{chunk-WJO7KIFT.js → chunk-WZLGL37A.js} +50 -50
  42. package/dist/cli/{chunk-JDAXVQV7.mjs → chunk-XC3J4P5W.mjs} +1 -1
  43. package/dist/cli/{chunk-H662SHPT.mjs → chunk-XLEA2CGA.mjs} +8 -8
  44. package/dist/cli/{chunk-5DGR3TB6.js → chunk-XN25EAP6.js} +2 -2
  45. package/dist/cli/{chunk-NA6SGG7X.js → chunk-XO5RJ3PF.js} +79 -79
  46. package/dist/cli/{chunk-MMI2DXCW.js → chunk-XSC2FG4V.js} +8 -8
  47. package/dist/cli/{chunk-OMWO2JLC.js → chunk-ZYUKNQO4.js} +52 -52
  48. package/dist/cli/{csv-GF7VRES5.js → csv-P32NU7IS.js} +12 -12
  49. package/dist/cli/{csv-5KW7M6ZS.mjs → csv-XKCR2MB6.mjs} +3 -3
  50. package/dist/cli/{db-AEDXKB4F.js → db-AHFQJ7ZN.js} +25 -25
  51. package/dist/cli/{db-NN4JQAC4.mjs → db-ZJQPREBZ.mjs} +4 -4
  52. package/dist/cli/{describe-RX6VROHQ.mjs → describe-IZNT6RGY.mjs} +12 -12
  53. package/dist/cli/{describe-5RLXW332.js → describe-YE2WIS23.js} +16 -16
  54. package/dist/cli/describe-core.d.mts +1 -1
  55. package/dist/cli/describe-core.d.ts +1 -1
  56. package/dist/cli/{executions-PGIGFDDS.js → executions-EZDFYAWW.js} +6 -6
  57. package/dist/cli/{executions-EJZ34VUB.mjs → executions-WLRZODFZ.mjs} +4 -4
  58. package/dist/cli/{feedback-L2ODMANV.js → feedback-A62XZMY2.js} +7 -7
  59. package/dist/cli/{feedback-6MWOKE7H.mjs → feedback-M6TNBIUP.mjs} +3 -3
  60. package/dist/cli/git-62FZH46U.js +24 -0
  61. package/dist/cli/{git-456RF3AT.mjs → git-XYDEA57G.mjs} +4 -4
  62. package/dist/cli/index.js +131 -131
  63. package/dist/cli/index.mjs +36 -36
  64. package/dist/cli/{legacy-noops-MDPB3MIS.js → legacy-noops-D34K4LWU.js} +7 -7
  65. package/dist/cli/{legacy-noops-ZPRBXQDE.mjs → legacy-noops-S4XSVXIN.mjs} +4 -4
  66. package/dist/cli/{monitors-TXKR5XYW.js → monitors-VUSDOVGA.js} +97 -91
  67. package/dist/cli/{monitors-ZLP6A7FT.mjs → monitors-YDHQJMMQ.mjs} +17 -11
  68. package/dist/cli/{org-YZ62BIGM.mjs → org-EF7Q22GZ.mjs} +4 -4
  69. package/dist/cli/{org-73SQ3AT2.js → org-IRWGFW3I.js} +64 -64
  70. package/dist/cli/{play-M75EBXEV.js → play-D54PEGMK.js} +283 -283
  71. package/dist/cli/{play-VCYQKCKF.mjs → play-Y4O3WFYH.mjs} +10 -10
  72. package/dist/cli/{providers-GIINJPWQ.js → providers-2NPEOE22.js} +7 -7
  73. package/dist/cli/{providers-JLA6LST3.mjs → providers-PX672XRG.mjs} +4 -4
  74. package/dist/cli/{quickstart-HHHLYCHT.js → quickstart-3XXUIDVF.js} +5 -5
  75. package/dist/cli/{quickstart-AHCU75GG.mjs → quickstart-KSFYOZGU.mjs} +3 -3
  76. package/dist/cli/{search-5GACUIAX.mjs → search-DIATDWNB.mjs} +5 -5
  77. package/dist/cli/search-TW7PGWYR.js +30 -0
  78. package/dist/cli/{secrets-S2NBKAEN.mjs → secrets-HSZNYSHN.mjs} +4 -4
  79. package/dist/cli/{secrets-PI7IPCOE.js → secrets-S7J53N4D.js} +13 -13
  80. package/dist/cli/{sessions-IBKYGTBD.mjs → sessions-BLJ5AZ2O.mjs} +4 -4
  81. package/dist/cli/{sessions-BK4CSRFS.js → sessions-ECOJWISN.js} +5 -5
  82. package/dist/cli/{settings-JY6UN4KO.mjs → settings-4X2OSKMC.mjs} +8 -8
  83. package/dist/cli/{settings-2G7TUDM7.js → settings-BMKHMIN2.js} +75 -75
  84. package/dist/cli/{setup-R424FIBF.js → setup-GOT6Y2E3.js} +42 -42
  85. package/dist/cli/{setup-HS5X3OSN.mjs → setup-NUEJ22OI.mjs} +7 -7
  86. package/dist/cli/skills-DCOMWBDX.js +29 -0
  87. package/dist/cli/{skills-UIBUDTGN.mjs → skills-FCLEKW4O.mjs} +5 -5
  88. package/dist/cli/{tools-SB4FREB6.mjs → tools-IVCHIOIY.mjs} +12 -12
  89. package/dist/cli/tools-OAYJGYL7.js +44 -0
  90. package/dist/cli/update-2DBL37AU.js +31 -0
  91. package/dist/cli/{update-NJSUE2YU.mjs → update-Y5RO5LSX.mjs} +7 -7
  92. package/dist/cli/{workflow-HBG76XYX.mjs → workflow-CSVQCXJZ.mjs} +5 -5
  93. package/dist/cli/{workflow-3AZWZ4J3.js → workflow-XGN3FZAE.js} +15 -15
  94. package/dist/{client-BTUOYGID.d.mts → client-BcfFWD4Z.d.mts} +9 -6
  95. package/dist/{client-C668iUhZ.d.ts → client-DH-fmT69.d.ts} +9 -6
  96. package/dist/index.d.mts +2 -2
  97. package/dist/index.d.ts +2 -2
  98. package/dist/index.js +6 -6
  99. package/dist/index.mjs +3 -3
  100. package/dist/install-integrity.json +80 -80
  101. package/dist/plays/play-description.d.mts +1 -1
  102. package/dist/plays/play-description.d.ts +1 -1
  103. package/dist/plays/run-request.d.mts +1 -1
  104. package/dist/plays/run-request.d.ts +1 -1
  105. package/dist/release.d.mts +1 -1
  106. package/dist/release.d.ts +1 -1
  107. package/dist/release.js +2 -2
  108. package/dist/release.mjs +1 -1
  109. package/package.json +1 -1
  110. package/dist/cli/auth-SUNY477Y.js +0 -40
  111. package/dist/cli/git-2ZDCRTBD.js +0 -24
  112. package/dist/cli/search-W2PGBXQO.js +0 -30
  113. package/dist/cli/skills-M3RZAN4A.js +0 -29
  114. package/dist/cli/tools-K2GII2PA.js +0 -44
  115. package/dist/cli/update-C2ORJRXN.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 _chunkAVOBDFQ5js = require('./chunk-AVOBDFQ5.js');
4
+ var _chunkUXLJZ4XQjs = require('./chunk-UXLJZ4XQ.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 _chunkEWWWOKX2js = require('./chunk-EWWWOKX2.js');
23
- require('./chunk-W42SSVM7.js');
22
+ var _chunk7F6KTNUPjs = require('./chunk-7F6KTNUP.js');
23
+ require('./chunk-U42S2GAF.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-2F5ULM2F.js');
31
+ require('./chunk-2ACYJZHU.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 = _chunkEWWWOKX2js.shouldEmitJson.call(void 0, process.argv.includes("--json"));
109
+ const wantsJson = _chunk7F6KTNUPjs.shouldEmitJson.call(void 0, process.argv.includes("--json"));
110
110
  if (wantsJson) {
111
- const payload = _chunkEWWWOKX2js.errorToJsonPayload.call(void 0, error);
112
- _chunkEWWWOKX2js.printJson.call(void 0, {
111
+ const payload = _chunk7F6KTNUPjs.errorToJsonPayload.call(void 0, error);
112
+ _chunk7F6KTNUPjs.printJson.call(void 0, {
113
113
  ok: false,
114
114
  exitCode,
115
115
  ...next ? { next } : {},
@@ -199,6 +199,7 @@ function asString(value) {
199
199
  }
200
200
  var MONITOR_STATES = /* @__PURE__ */ new Set([
201
201
  "active",
202
+ "provisioning",
202
203
  "billing_suspended",
203
204
  "disabled"
204
205
  ]);
@@ -523,14 +524,14 @@ Preview the plan first with:
523
524
  );
524
525
  }
525
526
  async function handleMonitorsStatus(options) {
526
- const payload = await new (0, _chunkAVOBDFQ5js.DeeplineClient)().monitors.status();
527
+ const payload = await new (0, _chunkUXLJZ4XQjs.DeeplineClient)().monitors.status();
527
528
  const hasAccess = payload.has_access === true;
528
529
  const reason = typeof payload.reason === "string" && payload.reason.trim() ? payload.reason.trim() : void 0;
529
530
  const text = hasAccess ? `\u2713 You have access to Deepline Monitors${reason ? `
530
531
  ${reason}` : ""}
531
532
  ` : `\u2717 No access to Deepline Monitors${reason ? ` \u2014 ${reason}` : ""}
532
533
  `;
533
- _chunkEWWWOKX2js.printCommandEnvelope.call(void 0,
534
+ _chunk7F6KTNUPjs.printCommandEnvelope.call(void 0,
534
535
  { has_access: hasAccess, ...reason ? { reason } : {} },
535
536
  { json: options.json, text }
536
537
  );
@@ -596,14 +597,14 @@ async function handleMonitorsAvailable(toolId, options) {
596
597
  }
597
598
  }
598
599
  const tool = _nullishCoalesce(toolId, () => ( options.tool));
599
- const payload = await new (0, _chunkAVOBDFQ5js.DeeplineClient)().monitors.available(tool, {
600
+ const payload = await new (0, _chunkUXLJZ4XQjs.DeeplineClient)().monitors.available(tool, {
600
601
  ...options.provider ? { provider: options.provider } : {},
601
602
  ...options.search ? { search: options.search } : {},
602
603
  ...options.limit ? { limit: options.limit } : {},
603
604
  ...options.full ? { full: true } : {},
604
605
  ...options.compact ? { compact: true } : {}
605
606
  });
606
- _chunkEWWWOKX2js.printCommandEnvelope.call(void 0, payload, {
607
+ _chunk7F6KTNUPjs.printCommandEnvelope.call(void 0, payload, {
607
608
  json: options.json,
608
609
  // Human list view shows id + name + deployed_count ("deployed: N") so
609
610
  // can-deploy vs already-deployed is visible in one view. Describing a
@@ -698,7 +699,7 @@ async function handleMonitorsList(options) {
698
699
  const state = options.state ? monitorStateFilter(options.state) : void 0;
699
700
  if (options.state !== void 0 && !state) {
700
701
  throw new MonitorsUsageError(
701
- `--state must be active, billing_suspended, disabled, or all; received ${options.state}.`
702
+ `--state must be active, provisioning, billing_suspended, disabled, or all; received ${options.state}.`
702
703
  );
703
704
  }
704
705
  if (options.compact) {
@@ -706,14 +707,14 @@ async function handleMonitorsList(options) {
706
707
  "`--compact` is deprecated and now does nothing; returning the complete monitor records.\n"
707
708
  );
708
709
  }
709
- const payload = await new (0, _chunkAVOBDFQ5js.DeeplineClient)().monitors.list({
710
+ const payload = await new (0, _chunkUXLJZ4XQjs.DeeplineClient)().monitors.list({
710
711
  ...state ? { state } : {},
711
712
  ...options.status ? { status: options.status } : {},
712
713
  ...options.limit ? { limit: options.limit } : {},
713
714
  ...options.cursor ? { cursor: options.cursor } : {},
714
715
  ...options.includeConsumers ? { includeConsumers: true } : {}
715
716
  });
716
- _chunkEWWWOKX2js.printCommandEnvelope.call(void 0, payload, {
717
+ _chunk7F6KTNUPjs.printCommandEnvelope.call(void 0, payload, {
717
718
  json: options.json,
718
719
  text: renderDeployedListText(
719
720
  payload,
@@ -729,10 +730,10 @@ async function handleMonitorsCheck(definition, options) {
729
730
  argLabel: "<definition>",
730
731
  command: "deepline monitors check"
731
732
  });
732
- const payload = await new (0, _chunkAVOBDFQ5js.DeeplineClient)().monitors.check(
733
+ const payload = await new (0, _chunkUXLJZ4XQjs.DeeplineClient)().monitors.check(
733
734
  body
734
735
  );
735
- _chunkEWWWOKX2js.printCommandEnvelope.call(void 0, payload, { json: options.json });
736
+ _chunk7F6KTNUPjs.printCommandEnvelope.call(void 0, payload, { json: options.json });
736
737
  }
737
738
  async function handleMonitorsDeploy(definition, options) {
738
739
  const body = resolveMonitorJsonBody({
@@ -741,7 +742,7 @@ async function handleMonitorsDeploy(definition, options) {
741
742
  argLabel: "<definition>",
742
743
  command: "deepline monitors deploy"
743
744
  });
744
- const client = new (0, _chunkAVOBDFQ5js.DeeplineClient)();
745
+ const client = new (0, _chunkUXLJZ4XQjs.DeeplineClient)();
745
746
  const definitionArg = body;
746
747
  if (options.dryRun) {
747
748
  const payload2 = await client.monitors.deploy(definitionArg, {
@@ -749,7 +750,7 @@ async function handleMonitorsDeploy(definition, options) {
749
750
  });
750
751
  const valid = payload2.valid !== false;
751
752
  const hasIdentityConflict = Boolean(_optionalChain([asRecord, 'call', _21 => _21(payload2), 'optionalAccess', _22 => _22.identity_conflict]));
752
- _chunkEWWWOKX2js.printCommandEnvelope.call(void 0,
753
+ _chunk7F6KTNUPjs.printCommandEnvelope.call(void 0,
753
754
  { dry_run: true, ...payload2 },
754
755
  { json: options.json, text: renderMonitorDeployPlan(payload2) }
755
756
  );
@@ -759,7 +760,7 @@ async function handleMonitorsDeploy(definition, options) {
759
760
  return;
760
761
  }
761
762
  const payload = await client.monitors.deploy(definitionArg);
762
- _chunkEWWWOKX2js.printCommandEnvelope.call(void 0, payload, {
763
+ _chunk7F6KTNUPjs.printCommandEnvelope.call(void 0, payload, {
763
764
  json: options.json,
764
765
  text: renderMonitorDeployCompletion(payload)
765
766
  });
@@ -771,29 +772,29 @@ async function handleMonitorsSync(definition, options) {
771
772
  argLabel: "<definition>",
772
773
  command: "deepline monitors sync"
773
774
  });
774
- const payload = await new (0, _chunkAVOBDFQ5js.DeeplineClient)().monitors.sync(body, {
775
+ const payload = await new (0, _chunkUXLJZ4XQjs.DeeplineClient)().monitors.sync(body, {
775
776
  ...options.dryRun ? { dryRun: true } : {},
776
777
  idempotencyKey: _nullishCoalesce(options.idempotencyKey, () => ( monitorJobIdempotencyKey("scalar-sync", void 0)))
777
778
  });
778
779
  if (options.dryRun) {
779
780
  const plan = payload;
780
- _chunkEWWWOKX2js.printCommandEnvelope.call(void 0,
781
+ _chunk7F6KTNUPjs.printCommandEnvelope.call(void 0,
781
782
  { dry_run: true, ...plan },
782
783
  { json: options.json, text: renderMonitorDeployPlan(plan) }
783
784
  );
784
785
  return;
785
786
  }
786
- _chunkEWWWOKX2js.printCommandEnvelope.call(void 0, payload, {
787
+ _chunk7F6KTNUPjs.printCommandEnvelope.call(void 0, payload, {
787
788
  json: options.json,
788
789
  text: renderMonitorJob(payload)
789
790
  });
790
791
  }
791
792
  async function handleScalarMonitorLifecycle(action, key, options) {
792
- const payload = await new (0, _chunkAVOBDFQ5js.DeeplineClient)().monitors[action](key, {
793
+ const payload = await new (0, _chunkUXLJZ4XQjs.DeeplineClient)().monitors[action](key, {
793
794
  ...options.dryRun ? { dryRun: true } : {},
794
795
  idempotencyKey: _nullishCoalesce(options.idempotencyKey, () => ( monitorJobIdempotencyKey(`${action}-${key}`, void 0)))
795
796
  });
796
- _chunkEWWWOKX2js.printCommandEnvelope.call(void 0, payload, {
797
+ _chunk7F6KTNUPjs.printCommandEnvelope.call(void 0, payload, {
797
798
  json: options.json,
798
799
  text: options.dryRun ? void 0 : renderMonitorJob(payload)
799
800
  });
@@ -882,11 +883,11 @@ async function handleMonitorJobBatchDeploy(options, idempotencyKey) {
882
883
  lint.issues.filter((issue) => issue.severity === "error").map((issue) => `${issue.path || "batch"}: ${issue.message}`).join("; ")
883
884
  );
884
885
  }
885
- const payload = await new (0, _chunkAVOBDFQ5js.DeeplineClient)().monitors.batch.deploy(
886
+ const payload = await new (0, _chunkUXLJZ4XQjs.DeeplineClient)().monitors.batch.deploy(
886
887
  lint.normalized.monitors,
887
888
  { idempotencyKey }
888
889
  );
889
- _chunkEWWWOKX2js.printCommandEnvelope.call(void 0,
890
+ _chunk7F6KTNUPjs.printCommandEnvelope.call(void 0,
890
891
  {
891
892
  ...payload,
892
893
  idempotency_key: idempotencyKey,
@@ -919,7 +920,7 @@ async function handleNamedMonitorBatchSync(batchId, options) {
919
920
  );
920
921
  }
921
922
  if (options.dryRun) {
922
- _chunkEWWWOKX2js.printCommandEnvelope.call(void 0,
923
+ _chunk7F6KTNUPjs.printCommandEnvelope.call(void 0,
923
924
  {
924
925
  ok: true,
925
926
  dry_run: true,
@@ -936,7 +937,7 @@ async function handleNamedMonitorBatchSync(batchId, options) {
936
937
  "sync",
937
938
  options.idempotencyKey
938
939
  );
939
- const payload = await new (0, _chunkAVOBDFQ5js.DeeplineClient)().monitors.batches.sync(
940
+ const payload = await new (0, _chunkUXLJZ4XQjs.DeeplineClient)().monitors.batches.sync(
940
941
  batchId,
941
942
  lint.normalized.monitors,
942
943
  {
@@ -944,14 +945,14 @@ async function handleNamedMonitorBatchSync(batchId, options) {
944
945
  ...parsedGeneration === void 0 ? {} : { expectedGeneration: parsedGeneration }
945
946
  }
946
947
  );
947
- _chunkEWWWOKX2js.printCommandEnvelope.call(void 0,
948
+ _chunk7F6KTNUPjs.printCommandEnvelope.call(void 0,
948
949
  { ...payload, idempotency_key: idempotencyKey },
949
950
  { json: options.json, text: renderMonitorJob(payload) }
950
951
  );
951
952
  }
952
953
  async function handleNamedMonitorBatchLifecycle(batchId, intent, options) {
953
954
  if (options.dryRun) {
954
- _chunkEWWWOKX2js.printCommandEnvelope.call(void 0,
955
+ _chunk7F6KTNUPjs.printCommandEnvelope.call(void 0,
955
956
  {
956
957
  ok: true,
957
958
  dry_run: true,
@@ -967,17 +968,17 @@ async function handleNamedMonitorBatchLifecycle(batchId, intent, options) {
967
968
  intent,
968
969
  options.idempotencyKey
969
970
  );
970
- const payload = await new (0, _chunkAVOBDFQ5js.DeeplineClient)().monitors.batches[intent](batchId, {
971
+ const payload = await new (0, _chunkUXLJZ4XQjs.DeeplineClient)().monitors.batches[intent](batchId, {
971
972
  idempotencyKey
972
973
  });
973
- _chunkEWWWOKX2js.printCommandEnvelope.call(void 0,
974
+ _chunk7F6KTNUPjs.printCommandEnvelope.call(void 0,
974
975
  { ...payload, idempotency_key: idempotencyKey },
975
976
  { json: options.json, text: renderMonitorJob(payload) }
976
977
  );
977
978
  }
978
979
  async function handleNamedMonitorBatchGet(batchId, options) {
979
- const payload = await new (0, _chunkAVOBDFQ5js.DeeplineClient)().monitors.batches.get(batchId);
980
- _chunkEWWWOKX2js.printCommandEnvelope.call(void 0, payload, {
980
+ const payload = await new (0, _chunkUXLJZ4XQjs.DeeplineClient)().monitors.batches.get(batchId);
981
+ _chunk7F6KTNUPjs.printCommandEnvelope.call(void 0, payload, {
981
982
  json: options.json,
982
983
  text: renderMonitorJob(payload)
983
984
  });
@@ -991,7 +992,7 @@ async function handleMonitorBatchLint(options) {
991
992
  const result = _chunkIF75RD6Ujs.lintMonitorBatchInput.call(void 0,
992
993
  readMonitorDefinitionsJsonFile(options.file)
993
994
  );
994
- _chunkEWWWOKX2js.printCommandEnvelope.call(void 0,
995
+ _chunk7F6KTNUPjs.printCommandEnvelope.call(void 0,
995
996
  {
996
997
  ok: !result.issues.some((issue) => issue.severity === "error"),
997
998
  ...result.normalized ? { normalized: result.normalized } : {},
@@ -1011,7 +1012,7 @@ async function handleMonitorFleetLint(options) {
1011
1012
  const result = _chunkC374C22Yjs.lintMonitorFleetInput.call(void 0,
1012
1013
  readMonitorDefinitionsJsonFile(options.file)
1013
1014
  );
1014
- _chunkEWWWOKX2js.printCommandEnvelope.call(void 0,
1015
+ _chunk7F6KTNUPjs.printCommandEnvelope.call(void 0,
1015
1016
  {
1016
1017
  ok: !result.issues.some((issue) => issue.severity === "error"),
1017
1018
  ...result.normalized ? { normalized: result.normalized } : {},
@@ -1023,32 +1024,32 @@ async function handleMonitorFleetLint(options) {
1023
1024
  process.exitCode = 2;
1024
1025
  }
1025
1026
  async function handleMonitorJobGet(jobId, options) {
1026
- const payload = await new (0, _chunkAVOBDFQ5js.DeeplineClient)().monitors.jobs.get(jobId);
1027
- _chunkEWWWOKX2js.printCommandEnvelope.call(void 0, payload, {
1027
+ const payload = await new (0, _chunkUXLJZ4XQjs.DeeplineClient)().monitors.jobs.get(jobId);
1028
+ _chunk7F6KTNUPjs.printCommandEnvelope.call(void 0, payload, {
1028
1029
  json: options.json,
1029
1030
  text: renderMonitorJob(payload)
1030
1031
  });
1031
1032
  }
1032
1033
  async function handleMonitorJobWait(jobId, options) {
1033
- const payload = await new (0, _chunkAVOBDFQ5js.DeeplineClient)().monitors.jobs.wait(jobId, {
1034
+ const payload = await new (0, _chunkUXLJZ4XQjs.DeeplineClient)().monitors.jobs.wait(jobId, {
1034
1035
  timeoutMs: fleetTimeoutMs(options.timeout),
1035
1036
  pollIntervalMs: FLEET_POLL_INTERVAL_MS
1036
1037
  });
1037
- _chunkEWWWOKX2js.printCommandEnvelope.call(void 0, payload, {
1038
+ _chunk7F6KTNUPjs.printCommandEnvelope.call(void 0, payload, {
1038
1039
  json: options.json,
1039
1040
  text: renderMonitorJob(payload)
1040
1041
  });
1041
1042
  }
1042
1043
  async function handleMonitorJobLogs(jobId, options) {
1043
1044
  const limit = options.limit ? fleetIntegerOption(options.limit, "--limit") : void 0;
1044
- const payload = await new (0, _chunkAVOBDFQ5js.DeeplineClient)().monitors.jobs.logs(jobId, {
1045
+ const payload = await new (0, _chunkUXLJZ4XQjs.DeeplineClient)().monitors.jobs.logs(jobId, {
1045
1046
  ...limit === void 0 ? {} : { limit }
1046
1047
  });
1047
- _chunkEWWWOKX2js.printCommandEnvelope.call(void 0, payload, { json: options.json });
1048
+ _chunk7F6KTNUPjs.printCommandEnvelope.call(void 0, payload, { json: options.json });
1048
1049
  }
1049
1050
  async function handleMonitorJobCancel(jobId, options) {
1050
- const payload = await new (0, _chunkAVOBDFQ5js.DeeplineClient)().monitors.jobs.cancel(jobId);
1051
- _chunkEWWWOKX2js.printCommandEnvelope.call(void 0, payload, {
1051
+ const payload = await new (0, _chunkUXLJZ4XQjs.DeeplineClient)().monitors.jobs.cancel(jobId);
1052
+ _chunk7F6KTNUPjs.printCommandEnvelope.call(void 0, payload, {
1052
1053
  json: options.json,
1053
1054
  text: renderMonitorJob(payload)
1054
1055
  });
@@ -1346,7 +1347,7 @@ function renderFleetDeactivatePlan(payload, fleetId) {
1346
1347
  `;
1347
1348
  }
1348
1349
  function reportFleetState(payload, error, options) {
1349
- _chunkEWWWOKX2js.printCommandEnvelope.call(void 0,
1350
+ _chunk7F6KTNUPjs.printCommandEnvelope.call(void 0,
1350
1351
  {
1351
1352
  ...payload,
1352
1353
  code: error.code,
@@ -1461,7 +1462,7 @@ async function handleMonitorFleetsInit(fleetId, options) {
1461
1462
  _fs.writeFileSync.call(void 0, file, `${JSON.stringify(definition, null, 2)}
1462
1463
  `, "utf8");
1463
1464
  const next = `deepline monitors fleets deploy --file ${fleetShellArg(file)} --dry-run`;
1464
- _chunkEWWWOKX2js.printCommandEnvelope.call(void 0,
1465
+ _chunk7F6KTNUPjs.printCommandEnvelope.call(void 0,
1465
1466
  { schemaVersion: 2, file, definition, next },
1466
1467
  {
1467
1468
  json: options.json,
@@ -1523,7 +1524,7 @@ async function handleMonitorFleetsSync(target, options, idempotencyKey) {
1523
1524
  'The Fleet definition has no id. Add a top-level "id" and re-run.'
1524
1525
  );
1525
1526
  }
1526
- const client = new (0, _chunkAVOBDFQ5js.DeeplineClient)();
1527
+ const client = new (0, _chunkUXLJZ4XQjs.DeeplineClient)();
1527
1528
  const payload = await client.monitors.fleets.sync(
1528
1529
  _nullishCoalesce(definition, () => ( fleetId)),
1529
1530
  {
@@ -1545,7 +1546,7 @@ async function handleMonitorFleetsSync(target, options, idempotencyKey) {
1545
1546
  }
1546
1547
  const accepted = { ...payload, idempotency_key: idempotencyKey };
1547
1548
  if (!options.wait || options.dryRun) {
1548
- _chunkEWWWOKX2js.printCommandEnvelope.call(void 0, accepted, {
1549
+ _chunk7F6KTNUPjs.printCommandEnvelope.call(void 0, accepted, {
1549
1550
  json: options.json,
1550
1551
  text: renderFleetSync(payload, {
1551
1552
  fleetId,
@@ -1571,7 +1572,7 @@ async function handleMonitorFleetsSync(target, options, idempotencyKey) {
1571
1572
  const status = fleetStatus(final);
1572
1573
  const summary = renderFleetGet(final);
1573
1574
  if (status === "converged") {
1574
- _chunkEWWWOKX2js.printCommandEnvelope.call(void 0, envelope, { json: options.json, text: summary });
1575
+ _chunk7F6KTNUPjs.printCommandEnvelope.call(void 0, envelope, { json: options.json, text: summary });
1575
1576
  return;
1576
1577
  }
1577
1578
  const driftCommand = `deepline monitors fleets get ${fleetShellArg(fleetId)} --drift`;
@@ -1604,14 +1605,14 @@ async function handleMonitorFleetsGet(fleetId, options) {
1604
1605
  );
1605
1606
  }
1606
1607
  const limit = options.limit === void 0 ? void 0 : fleetIntegerOption(options.limit, "--limit");
1607
- const client = new (0, _chunkAVOBDFQ5js.DeeplineClient)();
1608
+ const client = new (0, _chunkUXLJZ4XQjs.DeeplineClient)();
1608
1609
  const payload = await client.monitors.fleets.get(fleetId, {
1609
1610
  ...options.drift ? { drift: true } : {},
1610
1611
  ...limit !== void 0 ? { limit } : {}
1611
1612
  });
1612
1613
  const text = fleetId ? renderFleetGet(payload) : renderFleetList(payload);
1613
1614
  if (!options.check) {
1614
- _chunkEWWWOKX2js.printCommandEnvelope.call(void 0, payload, { json: options.json, text });
1615
+ _chunk7F6KTNUPjs.printCommandEnvelope.call(void 0, payload, { json: options.json, text });
1615
1616
  return;
1616
1617
  }
1617
1618
  const statuses = fleetId ? [fleetStatus(payload)] : (Array.isArray(payload.fleets) ? payload.fleets : []).map(
@@ -1619,7 +1620,7 @@ async function handleMonitorFleetsGet(fleetId, options) {
1619
1620
  );
1620
1621
  const unconverged = statuses.filter((status) => status !== "converged");
1621
1622
  if (unconverged.length === 0) {
1622
- _chunkEWWWOKX2js.printCommandEnvelope.call(void 0, payload, { json: options.json, text });
1623
+ _chunk7F6KTNUPjs.printCommandEnvelope.call(void 0, payload, { json: options.json, text });
1623
1624
  return;
1624
1625
  }
1625
1626
  const target = _nullishCoalesce(fleetId, () => ( "<fleet-id>"));
@@ -1658,13 +1659,13 @@ async function handleMonitorFleetsReactivate(fleetId, options, idempotencyKey) {
1658
1659
  ${fleetReactivateCommandLine(fleetId, options)}`
1659
1660
  );
1660
1661
  }
1661
- const client = new (0, _chunkAVOBDFQ5js.DeeplineClient)();
1662
+ const client = new (0, _chunkUXLJZ4XQjs.DeeplineClient)();
1662
1663
  const payload = await client.monitors.fleets.reactivate(fleetId, {
1663
1664
  idempotencyKey
1664
1665
  });
1665
1666
  const accepted = { ...payload, idempotency_key: idempotencyKey };
1666
1667
  if (!options.wait) {
1667
- _chunkEWWWOKX2js.printCommandEnvelope.call(void 0, accepted, {
1668
+ _chunk7F6KTNUPjs.printCommandEnvelope.call(void 0, accepted, {
1668
1669
  json: options.json,
1669
1670
  text: `Fleet ${fleetId} \u2014 ${readMonitorState(payload) ? `state ${readMonitorState(payload)}` : "reactivation accepted"}
1670
1671
  idempotency key ${idempotencyKey}
@@ -1687,7 +1688,7 @@ async function handleMonitorFleetsReactivate(fleetId, options, idempotencyKey) {
1687
1688
  const envelope = { ...accepted, ...final };
1688
1689
  const text = renderFleetGet(final);
1689
1690
  if (fleetStatus(final) === "converged") {
1690
- _chunkEWWWOKX2js.printCommandEnvelope.call(void 0, envelope, { json: options.json, text });
1691
+ _chunk7F6KTNUPjs.printCommandEnvelope.call(void 0, envelope, { json: options.json, text });
1691
1692
  return;
1692
1693
  }
1693
1694
  reportFleetState(
@@ -1729,7 +1730,7 @@ async function confirmFleetDeactivate(fleetId, plan) {
1729
1730
  }
1730
1731
  }
1731
1732
  async function handleMonitorFleetsDeactivate(fleetId, options, idempotencyKey) {
1732
- const client = new (0, _chunkAVOBDFQ5js.DeeplineClient)();
1733
+ const client = new (0, _chunkUXLJZ4XQjs.DeeplineClient)();
1733
1734
  if (options.dryRun) {
1734
1735
  const plan = await client.monitors.fleets.deactivate(fleetId, {
1735
1736
  dryRun: true,
@@ -1739,7 +1740,7 @@ async function handleMonitorFleetsDeactivate(fleetId, options, idempotencyKey) {
1739
1740
  command: "deepline monitors fleets deactivate",
1740
1741
  mutation: "fleet deactivate"
1741
1742
  });
1742
- _chunkEWWWOKX2js.printCommandEnvelope.call(void 0, plan, {
1743
+ _chunk7F6KTNUPjs.printCommandEnvelope.call(void 0, plan, {
1743
1744
  json: options.json,
1744
1745
  text: renderFleetDeactivatePlan(plan, fleetId)
1745
1746
  });
@@ -1777,7 +1778,7 @@ Preview the blast radius first:
1777
1778
  });
1778
1779
  const accepted = { ...payload, idempotency_key: idempotencyKey };
1779
1780
  if (payload.already === true) {
1780
- _chunkEWWWOKX2js.printCommandEnvelope.call(void 0, accepted, {
1781
+ _chunk7F6KTNUPjs.printCommandEnvelope.call(void 0, accepted, {
1781
1782
  json: options.json,
1782
1783
  text: `Fleet ${fleetId} is already deactivated.
1783
1784
  `
@@ -1789,7 +1790,7 @@ Preview the blast radius first:
1789
1790
  ` + (fleetServerNext(payload) ? `Next: ${fleetServerNext(payload)}
1790
1791
  ` : "");
1791
1792
  if (!options.wait) {
1792
- _chunkEWWWOKX2js.printCommandEnvelope.call(void 0, accepted, {
1793
+ _chunk7F6KTNUPjs.printCommandEnvelope.call(void 0, accepted, {
1793
1794
  json: options.json,
1794
1795
  text: acceptedText
1795
1796
  });
@@ -1811,7 +1812,7 @@ Preview the blast radius first:
1811
1812
  const envelope = { ...accepted, ...final };
1812
1813
  const summary = renderFleetGet(final);
1813
1814
  if (fleetStatus(final) === "deactivated") {
1814
- _chunkEWWWOKX2js.printCommandEnvelope.call(void 0, envelope, { json: options.json, text: summary });
1815
+ _chunk7F6KTNUPjs.printCommandEnvelope.call(void 0, envelope, { json: options.json, text: summary });
1815
1816
  return;
1816
1817
  }
1817
1818
  reportFleetState(
@@ -1842,7 +1843,7 @@ function handleMonitorFleetsOverview(options) {
1842
1843
  "Agent notes:",
1843
1844
  ...MONITOR_FLEET_AGENT_NOTES.map((note) => ` ${note}`)
1844
1845
  ];
1845
- _chunkEWWWOKX2js.printCommandEnvelope.call(void 0,
1846
+ _chunk7F6KTNUPjs.printCommandEnvelope.call(void 0,
1846
1847
  {
1847
1848
  schemaVersion: 1,
1848
1849
  lifecycle: MONITOR_FLEET_LIFECYCLE,
@@ -2003,7 +2004,7 @@ function renderMonitorGet(payload) {
2003
2004
  `;
2004
2005
  }
2005
2006
  async function handleMonitorsGet(key, options) {
2006
- const client = new (0, _chunkAVOBDFQ5js.DeeplineClient)();
2007
+ const client = new (0, _chunkUXLJZ4XQjs.DeeplineClient)();
2007
2008
  const payload = await client.monitors.get(key);
2008
2009
  const boundPlays = Array.isArray(payload.bound_plays) ? payload.bound_plays : null;
2009
2010
  const dependents = boundPlays ? {
@@ -2011,24 +2012,24 @@ async function handleMonitorsGet(key, options) {
2011
2012
  truncated: payload.consumer_health_truncated === true
2012
2013
  } : await client.monitors.dependents(key);
2013
2014
  const detail = { ...payload, dependents };
2014
- _chunkEWWWOKX2js.printCommandEnvelope.call(void 0, detail, {
2015
+ _chunk7F6KTNUPjs.printCommandEnvelope.call(void 0, detail, {
2015
2016
  json: options.json,
2016
2017
  text: renderMonitorGet(detail)
2017
2018
  });
2018
2019
  }
2019
2020
  async function handleMonitorsTest(key, payload, options) {
2020
2021
  const explicitPayload = parseJsonObjectArg(payload, "<payload>");
2021
- const result = await new (0, _chunkAVOBDFQ5js.DeeplineClient)().monitors.test(key, explicitPayload);
2022
+ const result = await new (0, _chunkUXLJZ4XQjs.DeeplineClient)().monitors.test(key, explicitPayload);
2022
2023
  const text = `Monitor diagnostic for ${key}: ${result.accepted === true ? "accepted" : "rejected"}
2023
2024
  mode: validation_only (no rows written, credits spent, or Plays dispatched)
2024
2025
  persisted rows: ${_nullishCoalesce(asFiniteNumber(result.persisted_rows), () => ( 0))}
2025
2026
  dispatched bound Plays: ${_nullishCoalesce(asFiniteNumber(result.dispatched_bound_plays), () => ( 0))}
2026
2027
  `;
2027
- _chunkEWWWOKX2js.printCommandEnvelope.call(void 0, result, { json: options.json, text });
2028
+ _chunk7F6KTNUPjs.printCommandEnvelope.call(void 0, result, { json: options.json, text });
2028
2029
  }
2029
2030
  async function handleMonitorsValidate(key, options) {
2030
- const result = await new (0, _chunkAVOBDFQ5js.DeeplineClient)().monitors.validate(key);
2031
- _chunkEWWWOKX2js.printCommandEnvelope.call(void 0, result, { json: options.json });
2031
+ const result = await new (0, _chunkUXLJZ4XQjs.DeeplineClient)().monitors.validate(key);
2032
+ _chunk7F6KTNUPjs.printCommandEnvelope.call(void 0, result, { json: options.json });
2032
2033
  if (result.valid === false) process.exitCode = 7;
2033
2034
  }
2034
2035
  async function confirmMonitorDelete(key) {
@@ -2046,14 +2047,14 @@ async function confirmMonitorDelete(key) {
2046
2047
  }
2047
2048
  }
2048
2049
  async function handleMonitorsDelete(key, options) {
2049
- const client = new (0, _chunkAVOBDFQ5js.DeeplineClient)();
2050
+ const client = new (0, _chunkUXLJZ4XQjs.DeeplineClient)();
2050
2051
  if (options.dryRun) {
2051
2052
  const payload2 = await client.monitors.delete(key, { dryRun: true });
2052
2053
  assertMonitorDryRunAcknowledged(payload2, {
2053
2054
  command: "deepline monitors delete",
2054
2055
  mutation: "delete"
2055
2056
  });
2056
- _chunkEWWWOKX2js.printCommandEnvelope.call(void 0, payload2, {
2057
+ _chunk7F6KTNUPjs.printCommandEnvelope.call(void 0, payload2, {
2057
2058
  json: options.json,
2058
2059
  text: renderMonitorDeletePlan(payload2, key)
2059
2060
  });
@@ -2073,7 +2074,7 @@ async function handleMonitorsDelete(key, options) {
2073
2074
  }
2074
2075
  }
2075
2076
  const payload = await client.monitors.delete(key);
2076
- _chunkEWWWOKX2js.printCommandEnvelope.call(void 0, payload, { json: options.json });
2077
+ _chunk7F6KTNUPjs.printCommandEnvelope.call(void 0, payload, { json: options.json });
2077
2078
  }
2078
2079
  async function handleMonitorsUpdate(key, patch, options) {
2079
2080
  const body = resolveMonitorJsonBody({
@@ -2082,25 +2083,25 @@ async function handleMonitorsUpdate(key, patch, options) {
2082
2083
  argLabel: "<patch>",
2083
2084
  command: `deepline monitors update ${key}`
2084
2085
  });
2085
- const payload = await new (0, _chunkAVOBDFQ5js.DeeplineClient)().monitors.update(key, body);
2086
- _chunkEWWWOKX2js.printCommandEnvelope.call(void 0, payload, { json: options.json });
2086
+ const payload = await new (0, _chunkUXLJZ4XQjs.DeeplineClient)().monitors.update(key, body);
2087
+ _chunk7F6KTNUPjs.printCommandEnvelope.call(void 0, payload, { json: options.json });
2087
2088
  }
2088
2089
  async function handleMonitorsReactivate(key, options) {
2089
- const client = new (0, _chunkAVOBDFQ5js.DeeplineClient)();
2090
+ const client = new (0, _chunkUXLJZ4XQjs.DeeplineClient)();
2090
2091
  if (options.dryRun) {
2091
2092
  const payload2 = await client.monitors.reactivate(key, { dryRun: true });
2092
2093
  assertMonitorDryRunAcknowledged(payload2, {
2093
2094
  command: "deepline monitors reactivate",
2094
2095
  mutation: "reactivate"
2095
2096
  });
2096
- _chunkEWWWOKX2js.printCommandEnvelope.call(void 0, payload2, {
2097
+ _chunk7F6KTNUPjs.printCommandEnvelope.call(void 0, payload2, {
2097
2098
  json: options.json,
2098
2099
  text: renderMonitorReactivatePlan(payload2, key)
2099
2100
  });
2100
2101
  return;
2101
2102
  }
2102
2103
  const payload = await client.monitors.reactivate(key);
2103
- _chunkEWWWOKX2js.printCommandEnvelope.call(void 0, payload, { json: options.json });
2104
+ _chunk7F6KTNUPjs.printCommandEnvelope.call(void 0, payload, { json: options.json });
2104
2105
  }
2105
2106
  var MONITOR_VERB_POLL_INTERVAL_MS = 2e3;
2106
2107
  function monitorHealthLine(health) {
@@ -2222,7 +2223,7 @@ function monitorHealthText(health) {
2222
2223
  `;
2223
2224
  }
2224
2225
  async function handleMonitorsAudit(options) {
2225
- const client = new (0, _chunkAVOBDFQ5js.DeeplineClient)();
2226
+ const client = new (0, _chunkUXLJZ4XQjs.DeeplineClient)();
2226
2227
  const fleetId = _optionalChain([options, 'access', _73 => _73.fleet, 'optionalAccess', _74 => _74.trim, 'call', _75 => _75()]) || void 0;
2227
2228
  const scope = fleetId ? { fleetId } : {};
2228
2229
  let result = await client.monitors.audit(scope);
@@ -2266,7 +2267,7 @@ async function handleMonitorsAudit(options) {
2266
2267
  "",
2267
2268
  monitorHealthText(health)
2268
2269
  ].join("\n");
2269
- _chunkEWWWOKX2js.printCommandEnvelope.call(void 0,
2270
+ _chunk7F6KTNUPjs.printCommandEnvelope.call(void 0,
2270
2271
  { ...result, audit: { ...result.audit, totals }, health },
2271
2272
  { json: options.json, text }
2272
2273
  );
@@ -2279,10 +2280,10 @@ async function handleMonitorsRepair(options) {
2279
2280
  }
2280
2281
  async function handleMonitorsHealth(options) {
2281
2282
  const fleetId = _optionalChain([options, 'access', _79 => _79.fleet, 'optionalAccess', _80 => _80.trim, 'call', _81 => _81()]) || void 0;
2282
- const health = await new (0, _chunkAVOBDFQ5js.DeeplineClient)().monitors.health(
2283
+ const health = await new (0, _chunkUXLJZ4XQjs.DeeplineClient)().monitors.health(
2283
2284
  fleetId ? { fleetId } : {}
2284
2285
  );
2285
- _chunkEWWWOKX2js.printCommandEnvelope.call(void 0, health, {
2286
+ _chunk7F6KTNUPjs.printCommandEnvelope.call(void 0, health, {
2286
2287
  json: options.json,
2287
2288
  text: monitorHealthText(health)
2288
2289
  });
@@ -2356,14 +2357,14 @@ async function handleMonitorBatchDeploy(options) {
2356
2357
  "deploy",
2357
2358
  options.idempotencyKey
2358
2359
  );
2359
- const result = await new (0, _chunkAVOBDFQ5js.DeeplineClient)().monitors.batch.submit({
2360
+ const result = await new (0, _chunkUXLJZ4XQjs.DeeplineClient)().monitors.batch.submit({
2360
2361
  kind: "deploy",
2361
2362
  manifestNdjson,
2362
2363
  dryRun: options.dryRun === true,
2363
2364
  idempotencyKey
2364
2365
  });
2365
2366
  const operation = result.operation;
2366
- _chunkEWWWOKX2js.printCommandEnvelope.call(void 0,
2367
+ _chunk7F6KTNUPjs.printCommandEnvelope.call(void 0,
2367
2368
  { ...result, idempotency_key: idempotencyKey },
2368
2369
  {
2369
2370
  json: options.json,
@@ -2391,7 +2392,7 @@ async function handleMonitorBatch(kind, options) {
2391
2392
  kind,
2392
2393
  options.idempotencyKey
2393
2394
  );
2394
- const result = await new (0, _chunkAVOBDFQ5js.DeeplineClient)().monitors.batch.submit({
2395
+ const result = await new (0, _chunkUXLJZ4XQjs.DeeplineClient)().monitors.batch.submit({
2395
2396
  kind,
2396
2397
  scope,
2397
2398
  dryRun: options.dryRun === true,
@@ -2404,14 +2405,14 @@ async function handleMonitorBatch(kind, options) {
2404
2405
  `state ${operation.state} \xB7 retry key ${idempotencyKey}`,
2405
2406
  `inspect: deepline monitors batch get ${operation.runId}`
2406
2407
  ].join("\n");
2407
- _chunkEWWWOKX2js.printCommandEnvelope.call(void 0,
2408
+ _chunk7F6KTNUPjs.printCommandEnvelope.call(void 0,
2408
2409
  { ...result, idempotency_key: idempotencyKey },
2409
2410
  { json: options.json, text: `${text}
2410
2411
  ` }
2411
2412
  );
2412
2413
  }
2413
2414
  async function handleMonitorBatchGet(operationId, options) {
2414
- const result = await new (0, _chunkAVOBDFQ5js.DeeplineClient)().monitors.batch.get(operationId, {
2415
+ const result = await new (0, _chunkUXLJZ4XQjs.DeeplineClient)().monitors.batch.get(operationId, {
2415
2416
  ...options.cursor ? { cursor: options.cursor } : {}
2416
2417
  });
2417
2418
  const summary = _nullishCoalesce(result.operation.summary, () => ( {}));
@@ -2423,7 +2424,7 @@ async function handleMonitorBatchGet(operationId, options) {
2423
2424
  `results ${result.results.page.length}${result.results.isDone ? "" : " (more; pass --cursor)"}`
2424
2425
  ] : []
2425
2426
  ].join("\n");
2426
- _chunkEWWWOKX2js.printCommandEnvelope.call(void 0, result, { json: options.json, text: `${text}
2427
+ _chunk7F6KTNUPjs.printCommandEnvelope.call(void 0, result, { json: options.json, text: `${text}
2427
2428
  ` });
2428
2429
  }
2429
2430
  function registerMonitorsCommands(program) {
@@ -2710,8 +2711,10 @@ Examples:
2710
2711
  "after",
2711
2712
  `
2712
2713
  Notes:
2713
- Read-only. A monitor has one of three customer states: active,
2714
- billing_suspended, or disabled. Provisioning, cleanup, retries, and failures
2714
+ Read-only. A monitor has one of four customer states: active, provisioning,
2715
+ billing_suspended, or disabled. provisioning means the create was recorded
2716
+ but the provider has not confirmed the monitor yet; it delivers no events and
2717
+ does not bill until it becomes active. Cleanup, retries, and failures
2715
2718
  are reported by Monitor Jobs; provider disagreement is reported separately by
2716
2719
  audit/health. The output echoes the canonical state filter that was applied.
2717
2720
  The legacy --status flag remains accepted for installed clients. The response reports
@@ -2726,6 +2729,7 @@ Notes:
2726
2729
 
2727
2730
  Examples:
2728
2731
  deepline monitors list
2732
+ deepline monitors list --state provisioning
2729
2733
  deepline monitors list --state billing_suspended
2730
2734
  deepline monitors list --state all
2731
2735
  deepline monitors list --status all
@@ -2734,10 +2738,10 @@ Examples:
2734
2738
  `
2735
2739
  ).option(
2736
2740
  "--state <state>",
2737
- "Filter by customer state: active (default), billing_suspended, disabled, or all"
2741
+ "Filter by customer state: active (default), provisioning, billing_suspended, disabled, or all"
2738
2742
  ).option(
2739
2743
  "--status <status>",
2740
- "Deprecated compatibility filter; use --state (active, billing_suspended, disabled, or all)"
2744
+ "Deprecated compatibility filter; use --state (active, provisioning, billing_suspended, disabled, or all)"
2741
2745
  ).option("--limit <n>", "Limit the number of deployed monitors returned").option(
2742
2746
  "--cursor <cursor>",
2743
2747
  "Page past a truncated result using the next_cursor from a prior list response"
@@ -2901,6 +2905,8 @@ Notes:
2901
2905
  DESTRUCTIVE. Deprovisions the upstream provider resource and removes its
2902
2906
  Deepline-managed monitor. Retries are safe: a delete that already reached its requested terminal state
2903
2907
  returns already_deleted without making another upstream call.
2908
+ A delete of a provisioning monitor returns delete_pending: true; the monitor
2909
+ is deleted as soon as its create settles.
2904
2910
  --dry-run shows the delete plan without deleting anything.
2905
2911
  Interactive terminals get a y/N confirmation; non-interactive runs (agents,
2906
2912
  scripts, pipes) must pass --yes.
@@ -3204,10 +3210,10 @@ Example:
3204
3210
  const deployed = withJsonOption(
3205
3211
  monitors.command("deployed", { hidden: true }).description("Alias of `monitors list` (plus get/update/delete aliases).").option(
3206
3212
  "--state <state>",
3207
- "Filter by customer state: active (default), billing_suspended, disabled, or all"
3213
+ "Filter by customer state: active (default), provisioning, billing_suspended, disabled, or all"
3208
3214
  ).option(
3209
3215
  "--status <status>",
3210
- "Deprecated compatibility filter; use --state (active, billing_suspended, disabled, or all)"
3216
+ "Deprecated compatibility filter; use --state (active, provisioning, billing_suspended, disabled, or all)"
3211
3217
  ).option("--limit <n>", "Limit the number of deployed monitors returned").option(
3212
3218
  "--cursor <cursor>",
3213
3219
  "Page past a truncated result using the next_cursor from a prior list response"