@canonry/canonry 7.108.2 → 7.108.3

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 (133) hide show
  1. package/assets/agent-workspace/skills/aero/SKILL.md +16 -7
  2. package/assets/agent-workspace/skills/aero/references/aeo-discovery.md +40 -30
  3. package/assets/agent-workspace/skills/aero/references/agent-operations.md +14 -7
  4. package/assets/agent-workspace/skills/aero/references/ai-traffic-tracking.md +12 -20
  5. package/assets/agent-workspace/skills/aero/references/memory-patterns.md +3 -3
  6. package/assets/agent-workspace/skills/aero/references/orchestration.md +22 -9
  7. package/assets/agent-workspace/skills/aero/references/portfolio-analysis.md +10 -8
  8. package/assets/agent-workspace/skills/aero/references/regression-playbook.md +11 -7
  9. package/assets/agent-workspace/skills/aero/references/seo-analysis.md +4 -3
  10. package/assets/agent-workspace/skills/aero/references/site-health.md +3 -2
  11. package/assets/agent-workspace/skills/aero/references/wordpress-elementor-mcp.md +48 -219
  12. package/assets/agent-workspace/skills/aero/soul.md +1 -1
  13. package/assets/agent-workspace/skills/canonry/SKILL.md +14 -7
  14. package/assets/agent-workspace/skills/canonry/references/aeo-analysis.md +18 -25
  15. package/assets/agent-workspace/skills/canonry/references/ai-traffic-tracking.md +12 -20
  16. package/assets/agent-workspace/skills/canonry/references/canonry-cli.md +59 -24
  17. package/assets/agent-workspace/skills/canonry/references/google-business-profile.md +18 -24
  18. package/assets/agent-workspace/skills/canonry/references/google-marketing.md +10 -10
  19. package/assets/agent-workspace/skills/canonry/references/indexing.md +25 -27
  20. package/assets/agent-workspace/skills/canonry/references/server-side-traffic.md +8 -15
  21. package/assets/agent-workspace/skills/canonry/references/wordpress-integration.md +6 -2
  22. package/dist/{ads-IJHKPMDL.js → ads-ZU44TW6I.js} +3 -3
  23. package/dist/{agent-X5SDBTII.js → agent-R5WTIW7T.js} +7 -7
  24. package/dist/{agent-ask-UPROPFVK.js → agent-ask-YDKBWYQG.js} +3 -3
  25. package/dist/{agent-conversations-A7W74X6Q.js → agent-conversations-QJOBINIB.js} +3 -3
  26. package/dist/{agent-journeys-WOLFWP3G.js → agent-journeys-4GGOACCO.js} +3 -3
  27. package/dist/{agent-memory-TH6ORG63.js → agent-memory-3YG553SD.js} +3 -3
  28. package/dist/{agent-providers-FKVRHV4J.js → agent-providers-TVVMJQN7.js} +3 -3
  29. package/dist/{agent-transcript-UFEBYD4L.js → agent-transcript-RZC6273N.js} +3 -3
  30. package/dist/{analytics-XNFXAKRP.js → analytics-U4TVQGMD.js} +3 -3
  31. package/dist/{apply-O46BRKQG.js → apply-GVBOUXIO.js} +3 -3
  32. package/dist/{backfill-IUCWBDEI.js → backfill-5FQEVO4U.js} +10 -10
  33. package/dist/{backlinks-PB2Y3APJ.js → backlinks-YGCLFL6X.js} +3 -3
  34. package/dist/{bing-YOUZDEA2.js → bing-LT62N7BY.js} +3 -3
  35. package/dist/{bootstrap-E4EI2W54.js → bootstrap-XSFNQARX.js} +10 -10
  36. package/dist/{cdp-72553DTZ.js → cdp-5MY2I2N3.js} +7 -7
  37. package/dist/{chunk-WTNB7B2K.js → chunk-2QJP2EKJ.js} +1 -1
  38. package/dist/{chunk-HABH5YAF.js → chunk-3T5N2K7K.js} +1 -1
  39. package/dist/{chunk-CLWAZBJY.js → chunk-7XJZM7F5.js} +1 -1
  40. package/dist/{chunk-FU324DV3.js → chunk-A2XEI5JG.js} +2 -2
  41. package/dist/{chunk-3XYCTAL7.js → chunk-BPGQZNU6.js} +8 -7
  42. package/dist/{chunk-BPKV6YLN.js → chunk-BUJD4PDG.js} +7 -7
  43. package/dist/{chunk-7K3EFBNK.js → chunk-C5PWXO5G.js} +1 -1
  44. package/dist/{chunk-HOKR2Q26.js → chunk-DHPVTGOX.js} +1 -1
  45. package/dist/{chunk-2S25YWMO.js → chunk-DJA35P57.js} +1 -1
  46. package/dist/{chunk-JH6E6IV4.js → chunk-E3B4JEYL.js} +2 -2
  47. package/dist/{chunk-EFY5C7ZJ.js → chunk-E4WDOYDS.js} +4 -4
  48. package/dist/{chunk-MA5VHGWC.js → chunk-F5KJWMYH.js} +10 -8
  49. package/dist/{chunk-L6G22DGG.js → chunk-FCKYBJCJ.js} +366 -366
  50. package/dist/{chunk-E2ACURKW.js → chunk-HASKRW5X.js} +2 -2
  51. package/dist/{chunk-LU3TWJX7.js → chunk-JKXLOSXJ.js} +3 -3
  52. package/dist/{chunk-VGJCR6MC.js → chunk-LDYUNH5Q.js} +22 -22
  53. package/dist/{chunk-QNSTLSVL.js → chunk-NWKFGMF3.js} +2 -2
  54. package/dist/{chunk-6OBPZ6WK.js → chunk-NXX3E7JX.js} +1 -1
  55. package/dist/{chunk-SHCFV7PL.js → chunk-OQ4BIGR5.js} +7 -7
  56. package/dist/{chunk-IZMQNTWQ.js → chunk-PQL22SU6.js} +3 -3
  57. package/dist/{chunk-7XDDCPZV.js → chunk-QGGHCVKX.js} +1 -1
  58. package/dist/{chunk-CORHE557.js → chunk-QHNM2UTO.js} +4 -4
  59. package/dist/{chunk-AVBTCCAY.js → chunk-QRYPKPBN.js} +2 -2
  60. package/dist/{chunk-PYLSLW6L.js → chunk-R25V7AQG.js} +1 -1
  61. package/dist/{chunk-6Y3I2QFU.js → chunk-SAAYXL6V.js} +2 -2
  62. package/dist/{chunk-WJUF7P7N.js → chunk-SDF6U4XX.js} +1 -1
  63. package/dist/{chunk-J7RHAKTA.js → chunk-TV6CKQ2M.js} +4 -4
  64. package/dist/{chunk-PKD22D4H.js → chunk-UMPRDHNQ.js} +1 -1
  65. package/dist/{chunk-4FEKXZYP.js → chunk-VHESSGBR.js} +5 -5
  66. package/dist/{chunk-K6HCS36A.js → chunk-VQIEAP5U.js} +6 -6
  67. package/dist/{chunk-QJGQOAUK.js → chunk-VSYYI634.js} +1 -1
  68. package/dist/{chunk-46QQ3MQC.js → chunk-VYIM2IUO.js} +1 -2
  69. package/dist/{chunk-OEV6HQ3X.js → chunk-XHFLXURT.js} +1 -1
  70. package/dist/{chunk-5KH7Y233.js → chunk-XZ25DG73.js} +5 -5
  71. package/dist/{chunk-HAOLFBSD.js → chunk-ZBNFFCA5.js} +3 -3
  72. package/dist/{chunk-V342HTLC.js → chunk-ZVCDFSFW.js} +3 -3
  73. package/dist/{citations-A3N7E44V.js → citations-YW5QU7GI.js} +4 -4
  74. package/dist/{cli-catalog-2IKVWAJ7.js → cli-catalog-VSPAEL7Y.js} +3 -3
  75. package/dist/{cli-commands-SEYCDGTO.js → cli-commands-GJD73IE6.js} +7 -7
  76. package/dist/cli.js +13 -13
  77. package/dist/{competitor-CZV7O3YY.js → competitor-KUG7ZH4D.js} +3 -3
  78. package/dist/{content-7Y6QZH2G.js → content-SE7WEAKG.js} +3 -3
  79. package/dist/{dashboard-OOCOW7VZ.js → dashboard-43VOXHID.js} +6 -6
  80. package/dist/{demo-72QLTRMQ.js → demo-TWI6ROFX.js} +1 -1
  81. package/dist/{demo-server-NFJOZ6ZF.js → demo-server-AQKTQ6AW.js} +12 -12
  82. package/dist/{discover-LUCA6O5X.js → discover-X65CLZYY.js} +4 -4
  83. package/dist/{discover-eval-U2XY45WE.js → discover-eval-R4XVP5LH.js} +3 -3
  84. package/dist/{doctor-4O3ZZJAG.js → doctor-VUBA5CN3.js} +3 -3
  85. package/dist/{evidence-COM64MWY.js → evidence-UIFGERY4.js} +3 -3
  86. package/dist/{export-cmd-HEQ5TZER.js → export-cmd-6RTU5OZG.js} +3 -3
  87. package/dist/{ga-F5KCSFBL.js → ga-AZG7BHWQ.js} +3 -3
  88. package/dist/{gbp-GNHJKLUF.js → gbp-FBC5KMEQ.js} +3 -3
  89. package/dist/{google-SAW6YWIC.js → google-6TQ4YWAS.js} +4 -4
  90. package/dist/{google-marketing-SIZWYSL2.js → google-marketing-7MPF6LFW.js} +1 -1
  91. package/dist/{health-cmd-5IZFIQK2.js → health-cmd-Y5ZQ4TLG.js} +4 -4
  92. package/dist/{history-O3VAYWT6.js → history-YGGU2RYB.js} +3 -3
  93. package/dist/index.d.ts +4 -4
  94. package/dist/index.js +25 -25
  95. package/dist/{init-KAEFZHQB.js → init-Z64A6CBW.js} +12 -12
  96. package/dist/{insights-UFSQCY2N.js → insights-7XFNQHTX.js} +3 -3
  97. package/dist/intelligence-service-3U6RMPRG.js +16 -0
  98. package/dist/{journeys-XUPV4POH.js → journeys-PDWXN3IM.js} +3 -3
  99. package/dist/{keys-MWIC2RAM.js → keys-BKNJETWE.js} +3 -3
  100. package/dist/{keyword-BI6JIKFU.js → keyword-Z37NIEW4.js} +3 -3
  101. package/dist/{logs-DJAPNQRC.js → logs-ENWHNCTC.js} +3 -3
  102. package/dist/{mcp-K7KJOU2D.js → mcp-MV2VUJ4E.js} +4 -4
  103. package/dist/mcp.js +9 -9
  104. package/dist/{measurement-plan-IZ3ONXKO.js → measurement-plan-AWNVH5MW.js} +5 -5
  105. package/dist/{notify-23XROT44.js → notify-ZAFR4B47.js} +3 -3
  106. package/dist/{organic-evidence-MY3YS2FV.js → organic-evidence-ZK5IAVLI.js} +3 -3
  107. package/dist/{overview-XF3HRTRP.js → overview-ZFZYSJPU.js} +5 -5
  108. package/dist/{project-BTX7G7RS.js → project-HPZQGUR7.js} +3 -3
  109. package/dist/{project-setup-OEF4VHVO.js → project-setup-CEVH6KLJ.js} +3 -3
  110. package/dist/{query-67PA6WZ2.js → query-TOOIX2PP.js} +3 -3
  111. package/dist/{research-AFDDYAZS.js → research-HYJ76XNV.js} +3 -3
  112. package/dist/{results-export-6BI6P2MI.js → results-export-2MMDPWIU.js} +3 -3
  113. package/dist/{run-24TJZZXB.js → run-NNYEDFEF.js} +5 -5
  114. package/dist/{schedule-J2LIJ52P.js → schedule-S5W3XMP3.js} +3 -3
  115. package/dist/{search-6RAWS2IO.js → search-CPOTR6WQ.js} +3 -3
  116. package/dist/{serve-IURZ4D4U.js → serve-5Y342F64.js} +26 -26
  117. package/dist/{session-ZZG6G4D7.js → session-WWV5MXI4.js} +13 -13
  118. package/dist/{settings-UV6TFSYN.js → settings-4UFTKOY4.js} +3 -3
  119. package/dist/{sitemaps-YVX6NKUG.js → sitemaps-FAZT7L64.js} +3 -3
  120. package/dist/{skills-6GYQKVDM.js → skills-K5RXHUIL.js} +2 -2
  121. package/dist/{snapshot-N6RFEDB5.js → snapshot-JM2B2WXU.js} +3 -3
  122. package/dist/{src-U2E6JQJF.js → src-UU4CGSEN.js} +2 -2
  123. package/dist/{status-HZHN6UNX.js → status-DYJPL4WJ.js} +5 -5
  124. package/dist/{technical-aeo-ZQD4Q7DP.js → technical-aeo-XSLLHFE5.js} +3 -3
  125. package/dist/{telemetry-GQA2LXOM.js → telemetry-26GTSZNT.js} +4 -4
  126. package/dist/{tools-XH6DGBGV.js → tools-QR2RY6LW.js} +11 -11
  127. package/dist/{traffic-Y6T2OKJF.js → traffic-OF52YJKX.js} +5 -5
  128. package/dist/{trends-DTHOUJUU.js → trends-SECIYTNL.js} +3 -3
  129. package/dist/{users-JSG4WKPW.js → users-ZM7IR4US.js} +3 -3
  130. package/dist/{visibility-stats-4FW4DZSK.js → visibility-stats-V5P4CZO4.js} +4 -4
  131. package/dist/{wordpress-AHTU5C7M.js → wordpress-Z32JMXJK.js} +3 -3
  132. package/package.json +1 -1
  133. package/dist/intelligence-service-OZIEPTCK.js +0 -16
@@ -19,14 +19,14 @@ import {
19
19
  normalizeTrafficPathPattern,
20
20
  sessionizeJourneyRequests,
21
21
  verifyRequestSignature
22
- } from "./chunk-6OBPZ6WK.js";
22
+ } from "./chunk-NXX3E7JX.js";
23
23
  import {
24
24
  currentOutcomeAttribution,
25
25
  getRequestContext,
26
26
  registerRequestContext,
27
27
  requestAuditIdentity,
28
28
  sanitizeRequestContext
29
- } from "./chunk-HOKR2Q26.js";
29
+ } from "./chunk-DHPVTGOX.js";
30
30
  import {
31
31
  RawEventSampleEventTypes,
32
32
  SentimentIdempotencyConflict,
@@ -190,7 +190,7 @@ import {
190
190
  userSessions,
191
191
  users,
192
192
  writeNegativeReviewMaxStars
193
- } from "./chunk-7K3EFBNK.js";
193
+ } from "./chunk-C5PWXO5G.js";
194
194
  import {
195
195
  ADS_ACTIVATE_SCOPE,
196
196
  ADS_ACTIVATION_ABSOLUTE_MAX_ENTITIES,
@@ -1367,7 +1367,7 @@ import {
1367
1367
  wordpressSchemaDeployResultDtoSchema,
1368
1368
  wordpressSchemaStatusResultDtoSchema,
1369
1369
  wordpressStatusDtoSchema
1370
- } from "./chunk-OEV6HQ3X.js";
1370
+ } from "./chunk-XHFLXURT.js";
1371
1371
 
1372
1372
  // ../api-routes/src/user-session.ts
1373
1373
  import crypto2 from "crypto";
@@ -48674,7 +48674,7 @@ var routeCatalog = [
48674
48674
  method: "get",
48675
48675
  path: "/api/v1/projects/{name}/discover/sessions/{id}/harvest",
48676
48676
  summary: "Harvest issued search queries (grounding fan-out) from a session",
48677
- description: "Reads the search queries the answer engine actually issued to answer each probe (Gemini's `groundingMetadata.webSearchQueries` fan-out) back out of the session's stored probe payloads, then runs a mandatory quality gate and returns the survivors as candidate seeds, ranked by how many distinct probes issued each one. The gate drops navigational/phone lookups, over-specific outliers, off-subject acronym collisions, exact already-tracked matches, and \u2014 via an embedding cosine pass over the project's tracked queries \u2014 semantic duplicates (paraphrases/synonyms an exact match can't see). `semanticNoveltyApplied` reports whether that embedding pass ran (it falls back to exact-match when embeddings are unavailable). These are a THIRD signal \u2014 *issued retrieval queries* \u2014 distinct from `mention` (answer text) and `cited` (source list); they carry no demand of their own. Read-only and derived: nothing is probed, tracked, or promoted. `minProbeHits` raises the recurrence floor; `anchor=false` disables the subject anchor for new-subject discovery on a well-scoped project. `stats` carries the raw count and a per-reason rejection tally. Issue #713.",
48677
+ description: "Ranks search queries from stored probe results by how many probes issued each query. The novelty check can send candidate and tracked query text to the configured embedding provider. Requires a signed-in administrator or wildcard (*) API key, subject to project access. `semanticNoveltyApplied` reports whether the embedding check ran. If embeddings are unavailable, novelty uses exact matches. Issued search queries are retrieval evidence, separate from mentions and citations. The route returns candidates for review without tracking or promoting them.",
48678
48678
  tags: ["discovery"],
48679
48679
  parameters: [
48680
48680
  nameParameter,
@@ -48684,6 +48684,7 @@ var routeCatalog = [
48684
48684
  ],
48685
48685
  responses: {
48686
48686
  200: jsonResponse("Harvested candidate seeds + gate stats returned.", "DiscoveryHarvestDto"),
48687
+ 403: errorResponse("Administrator access or wildcard API key scope is required."),
48687
48688
  404: errorResponse("Project or session not found.")
48688
48689
  }
48689
48690
  },
@@ -66797,9 +66798,8 @@ async function ga4Routes(app, opts) {
66797
66798
  sessions: row.sessions,
66798
66799
  users: row.users,
66799
66800
  // Stored as given, nulls included: an absent reading is not a 0%
66800
- // engagement day. No returning-users figure is derived here —
66801
- // it is derived from `users - newUsers` at read time so the stored
66802
- // row keeps only what GA4 actually reported.
66801
+ // engagement day. Keep GA4's reported user counts independent:
66802
+ // `users - newUsers` does not reconstruct returning users.
66803
66803
  engagementRate: row.engagementRate,
66804
66804
  newUsers: row.newUsers,
66805
66805
  activeUsers: row.activeUsers,
@@ -80287,6 +80287,8 @@ async function discoveryRoutes(app, opts) {
80287
80287
  app.get(
80288
80288
  "/projects/:name/discover/sessions/:id/harvest",
80289
80289
  async (request, reply) => {
80290
+ requireAdminSession(request);
80291
+ requirePaidReadScope(request, [], "Discovery harvest requires wildcard (*) API key scope because it can call the embedding provider.");
80290
80292
  const project = resolveProject(app.db, request.params.name);
80291
80293
  const session = app.db.select().from(discoverySessions).where(eq119(discoverySessions.id, request.params.id)).get();
80292
80294
  if (!session || session.projectId !== project.id) {