@canonry/canonry 7.112.0 → 7.114.0

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 (144) hide show
  1. package/assets/agent-workspace/skills/canonry/references/aeo-analysis.md +8 -0
  2. package/assets/agent-workspace/skills/canonry/references/canonry-cli.md +3 -0
  3. package/assets/assets/AccessControls-CZ9e8JQj.js +2 -0
  4. package/assets/assets/{AgentSetupPage-q1Ku1PAd.js → AgentSetupPage-GAYSye6c.js} +1 -1
  5. package/assets/assets/{AuditHistoryPanel-6EnlABwM.js → AuditHistoryPanel-B8Nvxw1T.js} +1 -1
  6. package/assets/assets/{BacklinksPage-BaHCJEuK.js → BacklinksPage-DYDrtPvl.js} +1 -1
  7. package/assets/assets/{ChartPrimitives-C3lJj3eO.js → ChartPrimitives-D5jY1n81.js} +1 -1
  8. package/assets/assets/{HistoryPage-B_NVeDCn.js → HistoryPage-oWlfgq2q.js} +1 -1
  9. package/assets/assets/MeasurementPropertyPage-8_IMBhbd.js +4 -0
  10. package/assets/assets/ProjectPage-mopnzPrl.js +15 -0
  11. package/assets/assets/{RunsPage-9T1OrQw3.js → RunsPage-BQVy2FfY.js} +1 -1
  12. package/assets/assets/{ServerTrafficSection-iUdFKWEc.js → ServerTrafficSection-rxO0hr0U.js} +1 -1
  13. package/assets/assets/{SettingsPage-BswQYkkB.js → SettingsPage-DNd1rljp.js} +1 -1
  14. package/assets/assets/{ToneBadge-CWufDJgM.js → ToneBadge-ClBoU45-.js} +2 -2
  15. package/assets/assets/{TrafficPage-DN9DxoWm.js → TrafficPage-DS7e2HJF.js} +1 -1
  16. package/assets/assets/{TrafficSourceDetailPage-D6TdTyP-.js → TrafficSourceDetailPage-GM_NYof2.js} +1 -1
  17. package/assets/assets/{account-context-CyE8qMvH.js → account-context-DPSUr6ab.js} +1 -1
  18. package/assets/assets/{agent-trust-copy-CinW-f_8.js → agent-trust-copy-CzC0CyvN.js} +1 -1
  19. package/assets/assets/{card-CI9gz2Hb.js → card-BuGARNWu.js} +1 -1
  20. package/assets/assets/index-7gTTbr2Y.js +43 -0
  21. package/assets/assets/{query-client-BlAtm9zS.js → query-client-20-WKWRF.js} +1 -1
  22. package/assets/assets/{react-query-DE_LaZkX.js → react-query-BcbS-PEL.js} +1 -1
  23. package/assets/assets/{react-sigma_core.esm.min-CZkN6sL0.js → react-sigma_core.esm.min-BPHKUIql.js} +1 -1
  24. package/assets/assets/{server-traffic-Ci9JbS2U.js → server-traffic-k9hvgv11.js} +1 -1
  25. package/assets/assets/service-CNCw9nYd.js +1 -0
  26. package/assets/index.html +8 -8
  27. package/dist/{ads-WRMNYPJ7.js → ads-MBUYUCIO.js} +3 -3
  28. package/dist/{agent-V4PAGAPZ.js → agent-H4TXDFUY.js} +7 -7
  29. package/dist/{agent-ask-3LAAT4WN.js → agent-ask-VYCPGN7W.js} +3 -3
  30. package/dist/{agent-conversations-TVNDZY54.js → agent-conversations-HOAJSJ2V.js} +3 -3
  31. package/dist/{agent-journeys-UB7ZGAKP.js → agent-journeys-GCN2DMNW.js} +3 -3
  32. package/dist/{agent-memory-RWF2WODB.js → agent-memory-5ZY5GMXL.js} +3 -3
  33. package/dist/{agent-providers-77A45KZD.js → agent-providers-3BFMXJZZ.js} +3 -3
  34. package/dist/{agent-transcript-K5WZJHJX.js → agent-transcript-BMGQADZ2.js} +3 -3
  35. package/dist/{analytics-RNSYOGUP.js → analytics-4OBHR4V2.js} +3 -3
  36. package/dist/{apply-UU6GFYIJ.js → apply-JQHWDI43.js} +3 -3
  37. package/dist/{backfill-DOYPYZJL.js → backfill-XU4QLLNT.js} +10 -10
  38. package/dist/{backlinks-UKRILGDJ.js → backlinks-LFDFDL4X.js} +3 -3
  39. package/dist/{bing-P6GTLGIP.js → bing-HSZ2HYX4.js} +3 -3
  40. package/dist/{bootstrap-BRXDKCNB.js → bootstrap-5M3WJOHV.js} +10 -10
  41. package/dist/{cdp-CPGVPWTU.js → cdp-3L2UFZ6G.js} +7 -7
  42. package/dist/{chunk-NICTKJ3O.js → chunk-3T6YDOJX.js} +1 -1
  43. package/dist/{chunk-M2RTTCLC.js → chunk-4IB3LHZV.js} +3 -3
  44. package/dist/{chunk-N5K35MDQ.js → chunk-4UZR7UUC.js} +1 -1
  45. package/dist/{chunk-SNL4C4BV.js → chunk-AP7ZGBXF.js} +2 -2
  46. package/dist/{chunk-JCK5TDIU.js → chunk-B4CKWKSX.js} +858 -712
  47. package/dist/{chunk-W3UYVNYQ.js → chunk-BRAUKTBG.js} +1 -1
  48. package/dist/{chunk-4WXNCSYL.js → chunk-CD5JEVPS.js} +2 -2
  49. package/dist/{chunk-YXCMVHYJ.js → chunk-CHDPNIRF.js} +4 -4
  50. package/dist/{chunk-NLU2MMFA.js → chunk-D7KVKYYT.js} +279 -90
  51. package/dist/{chunk-YN7OV22K.js → chunk-EUQ6F4FY.js} +4 -4
  52. package/dist/{chunk-ZVDUBOE4.js → chunk-FXMIX2BP.js} +30 -3
  53. package/dist/{chunk-SJD3ZAEH.js → chunk-GLAOBAJP.js} +2 -2
  54. package/dist/{chunk-B27F7C6S.js → chunk-HDCBIMFZ.js} +5 -5
  55. package/dist/{chunk-4PMS7CAF.js → chunk-HK72OBW5.js} +2 -2
  56. package/dist/{chunk-DZCJNSBY.js → chunk-HNHJ7HQK.js} +1 -1
  57. package/dist/{chunk-S6ULO6H5.js → chunk-K3H67IQZ.js} +1 -1
  58. package/dist/{chunk-LGAQXH3L.js → chunk-KOMFBAUK.js} +2 -1
  59. package/dist/{chunk-7IF576RC.js → chunk-M5C7R7OF.js} +5 -5
  60. package/dist/{chunk-Q4XHWZDT.js → chunk-MHNMMFON.js} +1 -1
  61. package/dist/{chunk-I4YRKF6G.js → chunk-MSBSKTO2.js} +3 -3
  62. package/dist/{chunk-CIDXBCEW.js → chunk-NNHI6SOT.js} +2 -2
  63. package/dist/{chunk-WHBLQJGZ.js → chunk-ODFPL6P5.js} +1 -1
  64. package/dist/{chunk-JHAG6DEG.js → chunk-PPM2ZLVN.js} +3 -3
  65. package/dist/{chunk-KYZ5A7AX.js → chunk-QDBKBXC7.js} +1 -1
  66. package/dist/{chunk-ZMCRVQ6Q.js → chunk-RFJM6G7L.js} +1 -1
  67. package/dist/{chunk-Y6D7K63F.js → chunk-RSTJWK3S.js} +3 -3
  68. package/dist/{chunk-R4PQ7D32.js → chunk-SGQGEKBN.js} +7 -7
  69. package/dist/{chunk-F6CYO37C.js → chunk-TCCGE2WF.js} +7 -7
  70. package/dist/{chunk-C44S7EE7.js → chunk-TJGGK6IQ.js} +4 -4
  71. package/dist/{chunk-OBDRDAIK.js → chunk-UK2WX3PM.js} +1 -1
  72. package/dist/{chunk-2LXLJXTG.js → chunk-VTT4VYJC.js} +2 -2
  73. package/dist/{chunk-AZPWF42S.js → chunk-WBGBCRVH.js} +26 -2
  74. package/dist/{chunk-YWKALX6A.js → chunk-WMMIMZHL.js} +4 -4
  75. package/dist/{chunk-4ALKLWSQ.js → chunk-WW7XJXSQ.js} +1560 -1297
  76. package/dist/{chunk-TDSISMOJ.js → chunk-X5ITRJ5N.js} +22 -22
  77. package/dist/{chunk-PT3VROG7.js → chunk-Y2ZQFWH2.js} +399 -366
  78. package/dist/{chunk-TDRPVIUB.js → chunk-ZWWEWFCM.js} +1 -1
  79. package/dist/{citations-GW2ELWME.js → citations-KLOXXIX5.js} +52 -4
  80. package/dist/{cli-catalog-PDU4Z4IO.js → cli-catalog-SPUYWLST.js} +3 -3
  81. package/dist/{cli-commands-XWIWF4VG.js → cli-commands-4WVVOSGO.js} +7 -7
  82. package/dist/cli.js +13 -13
  83. package/dist/{competitor-MS4P6GJ4.js → competitor-TVOPWBTO.js} +3 -3
  84. package/dist/{content-3QQRT3Q4.js → content-FOHOEMPN.js} +3 -3
  85. package/dist/{dashboard-FDVY7CMI.js → dashboard-Y2MWS75I.js} +6 -6
  86. package/dist/{demo-WRF3ZSQ5.js → demo-KKYQOGOL.js} +1 -1
  87. package/dist/{demo-server-Q77EUE5A.js → demo-server-7W7G3WBF.js} +13 -12
  88. package/dist/{discover-BAKAHH5X.js → discover-NEFL3GNJ.js} +4 -4
  89. package/dist/{discover-eval-KMYMVZVX.js → discover-eval-5UTXVZN2.js} +3 -3
  90. package/dist/{doctor-OAYNGBBT.js → doctor-IPEY4PEU.js} +3 -3
  91. package/dist/{evidence-FEDSZTLW.js → evidence-2I55I5RU.js} +3 -3
  92. package/dist/{export-cmd-OYQVBE5C.js → export-cmd-CMCUOJY4.js} +3 -3
  93. package/dist/{ga-MWJQ2S4D.js → ga-HBFR7YAV.js} +3 -3
  94. package/dist/{gbp-K4FXHF6N.js → gbp-6KGE44C3.js} +3 -3
  95. package/dist/{google-B6VUPLQN.js → google-PFQMLRET.js} +4 -4
  96. package/dist/{google-marketing-3KKTACAA.js → google-marketing-DKZPDKSJ.js} +1 -1
  97. package/dist/{health-cmd-YEHYFXEN.js → health-cmd-YQ2CYZJF.js} +4 -4
  98. package/dist/{history-5EYU4PQT.js → history-GC6KSYLZ.js} +3 -3
  99. package/dist/index.d.ts +28 -28
  100. package/dist/index.js +26 -26
  101. package/dist/{init-2HLTEB5Y.js → init-YOI6WNXX.js} +12 -12
  102. package/dist/{insights-MW5VTF7N.js → insights-M5H3P2VD.js} +3 -3
  103. package/dist/intelligence-service-ODVPS6D6.js +16 -0
  104. package/dist/{journeys-YW2IWDMN.js → journeys-EXIVMEY7.js} +3 -3
  105. package/dist/{keys-RRT26LGV.js → keys-VFAC5KWZ.js} +3 -3
  106. package/dist/{keyword-KSN3JTCX.js → keyword-I5TY67XC.js} +3 -3
  107. package/dist/{logs-IPAE4F4W.js → logs-3LEGAI5D.js} +3 -3
  108. package/dist/{mcp-WJR6RKYK.js → mcp-6TETRXJ2.js} +4 -4
  109. package/dist/mcp.js +10 -10
  110. package/dist/{measurement-plan-DGLUEK7M.js → measurement-plan-76O3EEXW.js} +5 -5
  111. package/dist/{notify-3QOG6NWS.js → notify-KIUJJX7L.js} +3 -3
  112. package/dist/{organic-evidence-M3VSSLQR.js → organic-evidence-R7TA4MZM.js} +3 -3
  113. package/dist/{overview-7RRCHUWZ.js → overview-PMD3GYMJ.js} +5 -5
  114. package/dist/{project-T3JZJPVK.js → project-R7AAYKYH.js} +3 -3
  115. package/dist/{project-setup-Y6DSDF4V.js → project-setup-VDEHXJ6V.js} +3 -3
  116. package/dist/{query-24JZPB3M.js → query-QPPVYE6C.js} +3 -3
  117. package/dist/{research-ERVKTKMV.js → research-UZCT66YL.js} +3 -3
  118. package/dist/{results-export-KSGIWPAM.js → results-export-YITLJ6QN.js} +3 -3
  119. package/dist/{run-XX6YUJRI.js → run-6WWMQSYW.js} +5 -5
  120. package/dist/{schedule-JBZENJ2V.js → schedule-ZZ4N4NWR.js} +3 -3
  121. package/dist/{search-V67KUYIZ.js → search-PFNLSSB2.js} +3 -3
  122. package/dist/{serve-HTQ76BFW.js → serve-7OKBRXOG.js} +27 -27
  123. package/dist/{session-AJ6R6K4B.js → session-UOJNPN2F.js} +14 -14
  124. package/dist/{settings-KVKWFTJZ.js → settings-J5DVHHRL.js} +3 -3
  125. package/dist/{sitemaps-UDIC4YUU.js → sitemaps-E4EEEB2G.js} +3 -3
  126. package/dist/{skills-35CPSNXM.js → skills-XOEQIEV6.js} +2 -2
  127. package/dist/{snapshot-OHGM7JBF.js → snapshot-MHNO5GFX.js} +3 -3
  128. package/dist/{src-GNBUAHT7.js → src-TWXSURXK.js} +2 -2
  129. package/dist/{status-GKWSTMUV.js → status-CASSB3RI.js} +5 -5
  130. package/dist/{technical-aeo-IHQYV4TT.js → technical-aeo-WNNXAOVE.js} +3 -3
  131. package/dist/{telemetry-AA2CONG2.js → telemetry-5PJFKHDT.js} +4 -4
  132. package/dist/{tools-CWNRV7PQ.js → tools-OACYTLJ5.js} +11 -11
  133. package/dist/{traffic-F7WR32VB.js → traffic-Q5QRTBKR.js} +5 -5
  134. package/dist/{trends-YB2GNT75.js → trends-4X5EDJAA.js} +3 -3
  135. package/dist/{users-PXTIUGXI.js → users-5FZLNPXR.js} +3 -3
  136. package/dist/{visibility-stats-KSPE4GHQ.js → visibility-stats-AKIM3332.js} +4 -4
  137. package/dist/{wordpress-YGSH5MSK.js → wordpress-CO6XLP53.js} +3 -3
  138. package/package.json +1 -1
  139. package/assets/assets/AccessControls-BxtFDXYH.js +0 -2
  140. package/assets/assets/MeasurementPropertyPage-DxCRxoIF.js +0 -4
  141. package/assets/assets/ProjectPage-BjGsilZJ.js +0 -15
  142. package/assets/assets/index-DshFRkPM.js +0 -43
  143. package/assets/assets/service-CiYDMju_.js +0 -1
  144. package/dist/intelligence-service-PTAA5WJB.js +0 -16
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  registeredProviderNames
3
- } from "./chunk-TDRPVIUB.js";
3
+ } from "./chunk-ZWWEWFCM.js";
4
4
  import {
5
5
  configExists,
6
6
  loadConfigRaw
7
- } from "./chunk-ZMCRVQ6Q.js";
7
+ } from "./chunk-RFJM6G7L.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-GNBUAHT7.js");
31
+ const { createClient, projects, queries: queriesTable } = await import("./src-TWXSURXK.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-HTQ76BFW.js");
50
+ const { serveCommand } = await import("./serve-7OKBRXOG.js");
51
51
  await serveCommand(format);
52
52
  }
53
53
 
@@ -5,17 +5,18 @@ import {
5
5
  dedupeGscSitemapUrls,
6
6
  resolveDiscoveredGscSitemapUrls,
7
7
  submitGscSitemapBatches
8
- } from "./chunk-NICTKJ3O.js";
8
+ } from "./chunk-3T6YDOJX.js";
9
9
  import {
10
10
  measurementDraftOperationSchema,
11
11
  runMeasurementDraftAction
12
- } from "./chunk-WHBLQJGZ.js";
12
+ } from "./chunk-ODFPL6P5.js";
13
13
  import {
14
14
  CliError
15
15
  } from "./chunk-HGMYEDAQ.js";
16
16
  import {
17
17
  AGENT_MEMORY_KEY_MAX_LENGTH,
18
18
  AGENT_MEMORY_VALUE_MAX_BYTES,
19
+ CITATION_URL_CATEGORY_HINT,
19
20
  DISCOVERY_DEFAULT_DEDUP_THRESHOLD,
20
21
  DISCOVERY_MAX_PROBES_CAP,
21
22
  DISCOVERY_PROBE_CONCURRENCY_CAP,
@@ -109,6 +110,7 @@ import {
109
110
  operationAccess,
110
111
  operationalLogListReadSchema,
111
112
  organicEvidencePeriodSchema,
113
+ parseCitationUrlCategories,
112
114
  parseTrafficEventGroupBy,
113
115
  parseTrafficEventKindFilter,
114
116
  projectConfigSchema,
@@ -203,7 +205,7 @@ import {
203
205
  trendSurfaceSchema,
204
206
  visibilityCompareSelectionSchema,
205
207
  visibilityReportRequestSchema
206
- } from "./chunk-JCK5TDIU.js";
208
+ } from "./chunk-B4CKWKSX.js";
207
209
 
208
210
  // src/mcp/tool-registry.ts
209
211
  import { z as z2 } from "zod";
@@ -2115,6 +2117,31 @@ var rawCanonryMcpTools = [
2115
2117
  openApiOperations: ["GET /api/v1/projects/{name}/citations/visibility"],
2116
2118
  handler: (client, input) => client.getCitationVisibility(input.project)
2117
2119
  }),
2120
+ defineTool({
2121
+ name: "canonry_citation_urls",
2122
+ title: "List cited pages",
2123
+ description: 'Every page the stored answers cite, one row per page across the sweeps in scope: answers citing it, how many mention the brand (answersMentionUnchecked were never checked, never "not mentioned"), engines, queries, first and last sweep, and newInLatest. Answers stored before page capture are left out and counted in answersPagesNotCaptured. Use category "forum,social,video" for discussion threads and posts, domain for one site, and newInLatest=true for pages the latest sweep cited for the first time. "First" is within the window, so pass window "all" for all history. Links are compared one way (https, no www, no utm parameters, a Reddit thread by its id). Page with nextCursor.',
2124
+ access: "read",
2125
+ tier: "monitoring",
2126
+ inputSchema: z2.object({
2127
+ project: projectNameSchema,
2128
+ window: z2.enum(["7d", "30d", "90d", "all"]).optional().describe("Sweeps in scope. Defaults to all."),
2129
+ domain: z2.string().min(1).optional().describe('Only pages on this host or its subdomains, e.g. "reddit.com".'),
2130
+ category: z2.string().refine((value) => parseCitationUrlCategories(value) !== null, { message: `category must be ${CITATION_URL_CATEGORY_HINT}` }).optional().describe('Comma-separated source categories, e.g. "forum,social,video" for threads and posts people can reply to.'),
2131
+ provider: z2.string().min(1).optional().describe('Only answers from this engine id, e.g. "gemini" or "openai".'),
2132
+ queryClass: z2.enum(["all", "branded", "non-brand"]).optional().describe("Branded or non-brand queries only, classified as the sources read does. Defaults to all, which pools both classes."),
2133
+ newInLatest: z2.boolean().optional().describe("Only pages the latest sweep cited and no earlier sweep in scope did."),
2134
+ sort: z2.enum(["answers", "newest"]).optional().describe("answers (default): most citing answers first. newest: most recent first citation first."),
2135
+ limit: z2.number().int().min(1).max(1e3).optional().describe("Pages per response, default 100."),
2136
+ cursor: z2.string().min(1).optional().describe("nextCursor from the previous response; repeat the same filters.")
2137
+ }),
2138
+ annotations: readAnnotations(),
2139
+ openApiOperations: ["GET /api/v1/projects/{name}/citations/urls"],
2140
+ handler: (client, input) => {
2141
+ const { project, ...query } = input;
2142
+ return client.getCitationUrls(project, query);
2143
+ }
2144
+ }),
2118
2145
  defineTool({
2119
2146
  name: "canonry_visibility_stats",
2120
2147
  title: "Get aggregated mention/citation stats",
@@ -4,14 +4,14 @@ import {
4
4
  } from "./chunk-VJWDBFSL.js";
5
5
  import {
6
6
  createApiClient
7
- } from "./chunk-AZPWF42S.js";
7
+ } from "./chunk-WBGBCRVH.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-JCK5TDIU.js";
14
+ } from "./chunk-B4CKWKSX.js";
15
15
 
16
16
  // src/commands/mcp.ts
17
17
  import fs from "fs";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  pickProjectCitedDomain
3
- } from "./chunk-KYZ5A7AX.js";
3
+ } from "./chunk-QDBKBXC7.js";
4
4
  import {
5
5
  createLogger
6
- } from "./chunk-SNL4C4BV.js";
6
+ } from "./chunk-AP7ZGBXF.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-4ALKLWSQ.js";
20
+ } from "./chunk-WW7XJXSQ.js";
21
21
  import {
22
22
  competitors,
23
23
  gbpDailyMetrics,
@@ -35,7 +35,7 @@ import {
35
35
  queries,
36
36
  querySnapshots,
37
37
  runs
38
- } from "./chunk-OBDRDAIK.js";
38
+ } from "./chunk-UK2WX3PM.js";
39
39
  import {
40
40
  CitationStates,
41
41
  RunKinds,
@@ -44,7 +44,7 @@ import {
44
44
  effectiveDomains,
45
45
  isCitationStateMeasured,
46
46
  readCitationState
47
- } from "./chunk-JCK5TDIU.js";
47
+ } from "./chunk-B4CKWKSX.js";
48
48
 
49
49
  // src/intelligence-service.ts
50
50
  import { eq, desc, asc, and, ne, or, inArray, gte, lte, isNull, sql, exists } from "drizzle-orm";
@@ -5,7 +5,7 @@ import {
5
5
  loadConfig,
6
6
  loadConfigRaw,
7
7
  saveConfigPatch
8
- } from "./chunk-ZMCRVQ6Q.js";
8
+ } from "./chunk-RFJM6G7L.js";
9
9
  import {
10
10
  CANONRY_NPM_PACKAGE_URL,
11
11
  compareSemver,
@@ -18,7 +18,7 @@ import {
18
18
  updateCheckEnvOptOut,
19
19
  upgradeCaveatFor,
20
20
  upgradeCommandFor
21
- } from "./chunk-JCK5TDIU.js";
21
+ } from "./chunk-B4CKWKSX.js";
22
22
 
23
23
  // src/runtime-context.ts
24
24
  function cliRuntimeContext(env = process.env, stdio = process) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  CitationStates
3
- } from "./chunk-JCK5TDIU.js";
3
+ } from "./chunk-B4CKWKSX.js";
4
4
 
5
5
  // src/snapshot-cell.ts
6
6
  var SNAPSHOT_CELL_LEGEND = "(cell = [citation][mention]; C=cited c=not \xB7=not measured, M=mentioned m=not, \u2013=no data)";
@@ -17,7 +17,7 @@ import {
17
17
  hostOf,
18
18
  isLocationRedirectStatus,
19
19
  pathWithoutQuery
20
- } from "./chunk-JCK5TDIU.js";
20
+ } from "./chunk-B4CKWKSX.js";
21
21
 
22
22
  // ../integration-traffic/src/agent-trust.ts
23
23
  var AGENT_TRUST_RULES_VERSION = 3;
@@ -5,7 +5,7 @@ import {
5
5
  AppError,
6
6
  parseWindowIn,
7
7
  resolveDateRange
8
- } from "./chunk-JCK5TDIU.js";
8
+ } from "./chunk-B4CKWKSX.js";
9
9
 
10
10
  // src/cli-access.ts
11
11
  var CLI_ACCESS_BY_ID = Object.freeze({
@@ -132,6 +132,7 @@ var CLI_ACCESS_BY_ID = Object.freeze({
132
132
  "cdp.status": "live",
133
133
  "cdp.targets": "live",
134
134
  "citations.visibility": "stored",
135
+ "citations.urls": "stored",
135
136
  "competitor": "write",
136
137
  "competitor.add": "write",
137
138
  "competitor.aliases": "stored",
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  createLogger
3
- } from "./chunk-SNL4C4BV.js";
3
+ } from "./chunk-AP7ZGBXF.js";
4
4
  import {
5
5
  addLikelyFakeAgentHits,
6
6
  correctBackgroundCallJourneys,
7
7
  mergeSplitJourneyVisitors,
8
8
  repairAiReferralArrivalsOnStartup,
9
9
  writeUnrecognizedAgentBuckets
10
- } from "./chunk-4ALKLWSQ.js";
10
+ } from "./chunk-WW7XJXSQ.js";
11
11
  import {
12
12
  AGENT_TRUST_RULES_VERSION,
13
13
  BROWSER_AGENT_BOT_IDS,
@@ -31,7 +31,7 @@ import {
31
31
  normalizeTrafficPathPattern,
32
32
  rulesShareVerificationList,
33
33
  unrecognizedAgentName
34
- } from "./chunk-S6ULO6H5.js";
34
+ } from "./chunk-K3H67IQZ.js";
35
35
  import {
36
36
  RawEventSampleEventTypes,
37
37
  agentJourneyCaptureDays,
@@ -48,7 +48,7 @@ import {
48
48
  trafficReclassificationState,
49
49
  trafficSources,
50
50
  unrecognizedAgentEventsHourly
51
- } from "./chunk-OBDRDAIK.js";
51
+ } from "./chunk-UK2WX3PM.js";
52
52
  import {
53
53
  AI_ENGINE_DOMAINS,
54
54
  AI_ENGINE_SELF_DOMAINS,
@@ -84,7 +84,7 @@ import {
84
84
  sortedUnique,
85
85
  usageCount,
86
86
  withRetry
87
- } from "./chunk-JCK5TDIU.js";
87
+ } from "./chunk-B4CKWKSX.js";
88
88
 
89
89
  // ../provider-openai/src/normalize.ts
90
90
  import OpenAI from "openai";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  cloudflareQueueNameSchema
3
- } from "./chunk-JCK5TDIU.js";
3
+ } from "./chunk-B4CKWKSX.js";
4
4
 
5
5
  // src/cloudflare-traffic-config.ts
6
6
  function unsupportedDeliveryMode(deliveryMode) {
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  createApiClient
3
- } from "./chunk-AZPWF42S.js";
3
+ } from "./chunk-WBGBCRVH.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-WHBLQJGZ.js";
10
+ } from "./chunk-ODFPL6P5.js";
11
11
  import {
12
12
  isMachineFormat,
13
13
  systemError
@@ -39,7 +39,7 @@ import {
39
39
  unattributedAnswersLabel,
40
40
  uncheckedSourcesLabel,
41
41
  visibilityReportRequestSchema
42
- } from "./chunk-JCK5TDIU.js";
42
+ } from "./chunk-B4CKWKSX.js";
43
43
 
44
44
  // src/commands/measurement-plan.ts
45
45
  import crypto from "crypto";
@@ -62,8 +62,8 @@ var CANONRY_MCP_TOOLKITS = [
62
62
  {
63
63
  name: "monitoring",
64
64
  title: "Measurement, runs, insights, health",
65
- description: "Inspect portfolio and Property measurement, question results, branded and non-brand sentiment and evidence, content opportunities and addressed-target records, run history, intelligence insights, health timelines, and bounded Agent Readiness reads (score, overview, issues, page audit evidence, focused subgraphs, paths, and scan changes).",
66
- whenToLoad: "Load when finding weak Properties, reviewing answers, sentiment and competitors, marking or restoring addressed content targets, checking data quality, tying an Agent Readiness page score to concrete findings, investigating site architecture, comparing scans, or diagnosing regressions."
65
+ description: "Inspect portfolio and Property measurement, question results, branded and non-brand sentiment and evidence, cited pages and threads (new ones per sweep), content opportunities and addressed-target records, run history, intelligence insights, health timelines, and bounded Agent Readiness reads (score, overview, issues, page audit evidence, focused subgraphs, paths, and scan changes).",
66
+ whenToLoad: "Load when finding weak Properties, reviewing answers, sentiment and competitors, listing the threads and pages engines cite, marking or restoring addressed content targets, checking data quality, tying an Agent Readiness page score to concrete findings, investigating site architecture, comparing scans, or diagnosing regressions."
67
67
  },
68
68
  {
69
69
  name: "setup",
@@ -23,7 +23,7 @@ import {
23
23
  measurementDraftUpsertGroupRequestSchema,
24
24
  measurementDraftUpsertMarketRequestSchema,
25
25
  measurementDraftUpsertTargetRequestSchema
26
- } from "./chunk-JCK5TDIU.js";
26
+ } from "./chunk-B4CKWKSX.js";
27
27
 
28
28
  // src/measurement-draft-actions.ts
29
29
  import { z } from "zod";
@@ -3,7 +3,7 @@ import {
3
3
  resolveCliAccess,
4
4
  resolveCliAccessForInvocation,
5
5
  windowOptions
6
- } from "./chunk-LGAQXH3L.js";
6
+ } from "./chunk-KOMFBAUK.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-JCK5TDIU.js";
17
+ } from "./chunk-B4CKWKSX.js";
18
18
 
19
19
  // src/cli-catalog.ts
20
20
  import { createRequire } from "module";
@@ -122,7 +122,7 @@ async function dispatchRegisteredCommand(args, fallbackFormat, specs) {
122
122
  const accessValue = accessFilterFromArgs(argsWithoutHelp);
123
123
  validateAccessFilter(accessValue);
124
124
  if (fallbackFormat !== "text") {
125
- const { printCliCatalog: printCliCatalog2 } = await import("./cli-catalog-PDU4Z4IO.js");
125
+ const { printCliCatalog: printCliCatalog2 } = await import("./cli-catalog-SPUYWLST.js");
126
126
  const group2 = argsWithoutHelp.find((arg) => !arg.startsWith("--"));
127
127
  printCliCatalog2(specs, fallbackFormat, group2, accessValue);
128
128
  return true;
@@ -2,7 +2,7 @@ import {
2
2
  CitationStates,
3
3
  hostMatchesDomain,
4
4
  isCitationMeasurable
5
- } from "./chunk-JCK5TDIU.js";
5
+ } from "./chunk-B4CKWKSX.js";
6
6
 
7
7
  // src/citation-utils.ts
8
8
  function pickProjectCitedDomain(citedDomains, projectDomains) {
@@ -22,7 +22,7 @@ import {
22
22
  resolveProviderModel,
23
23
  schedulableRunKindSchema,
24
24
  sentimentEvaluatorProviderSchema
25
- } from "./chunk-JCK5TDIU.js";
25
+ } from "./chunk-B4CKWKSX.js";
26
26
 
27
27
  // ../config/src/index.ts
28
28
  import { z as z5 } from "zod";
@@ -2,18 +2,18 @@ import {
2
2
  configExists,
3
3
  loadConfigRaw,
4
4
  saveConfigPatch
5
- } from "./chunk-ZMCRVQ6Q.js";
5
+ } from "./chunk-RFJM6G7L.js";
6
6
  import {
7
7
  BUNDLED_SKILL_NAMES,
8
8
  installSkills
9
- } from "./chunk-W3UYVNYQ.js";
9
+ } from "./chunk-BRAUKTBG.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-JCK5TDIU.js";
16
+ } from "./chunk-B4CKWKSX.js";
17
17
 
18
18
  // src/skills-autosync.ts
19
19
  import fs from "fs";
@@ -8,24 +8,24 @@ import {
8
8
  reparseStoredResult4,
9
9
  reparseStoredResult5,
10
10
  resolveStoredApiResponse
11
- } from "./chunk-7IF576RC.js";
11
+ } from "./chunk-M5C7R7OF.js";
12
12
  import {
13
13
  loadConfig
14
- } from "./chunk-ZMCRVQ6Q.js";
14
+ } from "./chunk-RFJM6G7L.js";
15
15
  import {
16
16
  CliError,
17
17
  isMachineFormat
18
18
  } from "./chunk-HGMYEDAQ.js";
19
19
  import {
20
20
  determineCitationState
21
- } from "./chunk-KYZ5A7AX.js";
21
+ } from "./chunk-QDBKBXC7.js";
22
22
  import {
23
23
  backfillProjectAnswerMentions,
24
24
  competitorIdentityColumns,
25
25
  createRunCompetitorResolver,
26
26
  readMarketCompetitorNames,
27
27
  refreshSnapshotMentionIdentity
28
- } from "./chunk-4ALKLWSQ.js";
28
+ } from "./chunk-WW7XJXSQ.js";
29
29
  import {
30
30
  RawEventSampleEventTypes,
31
31
  auditLog,
@@ -39,7 +39,7 @@ import {
39
39
  querySnapshots,
40
40
  rawEventSamples,
41
41
  runs
42
- } from "./chunk-OBDRDAIK.js";
42
+ } from "./chunk-UK2WX3PM.js";
43
43
  import {
44
44
  ProviderNames,
45
45
  RetrievalContracts,
@@ -52,7 +52,7 @@ import {
52
52
  extractRecommendedCompetitors,
53
53
  normalizeUrlPath,
54
54
  openRouterRouteModel
55
- } from "./chunk-JCK5TDIU.js";
55
+ } from "./chunk-B4CKWKSX.js";
56
56
 
57
57
  // src/commands/backfill.ts
58
58
  import { setImmediate as yieldToEventLoop } from "timers/promises";
@@ -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-PTAA5WJB.js");
433
+ const { IntelligenceService } = await import("./intelligence-service-ODVPS6D6.js");
434
434
  const config = loadConfig();
435
435
  const db = createClient(config.database);
436
436
  migrate(db);
@@ -5,11 +5,11 @@ import {
5
5
  isStoredPageReadTool,
6
6
  isStoredReadTool,
7
7
  truncateToolResult
8
- } from "./chunk-YWKALX6A.js";
8
+ } from "./chunk-WMMIMZHL.js";
9
9
  import {
10
10
  CANONRY_MCP_TOOLKITS,
11
11
  resolveAeroSkillDir
12
- } from "./chunk-CIDXBCEW.js";
12
+ } from "./chunk-NNHI6SOT.js";
13
13
  import {
14
14
  AGENT_REASONING_LEVELS,
15
15
  aeroStreamFn,
@@ -23,18 +23,18 @@ import {
23
23
  resolveApiKeyFor,
24
24
  resolveModelForProvider,
25
25
  validateAgentProviderRegistry
26
- } from "./chunk-ZMCRVQ6Q.js";
26
+ } from "./chunk-RFJM6G7L.js";
27
27
  import {
28
28
  CanonryMcpToolNames,
29
29
  canonryMcpTools
30
- } from "./chunk-ZVDUBOE4.js";
30
+ } from "./chunk-FXMIX2BP.js";
31
31
  import {
32
32
  createLogger
33
- } from "./chunk-SNL4C4BV.js";
33
+ } from "./chunk-AP7ZGBXF.js";
34
34
  import {
35
35
  agentToolEvents,
36
36
  llmUsageEvents
37
- } from "./chunk-OBDRDAIK.js";
37
+ } from "./chunk-UK2WX3PM.js";
38
38
  import {
39
39
  MeasurementPortfolioLists,
40
40
  SEO_TREND_METRICS_BY_KIND,
@@ -45,7 +45,7 @@ import {
45
45
  describeError,
46
46
  validationError,
47
47
  visibilityReportRequestSchema
48
- } from "./chunk-JCK5TDIU.js";
48
+ } from "./chunk-B4CKWKSX.js";
49
49
 
50
50
  // src/agent/session.ts
51
51
  import fs2 from "fs";
@@ -2,13 +2,13 @@ import {
2
2
  bucketCliCommandDuration,
3
3
  isTelemetryEnabled,
4
4
  trackEvent
5
- } from "./chunk-4PMS7CAF.js";
5
+ } from "./chunk-HK72OBW5.js";
6
6
  import {
7
7
  getConfigDir
8
- } from "./chunk-ZMCRVQ6Q.js";
8
+ } from "./chunk-RFJM6G7L.js";
9
9
  import {
10
10
  currentOutcomeAttribution
11
- } from "./chunk-N5K35MDQ.js";
11
+ } from "./chunk-4UZR7UUC.js";
12
12
  import {
13
13
  AGENT_NONE,
14
14
  OutcomeSurfaces,
@@ -19,7 +19,7 @@ import {
19
19
  integrationConnectionPropertiesSchema,
20
20
  normalizeAgentSlug,
21
21
  usageSurfaceSchema
22
- } from "./chunk-JCK5TDIU.js";
22
+ } from "./chunk-B4CKWKSX.js";
23
23
 
24
24
  // src/outcome-telemetry.ts
25
25
  import fs from "fs";
@@ -20,7 +20,7 @@ import {
20
20
  templateLinkRatio,
21
21
  templateLinkUbiquityAvailable,
22
22
  validationError
23
- } from "./chunk-JCK5TDIU.js";
23
+ } from "./chunk-B4CKWKSX.js";
24
24
  import {
25
25
  __export
26
26
  } from "./chunk-MLKGABMK.js";
@@ -5,7 +5,7 @@ import {
5
5
  siteCrawlGraphNodes,
6
6
  siteCrawlPages,
7
7
  siteCrawlSnapshots
8
- } from "./chunk-OBDRDAIK.js";
8
+ } from "./chunk-UK2WX3PM.js";
9
9
  import {
10
10
  SITE_CRAWL_GRAPH_MAX_EDGES,
11
11
  SITE_CRAWL_GRAPH_MAX_NODES,
@@ -15,7 +15,7 @@ import {
15
15
  factorStatusFromDistribution,
16
16
  factorStatusFromScore,
17
17
  roundPreservingTotal
18
- } from "./chunk-JCK5TDIU.js";
18
+ } from "./chunk-B4CKWKSX.js";
19
19
 
20
20
  // src/site-audit-factors.ts
21
21
  function recordedSharePct(factor) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  loadConfig
3
- } from "./chunk-ZMCRVQ6Q.js";
3
+ } from "./chunk-RFJM6G7L.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-JCK5TDIU.js";
39
+ } from "./chunk-B4CKWKSX.js";
40
40
 
41
41
  // ../api-client-generated/src/generated/core/bodySerializer.gen.ts
42
42
  var jsonBodySerializer = {
@@ -3133,6 +3133,11 @@ var getApiV1ProjectsByNameCitationsVisibility = (options) => (options.client ??
3133
3133
  url: "/api/v1/projects/{name}/citations/visibility",
3134
3134
  ...options
3135
3135
  });
3136
+ var getApiV1ProjectsByNameCitationsUrls = (options) => (options.client ?? client).get({
3137
+ security: [{ scheme: "bearer", type: "http" }],
3138
+ url: "/api/v1/projects/{name}/citations/urls",
3139
+ ...options
3140
+ });
3136
3141
  var getApiV1ProjectsByNameContentTargets = (options) => (options.client ?? client).get({
3137
3142
  security: [{ scheme: "bearer", type: "http" }],
3138
3143
  url: "/api/v1/projects/{name}/content/targets",
@@ -7182,6 +7187,25 @@ var ApiClient = class {
7182
7187
  () => getApiV1ProjectsByNameCitationsVisibility({ client: this.heyClient, path: { name: project } })
7183
7188
  );
7184
7189
  }
7190
+ async getCitationUrls(project, query = {}) {
7191
+ return this.invoke(
7192
+ () => getApiV1ProjectsByNameCitationsUrls({
7193
+ client: this.heyClient,
7194
+ path: { name: project },
7195
+ query: {
7196
+ window: query.window,
7197
+ domain: query.domain,
7198
+ category: query.category,
7199
+ provider: query.provider,
7200
+ queryClass: query.queryClass,
7201
+ newInLatest: query.newInLatest === void 0 ? void 0 : String(query.newInLatest),
7202
+ sort: query.sort,
7203
+ limit: query.limit === void 0 ? void 0 : String(query.limit),
7204
+ cursor: query.cursor
7205
+ }
7206
+ })
7207
+ );
7208
+ }
7185
7209
  async getVisibilityStats(project, opts = {}) {
7186
7210
  return this.invoke(
7187
7211
  () => getApiV1ProjectsByNameVisibilityStats({
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  runWithUsageTags
3
- } from "./chunk-AZPWF42S.js";
3
+ } from "./chunk-WBGBCRVH.js";
4
4
  import {
5
5
  CanonryMcpToolNames,
6
6
  DEPRECATED_MCP_TOOL_ALIAS_NAMES,
7
7
  canonryMcpTools
8
- } from "./chunk-ZVDUBOE4.js";
8
+ } from "./chunk-FXMIX2BP.js";
9
9
  import {
10
10
  CliError
11
11
  } from "./chunk-HGMYEDAQ.js";
12
12
  import {
13
13
  buildOpenApiDocument
14
- } from "./chunk-4ALKLWSQ.js";
14
+ } from "./chunk-WW7XJXSQ.js";
15
15
  import {
16
16
  DEFAULT_COMPETITOR_AUTO_ALIAS_MODE,
17
17
  MeasurementPortfolioLists,
@@ -24,7 +24,7 @@ import {
24
24
  seoDatasetWithoutVendor,
25
25
  seoProviderSchema,
26
26
  truncateUtf16
27
- } from "./chunk-JCK5TDIU.js";
27
+ } from "./chunk-B4CKWKSX.js";
28
28
 
29
29
  // src/agent/tools.ts
30
30
  import { Type as Type2 } from "@earendil-works/pi-ai";