@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
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  getRequestContext
3
- } from "./chunk-TTQBEFSU.js";
3
+ } from "./chunk-CCFEMZI5.js";
4
4
  import {
5
5
  diagnosticIdentity,
6
6
  redactLogString,
7
7
  redactLogValue
8
- } from "./chunk-VOK62VGC.js";
8
+ } from "./chunk-UYRC244Y.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
  USAGE_TELEMETRY_HEADERS,
3
3
  redactLogString
4
- } from "./chunk-VOK62VGC.js";
4
+ } from "./chunk-UYRC244Y.js";
5
5
 
6
6
  // ../api-routes/src/request-context.ts
7
7
  import { AsyncLocalStorage } from "async_hooks";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  createLogger
3
- } from "./chunk-AHVF5OE5.js";
3
+ } from "./chunk-BB2KXNOG.js";
4
4
  import {
5
5
  addLikelyFakeAgentHits,
6
6
  correctBackgroundCallJourneys,
7
7
  mergeSplitJourneyVisitors,
8
8
  repairAiReferralArrivalsOnStartup,
9
9
  writeUnrecognizedAgentBuckets
10
- } from "./chunk-5LV4OEAO.js";
10
+ } from "./chunk-VXBYTMSM.js";
11
11
  import {
12
12
  AGENT_TRUST_RULES_VERSION,
13
13
  BROWSER_AGENT_BOT_IDS,
@@ -31,7 +31,7 @@ import {
31
31
  normalizeTrafficPathPattern,
32
32
  rulesShareVerificationList,
33
33
  unrecognizedAgentName
34
- } from "./chunk-3Q2D53KV.js";
34
+ } from "./chunk-HGXAKSRX.js";
35
35
  import {
36
36
  RawEventSampleEventTypes,
37
37
  agentJourneyCaptureDays,
@@ -48,7 +48,7 @@ import {
48
48
  trafficReclassificationState,
49
49
  trafficSources,
50
50
  unrecognizedAgentEventsHourly
51
- } from "./chunk-VCXKSGZF.js";
51
+ } from "./chunk-LJ3MSVVW.js";
52
52
  import {
53
53
  AI_ENGINE_DOMAINS,
54
54
  AI_ENGINE_SELF_DOMAINS,
@@ -84,7 +84,7 @@ import {
84
84
  sortedUnique,
85
85
  usageCount,
86
86
  withRetry
87
- } from "./chunk-VOK62VGC.js";
87
+ } from "./chunk-UYRC244Y.js";
88
88
 
89
89
  // ../provider-openai/src/normalize.ts
90
90
  import OpenAI from "openai";
@@ -592,7 +592,14 @@ async function withRetry3(fn, options = {}) {
592
592
  var DEFAULT_MODEL2 = "claude-sonnet-4-6";
593
593
  var VALIDATION_PATTERN = /^claude-/;
594
594
  var CLAUDE_RETRIEVAL_CONTRACT = RetrievalContracts["search-required-v1"];
595
- var CLAUDE_MODELS_REJECTING_FORCED_TOOL_CHOICE = /* @__PURE__ */ new Set(["claude-opus-5-5", "claude-fable-5-1", "claude-mythos-5-1"]);
595
+ var CLAUDE_MODELS_REJECTING_FORCED_TOOL_CHOICE = /* @__PURE__ */ new Set([
596
+ "claude-fable-5-2",
597
+ "claude-mythos-5-2",
598
+ "claude-opus-5-5",
599
+ "claude-sonnet-5-5",
600
+ "claude-fable-5-1",
601
+ "claude-mythos-5-1"
602
+ ]);
596
603
  function claudeModelRejectsForcedToolChoice(model) {
597
604
  return CLAUDE_MODELS_REJECTING_FORCED_TOOL_CHOICE.has(
598
605
  model.trim().toLowerCase()
@@ -24,11 +24,11 @@ import {
24
24
  resolveConfiguredAgentProvider,
25
25
  resolveSessionProviderAndModel,
26
26
  setAeroSystemPrompt
27
- } from "./chunk-2VSOYLSX.js";
27
+ } from "./chunk-G56TRFKC.js";
28
28
  import {
29
29
  answerServiceAdapters,
30
30
  answerServiceDescriptors
31
- } from "./chunk-OXYZQJLV.js";
31
+ } from "./chunk-NGTWSJSP.js";
32
32
  import {
33
33
  isManagedCanonryInstall
34
34
  } from "./chunk-XAJS5FH3.js";
@@ -38,7 +38,7 @@ import {
38
38
  buildAeroStateTools,
39
39
  isAeroToolProfile,
40
40
  truncateToolResult
41
- } from "./chunk-TNR2O4HU.js";
41
+ } from "./chunk-NJTIZSBH.js";
42
42
  import {
43
43
  getGoogleAuthConfig,
44
44
  getGoogleConnection,
@@ -57,7 +57,7 @@ import {
57
57
  removeCloudflareTrafficConnection,
58
58
  removeCloudflareTrafficConnectionBySourceId,
59
59
  upsertCloudflareTrafficConnection
60
- } from "./chunk-OO4RE44D.js";
60
+ } from "./chunk-3CT756HO.js";
61
61
  import {
62
62
  claudeAdapter,
63
63
  embedQueries,
@@ -69,7 +69,7 @@ import {
69
69
  openrouterAdapter,
70
70
  perplexityAdapter,
71
71
  startTrafficReclassification
72
- } from "./chunk-FX4VCCSD.js";
72
+ } from "./chunk-D4G3FP7N.js";
73
73
  import {
74
74
  classifyUsageSurface,
75
75
  createApiUsageTelemetry,
@@ -81,7 +81,7 @@ import {
81
81
  startOutcomeTimer,
82
82
  trackFeatureCompleted,
83
83
  trackInstallState
84
- } from "./chunk-5KINLLTJ.js";
84
+ } from "./chunk-E6WLCHXT.js";
85
85
  import {
86
86
  isLoopbackBindHost
87
87
  } from "./chunk-TSENU4GG.js";
@@ -89,7 +89,7 @@ import {
89
89
  isApiProviderRegistrable,
90
90
  isCdpProviderRegistrable,
91
91
  registeredProviderNames
92
- } from "./chunk-6KH4XZLA.js";
92
+ } from "./chunk-F5UUN6UB.js";
93
93
  import {
94
94
  checkLatestVersionForServer,
95
95
  getOrCreateAnonymousId,
@@ -101,17 +101,17 @@ import {
101
101
  recordDashboardEvent,
102
102
  setTelemetryPreference,
103
103
  trackEvent
104
- } from "./chunk-AOYSK6D2.js";
104
+ } from "./chunk-LZSY5GNZ.js";
105
105
  import {
106
106
  createCanonryMcpServer
107
- } from "./chunk-ZCRUXUHU.js";
107
+ } from "./chunk-EGH7MBFI.js";
108
108
  import {
109
109
  CANONRY_MCP_TIERS,
110
110
  CANONRY_MCP_TOOLKIT_NAMES
111
- } from "./chunk-QT475Y6O.js";
111
+ } from "./chunk-XXKC266R.js";
112
112
  import {
113
113
  ApiClient
114
- } from "./chunk-2FNWSHOE.js";
114
+ } from "./chunk-LNBJ3ZEK.js";
115
115
  import {
116
116
  AGENT_PROVIDERS,
117
117
  PROVIDER_MODELS,
@@ -146,39 +146,39 @@ import {
146
146
  saveConfigPatch,
147
147
  sentimentInstallReadiness,
148
148
  updateSharedProviderExecutionGate
149
- } from "./chunk-GDRZPBPF.js";
149
+ } from "./chunk-WKYQ7255.js";
150
150
  import {
151
151
  getBundledSkillSnapshots
152
- } from "./chunk-TS477DBZ.js";
152
+ } from "./chunk-RVRQJ2SA.js";
153
153
  import {
154
154
  computeFactorAverages,
155
155
  deleteSiteCrawlGraphLayout,
156
156
  persistSiteCrawlGraphLayout,
157
157
  prepareSiteCrawlGraphLayout,
158
158
  recordedSharePct
159
- } from "./chunk-FTPGW2WX.js";
159
+ } from "./chunk-M2OSHVTB.js";
160
160
  import {
161
161
  CanonryMcpToolNames,
162
162
  canonryMcpTools
163
- } from "./chunk-ZDYWXTNN.js";
163
+ } from "./chunk-SPNDMTXM.js";
164
164
  import {
165
165
  PACKAGE_VERSION
166
166
  } from "./chunk-AOJU5LKX.js";
167
167
  import {
168
168
  CliError
169
- } from "./chunk-IWQFTZ75.js";
169
+ } from "./chunk-ZA44DK2O.js";
170
170
  import {
171
171
  IntelligenceService
172
- } from "./chunk-6DSEIN3U.js";
172
+ } from "./chunk-REDBG2JO.js";
173
173
  import {
174
174
  computeCitedCompetitorDomains,
175
175
  determineCitationState
176
- } from "./chunk-AOD35IKL.js";
176
+ } from "./chunk-3LJH6WL6.js";
177
177
  import {
178
178
  addLogListener,
179
179
  createFastifyLogger,
180
180
  createLogger
181
- } from "./chunk-AHVF5OE5.js";
181
+ } from "./chunk-BB2KXNOG.js";
182
182
  import {
183
183
  BingApiError,
184
184
  CC_CACHE_DIR,
@@ -270,6 +270,7 @@ import {
270
270
  installDuckdb,
271
271
  isBlockingCrawlIssue,
272
272
  isDuckdbInstalled,
273
+ isScopedRun,
273
274
  isValidReleaseId,
274
275
  latestQueryBasketRevision,
275
276
  listCachedReleases,
@@ -287,6 +288,7 @@ import {
287
288
  nextRunFromCron,
288
289
  nextRunFromSchedule,
289
290
  notProbeRun,
291
+ notScopedRun,
290
292
  parseBingDate,
291
293
  parseChatGptTokenKey,
292
294
  parseCookieHeader,
@@ -330,7 +332,7 @@ import {
330
332
  webhookTargetRefusalReason,
331
333
  webhookUserAgent,
332
334
  writeAuditLog
333
- } from "./chunk-5LV4OEAO.js";
335
+ } from "./chunk-VXBYTMSM.js";
334
336
  import {
335
337
  OperationalLogStore,
336
338
  SentimentIdempotencyConflict,
@@ -432,7 +434,7 @@ import {
432
434
  unrecognizedAgentEventsHourly,
433
435
  unrecognizedAgentNotifyState,
434
436
  usageCounters
435
- } from "./chunk-VCXKSGZF.js";
437
+ } from "./chunk-LJ3MSVVW.js";
436
438
  import {
437
439
  AGENT_MEMORY_VALUE_MAX_BYTES,
438
440
  AI_ENGINE_DOMAINS,
@@ -715,7 +717,7 @@ import {
715
717
  winnabilityClassLabel,
716
718
  withRetry,
717
719
  withSkippedProviders
718
- } from "./chunk-VOK62VGC.js";
720
+ } from "./chunk-UYRC244Y.js";
719
721
 
720
722
  // src/google-marketing-runtime.ts
721
723
  import crypto2 from "crypto";
@@ -6467,7 +6469,7 @@ function nonBlank(value) {
6467
6469
  return trimmed ? trimmed : void 0;
6468
6470
  }
6469
6471
  function resolveBuildCommit(env = process.env) {
6470
- const embedded = true ? "c479f3407ca734cafb5f3c12646d7824ff8c0dec" : void 0;
6472
+ const embedded = true ? "7947302d4a8ea7e98373b98cd8d1456bfbb74cc3" : void 0;
6471
6473
  return nonBlank(embedded) ?? nonBlank(env.CANONRY_COMMIT);
6472
6474
  }
6473
6475
  function resolveInstanceIdentity(env = process.env) {
@@ -16778,6 +16780,10 @@ var Notifier = class {
16778
16780
  const projectId = project.id;
16779
16781
  const thisRun = this.db.select().from(runs).where(eq29(runs.id, runId)).get();
16780
16782
  if (!thisRun) return none;
16783
+ if (isScopedRun(thisRun)) {
16784
+ log26.info("transitions.skipped-spot-check", { runId });
16785
+ return none;
16786
+ }
16781
16787
  const completeness = measurementRunCompleteness(this.db, runId);
16782
16788
  if (completeness.planned && !completeness.complete) {
16783
16789
  log26.info("transitions.skipped-incomplete", {
@@ -16818,7 +16824,10 @@ var Notifier = class {
16818
16824
  eq29(runs.projectId, projectId),
16819
16825
  eq29(runs.kind, thisRun.kind),
16820
16826
  or2(eq29(runs.status, "completed"), eq29(runs.status, "partial")),
16821
- notProbeRun()
16827
+ notProbeRun(),
16828
+ // The previous sweep, never a spot check between the two: diffed
16829
+ // against a 2-query check, every other query's change is lost.
16830
+ notScopedRun()
16822
16831
  )
16823
16832
  ).orderBy(desc10(runs.createdAt), desc10(runs.id)).limit(RECENT_FETCH_LIMIT).all();
16824
16833
  const groups = groupRunsByCreatedAt(recentRuns);
@@ -17248,6 +17257,15 @@ var RunCoordinator = class {
17248
17257
  log27.error("answers-recorded.failed", { runId, projectId, error: describeError(err) });
17249
17258
  }
17250
17259
  }
17260
+ if (kind === RunKinds["answer-visibility"] && runRow && isScopedRun(runRow)) {
17261
+ log27.info("spot-check.skip-derived", { runId, projectId });
17262
+ try {
17263
+ await this.notifier.onRunCompleted(runId, projectId);
17264
+ } catch (err) {
17265
+ log27.error("notifier.failed", { runId, error: describeError(err) });
17266
+ }
17267
+ return;
17268
+ }
17251
17269
  const completeness = measurementRunCompleteness(this.db, runId);
17252
17270
  if (completeness.planned && !completeness.complete) {
17253
17271
  log27.info("measurement.incomplete-skip-derived", {
@@ -2,13 +2,13 @@ import {
2
2
  bucketCliCommandDuration,
3
3
  isTelemetryEnabled,
4
4
  trackEvent
5
- } from "./chunk-AOYSK6D2.js";
5
+ } from "./chunk-LZSY5GNZ.js";
6
6
  import {
7
7
  getConfigDir
8
- } from "./chunk-GDRZPBPF.js";
8
+ } from "./chunk-WKYQ7255.js";
9
9
  import {
10
10
  currentOutcomeAttribution
11
- } from "./chunk-TTQBEFSU.js";
11
+ } from "./chunk-CCFEMZI5.js";
12
12
  import {
13
13
  AGENT_NONE,
14
14
  OutcomeSurfaces,
@@ -19,7 +19,7 @@ import {
19
19
  integrationConnectionPropertiesSchema,
20
20
  normalizeAgentSlug,
21
21
  usageSurfaceSchema
22
- } from "./chunk-VOK62VGC.js";
22
+ } from "./chunk-UYRC244Y.js";
23
23
 
24
24
  // src/outcome-telemetry.ts
25
25
  import fs from "fs";
@@ -3,29 +3,29 @@ import {
3
3
  CANONRY_MCP_TOOLKIT_NAMES,
4
4
  isCanonryMcpToolkitName,
5
5
  resolveAeroSkillDir
6
- } from "./chunk-QT475Y6O.js";
6
+ } from "./chunk-XXKC266R.js";
7
7
  import {
8
8
  createApiClient,
9
9
  runWithUsageTags
10
- } from "./chunk-2FNWSHOE.js";
10
+ } from "./chunk-LNBJ3ZEK.js";
11
11
  import {
12
12
  canonryMcpTools,
13
13
  mcpOutputSchema,
14
14
  toolOperationAccess
15
- } from "./chunk-ZDYWXTNN.js";
15
+ } from "./chunk-SPNDMTXM.js";
16
16
  import {
17
17
  PACKAGE_VERSION
18
18
  } from "./chunk-AOJU5LKX.js";
19
19
  import {
20
20
  CliError
21
- } from "./chunk-IWQFTZ75.js";
21
+ } from "./chunk-ZA44DK2O.js";
22
22
  import {
23
23
  OperationAccesses,
24
24
  RESEARCH_RUN_SCOPE,
25
25
  isReadOnlyKey,
26
26
  restrictedWriteScopes,
27
27
  upgradeCaveatFor
28
- } from "./chunk-VOK62VGC.js";
28
+ } from "./chunk-UYRC244Y.js";
29
29
 
30
30
  // src/mcp/server.ts
31
31
  import { randomUUID } from "crypto";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  API_PROVIDER_NAMES,
3
3
  ProviderNames
4
- } from "./chunk-VOK62VGC.js";
4
+ } from "./chunk-UYRC244Y.js";
5
5
 
6
6
  // src/provider-registration.ts
7
7
  function isApiProviderRegistrable(name, entry) {
@@ -5,11 +5,11 @@ import {
5
5
  isStoredPageReadTool,
6
6
  isStoredReadTool,
7
7
  truncateToolResult
8
- } from "./chunk-TNR2O4HU.js";
8
+ } from "./chunk-NJTIZSBH.js";
9
9
  import {
10
10
  CANONRY_MCP_TOOLKITS,
11
11
  resolveAeroSkillDir
12
- } from "./chunk-QT475Y6O.js";
12
+ } from "./chunk-XXKC266R.js";
13
13
  import {
14
14
  AGENT_REASONING_LEVELS,
15
15
  aeroStreamFn,
@@ -23,18 +23,18 @@ import {
23
23
  resolveApiKeyFor,
24
24
  resolveModelForProvider,
25
25
  validateAgentProviderRegistry
26
- } from "./chunk-GDRZPBPF.js";
26
+ } from "./chunk-WKYQ7255.js";
27
27
  import {
28
28
  CanonryMcpToolNames,
29
29
  canonryMcpTools
30
- } from "./chunk-ZDYWXTNN.js";
30
+ } from "./chunk-SPNDMTXM.js";
31
31
  import {
32
32
  createLogger
33
- } from "./chunk-AHVF5OE5.js";
33
+ } from "./chunk-BB2KXNOG.js";
34
34
  import {
35
35
  agentToolEvents,
36
36
  llmUsageEvents
37
- } from "./chunk-VCXKSGZF.js";
37
+ } from "./chunk-LJ3MSVVW.js";
38
38
  import {
39
39
  MeasurementPortfolioLists,
40
40
  SEO_TREND_METRICS_BY_KIND,
@@ -45,7 +45,7 @@ import {
45
45
  describeError,
46
46
  validationError,
47
47
  visibilityReportRequestSchema
48
- } from "./chunk-VOK62VGC.js";
48
+ } from "./chunk-UYRC244Y.js";
49
49
 
50
50
  // src/agent/session.ts
51
51
  import fs2 from "fs";
@@ -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-FUYRS76Y.js");
50
+ const { serveCommand } = await import("./serve-63VQPOQF.js");
51
51
  await serveCommand(format);
52
52
  }
53
53
 
@@ -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;
@@ -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-5LV4OEAO.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;