@canonry/canonry 7.111.0 → 7.112.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 (141) hide show
  1. package/README.md +1 -1
  2. package/assets/agent-workspace/skills/aero/references/ai-traffic-tracking.md +5 -3
  3. package/assets/agent-workspace/skills/canonry/references/ai-traffic-tracking.md +5 -3
  4. package/assets/agent-workspace/skills/canonry/references/canonry-cli.md +3 -0
  5. package/assets/agent-workspace/skills/canonry/references/server-side-traffic.md +4 -0
  6. package/assets/assets/{AccessControls-CJMIWtDc.js → AccessControls-BxtFDXYH.js} +1 -1
  7. package/assets/assets/{AgentSetupPage-DR8w0A9t.js → AgentSetupPage-q1Ku1PAd.js} +1 -1
  8. package/assets/assets/{AuditHistoryPanel-BLF2-WSw.js → AuditHistoryPanel-6EnlABwM.js} +1 -1
  9. package/assets/assets/{BacklinksPage-BCuEkphC.js → BacklinksPage-BaHCJEuK.js} +1 -1
  10. package/assets/assets/{ChartPrimitives-Dxr7b1zf.js → ChartPrimitives-C3lJj3eO.js} +1 -1
  11. package/assets/assets/{HistoryPage-C3UcNB4C.js → HistoryPage-B_NVeDCn.js} +1 -1
  12. package/assets/assets/{MeasurementPropertyPage-BKDciQn4.js → MeasurementPropertyPage-DxCRxoIF.js} +1 -1
  13. package/assets/assets/{ProjectPage-BwkFGMs_.js → ProjectPage-BjGsilZJ.js} +3 -3
  14. package/assets/assets/{RunsPage-BqteFByy.js → RunsPage-9T1OrQw3.js} +1 -1
  15. package/assets/assets/{ServerTrafficSection-CqHfSvux.js → ServerTrafficSection-iUdFKWEc.js} +1 -1
  16. package/assets/assets/{SettingsPage-BORbl6fR.js → SettingsPage-BswQYkkB.js} +1 -1
  17. package/assets/assets/{ToneBadge-Cu25HdVj.js → ToneBadge-CWufDJgM.js} +2 -2
  18. package/assets/assets/{TrafficPage-xqJU4CR4.js → TrafficPage-DN9DxoWm.js} +1 -1
  19. package/assets/assets/{TrafficSourceDetailPage-CVHyU3Za.js → TrafficSourceDetailPage-D6TdTyP-.js} +1 -1
  20. package/assets/assets/{account-context-DR0diETl.js → account-context-CyE8qMvH.js} +1 -1
  21. package/assets/assets/{agent-trust-copy-DX06JhNj.js → agent-trust-copy-CinW-f_8.js} +1 -1
  22. package/assets/assets/{card-BG4pD6H7.js → card-CI9gz2Hb.js} +1 -1
  23. package/assets/assets/{index-CggAFvBE.js → index-DshFRkPM.js} +3 -3
  24. package/assets/assets/{query-client-DiID-orC.js → query-client-BlAtm9zS.js} +1 -1
  25. package/assets/assets/{react-query-gPYNMl8L.js → react-query-DE_LaZkX.js} +1 -1
  26. package/assets/assets/{react-sigma_core.esm.min-CaAAyMHy.js → react-sigma_core.esm.min-CZkN6sL0.js} +1 -1
  27. package/assets/assets/{server-traffic-DGkceMij.js → server-traffic-Ci9JbS2U.js} +1 -1
  28. package/assets/assets/{service-DqtXV3A5.js → service-CiYDMju_.js} +1 -1
  29. package/assets/index.html +8 -8
  30. package/dist/{ads-MA5UHDSK.js → ads-WRMNYPJ7.js} +3 -3
  31. package/dist/{agent-QBDESRUX.js → agent-V4PAGAPZ.js} +7 -7
  32. package/dist/{agent-ask-DVUWIY4T.js → agent-ask-3LAAT4WN.js} +3 -3
  33. package/dist/{agent-conversations-Q7SE57ZA.js → agent-conversations-TVNDZY54.js} +3 -3
  34. package/dist/{agent-journeys-OWNSW6GR.js → agent-journeys-UB7ZGAKP.js} +3 -3
  35. package/dist/{agent-memory-YIVRBUPS.js → agent-memory-RWF2WODB.js} +3 -3
  36. package/dist/{agent-providers-UDILAU6B.js → agent-providers-77A45KZD.js} +3 -3
  37. package/dist/{agent-transcript-KU7ELEEC.js → agent-transcript-K5WZJHJX.js} +3 -3
  38. package/dist/{analytics-WFMI7N5Y.js → analytics-RNSYOGUP.js} +3 -3
  39. package/dist/{apply-2WHADGXD.js → apply-UU6GFYIJ.js} +3 -3
  40. package/dist/{backfill-ZNGMPK7N.js → backfill-DOYPYZJL.js} +10 -10
  41. package/dist/{backlinks-LH77XWHZ.js → backlinks-UKRILGDJ.js} +3 -3
  42. package/dist/{bing-5OCPBLYU.js → bing-P6GTLGIP.js} +3 -3
  43. package/dist/{bootstrap-SCTHOCSM.js → bootstrap-BRXDKCNB.js} +10 -10
  44. package/dist/{cdp-6OEBXRAY.js → cdp-CPGVPWTU.js} +7 -7
  45. package/dist/{chunk-PPOHDQ3T.js → chunk-2LXLJXTG.js} +2 -2
  46. package/dist/{chunk-IU26JPKH.js → chunk-4ALKLWSQ.js} +619 -384
  47. package/dist/{chunk-DR4QNC2H.js → chunk-4PMS7CAF.js} +2 -2
  48. package/dist/{chunk-4EWCBHGV.js → chunk-4WXNCSYL.js} +2 -2
  49. package/dist/{chunk-VXOZUCH4.js → chunk-7IF576RC.js} +5 -5
  50. package/dist/{chunk-QKEBSO3T.js → chunk-AZPWF42S.js} +7 -3
  51. package/dist/{chunk-BZMIVLRX.js → chunk-B27F7C6S.js} +5 -5
  52. package/dist/{chunk-S7TL4SCS.js → chunk-C44S7EE7.js} +4 -4
  53. package/dist/{chunk-YQ5NFMQB.js → chunk-DZCJNSBY.js} +1 -1
  54. package/dist/{chunk-LPW2TRLI.js → chunk-F6CYO37C.js} +6 -6
  55. package/dist/{chunk-44JAOWMT.js → chunk-I4YRKF6G.js} +3 -3
  56. package/dist/{chunk-EUARY2OX.js → chunk-JCK5TDIU.js} +71 -4
  57. package/dist/{chunk-A2VDUQB2.js → chunk-JHAG6DEG.js} +3 -3
  58. package/dist/{chunk-XAS6ARPI.js → chunk-KYZ5A7AX.js} +1 -1
  59. package/dist/{chunk-KMES74KU.js → chunk-LGAQXH3L.js} +1 -1
  60. package/dist/{chunk-BNHQ55UD.js → chunk-M2RTTCLC.js} +3 -3
  61. package/dist/{chunk-WK6SPZG4.js → chunk-N5K35MDQ.js} +1 -1
  62. package/dist/{chunk-LGPITEEE.js → chunk-NICTKJ3O.js} +1 -1
  63. package/dist/{chunk-GHNEC23U.js → chunk-NLU2MMFA.js} +1 -1
  64. package/dist/{chunk-MQU5QBUQ.js → chunk-OBDRDAIK.js} +1 -1
  65. package/dist/{chunk-TSQG2PNH.js → chunk-PT3VROG7.js} +376 -368
  66. package/dist/{chunk-H5LL4HMB.js → chunk-Q4XHWZDT.js} +1 -1
  67. package/dist/{chunk-IBTMJA76.js → chunk-R4PQ7D32.js} +7 -7
  68. package/dist/{chunk-5IX4ZOSU.js → chunk-S6ULO6H5.js} +1 -1
  69. package/dist/{chunk-U4YVA2A2.js → chunk-SJD3ZAEH.js} +2 -2
  70. package/dist/{chunk-LGPJMBH2.js → chunk-SNL4C4BV.js} +2 -2
  71. package/dist/{chunk-YOQQUG7C.js → chunk-TDRPVIUB.js} +1 -1
  72. package/dist/{chunk-ORX3X7P5.js → chunk-TDSISMOJ.js} +21 -21
  73. package/dist/{chunk-CJRL5BT3.js → chunk-W3UYVNYQ.js} +1 -1
  74. package/dist/{chunk-46HRC23F.js → chunk-WHBLQJGZ.js} +1 -1
  75. package/dist/{chunk-3SCJOPT5.js → chunk-Y6D7K63F.js} +3 -3
  76. package/dist/{chunk-N5U474SX.js → chunk-YN7OV22K.js} +4 -4
  77. package/dist/{chunk-UKQPA7NT.js → chunk-YWKALX6A.js} +4 -4
  78. package/dist/{chunk-523WBUKU.js → chunk-YXCMVHYJ.js} +3 -3
  79. package/dist/{chunk-ZKYOGC7O.js → chunk-ZMCRVQ6Q.js} +1 -1
  80. package/dist/{chunk-EQ6RZE7U.js → chunk-ZVDUBOE4.js} +16 -6
  81. package/dist/{citations-27ENEGJM.js → citations-GW2ELWME.js} +4 -4
  82. package/dist/{cli-catalog-PAZQB7WG.js → cli-catalog-PDU4Z4IO.js} +3 -3
  83. package/dist/{cli-commands-L6G5AQG2.js → cli-commands-XWIWF4VG.js} +7 -7
  84. package/dist/cli.js +13 -13
  85. package/dist/{competitor-EK5UX6W6.js → competitor-MS4P6GJ4.js} +3 -3
  86. package/dist/{content-3MBCVYMR.js → content-3QQRT3Q4.js} +3 -3
  87. package/dist/{dashboard-5LZMYX52.js → dashboard-FDVY7CMI.js} +6 -6
  88. package/dist/{demo-2NB2BVZO.js → demo-WRF3ZSQ5.js} +1 -1
  89. package/dist/{demo-server-MUJ566YQ.js → demo-server-Q77EUE5A.js} +12 -12
  90. package/dist/{discover-VMPF4CLS.js → discover-BAKAHH5X.js} +4 -4
  91. package/dist/{discover-eval-EK5ZAJKW.js → discover-eval-KMYMVZVX.js} +3 -3
  92. package/dist/{doctor-2KY5SS4O.js → doctor-OAYNGBBT.js} +3 -3
  93. package/dist/{evidence-OXYY666S.js → evidence-FEDSZTLW.js} +3 -3
  94. package/dist/{export-cmd-5Q6TNXN6.js → export-cmd-OYQVBE5C.js} +3 -3
  95. package/dist/{ga-CG3KAWEE.js → ga-MWJQ2S4D.js} +3 -3
  96. package/dist/{gbp-F555XC4I.js → gbp-K4FXHF6N.js} +3 -3
  97. package/dist/{google-44XHCXOZ.js → google-B6VUPLQN.js} +4 -4
  98. package/dist/{google-marketing-MSJVMCMQ.js → google-marketing-3KKTACAA.js} +1 -1
  99. package/dist/{health-cmd-KXCY4527.js → health-cmd-YEHYFXEN.js} +4 -4
  100. package/dist/{history-Y6PMRNUA.js → history-5EYU4PQT.js} +3 -3
  101. package/dist/index.d.ts +32 -32
  102. package/dist/index.js +25 -25
  103. package/dist/{init-CCVUPSZZ.js → init-2HLTEB5Y.js} +12 -12
  104. package/dist/{insights-FGR5AU5D.js → insights-MW5VTF7N.js} +3 -3
  105. package/dist/intelligence-service-PTAA5WJB.js +16 -0
  106. package/dist/{journeys-2V4KIVDF.js → journeys-YW2IWDMN.js} +3 -3
  107. package/dist/{keys-2EOH2M22.js → keys-RRT26LGV.js} +3 -3
  108. package/dist/{keyword-XFHVSN3B.js → keyword-KSN3JTCX.js} +3 -3
  109. package/dist/{logs-WJU66NI5.js → logs-IPAE4F4W.js} +3 -3
  110. package/dist/{mcp-23HANPN3.js → mcp-WJR6RKYK.js} +4 -4
  111. package/dist/mcp.js +9 -9
  112. package/dist/{measurement-plan-VQIG5UCP.js → measurement-plan-DGLUEK7M.js} +5 -5
  113. package/dist/{notify-E33IOGRC.js → notify-3QOG6NWS.js} +3 -3
  114. package/dist/{organic-evidence-3YJ3WTF5.js → organic-evidence-M3VSSLQR.js} +3 -3
  115. package/dist/{overview-66VPXGSA.js → overview-7RRCHUWZ.js} +5 -5
  116. package/dist/{project-SHXJFR3K.js → project-T3JZJPVK.js} +3 -3
  117. package/dist/{project-setup-SMTRU7UG.js → project-setup-Y6DSDF4V.js} +3 -3
  118. package/dist/{query-UNCXNQLZ.js → query-24JZPB3M.js} +3 -3
  119. package/dist/{research-C5JIOYGU.js → research-ERVKTKMV.js} +3 -3
  120. package/dist/{results-export-WZZDWAQB.js → results-export-KSGIWPAM.js} +3 -3
  121. package/dist/{run-NRBLHGT3.js → run-XX6YUJRI.js} +5 -5
  122. package/dist/{schedule-BOBKSQAN.js → schedule-JBZENJ2V.js} +3 -3
  123. package/dist/{search-26B4UX3P.js → search-V67KUYIZ.js} +3 -3
  124. package/dist/{serve-3TN2RDHE.js → serve-HTQ76BFW.js} +26 -26
  125. package/dist/{session-PTB4UBY3.js → session-AJ6R6K4B.js} +13 -13
  126. package/dist/{settings-25JAM5MJ.js → settings-KVKWFTJZ.js} +3 -3
  127. package/dist/{sitemaps-YXJIIT52.js → sitemaps-UDIC4YUU.js} +3 -3
  128. package/dist/{skills-HAYPXHWH.js → skills-35CPSNXM.js} +2 -2
  129. package/dist/{snapshot-V6D4W4MF.js → snapshot-OHGM7JBF.js} +3 -3
  130. package/dist/{src-ENRBRVV2.js → src-GNBUAHT7.js} +2 -2
  131. package/dist/{status-35RGWHEQ.js → status-GKWSTMUV.js} +5 -5
  132. package/dist/{technical-aeo-YG7Q3554.js → technical-aeo-IHQYV4TT.js} +3 -3
  133. package/dist/{telemetry-LUT6F4HJ.js → telemetry-AA2CONG2.js} +4 -4
  134. package/dist/{tools-NPGGINFO.js → tools-CWNRV7PQ.js} +11 -11
  135. package/dist/{traffic-CKYSAD4T.js → traffic-F7WR32VB.js} +55 -13
  136. package/dist/{trends-NQZD7X67.js → trends-YB2GNT75.js} +3 -3
  137. package/dist/{users-6FPNRCXJ.js → users-PXTIUGXI.js} +3 -3
  138. package/dist/{visibility-stats-S2FXH3NH.js → visibility-stats-KSPE4GHQ.js} +4 -4
  139. package/dist/{wordpress-BN62WUII.js → wordpress-YGSH5MSK.js} +3 -3
  140. package/package.json +1 -1
  141. package/dist/intelligence-service-NOZAMR73.js +0 -16
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  cloudflareQueueNameSchema
3
- } from "./chunk-EUARY2OX.js";
3
+ } from "./chunk-JCK5TDIU.js";
4
4
 
5
5
  // src/cloudflare-traffic-config.ts
6
6
  function unsupportedDeliveryMode(deliveryMode) {
@@ -8,24 +8,24 @@ import {
8
8
  reparseStoredResult4,
9
9
  reparseStoredResult5,
10
10
  resolveStoredApiResponse
11
- } from "./chunk-VXOZUCH4.js";
11
+ } from "./chunk-7IF576RC.js";
12
12
  import {
13
13
  loadConfig
14
- } from "./chunk-ZKYOGC7O.js";
14
+ } from "./chunk-ZMCRVQ6Q.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-XAS6ARPI.js";
21
+ } from "./chunk-KYZ5A7AX.js";
22
22
  import {
23
23
  backfillProjectAnswerMentions,
24
24
  competitorIdentityColumns,
25
25
  createRunCompetitorResolver,
26
26
  readMarketCompetitorNames,
27
27
  refreshSnapshotMentionIdentity
28
- } from "./chunk-IU26JPKH.js";
28
+ } from "./chunk-4ALKLWSQ.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-MQU5QBUQ.js";
42
+ } from "./chunk-OBDRDAIK.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-EUARY2OX.js";
55
+ } from "./chunk-JCK5TDIU.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-NOZAMR73.js");
433
+ const { IntelligenceService } = await import("./intelligence-service-PTAA5WJB.js");
434
434
  const config = loadConfig();
435
435
  const db = createClient(config.database);
436
436
  migrate(db);
@@ -17,7 +17,7 @@ import {
17
17
  hostOf,
18
18
  isLocationRedirectStatus,
19
19
  pathWithoutQuery
20
- } from "./chunk-EUARY2OX.js";
20
+ } from "./chunk-JCK5TDIU.js";
21
21
 
22
22
  // ../integration-traffic/src/agent-trust.ts
23
23
  var AGENT_TRUST_RULES_VERSION = 3;
@@ -4,14 +4,14 @@ import {
4
4
  } from "./chunk-VJWDBFSL.js";
5
5
  import {
6
6
  createApiClient
7
- } from "./chunk-QKEBSO3T.js";
7
+ } from "./chunk-AZPWF42S.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-EUARY2OX.js";
14
+ } from "./chunk-JCK5TDIU.js";
15
15
 
16
16
  // src/commands/mcp.ts
17
17
  import fs from "fs";
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  getRequestContext
3
- } from "./chunk-WK6SPZG4.js";
3
+ } from "./chunk-N5K35MDQ.js";
4
4
  import {
5
5
  diagnosticIdentity,
6
6
  redactLogString,
7
7
  redactLogValue
8
- } from "./chunk-EUARY2OX.js";
8
+ } from "./chunk-JCK5TDIU.js";
9
9
 
10
10
  // ../api-routes/src/runtime-logger.ts
11
11
  import { format } from "util";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  API_PROVIDER_NAMES,
3
3
  ProviderNames
4
- } from "./chunk-EUARY2OX.js";
4
+ } from "./chunk-JCK5TDIU.js";
5
5
 
6
6
  // src/provider-registration.ts
7
7
  function isApiProviderRegistrable(name, entry) {
@@ -24,18 +24,18 @@ import {
24
24
  resolveConfiguredAgentProvider,
25
25
  resolveSessionProviderAndModel,
26
26
  setAeroSystemPrompt
27
- } from "./chunk-LPW2TRLI.js";
27
+ } from "./chunk-F6CYO37C.js";
28
28
  import {
29
29
  answerServiceAdapters,
30
30
  answerServiceDescriptors
31
- } from "./chunk-GHNEC23U.js";
31
+ } from "./chunk-NLU2MMFA.js";
32
32
  import {
33
33
  AeroToolProfiles,
34
34
  AeroToolScopes,
35
35
  buildAeroStateTools,
36
36
  isAeroToolProfile,
37
37
  truncateToolResult
38
- } from "./chunk-UKQPA7NT.js";
38
+ } from "./chunk-YWKALX6A.js";
39
39
  import {
40
40
  getGoogleAuthConfig,
41
41
  getGoogleConnection,
@@ -54,7 +54,7 @@ import {
54
54
  removeCloudflareTrafficConnection,
55
55
  removeCloudflareTrafficConnectionBySourceId,
56
56
  upsertCloudflareTrafficConnection
57
- } from "./chunk-H5LL4HMB.js";
57
+ } from "./chunk-Q4XHWZDT.js";
58
58
  import {
59
59
  claudeAdapter,
60
60
  embedQueries,
@@ -66,7 +66,7 @@ import {
66
66
  openrouterAdapter,
67
67
  perplexityAdapter,
68
68
  startTrafficReclassification
69
- } from "./chunk-VXOZUCH4.js";
69
+ } from "./chunk-7IF576RC.js";
70
70
  import {
71
71
  classifyUsageSurface,
72
72
  createApiUsageTelemetry,
@@ -78,7 +78,7 @@ import {
78
78
  startOutcomeTimer,
79
79
  trackFeatureCompleted,
80
80
  trackInstallState
81
- } from "./chunk-S7TL4SCS.js";
81
+ } from "./chunk-C44S7EE7.js";
82
82
  import {
83
83
  isLoopbackBindHost
84
84
  } from "./chunk-TSENU4GG.js";
@@ -86,7 +86,7 @@ import {
86
86
  isApiProviderRegistrable,
87
87
  isCdpProviderRegistrable,
88
88
  registeredProviderNames
89
- } from "./chunk-YOQQUG7C.js";
89
+ } from "./chunk-TDRPVIUB.js";
90
90
  import {
91
91
  checkLatestVersionForServer,
92
92
  getOrCreateAnonymousId,
@@ -98,17 +98,17 @@ import {
98
98
  recordDashboardEvent,
99
99
  setTelemetryPreference,
100
100
  trackEvent
101
- } from "./chunk-DR4QNC2H.js";
101
+ } from "./chunk-4PMS7CAF.js";
102
102
  import {
103
103
  createCanonryMcpServer
104
- } from "./chunk-523WBUKU.js";
104
+ } from "./chunk-YXCMVHYJ.js";
105
105
  import {
106
106
  CANONRY_MCP_TIERS,
107
107
  CANONRY_MCP_TOOLKIT_NAMES
108
108
  } from "./chunk-CIDXBCEW.js";
109
109
  import {
110
110
  ApiClient
111
- } from "./chunk-QKEBSO3T.js";
111
+ } from "./chunk-AZPWF42S.js";
112
112
  import {
113
113
  AGENT_PROVIDERS,
114
114
  PROVIDER_MODELS,
@@ -143,21 +143,21 @@ import {
143
143
  saveConfigPatch,
144
144
  sentimentInstallReadiness,
145
145
  updateSharedProviderExecutionGate
146
- } from "./chunk-ZKYOGC7O.js";
146
+ } from "./chunk-ZMCRVQ6Q.js";
147
147
  import {
148
148
  getBundledSkillSnapshots
149
- } from "./chunk-CJRL5BT3.js";
149
+ } from "./chunk-W3UYVNYQ.js";
150
150
  import {
151
151
  computeFactorAverages,
152
152
  deleteSiteCrawlGraphLayout,
153
153
  persistSiteCrawlGraphLayout,
154
154
  prepareSiteCrawlGraphLayout,
155
155
  recordedSharePct
156
- } from "./chunk-PPOHDQ3T.js";
156
+ } from "./chunk-2LXLJXTG.js";
157
157
  import {
158
158
  CanonryMcpToolNames,
159
159
  canonryMcpTools
160
- } from "./chunk-EQ6RZE7U.js";
160
+ } from "./chunk-ZVDUBOE4.js";
161
161
  import {
162
162
  PACKAGE_VERSION
163
163
  } from "./chunk-AOJU5LKX.js";
@@ -166,16 +166,16 @@ import {
166
166
  } from "./chunk-HGMYEDAQ.js";
167
167
  import {
168
168
  IntelligenceService
169
- } from "./chunk-BZMIVLRX.js";
169
+ } from "./chunk-B27F7C6S.js";
170
170
  import {
171
171
  computeCitedCompetitorDomains,
172
172
  determineCitationState
173
- } from "./chunk-XAS6ARPI.js";
173
+ } from "./chunk-KYZ5A7AX.js";
174
174
  import {
175
175
  addLogListener,
176
176
  createFastifyLogger,
177
177
  createLogger
178
- } from "./chunk-LGPJMBH2.js";
178
+ } from "./chunk-SNL4C4BV.js";
179
179
  import {
180
180
  BingApiError,
181
181
  CC_CACHE_DIR,
@@ -327,7 +327,7 @@ import {
327
327
  webhookTargetRefusalReason,
328
328
  webhookUserAgent,
329
329
  writeAuditLog
330
- } from "./chunk-IU26JPKH.js";
330
+ } from "./chunk-4ALKLWSQ.js";
331
331
  import {
332
332
  OperationalLogStore,
333
333
  SentimentIdempotencyConflict,
@@ -429,7 +429,7 @@ import {
429
429
  unrecognizedAgentEventsHourly,
430
430
  unrecognizedAgentNotifyState,
431
431
  usageCounters
432
- } from "./chunk-MQU5QBUQ.js";
432
+ } from "./chunk-OBDRDAIK.js";
433
433
  import {
434
434
  AGENT_MEMORY_VALUE_MAX_BYTES,
435
435
  AI_ENGINE_DOMAINS,
@@ -711,7 +711,7 @@ import {
711
711
  winnabilityClassLabel,
712
712
  withRetry,
713
713
  withSkippedProviders
714
- } from "./chunk-EUARY2OX.js";
714
+ } from "./chunk-JCK5TDIU.js";
715
715
 
716
716
  // src/google-marketing-runtime.ts
717
717
  import crypto2 from "crypto";
@@ -6465,7 +6465,7 @@ function nonBlank(value) {
6465
6465
  return trimmed ? trimmed : void 0;
6466
6466
  }
6467
6467
  function resolveBuildCommit(env = process.env) {
6468
- const embedded = true ? "b8543616b388df22f1c38a72badac38815b9f071" : void 0;
6468
+ const embedded = true ? "99a504985caa2a6a2f30bc54222c8d4fdb8b5147" : void 0;
6469
6469
  return nonBlank(embedded) ?? nonBlank(env.CANONRY_COMMIT);
6470
6470
  }
6471
6471
  function resolveInstanceIdentity(env = process.env) {
@@ -15,7 +15,7 @@ import {
15
15
  formatCanonryPluginUpdateHint,
16
16
  formatCanonryPluginVersionMismatch,
17
17
  skillsClientSchema
18
- } from "./chunk-EUARY2OX.js";
18
+ } from "./chunk-JCK5TDIU.js";
19
19
 
20
20
  // src/commands/skills.ts
21
21
  import crypto from "crypto";
@@ -23,7 +23,7 @@ import {
23
23
  measurementDraftUpsertGroupRequestSchema,
24
24
  measurementDraftUpsertMarketRequestSchema,
25
25
  measurementDraftUpsertTargetRequestSchema
26
- } from "./chunk-EUARY2OX.js";
26
+ } from "./chunk-JCK5TDIU.js";
27
27
 
28
28
  // src/measurement-draft-actions.ts
29
29
  import { z } from "zod";
@@ -2,18 +2,18 @@ import {
2
2
  configExists,
3
3
  loadConfigRaw,
4
4
  saveConfigPatch
5
- } from "./chunk-ZKYOGC7O.js";
5
+ } from "./chunk-ZMCRVQ6Q.js";
6
6
  import {
7
7
  BUNDLED_SKILL_NAMES,
8
8
  installSkills
9
- } from "./chunk-CJRL5BT3.js";
9
+ } from "./chunk-W3UYVNYQ.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-EUARY2OX.js";
16
+ } from "./chunk-JCK5TDIU.js";
17
17
 
18
18
  // src/skills-autosync.ts
19
19
  import fs from "fs";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  registeredProviderNames
3
- } from "./chunk-YOQQUG7C.js";
3
+ } from "./chunk-TDRPVIUB.js";
4
4
  import {
5
5
  configExists,
6
6
  loadConfigRaw
7
- } from "./chunk-ZKYOGC7O.js";
7
+ } from "./chunk-ZMCRVQ6Q.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-ENRBRVV2.js");
31
+ const { createClient, projects, queries: queriesTable } = await import("./src-GNBUAHT7.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-3TN2RDHE.js");
50
+ const { serveCommand } = await import("./serve-HTQ76BFW.js");
51
51
  await serveCommand(format);
52
52
  }
53
53
 
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  runWithUsageTags
3
- } from "./chunk-QKEBSO3T.js";
3
+ } from "./chunk-AZPWF42S.js";
4
4
  import {
5
5
  CanonryMcpToolNames,
6
6
  DEPRECATED_MCP_TOOL_ALIAS_NAMES,
7
7
  canonryMcpTools
8
- } from "./chunk-EQ6RZE7U.js";
8
+ } from "./chunk-ZVDUBOE4.js";
9
9
  import {
10
10
  CliError
11
11
  } from "./chunk-HGMYEDAQ.js";
12
12
  import {
13
13
  buildOpenApiDocument
14
- } from "./chunk-IU26JPKH.js";
14
+ } from "./chunk-4ALKLWSQ.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-EUARY2OX.js";
27
+ } from "./chunk-JCK5TDIU.js";
28
28
 
29
29
  // src/agent/tools.ts
30
30
  import { Type as Type2 } from "@earendil-works/pi-ai";
@@ -7,12 +7,12 @@ import {
7
7
  import {
8
8
  createApiClient,
9
9
  runWithUsageTags
10
- } from "./chunk-QKEBSO3T.js";
10
+ } from "./chunk-AZPWF42S.js";
11
11
  import {
12
12
  canonryMcpTools,
13
13
  mcpOutputSchema,
14
14
  toolOperationAccess
15
- } from "./chunk-EQ6RZE7U.js";
15
+ } from "./chunk-ZVDUBOE4.js";
16
16
  import {
17
17
  PACKAGE_VERSION
18
18
  } from "./chunk-AOJU5LKX.js";
@@ -25,7 +25,7 @@ import {
25
25
  isReadOnlyKey,
26
26
  restrictedWriteScopes,
27
27
  upgradeCaveatFor
28
- } from "./chunk-EUARY2OX.js";
28
+ } from "./chunk-JCK5TDIU.js";
29
29
 
30
30
  // src/mcp/server.ts
31
31
  import { randomUUID } from "crypto";
@@ -22,7 +22,7 @@ import {
22
22
  resolveProviderModel,
23
23
  schedulableRunKindSchema,
24
24
  sentimentEvaluatorProviderSchema
25
- } from "./chunk-EUARY2OX.js";
25
+ } from "./chunk-JCK5TDIU.js";
26
26
 
27
27
  // ../config/src/index.ts
28
28
  import { z as z5 } from "zod";
@@ -5,11 +5,11 @@ import {
5
5
  dedupeGscSitemapUrls,
6
6
  resolveDiscoveredGscSitemapUrls,
7
7
  submitGscSitemapBatches
8
- } from "./chunk-LGPITEEE.js";
8
+ } from "./chunk-NICTKJ3O.js";
9
9
  import {
10
10
  measurementDraftOperationSchema,
11
11
  runMeasurementDraftAction
12
- } from "./chunk-46HRC23F.js";
12
+ } from "./chunk-WHBLQJGZ.js";
13
13
  import {
14
14
  CliError
15
15
  } from "./chunk-HGMYEDAQ.js";
@@ -32,6 +32,7 @@ import {
32
32
  SENTIMENT_QUERY_PAGE_MAX,
33
33
  SEO_RUN_SCOPE,
34
34
  SEO_WRITE_SCOPE,
35
+ TRAFFIC_EVENT_GROUP_BY_HINT,
35
36
  TRAFFIC_EVENT_KIND_FILTER_HINT,
36
37
  WINDOW_SETS,
37
38
  adsActivateTreeRequestSchema,
@@ -108,6 +109,7 @@ import {
108
109
  operationAccess,
109
110
  operationalLogListReadSchema,
110
111
  organicEvidencePeriodSchema,
112
+ parseTrafficEventGroupBy,
111
113
  parseTrafficEventKindFilter,
112
114
  projectConfigSchema,
113
115
  projectPatchRequestSchema,
@@ -201,7 +203,7 @@ import {
201
203
  trendSurfaceSchema,
202
204
  visibilityCompareSelectionSchema,
203
205
  visibilityReportRequestSchema
204
- } from "./chunk-EUARY2OX.js";
206
+ } from "./chunk-JCK5TDIU.js";
205
207
 
206
208
  // src/mcp/tool-registry.ts
207
209
  import { z as z2 } from "zod";
@@ -968,8 +970,12 @@ var trafficEventsInputSchema = z2.object({
968
970
  until: z2.string().optional().describe("ISO 8601 upper bound. Defaults to now when omitted."),
969
971
  kind: z2.string().refine((value) => parseTrafficEventKindFilter(value) !== null, { message: `kind must be ${TRAFFIC_EVENT_KIND_FILTER_HINT}` }).optional().describe('Filter to "crawler", "ai-user-fetch", "ai-referral", a comma-separated list of them (e.g. "ai-user-fetch,ai-referral"), or "all" (default). Rows, totals and series cover only the kinds asked for.'),
970
972
  sourceId: z2.string().min(1).optional().describe("Restrict to a single traffic source ID."),
971
- limit: z2.number().int().positive().max(5e3).optional().describe("Max combined rows. Defaults to 500, max 5000. Totals always reflect the full window."),
972
- granularity: trafficSeriesGranularitySchema.optional().describe("Full-window chart series bucket size: hour (default), day, or month (UTC calendar months).")
973
+ limit: z2.number().int().positive().max(5e3).optional().describe("Max combined rows per page, and max groups with groupBy. Defaults to 500, max 5000. Totals always reflect the full filtered window."),
974
+ granularity: trafficSeriesGranularitySchema.optional().describe("Full-window chart series bucket size: hour (default), day, or month (UTC calendar months)."),
975
+ path: z2.string().min(1).optional().describe('A page and the pages under it: "/faq" matches "/faq" and "/faq/x", never "/faqs"; "/products/" matches everything under /products. Case counts. Matches the landing path on AI-referral rows. Totals, series, rows and groups all honor it.'),
976
+ agent: z2.string().min(1).optional().describe('Exact bot ID such as "openai-searchbot" or "openai-chatgpt-user", or the AI product on AI-referral rows. Totals, series, rows and groups all honor it.'),
977
+ cursor: z2.string().min(1).optional().describe("eventRows.nextCursor from the previous page. Repeat the same kind, sourceId, path and agent; the cursor keeps the first page's window."),
978
+ groupBy: z2.string().refine((value) => parseTrafficEventGroupBy(value) !== null, { message: `groupBy must be ${TRAFFIC_EVENT_GROUP_BY_HINT}` }).optional().describe('Totals over the whole filtered window, split by kind plus any of: agent, path, status, source (comma-separated). Use it to answer "which bots read this page" or "which pages did this bot read" in one call.')
973
979
  });
974
980
  var trafficSourceIdInputSchema = z2.object({
975
981
  project: projectNameSchema,
@@ -3333,7 +3339,7 @@ var rawCanonryMcpTools = [
3333
3339
  defineTool({
3334
3340
  name: "canonry_traffic_events",
3335
3341
  title: "List traffic events",
3336
- description: "Read crawler, AI user-fetch, and AI-referral rollups from server-side traffic sources. Returns complete full-window chart series and totals plus a capped discriminated detail list with explicit truncation metadata. Window defaults to last 24h.",
3342
+ description: "Read crawler, AI user-fetch, and AI-referral rollups from server-side traffic sources. Returns complete full-window chart series and totals plus a paged discriminated detail list (eventRows.nextCursor). Narrow everything with path and agent; add groupBy for totals per agent or path. Window defaults to last 24h.",
3337
3343
  access: "read",
3338
3344
  tier: "traffic",
3339
3345
  inputSchema: trafficEventsInputSchema,
@@ -3347,6 +3353,10 @@ var rawCanonryMcpTools = [
3347
3353
  if (input.sourceId) params.sourceId = input.sourceId;
3348
3354
  if (input.limit !== void 0) params.limit = input.limit;
3349
3355
  if (input.granularity) params.granularity = input.granularity;
3356
+ if (input.path) params.path = input.path;
3357
+ if (input.agent) params.agent = input.agent;
3358
+ if (input.cursor) params.cursor = input.cursor;
3359
+ if (input.groupBy) params.groupBy = input.groupBy;
3350
3360
  return client.trafficListEvents(input.project, params);
3351
3361
  }
3352
3362
  }),
@@ -3,16 +3,16 @@ import {
3
3
  citationGlyph,
4
4
  citedBase,
5
5
  mentionGlyph
6
- } from "./chunk-YQ5NFMQB.js";
6
+ } from "./chunk-DZCJNSBY.js";
7
7
  import {
8
8
  createApiClient
9
- } from "./chunk-QKEBSO3T.js";
10
- import "./chunk-ZKYOGC7O.js";
9
+ } from "./chunk-AZPWF42S.js";
10
+ import "./chunk-ZMCRVQ6Q.js";
11
11
  import "./chunk-AOJU5LKX.js";
12
12
  import {
13
13
  isMachineFormat
14
14
  } from "./chunk-HGMYEDAQ.js";
15
- import "./chunk-EUARY2OX.js";
15
+ import "./chunk-JCK5TDIU.js";
16
16
  import "./chunk-MLKGABMK.js";
17
17
 
18
18
  // src/commands/citations.ts
@@ -3,11 +3,11 @@ import {
3
3
  buildCliCatalog,
4
4
  printCliCatalog,
5
5
  renderTopLevelHelp
6
- } from "./chunk-A2VDUQB2.js";
7
- import "./chunk-KMES74KU.js";
6
+ } from "./chunk-JHAG6DEG.js";
7
+ import "./chunk-LGAQXH3L.js";
8
8
  import "./chunk-Z7IUAJOF.js";
9
9
  import "./chunk-HGMYEDAQ.js";
10
- import "./chunk-EUARY2OX.js";
10
+ import "./chunk-JCK5TDIU.js";
11
11
  import "./chunk-MLKGABMK.js";
12
12
  export {
13
13
  CLI_ROOT_SUMMARIES,
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  REGISTERED_CLI_COMMANDS
3
- } from "./chunk-TSQG2PNH.js";
3
+ } from "./chunk-PT3VROG7.js";
4
4
  import "./chunk-6GO5VVAC.js";
5
5
  import "./chunk-VJWDBFSL.js";
6
- import "./chunk-44JAOWMT.js";
6
+ import "./chunk-I4YRKF6G.js";
7
7
  import "./chunk-TSENU4GG.js";
8
- import "./chunk-QKEBSO3T.js";
9
- import "./chunk-ZKYOGC7O.js";
10
- import "./chunk-KMES74KU.js";
8
+ import "./chunk-AZPWF42S.js";
9
+ import "./chunk-ZMCRVQ6Q.js";
10
+ import "./chunk-LGAQXH3L.js";
11
11
  import "./chunk-Z7IUAJOF.js";
12
- import "./chunk-46HRC23F.js";
12
+ import "./chunk-WHBLQJGZ.js";
13
13
  import "./chunk-AOJU5LKX.js";
14
14
  import "./chunk-HGMYEDAQ.js";
15
- import "./chunk-EUARY2OX.js";
15
+ import "./chunk-JCK5TDIU.js";
16
16
  import "./chunk-MLKGABMK.js";
17
17
  export {
18
18
  REGISTERED_CLI_COMMANDS
package/dist/cli.js CHANGED
@@ -1,16 +1,16 @@
1
1
  #!/usr/bin/env node --import tsx
2
2
  import {
3
3
  REGISTERED_CLI_COMMANDS
4
- } from "./chunk-TSQG2PNH.js";
4
+ } from "./chunk-PT3VROG7.js";
5
5
  import "./chunk-6GO5VVAC.js";
6
6
  import {
7
7
  buildSetupState,
8
8
  runPendingServeHandoff
9
- } from "./chunk-N5U474SX.js";
9
+ } from "./chunk-YN7OV22K.js";
10
10
  import "./chunk-VJWDBFSL.js";
11
- import "./chunk-44JAOWMT.js";
11
+ import "./chunk-I4YRKF6G.js";
12
12
  import "./chunk-TSENU4GG.js";
13
- import "./chunk-YOQQUG7C.js";
13
+ import "./chunk-TDRPVIUB.js";
14
14
  import {
15
15
  checkLatestVersionForCli,
16
16
  cliRuntimeContext,
@@ -24,24 +24,24 @@ import {
24
24
  showFirstRunNotice,
25
25
  trackCliCommandFinished,
26
26
  trackEvent
27
- } from "./chunk-DR4QNC2H.js";
27
+ } from "./chunk-4PMS7CAF.js";
28
28
  import {
29
29
  autoSyncSkills,
30
30
  formatAutoSyncNotice
31
- } from "./chunk-3SCJOPT5.js";
32
- import "./chunk-QKEBSO3T.js";
33
- import "./chunk-ZKYOGC7O.js";
31
+ } from "./chunk-Y6D7K63F.js";
32
+ import "./chunk-AZPWF42S.js";
33
+ import "./chunk-ZMCRVQ6Q.js";
34
34
  import {
35
35
  accessFilterFromArgs,
36
36
  dispatchRegisteredCommand,
37
37
  printCliCatalog
38
- } from "./chunk-A2VDUQB2.js";
38
+ } from "./chunk-JHAG6DEG.js";
39
39
  import {
40
40
  resolveCliAccess
41
- } from "./chunk-KMES74KU.js";
41
+ } from "./chunk-LGAQXH3L.js";
42
42
  import "./chunk-Z7IUAJOF.js";
43
- import "./chunk-CJRL5BT3.js";
44
- import "./chunk-46HRC23F.js";
43
+ import "./chunk-W3UYVNYQ.js";
44
+ import "./chunk-WHBLQJGZ.js";
45
45
  import "./chunk-AOJU5LKX.js";
46
46
  import {
47
47
  CliError,
@@ -52,7 +52,7 @@ import {
52
52
  } from "./chunk-HGMYEDAQ.js";
53
53
  import {
54
54
  OperationAccesses
55
- } from "./chunk-EUARY2OX.js";
55
+ } from "./chunk-JCK5TDIU.js";
56
56
  import "./chunk-MLKGABMK.js";
57
57
 
58
58
  // src/cli.ts
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  createApiClient
3
- } from "./chunk-QKEBSO3T.js";
4
- import "./chunk-ZKYOGC7O.js";
3
+ } from "./chunk-AZPWF42S.js";
4
+ import "./chunk-ZMCRVQ6Q.js";
5
5
  import {
6
6
  emitJsonl
7
7
  } from "./chunk-Z7IUAJOF.js";
@@ -21,7 +21,7 @@ import {
21
21
  normalizeCompetitorDomain,
22
22
  shareOfVoiceLabel,
23
23
  shareOfVoiceReason
24
- } from "./chunk-EUARY2OX.js";
24
+ } from "./chunk-JCK5TDIU.js";
25
25
  import "./chunk-MLKGABMK.js";
26
26
 
27
27
  // src/commands/competitor.ts
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  createApiClient
3
- } from "./chunk-QKEBSO3T.js";
4
- import "./chunk-ZKYOGC7O.js";
3
+ } from "./chunk-AZPWF42S.js";
4
+ import "./chunk-ZMCRVQ6Q.js";
5
5
  import {
6
6
  emitJsonl
7
7
  } from "./chunk-Z7IUAJOF.js";
@@ -14,7 +14,7 @@ import {
14
14
  import {
15
15
  contentTargetDismissRequestSchema,
16
16
  formatPercent
17
- } from "./chunk-EUARY2OX.js";
17
+ } from "./chunk-JCK5TDIU.js";
18
18
  import "./chunk-MLKGABMK.js";
19
19
 
20
20
  // src/commands/content.ts