@canonry/canonry 7.125.3 → 7.125.4

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 (119) hide show
  1. package/dist/activity-KCUWSNHF.js +13 -0
  2. package/dist/{ads-CKWRWWUL.js → ads-6ZCVMSJ2.js} +4 -4
  3. package/dist/{agent-ESSNC46H.js → agent-ZZJO7ET6.js} +8 -8
  4. package/dist/{agent-ask-37D6WCPX.js → agent-ask-CPRHVULM.js} +4 -4
  5. package/dist/{agent-conversations-GKY7Q2IO.js → agent-conversations-NIWKSUC2.js} +4 -4
  6. package/dist/{agent-journeys-FIH4K5PI.js → agent-journeys-SHNRNV5E.js} +4 -4
  7. package/dist/{agent-memory-FXWCBJRP.js → agent-memory-4IGCNFR5.js} +4 -4
  8. package/dist/{agent-providers-5AKSFZHC.js → agent-providers-3Q7NQS7Y.js} +4 -4
  9. package/dist/{agent-transcript-F4HO6LWW.js → agent-transcript-M3NYHNNV.js} +4 -4
  10. package/dist/{analytics-GJRUFRVW.js → analytics-UHBUOG4T.js} +4 -4
  11. package/dist/{answerability-L5MS4AKC.js → answerability-IRXQDOBX.js} +4 -4
  12. package/dist/{apply-ZZQIJN4W.js → apply-3HP75CA2.js} +4 -4
  13. package/dist/{backfill-WK2FPQA7.js → backfill-Y6M5HPT7.js} +11 -11
  14. package/dist/{backlinks-53DXYL4A.js → backlinks-O5IYHDAY.js} +4 -4
  15. package/dist/{bing-6G7LXZDT.js → bing-2MTKNQB2.js} +4 -4
  16. package/dist/{bootstrap-ESCW4ZGJ.js → bootstrap-O7FRHURI.js} +11 -11
  17. package/dist/{cdp-BR54QYDW.js → cdp-BTXUJFAN.js} +8 -8
  18. package/dist/{chunk-27MI43WQ.js → chunk-2MDEKCDU.js} +7 -12
  19. package/dist/{chunk-2T4IZBIB.js → chunk-32LTZWWW.js} +1 -1
  20. package/dist/{chunk-OC35PZAC.js → chunk-35NITZHC.js} +1 -1
  21. package/dist/{chunk-73ANFHPL.js → chunk-3FQMXAES.js} +4 -4
  22. package/dist/{chunk-G46YLF5X.js → chunk-3G5FQLF7.js} +2 -2
  23. package/dist/{chunk-LEW6WFYV.js → chunk-3OZ5WKRH.js} +1 -0
  24. package/dist/{chunk-J3C4XFWJ.js → chunk-A75GIIWP.js} +1 -1
  25. package/dist/{chunk-6ZL5ILQI.js → chunk-C5EK4TJ5.js} +3 -3
  26. package/dist/{chunk-P42TP4BJ.js → chunk-CD3XPOHP.js} +1 -1
  27. package/dist/{chunk-OZRJ73XU.js → chunk-DI5EEYDP.js} +2 -2
  28. package/dist/{chunk-7V3V5H7L.js → chunk-E57WK3OU.js} +5 -5
  29. package/dist/{chunk-FM56GWUC.js → chunk-EE73V5GU.js} +372 -372
  30. package/dist/{chunk-B63ZO4TX.js → chunk-FJRPVC6N.js} +6 -6
  31. package/dist/{chunk-P2RFC35A.js → chunk-IDMWQASY.js} +5 -5
  32. package/dist/{chunk-7Q5OVRVX.js → chunk-JTIFRAGE.js} +3 -3
  33. package/dist/{chunk-EWJKPCIT.js → chunk-K7BROEPL.js} +3 -3
  34. package/dist/{chunk-QFGEFEKV.js → chunk-KIO37ZVB.js} +4 -4
  35. package/dist/{chunk-ODEDQ4Z7.js → chunk-MB7VQPWX.js} +2 -2
  36. package/dist/{chunk-JXKRQ63F.js → chunk-ML7G6NS3.js} +2 -2
  37. package/dist/{chunk-FJHPA47P.js → chunk-OH3HQENA.js} +4 -4
  38. package/dist/{chunk-6E7BS7BA.js → chunk-OINP576M.js} +5 -5
  39. package/dist/{chunk-TZ5ALARK.js → chunk-OL6HAMWW.js} +2 -2
  40. package/dist/{chunk-2JMNIWOG.js → chunk-PAP62URW.js} +4 -4
  41. package/dist/{chunk-OXM2WUTJ.js → chunk-PDSB34VB.js} +1 -1
  42. package/dist/{chunk-R2F5JHCB.js → chunk-QCEXADUT.js} +2 -2
  43. package/dist/{chunk-EEYFNSVL.js → chunk-QQFTJVHT.js} +1 -1
  44. package/dist/{chunk-C7IGAN7U.js → chunk-QRA6GFXX.js} +1 -1
  45. package/dist/{chunk-Y7Y3GDOM.js → chunk-RSZ3L5FJ.js} +1 -1
  46. package/dist/{chunk-Z7TP2GD4.js → chunk-U2LYHQHF.js} +1 -1
  47. package/dist/{chunk-YKB75BPD.js → chunk-UG3NPUZQ.js} +4 -4
  48. package/dist/{chunk-XLJWITPC.js → chunk-UHUPDKPT.js} +8 -8
  49. package/dist/{chunk-DFEVW234.js → chunk-UU3EPUFY.js} +27 -25
  50. package/dist/{chunk-MXDKDPRJ.js → chunk-VD6Q7ZUX.js} +1 -1
  51. package/dist/{chunk-WHH3XSRE.js → chunk-VP3F4BOG.js} +2 -2
  52. package/dist/{chunk-SP44JHI4.js → chunk-VUL3BACZ.js} +4 -4
  53. package/dist/{chunk-HN6UIFHO.js → chunk-XQUGLXAN.js} +2 -2
  54. package/dist/{chunk-FBVCBRXQ.js → chunk-YYBYRAMI.js} +4 -4
  55. package/dist/{chunk-ZI5JGJFY.js → chunk-ZA624A36.js} +54 -30
  56. package/dist/{citations-ZIDSGKRU.js → citations-5JSLIPNI.js} +5 -5
  57. package/dist/{cli-catalog-6LW7C6JJ.js → cli-catalog-U3DKCQC5.js} +4 -4
  58. package/dist/cli-commands-RKEFA6I6.js +18 -0
  59. package/dist/cli.js +14 -14
  60. package/dist/{competitor-SL756CGS.js → competitor-AMA7WPH4.js} +4 -4
  61. package/dist/{content-K57ZUYTK.js → content-7HZ23UXM.js} +4 -4
  62. package/dist/{dashboard-XKP2Z7NL.js → dashboard-7DH4DFSJ.js} +7 -7
  63. package/dist/{demo-3KROYDH3.js → demo-FWGWENAZ.js} +3 -3
  64. package/dist/{demo-server-E7LTZ55I.js → demo-server-MQDIL5YL.js} +13 -13
  65. package/dist/{discover-RWVSCRJU.js → discover-TJXKEHVP.js} +5 -5
  66. package/dist/{discover-eval-N4M5JU6F.js → discover-eval-MUS46MSL.js} +4 -4
  67. package/dist/{doctor-NW4FDB77.js → doctor-5CIMYYUA.js} +4 -4
  68. package/dist/{evidence-FMUJNJSJ.js → evidence-MY4Z6VNC.js} +4 -4
  69. package/dist/{export-cmd-VALOYBEX.js → export-cmd-VBULRDSJ.js} +4 -4
  70. package/dist/{ga-DPMYKD4B.js → ga-ORQCNNJ6.js} +4 -4
  71. package/dist/{gbp-AVZSBYRE.js → gbp-LWVNCHMT.js} +4 -4
  72. package/dist/{google-YU4U7NGP.js → google-U6LQOAQ3.js} +5 -5
  73. package/dist/{google-marketing-6QVRXGBM.js → google-marketing-6RA4AOMN.js} +2 -2
  74. package/dist/{health-cmd-WWLJRTUO.js → health-cmd-LQGRFFT3.js} +5 -5
  75. package/dist/{history-TTA7FGQW.js → history-LYJAA6QI.js} +4 -4
  76. package/dist/index.d.ts +78 -78
  77. package/dist/index.js +26 -26
  78. package/dist/{init-7HJIOE4N.js → init-VSBN3TWT.js} +13 -13
  79. package/dist/{insights-Q5D55GAR.js → insights-OP7ZJLC5.js} +4 -4
  80. package/dist/intelligence-service-HMCHOTG5.js +15 -0
  81. package/dist/{journeys-6TQ4XKFU.js → journeys-ENN25PA5.js} +4 -4
  82. package/dist/{keys-GEKZTCDB.js → keys-FVPHQIOM.js} +4 -4
  83. package/dist/{keyword-RFOYIC3F.js → keyword-ELCUWNQC.js} +4 -4
  84. package/dist/{logs-JVV3JWBY.js → logs-SVKY3HXZ.js} +4 -4
  85. package/dist/{mcp-F5UBBUYS.js → mcp-W7AMWAST.js} +5 -5
  86. package/dist/mcp.js +10 -10
  87. package/dist/{measurement-plan-3MBPWMKF.js → measurement-plan-F3ZZ4MCG.js} +6 -6
  88. package/dist/{notify-I6PK7D5F.js → notify-U253YRTY.js} +4 -4
  89. package/dist/{organic-evidence-XGMEFGZV.js → organic-evidence-4GI6HG56.js} +4 -4
  90. package/dist/{overview-3CXTYKPK.js → overview-TPZI3OKL.js} +7 -7
  91. package/dist/{project-NODDRMYN.js → project-BZPMAZAH.js} +4 -4
  92. package/dist/{project-setup-O2ZHNOQA.js → project-setup-2NSUAFXD.js} +4 -4
  93. package/dist/{query-FS5JMNWT.js → query-4AL5P6DI.js} +4 -4
  94. package/dist/{research-PAQYTNO7.js → research-3WAJ6RWX.js} +4 -4
  95. package/dist/{results-export-SXJ7QORQ.js → results-export-VHA6BPC2.js} +4 -4
  96. package/dist/{run-AKHP63FR.js → run-3EEHYWIA.js} +6 -6
  97. package/dist/{schedule-4UJCAZRL.js → schedule-7CXVWV75.js} +4 -4
  98. package/dist/{search-M6F2BKN5.js → search-EPPXH2TK.js} +4 -4
  99. package/dist/{serve-M5CIAJQP.js → serve-CFXNLGUP.js} +27 -27
  100. package/dist/{session-FTWUJBXC.js → session-HATLEN7J.js} +14 -14
  101. package/dist/{settings-UYXGO73G.js → settings-UKIPQVIX.js} +4 -4
  102. package/dist/{sitemaps-UFZAM5AM.js → sitemaps-L2OOCCHX.js} +4 -4
  103. package/dist/{skills-CST64NUF.js → skills-VJSJNLWC.js} +3 -3
  104. package/dist/{snapshot-R7M77CR2.js → snapshot-SYVUVM7F.js} +4 -4
  105. package/dist/{src-NPY2WNGF.js → src-VYDX5USM.js} +2 -2
  106. package/dist/{status-NWAVNBJC.js → status-ALZWCQ7W.js} +6 -6
  107. package/dist/{support-AJYIPDYH.js → support-XRKYBNND.js} +2 -2
  108. package/dist/{technical-aeo-HNEUXZZ4.js → technical-aeo-JNYI6Q7L.js} +4 -4
  109. package/dist/{telemetry-4HMLYE5C.js → telemetry-ZENJ5BDE.js} +5 -5
  110. package/dist/{tools-HQ5AFHJ2.js → tools-L7J5NNSY.js} +12 -12
  111. package/dist/{traffic-MGZDVEAM.js → traffic-YWF6EAN7.js} +6 -6
  112. package/dist/{trends-NMJFTKOE.js → trends-3755UQT3.js} +4 -4
  113. package/dist/{users-HWBPRVSG.js → users-7XCGU7BU.js} +4 -4
  114. package/dist/{visibility-stats-DALS5MUL.js → visibility-stats-QJBO7HFN.js} +5 -5
  115. package/dist/{wordpress-23RX6PVT.js → wordpress-VC6UN5UK.js} +4 -4
  116. package/package.json +1 -1
  117. package/dist/activity-MYEOLXH7.js +0 -13
  118. package/dist/cli-commands-MAM3MHKR.js +0 -18
  119. package/dist/intelligence-service-EIVZPZDC.js +0 -15
@@ -5,7 +5,7 @@ import {
5
5
  isStoredPageReadTool,
6
6
  isStoredReadTool,
7
7
  truncateToolResult
8
- } from "./chunk-P2RFC35A.js";
8
+ } from "./chunk-IDMWQASY.js";
9
9
  import {
10
10
  CANONRY_MCP_TOOLKITS,
11
11
  resolveAeroSkillDir
@@ -23,18 +23,18 @@ import {
23
23
  resolveApiKeyFor,
24
24
  resolveModelForProvider,
25
25
  validateAgentProviderRegistry
26
- } from "./chunk-WHH3XSRE.js";
26
+ } from "./chunk-VP3F4BOG.js";
27
27
  import {
28
28
  CanonryMcpToolNames,
29
29
  canonryMcpTools
30
- } from "./chunk-2JMNIWOG.js";
30
+ } from "./chunk-PAP62URW.js";
31
31
  import {
32
32
  createLogger
33
- } from "./chunk-OZRJ73XU.js";
33
+ } from "./chunk-DI5EEYDP.js";
34
34
  import {
35
35
  agentToolEvents,
36
36
  llmUsageEvents
37
- } from "./chunk-OC35PZAC.js";
37
+ } from "./chunk-35NITZHC.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-LEW6WFYV.js";
48
+ } from "./chunk-3OZ5WKRH.js";
49
49
 
50
50
  // src/agent/session.ts
51
51
  import fs2 from "fs";
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  runWithUsageTags
3
- } from "./chunk-27MI43WQ.js";
3
+ } from "./chunk-2MDEKCDU.js";
4
4
  import {
5
5
  CanonryMcpToolNames,
6
6
  DEPRECATED_MCP_TOOL_ALIAS_NAMES,
7
7
  canonryMcpTools
8
- } from "./chunk-2JMNIWOG.js";
8
+ } from "./chunk-PAP62URW.js";
9
9
  import {
10
10
  CliError
11
- } from "./chunk-EEYFNSVL.js";
11
+ } from "./chunk-QQFTJVHT.js";
12
12
  import {
13
13
  buildOpenApiDocument
14
- } from "./chunk-ZI5JGJFY.js";
14
+ } from "./chunk-ZA624A36.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-LEW6WFYV.js";
27
+ } from "./chunk-3OZ5WKRH.js";
28
28
 
29
29
  // src/agent/tools.ts
30
30
  import { Type as Type2 } from "@earendil-works/pi-ai";
@@ -4,14 +4,14 @@ import {
4
4
  } from "./chunk-VJWDBFSL.js";
5
5
  import {
6
6
  createApiClient
7
- } from "./chunk-27MI43WQ.js";
7
+ } from "./chunk-2MDEKCDU.js";
8
8
  import {
9
9
  CliError,
10
10
  isMachineFormat
11
- } from "./chunk-EEYFNSVL.js";
11
+ } from "./chunk-QQFTJVHT.js";
12
12
  import {
13
13
  describeError
14
- } from "./chunk-LEW6WFYV.js";
14
+ } from "./chunk-3OZ5WKRH.js";
15
15
 
16
16
  // src/commands/mcp.ts
17
17
  import fs from "fs";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  createApiClient
3
- } from "./chunk-27MI43WQ.js";
3
+ } from "./chunk-2MDEKCDU.js";
4
4
  import {
5
5
  isMachineFormat
6
- } from "./chunk-EEYFNSVL.js";
6
+ } from "./chunk-QQFTJVHT.js";
7
7
  import {
8
8
  formatRunErrorOneLine
9
- } from "./chunk-LEW6WFYV.js";
9
+ } from "./chunk-3OZ5WKRH.js";
10
10
 
11
11
  // src/commands/activity.ts
12
12
  function activityLines(activity) {
@@ -3,7 +3,7 @@ import {
3
3
  resolveCliAccess,
4
4
  resolveCliAccessForInvocation,
5
5
  windowOptions
6
- } from "./chunk-JXKRQ63F.js";
6
+ } from "./chunk-ML7G6NS3.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-EEYFNSVL.js";
14
+ } from "./chunk-QQFTJVHT.js";
15
15
  import {
16
16
  OperationAccesses
17
- } from "./chunk-LEW6WFYV.js";
17
+ } from "./chunk-3OZ5WKRH.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-6LW7C6JJ.js");
125
+ const { printCliCatalog: printCliCatalog2 } = await import("./cli-catalog-U3DKCQC5.js");
126
126
  const group2 = argsWithoutHelp.find((arg) => !arg.startsWith("--"));
127
127
  printCliCatalog2(specs, fallbackFormat, group2, accessValue);
128
128
  return true;
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  CliError,
3
3
  EXIT_SYSTEM_ERROR
4
- } from "./chunk-EEYFNSVL.js";
4
+ } from "./chunk-QQFTJVHT.js";
5
5
  import {
6
6
  describeError
7
- } from "./chunk-LEW6WFYV.js";
7
+ } from "./chunk-3OZ5WKRH.js";
8
8
 
9
9
  // src/gsc-sitemap-submission.ts
10
10
  function dedupeGscSitemapUrls(urls) {
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  usageError
3
- } from "./chunk-EEYFNSVL.js";
3
+ } from "./chunk-QQFTJVHT.js";
4
4
  import {
5
5
  AppError,
6
6
  parseWindowIn,
7
7
  resolveDateRange
8
- } from "./chunk-LEW6WFYV.js";
8
+ } from "./chunk-3OZ5WKRH.js";
9
9
 
10
10
  // src/cli-access.ts
11
11
  var CLI_ACCESS_BY_ID = Object.freeze({
@@ -2,13 +2,13 @@ import {
2
2
  bucketCliCommandDuration,
3
3
  isTelemetryEnabled,
4
4
  trackEvent
5
- } from "./chunk-HN6UIFHO.js";
5
+ } from "./chunk-XQUGLXAN.js";
6
6
  import {
7
7
  getConfigDir
8
- } from "./chunk-WHH3XSRE.js";
8
+ } from "./chunk-VP3F4BOG.js";
9
9
  import {
10
10
  currentOutcomeAttribution
11
- } from "./chunk-J3C4XFWJ.js";
11
+ } from "./chunk-A75GIIWP.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-LEW6WFYV.js";
22
+ } from "./chunk-3OZ5WKRH.js";
23
23
 
24
24
  // src/outcome-telemetry.ts
25
25
  import fs from "fs";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  createLogger
3
- } from "./chunk-OZRJ73XU.js";
3
+ } from "./chunk-DI5EEYDP.js";
4
4
  import {
5
5
  addLikelyFakeAgentHits,
6
6
  correctBackgroundCallJourneys,
7
7
  mergeSplitJourneyVisitors,
8
8
  repairAiReferralArrivalsOnStartup,
9
9
  writeUnrecognizedAgentBuckets
10
- } from "./chunk-ZI5JGJFY.js";
10
+ } from "./chunk-ZA624A36.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-2T4IZBIB.js";
34
+ } from "./chunk-32LTZWWW.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-OC35PZAC.js";
51
+ } from "./chunk-35NITZHC.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-LEW6WFYV.js";
87
+ } from "./chunk-3OZ5WKRH.js";
88
88
 
89
89
  // ../provider-openai/src/normalize.ts
90
90
  import OpenAI from "openai";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  trackIntegrationConnection
3
- } from "./chunk-FJHPA47P.js";
3
+ } from "./chunk-OH3HQENA.js";
4
4
  import {
5
5
  cliRuntimeContext
6
- } from "./chunk-HN6UIFHO.js";
6
+ } from "./chunk-XQUGLXAN.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-ODEDQ4Z7.js";
8
+ } from "./chunk-MB7VQPWX.js";
9
9
  import {
10
10
  measurementDraftOperationSchema,
11
11
  runMeasurementDraftAction
12
- } from "./chunk-OXM2WUTJ.js";
12
+ } from "./chunk-PDSB34VB.js";
13
13
  import {
14
14
  CliError
15
- } from "./chunk-EEYFNSVL.js";
15
+ } from "./chunk-QQFTJVHT.js";
16
16
  import {
17
17
  AGENT_MEMORY_KEY_MAX_LENGTH,
18
18
  AGENT_MEMORY_VALUE_MAX_BYTES,
@@ -218,7 +218,7 @@ import {
218
218
  trendSurfaceSchema,
219
219
  visibilityCompareSelectionSchema,
220
220
  visibilityReportRequestSchema
221
- } from "./chunk-LEW6WFYV.js";
221
+ } from "./chunk-3OZ5WKRH.js";
222
222
 
223
223
  // src/mcp/tool-registry.ts
224
224
  import { z as z2 } from "zod";
@@ -23,7 +23,7 @@ import {
23
23
  measurementDraftUpsertGroupRequestSchema,
24
24
  measurementDraftUpsertMarketRequestSchema,
25
25
  measurementDraftUpsertTargetRequestSchema
26
- } from "./chunk-LEW6WFYV.js";
26
+ } from "./chunk-3OZ5WKRH.js";
27
27
 
28
28
  // src/measurement-draft-actions.ts
29
29
  import { z } from "zod";
@@ -5,7 +5,7 @@ import {
5
5
  siteCrawlGraphNodes,
6
6
  siteCrawlPages,
7
7
  siteCrawlSnapshots
8
- } from "./chunk-OC35PZAC.js";
8
+ } from "./chunk-35NITZHC.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-LEW6WFYV.js";
18
+ } from "./chunk-3OZ5WKRH.js";
19
19
 
20
20
  // src/site-audit-factors.ts
21
21
  function recordedSharePct(factor) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  CANONRY_COMMUNITY_LINKS
3
- } from "./chunk-LEW6WFYV.js";
3
+ } from "./chunk-3OZ5WKRH.js";
4
4
 
5
5
  // src/cli-error.ts
6
6
  function isMachineFormat(format) {
@@ -2,7 +2,7 @@ import {
2
2
  CitationStates,
3
3
  hostMatchesDomain,
4
4
  isCitationMeasurable
5
- } from "./chunk-LEW6WFYV.js";
5
+ } from "./chunk-3OZ5WKRH.js";
6
6
 
7
7
  // src/citation-utils.ts
8
8
  function pickProjectCitedDomain(citedDomains, projectDomains) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  cloudflareQueueNameSchema
3
- } from "./chunk-LEW6WFYV.js";
3
+ } from "./chunk-3OZ5WKRH.js";
4
4
 
5
5
  // src/cloudflare-traffic-config.ts
6
6
  function unsupportedDeliveryMode(deliveryMode) {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  API_PROVIDER_NAMES,
3
3
  ProviderNames
4
- } from "./chunk-LEW6WFYV.js";
4
+ } from "./chunk-3OZ5WKRH.js";
5
5
 
6
6
  // src/provider-registration.ts
7
7
  function isApiProviderRegistrable(name, entry) {
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  registeredProviderNames
3
- } from "./chunk-Z7TP2GD4.js";
3
+ } from "./chunk-U2LYHQHF.js";
4
4
  import {
5
5
  configExists,
6
6
  loadConfigRaw
7
- } from "./chunk-WHH3XSRE.js";
7
+ } from "./chunk-VP3F4BOG.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-NPY2WNGF.js");
31
+ const { createClient, projects, queries: queriesTable } = await import("./src-VYDX5USM.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-M5CIAJQP.js");
50
+ const { serveCommand } = await import("./serve-CFXNLGUP.js");
51
51
  await serveCommand(format);
52
52
  }
53
53
 
@@ -8,24 +8,24 @@ import {
8
8
  reparseStoredResult4,
9
9
  reparseStoredResult5,
10
10
  resolveStoredApiResponse
11
- } from "./chunk-6E7BS7BA.js";
11
+ } from "./chunk-OINP576M.js";
12
12
  import {
13
13
  loadConfig
14
- } from "./chunk-WHH3XSRE.js";
14
+ } from "./chunk-VP3F4BOG.js";
15
15
  import {
16
16
  CliError,
17
17
  isMachineFormat
18
- } from "./chunk-EEYFNSVL.js";
18
+ } from "./chunk-QQFTJVHT.js";
19
19
  import {
20
20
  determineCitationState
21
- } from "./chunk-C7IGAN7U.js";
21
+ } from "./chunk-QRA6GFXX.js";
22
22
  import {
23
23
  backfillProjectAnswerMentions,
24
24
  competitorIdentityColumns,
25
25
  createRunCompetitorResolver,
26
26
  readMarketCompetitorNames,
27
27
  refreshSnapshotMentionIdentity
28
- } from "./chunk-ZI5JGJFY.js";
28
+ } from "./chunk-ZA624A36.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-OC35PZAC.js";
42
+ } from "./chunk-35NITZHC.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-LEW6WFYV.js";
55
+ } from "./chunk-3OZ5WKRH.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-EIVZPZDC.js");
433
+ const { IntelligenceService } = await import("./intelligence-service-HMCHOTG5.js");
434
434
  const config = loadConfig();
435
435
  const db = createClient(config.database);
436
436
  migrate(db);
@@ -24,18 +24,18 @@ import {
24
24
  resolveConfiguredAgentProvider,
25
25
  resolveSessionProviderAndModel,
26
26
  setAeroSystemPrompt
27
- } from "./chunk-B63ZO4TX.js";
27
+ } from "./chunk-FJRPVC6N.js";
28
28
  import {
29
29
  AeroToolProfiles,
30
30
  AeroToolScopes,
31
31
  buildAeroStateTools,
32
32
  isAeroToolProfile,
33
33
  truncateToolResult
34
- } from "./chunk-P2RFC35A.js";
34
+ } from "./chunk-IDMWQASY.js";
35
35
  import {
36
36
  answerServiceAdapters,
37
37
  answerServiceDescriptors
38
- } from "./chunk-P42TP4BJ.js";
38
+ } from "./chunk-CD3XPOHP.js";
39
39
  import {
40
40
  isManagedCanonryInstall
41
41
  } from "./chunk-XAJS5FH3.js";
@@ -57,7 +57,7 @@ import {
57
57
  removeCloudflareTrafficConnection,
58
58
  removeCloudflareTrafficConnectionBySourceId,
59
59
  upsertCloudflareTrafficConnection
60
- } from "./chunk-Y7Y3GDOM.js";
60
+ } from "./chunk-RSZ3L5FJ.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-6E7BS7BA.js";
72
+ } from "./chunk-OINP576M.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-FJHPA47P.js";
84
+ } from "./chunk-OH3HQENA.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-Z7TP2GD4.js";
92
+ } from "./chunk-U2LYHQHF.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-HN6UIFHO.js";
104
+ } from "./chunk-XQUGLXAN.js";
105
105
  import {
106
106
  createCanonryMcpServer
107
- } from "./chunk-FBVCBRXQ.js";
107
+ } from "./chunk-YYBYRAMI.js";
108
108
  import {
109
109
  CANONRY_MCP_TIERS,
110
110
  CANONRY_MCP_TOOLKIT_NAMES
111
111
  } from "./chunk-F2TGOWIW.js";
112
112
  import {
113
113
  ApiClient
114
- } from "./chunk-27MI43WQ.js";
114
+ } from "./chunk-2MDEKCDU.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-WHH3XSRE.js";
149
+ } from "./chunk-VP3F4BOG.js";
150
150
  import {
151
151
  getBundledSkillSnapshots
152
- } from "./chunk-G46YLF5X.js";
152
+ } from "./chunk-3G5FQLF7.js";
153
153
  import {
154
154
  computeFactorAverages,
155
155
  deleteSiteCrawlGraphLayout,
156
156
  persistSiteCrawlGraphLayout,
157
157
  prepareSiteCrawlGraphLayout,
158
158
  recordedSharePct
159
- } from "./chunk-R2F5JHCB.js";
159
+ } from "./chunk-QCEXADUT.js";
160
160
  import {
161
161
  CanonryMcpToolNames,
162
162
  canonryMcpTools
163
- } from "./chunk-2JMNIWOG.js";
163
+ } from "./chunk-PAP62URW.js";
164
164
  import {
165
165
  PACKAGE_VERSION
166
166
  } from "./chunk-AOJU5LKX.js";
167
167
  import {
168
168
  CliError
169
- } from "./chunk-EEYFNSVL.js";
169
+ } from "./chunk-QQFTJVHT.js";
170
170
  import {
171
171
  IntelligenceService
172
- } from "./chunk-7V3V5H7L.js";
172
+ } from "./chunk-E57WK3OU.js";
173
173
  import {
174
174
  computeCitedCompetitorDomains,
175
175
  determineCitationState
176
- } from "./chunk-C7IGAN7U.js";
176
+ } from "./chunk-QRA6GFXX.js";
177
177
  import {
178
178
  addLogListener,
179
179
  createFastifyLogger,
180
180
  createLogger
181
- } from "./chunk-OZRJ73XU.js";
181
+ } from "./chunk-DI5EEYDP.js";
182
182
  import {
183
183
  BING_THROTTLE_COOLDOWN_MS,
184
184
  BingApiError,
@@ -334,7 +334,7 @@ import {
334
334
  webhookTargetRefusalReason,
335
335
  webhookUserAgent,
336
336
  writeAuditLog
337
- } from "./chunk-ZI5JGJFY.js";
337
+ } from "./chunk-ZA624A36.js";
338
338
  import {
339
339
  OperationalLogStore,
340
340
  SentimentIdempotencyConflict,
@@ -436,7 +436,7 @@ import {
436
436
  unrecognizedAgentEventsHourly,
437
437
  unrecognizedAgentNotifyState,
438
438
  usageCounters
439
- } from "./chunk-OC35PZAC.js";
439
+ } from "./chunk-35NITZHC.js";
440
440
  import {
441
441
  AGENT_MEMORY_VALUE_MAX_BYTES,
442
442
  AI_ENGINE_DOMAINS,
@@ -719,7 +719,7 @@ import {
719
719
  winnabilityClassLabel,
720
720
  withRetry,
721
721
  withSkippedProviders
722
- } from "./chunk-LEW6WFYV.js";
722
+ } from "./chunk-3OZ5WKRH.js";
723
723
 
724
724
  // src/google-marketing-runtime.ts
725
725
  import crypto2 from "crypto";
@@ -6471,7 +6471,7 @@ function nonBlank(value) {
6471
6471
  return trimmed ? trimmed : void 0;
6472
6472
  }
6473
6473
  function resolveBuildCommit(env = process.env) {
6474
- const embedded = true ? "0cf43b6bc939e5b1f4733e562770ac15a7f1cc4d" : void 0;
6474
+ const embedded = true ? "b6b615379ba80bdfc8e7d38dfe8a5f061ad6ce91" : void 0;
6475
6475
  return nonBlank(embedded) ?? nonBlank(env.CANONRY_COMMIT);
6476
6476
  }
6477
6477
  function resolveInstanceIdentity(env = process.env) {
@@ -15833,10 +15833,12 @@ function runErrorText(error) {
15833
15833
  const text = error ? formatRunErrorOneLine(error) : "no error was recorded";
15834
15834
  return text.slice(0, MAX_RUN_ERROR_CHARS);
15835
15835
  }
15836
- async function latestFailedRunInWindow(client, projectName, kind, startedAt, finishedAt) {
15836
+ async function failedRunInWindow(client, projectName, kind, reason, startedAt, finishedAt) {
15837
+ const runId = asRecord(asRecord(reason)?.details)?.runId;
15838
+ if (typeof runId !== "string" || runId.length === 0) return null;
15837
15839
  let run;
15838
15840
  try {
15839
- run = await client.latestFailedRun(projectName, kind, startedAt.toISOString(), finishedAt.toISOString());
15841
+ run = await client.failedRun(projectName, kind, runId);
15840
15842
  } catch {
15841
15843
  return null;
15842
15844
  }
@@ -15878,7 +15880,7 @@ async function refreshAllIntegrations(client, projectName, now = /* @__PURE__ */
15878
15880
  }
15879
15881
  const message = describeError(reason);
15880
15882
  if (completion === "synchronous" && isServerError(reason)) {
15881
- const run = await latestFailedRunInWindow(client, projectName, kind, now, finishedAt);
15883
+ const run = await failedRunInWindow(client, projectName, kind, reason, now, finishedAt);
15882
15884
  if (run) {
15883
15885
  log26.warn("integration.refresh-failed", { projectName, integration, error: message, runId: run.id, runError: runErrorText(run.error) });
15884
15886
  continue;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  CitationStates
3
- } from "./chunk-LEW6WFYV.js";
3
+ } from "./chunk-3OZ5WKRH.js";
4
4
 
5
5
  // src/snapshot-cell.ts
6
6
  var SNAPSHOT_CELL_LEGEND = "(cell = [citation][mention]; C=cited c=not \xB7=not measured, M=mentioned m=not, \u2013=no data)";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  CliError
3
- } from "./chunk-EEYFNSVL.js";
3
+ } from "./chunk-QQFTJVHT.js";
4
4
  import {
5
5
  AGENT_PROVIDER_IDS,
6
6
  AgentProviderIds,
@@ -22,7 +22,7 @@ import {
22
22
  resolveProviderModel,
23
23
  schedulableRunKindSchema,
24
24
  sentimentEvaluatorProviderSchema
25
- } from "./chunk-LEW6WFYV.js";
25
+ } from "./chunk-3OZ5WKRH.js";
26
26
 
27
27
  // ../config/src/index.ts
28
28
  import { z as z5 } from "zod";
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  createApiClient
3
- } from "./chunk-27MI43WQ.js";
3
+ } from "./chunk-2MDEKCDU.js";
4
4
  import {
5
5
  emitJsonl
6
6
  } from "./chunk-Z7IUAJOF.js";
7
7
  import {
8
8
  measurementDraftOperationSchema,
9
9
  runMeasurementDraftAction
10
- } from "./chunk-OXM2WUTJ.js";
10
+ } from "./chunk-PDSB34VB.js";
11
11
  import {
12
12
  isMachineFormat,
13
13
  systemError
14
- } from "./chunk-EEYFNSVL.js";
14
+ } from "./chunk-QQFTJVHT.js";
15
15
  import {
16
16
  CITATION_NOT_MEASURED_REASON,
17
17
  MeasurementEvidenceShapes,
@@ -39,7 +39,7 @@ import {
39
39
  unattributedAnswersLabel,
40
40
  uncheckedSourcesLabel,
41
41
  visibilityReportRequestSchema
42
- } from "./chunk-LEW6WFYV.js";
42
+ } from "./chunk-3OZ5WKRH.js";
43
43
 
44
44
  // src/commands/measurement-plan.ts
45
45
  import crypto from "crypto";