@canonry/canonry 7.120.1 → 7.121.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 (143) hide show
  1. package/assets/agent-workspace/skills/canonry/references/canonry-cli.md +4 -0
  2. package/assets/assets/{AccessControls-D9u5mHZy.js → AccessControls-CP27J4pe.js} +1 -1
  3. package/assets/assets/{AgentSetupPage-sxobNnR4.js → AgentSetupPage-Cr4N8PtT.js} +1 -1
  4. package/assets/assets/{AuditHistoryPanel-B-br1Rgm.js → AuditHistoryPanel-DLQzK10v.js} +1 -1
  5. package/assets/assets/{BacklinksPage-DBncT_in.js → BacklinksPage-DQL-PEeM.js} +1 -1
  6. package/assets/assets/{ChartPrimitives-BVl_On4G.js → ChartPrimitives-C-1eZmHk.js} +1 -1
  7. package/assets/assets/{HistoryPage-DLzXIHGd.js → HistoryPage-BBzUc2Ba.js} +1 -1
  8. package/assets/assets/{MeasurementPropertyPage-C2RXn2iP.js → MeasurementPropertyPage-BQorimIL.js} +1 -1
  9. package/assets/assets/{ProjectPage-CUGvozZu.js → ProjectPage-5TzCjfke.js} +3 -3
  10. package/assets/assets/{RunsPage-CGdstDkz.js → RunsPage-D4ul_xdH.js} +1 -1
  11. package/assets/assets/{ServerTrafficSection-DsmN-vR2.js → ServerTrafficSection-Dbg74DP1.js} +3 -3
  12. package/assets/assets/{SettingsPage-DAnYQBff.js → SettingsPage-BlCcsRj8.js} +1 -1
  13. package/assets/assets/ToneBadge-co0skd0y.js +60 -0
  14. package/assets/assets/{TrafficPage-HQMcIXhQ.js → TrafficPage-DXjB09Mc.js} +1 -1
  15. package/assets/assets/{TrafficSourceDetailPage-BXQX0fyG.js → TrafficSourceDetailPage-Bs-C93Kj.js} +1 -1
  16. package/assets/assets/{account-context-BNo2KFA7.js → account-context-DtBBZ6kn.js} +1 -1
  17. package/assets/assets/{agent-trust-copy-B3Dw_M_3.js → agent-trust-copy-KHOU1_xL.js} +1 -1
  18. package/assets/assets/{card-h-mmYzMc.js → card-Cky0yiDz.js} +1 -1
  19. package/assets/assets/{index-DpBLjU4G.js → index-KAuh2d07.js} +3 -3
  20. package/assets/assets/{preload-helper-D2o-5DDv.js → preload-helper-BzmljT8n.js} +1 -1
  21. package/assets/assets/{query-client-gk-fhrrc.js → query-client-BGk_rgH_.js} +1 -1
  22. package/assets/assets/{react-query-hUdNgz2a.js → react-query-DOCVYs22.js} +1 -1
  23. package/assets/assets/{react-sigma_core.esm.min-CbMudrIV.js → react-sigma_core.esm.min-DY78Y3sE.js} +1 -1
  24. package/assets/assets/{server-traffic-CL5cYldZ.js → server-traffic-CqU3z6oz.js} +1 -1
  25. package/assets/assets/{service-CxbxBFUX.js → service-BNdGdFA8.js} +1 -1
  26. package/assets/index.html +9 -9
  27. package/dist/{ads-PMDSTHUC.js → ads-RVWK3WOT.js} +4 -4
  28. package/dist/{agent-5EL5AECW.js → agent-OSSTIYD5.js} +8 -8
  29. package/dist/{agent-ask-VAZUSWFA.js → agent-ask-2SPA6RIE.js} +4 -4
  30. package/dist/{agent-conversations-KOBHBQS6.js → agent-conversations-36UMFQY6.js} +4 -4
  31. package/dist/{agent-journeys-Q5J6K76M.js → agent-journeys-TW2CF6JI.js} +4 -4
  32. package/dist/{agent-memory-UTZWNL5K.js → agent-memory-GD2X65LE.js} +4 -4
  33. package/dist/{agent-providers-TBMKTIJT.js → agent-providers-A4E2TUJ7.js} +4 -4
  34. package/dist/{agent-transcript-4MIMLCSN.js → agent-transcript-JLHXL72N.js} +4 -4
  35. package/dist/{analytics-VGPQ3P7U.js → analytics-BZ7FJTK4.js} +4 -4
  36. package/dist/{apply-AL52P3BT.js → apply-BJDXDQXK.js} +4 -4
  37. package/dist/{backfill-W2EGRHJD.js → backfill-F2OC7F22.js} +11 -11
  38. package/dist/{backlinks-T5ZWICGA.js → backlinks-IGSJG4TC.js} +4 -4
  39. package/dist/{bing-DFU4M6P2.js → bing-HHWCD5QU.js} +4 -4
  40. package/dist/{bootstrap-VBGDPCJ4.js → bootstrap-5LOT7HNU.js} +11 -11
  41. package/dist/{cdp-WHDGSGRE.js → cdp-5XNSVSBE.js} +8 -8
  42. package/dist/{chunk-OO4RE44D.js → chunk-3CT756HO.js} +1 -1
  43. package/dist/{chunk-AOD35IKL.js → chunk-3LJH6WL6.js} +1 -1
  44. package/dist/{chunk-QGQTURO7.js → chunk-6TKNNXDP.js} +423 -372
  45. package/dist/{chunk-AHVF5OE5.js → chunk-BB2KXNOG.js} +2 -2
  46. package/dist/{chunk-TTQBEFSU.js → chunk-CCFEMZI5.js} +1 -1
  47. package/dist/{chunk-FX4VCCSD.js → chunk-D4G3FP7N.js} +13 -6
  48. package/dist/{chunk-RNUY27TO.js → chunk-E6WE5AZN.js} +42 -24
  49. package/dist/{chunk-5KINLLTJ.js → chunk-E6WLCHXT.js} +4 -4
  50. package/dist/{chunk-ZCRUXUHU.js → chunk-EGH7MBFI.js} +5 -5
  51. package/dist/{chunk-6KH4XZLA.js → chunk-F5UUN6UB.js} +1 -1
  52. package/dist/{chunk-2VSOYLSX.js → chunk-G56TRFKC.js} +7 -7
  53. package/dist/{chunk-W54X45I7.js → chunk-GDAL3L25.js} +4 -4
  54. package/dist/{chunk-3Q2D53KV.js → chunk-HGXAKSRX.js} +1 -1
  55. package/dist/{chunk-XTR3KSV2.js → chunk-IQGRGJFP.js} +1 -1
  56. package/dist/{chunk-VCXKSGZF.js → chunk-LJ3MSVVW.js} +1 -1
  57. package/dist/{chunk-2FNWSHOE.js → chunk-LNBJ3ZEK.js} +17 -3
  58. package/dist/{chunk-AOYSK6D2.js → chunk-LZSY5GNZ.js} +2 -2
  59. package/dist/{chunk-FTPGW2WX.js → chunk-M2OSHVTB.js} +2 -2
  60. package/dist/{chunk-OXYZQJLV.js → chunk-NGTWSJSP.js} +1 -1
  61. package/dist/{chunk-TNR2O4HU.js → chunk-NJTIZSBH.js} +5 -5
  62. package/dist/{chunk-WVZR3J7X.js → chunk-NZQWQK4N.js} +4 -4
  63. package/dist/{chunk-2SF5JXCY.js → chunk-QE3PIF67.js} +8 -8
  64. package/dist/{chunk-NQFBIMS4.js → chunk-QFPQIPX3.js} +2 -2
  65. package/dist/{chunk-6DSEIN3U.js → chunk-REDBG2JO.js} +15 -8
  66. package/dist/{chunk-EZOBUXLP.js → chunk-RHWKLRLF.js} +3 -3
  67. package/dist/{chunk-TS477DBZ.js → chunk-RVRQJ2SA.js} +2 -2
  68. package/dist/{chunk-47Y5UAYA.js → chunk-S6GBOBNO.js} +2 -2
  69. package/dist/{chunk-ZDYWXTNN.js → chunk-SPNDMTXM.js} +42 -4
  70. package/dist/{chunk-3N2MSPPU.js → chunk-TAFIB6LC.js} +3 -2
  71. package/dist/{chunk-QCXKLTVC.js → chunk-TH6JFDUI.js} +4 -4
  72. package/dist/{chunk-VOK62VGC.js → chunk-UYRC244Y.js} +11 -0
  73. package/dist/{chunk-5LV4OEAO.js → chunk-VXBYTMSM.js} +118 -35
  74. package/dist/{chunk-GDRZPBPF.js → chunk-WKYQ7255.js} +2 -2
  75. package/dist/{chunk-J4FMWPEM.js → chunk-X2WJ563G.js} +3 -3
  76. package/dist/{chunk-HFNLWW3Z.js → chunk-XDCXC6DL.js} +1 -1
  77. package/dist/{chunk-QT475Y6O.js → chunk-XXKC266R.js} +2 -2
  78. package/dist/{chunk-RLLYGXNA.js → chunk-YETOLZWJ.js} +4 -4
  79. package/dist/{chunk-IWQFTZ75.js → chunk-ZA44DK2O.js} +1 -1
  80. package/dist/{citations-JOM2DJX3.js → citations-BJKMX32Y.js} +5 -5
  81. package/dist/{cli-catalog-4ZCK2TFK.js → cli-catalog-VK4DK55E.js} +4 -4
  82. package/dist/cli-commands-RQU2FMPV.js +18 -0
  83. package/dist/cli.js +14 -14
  84. package/dist/{competitor-FQH7LNR2.js → competitor-ONXSUUEJ.js} +4 -4
  85. package/dist/{content-KEZJJEV2.js → content-U276NS4F.js} +4 -4
  86. package/dist/{dashboard-EL7ABV7Y.js → dashboard-SVYP4JIF.js} +7 -7
  87. package/dist/{demo-LXQZAB7S.js → demo-CJEZXMD7.js} +3 -3
  88. package/dist/{demo-server-Y772E2L2.js → demo-server-ASS76Y3T.js} +13 -13
  89. package/dist/{discover-ZB6I2A65.js → discover-O6MXXTQP.js} +5 -5
  90. package/dist/{discover-eval-XXRA3XDQ.js → discover-eval-RWCDKTW2.js} +4 -4
  91. package/dist/{doctor-KTGY5L57.js → doctor-LDHRSYBN.js} +4 -4
  92. package/dist/{evidence-BEBTLKK4.js → evidence-HCQ3XGR3.js} +4 -4
  93. package/dist/{export-cmd-VIQGUL7N.js → export-cmd-FCD27XDA.js} +4 -4
  94. package/dist/{ga-YEQKHEN2.js → ga-DNE32K5T.js} +4 -4
  95. package/dist/{gbp-NFTRCNGZ.js → gbp-BD6N5ZNR.js} +4 -4
  96. package/dist/{google-MBQW2EGU.js → google-JGLRBRDJ.js} +5 -5
  97. package/dist/{google-marketing-KIGW7ZGN.js → google-marketing-VGDUCHDK.js} +2 -2
  98. package/dist/{health-cmd-6B6VSAX3.js → health-cmd-SSUFVJXH.js} +5 -5
  99. package/dist/{history-DX2QSPL2.js → history-FPNPI3FR.js} +4 -4
  100. package/dist/index.d.ts +76 -76
  101. package/dist/index.js +27 -27
  102. package/dist/{init-GE6BXE4J.js → init-VSXHQ7IH.js} +13 -13
  103. package/dist/{insights-ZJD3KUA7.js → insights-JXWPCIKX.js} +4 -4
  104. package/dist/intelligence-service-XCADQRDI.js +15 -0
  105. package/dist/{journeys-E4FC7PCM.js → journeys-ULUM5VHN.js} +4 -4
  106. package/dist/{keys-TD6NBRRY.js → keys-K7LFSZEV.js} +4 -4
  107. package/dist/{keyword-FEOQSKMZ.js → keyword-FEVMF4GU.js} +4 -4
  108. package/dist/{logs-YV5JPJH3.js → logs-IFSEC6EG.js} +4 -4
  109. package/dist/{mcp-S3YNKUQQ.js → mcp-GEHAKVJQ.js} +5 -5
  110. package/dist/mcp.js +11 -11
  111. package/dist/{measurement-plan-VVDLIBQO.js → measurement-plan-P3VN75M2.js} +6 -6
  112. package/dist/{notify-GUJ6PLRU.js → notify-J4FVK5NC.js} +21 -5
  113. package/dist/{organic-evidence-A66B5BWS.js → organic-evidence-X53DBTMQ.js} +4 -4
  114. package/dist/{overview-JKW5LARL.js → overview-F3LYI5W4.js} +6 -6
  115. package/dist/{project-XUYBPKWJ.js → project-RXT5IJKZ.js} +4 -4
  116. package/dist/{project-setup-YO6R26JG.js → project-setup-ATO24GGB.js} +4 -4
  117. package/dist/{query-YOTYGF4K.js → query-LGPJDI56.js} +4 -4
  118. package/dist/{research-QVG5XZDF.js → research-BHOCLEHN.js} +4 -4
  119. package/dist/{results-export-4TMA6DJT.js → results-export-PFKBOBPA.js} +4 -4
  120. package/dist/{run-HGYYDS6S.js → run-ASLSXRUQ.js} +6 -6
  121. package/dist/{schedule-RR6OUMKT.js → schedule-SQOLIVNL.js} +4 -4
  122. package/dist/{search-KO7PIUMR.js → search-3ZHHJHIN.js} +4 -4
  123. package/dist/{serve-FUYRS76Y.js → serve-63VQPOQF.js} +28 -28
  124. package/dist/{session-J7JPFAV3.js → session-KZJB4SN3.js} +15 -15
  125. package/dist/{settings-HDENU4PV.js → settings-JOPGFAZS.js} +4 -4
  126. package/dist/{sitemaps-GTHH2RP3.js → sitemaps-AAEYPCF3.js} +4 -4
  127. package/dist/{skills-U3MDHCWF.js → skills-IWK7KYBF.js} +3 -3
  128. package/dist/{snapshot-SWFUS4D2.js → snapshot-N45FCZO3.js} +4 -4
  129. package/dist/{src-R74K2NOZ.js → src-D5YFNRUG.js} +2 -2
  130. package/dist/{status-ACUIXSLV.js → status-O4GQAJV5.js} +6 -6
  131. package/dist/{support-3IFWJF3E.js → support-RNNKG6QY.js} +2 -2
  132. package/dist/{technical-aeo-NWE56UCG.js → technical-aeo-IMGI4ST7.js} +4 -4
  133. package/dist/{telemetry-CHW3LG5A.js → telemetry-ELCKZQGI.js} +5 -5
  134. package/dist/{tools-WTCPC6VA.js → tools-7NYNPJTI.js} +12 -12
  135. package/dist/{traffic-MHCGXV2V.js → traffic-NJ476WXB.js} +6 -6
  136. package/dist/{trends-5IEV52XW.js → trends-ULBZCMKS.js} +4 -4
  137. package/dist/{users-KRY5MKJ4.js → users-TFQRXDHF.js} +4 -4
  138. package/dist/{visibility-stats-JF3SXXKS.js → visibility-stats-Q3F5ORLR.js} +5 -5
  139. package/dist/{wordpress-TV2NSQPK.js → wordpress-JPDUJ7ZW.js} +4 -4
  140. package/package.json +1 -1
  141. package/assets/assets/ToneBadge-BCQPh7t2.js +0 -60
  142. package/dist/cli-commands-3U3WYSCW.js +0 -18
  143. package/dist/intelligence-service-KEFHLH3W.js +0 -15
@@ -8,24 +8,24 @@ import {
8
8
  reparseStoredResult4,
9
9
  reparseStoredResult5,
10
10
  resolveStoredApiResponse
11
- } from "./chunk-FX4VCCSD.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-5LV4OEAO.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-KEFHLH3W.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,
@@ -15,9 +15,10 @@ import {
15
15
  compileCompetitiveSignalResolver,
16
16
  extractPlaceAmenities,
17
17
  mergeGscQueryTotalsWithFallback,
18
+ notScopedRun,
18
19
  readGscQueryDailyRows,
19
20
  readLatestGscDataDate
20
- } from "./chunk-5LV4OEAO.js";
21
+ } from "./chunk-VXBYTMSM.js";
21
22
  import {
22
23
  competitors,
23
24
  gbpDailyMetrics,
@@ -35,7 +36,7 @@ import {
35
36
  queries,
36
37
  querySnapshots,
37
38
  runs
38
- } from "./chunk-VCXKSGZF.js";
39
+ } from "./chunk-LJ3MSVVW.js";
39
40
  import {
40
41
  CitationStates,
41
42
  RunKinds,
@@ -44,7 +45,7 @@ import {
44
45
  effectiveDomains,
45
46
  isCitationStateMeasured,
46
47
  readCitationState
47
- } from "./chunk-VOK62VGC.js";
48
+ } from "./chunk-UYRC244Y.js";
48
49
 
49
50
  // src/intelligence-service.ts
50
51
  import { eq, desc, asc, and, ne, or, inArray, gte, lte, isNull, sql, exists } from "drizzle-orm";
@@ -62,7 +63,12 @@ function analyzableRunPredicates(projectId) {
62
63
  // Defensive: RunCoordinator already skips probes before analyzeAndPersist
63
64
  // is called, but a future call site invoking it directly for a probe must
64
65
  // still not pollute the intelligence window.
65
- ne(runs.trigger, RunTriggers.probe)
66
+ ne(runs.trigger, RunTriggers.probe),
67
+ // A spot check measured a few queries on purpose. Analyzed, it writes
68
+ // insights and a health row about its slice; as a baseline it hides every
69
+ // other query's change from the next sweep; as a history entry it adds a
70
+ // run to the streaks of the queries it asked.
71
+ notScopedRun()
66
72
  ];
67
73
  }
68
74
  function readStoredGroundingSources(rawResponse) {
@@ -658,8 +664,9 @@ var IntelligenceService = class {
658
664
  eq(runs.projectId, projectId),
659
665
  eq(runs.kind, RunKinds["answer-visibility"]),
660
666
  or(eq(runs.status, "completed"), eq(runs.status, "partial")),
661
- // Defensive — see top of file.
662
- ne(runs.trigger, RunTriggers.probe)
667
+ // Defensive — see top of file. A spot check is not a sweep either.
668
+ ne(runs.trigger, RunTriggers.probe),
669
+ notScopedRun()
663
670
  )
664
671
  ).orderBy(desc(runs.createdAt), desc(runs.id)).limit((RECURRENCE_LOOKBACK_RUNS + 1) * ROWS_PER_GROUP_BUDGET).all();
665
672
  const recentGroups = groupRunsByCreatedAt(recentRunRows);
@@ -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",
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  usageError
3
- } from "./chunk-IWQFTZ75.js";
3
+ } from "./chunk-ZA44DK2O.js";
4
4
  import {
5
5
  AppError,
6
6
  parseWindowIn,
7
7
  resolveDateRange
8
- } from "./chunk-VOK62VGC.js";
8
+ } from "./chunk-UYRC244Y.js";
9
9
 
10
10
  // src/cli-access.ts
11
11
  var CLI_ACCESS_BY_ID = Object.freeze({
@@ -302,6 +302,7 @@ var CLI_ACCESS_BY_ID = Object.freeze({
302
302
  "notify.list": "stored",
303
303
  "notify.remove": "write",
304
304
  "notify.test": "write",
305
+ "notify.update": "write",
305
306
  "organic-evidence": "stored",
306
307
  "overview": "stored",
307
308
  "project": "write",
@@ -2,10 +2,10 @@ import {
2
2
  SNAPSHOT_CELL_LEGEND,
3
3
  citationGlyph,
4
4
  mentionGlyph
5
- } from "./chunk-HFNLWW3Z.js";
5
+ } from "./chunk-XDCXC6DL.js";
6
6
  import {
7
7
  createApiClient
8
- } from "./chunk-2FNWSHOE.js";
8
+ } from "./chunk-LNBJ3ZEK.js";
9
9
  import {
10
10
  emitJsonl
11
11
  } from "./chunk-Z7IUAJOF.js";
@@ -13,7 +13,7 @@ import {
13
13
  CliError,
14
14
  EXIT_SYSTEM_ERROR,
15
15
  isMachineFormat
16
- } from "./chunk-IWQFTZ75.js";
16
+ } from "./chunk-ZA44DK2O.js";
17
17
  import {
18
18
  MentionIdentities,
19
19
  OUTSTANDING_PROVIDER_BATCH_STATUSES,
@@ -23,7 +23,7 @@ import {
23
23
  formatMicros,
24
24
  formatRunErrorOneLine,
25
25
  resolveProviderInput
26
- } from "./chunk-VOK62VGC.js";
26
+ } from "./chunk-UYRC244Y.js";
27
27
 
28
28
  // src/commands/run.ts
29
29
  function getClient() {
@@ -604,6 +604,12 @@ var notificationCreateRequestSchema = z6.object({
604
604
  events: z6.array(notificationEventSchema).min(1),
605
605
  source: z6.string().optional()
606
606
  });
607
+ var notificationUpdateRequestSchema = z6.object({
608
+ events: z6.array(notificationEventSchema).min(1).optional(),
609
+ addEvents: z6.array(notificationEventSchema).min(1).optional(),
610
+ removeEvents: z6.array(notificationEventSchema).min(1).optional(),
611
+ enabled: z6.boolean().optional()
612
+ }).strict();
607
613
  var HEALTH_NO_LONGER_URGENT = "No longer urgent.";
608
614
  var ReviewDeliveryStates = Object.freeze({
609
615
  Pending: "pending",
@@ -25844,13 +25850,17 @@ var CLAUDE_SEARCH_AND_BATCH = {
25844
25850
  };
25845
25851
  var DEFAULT_MODEL_PRICES = {
25846
25852
  claude: {
25853
+ "claude-fable-5-2": { inputPerMTok: 8, outputPerMTok: 40, cachedInputPerMTok: 0.2, ...CLAUDE_SEARCH_AND_BATCH },
25854
+ "claude-mythos-5-2": { inputPerMTok: 8, outputPerMTok: 40, cachedInputPerMTok: 0.2, ...CLAUDE_SEARCH_AND_BATCH },
25847
25855
  "claude-opus-5-5": { inputPerMTok: 4, outputPerMTok: 20, cachedInputPerMTok: 0.2, ...CLAUDE_SEARCH_AND_BATCH },
25848
25856
  "claude-fable-5-1": { inputPerMTok: 10, outputPerMTok: 50, cachedInputPerMTok: 0.25, ...CLAUDE_SEARCH_AND_BATCH },
25857
+ "claude-mythos-5-1": { inputPerMTok: 10, outputPerMTok: 50, cachedInputPerMTok: 0.25, ...CLAUDE_SEARCH_AND_BATCH },
25849
25858
  "claude-fable-5": { inputPerMTok: 10, outputPerMTok: 50, ...CLAUDE_SEARCH_AND_BATCH },
25850
25859
  "claude-opus-5": { inputPerMTok: 5, outputPerMTok: 25, ...CLAUDE_SEARCH_AND_BATCH },
25851
25860
  "claude-opus-4-8": { inputPerMTok: 5, outputPerMTok: 25, ...CLAUDE_SEARCH_AND_BATCH },
25852
25861
  "claude-opus-4-7": { inputPerMTok: 5, outputPerMTok: 25, ...CLAUDE_SEARCH_AND_BATCH },
25853
25862
  "claude-opus-4-6": { inputPerMTok: 5, outputPerMTok: 25, ...CLAUDE_SEARCH_AND_BATCH },
25863
+ "claude-sonnet-5-5": { inputPerMTok: 2, outputPerMTok: 10, cachedInputPerMTok: 0.1, ...CLAUDE_SEARCH_AND_BATCH },
25854
25864
  "claude-sonnet-5": { inputPerMTok: 2, outputPerMTok: 10, ...CLAUDE_SEARCH_AND_BATCH },
25855
25865
  "claude-sonnet-4-6": { inputPerMTok: 3, outputPerMTok: 15, ...CLAUDE_SEARCH_AND_BATCH },
25856
25866
  "claude-haiku-4-5": { inputPerMTok: 1, outputPerMTok: 5, ...CLAUDE_SEARCH_AND_BATCH }
@@ -29572,6 +29582,7 @@ export {
29572
29582
  NOTIFICATION_EVENT_DESCRIPTIONS,
29573
29583
  notificationDtoSchema,
29574
29584
  notificationCreateRequestSchema,
29585
+ notificationUpdateRequestSchema,
29575
29586
  HEALTH_NO_LONGER_URGENT,
29576
29587
  ReviewDeliveryStates,
29577
29588
  googleBusinessReviewUrl,