deepline 0.3.369 → 0.3.371

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 (120) hide show
  1. package/README.md +1 -1
  2. package/dist/bundling-sources/sdk/src/client.ts +8 -8
  3. package/dist/bundling-sources/sdk/src/release.ts +1 -7
  4. package/dist/bundling-sources/sdk/src/runs/overview.ts +7 -7
  5. package/dist/bundling-sources/sdk/src/tool-output.ts +5 -1
  6. package/dist/bundling-sources/sdk/src/types.ts +2 -2
  7. package/dist/bundling-sources/shared_libs/monitors/fleets/errors.ts +5 -5
  8. package/dist/bundling-sources/shared_libs/monitors/fleets/limits.ts +4 -2
  9. package/dist/bundling-sources/shared_libs/monitors/http-error-response.ts +18 -18
  10. package/dist/bundling-sources/shared_libs/monitors/provider-monitor-capability.ts +1 -1
  11. package/dist/bundling-sources/shared_libs/play-runtime/context.ts +2 -2
  12. package/dist/bundling-sources/shared_libs/play-runtime/dataset-lifecycle-log.ts +1 -1
  13. package/dist/bundling-sources/shared_libs/play-runtime/runner-app/index.ts +1 -1
  14. package/dist/bundling-sources/shared_libs/plays/launch/input-contract.ts +34 -9
  15. package/dist/cli/auth-DQVK3ZI6.js +33 -0
  16. package/dist/cli/{auth-F5YPFL6L.mjs → auth-LCSEXQA2.mjs} +4 -4
  17. package/dist/cli/{billing-3HHLCETY.js → billing-KISDL67A.js} +148 -148
  18. package/dist/cli/{billing-LNO6FPPM.mjs → billing-Z7PLJC5C.mjs} +79 -79
  19. package/dist/cli/{chunk-MX53GIOB.js → chunk-2JRRXXTA.js} +2 -2
  20. package/dist/cli/{chunk-COEBGYBW.mjs → chunk-2L6LBJVC.mjs} +193 -187
  21. package/dist/cli/{chunk-H4N6FMJ5.mjs → chunk-3FTYFVYN.mjs} +5 -5
  22. package/dist/cli/{chunk-Z6B4UPM4.mjs → chunk-3GK3SH3G.mjs} +2 -2
  23. package/dist/cli/{chunk-KGZRUGL7.js → chunk-44SHFHA3.js} +17 -17
  24. package/dist/cli/{chunk-QFBHEQCQ.mjs → chunk-46JCJ7FT.mjs} +56 -97
  25. package/dist/cli/{chunk-6A3GNWSU.js → chunk-5BCVKWLV.js} +17 -17
  26. package/dist/cli/{chunk-TRRFXE4X.mjs → chunk-5S525TQV.mjs} +2 -2
  27. package/dist/cli/{chunk-X6FNDFTD.js → chunk-5Z7JFUNX.js} +26 -26
  28. package/dist/cli/{chunk-JGLIB4JN.mjs → chunk-73NIXYKH.mjs} +90 -50
  29. package/dist/cli/{chunk-2AENFV3B.js → chunk-A7X7KFXX.js} +4 -4
  30. package/dist/cli/{chunk-KU4X5TWN.mjs → chunk-AIZKDTFF.mjs} +11 -11
  31. package/dist/cli/{chunk-ERMXQOIV.js → chunk-BO3ADIBV.js} +8 -8
  32. package/dist/cli/{chunk-FXVRQHJC.js → chunk-C3IPN4E6.js} +17 -17
  33. package/dist/cli/{chunk-LH3BV773.js → chunk-C553OZGG.js} +10 -10
  34. package/dist/cli/{chunk-EJC3INZD.mjs → chunk-DOXAN2I7.mjs} +3 -3
  35. package/dist/cli/{chunk-XH3EIQAZ.js → chunk-DPVBWLBF.js} +419 -413
  36. package/dist/cli/{chunk-PRMAO43X.js → chunk-DQMTJXLK.js} +145 -105
  37. package/dist/cli/{chunk-NXDRDJ4K.js → chunk-E5UD3JDQ.js} +3 -1
  38. package/dist/cli/{chunk-U5VEW7LL.mjs → chunk-IWY7T6MR.mjs} +1 -1
  39. package/dist/cli/{chunk-MIMASXO4.mjs → chunk-JB6ERQUV.mjs} +3 -1
  40. package/dist/cli/{chunk-QILHWZFP.js → chunk-JSK6GUY6.js} +56 -97
  41. package/dist/cli/{chunk-VUYCB2RY.mjs → chunk-KBJO7HIF.mjs} +9 -9
  42. package/dist/cli/{chunk-SDOPEZYS.mjs → chunk-KGRAQ4OR.mjs} +6 -6
  43. package/dist/cli/{chunk-5IXQ6VP4.mjs → chunk-KKRRIFR3.mjs} +1 -1
  44. package/dist/cli/{chunk-74XTRGY5.js → chunk-N34UX4TW.js} +2 -2
  45. package/dist/cli/{chunk-KR5NWPWI.js → chunk-NMDNUOVI.js} +1 -6
  46. package/dist/cli/{chunk-YCLPW7QO.mjs → chunk-SEDS6ZVR.mjs} +10 -10
  47. package/dist/cli/{chunk-RIT4UED6.mjs → chunk-SENW5J4O.mjs} +5 -5
  48. package/dist/cli/{chunk-P7W5OMQ6.js → chunk-TT2YWFYW.js} +53 -53
  49. package/dist/cli/{chunk-OEQC4QLU.js → chunk-YENBXYUH.js} +68 -68
  50. package/dist/cli/{chunk-4RVNJQ7D.mjs → chunk-YYFLULK7.mjs} +1 -6
  51. package/dist/cli/client-JFSRNUVD.js +20 -0
  52. package/dist/cli/{client-HURLYTDV.mjs → client-Z3Z5EDDJ.mjs} +3 -3
  53. package/dist/cli/command-docs.js +2 -2
  54. package/dist/cli/command-docs.mjs +1 -1
  55. package/dist/cli/{csv-ZECPS6DF.mjs → csv-TEVHLGGA.mjs} +3 -3
  56. package/dist/cli/{csv-BZ7QNGLU.js → csv-XGFXV7JE.js} +12 -12
  57. package/dist/cli/{db-JXLCCIML.js → db-LLZJ7UH5.js} +42 -43
  58. package/dist/cli/{db-EUNDS5UG.mjs → db-OB7PMWSZ.mjs} +17 -18
  59. package/dist/cli/{describe-L6LADCXI.mjs → describe-GZIRANUZ.mjs} +12 -12
  60. package/dist/cli/{describe-DNDL3TC6.js → describe-NWU7LI3I.js} +28 -28
  61. package/dist/cli/{executions-GPKPWEHO.js → executions-64YZGSOW.js} +6 -6
  62. package/dist/cli/{executions-GRCD2GHT.mjs → executions-7UZ3ZGJ3.mjs} +4 -4
  63. package/dist/cli/{feedback-5WG2HNZ6.mjs → feedback-2WRQRW3U.mjs} +8 -8
  64. package/dist/cli/{feedback-VJCNBYVQ.js → feedback-MN5CXULH.js} +12 -12
  65. package/dist/cli/{git-3G5Q4TPI.mjs → git-BPYVLLTY.mjs} +4 -4
  66. package/dist/cli/git-TJIPVSAE.js +23 -0
  67. package/dist/cli/index.js +98 -109
  68. package/dist/cli/index.mjs +46 -57
  69. package/dist/cli/{legacy-noops-YAO3LDPI.js → legacy-noops-VMXJPLMW.js} +9 -9
  70. package/dist/cli/{legacy-noops-7WLCNXLD.mjs → legacy-noops-ZRPWEPX6.mjs} +6 -6
  71. package/dist/cli/{monitors-NRQN7M3A.mjs → monitors-5BRTBL7E.mjs} +59 -59
  72. package/dist/cli/{monitors-MQ6KNDOH.js → monitors-OQSI2VOL.js} +140 -140
  73. package/dist/cli/{org-TGKGLAB4.js → org-F5QS3HG4.js} +88 -87
  74. package/dist/cli/{org-X46ICV24.mjs → org-SMZ7AGR3.mjs} +28 -27
  75. package/dist/cli/{play-PCLCMTVK.mjs → play-CJZNLQL7.mjs} +10 -8
  76. package/dist/cli/play-K7HE4LBB.js +155 -0
  77. package/dist/cli/{providers-T2S532QL.mjs → providers-CBWXJRDG.mjs} +7 -7
  78. package/dist/cli/{providers-IPH3TV6J.js → providers-SH2HYOVR.js} +10 -10
  79. package/dist/cli/{quickstart-6CO5FGYE.mjs → quickstart-342ENF6Q.mjs} +4 -4
  80. package/dist/cli/{quickstart-GXFHMZL7.js → quickstart-B6EL7WDG.js} +6 -6
  81. package/dist/cli/{search-6HML4FB2.mjs → search-E7DKH3SI.mjs} +5 -5
  82. package/dist/cli/search-SEEYCQED.js +26 -0
  83. package/dist/cli/{secrets-KCNIINW5.mjs → secrets-FSYIPRVS.mjs} +5 -5
  84. package/dist/cli/{secrets-J6T743DQ.js → secrets-M2AW5RGE.js} +14 -14
  85. package/dist/cli/{sessions-ABXL2OZV.js → sessions-AFE4C3FQ.js} +5 -5
  86. package/dist/cli/{sessions-FQHM34TD.mjs → sessions-DJPGWPNA.mjs} +4 -4
  87. package/dist/cli/{settings-3UXXWUZ3.mjs → settings-KLN2A3PQ.mjs} +10 -10
  88. package/dist/cli/{settings-HB5DSAUW.js → settings-VUWBNATC.js} +77 -77
  89. package/dist/cli/{setup-2MOBCKAB.mjs → setup-BE6N5YV6.mjs} +15 -15
  90. package/dist/cli/{setup-TMJJLEYX.js → setup-I5IMTQCX.js} +50 -50
  91. package/dist/cli/skills-7XH5GMZB.js +28 -0
  92. package/dist/cli/{skills-LWS7PNTF.mjs → skills-GSNPQDUG.mjs} +4 -4
  93. package/dist/cli/tools-JCL4ABAF.js +40 -0
  94. package/dist/cli/{tools-TIUE2AK7.mjs → tools-ORCGHV4P.mjs} +8 -8
  95. package/dist/cli/{update-IYXAP5MI.mjs → update-UXEUWVWS.mjs} +6 -6
  96. package/dist/cli/update-YNZOS77Z.js +28 -0
  97. package/dist/cli/{workflow-3CVYOEKJ.mjs → workflow-JBQY7JJN.mjs} +7 -7
  98. package/dist/cli/{workflow-SGF3DFKJ.js → workflow-R7SDICTU.js} +17 -17
  99. package/dist/{client-CjHv4K6D.d.mts → client-CZFMQEgO.d.mts} +6 -6
  100. package/dist/{client-rTuhNN-x.d.ts → client-CgSwpnb-.d.ts} +6 -6
  101. package/dist/index.d.mts +2 -2
  102. package/dist/index.d.ts +2 -2
  103. package/dist/index.js +15 -15
  104. package/dist/index.mjs +4 -4
  105. package/dist/install-integrity.json +82 -82
  106. package/dist/plays/run-request.d.mts +1 -1
  107. package/dist/plays/run-request.d.ts +1 -1
  108. package/dist/release.d.mts +1 -5
  109. package/dist/release.d.ts +1 -5
  110. package/dist/release.js +2 -2
  111. package/dist/release.mjs +1 -1
  112. package/package.json +1 -1
  113. package/dist/cli/auth-L3ZF67G5.js +0 -33
  114. package/dist/cli/client-HL2AHZPQ.js +0 -20
  115. package/dist/cli/git-MSJ6SFLT.js +0 -23
  116. package/dist/cli/play-TJBPVFUK.js +0 -153
  117. package/dist/cli/search-34MPYWVW.js +0 -26
  118. package/dist/cli/skills-D3IIQSUK.js +0 -28
  119. package/dist/cli/tools-XWUSCNVK.js +0 -40
  120. package/dist/cli/update-7O5MXP5K.js +0 -28
@@ -1,7 +1,7 @@
1
1
  import "./chunk-EXMLR72R.mjs";
2
2
  import {
3
3
  DeeplineClient
4
- } from "./chunk-VUYCB2RY.mjs";
4
+ } from "./chunk-KBJO7HIF.mjs";
5
5
  import "./chunk-6IKARAYD.mjs";
6
6
  import "./chunk-CBVIJSHF.mjs";
7
7
  import {
@@ -17,15 +17,15 @@ import {
17
17
  printCommandEnvelope,
18
18
  printJson,
19
19
  shouldEmitJson
20
- } from "./chunk-EJC3INZD.mjs";
20
+ } from "./chunk-DOXAN2I7.mjs";
21
21
  import {
22
22
  AuthError
23
- } from "./chunk-5IXQ6VP4.mjs";
23
+ } from "./chunk-KKRRIFR3.mjs";
24
24
  import "./chunk-DLIRSHV6.mjs";
25
25
  import {
26
26
  DeeplineError
27
27
  } from "./chunk-NXGCO4JB.mjs";
28
- import "./chunk-4RVNJQ7D.mjs";
28
+ import "./chunk-YYFLULK7.mjs";
29
29
  import "./chunk-WZYKRD7T.mjs";
30
30
  import "./chunk-KRD6H754.mjs";
31
31
 
@@ -34,7 +34,7 @@ import { randomUUID } from "crypto";
34
34
  import { readFileSync, writeFileSync } from "fs";
35
35
  import { resolve } from "path";
36
36
  import { createInterface } from "readline/promises";
37
- var JSON_OPTION_DESCRIPTION = "Emit JSON output. Also automatic when stdout is piped";
37
+ var JSON_OPTION_DESCRIPTION = "Emit JSON output";
38
38
  function withJsonOption(command) {
39
39
  return command.option("--json", JSON_OPTION_DESCRIPTION);
40
40
  }
@@ -78,10 +78,10 @@ function monitorsFailureNextCommand(error, exitCode, options) {
78
78
  return "deepline monitors status";
79
79
  }
80
80
  if (error instanceof DeeplineError && error.code === "monitor_tool_not_found") {
81
- return "deepline monitors available --json";
81
+ return "deepline monitors available";
82
82
  }
83
- if (exitCode === 3) return "deepline auth status --json";
84
- if (exitCode === 4) return "deepline monitors list --status all --json";
83
+ if (exitCode === 3) return "deepline auth status";
84
+ if (exitCode === 4) return "deepline monitors list --status all";
85
85
  return void 0;
86
86
  }
87
87
  function readValidationIssues(error) {
@@ -437,7 +437,7 @@ function renderMonitorDeployPlan(payload) {
437
437
  "",
438
438
  "You may already have a monitor covering this \u2014 check before deploying:",
439
439
  ...candidateLines,
440
- " Inspect: deepline monitors get <key> --json"
440
+ " Inspect: deepline monitors get <key>"
441
441
  );
442
442
  }
443
443
  const identityConflict = asRecord(payload.identity_conflict);
@@ -455,7 +455,7 @@ function renderMonitorDeployPlan(payload) {
455
455
  lines.push(
456
456
  "",
457
457
  `An existing monitor owns this upstream identity: ${identityOwnerKey}.`,
458
- `Inspect: deepline monitors get ${identityOwnerKey} --json`,
458
+ `Inspect: deepline monitors get ${identityOwnerKey}`,
459
459
  "Do not deploy this key unless that conflict is resolved."
460
460
  );
461
461
  } else {
@@ -508,7 +508,7 @@ function renderMonitorReactivatePlan(payload, key) {
508
508
  function assertMonitorDryRunAcknowledged(payload, context) {
509
509
  if (payload.dry_run === true) return;
510
510
  throw new MonitorDryRunUnsupportedError(
511
- `${context.command} --dry-run: the server response did not acknowledge dry-run mode (missing "dry_run": true). This Deepline server may not support --dry-run for ${context.mutation}, so the response cannot be trusted as a plan. Nothing was rendered as a plan. Verify current state with \`deepline monitors get <key> --json\`, and re-run without --dry-run only when you intend the real ${context.mutation}.`
511
+ `${context.command} --dry-run: the server response did not acknowledge dry-run mode (missing "dry_run": true). This Deepline server may not support --dry-run for ${context.mutation}, so the response cannot be trusted as a plan. Nothing was rendered as a plan. Verify current state with \`deepline monitors get <key>\`, and re-run without --dry-run only when you intend the real ${context.mutation}.`
512
512
  );
513
513
  }
514
514
  function monitorDeleteRequiresYesError(key) {
@@ -572,7 +572,7 @@ function renderAvailableToolsText(payload) {
572
572
  "",
573
573
  "Next:",
574
574
  " Inspect payload fields, output columns, and a play binding:",
575
- " deepline monitors available <provider.tool> --json",
575
+ " deepline monitors available <provider.tool>",
576
576
  " See monitors already deployed in this workspace:",
577
577
  " deepline monitors list",
578
578
  " Validate a monitor definition before deploying:",
@@ -686,7 +686,7 @@ function renderDeployedListText(payload, requestedStatus, filterKind = "status")
686
686
  );
687
687
  }
688
688
  if (monitors.length > 0) {
689
- lines.push("", "Inspect one: deepline monitors get <key> --json");
689
+ lines.push("", "Inspect one: deepline monitors get <key>");
690
690
  }
691
691
  return `${lines.join("\n")}
692
692
  `;
@@ -922,7 +922,7 @@ async function handleNamedMonitorBatchSync(batchId, options) {
922
922
  dry_run: true,
923
923
  batch: { id: batchId, desired_count: lint.normalized.monitors.length },
924
924
  issues: lint.issues,
925
- next: `deepline monitors batches sync ${batchId} --file ${options.file} --idempotency-key <stable-key> --json`
925
+ next: `deepline monitors batches sync ${batchId} --file ${options.file} --idempotency-key <stable-key>`
926
926
  },
927
927
  { json: options.json }
928
928
  );
@@ -953,7 +953,7 @@ async function handleNamedMonitorBatchLifecycle(batchId, intent, options) {
953
953
  ok: true,
954
954
  dry_run: true,
955
955
  batch: { id: batchId, intent },
956
- next: `deepline monitors batches ${intent} ${batchId} --idempotency-key <stable-key> --json`
956
+ next: `deepline monitors batches ${intent} ${batchId} --idempotency-key <stable-key>`
957
957
  },
958
958
  { json: options.json }
959
959
  );
@@ -1109,7 +1109,7 @@ var MONITOR_FLEET_COMMANDS = [
1109
1109
  }
1110
1110
  ];
1111
1111
  var MONITOR_FLEET_AGENT_NOTES = [
1112
- "Add --json for stable output; stdout is always exactly one JSON object.",
1112
+ "Pass --json only when a program parses the output; stdout is then exactly one JSON object.",
1113
1113
  "Every error includes a runnable `next` command \u2014 run it, do not guess.",
1114
1114
  "Exit 5 = retry the same command; 6 = inspect counts with `get --drift`; 7 = change the request."
1115
1115
  ];
@@ -1457,7 +1457,7 @@ async function handleMonitorFleetsInit(fleetId, options) {
1457
1457
  const file = resolve(out);
1458
1458
  writeFileSync(file, `${JSON.stringify(definition, null, 2)}
1459
1459
  `, "utf8");
1460
- const next = `deepline monitors fleets deploy --file ${fleetShellArg(file)} --dry-run --json`;
1460
+ const next = `deepline monitors fleets deploy --file ${fleetShellArg(file)} --dry-run`;
1461
1461
  printCommandEnvelope(
1462
1462
  { schemaVersion: 2, file, definition, next },
1463
1463
  {
@@ -1571,7 +1571,7 @@ async function handleMonitorFleetsSync(target, options, idempotencyKey) {
1571
1571
  printCommandEnvelope(envelope, { json: options.json, text: summary });
1572
1572
  return;
1573
1573
  }
1574
- const driftCommand = `deepline monitors fleets get ${fleetShellArg(fleetId)} --drift --json`;
1574
+ const driftCommand = `deepline monitors fleets get ${fleetShellArg(fleetId)} --drift`;
1575
1575
  if (status === "degraded") {
1576
1576
  reportFleetState(
1577
1577
  envelope,
@@ -1626,7 +1626,7 @@ async function handleMonitorFleetsGet(fleetId, options) {
1626
1626
  new MonitorFleetStateError({
1627
1627
  code: degraded ? "MONITOR_FLEET_DEGRADED" : "MONITOR_FLEET_NOT_CONVERGED",
1628
1628
  message: degraded ? `Fleet ${target} is degraded: members are stuck and retrying will not move them.` : `Fleet ${target} has not converged yet.`,
1629
- next: fleetServerNext(payload) ?? `deepline monitors fleets get ${fleetShellArg(target)} --drift --json`
1629
+ next: fleetServerNext(payload) ?? `deepline monitors fleets get ${fleetShellArg(target)} --drift`
1630
1630
  }),
1631
1631
  { json: options.json, text }
1632
1632
  );
@@ -1692,7 +1692,7 @@ async function handleMonitorFleetsReactivate(fleetId, options, idempotencyKey) {
1692
1692
  new MonitorFleetStateError({
1693
1693
  code: "MONITOR_FLEET_WAIT_TIMEOUT",
1694
1694
  message: `Stopped waiting after ${timeoutMs}ms. Fleet ${fleetId} recovery is still in progress on the server.`,
1695
- next: fleetServerNext(final) ?? `deepline monitors fleets get ${fleetShellArg(fleetId)} --json`
1695
+ next: fleetServerNext(final) ?? `deepline monitors fleets get ${fleetShellArg(fleetId)}`
1696
1696
  }),
1697
1697
  { json: options.json, text }
1698
1698
  );
@@ -1816,7 +1816,7 @@ Preview the blast radius first:
1816
1816
  new MonitorFleetStateError({
1817
1817
  code: "MONITOR_FLEET_WAIT_TIMEOUT",
1818
1818
  message: `Stopped waiting after ${timeoutMs}ms. Deactivation of fleet ${fleetId} is still in progress on the server; nothing was lost.`,
1819
- next: fleetServerNext(final) ?? `deepline monitors fleets get ${fleetShellArg(fleetId)} --json`
1819
+ next: fleetServerNext(final) ?? `deepline monitors fleets get ${fleetShellArg(fleetId)}`
1820
1820
  }),
1821
1821
  { json: options.json, text: summary }
1822
1822
  );
@@ -1910,7 +1910,7 @@ function renderMonitorGet(payload) {
1910
1910
  lines.push(
1911
1911
  "",
1912
1912
  `Sample test payload: ${JSON.stringify(samplePayload)}`,
1913
- ` deepline monitors test ${key} '${JSON.stringify(samplePayload)}' --json`
1913
+ ` deepline monitors test ${key} '${JSON.stringify(samplePayload)}'`
1914
1914
  );
1915
1915
  }
1916
1916
  const monitorSpec = asRecord(payload.monitor_spec);
@@ -1976,7 +1976,7 @@ function renderMonitorGet(payload) {
1976
1976
  }
1977
1977
  }
1978
1978
  if (payload.consumer_health_truncated === true) {
1979
- lines.push(" Results are truncated; use --json for the returned detail.");
1979
+ lines.push(" Results are truncated.");
1980
1980
  }
1981
1981
  lines.push("", `Dependent published plays (${plays.length}):`);
1982
1982
  if (plays.length === 0) {
@@ -1994,7 +1994,7 @@ function renderMonitorGet(payload) {
1994
1994
  }
1995
1995
  }
1996
1996
  if (dependents?.truncated === true) {
1997
- lines.push(" Results are truncated; use --json for the returned detail.");
1997
+ lines.push(" Results are truncated.");
1998
1998
  }
1999
1999
  return `${lines.join("\n")}
2000
2000
  `;
@@ -2202,7 +2202,7 @@ function monitorHealthText(health) {
2202
2202
  `${health.alignment_required} monitor(s) need provider identity alignment; normal repair intentionally will not guess or create a paid replacement.`
2203
2203
  );
2204
2204
  lines.push(
2205
- `Run the exact inventory audit, then review one safe adoption candidate: deepline-admin monitors reconcile ${health.scope.org_id} --monitor <monitor-key> --environment production --json`
2205
+ `Run the exact inventory audit, then review one safe adoption candidate: deepline-admin monitors reconcile ${health.scope.org_id} --monitor <monitor-key> --environment production`
2206
2206
  );
2207
2207
  }
2208
2208
  if (health.worst_offenders.length > 0) {
@@ -2346,7 +2346,7 @@ async function handleMonitorBatchDeploy(options) {
2346
2346
  }
2347
2347
  if (isCanonicalBatchJsonDocument(manifestNdjson)) {
2348
2348
  throw new MonitorsUsageError(
2349
- "Canonical Batch JSON cannot use --dry-run or --yes; those flags select the retained legacy NDJSON operation. Run `deepline monitors batch lint --file <batch.json> --json`, then submit the Monitor Job with `deepline monitors batch deploy --file <batch.json> --idempotency-key <key> --json`."
2349
+ "Canonical Batch JSON cannot use --dry-run or --yes; those flags select the retained legacy NDJSON operation. Run `deepline monitors batch lint --file <batch.json>`, then submit the Monitor Job with `deepline monitors batch deploy --file <batch.json> --idempotency-key <key>`."
2350
2350
  );
2351
2351
  }
2352
2352
  const idempotencyKey = monitorBatchIdempotencyKey(
@@ -2367,7 +2367,7 @@ async function handleMonitorBatchDeploy(options) {
2367
2367
  text: [
2368
2368
  `${result.rejoined ? "rejoined" : "submitted"} deploy batch ${operation.runId}`,
2369
2369
  `state ${operation.state} \xB7 retry key ${idempotencyKey}`,
2370
- `inspect: deepline monitors batch get ${operation.runId} --json`
2370
+ `inspect: deepline monitors batch get ${operation.runId}`
2371
2371
  ].join("\n") + "\n"
2372
2372
  }
2373
2373
  );
@@ -2399,7 +2399,7 @@ async function handleMonitorBatch(kind, options) {
2399
2399
  const text = [
2400
2400
  `${result.rejoined ? "rejoined" : "submitted"} ${operation.kind} batch ${operation.runId}`,
2401
2401
  `state ${operation.state} \xB7 retry key ${idempotencyKey}`,
2402
- `inspect: deepline monitors batch get ${operation.runId} --json`
2402
+ `inspect: deepline monitors batch get ${operation.runId}`
2403
2403
  ].join("\n");
2404
2404
  printCommandEnvelope(
2405
2405
  { ...result, idempotency_key: idempotencyKey },
@@ -2446,15 +2446,15 @@ Exit codes:
2446
2446
  \`monitors status\` exits 1 when you lack monitor access (documented contract).
2447
2447
 
2448
2448
  Examples:
2449
- deepline monitors status --json
2450
- deepline tools list --categories monitors --json
2449
+ deepline monitors status
2450
+ deepline tools list --categories monitors
2451
2451
  deepline describe deepline_native.company_radar
2452
2452
  deepline monitors check '{"key":"job-openings","tool":"deepline_native.company_radar","payload":{"domain":"stripe.com","radar_type":"company_job_openings"}}'
2453
2453
  deepline monitors deploy --dry-run --file monitor.json
2454
2454
  deepline monitors deploy --file monitor.json
2455
- deepline monitors list --status all --json
2456
- deepline monitors get my-monitor --json
2457
- deepline monitors update my-monitor '{"name":"Interested replies"}' --json
2455
+ deepline monitors list --status all
2456
+ deepline monitors get my-monitor
2457
+ deepline monitors update my-monitor '{"name":"Interested replies"}'
2458
2458
  deepline monitors delete my-monitor --dry-run
2459
2459
  deepline monitors reactivate my-monitor --dry-run
2460
2460
  `
@@ -2479,7 +2479,7 @@ Notes:
2479
2479
 
2480
2480
  Examples:
2481
2481
  deepline monitors audit
2482
- deepline monitors audit --fleet accounts-eu --json
2482
+ deepline monitors audit --fleet accounts-eu
2483
2483
  deepline monitors audit --fleet accounts-eu --watch --timeout 5m
2484
2484
  `
2485
2485
  )
@@ -2503,7 +2503,7 @@ Notes:
2503
2503
  is selected for repair; current Convex writes cannot create that state.
2504
2504
 
2505
2505
  It returns a run id immediately. Inspect retained results with
2506
- 'deepline monitors batch get <run-id> --json'. Reuse --idempotency-key after
2506
+ 'deepline monitors batch get <run-id>'. Reuse --idempotency-key after
2507
2507
  a lost response to rejoin the exact run without another provider request.
2508
2508
 
2509
2509
  Examples:
@@ -2528,7 +2528,7 @@ Notes:
2528
2528
 
2529
2529
  Examples:
2530
2530
  deepline monitors health
2531
- deepline monitors health --fleet accounts-eu --json
2531
+ deepline monitors health --fleet accounts-eu
2532
2532
  `
2533
2533
  )
2534
2534
  ).action(monitorsAction(handleMonitorsHealth));
@@ -2668,7 +2668,7 @@ Notes:
2668
2668
 
2669
2669
  Examples:
2670
2670
  deepline monitors status
2671
- deepline monitors status --json
2671
+ deepline monitors status
2672
2672
  `
2673
2673
  )
2674
2674
  ).action(monitorsAction(handleMonitorsStatus));
@@ -2689,10 +2689,10 @@ Notes:
2689
2689
 
2690
2690
  Examples:
2691
2691
  deepline monitors available
2692
- deepline monitors available --full --json
2693
- deepline monitors available --provider deepline_native --json
2694
- deepline monitors available deepline_native.company_radar --json
2695
- deepline monitors available --search jobs --json
2692
+ deepline monitors available --full
2693
+ deepline monitors available --provider deepline_native
2694
+ deepline monitors available deepline_native.company_radar
2695
+ deepline monitors available --search jobs
2696
2696
  `
2697
2697
  ).option("--provider <provider>", "Filter by provider").option(
2698
2698
  "--tool <tool>",
@@ -2723,11 +2723,11 @@ Notes:
2723
2723
 
2724
2724
  Examples:
2725
2725
  deepline monitors list
2726
- deepline monitors list --state billing_suspended --json
2727
- deepline monitors list --state all --json
2728
- deepline monitors list --status all --json
2729
- deepline monitors list --status all --cursor <next_cursor> --json
2730
- deepline monitors list --include-consumers --limit 20 --json
2726
+ deepline monitors list --state billing_suspended
2727
+ deepline monitors list --state all
2728
+ deepline monitors list --status all
2729
+ deepline monitors list --status all --cursor <next_cursor>
2730
+ deepline monitors list --include-consumers --limit 20
2731
2731
  `
2732
2732
  ).option(
2733
2733
  "--state <state>",
@@ -2760,7 +2760,7 @@ Notes:
2760
2760
  update so scope and downstream effects are visible.
2761
2761
 
2762
2762
  Examples:
2763
- deepline monitors get my-monitor --json
2763
+ deepline monitors get my-monitor
2764
2764
  `
2765
2765
  )
2766
2766
  ).action(monitorsAction(handleMonitorsGet));
@@ -2778,7 +2778,7 @@ Notes:
2778
2778
  payload.
2779
2779
 
2780
2780
  Examples:
2781
- deepline monitors test rb2b-website-visitors '{"LinkedIn URL":"https://www.linkedin.com/in/example","Website":"https://example.com"}' --json
2781
+ deepline monitors test rb2b-website-visitors '{"LinkedIn URL":"https://www.linkedin.com/in/example","Website":"https://example.com"}'
2782
2782
  `
2783
2783
  )
2784
2784
  ).action(monitorsAction(handleMonitorsTest));
@@ -2881,8 +2881,8 @@ previously unseen historical findings are chargeable. Filter-only updates,
2881
2881
  repair, and reactivation instead use a fresh future-only source boundary.
2882
2882
 
2883
2883
  Examples:
2884
- deepline monitors update my-monitor '{"name":"Interested replies"}' --json
2885
- deepline monitors update job-openings '{"payload":{"job_titles":"CEO OR CFO"}}' --json
2884
+ deepline monitors update my-monitor '{"name":"Interested replies"}'
2885
+ deepline monitors update job-openings '{"payload":{"job_titles":"CEO OR CFO"}}'
2886
2886
  deepline monitors update my-monitor --file patch.json
2887
2887
  `
2888
2888
  ).option(
@@ -2904,7 +2904,7 @@ returns already_deleted without making another upstream call.
2904
2904
 
2905
2905
  Examples:
2906
2906
  deepline monitors delete my-monitor --dry-run
2907
- deepline monitors delete my-monitor --yes --json
2907
+ deepline monitors delete my-monitor --yes
2908
2908
  `
2909
2909
  ).option("--dry-run", "Show the delete plan without deleting anything").option(
2910
2910
  "--yes",
@@ -2927,7 +2927,7 @@ Notes:
2927
2927
 
2928
2928
  Examples:
2929
2929
  deepline monitors reactivate my-monitor --dry-run
2930
- deepline monitors reactivate my-monitor --json
2930
+ deepline monitors reactivate my-monitor
2931
2931
  `
2932
2932
  ).option("--dry-run", "Show the reactivation cost without reactivating")
2933
2933
  ).action(monitorsAction(handleMonitorsReactivate));
@@ -3066,8 +3066,8 @@ Notes:
3066
3066
  Examples:
3067
3067
  deepline monitors fleets sync --file fleet.json --dry-run
3068
3068
  deepline monitors fleets sync --file fleet.json --wait --timeout 20m
3069
- deepline monitors fleets sync account-job-openings --wait --json
3070
- cat fleet.json | deepline monitors fleets sync --file - --dry-run --json
3069
+ deepline monitors fleets sync account-job-openings --wait
3070
+ cat fleet.json | deepline monitors fleets sync --file - --dry-run
3071
3071
  `
3072
3072
  ).option(
3073
3073
  "-f, --file <path>",
@@ -3115,9 +3115,9 @@ Notes:
3115
3115
  read-only here and are defined by each Play's sqlListeners.
3116
3116
 
3117
3117
  Examples:
3118
- deepline monitors fleets get --json
3119
- deepline monitors fleets get account-job-openings --json
3120
- deepline monitors fleets get account-job-openings --drift --limit 50 --json
3118
+ deepline monitors fleets get
3119
+ deepline monitors fleets get account-job-openings
3120
+ deepline monitors fleets get account-job-openings --drift --limit 50
3121
3121
  deepline monitors fleets get account-job-openings --check
3122
3122
  `
3123
3123
  ).option("--drift", "Include the members that have not settled, and why").option("--limit <n>", "Maximum drift rows to return").option(
@@ -3136,7 +3136,7 @@ Notes:
3136
3136
 
3137
3137
  Examples:
3138
3138
  deepline monitors fleets deactivate account-job-openings --dry-run
3139
- deepline monitors fleets deactivate account-job-openings --yes --wait --json
3139
+ deepline monitors fleets deactivate account-job-openings --yes --wait
3140
3140
  `
3141
3141
  ).option("--dry-run", "Show the blast radius without deactivating").option("--wait", "Poll until the fleet reports deactivated").option(
3142
3142
  "--timeout <duration>",
@@ -3176,7 +3176,7 @@ Notes:
3176
3176
  may restart lifecycle billing. A credit top-up alone never does this.
3177
3177
 
3178
3178
  Example:
3179
- deepline monitors fleets reactivate account-job-openings --yes --wait --json
3179
+ deepline monitors fleets reactivate account-job-openings --yes --wait
3180
3180
  `
3181
3181
  ).option("--wait", "Poll until the fleet reports converged").option(
3182
3182
  "--timeout <duration>",