@canonry/canonry 7.51.0 → 7.51.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.
Files changed (35) hide show
  1. package/assets/agent-workspace/skills/canonry/references/canonry-cli.md +1 -1
  2. package/assets/assets/{AuditHistoryPanel-wdUF2gRW.js → AuditHistoryPanel-CtWNkC6F.js} +1 -1
  3. package/assets/assets/{BacklinksPage-CJY1OPYR.js → BacklinksPage-Cs3_j55C.js} +1 -1
  4. package/assets/assets/{HistoryPage-BuJ6rkxQ.js → HistoryPage-_5Vwj01m.js} +1 -1
  5. package/assets/assets/{MeasurementPropertyPage-B2L33Gl3.js → MeasurementPropertyPage-B2yBTUZd.js} +1 -1
  6. package/assets/assets/{ProjectPage-26oduSKK.js → ProjectPage-hs-9PcoS.js} +1 -1
  7. package/assets/assets/{RunsPage-BLflXqnd.js → RunsPage-B_mhz9vj.js} +1 -1
  8. package/assets/assets/{SettingsPage-Dh5p6mPo.js → SettingsPage-D1Lzcw03.js} +1 -1
  9. package/assets/assets/{SiteHealthSection-ulXVd0QR.js → SiteHealthSection-CGlrPdrk.js} +3 -3
  10. package/assets/assets/{TrafficPage-DKn4SB01.js → TrafficPage-C27a0rQp.js} +1 -1
  11. package/assets/assets/{TrafficSourceDetailPage-Ew3DvkC2.js → TrafficSourceDetailPage-DOSoQySv.js} +1 -1
  12. package/assets/assets/{extract-error-message-Bqp9rHty.js → extract-error-message-itBoiivg.js} +1 -1
  13. package/assets/assets/{index-CKxYUKlD.js → index-CdAuyP-X.js} +21 -21
  14. package/assets/assets/{react-sigma_core.esm.min-CmQ0UJ-q.js → react-sigma_core.esm.min-CPYhSQFc.js} +1 -1
  15. package/assets/assets/{v2-overview-adapter-P6JaB0ii.js → v2-overview-adapter-DQXWmK0B.js} +1 -1
  16. package/assets/index.html +1 -1
  17. package/dist/{chunk-ZKIUO7RY.js → chunk-35QQMVO6.js} +3 -3
  18. package/dist/{chunk-WTATIC3M.js → chunk-3YL5TEZQ.js} +6 -6
  19. package/dist/{chunk-2SWNW5O6.js → chunk-GZPJ7TSE.js} +2 -2
  20. package/dist/{chunk-T4EXTQQK.js → chunk-JREQHDRK.js} +66 -26
  21. package/dist/{chunk-IKIAETMK.js → chunk-KU4TPVZV.js} +1 -1
  22. package/dist/{chunk-CNBKVUMJ.js → chunk-P6D6P337.js} +3 -3
  23. package/dist/{chunk-UJLIMXPX.js → chunk-QQP7OQTW.js} +24 -19
  24. package/dist/{chunk-5ZYVREGG.js → chunk-RUWELF3K.js} +1 -1
  25. package/dist/{chunk-GG6ECPAO.js → chunk-W43I4JKI.js} +2 -2
  26. package/dist/{chunk-77T24PPR.js → chunk-YOGHHIGE.js} +29 -10
  27. package/dist/{cli-catalog-MGEBTBSU.js → cli-catalog-KTQ6BHEU.js} +3 -3
  28. package/dist/cli-commands-NALOZN72.js +15 -0
  29. package/dist/cli.js +16 -10
  30. package/dist/{demo-server-GJD7I6FS.js → demo-server-AKJZISIL.js} +4 -4
  31. package/dist/index.js +6 -6
  32. package/dist/{intelligence-service-COKNG64A.js → intelligence-service-7BOU7ZAR.js} +2 -2
  33. package/dist/mcp.js +4 -4
  34. package/package.json +11 -11
  35. package/dist/cli-commands-D5TBJLXO.js +0 -15
@@ -5850,75 +5850,91 @@ var AI_REFERRAL_ENGINE_DEFINITIONS = [
5850
5850
  label: "ChatGPT",
5851
5851
  domains: [AI_ENGINE_DOMAINS.chatgpt, AI_ENGINE_DOMAINS.chatgptLegacy, AI_ENGINE_DOMAINS.openai],
5852
5852
  tokens: ["chatgpt", "openai"],
5853
- labels: ["chatgpt", "openai"]
5853
+ labels: ["chatgpt", "openai"],
5854
+ appIds: ["com.openai.chatgpt"]
5854
5855
  },
5855
5856
  {
5856
5857
  engine: AiReferralEngines.perplexity,
5857
5858
  label: "Perplexity",
5858
5859
  domains: [AI_ENGINE_DOMAINS.perplexity],
5859
5860
  tokens: ["perplexity"],
5860
- labels: ["perplexity"]
5861
+ labels: ["perplexity"],
5862
+ appIds: ["ai.perplexity.app.android"]
5861
5863
  },
5862
5864
  {
5863
5865
  engine: AiReferralEngines.gemini,
5864
5866
  label: "Gemini",
5865
5867
  domains: [AI_ENGINE_DOMAINS.gemini, AI_ENGINE_DOMAINS.bard],
5866
5868
  tokens: ["gemini", "bard"],
5867
- labels: []
5869
+ labels: [],
5870
+ appIds: ["com.google.android.apps.bard"]
5868
5871
  },
5869
5872
  {
5870
5873
  engine: AiReferralEngines.claude,
5871
5874
  label: "Claude",
5872
5875
  domains: [AI_ENGINE_DOMAINS.claude, ANTHROPIC_API_DOMAIN],
5873
5876
  tokens: ["claude", "anthropic"],
5874
- labels: ["claude", "anthropic"]
5877
+ labels: ["claude", "anthropic"],
5878
+ appIds: ["com.anthropic.claude"]
5875
5879
  },
5876
5880
  {
5877
5881
  engine: AiReferralEngines.copilot,
5878
5882
  label: "Copilot",
5879
5883
  domains: [AI_ENGINE_DOMAINS.copilotMicrosoft, AI_ENGINE_DOMAINS.copilot],
5880
5884
  tokens: ["copilot"],
5881
- labels: []
5885
+ labels: [],
5886
+ // Off Google Play since 2026, but installed apps still send it. copilot.com
5887
+ // now links the Microsoft 365 app (`com.microsoft.office.officehubrow`),
5888
+ // which also opens Office documents, so its links are not all AI traffic.
5889
+ appIds: ["com.microsoft.copilot"]
5882
5890
  },
5883
5891
  {
5884
5892
  engine: AiReferralEngines.grok,
5885
5893
  label: "Grok",
5886
5894
  domains: [AI_ENGINE_DOMAINS.grok],
5887
5895
  tokens: ["grok"],
5888
- labels: []
5896
+ labels: [],
5897
+ appIds: ["ai.x.grok"]
5889
5898
  },
5890
5899
  {
5891
5900
  engine: AiReferralEngines.deepseek,
5892
5901
  label: "DeepSeek",
5893
5902
  domains: [AI_ENGINE_DOMAINS.deepseek],
5894
5903
  tokens: ["deepseek"],
5895
- labels: ["deepseek"]
5904
+ labels: ["deepseek"],
5905
+ appIds: ["com.deepseek.chat"]
5896
5906
  },
5897
5907
  {
5898
5908
  engine: AiReferralEngines["meta-ai"],
5899
5909
  label: "Meta AI",
5900
5910
  domains: [AI_ENGINE_DOMAINS.metaAi],
5901
5911
  tokens: [],
5902
- labels: []
5912
+ labels: [],
5913
+ appIds: ["com.facebook.stella"]
5903
5914
  },
5904
5915
  {
5905
5916
  engine: AiReferralEngines.phind,
5906
5917
  label: "Phind",
5907
5918
  domains: [AI_ENGINE_DOMAINS.phind],
5908
5919
  tokens: ["phind"],
5909
- labels: ["phind"]
5920
+ labels: ["phind"],
5921
+ appIds: []
5910
5922
  },
5911
5923
  {
5912
5924
  engine: AiReferralEngines["you-com"],
5913
5925
  label: "You.com",
5914
5926
  domains: [AI_ENGINE_DOMAINS.you],
5915
5927
  tokens: [],
5916
- labels: []
5928
+ labels: [],
5929
+ appIds: []
5917
5930
  }
5918
5931
  ];
5919
5932
  var ENGINE_BY_TOKEN = new Map(
5920
5933
  AI_REFERRAL_ENGINE_DEFINITIONS.flatMap((definition) => definition.tokens.map((token) => [token, definition.engine]))
5921
5934
  );
5935
+ var ENGINE_BY_APP_ID = new Map(
5936
+ AI_REFERRAL_ENGINE_DEFINITIONS.flatMap((definition) => definition.appIds.map((appId) => [appId, definition.engine]))
5937
+ );
5922
5938
  var ENGINE_BY_LABEL = new Map(
5923
5939
  AI_REFERRAL_ENGINE_DEFINITIONS.flatMap((definition) => definition.labels.map((label) => [label, definition.engine]))
5924
5940
  );
@@ -5939,6 +5955,8 @@ function aiEngineForReferralSource(source) {
5939
5955
  const byToken = ENGINE_BY_TOKEN.get(value);
5940
5956
  if (byToken) return byToken;
5941
5957
  const host = value.includes(".") ? hostOf(value) : null;
5958
+ const byAppId = host ? ENGINE_BY_APP_ID.get(host) : void 0;
5959
+ if (byAppId) return byAppId;
5942
5960
  const byDomain = host ? AI_REFERRAL_ENGINE_DEFINITIONS.find((definition) => hostMatchesAnyDomain(host, definition.domains))?.engine : void 0;
5943
5961
  if (byDomain) return byDomain;
5944
5962
  const labels = appOrTagLabels(value, host);
@@ -24398,6 +24416,7 @@ export {
24398
24416
  URL_PATH_NORMALIZATION_VERSION,
24399
24417
  normalizeUrlPath,
24400
24418
  normalizePathPrefix,
24419
+ AI_REFERRAL_ENGINE_DEFINITIONS,
24401
24420
  aiEngineForReferralSource,
24402
24421
  aiReferralEngineLabel,
24403
24422
  GA4_AI_ASSISTANT_CHANNEL_GROUP,
@@ -3,10 +3,10 @@ import {
3
3
  buildCliCatalog,
4
4
  printCliCatalog,
5
5
  renderTopLevelHelp
6
- } from "./chunk-ZKIUO7RY.js";
7
- import "./chunk-IKIAETMK.js";
6
+ } from "./chunk-35QQMVO6.js";
7
+ import "./chunk-KU4TPVZV.js";
8
8
  import "./chunk-HGMYEDAQ.js";
9
- import "./chunk-77T24PPR.js";
9
+ import "./chunk-YOGHHIGE.js";
10
10
  export {
11
11
  CLI_ROOT_SUMMARIES,
12
12
  buildCliCatalog,
@@ -0,0 +1,15 @@
1
+ import {
2
+ REGISTERED_CLI_COMMANDS
3
+ } from "./chunk-JREQHDRK.js";
4
+ import "./chunk-3YL5TEZQ.js";
5
+ import "./chunk-GZPJ7TSE.js";
6
+ import "./chunk-KU4TPVZV.js";
7
+ import "./chunk-RB2F4D3Z.js";
8
+ import "./chunk-W43I4JKI.js";
9
+ import "./chunk-RUWELF3K.js";
10
+ import "./chunk-HGMYEDAQ.js";
11
+ import "./chunk-QQP7OQTW.js";
12
+ import "./chunk-YOGHHIGE.js";
13
+ export {
14
+ REGISTERED_CLI_COMMANDS
15
+ };
package/dist/cli.js CHANGED
@@ -2,18 +2,18 @@
2
2
  import {
3
3
  autoSyncSkills,
4
4
  formatAutoSyncNotice
5
- } from "./chunk-CNBKVUMJ.js";
5
+ } from "./chunk-P6D6P337.js";
6
6
  import {
7
7
  accessFilterFromArgs,
8
8
  dispatchRegisteredCommand,
9
9
  printCliCatalog
10
- } from "./chunk-ZKIUO7RY.js";
10
+ } from "./chunk-35QQMVO6.js";
11
11
  import {
12
12
  REGISTERED_CLI_COMMANDS,
13
13
  buildSetupState,
14
14
  consumePendingServeHandoff,
15
15
  serveCommand
16
- } from "./chunk-T4EXTQQK.js";
16
+ } from "./chunk-JREQHDRK.js";
17
17
  import {
18
18
  checkLatestVersionForCli,
19
19
  cliRuntimeContext,
@@ -27,14 +27,14 @@ import {
27
27
  showFirstRunNotice,
28
28
  trackCliCommandFinished,
29
29
  trackEvent
30
- } from "./chunk-WTATIC3M.js";
31
- import "./chunk-2SWNW5O6.js";
30
+ } from "./chunk-3YL5TEZQ.js";
31
+ import "./chunk-GZPJ7TSE.js";
32
32
  import {
33
33
  resolveCliAccess
34
- } from "./chunk-IKIAETMK.js";
34
+ } from "./chunk-KU4TPVZV.js";
35
35
  import "./chunk-RB2F4D3Z.js";
36
- import "./chunk-GG6ECPAO.js";
37
- import "./chunk-5ZYVREGG.js";
36
+ import "./chunk-W43I4JKI.js";
37
+ import "./chunk-RUWELF3K.js";
38
38
  import {
39
39
  CliError,
40
40
  EXIT_SYSTEM_ERROR,
@@ -42,10 +42,10 @@ import {
42
42
  printCliError,
43
43
  usageError
44
44
  } from "./chunk-HGMYEDAQ.js";
45
- import "./chunk-UJLIMXPX.js";
45
+ import "./chunk-QQP7OQTW.js";
46
46
  import {
47
47
  OperationAccesses
48
- } from "./chunk-77T24PPR.js";
48
+ } from "./chunk-YOGHHIGE.js";
49
49
 
50
50
  // src/cli.ts
51
51
  import { pathToFileURL } from "url";
@@ -198,6 +198,12 @@ var TELEMETRY_ERROR_CODES = /* @__PURE__ */ new Set([
198
198
  "CLI_USAGE_ERROR",
199
199
  "CLI_SYSTEM_ERROR",
200
200
  "CONNECTION_ERROR",
201
+ // A doctor run that found failing checks did its job; `start` failures say
202
+ // why the server did not come up. Both used to arrive as CLI_ERROR.
203
+ "DOCTOR_CHECKS_FAILED",
204
+ "DAEMON_ALREADY_RUNNING",
205
+ "DAEMON_START_FAILED",
206
+ "DAEMON_START_TIMEOUT",
201
207
  "UNEXPECTED_RESPONSE_FORMAT",
202
208
  "STORED_ONLY_REFUSED"
203
209
  ]);
@@ -5,11 +5,11 @@ import {
5
5
  computeFactorAverages,
6
6
  layoutSiteCrawlGraphInput,
7
7
  persistSiteCrawlGraphLayout
8
- } from "./chunk-GG6ECPAO.js";
8
+ } from "./chunk-W43I4JKI.js";
9
9
  import {
10
10
  PACKAGE_VERSION,
11
11
  canonryMcpTools
12
- } from "./chunk-5ZYVREGG.js";
12
+ } from "./chunk-RUWELF3K.js";
13
13
  import "./chunk-HGMYEDAQ.js";
14
14
  import {
15
15
  HISTORY_WINDOW_RUNS,
@@ -87,7 +87,7 @@ import {
87
87
  siteCrawlPages,
88
88
  siteCrawlSnapshots,
89
89
  trafficSources
90
- } from "./chunk-UJLIMXPX.js";
90
+ } from "./chunk-QQP7OQTW.js";
91
91
  import {
92
92
  AI_ENGINE_DOMAINS,
93
93
  RunKinds,
@@ -119,7 +119,7 @@ import {
119
119
  roundPreservingTotal,
120
120
  siteAuditPageFactorSchema,
121
121
  wilsonInterval
122
- } from "./chunk-77T24PPR.js";
122
+ } from "./chunk-YOGHHIGE.js";
123
123
 
124
124
  // src/demo-server.ts
125
125
  import { dirname, join as join2 } from "path";
package/dist/index.js CHANGED
@@ -3,15 +3,15 @@ import {
3
3
  createGoogleMarketingCredentialStore,
4
4
  createGoogleMarketingRuntime,
5
5
  createServer
6
- } from "./chunk-WTATIC3M.js";
6
+ } from "./chunk-3YL5TEZQ.js";
7
7
  import {
8
8
  loadConfig
9
- } from "./chunk-2SWNW5O6.js";
10
- import "./chunk-GG6ECPAO.js";
11
- import "./chunk-5ZYVREGG.js";
9
+ } from "./chunk-GZPJ7TSE.js";
10
+ import "./chunk-W43I4JKI.js";
11
+ import "./chunk-RUWELF3K.js";
12
12
  import "./chunk-HGMYEDAQ.js";
13
- import "./chunk-UJLIMXPX.js";
14
- import "./chunk-77T24PPR.js";
13
+ import "./chunk-QQP7OQTW.js";
14
+ import "./chunk-YOGHHIGE.js";
15
15
  export {
16
16
  GoogleMarketingRuntimeError,
17
17
  createGoogleMarketingCredentialStore,
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  HISTORY_WINDOW_RUNS,
3
3
  IntelligenceService
4
- } from "./chunk-UJLIMXPX.js";
5
- import "./chunk-77T24PPR.js";
4
+ } from "./chunk-QQP7OQTW.js";
5
+ import "./chunk-YOGHHIGE.js";
6
6
  export {
7
7
  HISTORY_WINDOW_RUNS,
8
8
  IntelligenceService
package/dist/mcp.js CHANGED
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  autoSyncSkills
3
- } from "./chunk-CNBKVUMJ.js";
3
+ } from "./chunk-P6D6P337.js";
4
4
  import {
5
5
  createApiClient,
6
6
  createCanonryMcpServer
7
- } from "./chunk-2SWNW5O6.js";
8
- import "./chunk-5ZYVREGG.js";
7
+ } from "./chunk-GZPJ7TSE.js";
8
+ import "./chunk-RUWELF3K.js";
9
9
  import "./chunk-HGMYEDAQ.js";
10
10
  import {
11
11
  isReadOnlyKey,
12
12
  updateCheckEnvOptOut
13
- } from "./chunk-77T24PPR.js";
13
+ } from "./chunk-YOGHHIGE.js";
14
14
 
15
15
  // src/mcp/cli.ts
16
16
  import { randomUUID } from "crypto";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@canonry/canonry",
3
- "version": "7.51.0",
3
+ "version": "7.51.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": [
@@ -86,33 +86,33 @@
86
86
  "tsup": "^8.5.1",
87
87
  "tsx": "^4.19.0",
88
88
  "@canonry/canonry-api-routes": "0.0.0",
89
+ "@canonry/canonry-config": "0.0.0",
90
+ "@canonry/canonry-web": "0.0.0",
89
91
  "@canonry/canonry-contracts": "0.0.0",
90
92
  "@canonry/canonry-db": "0.0.0",
91
- "@canonry/canonry-web": "0.0.0",
92
- "@canonry/canonry-config": "0.0.0",
93
93
  "@canonry/canonry-api-client": "0.0.0",
94
- "@canonry/canonry-integration-cloud-run": "0.0.0",
95
- "@canonry/canonry-integration-cloudflare-queue": "0.0.0",
96
94
  "@canonry/canonry-integration-bing": "0.0.0",
97
- "@canonry/canonry-integration-cloudflare-worker": "0.0.0",
95
+ "@canonry/canonry-integration-cloudflare-queue": "0.0.0",
98
96
  "@canonry/canonry-integration-commoncrawl": "0.0.0",
99
- "@canonry/canonry-integration-google-ads": "0.0.0",
97
+ "@canonry/canonry-integration-cloudflare-worker": "0.0.0",
100
98
  "@canonry/canonry-integration-google": "0.0.0",
101
- "@canonry/canonry-integration-google-places": "0.0.0",
102
99
  "@canonry/canonry-integration-google-business-profile": "0.0.0",
100
+ "@canonry/canonry-integration-cloud-run": "0.0.0",
101
+ "@canonry/canonry-integration-google-places": "0.0.0",
102
+ "@canonry/canonry-integration-google-ads": "0.0.0",
103
103
  "@canonry/canonry-integration-google-tag-manager": "0.0.0",
104
104
  "@canonry/canonry-integration-traffic": "0.0.0",
105
105
  "@canonry/canonry-integration-openai-ads": "0.0.0",
106
106
  "@canonry/canonry-integration-wordpress": "0.0.0",
107
+ "@canonry/canonry-provider-claude": "0.0.0",
107
108
  "@canonry/canonry-intelligence": "0.0.0",
109
+ "@canonry/canonry-provider-gemini": "0.0.0",
108
110
  "@canonry/canonry-provider-cdp": "0.0.0",
109
- "@canonry/canonry-provider-claude": "0.0.0",
110
111
  "@canonry/canonry-provider-local": "0.0.0",
111
112
  "@canonry/canonry-provider-muse": "0.0.0",
112
113
  "@canonry/canonry-provider-openai": "0.0.0",
113
- "@canonry/canonry-provider-perplexity": "0.0.0",
114
114
  "@canonry/canonry-integration-typesafe": "0.0.0",
115
- "@canonry/canonry-provider-gemini": "0.0.0"
115
+ "@canonry/canonry-provider-perplexity": "0.0.0"
116
116
  },
117
117
  "scripts": {
118
118
  "build": "pnpm run build:cli && pnpm run build:web",
@@ -1,15 +0,0 @@
1
- import {
2
- REGISTERED_CLI_COMMANDS
3
- } from "./chunk-T4EXTQQK.js";
4
- import "./chunk-WTATIC3M.js";
5
- import "./chunk-2SWNW5O6.js";
6
- import "./chunk-IKIAETMK.js";
7
- import "./chunk-RB2F4D3Z.js";
8
- import "./chunk-GG6ECPAO.js";
9
- import "./chunk-5ZYVREGG.js";
10
- import "./chunk-HGMYEDAQ.js";
11
- import "./chunk-UJLIMXPX.js";
12
- import "./chunk-77T24PPR.js";
13
- export {
14
- REGISTERED_CLI_COMMANDS
15
- };