@canonry/canonry 7.104.2 → 7.104.4

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.
@@ -129,12 +129,10 @@ Application Password. It has no browser-side capture path.
129
129
  > AI-agent traffic, bypass **every** cache layer for the selected AI user
130
130
  > agents, or capture from access/edge logs instead.
131
131
 
132
- **Which user-agents to exclude from the cache** (one per line in
133
- LiteSpeed's "Do Not Cache User Agents", WP Rocket's
134
- `rocket_cache_reject_ua`, or W3TC / WP Super Cache "Rejected User
135
- Agents"):
132
+ **Which user-agents to exclude from the cache** (enter them as described in
133
+ "Entering the list" below):
136
134
 
137
- ```
135
+ ```text
138
136
  GPTBot
139
137
  OAI-SearchBot
140
138
  OAI-AdsBot
@@ -184,6 +182,80 @@ Claude-Agent) and any it names later. Do NOT add traditional search agents
184
182
  helps them crawl efficiently, and the important Google/Bing crawl evidence is
185
183
  available through their webmaster tools.
186
184
 
185
+ **Entering the list.** Each cache plugin matches entries differently. A wrong
186
+ format fails silently: the agent keeps receiving cached pages and the plugin
187
+ never sees it.
188
+
189
+ - **LiteSpeed Cache** (Cache → Excludes → "Do Not Cache User Agents") and
190
+ **W3 Total Cache** (Performance → Page Cache → Advanced → "Rejected user
191
+ agents"): paste the list as-is, one per line. Both match case-insensitively
192
+ anywhere in the user agent.
193
+ - **WP Rocket** ("Never Cache User Agent(s)"): paste the WP Rocket list
194
+ below. WP Rocket's `.htaccess` rule only matches user agents that *start*
195
+ with an entry, and most AI agents' user agents start with `Mozilla/5.0`, so
196
+ plain entries keep receiving cached pages on Apache and LiteSpeed servers.
197
+ The `(.*)` prefix matches anywhere in the user agent. Keep the casing shown,
198
+ because WP Rocket's PHP check is case-sensitive. Use this form only in WP
199
+ Rocket: the other plugins read `(.*)` as literal text.
200
+ - **WP Super Cache**: its "Rejected User Agents" setting only stops these
201
+ agents from creating cache files; it still serves them existing cached
202
+ pages. In **Simple** delivery mode, add the WP Super Cache snippet below to
203
+ `wp-config.php`, above the `/* That's all, stop editing! */` line. **Expert**
204
+ delivery mode serves cached files from `.htaccess` before PHP runs and has
205
+ no user-agent bypass: switch to Simple, or capture from access/edge logs.
206
+
207
+ **WP Rocket list:**
208
+
209
+ ```text
210
+ (.*)GPTBot
211
+ (.*)OAI-SearchBot
212
+ (.*)OAI-AdsBot
213
+ (.*)ChatGPT-User
214
+ (.*)openai-mcp
215
+ (.*)ClaudeBot
216
+ (.*)Claude-
217
+ (.*)anthropic-ai
218
+ (.*)PerplexityBot
219
+ (.*)Perplexity-User
220
+ (.*)ShapBot
221
+ (.*)Shap-User
222
+ (.*)Google-Agent
223
+ (.*)Google-GeminiNotebook
224
+ (.*)Google-NotebookLM
225
+ (.*)Google-CloudVertexBot
226
+ (.*)Bytespider
227
+ (.*)Applebot
228
+ (.*)meta-externalagent
229
+ (.*)meta-webindexer
230
+ (.*)meta-externalfetcher
231
+ (.*)CCBot
232
+ (.*)cohere-ai
233
+ (.*)Diffbot
234
+ (.*)MistralAI-User
235
+ (.*)MistralAI-Index
236
+ (.*)MistralAI-Training
237
+ (.*)MistralBot
238
+ (.*)DeepSeekBot
239
+ (.*)xAI-Bot
240
+ (.*)Grok-Bot
241
+ (.*)GrokBot
242
+ (.*)YouBot
243
+ (.*)ExaSearchBot
244
+ (.*)DuckAssistBot
245
+ (.*)Amazonbot
246
+ (.*)Amzn-SearchBot
247
+ (.*)Amzn-User
248
+ ```
249
+
250
+ **WP Super Cache snippet** (`wp-config.php`):
251
+
252
+ ```php
253
+ // Canonry Traffic Logger: don't serve cached pages to AI agents, so the plugin records their visits.
254
+ if ( isset( $_SERVER['HTTP_USER_AGENT'] ) && preg_match( '/GPTBot|OAI-SearchBot|OAI-AdsBot|ChatGPT-User|openai-mcp|ClaudeBot|Claude-|anthropic-ai|PerplexityBot|Perplexity-User|ShapBot|Shap-User|Google-Agent|Google-GeminiNotebook|Google-NotebookLM|Google-CloudVertexBot|Bytespider|Applebot|meta-externalagent|meta-webindexer|meta-externalfetcher|CCBot|cohere-ai|Diffbot|MistralAI-User|MistralAI-Index|MistralAI-Training|MistralBot|DeepSeekBot|xAI-Bot|Grok-Bot|GrokBot|YouBot|ExaSearchBot|DuckAssistBot|Amazonbot|Amzn-SearchBot|Amzn-User/i', $_SERVER['HTTP_USER_AGENT'] ) ) {
255
+ define( 'WPSC_SERVE_DISABLED', true );
256
+ }
257
+ ```
258
+
187
259
  > **1.1.0 -> 1.1.1 measurement boundary.** Plugin 1.1.0 briefly added a
188
260
  > JavaScript beacon to recover browser/referral page views served from cache.
189
261
  > Plugin 1.1.1 removes it and returns to PHP-only capture. This intentionally
@@ -10,8 +10,8 @@ import {
10
10
  backfillSnapshotAttributionCommand,
11
11
  backfillTrafficClassificationCommand,
12
12
  replayQueryAuditLog
13
- } from "./chunk-BTNWUQDC.js";
14
- import "./chunk-4MHU35U6.js";
13
+ } from "./chunk-KUNOMUUG.js";
14
+ import "./chunk-5NU6BWCL.js";
15
15
  import "./chunk-BNSSB6H4.js";
16
16
  import "./chunk-HGMYEDAQ.js";
17
17
  import "./chunk-W6ORSOMS.js";
@@ -19,7 +19,7 @@ import "./chunk-OBDOHDDJ.js";
19
19
  import {
20
20
  backfillProjectAnswerMentions,
21
21
  backfillProjectAnswerMentionsInChunks
22
- } from "./chunk-UQIFH6WN.js";
22
+ } from "./chunk-GOKYM7T5.js";
23
23
  import "./chunk-O3HY3VSN.js";
24
24
  import "./chunk-N5YFWTDQ.js";
25
25
  import "./chunk-2P2YNCJB.js";
@@ -17,7 +17,7 @@ import {
17
17
  mergeGscQueryTotalsWithFallback,
18
18
  readGscQueryDailyRows,
19
19
  readLatestGscDataDate
20
- } from "./chunk-UQIFH6WN.js";
20
+ } from "./chunk-GOKYM7T5.js";
21
21
  import {
22
22
  competitors,
23
23
  gbpDailyMetrics,
@@ -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-ICAC74E4.js");
50
+ const { serveCommand } = await import("./serve-Z3WLVD46.js");
51
51
  await serveCommand(format);
52
52
  }
53
53
 
@@ -7,7 +7,7 @@ import {
7
7
  mergeSplitJourneyVisitors,
8
8
  repairAiReferralArrivalsOnStartup,
9
9
  writeUnrecognizedAgentBuckets
10
- } from "./chunk-UQIFH6WN.js";
10
+ } from "./chunk-GOKYM7T5.js";
11
11
  import {
12
12
  AGENT_TRUST_RULES_VERSION,
13
13
  BROWSER_AGENT_BOT_IDS,
@@ -23,7 +23,7 @@ import {
23
23
  resolveConfiguredAgentProvider,
24
24
  resolveSessionProviderAndModel,
25
25
  setAeroSystemPrompt
26
- } from "./chunk-BYIUY2US.js";
26
+ } from "./chunk-HM25YXM4.js";
27
27
  import {
28
28
  answerServiceAdapters,
29
29
  answerServiceDescriptors
@@ -34,7 +34,7 @@ import {
34
34
  buildAeroStateTools,
35
35
  isAeroToolProfile,
36
36
  truncateToolResult
37
- } from "./chunk-GV22EPIQ.js";
37
+ } from "./chunk-PQ6AORS2.js";
38
38
  import {
39
39
  getGoogleAuthConfig,
40
40
  getGoogleConnection,
@@ -65,7 +65,7 @@ import {
65
65
  openrouterAdapter,
66
66
  perplexityAdapter,
67
67
  startTrafficReclassification
68
- } from "./chunk-4MHU35U6.js";
68
+ } from "./chunk-5NU6BWCL.js";
69
69
  import {
70
70
  classifyUsageSurface,
71
71
  createApiUsageTelemetry,
@@ -165,7 +165,7 @@ import {
165
165
  } from "./chunk-HGMYEDAQ.js";
166
166
  import {
167
167
  IntelligenceService
168
- } from "./chunk-HXSPVBYA.js";
168
+ } from "./chunk-2TFDE7HA.js";
169
169
  import {
170
170
  computeCitedCompetitorDomains,
171
171
  determineCitationState
@@ -322,7 +322,7 @@ import {
322
322
  webhookResponseReason,
323
323
  webhookTargetRefusalReason,
324
324
  writeAuditLog
325
- } from "./chunk-UQIFH6WN.js";
325
+ } from "./chunk-GOKYM7T5.js";
326
326
  import {
327
327
  OperationalLogStore,
328
328
  SentimentIdempotencyConflict,
@@ -6453,7 +6453,7 @@ function nonBlank(value) {
6453
6453
  return trimmed ? trimmed : void 0;
6454
6454
  }
6455
6455
  function resolveBuildCommit(env = process.env) {
6456
- const embedded = true ? "8c4bbf0a67f5a9a34d92173ac52e744bb358a732" : void 0;
6456
+ const embedded = true ? "91708c4a528c3924e54838e662ffb758fe554eb5" : void 0;
6457
6457
  return nonBlank(embedded) ?? nonBlank(env.CANONRY_COMMIT);
6458
6458
  }
6459
6459
  function resolveInstanceIdentity(env = process.env) {
@@ -732,7 +732,7 @@ var DEMO_CLI_COMMANDS = [{
732
732
  options: { host: stringOption(), port: stringOption(), "trust-proxy": multiStringOption() },
733
733
  allowPositionals: false,
734
734
  run: async (input) => {
735
- const { demoCommand } = await import("./demo-SBBC7HXE.js");
735
+ const { demoCommand } = await import("./demo-QTTEHPTG.js");
736
736
  await demoCommand({
737
737
  host: getString(input.values, "host"),
738
738
  port: getString(input.values, "port"),
@@ -753,7 +753,7 @@ var BACKFILL_CLI_COMMANDS = [
753
753
  allowPositionals: false,
754
754
  supportsDryRun: true,
755
755
  run: async (input) => {
756
- const { backfillAnswerVisibilityCommand } = await import("./backfill-ZH3OF4WC.js");
756
+ const { backfillAnswerVisibilityCommand } = await import("./backfill-QEYMNKWT.js");
757
757
  await backfillAnswerVisibilityCommand({
758
758
  project: getString(input.values, "project"),
759
759
  dryRun: input.dryRun,
@@ -770,7 +770,7 @@ var BACKFILL_CLI_COMMANDS = [
770
770
  allowPositionals: false,
771
771
  supportsDryRun: true,
772
772
  run: async (input) => {
773
- const { backfillAnswerMentionsCommand } = await import("./backfill-ZH3OF4WC.js");
773
+ const { backfillAnswerMentionsCommand } = await import("./backfill-QEYMNKWT.js");
774
774
  await backfillAnswerMentionsCommand({
775
775
  project: getString(input.values, "project"),
776
776
  dryRun: input.dryRun,
@@ -788,7 +788,7 @@ var BACKFILL_CLI_COMMANDS = [
788
788
  },
789
789
  supportsDryRun: true,
790
790
  run: async (input) => {
791
- const { backfillInsightsCommand } = await import("./backfill-ZH3OF4WC.js");
791
+ const { backfillInsightsCommand } = await import("./backfill-QEYMNKWT.js");
792
792
  const usage = "canonry backfill insights <project> [--from-run <id>] [--to-run <id>] [--since <date>] [--dry-run] [--format json]";
793
793
  const project3 = requireProject(input, "backfill insights", usage);
794
794
  await backfillInsightsCommand(project3, {
@@ -808,7 +808,7 @@ var BACKFILL_CLI_COMMANDS = [
808
808
  },
809
809
  allowPositionals: false,
810
810
  run: async (input) => {
811
- const { backfillNormalizedPathsCommand } = await import("./backfill-ZH3OF4WC.js");
811
+ const { backfillNormalizedPathsCommand } = await import("./backfill-QEYMNKWT.js");
812
812
  await backfillNormalizedPathsCommand({
813
813
  project: getString(input.values, "project"),
814
814
  format: input.format
@@ -823,7 +823,7 @@ var BACKFILL_CLI_COMMANDS = [
823
823
  },
824
824
  allowPositionals: false,
825
825
  run: async (input) => {
826
- const { backfillAiReferralPathsCommand } = await import("./backfill-ZH3OF4WC.js");
826
+ const { backfillAiReferralPathsCommand } = await import("./backfill-QEYMNKWT.js");
827
827
  await backfillAiReferralPathsCommand({
828
828
  project: getString(input.values, "project"),
829
829
  format: input.format
@@ -835,7 +835,7 @@ var BACKFILL_CLI_COMMANDS = [
835
835
  usage: "canonry backfill snapshot-attribution <project> [--dry-run] [--format json]",
836
836
  supportsDryRun: true,
837
837
  run: async (input) => {
838
- const { backfillSnapshotAttributionCommand } = await import("./backfill-ZH3OF4WC.js");
838
+ const { backfillSnapshotAttributionCommand } = await import("./backfill-QEYMNKWT.js");
839
839
  const usage = "canonry backfill snapshot-attribution <project> [--dry-run] [--format json]";
840
840
  const project3 = requireProject(input, "backfill snapshot-attribution", usage);
841
841
  await backfillSnapshotAttributionCommand({
@@ -854,7 +854,7 @@ var BACKFILL_CLI_COMMANDS = [
854
854
  allowPositionals: false,
855
855
  supportsDryRun: true,
856
856
  run: async (input) => {
857
- const { backfillTrafficClassificationCommand } = await import("./backfill-ZH3OF4WC.js");
857
+ const { backfillTrafficClassificationCommand } = await import("./backfill-QEYMNKWT.js");
858
858
  await backfillTrafficClassificationCommand({
859
859
  project: getString(input.values, "project"),
860
860
  dryRun: input.dryRun,
@@ -1498,7 +1498,7 @@ var DASHBOARD_CLI_COMMANDS = [
1498
1498
  usage: "canonry dashboard reset-password [--format json]",
1499
1499
  help: "Clears the dashboard password from config.yaml, so the dashboard asks for a new one after a restart.\nLocal only: it edits the config file under CANONRY_CONFIG_DIR and does not call the server.",
1500
1500
  run: async (input) => {
1501
- const { resetDashboardPassword } = await import("./dashboard-3W63AKDU.js");
1501
+ const { resetDashboardPassword } = await import("./dashboard-B5MO4JD6.js");
1502
1502
  await resetDashboardPassword({ format: input.format });
1503
1503
  }
1504
1504
  },
@@ -7294,7 +7294,7 @@ var SYSTEM_CLI_COMMANDS = [
7294
7294
  options: { access: stringOption() },
7295
7295
  run: async (input) => {
7296
7296
  if (input.positionals.length > 1) throw usageError("Expected at most one command group");
7297
- const [{ printCliCatalog }, { REGISTERED_CLI_COMMANDS: REGISTERED_CLI_COMMANDS2 }] = await Promise.all([import("./cli-catalog-LOONVW4I.js"), import("./cli-commands-4H2OFVBT.js")]);
7297
+ const [{ printCliCatalog }, { REGISTERED_CLI_COMMANDS: REGISTERED_CLI_COMMANDS2 }] = await Promise.all([import("./cli-catalog-LOONVW4I.js"), import("./cli-commands-3GFP4QFF.js")]);
7298
7298
  printCliCatalog(REGISTERED_CLI_COMMANDS2, input.format, input.positionals[0], getString(input.values, "access"));
7299
7299
  }
7300
7300
  },
@@ -7343,7 +7343,7 @@ var SYSTEM_CLI_COMMANDS = [
7343
7343
  },
7344
7344
  allowPositionals: false,
7345
7345
  run: async (input) => {
7346
- const { initCommand } = await import("./init-BVTSZJHP.js");
7346
+ const { initCommand } = await import("./init-SXOJJUNJ.js");
7347
7347
  await initCommand({
7348
7348
  force: getBoolean(input.values, "force"),
7349
7349
  ref: getString(input.values, "ref"),
@@ -7398,7 +7398,7 @@ var SYSTEM_CLI_COMMANDS = [
7398
7398
  allowPositionals: false,
7399
7399
  run: async (input) => {
7400
7400
  applyServerEnv(input.values);
7401
- const { serveCommand } = await import("./serve-ICAC74E4.js");
7401
+ const { serveCommand } = await import("./serve-Z3WLVD46.js");
7402
7402
  await serveCommand(input.format);
7403
7403
  }
7404
7404
  },
@@ -8772,8 +8772,8 @@ var AGENT_CLI_COMMANDS = [
8772
8772
  "timeout-ms": stringOption()
8773
8773
  },
8774
8774
  run: async (input) => {
8775
- const { coerceAgentProvider } = await import("./session-ZBTQR24L.js");
8776
- const { AERO_TOOL_PROFILES, isAeroToolProfile } = await import("./tools-WCZXIV6B.js");
8775
+ const { coerceAgentProvider } = await import("./session-HEV5XBJI.js");
8776
+ const { AERO_TOOL_PROFILES, isAeroToolProfile } = await import("./tools-B3B7I7OU.js");
8777
8777
  const { agentAsk } = await import("./agent-ask-RLIEXI6J.js");
8778
8778
  const usage = `canonry agent ask <project> "<prompt>" [--provider ${AGENT_PROVIDER_IDS.join("|")}] [--model <id>] [--scope all|read-only] [--profile default|ads-operator] [--context <json>] [--conversation <id>] [--max-tool-calls <n>] [--timeout-ms <ms>] [--format json]`;
8779
8779
  const project3 = requireProject(input, "agent.ask", usage);
@@ -18970,7 +18970,8 @@ var ADVISORY_CODES = /* @__PURE__ */ new Set([
18970
18970
  "site.duplicate-meta-description"
18971
18971
  ]);
18972
18972
  var DISPOSITION_ORDER = { actionable: 0, advisory: 1, unverified: 2, informational: 3 };
18973
- var MAX_EVIDENCE_BYTES = 128 * 1024 * 1024;
18973
+ var MAX_EVIDENCE_BYTES = 512 * 1024 * 1024;
18974
+ var MAX_EVIDENCE_LABEL = `${MAX_EVIDENCE_BYTES / 1024 / 1024} MiB`;
18974
18975
  var MAX_GROUPS = 4096;
18975
18976
  var MAX_RESPONSE_BYTES = 16 * 1024;
18976
18977
  function digest(value) {
@@ -19056,7 +19057,7 @@ function readSiteAuditIssues(input) {
19056
19057
  const snapshot = target.snapshot;
19057
19058
  const crossJson = JSON.stringify(snapshot.issueEvidence);
19058
19059
  const crossBytes = Buffer.byteLength(crossJson);
19059
- if (crossBytes > MAX_EVIDENCE_BYTES) throw validationError("Stored audit exceeds the 128 MiB issue-evidence read budget");
19060
+ if (crossBytes > MAX_EVIDENCE_BYTES) throw validationError(`Stored audit exceeds the ${MAX_EVIDENCE_LABEL} issue-evidence read budget`);
19060
19061
  const groups = /* @__PURE__ */ new Map();
19061
19062
  const members = [];
19062
19063
  let selectedMembers = 0;
@@ -19124,7 +19125,7 @@ function readSiteAuditIssues(input) {
19124
19125
  );
19125
19126
  const size = db.select({ bytes: sql19`coalesce(sum(length(cast(${siteCrawlPages.auditFields} as blob)) + length(cast(${siteCrawlPages.url} as blob))), 0)` }).from(siteCrawlPages).where(scope).get()?.bytes ?? 0;
19126
19127
  if (size + crossBytes > MAX_EVIDENCE_BYTES) {
19127
- throw validationError("Stored audit exceeds the 128 MiB issue-evidence read budget");
19128
+ throw validationError(`Stored audit exceeds the ${MAX_EVIDENCE_LABEL} issue-evidence read budget`);
19128
19129
  }
19129
19130
  let after;
19130
19131
  while (true) {
@@ -48566,7 +48567,7 @@ var routeCatalog = [
48566
48567
  method: "get",
48567
48568
  path: "/api/v1/projects/{name}/agent-readiness/issues",
48568
48569
  summary: "List stored audit issue groups and representative URLs",
48569
- description: "Read-only retained evidence, without provider calls. Includes coded findings and independent critical defects at every page score and retained cross-page groups; mirrored duplicate annotations appear once. Returns stored run/date/attempt, crawl completeness, and separate page-finding/cross-page coverage so legacy absence and malformed evidence cannot imply a clean site. Disposition is a prioritization hint, not permission to edit or proof of score impact. Recommendations distinguish whole-factor guidance from independently issue-scoped critical-defect guidance. Page-finding identities use factor/code/type; duplicate metadata identities use the full exact metadata value. Unknown cross-page identities are run-local. Reads fail explicitly above 128 MiB evidence or 4096 groups; they never sample an apparently complete total.",
48570
+ description: "Read-only retained evidence, without provider calls. Includes coded findings and independent critical defects at every page score and retained cross-page groups; mirrored duplicate annotations appear once. Returns stored run/date/attempt, crawl completeness, and separate page-finding/cross-page coverage so legacy absence and malformed evidence cannot imply a clean site. Disposition is a prioritization hint, not permission to edit or proof of score impact. Recommendations distinguish whole-factor guidance from independently issue-scoped critical-defect guidance. Page-finding identities use factor/code/type; duplicate metadata identities use the full exact metadata value. Unknown cross-page identities are run-local. Reads fail explicitly above 512 MiB evidence or 4096 groups; they never sample an apparently complete total.",
48570
48571
  tags: ["agent-readiness"],
48571
48572
  parameters: [
48572
48573
  nameParameter,
@@ -78405,7 +78406,7 @@ var cacheBlindSpotCheck = {
78405
78406
  status: CheckStatuses.warn,
78406
78407
  code: "traffic.cache-blindspot.wordpress-plugin",
78407
78408
  summary: `${wpSources.length} WordPress traffic source(s) capture via the Canonry Traffic Logger plugin, which only logs requests that execute PHP. A full-page cache (LiteSpeed, WP Rocket, W3 Total Cache, WP Super Cache) or CDN serves cached pages before PHP runs, so cache-served page views, including live AI user-fetches such as Claude-User and ChatGPT-User, are not captured. Bot crawls of uncached endpoints (sitemap, feeds, assets, cache misses) still appear, which can make capture look healthy while real page views go uncounted.`,
78408
- remediation: 'Exclude AI user-agents from the page cache so their requests reach PHP: LiteSpeed Cache has "Do Not Cache User Agents" under Cache > Excludes; WP Rocket uses the `rocket_cache_reject_ua` filter; W3 Total Cache and WP Super Cache have a "Rejected User Agents" box. Mirror the rule at any CDN in front. For cache-independent capture, ingest from server or edge access logs (a `cloud-run` or `vercel` source, or an edge worker) instead of the WordPress plugin.',
78409
+ remediation: 'Exclude the AI user agents listed in the Canonry server-side traffic guide (https://github.com/Canonry/canonry/blob/main/skills/canonry/references/server-side-traffic.md#connecting-a-wordpress-source) from every cache layer so their requests reach PHP. LiteSpeed Cache ("Do Not Cache User Agents" under Cache > Excludes) and W3 Total Cache ("Rejected user agents") take the list as-is. WP Rocket ("Never Cache User Agent(s)") needs `(.*)` before each entry, because its .htaccess rule only matches user agents that start with an entry. WP Super Cache\'s "Rejected User Agents" setting still serves cached pages to those agents; use the guide\'s wp-config.php snippet, which defines `WPSC_SERVE_DISABLED` for them (Simple delivery mode only). Mirror the rule at any CDN in front. For cache-independent capture, ingest from server or edge access logs (a `cloud-run` or `vercel` source, or an edge worker) instead of the WordPress plugin.',
78409
78410
  details: {
78410
78411
  wordpressSourceCount: wpSources.length,
78411
78412
  wordpressSourceIds: wpSources.map((s) => s.id)
@@ -5,7 +5,7 @@ import {
5
5
  isStoredPageReadTool,
6
6
  isStoredReadTool,
7
7
  truncateToolResult
8
- } from "./chunk-GV22EPIQ.js";
8
+ } from "./chunk-PQ6AORS2.js";
9
9
  import {
10
10
  CANONRY_MCP_TOOLKITS,
11
11
  resolveAeroSkillDir
@@ -8,7 +8,7 @@ import {
8
8
  reparseStoredResult4,
9
9
  reparseStoredResult5,
10
10
  resolveStoredApiResponse
11
- } from "./chunk-4MHU35U6.js";
11
+ } from "./chunk-5NU6BWCL.js";
12
12
  import {
13
13
  loadConfig
14
14
  } from "./chunk-BNSSB6H4.js";
@@ -25,7 +25,7 @@ import {
25
25
  createRunCompetitorResolver,
26
26
  readMarketCompetitorNames,
27
27
  refreshSnapshotMentionIdentity
28
- } from "./chunk-UQIFH6WN.js";
28
+ } from "./chunk-GOKYM7T5.js";
29
29
  import {
30
30
  RawEventSampleEventTypes,
31
31
  auditLog,
@@ -430,7 +430,7 @@ No DB writes performed. Re-run without --dry-run to apply.`);
430
430
  }
431
431
  }
432
432
  async function backfillInsightsCommand(project, opts) {
433
- const { IntelligenceService } = await import("./intelligence-service-VBCP7TAC.js");
433
+ const { IntelligenceService } = await import("./intelligence-service-MFMPHWQM.js");
434
434
  const config = loadConfig();
435
435
  const db = createClient(config.database);
436
436
  migrate(db);
@@ -11,7 +11,7 @@ import {
11
11
  } from "./chunk-HGMYEDAQ.js";
12
12
  import {
13
13
  buildOpenApiDocument
14
- } from "./chunk-UQIFH6WN.js";
14
+ } from "./chunk-GOKYM7T5.js";
15
15
  import {
16
16
  DEFAULT_COMPETITOR_AUTO_ALIAS_MODE,
17
17
  MeasurementPortfolioLists,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  REGISTERED_CLI_COMMANDS
3
- } from "./chunk-JMYH66HM.js";
3
+ } from "./chunk-ANAZ6ANA.js";
4
4
  import "./chunk-6GO5VVAC.js";
5
5
  import "./chunk-VJWDBFSL.js";
6
6
  import "./chunk-NWOPXLH3.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-JMYH66HM.js";
4
+ } from "./chunk-ANAZ6ANA.js";
5
5
  import "./chunk-6GO5VVAC.js";
6
6
  import {
7
7
  buildSetupState,
8
8
  runPendingServeHandoff
9
- } from "./chunk-BKWHZDJX.js";
9
+ } from "./chunk-5KKU3YTF.js";
10
10
  import "./chunk-VJWDBFSL.js";
11
11
  import "./chunk-NWOPXLH3.js";
12
12
  import "./chunk-TSENU4GG.js";
@@ -7,7 +7,7 @@ import {
7
7
  } from "./chunk-HGMYEDAQ.js";
8
8
  import {
9
9
  anyUsersExist
10
- } from "./chunk-UQIFH6WN.js";
10
+ } from "./chunk-GOKYM7T5.js";
11
11
  import "./chunk-O3HY3VSN.js";
12
12
  import "./chunk-N5YFWTDQ.js";
13
13
  import {
@@ -40,7 +40,7 @@ function parseDemoTrustedProxies(values) {
40
40
  async function demoCommand(options) {
41
41
  const { host, port } = parseDemoListenOptions(options);
42
42
  const trustProxy = parseDemoTrustedProxies(options.trustProxy);
43
- const { createDemoServer } = await import("./demo-server-H2SHGAER.js");
43
+ const { createDemoServer } = await import("./demo-server-NQG5YAQE.js");
44
44
  const app = await createDemoServer({ trustProxy });
45
45
  let stopping = false;
46
46
  const stop = () => {
@@ -18,7 +18,7 @@ import "./chunk-HGMYEDAQ.js";
18
18
  import {
19
19
  HISTORY_WINDOW_RUNS,
20
20
  IntelligenceService
21
- } from "./chunk-HXSPVBYA.js";
21
+ } from "./chunk-2TFDE7HA.js";
22
22
  import {
23
23
  determineCitationState
24
24
  } from "./chunk-W6ORSOMS.js";
@@ -26,7 +26,7 @@ import "./chunk-OBDOHDDJ.js";
26
26
  import {
27
27
  apiRoutes,
28
28
  assessConversionTrackingIntegrity
29
- } from "./chunk-UQIFH6WN.js";
29
+ } from "./chunk-GOKYM7T5.js";
30
30
  import "./chunk-O3HY3VSN.js";
31
31
  import "./chunk-N5YFWTDQ.js";
32
32
  import {
package/dist/index.d.ts CHANGED
@@ -1352,8 +1352,8 @@ declare const seoCompetitorSchema: z.ZodObject<{
1352
1352
  }, z.core.$strict>;
1353
1353
  type SeoCompetitor = z.infer<typeof seoCompetitorSchema>;
1354
1354
  declare const seoKeywordGapModeSchema: z.ZodEnum<{
1355
- missing: "missing";
1356
1355
  shared: "shared";
1356
+ missing: "missing";
1357
1357
  }>;
1358
1358
  type SeoKeywordGapMode = z.infer<typeof seoKeywordGapModeSchema>;
1359
1359
  /** Missing means absent from the provider's database result for this pair, never a fresh Google rank check. */
@@ -1383,8 +1383,8 @@ declare const seoKeywordGapSchema: z.ZodObject<{
1383
1383
  keywordDifficulty: z.ZodNullable<z.ZodNumber>;
1384
1384
  cpcUsd: z.ZodNullable<z.ZodNumber>;
1385
1385
  kind: z.ZodEnum<{
1386
- missing: "missing";
1387
1386
  shared: "shared";
1387
+ missing: "missing";
1388
1388
  outranked: "outranked";
1389
1389
  }>;
1390
1390
  rankGap: z.ZodNullable<z.ZodNumber>;
@@ -1680,8 +1680,8 @@ declare const seoResultsSchema: z.ZodObject<{
1680
1680
  keywordDifficulty: z.ZodNullable<z.ZodNumber>;
1681
1681
  cpcUsd: z.ZodNullable<z.ZodNumber>;
1682
1682
  kind: z.ZodEnum<{
1683
- missing: "missing";
1684
1683
  shared: "shared";
1684
+ missing: "missing";
1685
1685
  outranked: "outranked";
1686
1686
  }>;
1687
1687
  rankGap: z.ZodNullable<z.ZodNumber>;
@@ -6323,7 +6323,7 @@ declare const querySnapshots: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
6323
6323
  tableName: "query_snapshots";
6324
6324
  dataType: "string";
6325
6325
  columnType: "SQLiteText";
6326
- data: "unknown" | "not-applicable" | "used" | "not-used";
6326
+ data: "unknown" | "used" | "not-used" | "not-applicable";
6327
6327
  driverParam: string;
6328
6328
  notNull: false;
6329
6329
  hasDefault: false;
@@ -6336,7 +6336,7 @@ declare const querySnapshots: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
6336
6336
  generated: undefined;
6337
6337
  }, {}, {
6338
6338
  length: number | undefined;
6339
- $type: "unknown" | "not-applicable" | "used" | "not-used";
6339
+ $type: "unknown" | "used" | "not-used" | "not-applicable";
6340
6340
  }>;
6341
6341
  retrievalContract: drizzle_orm_sqlite_core.SQLiteColumn<{
6342
6342
  name: "retrieval_contract";
@@ -6684,7 +6684,7 @@ declare const querySnapshots: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
6684
6684
  status?: string | null | undefined;
6685
6685
  }[];
6686
6686
  searchQueries: string[];
6687
- retrievalStatus: "unknown" | "not-applicable" | "used" | "not-used";
6687
+ retrievalStatus: "unknown" | "used" | "not-used" | "not-applicable";
6688
6688
  citationBasis: "none" | "mixed" | "answer-support" | "explicit-citation";
6689
6689
  citationMeasurable: boolean;
6690
6690
  directSourceUrls: boolean;
@@ -6789,7 +6789,7 @@ declare const querySnapshots: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
6789
6789
  status?: string | null | undefined;
6790
6790
  }[];
6791
6791
  searchQueries: string[];
6792
- retrievalStatus: "unknown" | "not-applicable" | "used" | "not-used";
6792
+ retrievalStatus: "unknown" | "used" | "not-used" | "not-applicable";
6793
6793
  citationBasis: "none" | "mixed" | "answer-support" | "explicit-citation";
6794
6794
  citationMeasurable: boolean;
6795
6795
  directSourceUrls: boolean;
@@ -31319,7 +31319,7 @@ declare const researchRunQueries: drizzle_orm_sqlite_core.SQLiteTableWithColumns
31319
31319
  status?: string | null | undefined;
31320
31320
  }[];
31321
31321
  searchQueries: string[];
31322
- retrievalStatus: "unknown" | "not-applicable" | "used" | "not-used";
31322
+ retrievalStatus: "unknown" | "used" | "not-used" | "not-applicable";
31323
31323
  citationBasis: "none" | "mixed" | "answer-support" | "explicit-citation";
31324
31324
  citationMeasurable: boolean;
31325
31325
  directSourceUrls: boolean;
@@ -31424,7 +31424,7 @@ declare const researchRunQueries: drizzle_orm_sqlite_core.SQLiteTableWithColumns
31424
31424
  status?: string | null | undefined;
31425
31425
  }[];
31426
31426
  searchQueries: string[];
31427
- retrievalStatus: "unknown" | "not-applicable" | "used" | "not-used";
31427
+ retrievalStatus: "unknown" | "used" | "not-used" | "not-applicable";
31428
31428
  citationBasis: "none" | "mixed" | "answer-support" | "explicit-citation";
31429
31429
  citationMeasurable: boolean;
31430
31430
  directSourceUrls: boolean;
package/dist/index.js CHANGED
@@ -3,14 +3,14 @@ import {
3
3
  createGoogleMarketingCredentialStore,
4
4
  createGoogleMarketingRuntime,
5
5
  createServer
6
- } from "./chunk-A2CPQTHW.js";
7
- import "./chunk-BYIUY2US.js";
6
+ } from "./chunk-7OGHD6Z2.js";
7
+ import "./chunk-HM25YXM4.js";
8
8
  import "./chunk-VBNULTRM.js";
9
- import "./chunk-GV22EPIQ.js";
9
+ import "./chunk-PQ6AORS2.js";
10
10
  import "./chunk-ELCLGWUT.js";
11
11
  import "./chunk-XEBKF4N5.js";
12
12
  import "./chunk-34ZFWATV.js";
13
- import "./chunk-4MHU35U6.js";
13
+ import "./chunk-5NU6BWCL.js";
14
14
  import "./chunk-VFT4AFA6.js";
15
15
  import "./chunk-TSENU4GG.js";
16
16
  import "./chunk-T6TLIZEO.js";
@@ -28,10 +28,10 @@ import "./chunk-ZGAOBFAT.js";
28
28
  import "./chunk-73SA4H5D.js";
29
29
  import "./chunk-AOJU5LKX.js";
30
30
  import "./chunk-HGMYEDAQ.js";
31
- import "./chunk-HXSPVBYA.js";
31
+ import "./chunk-2TFDE7HA.js";
32
32
  import "./chunk-W6ORSOMS.js";
33
33
  import "./chunk-OBDOHDDJ.js";
34
- import "./chunk-UQIFH6WN.js";
34
+ import "./chunk-GOKYM7T5.js";
35
35
  import "./chunk-O3HY3VSN.js";
36
36
  import "./chunk-N5YFWTDQ.js";
37
37
  import "./chunk-2P2YNCJB.js";
@@ -7,7 +7,7 @@ import {
7
7
  import {
8
8
  buildSetupState,
9
9
  queueServeHandoff
10
- } from "./chunk-BKWHZDJX.js";
10
+ } from "./chunk-5KKU3YTF.js";
11
11
  import "./chunk-VJWDBFSL.js";
12
12
  import "./chunk-VFT4AFA6.js";
13
13
  import "./chunk-T6TLIZEO.js";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  HISTORY_WINDOW_RUNS,
3
3
  IntelligenceService
4
- } from "./chunk-HXSPVBYA.js";
4
+ } from "./chunk-2TFDE7HA.js";
5
5
  import "./chunk-W6ORSOMS.js";
6
6
  import "./chunk-OBDOHDDJ.js";
7
- import "./chunk-UQIFH6WN.js";
7
+ import "./chunk-GOKYM7T5.js";
8
8
  import "./chunk-O3HY3VSN.js";
9
9
  import "./chunk-N5YFWTDQ.js";
10
10
  import "./chunk-2P2YNCJB.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  backfillAiReferralPaths,
3
3
  backfillNormalizedPaths
4
- } from "./chunk-BTNWUQDC.js";
4
+ } from "./chunk-KUNOMUUG.js";
5
5
  import {
6
6
  operatorHttpUrl
7
7
  } from "./chunk-6GO5VVAC.js";
@@ -9,14 +9,14 @@ import {
9
9
  allowsKeylessFirstRunSetup,
10
10
  createServer,
11
11
  waitForServerRuntimeStartup
12
- } from "./chunk-A2CPQTHW.js";
13
- import "./chunk-BYIUY2US.js";
12
+ } from "./chunk-7OGHD6Z2.js";
13
+ import "./chunk-HM25YXM4.js";
14
14
  import "./chunk-VBNULTRM.js";
15
- import "./chunk-GV22EPIQ.js";
15
+ import "./chunk-PQ6AORS2.js";
16
16
  import "./chunk-ELCLGWUT.js";
17
17
  import "./chunk-XEBKF4N5.js";
18
18
  import "./chunk-34ZFWATV.js";
19
- import "./chunk-4MHU35U6.js";
19
+ import "./chunk-5NU6BWCL.js";
20
20
  import {
21
21
  trackFeatureCompleted
22
22
  } from "./chunk-VFT4AFA6.js";
@@ -57,13 +57,13 @@ import {
57
57
  CliError,
58
58
  isMachineFormat
59
59
  } from "./chunk-HGMYEDAQ.js";
60
- import "./chunk-HXSPVBYA.js";
60
+ import "./chunk-2TFDE7HA.js";
61
61
  import "./chunk-W6ORSOMS.js";
62
62
  import "./chunk-OBDOHDDJ.js";
63
63
  import {
64
64
  refreshSnapshotMentionIdentity,
65
65
  snapshotsWithSentimentResults
66
- } from "./chunk-UQIFH6WN.js";
66
+ } from "./chunk-GOKYM7T5.js";
67
67
  import "./chunk-O3HY3VSN.js";
68
68
  import "./chunk-N5YFWTDQ.js";
69
69
  import {
@@ -9,8 +9,8 @@ import {
9
9
  resolveAeroModel,
10
10
  resolveConfiguredAgentProvider,
11
11
  resolveSessionProviderAndModel
12
- } from "./chunk-BYIUY2US.js";
13
- import "./chunk-GV22EPIQ.js";
12
+ } from "./chunk-HM25YXM4.js";
13
+ import "./chunk-PQ6AORS2.js";
14
14
  import {
15
15
  resolveAeroSkillDir
16
16
  } from "./chunk-2FWYWGIR.js";
@@ -26,7 +26,7 @@ import "./chunk-73SA4H5D.js";
26
26
  import "./chunk-AOJU5LKX.js";
27
27
  import "./chunk-HGMYEDAQ.js";
28
28
  import "./chunk-OBDOHDDJ.js";
29
- import "./chunk-UQIFH6WN.js";
29
+ import "./chunk-GOKYM7T5.js";
30
30
  import "./chunk-O3HY3VSN.js";
31
31
  import "./chunk-N5YFWTDQ.js";
32
32
  import "./chunk-2P2YNCJB.js";
@@ -11,7 +11,7 @@ import {
11
11
  buildAllTools,
12
12
  buildReadTools,
13
13
  isAeroToolProfile
14
- } from "./chunk-GV22EPIQ.js";
14
+ } from "./chunk-PQ6AORS2.js";
15
15
  import "./chunk-4PLVST2T.js";
16
16
  import "./chunk-BNSSB6H4.js";
17
17
  import "./chunk-HUH6676A.js";
@@ -19,7 +19,7 @@ import "./chunk-ZGAOBFAT.js";
19
19
  import "./chunk-73SA4H5D.js";
20
20
  import "./chunk-AOJU5LKX.js";
21
21
  import "./chunk-HGMYEDAQ.js";
22
- import "./chunk-UQIFH6WN.js";
22
+ import "./chunk-GOKYM7T5.js";
23
23
  import "./chunk-O3HY3VSN.js";
24
24
  import "./chunk-N5YFWTDQ.js";
25
25
  import "./chunk-2P2YNCJB.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@canonry/canonry",
3
- "version": "7.104.2",
3
+ "version": "7.104.4",
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": [