@canonry/canonry 7.90.2 → 7.91.1

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 (136) hide show
  1. package/README.md +182 -125
  2. package/assets/agent-workspace/skills/canonry/references/canonry-cli.md +4 -0
  3. package/assets/assets/{AgentSetupPage-FfxjZWI8.js → AgentSetupPage-DpBlChWi.js} +1 -1
  4. package/assets/assets/{AuditHistoryPanel-YrEggsyA.js → AuditHistoryPanel-DAotR_zD.js} +1 -1
  5. package/assets/assets/{BacklinksPage-vXUxxplH.js → BacklinksPage-CFoi9mrt.js} +1 -1
  6. package/assets/assets/{HistoryPage-VJ_JQ7R3.js → HistoryPage-DIGmY4wi.js} +1 -1
  7. package/assets/assets/{MeasurementPropertyPage-DVm7CHU8.js → MeasurementPropertyPage-C6o9U2R6.js} +1 -1
  8. package/assets/assets/{ProjectPage-D6mHRRSs.js → ProjectPage-00Vsnxv4.js} +1 -1
  9. package/assets/assets/{RunsPage-DwtYzU9w.js → RunsPage-ChSbIrF9.js} +1 -1
  10. package/assets/assets/{SettingsPage-DsmgLFb7.js → SettingsPage-CIrzXeP8.js} +1 -1
  11. package/assets/assets/{SiteHealthSection-CFu6JBTb.js → SiteHealthSection-HZXdeAOx.js} +2 -2
  12. package/assets/assets/ToneBadge-ht0n6RUH.js +60 -0
  13. package/assets/assets/{TrafficPage-DGPSaWTl.js → TrafficPage-ZYsFSEuq.js} +1 -1
  14. package/assets/assets/{TrafficSourceDetailPage-C79eQilP.js → TrafficSourceDetailPage-D5uJZpZ4.js} +1 -1
  15. package/assets/assets/{account-context-GstYbqpX.js → account-context-DMLbDVNZ.js} +1 -1
  16. package/assets/assets/{agent-trust-copy-Ca4ys8J2.js → agent-trust-copy-DbpAXPxc.js} +1 -1
  17. package/assets/assets/{card-CgdGerYK.js → card-Be_eN_-Q.js} +1 -1
  18. package/assets/assets/{format-helpers-ByAY4dv0.js → format-helpers-IKCsn-Iw.js} +1 -1
  19. package/assets/assets/{index-D1ox2bx5.js → index-3jdPlyTf.js} +4 -4
  20. package/assets/assets/{query-client-DjRrRIsq.js → query-client-CoKNm49W.js} +1 -1
  21. package/assets/assets/{react-query-B8JD_K7g.js → react-query-DIdeX4Dn.js} +1 -1
  22. package/assets/assets/{react-sigma_core.esm.min-BGXzc_-G.js → react-sigma_core.esm.min-De3OcL3T.js} +1 -1
  23. package/assets/assets/{server-traffic-Bt9bexaP.js → server-traffic-DvN44H1n.js} +1 -1
  24. package/assets/assets/{service-SgtD5EOS.js → service-RpR2yqfP.js} +1 -1
  25. package/assets/index.html +7 -7
  26. package/dist/{ads-6BAITIBY.js → ads-QS4QEBHX.js} +3 -3
  27. package/dist/{agent-BE3D65U4.js → agent-TTGLGLPD.js} +7 -7
  28. package/dist/{agent-ask-TT6BAV2T.js → agent-ask-EBYJSSGR.js} +3 -3
  29. package/dist/{agent-conversations-GJDAWU36.js → agent-conversations-LPBMYN4F.js} +3 -3
  30. package/dist/{agent-journeys-UEL27GNY.js → agent-journeys-EL27YZKQ.js} +3 -3
  31. package/dist/{agent-memory-PB74OP46.js → agent-memory-YNWTLZGS.js} +3 -3
  32. package/dist/{agent-providers-5WFMNRRK.js → agent-providers-T7HJEQYM.js} +3 -3
  33. package/dist/{agent-transcript-IAGB3JXG.js → agent-transcript-EY6KUYYG.js} +3 -3
  34. package/dist/{analytics-5BVE7KUN.js → analytics-NTO6DGQ2.js} +3 -3
  35. package/dist/{apply-YJJWQ4JX.js → apply-UGT7DZHG.js} +3 -3
  36. package/dist/{backfill-6OLGZIEV.js → backfill-KDTC6JEP.js} +10 -10
  37. package/dist/{backlinks-4JK26OIO.js → backlinks-JRG57JRJ.js} +3 -3
  38. package/dist/{bing-NZYYPB2M.js → bing-ZV6QDFTJ.js} +3 -3
  39. package/dist/{bootstrap-6KHK63W3.js → bootstrap-GJHNMV5P.js} +10 -10
  40. package/dist/{cdp-PTXWVX6T.js → cdp-ZN47QU5O.js} +7 -7
  41. package/dist/{chunk-N7LRPMWR.js → chunk-2N7BYEZO.js} +2 -2
  42. package/dist/{chunk-ZV6PMFF4.js → chunk-3HNHOS6O.js} +1 -1
  43. package/dist/{chunk-HUQDD26S.js → chunk-3MIZP4IB.js} +7 -7
  44. package/dist/{chunk-SDXMG4VX.js → chunk-42OW42AR.js} +33 -7
  45. package/dist/{chunk-WYMBWCG5.js → chunk-4FFIIZB5.js} +1 -1
  46. package/dist/{chunk-AFYKUX2X.js → chunk-56EXMS52.js} +2 -2
  47. package/dist/{chunk-DZO6CATO.js → chunk-6DP2YPZY.js} +4 -4
  48. package/dist/{chunk-NKGQCCUS.js → chunk-6PNFPMLD.js} +6 -6
  49. package/dist/{chunk-7VJJXLRP.js → chunk-7KHSKOV6.js} +3 -3
  50. package/dist/{chunk-TA4L7U2M.js → chunk-AXWUCOYT.js} +1 -1
  51. package/dist/{chunk-USHY3SH6.js → chunk-C3BSCGUH.js} +15 -1
  52. package/dist/{chunk-K34Y6HQZ.js → chunk-DXXHZHPE.js} +390 -362
  53. package/dist/{chunk-QWNDNZJ3.js → chunk-EOIH5XHT.js} +2 -2
  54. package/dist/{chunk-DF4B6OGX.js → chunk-FAXYDTV5.js} +4 -4
  55. package/dist/{chunk-WNDBACO7.js → chunk-IHMODTQ7.js} +4 -4
  56. package/dist/{chunk-7ASKZHS4.js → chunk-IQ5RKJKQ.js} +1 -1
  57. package/dist/{chunk-PID3C4B7.js → chunk-L5U7VT4A.js} +1 -1
  58. package/dist/{chunk-UG7TZJIG.js → chunk-LSIE5MHG.js} +1 -1
  59. package/dist/{chunk-MGBUQHQZ.js → chunk-M322ZEOQ.js} +4 -4
  60. package/dist/{chunk-NPX5SL54.js → chunk-NAPFULBT.js} +1 -1
  61. package/dist/{chunk-YB2GAK32.js → chunk-NL2WM6OB.js} +5 -5
  62. package/dist/{chunk-2UULABPI.js → chunk-OI6YQMSB.js} +3 -3
  63. package/dist/{chunk-GKX5F7NX.js → chunk-P4MNYMJJ.js} +1 -1
  64. package/dist/{chunk-I7DAEE3L.js → chunk-PAXP5KZC.js} +5 -5
  65. package/dist/{chunk-ETIIPSWL.js → chunk-PQNT2JUO.js} +25 -0
  66. package/dist/{chunk-LTZNUDSI.js → chunk-QUS7755A.js} +3 -3
  67. package/dist/{chunk-XCEA5OMI.js → chunk-SYOQULRL.js} +2 -2
  68. package/dist/{chunk-Q6EZEVXE.js → chunk-UQVUDSAV.js} +1 -1
  69. package/dist/{chunk-K2B64IEQ.js → chunk-VFQMRUGN.js} +30 -23
  70. package/dist/{chunk-L2MDMZFT.js → chunk-W6H7WDHW.js} +3 -3
  71. package/dist/{chunk-LQWMNDZR.js → chunk-WOEGZKXQ.js} +1 -1
  72. package/dist/{chunk-F6WNKKGG.js → chunk-WTKGSKCS.js} +2 -2
  73. package/dist/{chunk-QLVTMPFW.js → chunk-YCRSIOIN.js} +2 -2
  74. package/dist/{chunk-F442MSX2.js → chunk-YFOTI7LJ.js} +2 -2
  75. package/dist/{chunk-OOVWMWMT.js → chunk-YVY23HNW.js} +1 -1
  76. package/dist/{citations-WX4VO6ZI.js → citations-6723MJLH.js} +3 -3
  77. package/dist/{cli-catalog-BTRNR2UP.js → cli-catalog-RVBNEPWA.js} +3 -3
  78. package/dist/{cli-commands-TJBEUBBX.js → cli-commands-6ZOUHE3V.js} +7 -7
  79. package/dist/cli.js +13 -13
  80. package/dist/{competitor-HZRZWCEN.js → competitor-ENYN5RAD.js} +3 -3
  81. package/dist/{content-NOZDHI3M.js → content-TT3PF4CR.js} +3 -3
  82. package/dist/{dashboard-TZLWHXP4.js → dashboard-JLCJDU2V.js} +6 -6
  83. package/dist/{demo-2PYBQD47.js → demo-KMVR3ZWW.js} +1 -1
  84. package/dist/{demo-server-JEQNGMMV.js → demo-server-QXI7BGMM.js} +12 -12
  85. package/dist/{discover-A2XFXHOC.js → discover-HATQTTDG.js} +3 -3
  86. package/dist/{discover-eval-A6SBUYXF.js → discover-eval-64TWPB5Z.js} +3 -3
  87. package/dist/{doctor-GZACELPF.js → doctor-6C5TXOG3.js} +3 -3
  88. package/dist/{evidence-RVFMUWIL.js → evidence-K43NRSOT.js} +3 -3
  89. package/dist/{export-cmd-X2TFZGNJ.js → export-cmd-KU64GUQ5.js} +3 -3
  90. package/dist/{ga-TOT3V67A.js → ga-KXKLUQBQ.js} +3 -3
  91. package/dist/{gbp-KP4YZU6S.js → gbp-5CZTROVP.js} +3 -3
  92. package/dist/{google-GCFSTV5N.js → google-6TNU7SVF.js} +4 -4
  93. package/dist/{google-marketing-ANS65KQN.js → google-marketing-UCUIJBQG.js} +1 -1
  94. package/dist/{health-cmd-UKMNLU6D.js → health-cmd-ZFJ7ZOWI.js} +3 -3
  95. package/dist/{history-TWGYSAZZ.js → history-V664SORR.js} +3 -3
  96. package/dist/index.d.ts +59 -32
  97. package/dist/index.js +25 -25
  98. package/dist/{init-3GSNOIUH.js → init-TAIUP5GV.js} +12 -12
  99. package/dist/{insights-7IOC7WIR.js → insights-JFW7HBPR.js} +3 -3
  100. package/dist/intelligence-service-RRKHXZ2N.js +16 -0
  101. package/dist/{journeys-NWKT45PT.js → journeys-QTZXBKBT.js} +3 -3
  102. package/dist/{keys-ZZYZUHUK.js → keys-KGI5S2IE.js} +3 -3
  103. package/dist/{keyword-F6EIX5KM.js → keyword-XU6Y4XVH.js} +3 -3
  104. package/dist/{logs-B45FXS6E.js → logs-E2DQXWQQ.js} +3 -3
  105. package/dist/{mcp-WPNCNWA5.js → mcp-PQE6WFED.js} +4 -4
  106. package/dist/mcp.js +9 -9
  107. package/dist/{measurement-plan-QT5HJ3KC.js → measurement-plan-NBGLF7BI.js} +5 -5
  108. package/dist/{notify-Z3LIF3SO.js → notify-SHEAQNUJ.js} +3 -3
  109. package/dist/{organic-evidence-R5TM7XUB.js → organic-evidence-LMXCFABG.js} +3 -3
  110. package/dist/{overview-6TZHJLQN.js → overview-MXEBDUCA.js} +4 -4
  111. package/dist/{project-VMPVOQ2A.js → project-MWZGTK4S.js} +3 -3
  112. package/dist/{query-EXSH5QP7.js → query-EZQY45JT.js} +3 -3
  113. package/dist/{research-6R6BEL4X.js → research-PSPDLEQL.js} +3 -3
  114. package/dist/{results-export-ZJRL3ECU.js → results-export-7FLSFC7J.js} +3 -3
  115. package/dist/{run-C4VXAJE3.js → run-MASOXS63.js} +4 -4
  116. package/dist/{schedule-KC6ETWMO.js → schedule-V32G7TBR.js} +21 -5
  117. package/dist/{search-SUR6BEQD.js → search-R2S5CAVK.js} +3 -3
  118. package/dist/{serve-SEHH35PJ.js → serve-PGPQOVGC.js} +26 -26
  119. package/dist/{session-D42KUKCZ.js → session-MNEWM2CT.js} +13 -13
  120. package/dist/{settings-LTCG3D5B.js → settings-KBY4766O.js} +3 -3
  121. package/dist/{sitemaps-YMTZLF5S.js → sitemaps-FLMA6DMY.js} +3 -3
  122. package/dist/{skills-THMG3L64.js → skills-WAHOLVYH.js} +2 -2
  123. package/dist/{snapshot-ZEVB3EE4.js → snapshot-VJYM7UX2.js} +3 -3
  124. package/dist/{src-HPVSTXVF.js → src-XVBKS6UX.js} +2 -2
  125. package/dist/{status-LPCPTWKO.js → status-YFAUBVEA.js} +4 -4
  126. package/dist/{technical-aeo-J6LNT45B.js → technical-aeo-656NEU3A.js} +3 -3
  127. package/dist/{telemetry-BPY34GDV.js → telemetry-CJ7ENZDY.js} +4 -4
  128. package/dist/{tools-K3G43ESI.js → tools-4STRCC7Q.js} +11 -11
  129. package/dist/{traffic-BOIFAPAR.js → traffic-NN6ECPRS.js} +5 -5
  130. package/dist/{trends-A2MDRSQQ.js → trends-HXZVTQ3I.js} +3 -3
  131. package/dist/{users-VJOQODJK.js → users-PELDCAXQ.js} +3 -3
  132. package/dist/{visibility-stats-YNMJYASA.js → visibility-stats-W3AELURT.js} +3 -3
  133. package/dist/{wordpress-BWG6D7VH.js → wordpress-TAVEI2XQ.js} +3 -3
  134. package/package.json +1 -1
  135. package/assets/assets/ToneBadge-B3rD6bDF.js +0 -60
  136. package/dist/intelligence-service-42Q3OVI5.js +0 -16
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createApiClient
3
- } from "./chunk-F6WNKKGG.js";
3
+ } from "./chunk-WTKGSKCS.js";
4
4
  import {
5
5
  emitJsonl
6
6
  } from "./chunk-Z7IUAJOF.js";
@@ -19,7 +19,7 @@ import {
19
19
  formatMicros,
20
20
  formatRunErrorOneLine,
21
21
  resolveProviderInput
22
- } from "./chunk-ETIIPSWL.js";
22
+ } from "./chunk-PQNT2JUO.js";
23
23
 
24
24
  // src/commands/run.ts
25
25
  function getClient() {
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  runWithUsageTags
3
- } from "./chunk-F6WNKKGG.js";
3
+ } from "./chunk-WTKGSKCS.js";
4
4
  import {
5
5
  CanonryMcpToolNames,
6
6
  canonryMcpTools
7
- } from "./chunk-WNDBACO7.js";
7
+ } from "./chunk-IHMODTQ7.js";
8
8
  import {
9
9
  CliError
10
10
  } from "./chunk-HGMYEDAQ.js";
11
11
  import {
12
12
  buildOpenApiDocument
13
- } from "./chunk-SDXMG4VX.js";
13
+ } from "./chunk-42OW42AR.js";
14
14
  import {
15
15
  DEFAULT_COMPETITOR_AUTO_ALIAS_MODE,
16
16
  MeasurementPortfolioLists,
@@ -23,7 +23,7 @@ import {
23
23
  seoDatasetWithoutVendor,
24
24
  seoProviderSchema,
25
25
  truncateUtf16
26
- } from "./chunk-ETIIPSWL.js";
26
+ } from "./chunk-PQNT2JUO.js";
27
27
 
28
28
  // src/agent/tools.ts
29
29
  import { Type as Type2 } from "@earendil-works/pi-ai";
@@ -2,11 +2,11 @@ import {
2
2
  dedupeGscSitemapUrls,
3
3
  resolveDiscoveredGscSitemapUrls,
4
4
  submitGscSitemapBatches
5
- } from "./chunk-7ASKZHS4.js";
5
+ } from "./chunk-IQ5RKJKQ.js";
6
6
  import {
7
7
  measurementDraftOperationSchema,
8
8
  runMeasurementDraftAction
9
- } from "./chunk-PID3C4B7.js";
9
+ } from "./chunk-L5U7VT4A.js";
10
10
  import {
11
11
  CliError
12
12
  } from "./chunk-HGMYEDAQ.js";
@@ -187,7 +187,7 @@ import {
187
187
  trendSurfaceSchema,
188
188
  visibilityCompareSelectionSchema,
189
189
  visibilityReportRequestSchema
190
- } from "./chunk-ETIIPSWL.js";
190
+ } from "./chunk-PQNT2JUO.js";
191
191
 
192
192
  // src/mcp/tool-registry.ts
193
193
  import { z as z2 } from "zod";
@@ -4024,7 +4024,7 @@ var rawCanonryMcpTools = [
4024
4024
  defineTool({
4025
4025
  name: "canonry_schedule_set",
4026
4026
  title: "Set schedule",
4027
- description: "Create or replace the scheduled run configuration for a Canonry project.",
4027
+ description: 'Create or replace the scheduled run configuration for a Canonry project. For kind "site-audit", `siteAudit` sets what each scheduled scan checks ({ checkDeadLinks, includeGeo, includeAgentSkills }); omit it to keep the current checks, or pass null to reset them to the defaults.',
4028
4028
  access: "write",
4029
4029
  tier: "setup",
4030
4030
  inputSchema: scheduleSetInputSchema,
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-HGMYEDAQ.js";
5
5
  import {
6
6
  describeError
7
- } from "./chunk-ETIIPSWL.js";
7
+ } from "./chunk-PQNT2JUO.js";
8
8
 
9
9
  // src/gsc-sitemap-submission.ts
10
10
  function dedupeGscSitemapUrls(urls) {
@@ -23,7 +23,7 @@ import {
23
23
  measurementDraftUpsertGroupRequestSchema,
24
24
  measurementDraftUpsertMarketRequestSchema,
25
25
  measurementDraftUpsertTargetRequestSchema
26
- } from "./chunk-ETIIPSWL.js";
26
+ } from "./chunk-PQNT2JUO.js";
27
27
 
28
28
  // src/measurement-draft-actions.ts
29
29
  import { z } from "zod";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  cloudflareQueueNameSchema
3
- } from "./chunk-ETIIPSWL.js";
3
+ } from "./chunk-PQNT2JUO.js";
4
4
 
5
5
  // src/cloudflare-traffic-config.ts
6
6
  function unsupportedDeliveryMode(deliveryMode) {
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  registeredProviderNames
3
- } from "./chunk-LQWMNDZR.js";
3
+ } from "./chunk-WOEGZKXQ.js";
4
4
  import {
5
5
  configExists,
6
6
  loadConfigRaw
7
- } from "./chunk-OOVWMWMT.js";
7
+ } from "./chunk-YVY23HNW.js";
8
8
 
9
9
  // src/setup-state.ts
10
10
  import fs from "fs";
@@ -28,7 +28,7 @@ async function buildSetupState() {
28
28
  }
29
29
  if (dbPath && fs.existsSync(dbPath)) {
30
30
  try {
31
- const { createClient, projects, queries: queriesTable } = await import("./src-HPVSTXVF.js");
31
+ const { createClient, projects, queries: queriesTable } = await import("./src-XVBKS6UX.js");
32
32
  const db = createClient(dbPath);
33
33
  project_count = db.select({ id: projects.id }).from(projects).all().length;
34
34
  const firstQuery = db.select({ id: queriesTable.id }).from(queriesTable).limit(1).all();
@@ -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-SEHH35PJ.js");
50
+ const { serveCommand } = await import("./serve-PGPQOVGC.js");
51
51
  await serveCommand(format);
52
52
  }
53
53
 
@@ -15,7 +15,7 @@ import {
15
15
  hostMatchesDomain,
16
16
  hostOf,
17
17
  isLocationRedirectStatus
18
- } from "./chunk-ETIIPSWL.js";
18
+ } from "./chunk-PQNT2JUO.js";
19
19
 
20
20
  // ../integration-traffic/src/agent-trust.ts
21
21
  var AGENT_TRUST_RULES_VERSION = 2;
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  pickProjectCitedDomain
3
- } from "./chunk-GKX5F7NX.js";
3
+ } from "./chunk-P4MNYMJJ.js";
4
4
  import {
5
5
  createLogger
6
- } from "./chunk-XCEA5OMI.js";
6
+ } from "./chunk-SYOQULRL.js";
7
7
  import {
8
8
  GBP_INSIGHT_PROVIDER,
9
9
  PERSISTENT_GAP_THRESHOLD,
@@ -17,7 +17,7 @@ import {
17
17
  mergeGscQueryTotalsWithFallback,
18
18
  readGscQueryDailyRows,
19
19
  readLatestGscDataDate
20
- } from "./chunk-SDXMG4VX.js";
20
+ } from "./chunk-42OW42AR.js";
21
21
  import {
22
22
  competitors,
23
23
  gbpDailyMetrics,
@@ -35,14 +35,14 @@ import {
35
35
  queries,
36
36
  querySnapshots,
37
37
  runs
38
- } from "./chunk-USHY3SH6.js";
38
+ } from "./chunk-C3BSCGUH.js";
39
39
  import {
40
40
  CitationStates,
41
41
  RunKinds,
42
42
  RunStatuses,
43
43
  RunTriggers,
44
44
  effectiveDomains
45
- } from "./chunk-ETIIPSWL.js";
45
+ } from "./chunk-PQNT2JUO.js";
46
46
 
47
47
  // src/intelligence-service.ts
48
48
  import { eq, desc, asc, and, ne, or, inArray, gte, lte, isNull, sql, exists } from "drizzle-orm";
@@ -3,7 +3,7 @@ import {
3
3
  resolveCliAccess,
4
4
  resolveCliAccessForInvocation,
5
5
  windowOptions
6
- } from "./chunk-WYMBWCG5.js";
6
+ } from "./chunk-4FFIIZB5.js";
7
7
  import {
8
8
  emitJsonl
9
9
  } from "./chunk-Z7IUAJOF.js";
@@ -14,7 +14,7 @@ import {
14
14
  } from "./chunk-HGMYEDAQ.js";
15
15
  import {
16
16
  OperationAccesses
17
- } from "./chunk-ETIIPSWL.js";
17
+ } from "./chunk-PQNT2JUO.js";
18
18
 
19
19
  // src/cli-catalog.ts
20
20
  import { createRequire } from "module";
@@ -111,7 +111,7 @@ async function dispatchRegisteredCommand(args, fallbackFormat, specs) {
111
111
  const accessValue = accessFilterFromArgs(argsWithoutHelp);
112
112
  validateAccessFilter(accessValue);
113
113
  if (fallbackFormat !== "text") {
114
- const { printCliCatalog: printCliCatalog2 } = await import("./cli-catalog-BTRNR2UP.js");
114
+ const { printCliCatalog: printCliCatalog2 } = await import("./cli-catalog-RVBNEPWA.js");
115
115
  const group2 = argsWithoutHelp.find((arg) => !arg.startsWith("--"));
116
116
  printCliCatalog2(specs, fallbackFormat, group2, accessValue);
117
117
  return true;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  hostMatchesDomain
3
- } from "./chunk-ETIIPSWL.js";
3
+ } from "./chunk-PQNT2JUO.js";
4
4
 
5
5
  // src/citation-utils.ts
6
6
  function pickProjectCitedDomain(citedDomains, projectDomains) {
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  createLogger
3
- } from "./chunk-XCEA5OMI.js";
3
+ } from "./chunk-SYOQULRL.js";
4
4
  import {
5
5
  addLikelyFakeAgentHits,
6
6
  correctBackgroundCallJourneys,
7
7
  mergeSplitJourneyVisitors,
8
8
  writeUnrecognizedAgentBuckets
9
- } from "./chunk-SDXMG4VX.js";
9
+ } from "./chunk-42OW42AR.js";
10
10
  import {
11
11
  AGENT_TRUST_RULES_VERSION,
12
12
  BROWSER_SHAPED_AGENT_MARKERS,
@@ -23,7 +23,7 @@ import {
23
23
  isSelfTraffic,
24
24
  normalizeTrafficPathPattern,
25
25
  unrecognizedAgentName
26
- } from "./chunk-NPX5SL54.js";
26
+ } from "./chunk-NAPFULBT.js";
27
27
  import {
28
28
  RawEventSampleEventTypes,
29
29
  agentJourneyCaptureDays,
@@ -36,7 +36,7 @@ import {
36
36
  rawEventSamples,
37
37
  trafficReclassificationState,
38
38
  unrecognizedAgentEventsHourly
39
- } from "./chunk-USHY3SH6.js";
39
+ } from "./chunk-C3BSCGUH.js";
40
40
  import {
41
41
  AI_ENGINE_DOMAINS,
42
42
  AI_ENGINE_SELF_DOMAINS,
@@ -69,7 +69,7 @@ import {
69
69
  retryAfterDelayMs,
70
70
  usageCount,
71
71
  withRetry
72
- } from "./chunk-ETIIPSWL.js";
72
+ } from "./chunk-PQNT2JUO.js";
73
73
 
74
74
  // ../provider-openai/src/normalize.ts
75
75
  import OpenAI from "openai";
@@ -22195,6 +22195,22 @@ var calendarRecurrenceSchema = z71.object({
22195
22195
  startDate: z71.string().date(),
22196
22196
  time: z71.string().regex(/^([01]\d|2[0-3]):[0-5]\d$/, "Time must be HH:mm")
22197
22197
  }).strict();
22198
+ var siteAuditScheduleChecksSchema = z71.object({
22199
+ /** Request every internal link target and report the ones that fail. */
22200
+ checkDeadLinks: z71.boolean(),
22201
+ /** Location and service-area checks. */
22202
+ includeGeo: z71.boolean(),
22203
+ /** Agent integration checks (MCP server card, A2A agent card, and the like). */
22204
+ includeAgentSkills: z71.boolean()
22205
+ }).strict();
22206
+ var DEFAULT_SITE_AUDIT_SCHEDULE_CHECKS = Object.freeze({
22207
+ checkDeadLinks: false,
22208
+ includeGeo: false,
22209
+ includeAgentSkills: true
22210
+ });
22211
+ function siteAuditScheduleChecks(stored) {
22212
+ return { ...DEFAULT_SITE_AUDIT_SCHEDULE_CHECKS, ...stored ?? {} };
22213
+ }
22198
22214
  var scheduleDtoSchema = z71.object({
22199
22215
  id: z71.string(),
22200
22216
  projectId: z71.string(),
@@ -22209,6 +22225,8 @@ var scheduleDtoSchema = z71.object({
22209
22225
  providers: z71.array(providerNameSchema).default([]),
22210
22226
  /** Traffic-source UUID for `kind === 'traffic-sync'` schedules. Null otherwise. */
22211
22227
  sourceId: z71.string().nullable().optional(),
22228
+ /** What each scheduled scan checks, for `kind === 'site-audit'` schedules. Null otherwise. */
22229
+ siteAudit: siteAuditScheduleChecksSchema.nullable().optional(),
22212
22230
  lastRunAt: z71.string().nullable().optional(),
22213
22231
  nextRunAt: z71.string().nullable().optional(),
22214
22232
  createdAt: z71.string(),
@@ -22234,6 +22252,12 @@ var scheduleUpsertRequestSchema = z71.object({
22234
22252
  providers: z71.array(providerNameSchema).optional().default([]),
22235
22253
  /** Required when kind === 'traffic-sync'. Forbidden for other kinds. Validated server-side. */
22236
22254
  sourceId: z71.string().optional(),
22255
+ /**
22256
+ * Scan checks for kind === 'site-audit' only; unset fields take the defaults.
22257
+ * Omit to keep the schedule's current checks (so enabling, pausing or moving
22258
+ * a schedule never drops them); null goes back to the defaults.
22259
+ */
22260
+ siteAudit: siteAuditScheduleChecksSchema.partial().strict().nullable().optional(),
22237
22261
  /**
22238
22262
  * Optimistic concurrency guard. A timestamp updates only that exact version;
22239
22263
  * null creates only while the schedule is absent. Omit for legacy behavior.
@@ -27454,6 +27478,7 @@ export {
27454
27478
  schedulableRunKindSchema,
27455
27479
  SchedulableRunKinds,
27456
27480
  calendarRecurrenceSchema,
27481
+ siteAuditScheduleChecks,
27457
27482
  scheduleDtoSchema,
27458
27483
  scheduleExpectedUpdatedAtSchema,
27459
27484
  scheduleEnabledAt,
@@ -2,18 +2,18 @@ import {
2
2
  configExists,
3
3
  loadConfigRaw,
4
4
  saveConfigPatch
5
- } from "./chunk-OOVWMWMT.js";
5
+ } from "./chunk-YVY23HNW.js";
6
6
  import {
7
7
  BUNDLED_SKILL_NAMES,
8
8
  installSkills
9
- } from "./chunk-Q6EZEVXE.js";
9
+ } from "./chunk-UQVUDSAV.js";
10
10
  import {
11
11
  PACKAGE_VERSION
12
12
  } from "./chunk-AOJU5LKX.js";
13
13
  import {
14
14
  SKILL_MANIFEST_FILENAME,
15
15
  SkillsClients
16
- } from "./chunk-ETIIPSWL.js";
16
+ } from "./chunk-PQNT2JUO.js";
17
17
 
18
18
  // src/skills-autosync.ts
19
19
  import fs from "fs";
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  getRequestContext
3
- } from "./chunk-ZV6PMFF4.js";
3
+ } from "./chunk-3HNHOS6O.js";
4
4
  import {
5
5
  diagnosticIdentity,
6
6
  redactLogString,
7
7
  redactLogValue
8
- } from "./chunk-ETIIPSWL.js";
8
+ } from "./chunk-PQNT2JUO.js";
9
9
 
10
10
  // ../api-routes/src/runtime-logger.ts
11
11
  import { format } from "util";
@@ -15,7 +15,7 @@ import {
15
15
  formatCanonryPluginUpdateHint,
16
16
  formatCanonryPluginVersionMismatch,
17
17
  skillsClientSchema
18
- } from "./chunk-ETIIPSWL.js";
18
+ } from "./chunk-PQNT2JUO.js";
19
19
 
20
20
  // src/commands/skills.ts
21
21
  import crypto from "crypto";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  answerServiceAdapters,
3
3
  answerServiceDescriptors
4
- } from "./chunk-TA4L7U2M.js";
4
+ } from "./chunk-AXWUCOYT.js";
5
5
  import {
6
6
  AeroLlmUsageFeatures,
7
7
  aeroTurnStatus,
@@ -27,14 +27,14 @@ import {
27
27
  resolveConfiguredAgentProvider,
28
28
  resolveSessionProviderAndModel,
29
29
  setAeroSystemPrompt
30
- } from "./chunk-NKGQCCUS.js";
30
+ } from "./chunk-6PNFPMLD.js";
31
31
  import {
32
32
  AeroToolProfiles,
33
33
  AeroToolScopes,
34
34
  buildAeroStateTools,
35
35
  isAeroToolProfile,
36
36
  truncateToolResult
37
- } from "./chunk-DF4B6OGX.js";
37
+ } from "./chunk-FAXYDTV5.js";
38
38
  import {
39
39
  getGoogleAuthConfig,
40
40
  getGoogleConnection,
@@ -53,7 +53,7 @@ import {
53
53
  removeCloudflareTrafficConnection,
54
54
  removeCloudflareTrafficConnectionBySourceId,
55
55
  upsertCloudflareTrafficConnection
56
- } from "./chunk-UG7TZJIG.js";
56
+ } from "./chunk-LSIE5MHG.js";
57
57
  import {
58
58
  claudeAdapter,
59
59
  embedQueries,
@@ -65,7 +65,7 @@ import {
65
65
  openrouterAdapter,
66
66
  perplexityAdapter,
67
67
  startTrafficReclassification
68
- } from "./chunk-I7DAEE3L.js";
68
+ } from "./chunk-PAXP5KZC.js";
69
69
  import {
70
70
  classifyUsageSurface,
71
71
  createApiUsageTelemetry,
@@ -77,7 +77,7 @@ import {
77
77
  startOutcomeTimer,
78
78
  trackFeatureCompleted,
79
79
  trackInstallState
80
- } from "./chunk-DZO6CATO.js";
80
+ } from "./chunk-6DP2YPZY.js";
81
81
  import {
82
82
  isLoopbackBindHost
83
83
  } from "./chunk-TSENU4GG.js";
@@ -85,7 +85,7 @@ import {
85
85
  isApiProviderRegistrable,
86
86
  isCdpProviderRegistrable,
87
87
  registeredProviderNames
88
- } from "./chunk-LQWMNDZR.js";
88
+ } from "./chunk-WOEGZKXQ.js";
89
89
  import {
90
90
  checkLatestVersionForServer,
91
91
  getOrCreateAnonymousId,
@@ -97,17 +97,17 @@ import {
97
97
  recordDashboardEvent,
98
98
  setTelemetryPreference,
99
99
  trackEvent
100
- } from "./chunk-AFYKUX2X.js";
100
+ } from "./chunk-56EXMS52.js";
101
101
  import {
102
102
  createCanonryMcpServer
103
- } from "./chunk-7VJJXLRP.js";
103
+ } from "./chunk-7KHSKOV6.js";
104
104
  import {
105
105
  CANONRY_MCP_TIERS,
106
106
  CANONRY_MCP_TOOLKIT_NAMES
107
107
  } from "./chunk-MTW37GXF.js";
108
108
  import {
109
109
  ApiClient
110
- } from "./chunk-F6WNKKGG.js";
110
+ } from "./chunk-WTKGSKCS.js";
111
111
  import {
112
112
  AGENT_PROVIDERS,
113
113
  adapterSupportsBatch,
@@ -139,21 +139,21 @@ import {
139
139
  saveConfigPatch,
140
140
  sentimentInstallReadiness,
141
141
  updateSharedProviderExecutionGate
142
- } from "./chunk-OOVWMWMT.js";
142
+ } from "./chunk-YVY23HNW.js";
143
143
  import {
144
144
  getBundledSkillSnapshots
145
- } from "./chunk-Q6EZEVXE.js";
145
+ } from "./chunk-UQVUDSAV.js";
146
146
  import {
147
147
  computeFactorAverages,
148
148
  deleteSiteCrawlGraphLayout,
149
149
  persistSiteCrawlGraphLayout,
150
150
  prepareSiteCrawlGraphLayout,
151
151
  recordedSharePct
152
- } from "./chunk-N7LRPMWR.js";
152
+ } from "./chunk-2N7BYEZO.js";
153
153
  import {
154
154
  CanonryMcpToolNames,
155
155
  canonryMcpTools
156
- } from "./chunk-WNDBACO7.js";
156
+ } from "./chunk-IHMODTQ7.js";
157
157
  import {
158
158
  PACKAGE_VERSION
159
159
  } from "./chunk-AOJU5LKX.js";
@@ -162,16 +162,16 @@ import {
162
162
  } from "./chunk-HGMYEDAQ.js";
163
163
  import {
164
164
  IntelligenceService
165
- } from "./chunk-YB2GAK32.js";
165
+ } from "./chunk-NL2WM6OB.js";
166
166
  import {
167
167
  computeCitedCompetitorDomains,
168
168
  determineCitationState
169
- } from "./chunk-GKX5F7NX.js";
169
+ } from "./chunk-P4MNYMJJ.js";
170
170
  import {
171
171
  addLogListener,
172
172
  createFastifyLogger,
173
173
  createLogger
174
- } from "./chunk-XCEA5OMI.js";
174
+ } from "./chunk-SYOQULRL.js";
175
175
  import {
176
176
  BingApiError,
177
177
  CC_CACHE_DIR,
@@ -316,7 +316,7 @@ import {
316
316
  webhookResponseReason,
317
317
  webhookTargetRefusalReason,
318
318
  writeAuditLog
319
- } from "./chunk-SDXMG4VX.js";
319
+ } from "./chunk-42OW42AR.js";
320
320
  import {
321
321
  OperationalLogStore,
322
322
  SentimentIdempotencyConflict,
@@ -413,7 +413,7 @@ import {
413
413
  unrecognizedAgentEventsHourly,
414
414
  unrecognizedAgentNotifyState,
415
415
  usageCounters
416
- } from "./chunk-USHY3SH6.js";
416
+ } from "./chunk-C3BSCGUH.js";
417
417
  import {
418
418
  AGENT_MEMORY_VALUE_MAX_BYTES,
419
419
  AI_ENGINE_DOMAINS,
@@ -653,6 +653,7 @@ import {
653
653
  serializeRunError,
654
654
  shiftIsoCalendarDate,
655
655
  siteAuditRequestIdentity,
656
+ siteAuditScheduleChecks,
656
657
  siteCrawlUrlVersionOf,
657
658
  splitList,
658
659
  startOfDayHourInTimeZone,
@@ -670,7 +671,7 @@ import {
670
671
  winnabilityClassLabel,
671
672
  withRetry,
672
673
  withSkippedProviders
673
- } from "./chunk-ETIIPSWL.js";
674
+ } from "./chunk-PQNT2JUO.js";
674
675
 
675
676
  // src/google-marketing-runtime.ts
676
677
  import crypto2 from "crypto";
@@ -5974,7 +5975,7 @@ function nonBlank(value) {
5974
5975
  return trimmed ? trimmed : void 0;
5975
5976
  }
5976
5977
  function resolveBuildCommit(env = process.env) {
5977
- const embedded = true ? "738f90c23e686b1c3234894f409337032bc25cf4" : void 0;
5978
+ const embedded = true ? "027e1a48f82091e0f55aad90ad05bd5c09e70592" : void 0;
5978
5979
  return nonBlank(embedded) ?? nonBlank(env.CANONRY_COMMIT);
5979
5980
  }
5980
5981
  function resolveInstanceIdentity(env = process.env) {
@@ -14319,7 +14320,8 @@ var Scheduler = class {
14319
14320
  return slotSkipped(OutcomeReasonCodes.OPERATION_IN_PROGRESS);
14320
14321
  }
14321
14322
  const runId2 = crypto21.randomUUID();
14322
- const effectiveRequest = normalizeSiteAuditRunRequest({}, project.siteAuditMaxPages);
14323
+ const checks = siteAuditScheduleChecks(currentSchedule.siteAuditChecks);
14324
+ const effectiveRequest = normalizeSiteAuditRunRequest(checks, project.siteAuditMaxPages);
14323
14325
  this.db.transaction((tx) => {
14324
14326
  tx.insert(runs).values({
14325
14327
  id: runId2,
@@ -14342,7 +14344,12 @@ var Scheduler = class {
14342
14344
  nextRunAt
14343
14345
  });
14344
14346
  log18.info("site-audit.triggered", { runId: runId2, projectName: project.name });
14345
- this.callbacks.onSiteAuditRequested(runId2, projectId, { maxPages: effectiveRequest.maxPages });
14347
+ this.callbacks.onSiteAuditRequested(runId2, projectId, {
14348
+ maxPages: effectiveRequest.maxPages,
14349
+ checkDeadLinks: effectiveRequest.checkDeadLinks,
14350
+ includeGeo: effectiveRequest.includeGeo,
14351
+ includeAgentSkills: effectiveRequest.includeAgentSkills
14352
+ });
14346
14353
  return SLOT_FIRED;
14347
14354
  }
14348
14355
  const projectLocations = project.locations;
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  createApiClient
3
- } from "./chunk-F6WNKKGG.js";
3
+ } from "./chunk-WTKGSKCS.js";
4
4
  import {
5
5
  emitJsonl
6
6
  } from "./chunk-Z7IUAJOF.js";
7
7
  import {
8
8
  measurementDraftOperationSchema,
9
9
  runMeasurementDraftAction
10
- } from "./chunk-PID3C4B7.js";
10
+ } from "./chunk-L5U7VT4A.js";
11
11
  import {
12
12
  isMachineFormat,
13
13
  systemError
@@ -37,7 +37,7 @@ import {
37
37
  unattributedAnswersLabel,
38
38
  uncheckedSourcesLabel,
39
39
  visibilityReportRequestSchema
40
- } from "./chunk-ETIIPSWL.js";
40
+ } from "./chunk-PQNT2JUO.js";
41
41
 
42
42
  // src/commands/measurement-plan.ts
43
43
  import crypto from "crypto";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  API_PROVIDER_NAMES,
3
3
  ProviderNames
4
- } from "./chunk-ETIIPSWL.js";
4
+ } from "./chunk-PQNT2JUO.js";
5
5
 
6
6
  // src/provider-registration.ts
7
7
  function isApiProviderRegistrable(name, entry) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  loadConfig
3
- } from "./chunk-OOVWMWMT.js";
3
+ } from "./chunk-YVY23HNW.js";
4
4
  import {
5
5
  PACKAGE_VERSION
6
6
  } from "./chunk-AOJU5LKX.js";
@@ -36,7 +36,7 @@ import {
36
36
  sentimentSettingsReadSchema,
37
37
  sentimentSummaryReadSchema,
38
38
  upgradeCommandFor
39
- } from "./chunk-ETIIPSWL.js";
39
+ } from "./chunk-PQNT2JUO.js";
40
40
 
41
41
  // ../api-client-generated/src/generated/core/bodySerializer.gen.ts
42
42
  var jsonBodySerializer = {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  trackIntegrationConnection
3
- } from "./chunk-DZO6CATO.js";
3
+ } from "./chunk-6DP2YPZY.js";
4
4
  import {
5
5
  cliRuntimeContext
6
- } from "./chunk-AFYKUX2X.js";
6
+ } from "./chunk-56EXMS52.js";
7
7
 
8
8
  // src/cli-connection-telemetry.ts
9
9
  function trackCliConnection(properties) {
@@ -4,14 +4,14 @@ import {
4
4
  } from "./chunk-VJWDBFSL.js";
5
5
  import {
6
6
  createApiClient
7
- } from "./chunk-F6WNKKGG.js";
7
+ } from "./chunk-WTKGSKCS.js";
8
8
  import {
9
9
  CliError,
10
10
  isMachineFormat
11
11
  } from "./chunk-HGMYEDAQ.js";
12
12
  import {
13
13
  describeError
14
- } from "./chunk-ETIIPSWL.js";
14
+ } from "./chunk-PQNT2JUO.js";
15
15
 
16
16
  // src/commands/mcp.ts
17
17
  import fs from "fs";
@@ -20,7 +20,7 @@ import {
20
20
  resolveProviderModel,
21
21
  schedulableRunKindSchema,
22
22
  sentimentEvaluatorProviderSchema
23
- } from "./chunk-ETIIPSWL.js";
23
+ } from "./chunk-PQNT2JUO.js";
24
24
 
25
25
  // ../config/src/index.ts
26
26
  import { z as z5 } from "zod";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  createApiClient
3
- } from "./chunk-F6WNKKGG.js";
4
- import "./chunk-OOVWMWMT.js";
3
+ } from "./chunk-WTKGSKCS.js";
4
+ import "./chunk-YVY23HNW.js";
5
5
  import "./chunk-AOJU5LKX.js";
6
6
  import "./chunk-HGMYEDAQ.js";
7
- import "./chunk-ETIIPSWL.js";
7
+ import "./chunk-PQNT2JUO.js";
8
8
  import "./chunk-MLKGABMK.js";
9
9
 
10
10
  // src/commands/citations.ts