@canonry/canonry 7.120.2 → 7.122.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 (162) hide show
  1. package/assets/agent-workspace/skills/canonry/references/canonry-cli.md +4 -0
  2. package/assets/assets/{AccessControls-D9u5mHZy.js → AccessControls-CUyRn6C4.js} +2 -2
  3. package/assets/assets/{AgentSetupPage-sxobNnR4.js → AgentSetupPage-DZpC1KEN.js} +4 -4
  4. package/assets/assets/{AuditHistoryPanel-B-br1Rgm.js → AuditHistoryPanel--uz8Pwrq.js} +1 -1
  5. package/assets/assets/{BacklinksPage-DBncT_in.js → BacklinksPage-CO95Zmi-.js} +1 -1
  6. package/assets/assets/{ChartPrimitives-BVl_On4G.js → ChartPrimitives-Cs6yrwNk.js} +1 -1
  7. package/assets/assets/{Hint-DiyoPGOX.js → Hint-Drf3KqdJ.js} +1 -1
  8. package/assets/assets/{HistoryPage-DLzXIHGd.js → HistoryPage-jJE-3Cp-.js} +1 -1
  9. package/assets/assets/{InfoTooltip-laRfQjZw.js → InfoTooltip-Dm4gYO4N.js} +1 -1
  10. package/assets/assets/MeasurementPropertyPage-DVFgfLBE.js +4 -0
  11. package/assets/assets/ProjectPage-BUMmtHvg.js +15 -0
  12. package/assets/assets/{RunsPage-CGdstDkz.js → RunsPage-BSc3AZzW.js} +1 -1
  13. package/assets/assets/ServerTrafficSection-DVCQnnCe.js +41 -0
  14. package/assets/assets/SettingsPage-Cx3ChDuH.js +1 -0
  15. package/assets/assets/ToneBadge-D_99MaKo.js +60 -0
  16. package/assets/assets/{TrafficPage-HQMcIXhQ.js → TrafficPage-4lFwcOoT.js} +1 -1
  17. package/assets/assets/TrafficSourceDetailPage-BEjZCkMr.js +1 -0
  18. package/assets/assets/{account-context-BNo2KFA7.js → account-context-DHwkScAb.js} +1 -1
  19. package/assets/assets/{agent-trust-copy-B3Dw_M_3.js → agent-trust-copy-B2DSn_wB.js} +1 -1
  20. package/assets/assets/{card-h-mmYzMc.js → card-DsNIE4Gq.js} +1 -1
  21. package/assets/assets/index-BBPDLDlS.js +43 -0
  22. package/assets/assets/{index-C9Op8ix9.css → index-Dr7ccjP_.css} +1 -1
  23. package/assets/assets/preload-helper-BHfj17NS.js +1 -0
  24. package/assets/assets/{query-client-gk-fhrrc.js → query-client-DmL4VdXj.js} +1 -1
  25. package/assets/assets/react-query-ss3hNF7i.js +1 -0
  26. package/assets/assets/{react-sigma_core.esm.min-CbMudrIV.js → react-sigma_core.esm.min-CE7yMg4d.js} +1 -1
  27. package/assets/assets/{server-traffic-CL5cYldZ.js → server-traffic-CiJh_mR4.js} +1 -1
  28. package/assets/assets/service-Ck0xuYS9.js +1 -0
  29. package/assets/assets/{use-tooltip-position-CM1lD8cm.js → use-tooltip-position-71Ffohl_.js} +1 -1
  30. package/assets/assets/vendor-lucide-C3F7vHjd.js +1 -0
  31. package/assets/assets/{vendor-markdown-CQdHmjWd.js → vendor-markdown-DMxglFrF.js} +1 -1
  32. package/assets/assets/{vendor-radix-WbUsEVSn.js → vendor-radix-CXYx3LLU.js} +1 -1
  33. package/assets/assets/{vendor-recharts-DCxaNd0O.js → vendor-recharts-DAGVAt0P.js} +1 -1
  34. package/assets/assets/{vendor-tanstack-C613NhXZ.js → vendor-tanstack-ZnWhYpCU.js} +1 -1
  35. package/assets/index.html +18 -18
  36. package/dist/{ads-PMDSTHUC.js → ads-RVWK3WOT.js} +4 -4
  37. package/dist/{agent-5EL5AECW.js → agent-OSSTIYD5.js} +8 -8
  38. package/dist/{agent-ask-VAZUSWFA.js → agent-ask-2SPA6RIE.js} +4 -4
  39. package/dist/{agent-conversations-KOBHBQS6.js → agent-conversations-36UMFQY6.js} +4 -4
  40. package/dist/{agent-journeys-Q5J6K76M.js → agent-journeys-TW2CF6JI.js} +4 -4
  41. package/dist/{agent-memory-UTZWNL5K.js → agent-memory-GD2X65LE.js} +4 -4
  42. package/dist/{agent-providers-TBMKTIJT.js → agent-providers-A4E2TUJ7.js} +4 -4
  43. package/dist/{agent-transcript-4MIMLCSN.js → agent-transcript-JLHXL72N.js} +4 -4
  44. package/dist/{analytics-VGPQ3P7U.js → analytics-BZ7FJTK4.js} +4 -4
  45. package/dist/{apply-AL52P3BT.js → apply-BJDXDQXK.js} +4 -4
  46. package/dist/{backfill-AE23XODQ.js → backfill-F2OC7F22.js} +11 -11
  47. package/dist/{backlinks-T5ZWICGA.js → backlinks-IGSJG4TC.js} +4 -4
  48. package/dist/{bing-DFU4M6P2.js → bing-HHWCD5QU.js} +4 -4
  49. package/dist/{bootstrap-VBGDPCJ4.js → bootstrap-5LOT7HNU.js} +11 -11
  50. package/dist/{cdp-WHDGSGRE.js → cdp-5XNSVSBE.js} +8 -8
  51. package/dist/{chunk-OO4RE44D.js → chunk-3CT756HO.js} +1 -1
  52. package/dist/{chunk-AOD35IKL.js → chunk-3LJH6WL6.js} +1 -1
  53. package/dist/{chunk-FYTSSBV7.js → chunk-AYXUCVYX.js} +23 -23
  54. package/dist/{chunk-AHVF5OE5.js → chunk-BB2KXNOG.js} +2 -2
  55. package/dist/{chunk-TTQBEFSU.js → chunk-CCFEMZI5.js} +1 -1
  56. package/dist/{chunk-R2CBQPN6.js → chunk-D4G3FP7N.js} +13 -6
  57. package/dist/{chunk-5KINLLTJ.js → chunk-E6WLCHXT.js} +4 -4
  58. package/dist/{chunk-ZCRUXUHU.js → chunk-EGH7MBFI.js} +5 -5
  59. package/dist/{chunk-6KH4XZLA.js → chunk-F5UUN6UB.js} +1 -1
  60. package/dist/{chunk-6WG3PZUR.js → chunk-G56TRFKC.js} +7 -7
  61. package/dist/{chunk-3Q2D53KV.js → chunk-HGXAKSRX.js} +1 -1
  62. package/dist/{chunk-PM4GX6FP.js → chunk-HVE7FL2B.js} +4 -4
  63. package/dist/{chunk-XTR3KSV2.js → chunk-IQGRGJFP.js} +1 -1
  64. package/dist/{chunk-VCXKSGZF.js → chunk-LJ3MSVVW.js} +1 -1
  65. package/dist/{chunk-2FNWSHOE.js → chunk-LNBJ3ZEK.js} +17 -3
  66. package/dist/{chunk-AOYSK6D2.js → chunk-LZSY5GNZ.js} +2 -2
  67. package/dist/{chunk-FTPGW2WX.js → chunk-M2OSHVTB.js} +2 -2
  68. package/dist/{chunk-OXYZQJLV.js → chunk-NGTWSJSP.js} +1 -1
  69. package/dist/{chunk-WLG476HL.js → chunk-NJTIZSBH.js} +5 -5
  70. package/dist/{chunk-WVZR3J7X.js → chunk-NZQWQK4N.js} +4 -4
  71. package/dist/{chunk-FYL67YEU.js → chunk-QE3PIF67.js} +8 -8
  72. package/dist/{chunk-NQFBIMS4.js → chunk-QFPQIPX3.js} +2 -2
  73. package/dist/{chunk-RDISN2CO.js → chunk-REDBG2JO.js} +5 -5
  74. package/dist/{chunk-EZOBUXLP.js → chunk-RHWKLRLF.js} +3 -3
  75. package/dist/{chunk-TS477DBZ.js → chunk-RVRQJ2SA.js} +2 -2
  76. package/dist/{chunk-47Y5UAYA.js → chunk-S6GBOBNO.js} +2 -2
  77. package/dist/{chunk-ZDYWXTNN.js → chunk-SPNDMTXM.js} +42 -4
  78. package/dist/{chunk-QC4MPO7E.js → chunk-T3HVXCOW.js} +423 -372
  79. package/dist/{chunk-3N2MSPPU.js → chunk-TAFIB6LC.js} +3 -2
  80. package/dist/{chunk-QCXKLTVC.js → chunk-TH6JFDUI.js} +4 -4
  81. package/dist/{chunk-VOK62VGC.js → chunk-UYRC244Y.js} +11 -0
  82. package/dist/{chunk-VK6SYZAH.js → chunk-VXBYTMSM.js} +87 -4
  83. package/dist/{chunk-GDRZPBPF.js → chunk-WKYQ7255.js} +2 -2
  84. package/dist/{chunk-J4FMWPEM.js → chunk-X2WJ563G.js} +3 -3
  85. package/dist/{chunk-HFNLWW3Z.js → chunk-XDCXC6DL.js} +1 -1
  86. package/dist/{chunk-QT475Y6O.js → chunk-XXKC266R.js} +2 -2
  87. package/dist/{chunk-RLLYGXNA.js → chunk-YETOLZWJ.js} +4 -4
  88. package/dist/{chunk-IWQFTZ75.js → chunk-ZA44DK2O.js} +1 -1
  89. package/dist/{citations-JOM2DJX3.js → citations-BJKMX32Y.js} +5 -5
  90. package/dist/{cli-catalog-4ZCK2TFK.js → cli-catalog-VK4DK55E.js} +4 -4
  91. package/dist/cli-commands-7AIQBJRW.js +18 -0
  92. package/dist/cli.js +14 -14
  93. package/dist/{competitor-FQH7LNR2.js → competitor-ONXSUUEJ.js} +4 -4
  94. package/dist/{content-KEZJJEV2.js → content-U276NS4F.js} +4 -4
  95. package/dist/{dashboard-7I6A2XHW.js → dashboard-SVYP4JIF.js} +7 -7
  96. package/dist/{demo-JGVDDJYC.js → demo-CJEZXMD7.js} +3 -3
  97. package/dist/{demo-server-YOMJIFPD.js → demo-server-ASS76Y3T.js} +13 -13
  98. package/dist/{discover-ZB6I2A65.js → discover-O6MXXTQP.js} +5 -5
  99. package/dist/{discover-eval-XXRA3XDQ.js → discover-eval-RWCDKTW2.js} +4 -4
  100. package/dist/{doctor-KTGY5L57.js → doctor-LDHRSYBN.js} +4 -4
  101. package/dist/{evidence-BEBTLKK4.js → evidence-HCQ3XGR3.js} +4 -4
  102. package/dist/{export-cmd-VIQGUL7N.js → export-cmd-FCD27XDA.js} +4 -4
  103. package/dist/{ga-YEQKHEN2.js → ga-DNE32K5T.js} +4 -4
  104. package/dist/{gbp-NFTRCNGZ.js → gbp-BD6N5ZNR.js} +4 -4
  105. package/dist/{google-MBQW2EGU.js → google-JGLRBRDJ.js} +5 -5
  106. package/dist/{google-marketing-KIGW7ZGN.js → google-marketing-VGDUCHDK.js} +2 -2
  107. package/dist/{health-cmd-6B6VSAX3.js → health-cmd-SSUFVJXH.js} +5 -5
  108. package/dist/{history-DX2QSPL2.js → history-FPNPI3FR.js} +4 -4
  109. package/dist/index.d.ts +75 -71
  110. package/dist/index.js +27 -27
  111. package/dist/{init-BK6GYDZP.js → init-LE67AJR6.js} +13 -13
  112. package/dist/{insights-ZJD3KUA7.js → insights-JXWPCIKX.js} +4 -4
  113. package/dist/intelligence-service-XCADQRDI.js +15 -0
  114. package/dist/{journeys-E4FC7PCM.js → journeys-ULUM5VHN.js} +4 -4
  115. package/dist/{keys-TD6NBRRY.js → keys-K7LFSZEV.js} +4 -4
  116. package/dist/{keyword-FEOQSKMZ.js → keyword-FEVMF4GU.js} +4 -4
  117. package/dist/{logs-YV5JPJH3.js → logs-IFSEC6EG.js} +4 -4
  118. package/dist/{mcp-S3YNKUQQ.js → mcp-GEHAKVJQ.js} +5 -5
  119. package/dist/mcp.js +11 -11
  120. package/dist/{measurement-plan-VVDLIBQO.js → measurement-plan-P3VN75M2.js} +6 -6
  121. package/dist/{notify-GUJ6PLRU.js → notify-J4FVK5NC.js} +21 -5
  122. package/dist/{organic-evidence-A66B5BWS.js → organic-evidence-X53DBTMQ.js} +4 -4
  123. package/dist/{overview-JKW5LARL.js → overview-F3LYI5W4.js} +6 -6
  124. package/dist/{project-XUYBPKWJ.js → project-RXT5IJKZ.js} +4 -4
  125. package/dist/{project-setup-YO6R26JG.js → project-setup-ATO24GGB.js} +4 -4
  126. package/dist/{query-YOTYGF4K.js → query-LGPJDI56.js} +4 -4
  127. package/dist/{research-QVG5XZDF.js → research-BHOCLEHN.js} +4 -4
  128. package/dist/{results-export-4TMA6DJT.js → results-export-PFKBOBPA.js} +4 -4
  129. package/dist/{run-HGYYDS6S.js → run-ASLSXRUQ.js} +6 -6
  130. package/dist/{schedule-RR6OUMKT.js → schedule-SQOLIVNL.js} +4 -4
  131. package/dist/{search-KO7PIUMR.js → search-3ZHHJHIN.js} +4 -4
  132. package/dist/{serve-GLPKVWZE.js → serve-VOZCS346.js} +28 -28
  133. package/dist/{session-RJ5AYV6Q.js → session-KZJB4SN3.js} +15 -15
  134. package/dist/{settings-HDENU4PV.js → settings-JOPGFAZS.js} +4 -4
  135. package/dist/{sitemaps-GTHH2RP3.js → sitemaps-AAEYPCF3.js} +4 -4
  136. package/dist/{skills-U3MDHCWF.js → skills-IWK7KYBF.js} +3 -3
  137. package/dist/{snapshot-SWFUS4D2.js → snapshot-N45FCZO3.js} +4 -4
  138. package/dist/{src-R74K2NOZ.js → src-D5YFNRUG.js} +2 -2
  139. package/dist/{status-ACUIXSLV.js → status-O4GQAJV5.js} +6 -6
  140. package/dist/{support-3IFWJF3E.js → support-RNNKG6QY.js} +2 -2
  141. package/dist/{technical-aeo-NWE56UCG.js → technical-aeo-IMGI4ST7.js} +4 -4
  142. package/dist/{telemetry-CHW3LG5A.js → telemetry-ELCKZQGI.js} +5 -5
  143. package/dist/{tools-BCDSJTKK.js → tools-7NYNPJTI.js} +12 -12
  144. package/dist/{traffic-MHCGXV2V.js → traffic-NJ476WXB.js} +6 -6
  145. package/dist/{trends-5IEV52XW.js → trends-ULBZCMKS.js} +4 -4
  146. package/dist/{users-KRY5MKJ4.js → users-TFQRXDHF.js} +4 -4
  147. package/dist/{visibility-stats-JF3SXXKS.js → visibility-stats-Q3F5ORLR.js} +5 -5
  148. package/dist/{wordpress-TV2NSQPK.js → wordpress-JPDUJ7ZW.js} +4 -4
  149. package/package.json +1 -1
  150. package/assets/assets/MeasurementPropertyPage-C2RXn2iP.js +0 -4
  151. package/assets/assets/ProjectPage-CUGvozZu.js +0 -15
  152. package/assets/assets/ServerTrafficSection-DsmN-vR2.js +0 -41
  153. package/assets/assets/SettingsPage-DAnYQBff.js +0 -1
  154. package/assets/assets/ToneBadge-BCQPh7t2.js +0 -60
  155. package/assets/assets/TrafficSourceDetailPage-BXQX0fyG.js +0 -1
  156. package/assets/assets/index-DpBLjU4G.js +0 -43
  157. package/assets/assets/preload-helper-D2o-5DDv.js +0 -1
  158. package/assets/assets/react-query-hUdNgz2a.js +0 -1
  159. package/assets/assets/service-CxbxBFUX.js +0 -1
  160. package/assets/assets/vendor-lucide-7AWeFVeL.js +0 -1
  161. package/dist/cli-commands-Z7Q5HLBB.js +0 -18
  162. package/dist/intelligence-service-7S4ZFNB6.js +0 -15
@@ -17,7 +17,7 @@ import {
17
17
  hostOf,
18
18
  isLocationRedirectStatus,
19
19
  pathWithoutQuery
20
- } from "./chunk-VOK62VGC.js";
20
+ } from "./chunk-UYRC244Y.js";
21
21
 
22
22
  // ../integration-traffic/src/agent-trust.ts
23
23
  var AGENT_TRUST_RULES_VERSION = 3;
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  registeredProviderNames
3
- } from "./chunk-6KH4XZLA.js";
3
+ } from "./chunk-F5UUN6UB.js";
4
4
  import {
5
5
  configExists,
6
6
  loadConfigRaw
7
- } from "./chunk-GDRZPBPF.js";
7
+ } from "./chunk-WKYQ7255.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-R74K2NOZ.js");
31
+ const { createClient, projects, queries: queriesTable } = await import("./src-D5YFNRUG.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-GLPKVWZE.js");
50
+ const { serveCommand } = await import("./serve-VOZCS346.js");
51
51
  await serveCommand(format);
52
52
  }
53
53
 
@@ -23,7 +23,7 @@ import {
23
23
  measurementDraftUpsertGroupRequestSchema,
24
24
  measurementDraftUpsertMarketRequestSchema,
25
25
  measurementDraftUpsertTargetRequestSchema
26
- } from "./chunk-VOK62VGC.js";
26
+ } from "./chunk-UYRC244Y.js";
27
27
 
28
28
  // src/measurement-draft-actions.ts
29
29
  import { z } from "zod";
@@ -21,7 +21,7 @@ import {
21
21
  templateLinkRatio,
22
22
  templateLinkUbiquityAvailable,
23
23
  validationError
24
- } from "./chunk-VOK62VGC.js";
24
+ } from "./chunk-UYRC244Y.js";
25
25
 
26
26
  // ../db/src/client.ts
27
27
  import { mkdirSync } from "fs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  loadConfig
3
- } from "./chunk-GDRZPBPF.js";
3
+ } from "./chunk-WKYQ7255.js";
4
4
  import {
5
5
  PACKAGE_VERSION
6
6
  } from "./chunk-AOJU5LKX.js";
@@ -8,7 +8,7 @@ import {
8
8
  CliError,
9
9
  EXIT_SYSTEM_ERROR,
10
10
  EXIT_USER_ERROR
11
- } from "./chunk-IWQFTZ75.js";
11
+ } from "./chunk-ZA44DK2O.js";
12
12
  import {
13
13
  CANONRY_NPM_PACKAGE_URL,
14
14
  OPERATIONAL_LOG_FIELDS_HEADER,
@@ -36,7 +36,7 @@ import {
36
36
  sentimentSettingsReadSchema,
37
37
  sentimentSummaryReadSchema,
38
38
  upgradeCommandFor
39
- } from "./chunk-VOK62VGC.js";
39
+ } from "./chunk-UYRC244Y.js";
40
40
 
41
41
  // ../api-client-generated/src/generated/core/bodySerializer.gen.ts
42
42
  var jsonBodySerializer = {
@@ -2043,6 +2043,15 @@ var deleteApiV1ProjectsByNameNotificationsById = (options) => (options.client ??
2043
2043
  url: "/api/v1/projects/{name}/notifications/{id}",
2044
2044
  ...options
2045
2045
  });
2046
+ var patchApiV1ProjectsByNameNotificationsById = (options) => (options.client ?? client).patch({
2047
+ security: [{ scheme: "bearer", type: "http" }],
2048
+ url: "/api/v1/projects/{name}/notifications/{id}",
2049
+ ...options,
2050
+ headers: {
2051
+ "Content-Type": "application/json",
2052
+ ...options.headers
2053
+ }
2054
+ });
2046
2055
  var postApiV1ProjectsByNameNotificationsByIdTest = (options) => (options.client ?? client).post({
2047
2056
  security: [{ scheme: "bearer", type: "http" }],
2048
2057
  url: "/api/v1/projects/{name}/notifications/{id}/test",
@@ -5135,6 +5144,11 @@ var ApiClient = class {
5135
5144
  () => deleteApiV1ProjectsByNameNotificationsById({ client: this.heyClient, path: { name: project, id } })
5136
5145
  );
5137
5146
  }
5147
+ async updateNotification(project, id, body) {
5148
+ return this.invoke(
5149
+ () => patchApiV1ProjectsByNameNotificationsById({ client: this.heyClient, path: { name: project, id }, body })
5150
+ );
5151
+ }
5138
5152
  async testNotification(project, id) {
5139
5153
  return this.invoke(
5140
5154
  () => postApiV1ProjectsByNameNotificationsByIdTest({ client: this.heyClient, path: { name: project, id } })
@@ -5,7 +5,7 @@ import {
5
5
  loadConfig,
6
6
  loadConfigRaw,
7
7
  saveConfigPatch
8
- } from "./chunk-GDRZPBPF.js";
8
+ } from "./chunk-WKYQ7255.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-VOK62VGC.js";
21
+ } from "./chunk-UYRC244Y.js";
22
22
 
23
23
  // src/runtime-context.ts
24
24
  function cliRuntimeContext(env = process.env, stdio = process) {
@@ -5,7 +5,7 @@ import {
5
5
  siteCrawlGraphNodes,
6
6
  siteCrawlPages,
7
7
  siteCrawlSnapshots
8
- } from "./chunk-VCXKSGZF.js";
8
+ } from "./chunk-LJ3MSVVW.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-VOK62VGC.js";
18
+ } from "./chunk-UYRC244Y.js";
19
19
 
20
20
  // src/site-audit-factors.ts
21
21
  function recordedSharePct(factor) {
@@ -28,7 +28,7 @@ import {
28
28
  unknownUsageObservation,
29
29
  usdToMicros,
30
30
  withRetry
31
- } from "./chunk-VOK62VGC.js";
31
+ } from "./chunk-UYRC244Y.js";
32
32
 
33
33
  // ../provider-answer-services/src/core/http.ts
34
34
  var MAX_RESPONSE_BYTES = 8 * 1024 * 1024;
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  runWithUsageTags
3
- } from "./chunk-2FNWSHOE.js";
3
+ } from "./chunk-LNBJ3ZEK.js";
4
4
  import {
5
5
  CanonryMcpToolNames,
6
6
  DEPRECATED_MCP_TOOL_ALIAS_NAMES,
7
7
  canonryMcpTools
8
- } from "./chunk-ZDYWXTNN.js";
8
+ } from "./chunk-SPNDMTXM.js";
9
9
  import {
10
10
  CliError
11
- } from "./chunk-IWQFTZ75.js";
11
+ } from "./chunk-ZA44DK2O.js";
12
12
  import {
13
13
  buildOpenApiDocument
14
- } from "./chunk-VK6SYZAH.js";
14
+ } from "./chunk-VXBYTMSM.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-VOK62VGC.js";
27
+ } from "./chunk-UYRC244Y.js";
28
28
 
29
29
  // src/agent/tools.ts
30
30
  import { Type as Type2 } from "@earendil-works/pi-ai";
@@ -3,7 +3,7 @@ import {
3
3
  resolveCliAccess,
4
4
  resolveCliAccessForInvocation,
5
5
  windowOptions
6
- } from "./chunk-3N2MSPPU.js";
6
+ } from "./chunk-TAFIB6LC.js";
7
7
  import {
8
8
  emitJsonl
9
9
  } from "./chunk-Z7IUAJOF.js";
@@ -11,10 +11,10 @@ import {
11
11
  CliError,
12
12
  EXIT_USER_ERROR,
13
13
  usageError
14
- } from "./chunk-IWQFTZ75.js";
14
+ } from "./chunk-ZA44DK2O.js";
15
15
  import {
16
16
  OperationAccesses
17
- } from "./chunk-VOK62VGC.js";
17
+ } from "./chunk-UYRC244Y.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-4ZCK2TFK.js");
125
+ const { printCliCatalog: printCliCatalog2 } = await import("./cli-catalog-VK4DK55E.js");
126
126
  const group2 = argsWithoutHelp.find((arg) => !arg.startsWith("--"));
127
127
  printCliCatalog2(specs, fallbackFormat, group2, accessValue);
128
128
  return true;
@@ -8,24 +8,24 @@ import {
8
8
  reparseStoredResult4,
9
9
  reparseStoredResult5,
10
10
  resolveStoredApiResponse
11
- } from "./chunk-R2CBQPN6.js";
11
+ } from "./chunk-D4G3FP7N.js";
12
12
  import {
13
13
  loadConfig
14
- } from "./chunk-GDRZPBPF.js";
14
+ } from "./chunk-WKYQ7255.js";
15
15
  import {
16
16
  CliError,
17
17
  isMachineFormat
18
- } from "./chunk-IWQFTZ75.js";
18
+ } from "./chunk-ZA44DK2O.js";
19
19
  import {
20
20
  determineCitationState
21
- } from "./chunk-AOD35IKL.js";
21
+ } from "./chunk-3LJH6WL6.js";
22
22
  import {
23
23
  backfillProjectAnswerMentions,
24
24
  competitorIdentityColumns,
25
25
  createRunCompetitorResolver,
26
26
  readMarketCompetitorNames,
27
27
  refreshSnapshotMentionIdentity
28
- } from "./chunk-VK6SYZAH.js";
28
+ } from "./chunk-VXBYTMSM.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-VCXKSGZF.js";
42
+ } from "./chunk-LJ3MSVVW.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-VOK62VGC.js";
55
+ } from "./chunk-UYRC244Y.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-7S4ZFNB6.js");
433
+ const { IntelligenceService } = await import("./intelligence-service-XCADQRDI.js");
434
434
  const config = loadConfig();
435
435
  const db = createClient(config.database);
436
436
  migrate(db);
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  CliError,
3
3
  EXIT_SYSTEM_ERROR
4
- } from "./chunk-IWQFTZ75.js";
4
+ } from "./chunk-ZA44DK2O.js";
5
5
  import {
6
6
  describeError
7
- } from "./chunk-VOK62VGC.js";
7
+ } from "./chunk-UYRC244Y.js";
8
8
 
9
9
  // src/gsc-sitemap-submission.ts
10
10
  function dedupeGscSitemapUrls(urls) {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  pickProjectCitedDomain
3
- } from "./chunk-AOD35IKL.js";
3
+ } from "./chunk-3LJH6WL6.js";
4
4
  import {
5
5
  createLogger
6
- } from "./chunk-AHVF5OE5.js";
6
+ } from "./chunk-BB2KXNOG.js";
7
7
  import {
8
8
  GBP_INSIGHT_PROVIDER,
9
9
  PERSISTENT_GAP_THRESHOLD,
@@ -18,7 +18,7 @@ import {
18
18
  notScopedRun,
19
19
  readGscQueryDailyRows,
20
20
  readLatestGscDataDate
21
- } from "./chunk-VK6SYZAH.js";
21
+ } from "./chunk-VXBYTMSM.js";
22
22
  import {
23
23
  competitors,
24
24
  gbpDailyMetrics,
@@ -36,7 +36,7 @@ import {
36
36
  queries,
37
37
  querySnapshots,
38
38
  runs
39
- } from "./chunk-VCXKSGZF.js";
39
+ } from "./chunk-LJ3MSVVW.js";
40
40
  import {
41
41
  CitationStates,
42
42
  RunKinds,
@@ -45,7 +45,7 @@ import {
45
45
  effectiveDomains,
46
46
  isCitationStateMeasured,
47
47
  readCitationState
48
- } from "./chunk-VOK62VGC.js";
48
+ } from "./chunk-UYRC244Y.js";
49
49
 
50
50
  // src/intelligence-service.ts
51
51
  import { eq, desc, asc, and, ne, or, inArray, gte, lte, isNull, sql, exists } from "drizzle-orm";
@@ -4,14 +4,14 @@ import {
4
4
  } from "./chunk-VJWDBFSL.js";
5
5
  import {
6
6
  createApiClient
7
- } from "./chunk-2FNWSHOE.js";
7
+ } from "./chunk-LNBJ3ZEK.js";
8
8
  import {
9
9
  CliError,
10
10
  isMachineFormat
11
- } from "./chunk-IWQFTZ75.js";
11
+ } from "./chunk-ZA44DK2O.js";
12
12
  import {
13
13
  describeError
14
- } from "./chunk-VOK62VGC.js";
14
+ } from "./chunk-UYRC244Y.js";
15
15
 
16
16
  // src/commands/mcp.ts
17
17
  import fs from "fs";
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  CliError,
6
6
  isMachineFormat
7
- } from "./chunk-IWQFTZ75.js";
7
+ } from "./chunk-ZA44DK2O.js";
8
8
  import {
9
9
  CodingAgents,
10
10
  SKILL_MANIFEST_FILENAME,
@@ -15,7 +15,7 @@ import {
15
15
  formatCanonryPluginUpdateHint,
16
16
  formatCanonryPluginVersionMismatch,
17
17
  skillsClientSchema
18
- } from "./chunk-VOK62VGC.js";
18
+ } from "./chunk-UYRC244Y.js";
19
19
 
20
20
  // src/commands/skills.ts
21
21
  import crypto from "crypto";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  trackIntegrationConnection
3
- } from "./chunk-5KINLLTJ.js";
3
+ } from "./chunk-E6WLCHXT.js";
4
4
  import {
5
5
  cliRuntimeContext
6
- } from "./chunk-AOYSK6D2.js";
6
+ } from "./chunk-LZSY5GNZ.js";
7
7
 
8
8
  // src/cli-connection-telemetry.ts
9
9
  function trackCliConnection(properties) {
@@ -5,14 +5,14 @@ import {
5
5
  dedupeGscSitemapUrls,
6
6
  resolveDiscoveredGscSitemapUrls,
7
7
  submitGscSitemapBatches
8
- } from "./chunk-NQFBIMS4.js";
8
+ } from "./chunk-QFPQIPX3.js";
9
9
  import {
10
10
  measurementDraftOperationSchema,
11
11
  runMeasurementDraftAction
12
- } from "./chunk-XTR3KSV2.js";
12
+ } from "./chunk-IQGRGJFP.js";
13
13
  import {
14
14
  CliError
15
- } from "./chunk-IWQFTZ75.js";
15
+ } from "./chunk-ZA44DK2O.js";
16
16
  import {
17
17
  AGENT_MEMORY_KEY_MAX_LENGTH,
18
18
  AGENT_MEMORY_VALUE_MAX_BYTES,
@@ -113,7 +113,9 @@ import {
113
113
  measurementQuestionResultQuerySchema,
114
114
  metricsWindowSchema,
115
115
  notificationCreateRequestSchema,
116
+ notificationDtoSchema,
116
117
  notificationEventSchema,
118
+ notificationUpdateRequestSchema,
117
119
  operationAccess,
118
120
  operationalLogListReadSchema,
119
121
  organicEvidencePeriodSchema,
@@ -213,7 +215,7 @@ import {
213
215
  trendSurfaceSchema,
214
216
  visibilityCompareSelectionSchema,
215
217
  visibilityReportRequestSchema
216
- } from "./chunk-VOK62VGC.js";
218
+ } from "./chunk-UYRC244Y.js";
217
219
 
218
220
  // src/mcp/tool-registry.ts
219
221
  import { z as z2 } from "zod";
@@ -894,6 +896,15 @@ var scheduleReadInputSchema = z2.object({
894
896
  });
895
897
  var scheduleListOutputSchema = z2.object({ items: z2.array(scheduleDtoSchema) });
896
898
  var notificationEventsOutputSchema = z2.object({ items: z2.array(notificationEventSchema) });
899
+ var notificationListOutputSchema = z2.object({ items: z2.array(notificationDtoSchema) });
900
+ var notificationUpdateInputSchema = z2.object({
901
+ project: projectNameSchema,
902
+ id: z2.string().min(1).describe("Webhook ID, from canonry_notifications_list."),
903
+ events: notificationUpdateRequestSchema.shape.events.describe("Replace the whole event list. Do not combine with addEvents or removeEvents."),
904
+ addEvents: notificationUpdateRequestSchema.shape.addEvents.describe("Events to add to the stored list."),
905
+ removeEvents: notificationUpdateRequestSchema.shape.removeEvents.describe("Events to remove from the stored list."),
906
+ enabled: notificationUpdateRequestSchema.shape.enabled.describe("Turn the webhook on (true) or off (false).")
907
+ });
897
908
  var agentWebhookAttachInputSchema = z2.object({
898
909
  project: projectNameSchema,
899
910
  url: z2.string().url()
@@ -2378,6 +2389,33 @@ var rawCanonryMcpTools = [
2378
2389
  openApiOperations: ["GET /api/v1/notifications/events"],
2379
2390
  handler: (client) => client.listNotificationEvents()
2380
2391
  }),
2392
+ defineTool({
2393
+ name: "canonry_notifications_list",
2394
+ title: "List project webhooks",
2395
+ description: "List a project's notification webhooks: id, events, enabled, and the destination host. URLs are redacted; the signing secret is never returned. Use the id with canonry_notification_update.",
2396
+ access: "read",
2397
+ tier: "setup",
2398
+ inputSchema: projectInputSchema,
2399
+ outputSchema: notificationListOutputSchema,
2400
+ annotations: readAnnotations(),
2401
+ openApiOperations: ["GET /api/v1/projects/{name}/notifications"],
2402
+ handler: (client, input) => client.listNotifications(input.project)
2403
+ }),
2404
+ defineTool({
2405
+ name: "canonry_notification_update",
2406
+ title: "Update a project webhook",
2407
+ description: "Change an existing webhook in place: replace its events, add or remove events, or turn it on or off. The URL and signing secret stay the same. A webhook made before an event existed (for example mention.lost / mention.gained) only receives it once it is added here.",
2408
+ access: "write",
2409
+ tier: "setup",
2410
+ inputSchema: notificationUpdateInputSchema,
2411
+ outputSchema: notificationDtoSchema,
2412
+ annotations: writeAnnotations({ idempotentHint: true }),
2413
+ openApiOperations: ["PATCH /api/v1/projects/{name}/notifications/{id}"],
2414
+ handler: (client, input) => {
2415
+ const { project, id, ...update } = input;
2416
+ return client.updateNotification(project, id, update);
2417
+ }
2418
+ }),
2381
2419
  defineTool({
2382
2420
  name: "canonry_backlinks_latest_release",
2383
2421
  title: "Discover latest Common Crawl release",