@canonry/canonry 7.125.1 → 7.125.2

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.
@@ -47,7 +47,7 @@ function queueServeHandoff() {
47
47
  async function runPendingServeHandoff(format) {
48
48
  if (!pendingServeHandoff) return;
49
49
  pendingServeHandoff = false;
50
- const { serveCommand } = await import("./serve-FAQV2N7V.js");
50
+ const { serveCommand } = await import("./serve-SMBPWWOI.js");
51
51
  await serveCommand(format);
52
52
  }
53
53
 
@@ -7469,7 +7469,7 @@ var SYSTEM_CLI_COMMANDS = [
7469
7469
  options: { access: stringOption() },
7470
7470
  run: async (input) => {
7471
7471
  if (input.positionals.length > 1) throw usageError("Expected at most one command group");
7472
- const [{ printCliCatalog }, { REGISTERED_CLI_COMMANDS: REGISTERED_CLI_COMMANDS2 }] = await Promise.all([import("./cli-catalog-7WND6LOK.js"), import("./cli-commands-CRYAJ6CX.js")]);
7472
+ const [{ printCliCatalog }, { REGISTERED_CLI_COMMANDS: REGISTERED_CLI_COMMANDS2 }] = await Promise.all([import("./cli-catalog-7WND6LOK.js"), import("./cli-commands-BMVORBFI.js")]);
7473
7473
  printCliCatalog(REGISTERED_CLI_COMMANDS2, input.format, input.positionals[0], getString(input.values, "access"));
7474
7474
  }
7475
7475
  },
@@ -7518,7 +7518,7 @@ var SYSTEM_CLI_COMMANDS = [
7518
7518
  },
7519
7519
  allowPositionals: false,
7520
7520
  run: async (input) => {
7521
- const { initCommand } = await import("./init-FKTI62AC.js");
7521
+ const { initCommand } = await import("./init-72RAXVAL.js");
7522
7522
  await initCommand({
7523
7523
  force: getBoolean(input.values, "force"),
7524
7524
  ref: getString(input.values, "ref"),
@@ -7574,7 +7574,7 @@ var SYSTEM_CLI_COMMANDS = [
7574
7574
  allowPositionals: false,
7575
7575
  run: async (input) => {
7576
7576
  applyServerEnv(input.values);
7577
- const { serveCommand } = await import("./serve-FAQV2N7V.js");
7577
+ const { serveCommand } = await import("./serve-SMBPWWOI.js");
7578
7578
  await serveCommand(input.format);
7579
7579
  }
7580
7580
  },
@@ -6471,7 +6471,7 @@ function nonBlank(value) {
6471
6471
  return trimmed ? trimmed : void 0;
6472
6472
  }
6473
6473
  function resolveBuildCommit(env = process.env) {
6474
- const embedded = true ? "dbc642be4626c321bd0ddc4acca4012fd36aa919" : void 0;
6474
+ const embedded = true ? "a1bab1360e0d34fcdd8d89445d2b2e8e65ae01fa" : void 0;
6475
6475
  return nonBlank(embedded) ?? nonBlank(env.CANONRY_COMMIT);
6476
6476
  }
6477
6477
  function resolveInstanceIdentity(env = process.env) {
@@ -17180,6 +17180,12 @@ var Notifier = class {
17180
17180
  }
17181
17181
  async sendWebhook(url, payload, notificationId, projectId, webhookSecret) {
17182
17182
  const elapsed = startOutcomeTimer();
17183
+ if ("health" in payload) {
17184
+ payload = {
17185
+ ...payload,
17186
+ eventId: "evt_" + crypto25.createHash("sha256").update(JSON.stringify([projectId, notificationId, payload.event, payload.health.checkedAt])).digest("hex")
17187
+ };
17188
+ }
17183
17189
  const destination = resolveDestination(url);
17184
17190
  const body = destination.render ? destination.render(toAlertView(payload)) : payload;
17185
17191
  const signingSecret = destination.signed ? webhookSecret : null;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  REGISTERED_CLI_COMMANDS
3
- } from "./chunk-VO3SF4M7.js";
3
+ } from "./chunk-HEKYXSY6.js";
4
4
  import "./chunk-6GO5VVAC.js";
5
5
  import "./chunk-VJWDBFSL.js";
6
6
  import "./chunk-KAFKHQCB.js";
package/dist/cli.js CHANGED
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node --import tsx
2
2
  import {
3
3
  REGISTERED_CLI_COMMANDS
4
- } from "./chunk-VO3SF4M7.js";
4
+ } from "./chunk-HEKYXSY6.js";
5
5
  import "./chunk-6GO5VVAC.js";
6
6
  import {
7
7
  buildSetupState,
8
8
  runPendingServeHandoff
9
- } from "./chunk-RSNOILNQ.js";
9
+ } from "./chunk-7OQFD5BW.js";
10
10
  import "./chunk-VJWDBFSL.js";
11
11
  import "./chunk-KAFKHQCB.js";
12
12
  import "./chunk-TSENU4GG.js";
package/dist/index.js CHANGED
@@ -3,7 +3,7 @@ import {
3
3
  createGoogleMarketingCredentialStore,
4
4
  createGoogleMarketingRuntime,
5
5
  createServer
6
- } from "./chunk-QE5LQD2D.js";
6
+ } from "./chunk-TRYACZVH.js";
7
7
  import "./chunk-HPRUS76O.js";
8
8
  import "./chunk-CSU4E5KJ.js";
9
9
  import "./chunk-5QR5GEGS.js";
@@ -7,7 +7,7 @@ import {
7
7
  import {
8
8
  buildSetupState,
9
9
  queueServeHandoff
10
- } from "./chunk-RSNOILNQ.js";
10
+ } from "./chunk-7OQFD5BW.js";
11
11
  import "./chunk-VJWDBFSL.js";
12
12
  import "./chunk-LPQYGKS4.js";
13
13
  import "./chunk-BEJWFEEJ.js";
@@ -9,7 +9,7 @@ import {
9
9
  allowsKeylessFirstRunSetup,
10
10
  createServer,
11
11
  waitForServerRuntimeStartup
12
- } from "./chunk-QE5LQD2D.js";
12
+ } from "./chunk-TRYACZVH.js";
13
13
  import "./chunk-HPRUS76O.js";
14
14
  import "./chunk-CSU4E5KJ.js";
15
15
  import "./chunk-5QR5GEGS.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@canonry/canonry",
3
- "version": "7.125.1",
3
+ "version": "7.125.2",
4
4
  "type": "module",
5
5
  "description": "Self-hosted AI visibility (AEO) platform: track how ChatGPT, Claude, Gemini, and Perplexity cite your domain, join it with Search Console, GA4, server-side traffic, and paid media, and fix what you find through agent tools (CLI, REST, MCP). Local SQLite.",
6
6
  "keywords": [