@canonry/canonry 7.104.1 → 7.104.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (142) hide show
  1. package/assets/agent-workspace/skills/aero/references/ai-traffic-tracking.md +2 -1
  2. package/assets/agent-workspace/skills/canonry/references/ai-traffic-tracking.md +2 -1
  3. package/assets/agent-workspace/skills/canonry/references/canonry-cli.md +3 -1
  4. package/assets/assets/{AccessControls-CBkDcxwx.js → AccessControls-hIgRxmCY.js} +1 -1
  5. package/assets/assets/{AgentSetupPage-iGYETW-I.js → AgentSetupPage-BEYkXfMI.js} +1 -1
  6. package/assets/assets/{AuditHistoryPanel-DiFMK7eE.js → AuditHistoryPanel-B4RSWnDd.js} +1 -1
  7. package/assets/assets/{BacklinksPage-Cg9LQLMo.js → BacklinksPage-CU089NxY.js} +1 -1
  8. package/assets/assets/{ChartPrimitives-DYS88Zzt.js → ChartPrimitives-DfRYjnsb.js} +1 -1
  9. package/assets/assets/{HistoryPage-CmI5CX94.js → HistoryPage-CtOK4bCH.js} +1 -1
  10. package/assets/assets/MeasurementPropertyPage-C-XeLSL1.js +4 -0
  11. package/assets/assets/ProjectPage-HpOMuZBk.js +15 -0
  12. package/assets/assets/{RunsPage-BqvrT8Xm.js → RunsPage-CRnzj7dU.js} +1 -1
  13. package/assets/assets/{ServerTrafficSection-CtFe7WDd.js → ServerTrafficSection-x_7QecPB.js} +1 -1
  14. package/assets/assets/{SettingsPage-snu8wJ8l.js → SettingsPage-BumPFoPz.js} +1 -1
  15. package/assets/assets/{ToneBadge-CkTo2T8d.js → ToneBadge-BoscSKWW.js} +2 -2
  16. package/assets/assets/{TrafficPage-BxiiQjwl.js → TrafficPage-CxEO_Y2c.js} +1 -1
  17. package/assets/assets/{TrafficSourceDetailPage-8BKFz7py.js → TrafficSourceDetailPage-D9me5kmv.js} +1 -1
  18. package/assets/assets/{account-context-BlfC71NP.js → account-context-n5iq1FxI.js} +1 -1
  19. package/assets/assets/{agent-trust-copy-C_J3OmRg.js → agent-trust-copy-BWQkohiR.js} +1 -1
  20. package/assets/assets/{card-CeXmlLH2.js → card-CnZ3aU1G.js} +1 -1
  21. package/assets/assets/index-BEk3rfJu.js +43 -0
  22. package/assets/assets/{query-client-DWYnC2Lg.js → query-client-CTKEElDQ.js} +1 -1
  23. package/assets/assets/{react-query-CQhkmL4O.js → react-query-D-G5epGz.js} +1 -1
  24. package/assets/assets/{react-sigma_core.esm.min-YHPB9pkU.js → react-sigma_core.esm.min-4Kr0Zt4p.js} +1 -1
  25. package/assets/assets/{server-traffic-ChxoKQ0y.js → server-traffic-Deh27adW.js} +1 -1
  26. package/assets/assets/{service-u1pn5oyA.js → service-Dur_GX4q.js} +1 -1
  27. package/assets/index.html +8 -8
  28. package/dist/{ads-ARJJACSH.js → ads-LPBLEQBU.js} +3 -3
  29. package/dist/{agent-57EQMSOO.js → agent-NUQQRFIX.js} +7 -7
  30. package/dist/{agent-ask-TF2WTRTO.js → agent-ask-RLIEXI6J.js} +3 -3
  31. package/dist/{agent-conversations-5GXNREFK.js → agent-conversations-HXWBYGSK.js} +3 -3
  32. package/dist/{agent-journeys-6CDPI4TE.js → agent-journeys-DZ4OK6RG.js} +3 -3
  33. package/dist/{agent-memory-X3FQ4YDE.js → agent-memory-QASRDHY6.js} +3 -3
  34. package/dist/{agent-providers-32Z3YXO4.js → agent-providers-UNJBT65F.js} +3 -3
  35. package/dist/{agent-transcript-2S64XPF2.js → agent-transcript-IYQDRVLL.js} +3 -3
  36. package/dist/{analytics-WPCHRXQZ.js → analytics-TGZAZQ4V.js} +3 -3
  37. package/dist/{apply-3WHRQBQB.js → apply-OVSQL4ND.js} +3 -3
  38. package/dist/{backfill-QD3I5MYX.js → backfill-PB2XFYU2.js} +10 -10
  39. package/dist/{backlinks-TRVNCPUB.js → backlinks-TAEE5NW2.js} +3 -3
  40. package/dist/{bing-F3B76XX5.js → bing-Y47PPL2K.js} +3 -3
  41. package/dist/{bootstrap-QOAGLWNN.js → bootstrap-6SVPLI2X.js} +10 -10
  42. package/dist/{cdp-4I3DNMLG.js → cdp-AQQZBCSJ.js} +7 -7
  43. package/dist/{chunk-IHY4Q74C.js → chunk-2DTIIRPL.js} +5 -5
  44. package/dist/{chunk-BYYP43Q3.js → chunk-2P2YNCJB.js} +1 -1
  45. package/dist/{chunk-3V5Y2XTA.js → chunk-34ZFWATV.js} +1 -1
  46. package/dist/{chunk-NI2JFXIS.js → chunk-3FYVI6ZY.js} +21 -21
  47. package/dist/{chunk-2VNQKUCW.js → chunk-4PLVST2T.js} +2 -2
  48. package/dist/{chunk-D76TB5JS.js → chunk-73SA4H5D.js} +1 -1
  49. package/dist/{chunk-FCUUJO3Z.js → chunk-7X5YFLPM.js} +2 -2
  50. package/dist/{chunk-756RPVYB.js → chunk-B3KL6JMP.js} +4 -4
  51. package/dist/{chunk-2AECECUY.js → chunk-BDPFPPPQ.js} +1 -1
  52. package/dist/{chunk-5UHNDYUH.js → chunk-BL3BT3O5.js} +4 -4
  53. package/dist/{chunk-HPFT4IKN.js → chunk-BNSSB6H4.js} +1 -1
  54. package/dist/{chunk-PU5OA57Z.js → chunk-DAMXZWN7.js} +6 -6
  55. package/dist/{chunk-47QPY6Y3.js → chunk-EIJP6Z65.js} +5 -5
  56. package/dist/{chunk-LCZZACLE.js → chunk-FEHIXKYR.js} +3 -3
  57. package/dist/{chunk-ZJFLVXDZ.js → chunk-FS65HPCW.js} +2 -2
  58. package/dist/{chunk-HTGJSXCR.js → chunk-HUH6676A.js} +3 -3
  59. package/dist/{chunk-FYRNKI3A.js → chunk-KPF5NVNC.js} +7 -7
  60. package/dist/{chunk-6AW6ONTF.js → chunk-MUBVE7E5.js} +2 -2
  61. package/dist/{chunk-7UQZCDYK.js → chunk-MXCBG4Z7.js} +1 -1
  62. package/dist/{chunk-TCXITSDO.js → chunk-N5YFWTDQ.js} +1 -1
  63. package/dist/{chunk-7XJG2OTB.js → chunk-NF2BC4W2.js} +366 -366
  64. package/dist/{chunk-MDRAKMCV.js → chunk-NWOPXLH3.js} +3 -3
  65. package/dist/{chunk-K32GU473.js → chunk-O3HY3VSN.js} +1 -1
  66. package/dist/{chunk-WQQ4TNIY.js → chunk-OBDOHDDJ.js} +2 -2
  67. package/dist/{chunk-HLM3GYK4.js → chunk-QZKQL65D.js} +1 -1
  68. package/dist/{chunk-NGGMSNF6.js → chunk-SBQTP5ET.js} +44 -37
  69. package/dist/{chunk-QRR5ZW22.js → chunk-T52VRYI6.js} +3 -3
  70. package/dist/{chunk-SZ64N26K.js → chunk-T6TLIZEO.js} +1 -1
  71. package/dist/{chunk-7VKVGR6X.js → chunk-TXH5BMVL.js} +3 -3
  72. package/dist/{chunk-52D6WBCZ.js → chunk-VBNULTRM.js} +1 -1
  73. package/dist/{chunk-5FMZGO6R.js → chunk-VFT4AFA6.js} +4 -4
  74. package/dist/{chunk-TFP6UJXW.js → chunk-VZXLMIPS.js} +3 -3
  75. package/dist/{chunk-CJ55MGWI.js → chunk-W6ORSOMS.js} +1 -1
  76. package/dist/{chunk-CCHYRLX4.js → chunk-WMZYHYKE.js} +2 -2
  77. package/dist/{chunk-DLZCOJCY.js → chunk-ZGAOBFAT.js} +1 -1
  78. package/dist/{citations-6CW3G5YP.js → citations-EPWMDINT.js} +4 -4
  79. package/dist/{cli-catalog-6B2O2JQE.js → cli-catalog-LOONVW4I.js} +3 -3
  80. package/dist/{cli-commands-O46WFSHZ.js → cli-commands-DCTJL3OA.js} +7 -7
  81. package/dist/cli.js +13 -13
  82. package/dist/{competitor-D4BVO2KQ.js → competitor-XUXFF3N5.js} +3 -3
  83. package/dist/{content-H2PGFRWM.js → content-X4VUI6Q4.js} +3 -3
  84. package/dist/{dashboard-4KP7KKMY.js → dashboard-TLOEIFYT.js} +6 -6
  85. package/dist/{demo-NKCOCN6Z.js → demo-24VUW2D7.js} +1 -1
  86. package/dist/{demo-server-RQB6VRBH.js → demo-server-UHZFCQTB.js} +12 -12
  87. package/dist/{discover-K4GIXAN5.js → discover-Q53AI7AP.js} +4 -4
  88. package/dist/{discover-eval-L4IF5XFV.js → discover-eval-72A2EKS5.js} +3 -3
  89. package/dist/{doctor-OVJTEQCK.js → doctor-PSJW22ME.js} +3 -3
  90. package/dist/{evidence-MXQK4YYL.js → evidence-BVP2S73D.js} +3 -3
  91. package/dist/{export-cmd-Z3CWJALI.js → export-cmd-3LZAJ24E.js} +3 -3
  92. package/dist/{ga-347UNNJP.js → ga-VRCCYIOW.js} +3 -3
  93. package/dist/{gbp-47MIYIQC.js → gbp-OK4CJ6JF.js} +3 -3
  94. package/dist/{google-7Q3FYNVP.js → google-GULK767N.js} +4 -4
  95. package/dist/{google-marketing-TMKWY5AP.js → google-marketing-TQPEDQY6.js} +1 -1
  96. package/dist/{health-cmd-77TMLQ6T.js → health-cmd-IC5IQKBN.js} +4 -4
  97. package/dist/{history-Q756HPJM.js → history-EAEYLEVG.js} +3 -3
  98. package/dist/index.d.ts +72 -72
  99. package/dist/index.js +25 -25
  100. package/dist/{init-WDRQTCKK.js → init-V2UHVKFD.js} +12 -12
  101. package/dist/{insights-TPNHIVNH.js → insights-ICTSKQD6.js} +3 -3
  102. package/dist/intelligence-service-LCVAUMCO.js +16 -0
  103. package/dist/{journeys-F6UAVPVI.js → journeys-H2BOW42B.js} +3 -3
  104. package/dist/{keys-Q6VMDIAH.js → keys-OTJZGBGX.js} +3 -3
  105. package/dist/{keyword-7BH5P5P7.js → keyword-ZZ4SPADG.js} +3 -3
  106. package/dist/{logs-P2J6XFVJ.js → logs-IH74KKBP.js} +3 -3
  107. package/dist/{mcp-RPXFNAKS.js → mcp-U736ZMVE.js} +4 -4
  108. package/dist/mcp.js +9 -9
  109. package/dist/{measurement-plan-KKUB6SLB.js → measurement-plan-EJ5H5S3X.js} +5 -5
  110. package/dist/{notify-2IK6NR7Y.js → notify-PVTESANP.js} +3 -3
  111. package/dist/{organic-evidence-N4HIUIHJ.js → organic-evidence-PGDCDE7I.js} +3 -3
  112. package/dist/{overview-FSNB42W5.js → overview-3QPRHIML.js} +5 -5
  113. package/dist/{project-D5ODS46C.js → project-FLF4NQYK.js} +3 -3
  114. package/dist/{project-setup-X7NGKC4R.js → project-setup-HMIMB7LA.js} +3 -3
  115. package/dist/{query-JGCEDLI2.js → query-WFNBO5IA.js} +3 -3
  116. package/dist/{research-3S5FLAFX.js → research-NOC77N5S.js} +3 -3
  117. package/dist/{results-export-YMX4F2K6.js → results-export-MQ372TJX.js} +3 -3
  118. package/dist/{run-MCJAGAHJ.js → run-KQEZAMFC.js} +5 -5
  119. package/dist/{schedule-CLWDPYZG.js → schedule-RXJR7S5O.js} +3 -3
  120. package/dist/{search-X7SXPESS.js → search-AVPIH3SH.js} +3 -3
  121. package/dist/{serve-UHEE443J.js → serve-E5OR75Z5.js} +26 -26
  122. package/dist/{session-AS2VQ7VL.js → session-M5GJ7N4T.js} +13 -13
  123. package/dist/{settings-UZEODHZ3.js → settings-FOPSQVXA.js} +3 -3
  124. package/dist/{sitemaps-SK2ZE5EJ.js → sitemaps-GOA3STCM.js} +3 -3
  125. package/dist/{skills-SI6C7MPT.js → skills-XJKTJ6LH.js} +2 -2
  126. package/dist/{snapshot-AOQUU5Q2.js → snapshot-4W4FLLRV.js} +3 -3
  127. package/dist/{src-BXXLPHVZ.js → src-VTBSLT3E.js} +2 -2
  128. package/dist/{status-TMKQNQ74.js → status-DMP7OCRB.js} +5 -5
  129. package/dist/{technical-aeo-WBLZMCUY.js → technical-aeo-IBYKY4VO.js} +3 -3
  130. package/dist/{telemetry-DS22S3C3.js → telemetry-PXSA7GSQ.js} +4 -4
  131. package/dist/{tools-YGKVGB5M.js → tools-K45ODYUR.js} +11 -11
  132. package/dist/{traffic-6AIRXYMI.js → traffic-USZLDNGC.js} +5 -5
  133. package/dist/{trends-LEAXHSM6.js → trends-FT5WL6EZ.js} +3 -3
  134. package/dist/{users-VCNIWES5.js → users-C5QGTAEE.js} +3 -3
  135. package/dist/{visibility-stats-4XA2YZET.js → visibility-stats-FJRKQAIB.js} +4 -4
  136. package/dist/{wordpress-YG3ECQXW.js → wordpress-DII4DF43.js} +3 -3
  137. package/package.json +1 -1
  138. package/assets/assets/MeasurementPropertyPage-DshJzp9b.js +0 -4
  139. package/assets/assets/ProjectPage-DwVxUhxM.js +0 -15
  140. package/assets/assets/index-BKbmkmyo.js +0 -43
  141. package/dist/intelligence-service-DAUXHAOP.js +0 -16
  142. /package/dist/{chunk-WT22Z3I7.js → chunk-CPLY2O4L.js} +0 -0
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  createApiClient
3
- } from "./chunk-2VNQKUCW.js";
3
+ } from "./chunk-4PLVST2T.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-D76TB5JS.js";
10
+ } from "./chunk-73SA4H5D.js";
11
11
  import {
12
12
  isMachineFormat,
13
13
  systemError
@@ -39,7 +39,7 @@ import {
39
39
  unattributedAnswersLabel,
40
40
  uncheckedSourcesLabel,
41
41
  visibilityReportRequestSchema
42
- } from "./chunk-WT22Z3I7.js";
42
+ } from "./chunk-CPLY2O4L.js";
43
43
 
44
44
  // src/commands/measurement-plan.ts
45
45
  import crypto from "crypto";
@@ -17,7 +17,7 @@ import {
17
17
  hostOf,
18
18
  isLocationRedirectStatus,
19
19
  pathWithoutQuery
20
- } from "./chunk-WT22Z3I7.js";
20
+ } from "./chunk-CPLY2O4L.js";
21
21
 
22
22
  // ../integration-traffic/src/agent-trust.ts
23
23
  var AGENT_TRUST_RULES_VERSION = 3;
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  getRequestContext
3
- } from "./chunk-TCXITSDO.js";
3
+ } from "./chunk-N5YFWTDQ.js";
4
4
  import {
5
5
  diagnosticIdentity,
6
6
  redactLogString,
7
7
  redactLogValue
8
- } from "./chunk-WT22Z3I7.js";
8
+ } from "./chunk-CPLY2O4L.js";
9
9
 
10
10
  // ../api-routes/src/runtime-logger.ts
11
11
  import { format } from "util";
@@ -15,7 +15,7 @@ import {
15
15
  formatCanonryPluginUpdateHint,
16
16
  formatCanonryPluginVersionMismatch,
17
17
  skillsClientSchema
18
- } from "./chunk-WT22Z3I7.js";
18
+ } from "./chunk-CPLY2O4L.js";
19
19
 
20
20
  // src/commands/skills.ts
21
21
  import crypto from "crypto";
@@ -19,14 +19,14 @@ import {
19
19
  normalizeTrafficPathPattern,
20
20
  sessionizeJourneyRequests,
21
21
  verifyRequestSignature
22
- } from "./chunk-K32GU473.js";
22
+ } from "./chunk-O3HY3VSN.js";
23
23
  import {
24
24
  currentOutcomeAttribution,
25
25
  getRequestContext,
26
26
  registerRequestContext,
27
27
  requestAuditIdentity,
28
28
  sanitizeRequestContext
29
- } from "./chunk-TCXITSDO.js";
29
+ } from "./chunk-N5YFWTDQ.js";
30
30
  import {
31
31
  RawEventSampleEventTypes,
32
32
  SentimentIdempotencyConflict,
@@ -190,7 +190,7 @@ import {
190
190
  userSessions,
191
191
  users,
192
192
  writeNegativeReviewMaxStars
193
- } from "./chunk-BYYP43Q3.js";
193
+ } from "./chunk-2P2YNCJB.js";
194
194
  import {
195
195
  ADS_ACTIVATE_SCOPE,
196
196
  ADS_ACTIVATION_ABSOLUTE_MAX_ENTITIES,
@@ -1354,7 +1354,7 @@ import {
1354
1354
  wordpressSchemaDeployResultDtoSchema,
1355
1355
  wordpressSchemaStatusResultDtoSchema,
1356
1356
  wordpressStatusDtoSchema
1357
- } from "./chunk-WT22Z3I7.js";
1357
+ } from "./chunk-CPLY2O4L.js";
1358
1358
 
1359
1359
  // ../api-routes/src/user-session.ts
1360
1360
  import crypto2 from "crypto";
@@ -18970,7 +18970,8 @@ var ADVISORY_CODES = /* @__PURE__ */ new Set([
18970
18970
  "site.duplicate-meta-description"
18971
18971
  ]);
18972
18972
  var DISPOSITION_ORDER = { actionable: 0, advisory: 1, unverified: 2, informational: 3 };
18973
- var MAX_EVIDENCE_BYTES = 128 * 1024 * 1024;
18973
+ var MAX_EVIDENCE_BYTES = 512 * 1024 * 1024;
18974
+ var MAX_EVIDENCE_LABEL = `${MAX_EVIDENCE_BYTES / 1024 / 1024} MiB`;
18974
18975
  var MAX_GROUPS = 4096;
18975
18976
  var MAX_RESPONSE_BYTES = 16 * 1024;
18976
18977
  function digest(value) {
@@ -19056,7 +19057,7 @@ function readSiteAuditIssues(input) {
19056
19057
  const snapshot = target.snapshot;
19057
19058
  const crossJson = JSON.stringify(snapshot.issueEvidence);
19058
19059
  const crossBytes = Buffer.byteLength(crossJson);
19059
- if (crossBytes > MAX_EVIDENCE_BYTES) throw validationError("Stored audit exceeds the 128 MiB issue-evidence read budget");
19060
+ if (crossBytes > MAX_EVIDENCE_BYTES) throw validationError(`Stored audit exceeds the ${MAX_EVIDENCE_LABEL} issue-evidence read budget`);
19060
19061
  const groups = /* @__PURE__ */ new Map();
19061
19062
  const members = [];
19062
19063
  let selectedMembers = 0;
@@ -19124,7 +19125,7 @@ function readSiteAuditIssues(input) {
19124
19125
  );
19125
19126
  const size = db.select({ bytes: sql19`coalesce(sum(length(cast(${siteCrawlPages.auditFields} as blob)) + length(cast(${siteCrawlPages.url} as blob))), 0)` }).from(siteCrawlPages).where(scope).get()?.bytes ?? 0;
19126
19127
  if (size + crossBytes > MAX_EVIDENCE_BYTES) {
19127
- throw validationError("Stored audit exceeds the 128 MiB issue-evidence read budget");
19128
+ throw validationError(`Stored audit exceeds the ${MAX_EVIDENCE_LABEL} issue-evidence read budget`);
19128
19129
  }
19129
19130
  let after;
19130
19131
  while (true) {
@@ -48566,7 +48567,7 @@ var routeCatalog = [
48566
48567
  method: "get",
48567
48568
  path: "/api/v1/projects/{name}/agent-readiness/issues",
48568
48569
  summary: "List stored audit issue groups and representative URLs",
48569
- description: "Read-only retained evidence, without provider calls. Includes coded findings and independent critical defects at every page score and retained cross-page groups; mirrored duplicate annotations appear once. Returns stored run/date/attempt, crawl completeness, and separate page-finding/cross-page coverage so legacy absence and malformed evidence cannot imply a clean site. Disposition is a prioritization hint, not permission to edit or proof of score impact. Recommendations distinguish whole-factor guidance from independently issue-scoped critical-defect guidance. Page-finding identities use factor/code/type; duplicate metadata identities use the full exact metadata value. Unknown cross-page identities are run-local. Reads fail explicitly above 128 MiB evidence or 4096 groups; they never sample an apparently complete total.",
48570
+ description: "Read-only retained evidence, without provider calls. Includes coded findings and independent critical defects at every page score and retained cross-page groups; mirrored duplicate annotations appear once. Returns stored run/date/attempt, crawl completeness, and separate page-finding/cross-page coverage so legacy absence and malformed evidence cannot imply a clean site. Disposition is a prioritization hint, not permission to edit or proof of score impact. Recommendations distinguish whole-factor guidance from independently issue-scoped critical-defect guidance. Page-finding identities use factor/code/type; duplicate metadata identities use the full exact metadata value. Unknown cross-page identities are run-local. Reads fail explicitly above 512 MiB evidence or 4096 groups; they never sample an apparently complete total.",
48570
48571
  tags: ["agent-readiness"],
48571
48572
  parameters: [
48572
48573
  nameParameter,
@@ -65010,7 +65011,7 @@ async function cdpRoutes(app, opts) {
65010
65011
 
65011
65012
  // ../api-routes/src/ga.ts
65012
65013
  import crypto56 from "crypto";
65013
- import { eq as eq95, desc as desc43, and as and80, sql as sql42 } from "drizzle-orm";
65014
+ import { eq as eq95, desc as desc43, and as and80, inArray as inArray45, sql as sql42 } from "drizzle-orm";
65014
65015
 
65015
65016
  // ../api-routes/src/ga-session-history.ts
65016
65017
  function buildSessionHistory(landingPageDays, dailyTotals) {
@@ -65456,11 +65457,12 @@ var lastDayOf = (month) => new Date(Date.parse(`${addMonths(month, 1)}-01T00:00:
65456
65457
  function aiReferralMonthlySeries(input) {
65457
65458
  const today = input.now.toISOString().slice(0, 10);
65458
65459
  const fillingFrom = gaFillingFrom(input.now);
65459
- const firstDay = input.range.startDate ?? [...input.days.map((day) => day.date), ...input.measuredDates].sort()[0];
65460
+ const coverageStart = input.aiCoverageStart;
65461
+ const measured = new Set(coverageStart === null ? [] : input.measuredDates.filter((date) => date >= coverageStart));
65462
+ const firstDay = input.range.startDate ?? [...input.days.map((day) => day.date), ...measured].sort()[0];
65460
65463
  if (!firstDay) return { months: [], monthlyTrend: null };
65461
65464
  const lastDay = input.range.endDate && input.range.endDate < today ? input.range.endDate : today;
65462
65465
  const labels = new Map(input.byEngine.series.map((s) => [s.key, s.label]));
65463
- const measured = new Set(input.measuredDates);
65464
65466
  const months = [];
65465
65467
  for (let month = firstDay.slice(0, 7); month <= lastDay.slice(0, 7); month = addMonths(month, 1)) {
65466
65468
  const inMonth = (date) => date.startsWith(month);
@@ -66747,11 +66749,16 @@ async function ga4Routes(app, opts) {
66747
66749
  const series = buildAiReferralDailySeries(rows);
66748
66750
  const measuredDates = app.db.selectDistinct({ date: gaDailyTotals.date }).from(gaDailyTotals).where(and80(eq95(gaDailyTotals.projectId, project.id), ...dateRangeConditions(gaDailyTotals.date, range))).all().map((row) => row.date);
66749
66751
  const firstAiDate = app.db.select({ date: sql42`MIN(${gaAiReferrals.date})` }).from(gaAiReferrals).where(eq95(gaAiReferrals.projectId, project.id)).get()?.date ?? null;
66752
+ const firstReceipts = new Map(app.db.select({ component: gaSyncCoverage.component, date: sql42`MIN(${gaSyncCoverage.date})` }).from(gaSyncCoverage).where(and80(eq95(gaSyncCoverage.projectId, project.id), inArray45(gaSyncCoverage.component, ["ai", "traffic"]))).groupBy(gaSyncCoverage.component).all().map((row) => [row.component, row.date]));
66753
+ const firstTrafficReceipt = firstReceipts.get("traffic") ?? null;
66754
+ const firstTrafficDate = app.db.select({ date: sql42`MIN(${gaTrafficSnapshots.date})` }).from(gaTrafficSnapshots).where(eq95(gaTrafficSnapshots.projectId, project.id)).get()?.date ?? null;
66755
+ const trafficBeforeReceipts = firstTrafficDate !== null && (firstTrafficReceipt === null || firstTrafficDate < firstTrafficReceipt) ? firstTrafficDate : null;
66756
+ const aiCoverageStart = [firstReceipts.get("ai") ?? null, trafficBeforeReceipts, firstAiDate].filter((date) => date !== null).sort()[0] ?? null;
66750
66757
  const now = /* @__PURE__ */ new Date();
66751
66758
  return {
66752
66759
  ...series,
66753
66760
  trend: aiReferralDailyTrend(series.days, measuredDates, firstAiDate, now),
66754
- ...aiReferralMonthlySeries({ days: series.days, byEngine: series.byEngine, measuredDates, range, firstAiDate, now })
66761
+ ...aiReferralMonthlySeries({ days: series.days, byEngine: series.byEngine, measuredDates, range, firstAiDate, aiCoverageStart, now })
66755
66762
  };
66756
66763
  });
66757
66764
  app.get("/projects/:name/ga/social-referral-history", async (request, _reply) => {
@@ -69591,7 +69598,7 @@ async function backlinksRoutes(app, opts) {
69591
69598
  import crypto60 from "crypto";
69592
69599
  import { isIP as isIP3 } from "net";
69593
69600
  import { isDeepStrictEqual } from "util";
69594
- import { and as and86, desc as desc46, eq as eq100, gt as gt8, gte as gte26, inArray as inArray45, lt as lt20, lte as lte27, sql as sql45 } from "drizzle-orm";
69601
+ import { and as and86, desc as desc46, eq as eq100, gt as gt8, gte as gte26, inArray as inArray46, lt as lt20, lte as lte27, sql as sql45 } from "drizzle-orm";
69595
69602
 
69596
69603
  // ../api-routes/src/traffic-limits.ts
69597
69604
  var VERCEL_MAX_SYNC_WINDOW_MS = 24 * 60 * 6e4;
@@ -74321,7 +74328,7 @@ async function trafficRoutes(app, opts) {
74321
74328
  const listed = useContentList ? contentPaths : infraPaths;
74322
74329
  const IN_LIST_CAP = 2e4;
74323
74330
  const listFitsInSql = listed.length <= IN_LIST_CAP;
74324
- const contentExpr = listed.length === 0 ? useContentList ? sql45`0` : sql45`${crawlerEventsHourly.hits}` : useContentList ? sql45`CASE WHEN ${inArray45(crawlerEventsHourly.pathNormalized, listed)} THEN ${crawlerEventsHourly.hits} ELSE 0 END` : sql45`CASE WHEN ${inArray45(crawlerEventsHourly.pathNormalized, listed)} THEN 0 ELSE ${crawlerEventsHourly.hits} END`;
74331
+ const contentExpr = listed.length === 0 ? useContentList ? sql45`0` : sql45`${crawlerEventsHourly.hits}` : useContentList ? sql45`CASE WHEN ${inArray46(crawlerEventsHourly.pathNormalized, listed)} THEN ${crawlerEventsHourly.hits} ELSE 0 END` : sql45`CASE WHEN ${inArray46(crawlerEventsHourly.pathNormalized, listed)} THEN 0 ELSE ${crawlerEventsHourly.hits} END`;
74325
74332
  if (listFitsInSql) {
74326
74333
  const crawlerSeries = app.db.select({
74327
74334
  bucket: crawlerSeriesBucket,
@@ -74726,7 +74733,7 @@ var reportSweepsCheck = {
74726
74733
  };
74727
74734
 
74728
74735
  // ../api-routes/src/doctor/checks/report-models.ts
74729
- import { and as and88, eq as eq102, gte as gte28, inArray as inArray46, lte as lte29 } from "drizzle-orm";
74736
+ import { and as and88, eq as eq102, gte as gte28, inArray as inArray47, lte as lte29 } from "drizzle-orm";
74730
74737
  var reportModelsCheck = {
74731
74738
  id: "report.models",
74732
74739
  category: CheckCategories.providers,
@@ -74741,7 +74748,7 @@ var reportModelsCheck = {
74741
74748
  const months = reportMonths.flatMap((month) => {
74742
74749
  const bounds = calendarMonthBounds(month);
74743
74750
  const previous = new Date(Date.parse(bounds.since) - 1).toISOString().slice(0, 7);
74744
- const observations = ctx.db.select({ provider: querySnapshots.provider, model: querySnapshots.model, at: runs.createdAt }).from(querySnapshots).innerJoin(runs, eq102(runs.id, querySnapshots.runId)).where(and88(eq102(runs.projectId, ctx.project.id), eq102(runs.kind, RunKinds["answer-visibility"]), inArray46(runs.status, [RunStatuses.completed, RunStatuses.partial]), notProbeRun(), gte28(runs.createdAt, bounds.since), lte29(runs.createdAt, bounds.until))).all();
74751
+ const observations = ctx.db.select({ provider: querySnapshots.provider, model: querySnapshots.model, at: runs.createdAt }).from(querySnapshots).innerJoin(runs, eq102(runs.id, querySnapshots.runId)).where(and88(eq102(runs.projectId, ctx.project.id), eq102(runs.kind, RunKinds["answer-visibility"]), inArray47(runs.status, [RunStatuses.completed, RunStatuses.partial]), notProbeRun(), gte28(runs.createdAt, bounds.since), lte29(runs.createdAt, bounds.until))).all();
74745
74752
  return readVisibilityContinuity(ctx.db, ctx.project.name, { from: previous, to: month }).map(({ frame, continuity: continuity2 }) => ({
74746
74753
  month,
74747
74754
  previousMonth: previous,
@@ -75318,7 +75325,7 @@ var BACKLINKS_CHECKS = [
75318
75325
  ];
75319
75326
 
75320
75327
  // ../api-routes/src/doctor/checks/bing-auth.ts
75321
- import { and as and90, desc as desc47, eq as eq105, inArray as inArray47 } from "drizzle-orm";
75328
+ import { and as and90, desc as desc47, eq as eq105, inArray as inArray48 } from "drizzle-orm";
75322
75329
  var BING_CONNECTION_ENTITY = "bing_connection";
75323
75330
  var BING_CONNECTED_ACTION = "bing.connected";
75324
75331
  var BING_DISCONNECTED_ACTION = "bing.disconnected";
@@ -75329,7 +75336,7 @@ function lostBingConnection(ctx, project) {
75329
75336
  const lastChange = ctx.db.select({ action: auditLog.action }).from(auditLog).where(and90(
75330
75337
  eq105(auditLog.entityType, BING_CONNECTION_ENTITY),
75331
75338
  eq105(auditLog.entityId, project.canonicalDomain),
75332
- inArray47(auditLog.action, [BING_CONNECTED_ACTION, BING_DISCONNECTED_ACTION])
75339
+ inArray48(auditLog.action, [BING_CONNECTED_ACTION, BING_DISCONNECTED_ACTION])
75333
75340
  )).orderBy(desc47(auditLog.createdAt)).limit(1).get();
75334
75341
  return lastChange?.action !== BING_DISCONNECTED_ACTION;
75335
75342
  }
@@ -75875,7 +75882,7 @@ var ga4ConnectionCheck = {
75875
75882
  var GA_AUTH_CHECKS = [ga4ConnectionCheck];
75876
75883
 
75877
75884
  // ../api-routes/src/doctor/checks/data-freshness.ts
75878
- import { and as and91, desc as desc48, eq as eq108, inArray as inArray48 } from "drizzle-orm";
75885
+ import { and as and91, desc as desc48, eq as eq108, inArray as inArray49 } from "drizzle-orm";
75879
75886
  var GA_DATA_AGING_DAYS = 3;
75880
75887
  var GA_DATA_STALE_DAYS = 5;
75881
75888
  var GSC_DATA_AGING_DAYS = 5;
@@ -75905,7 +75912,7 @@ function skipped(code, summary3) {
75905
75912
  return { status: CheckStatuses.skipped, code, summary: summary3, remediation: null };
75906
75913
  }
75907
75914
  function lastSyncAgeDays(ctx, kinds) {
75908
- const row = ctx.db.select({ createdAt: runs.createdAt }).from(runs).where(and91(eq108(runs.projectId, ctx.project.id), inArray48(runs.kind, kinds), eq108(runs.status, "completed"))).orderBy(desc48(runs.createdAt)).limit(1).get();
75915
+ const row = ctx.db.select({ createdAt: runs.createdAt }).from(runs).where(and91(eq108(runs.projectId, ctx.project.id), inArray49(runs.kind, kinds), eq108(runs.status, "completed"))).orderBy(desc48(runs.createdAt)).limit(1).get();
75909
75916
  if (!row?.createdAt) return null;
75910
75917
  const age = Math.floor((Date.now() - Date.parse(row.createdAt)) / DAY_MS6);
75911
75918
  return Number.isFinite(age) ? age : null;
@@ -76031,7 +76038,7 @@ var gscRecentDataCheck = {
76031
76038
  var DATA_FRESHNESS_CHECKS = [gaRecentDataCheck, gscRecentDataCheck];
76032
76039
 
76033
76040
  // ../api-routes/src/doctor/checks/seo-refresh.ts
76034
- import { and as and92, asc as asc29, desc as desc49, eq as eq109, gt as gt9, inArray as inArray49, sql as sql46 } from "drizzle-orm";
76041
+ import { and as and92, asc as asc29, desc as desc49, eq as eq109, gt as gt9, inArray as inArray50, sql as sql46 } from "drizzle-orm";
76035
76042
  var GRACE_DAYS = 2;
76036
76043
  var DAY_MS7 = 24 * 60 * 60 * 1e3;
76037
76044
  var FIRING_SPAN_MS = 6e4;
@@ -76063,7 +76070,7 @@ function isIncomplete(run) {
76063
76070
  return run.status === RunStatuses.failed || run.status === RunStatuses.partial;
76064
76071
  }
76065
76072
  function runProfiles(ctx, firing) {
76066
- const jobs = firing.length === 0 ? [] : ctx.db.select({ runId: seoJobs.runId, profileId: seoJobs.profileId }).from(seoJobs).where(inArray49(seoJobs.runId, firing.map((run) => run.id))).all();
76073
+ const jobs = firing.length === 0 ? [] : ctx.db.select({ runId: seoJobs.runId, profileId: seoJobs.profileId }).from(seoJobs).where(inArray50(seoJobs.runId, firing.map((run) => run.id))).all();
76067
76074
  const byRun = new Map(jobs.flatMap((job) => job.runId ? [[job.runId, job.profileId]] : []));
76068
76075
  return new Map(firing.map((run) => [run.id, byRun.get(run.id) ?? skippedRefreshProfile(run.error)]));
76069
76076
  }
@@ -76173,7 +76180,7 @@ function gradeSeoRefresh(ctx, project) {
76173
76180
  };
76174
76181
  }
76175
76182
  if (now >= Date.parse(deadlineAt)) {
76176
- const active = ctx.db.select({ id: runs.id, createdAt: runs.createdAt }).from(runs).where(and92(seoSyncRuns(project.id), inArray49(runs.status, [RunStatuses.queued, RunStatuses.running]))).orderBy(asc29(runs.createdAt)).limit(1).get();
76183
+ const active = ctx.db.select({ id: runs.id, createdAt: runs.createdAt }).from(runs).where(and92(seoSyncRuns(project.id), inArray50(runs.status, [RunStatuses.queued, RunStatuses.running]))).orderBy(asc29(runs.createdAt)).limit(1).get();
76177
76184
  const since = last ? `No SEO refresh has completed since ${day(last.at)}.` : "No SEO refresh has completed since the schedule was enabled.";
76178
76185
  const missed = last ? `The scheduled refresh due ${day(dueAt)} did not complete within ${GRACE_DAYS} days.` : `Its first refresh, due ${day(dueAt)}, did not complete within ${GRACE_DAYS} days.`;
76179
76186
  return {
@@ -76589,7 +76596,7 @@ async function probeApiHost(host, options = {}) {
76589
76596
  }
76590
76597
 
76591
76598
  // ../api-routes/src/doctor/checks/integration-sync.ts
76592
- import { and as and93, count as count9, desc as desc50, eq as eq110, gte as gte29, gt as gt10, inArray as inArray50, isNull as isNull18, notInArray as notInArray3, or as or20 } from "drizzle-orm";
76599
+ import { and as and93, count as count9, desc as desc50, eq as eq110, gte as gte29, gt as gt10, inArray as inArray51, isNull as isNull18, notInArray as notInArray3, or as or20 } from "drizzle-orm";
76593
76600
  var SYNC_FAILURE_WINDOW = 3;
76594
76601
  var SUMMARY_ERROR_LIMIT = 300;
76595
76602
  var FINISHED_STATUSES = [RunStatuses.completed, RunStatuses.partial, RunStatuses.failed];
@@ -76696,8 +76703,8 @@ function readSyncRunState(db, projectId, kind, options = {}) {
76696
76703
  ...options.nothingToSyncErrors?.length ? [or20(isNull18(runs.error), notInArray3(runs.error, [...options.nothingToSyncErrors]))] : []
76697
76704
  );
76698
76705
  const graded = options.since ? and93(scope, gte29(runs.createdAt, options.since)) : scope;
76699
- const recent = db.select({ id: runs.id, status: runs.status, trigger: runs.trigger, error: runs.error, createdAt: runs.createdAt }).from(runs).where(and93(graded, inArray50(runs.status, FINISHED_STATUSES))).orderBy(desc50(runs.createdAt)).limit(SYNC_FAILURE_WINDOW).all();
76700
- const lastSuccess = db.select({ createdAt: runs.createdAt, finishedAt: runs.finishedAt }).from(runs).where(and93(graded, inArray50(runs.status, SUCCESS_STATUSES))).orderBy(desc50(runs.createdAt)).limit(1).get();
76706
+ const recent = db.select({ id: runs.id, status: runs.status, trigger: runs.trigger, error: runs.error, createdAt: runs.createdAt }).from(runs).where(and93(graded, inArray51(runs.status, FINISHED_STATUSES))).orderBy(desc50(runs.createdAt)).limit(SYNC_FAILURE_WINDOW).all();
76707
+ const lastSuccess = db.select({ createdAt: runs.createdAt, finishedAt: runs.finishedAt }).from(runs).where(and93(graded, inArray51(runs.status, SUCCESS_STATUSES))).orderBy(desc50(runs.createdAt)).limit(1).get();
76701
76708
  const failureCount = db.select({ count: count9() }).from(runs).where(and93(lastSuccess ? and93(graded, gt10(runs.createdAt, lastSuccess.createdAt)) : graded, eq110(runs.status, RunStatuses.failed))).get();
76702
76709
  const failuresSinceSuccess = Number(failureCount?.count ?? 0);
76703
76710
  const latest = recent[0];
@@ -77258,7 +77265,7 @@ var PLACES_CHECK_BY_ID = Object.fromEntries(
77258
77265
  );
77259
77266
 
77260
77267
  // ../api-routes/src/doctor/checks/gbp-reviews.ts
77261
- import { and as and95, desc as desc51, eq as eq114, gte as gte30, inArray as inArray51, sql as sql47 } from "drizzle-orm";
77268
+ import { and as and95, desc as desc51, eq as eq114, gte as gte30, inArray as inArray52, sql as sql47 } from "drizzle-orm";
77262
77269
  var REVIEW_EVENTS = /* @__PURE__ */ new Set(["review.negative", "review.rating-dropped"]);
77263
77270
  var V4_ACCESS_REMEDIATION = "Business Profile reviews use the legacy My Business API (mybusiness.googleapis.com), which Google enables per Cloud project only on request; the API Library and `gcloud services enable` cannot turn it on. Open the enable link in the API access approval email as the approved account, or reply to the access-request thread asking Google to enable mybusiness.googleapis.com for your project number, then run `canonry gbp sync`.";
77264
77271
  var reviewsAccessCheck = {
@@ -77381,7 +77388,7 @@ var reviewDeliveryCheck = {
77381
77388
  payload: reviewWebhookDeliveries.payload
77382
77389
  }).from(reviewWebhookDeliveries).where(and95(
77383
77390
  eq114(reviewWebhookDeliveries.projectId, ctx.project.id),
77384
- inArray51(reviewWebhookDeliveries.state, [ReviewDeliveryStates.Uncertain, ReviewDeliveryStates.Failed]),
77391
+ inArray52(reviewWebhookDeliveries.state, [ReviewDeliveryStates.Uncertain, ReviewDeliveryStates.Failed]),
77385
77392
  gte30(lastTouched, since)
77386
77393
  )).orderBy(desc51(lastTouched)).all();
77387
77394
  if (rows.length === 0) {
@@ -77966,7 +77973,7 @@ var RUNTIME_STATE_CHECKS = [
77966
77973
  ];
77967
77974
 
77968
77975
  // ../api-routes/src/doctor/checks/traffic-source.ts
77969
- import { and as and96, desc as desc52, eq as eq115, gte as gte31, inArray as inArray52, isNotNull as isNotNull10, ne as ne17, sql as sql48 } from "drizzle-orm";
77976
+ import { and as and96, desc as desc52, eq as eq115, gte as gte31, inArray as inArray53, isNotNull as isNotNull10, ne as ne17, sql as sql48 } from "drizzle-orm";
77970
77977
  var RECENT_DATA_WARN_DAYS = 7;
77971
77978
  var RECENT_DATA_FAIL_DAYS = 30;
77972
77979
  function isCloudflareDirectPush(source) {
@@ -78146,7 +78153,7 @@ var recentDataCheck = {
78146
78153
  ctx.db.select({ total: sql48`COALESCE(SUM(${crawlerEventsHourly.hits}), 0)` }).from(crawlerEventsHourly).where(
78147
78154
  and96(
78148
78155
  eq115(crawlerEventsHourly.projectId, ctx.project.id),
78149
- inArray52(crawlerEventsHourly.sourceId, activeSourceIds),
78156
+ inArray53(crawlerEventsHourly.sourceId, activeSourceIds),
78150
78157
  gte31(crawlerEventsHourly.tsHour, warnCutoff)
78151
78158
  )
78152
78159
  ).get()?.total ?? 0
@@ -78155,7 +78162,7 @@ var recentDataCheck = {
78155
78162
  ctx.db.select({ total: sql48`COALESCE(SUM(${aiReferralEventsHourly.sessionsOrHits}), 0)` }).from(aiReferralEventsHourly).where(
78156
78163
  and96(
78157
78164
  eq115(aiReferralEventsHourly.projectId, ctx.project.id),
78158
- inArray52(aiReferralEventsHourly.sourceId, activeSourceIds),
78165
+ inArray53(aiReferralEventsHourly.sourceId, activeSourceIds),
78159
78166
  gte31(aiReferralEventsHourly.tsHour, warnCutoff)
78160
78167
  )
78161
78168
  ).get()?.total ?? 0
@@ -78164,7 +78171,7 @@ var recentDataCheck = {
78164
78171
  ctx.db.select({ total: sql48`COALESCE(SUM(${aiUserFetchEventsHourly.hits}), 0)` }).from(aiUserFetchEventsHourly).where(
78165
78172
  and96(
78166
78173
  eq115(aiUserFetchEventsHourly.projectId, ctx.project.id),
78167
- inArray52(aiUserFetchEventsHourly.sourceId, activeSourceIds),
78174
+ inArray53(aiUserFetchEventsHourly.sourceId, activeSourceIds),
78168
78175
  gte31(aiUserFetchEventsHourly.tsHour, warnCutoff)
78169
78176
  )
78170
78177
  ).get()?.total ?? 0
@@ -78190,7 +78197,7 @@ var recentDataCheck = {
78190
78197
  ctx.db.select({ total: sql48`COALESCE(SUM(${crawlerEventsHourly.hits}), 0)` }).from(crawlerEventsHourly).where(
78191
78198
  and96(
78192
78199
  eq115(crawlerEventsHourly.projectId, ctx.project.id),
78193
- inArray52(crawlerEventsHourly.sourceId, activeSourceIds),
78200
+ inArray53(crawlerEventsHourly.sourceId, activeSourceIds),
78194
78201
  gte31(crawlerEventsHourly.tsHour, failCutoff)
78195
78202
  )
78196
78203
  ).get()?.total ?? 0
@@ -78199,7 +78206,7 @@ var recentDataCheck = {
78199
78206
  ctx.db.select({ total: sql48`COALESCE(SUM(${aiReferralEventsHourly.sessionsOrHits}), 0)` }).from(aiReferralEventsHourly).where(
78200
78207
  and96(
78201
78208
  eq115(aiReferralEventsHourly.projectId, ctx.project.id),
78202
- inArray52(aiReferralEventsHourly.sourceId, activeSourceIds),
78209
+ inArray53(aiReferralEventsHourly.sourceId, activeSourceIds),
78203
78210
  gte31(aiReferralEventsHourly.tsHour, failCutoff)
78204
78211
  )
78205
78212
  ).get()?.total ?? 0
@@ -78208,7 +78215,7 @@ var recentDataCheck = {
78208
78215
  ctx.db.select({ total: sql48`COALESCE(SUM(${aiUserFetchEventsHourly.hits}), 0)` }).from(aiUserFetchEventsHourly).where(
78209
78216
  and96(
78210
78217
  eq115(aiUserFetchEventsHourly.projectId, ctx.project.id),
78211
- inArray52(aiUserFetchEventsHourly.sourceId, activeSourceIds),
78218
+ inArray53(aiUserFetchEventsHourly.sourceId, activeSourceIds),
78212
78219
  gte31(aiUserFetchEventsHourly.tsHour, failCutoff)
78213
78220
  )
78214
78221
  ).get()?.total ?? 0
@@ -79468,7 +79475,7 @@ async function statusRoutes(app, opts) {
79468
79475
 
79469
79476
  // ../api-routes/src/discovery/routes.ts
79470
79477
  import crypto62 from "crypto";
79471
- import { and as and98, desc as desc54, eq as eq117, gte as gte32, inArray as inArray53, isNull as isNull20, or as or21 } from "drizzle-orm";
79478
+ import { and as and98, desc as desc54, eq as eq117, gte as gte32, inArray as inArray54, isNull as isNull20, or as or21 } from "drizzle-orm";
79472
79479
  var MAX_INFLIGHT_DISCOVERY_AGE_MS = 2 * 60 * 60 * 1e3;
79473
79480
  async function discoveryRoutes(app, opts) {
79474
79481
  app.post("/projects/:name/discover/run", async (request, reply) => {
@@ -79523,7 +79530,7 @@ async function discoveryRoutes(app, opts) {
79523
79530
  // must never reuse another set's session. Null (= Gemini-only
79524
79531
  // default, including explicit ['gemini']) matches legacy rows.
79525
79532
  seedProviders == null ? isNull20(discoverySessions.seedProviders) : eq117(discoverySessions.seedProviders, seedProviders),
79526
- inArray53(discoverySessions.status, [
79533
+ inArray54(discoverySessions.status, [
79527
79534
  DiscoverySessionStatuses.queued,
79528
79535
  DiscoverySessionStatuses.seeding,
79529
79536
  DiscoverySessionStatuses.probing
@@ -7,12 +7,12 @@ import {
7
7
  import {
8
8
  createApiClient,
9
9
  runWithUsageTags
10
- } from "./chunk-2VNQKUCW.js";
10
+ } from "./chunk-4PLVST2T.js";
11
11
  import {
12
12
  canonryMcpTools,
13
13
  mcpOutputSchema,
14
14
  toolOperationAccess
15
- } from "./chunk-HTGJSXCR.js";
15
+ } from "./chunk-HUH6676A.js";
16
16
  import {
17
17
  PACKAGE_VERSION
18
18
  } from "./chunk-AOJU5LKX.js";
@@ -25,7 +25,7 @@ import {
25
25
  isReadOnlyKey,
26
26
  restrictedWriteScopes,
27
27
  upgradeCaveatFor
28
- } from "./chunk-WT22Z3I7.js";
28
+ } from "./chunk-CPLY2O4L.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-WT22Z3I7.js";
4
+ } from "./chunk-CPLY2O4L.js";
5
5
 
6
6
  // src/provider-registration.ts
7
7
  function isApiProviderRegistrable(name, entry) {
@@ -3,7 +3,7 @@ import {
3
3
  resolveCliAccess,
4
4
  resolveCliAccessForInvocation,
5
5
  windowOptions
6
- } from "./chunk-7UQZCDYK.js";
6
+ } from "./chunk-MXCBG4Z7.js";
7
7
  import {
8
8
  emitJsonl
9
9
  } from "./chunk-Z7IUAJOF.js";
@@ -14,7 +14,7 @@ import {
14
14
  } from "./chunk-HGMYEDAQ.js";
15
15
  import {
16
16
  OperationAccesses
17
- } from "./chunk-WT22Z3I7.js";
17
+ } from "./chunk-CPLY2O4L.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-6B2O2JQE.js");
125
+ const { printCliCatalog: printCliCatalog2 } = await import("./cli-catalog-LOONVW4I.js");
126
126
  const group2 = argsWithoutHelp.find((arg) => !arg.startsWith("--"));
127
127
  printCliCatalog2(specs, fallbackFormat, group2, accessValue);
128
128
  return true;
@@ -28,7 +28,7 @@ import {
28
28
  unknownUsageObservation,
29
29
  usdToMicros,
30
30
  withRetry
31
- } from "./chunk-WT22Z3I7.js";
31
+ } from "./chunk-CPLY2O4L.js";
32
32
 
33
33
  // ../provider-answer-services/src/core/http.ts
34
34
  var MAX_RESPONSE_BYTES = 8 * 1024 * 1024;
@@ -2,13 +2,13 @@ import {
2
2
  bucketCliCommandDuration,
3
3
  isTelemetryEnabled,
4
4
  trackEvent
5
- } from "./chunk-ZJFLVXDZ.js";
5
+ } from "./chunk-FS65HPCW.js";
6
6
  import {
7
7
  getConfigDir
8
- } from "./chunk-HPFT4IKN.js";
8
+ } from "./chunk-BNSSB6H4.js";
9
9
  import {
10
10
  currentOutcomeAttribution
11
- } from "./chunk-TCXITSDO.js";
11
+ } from "./chunk-N5YFWTDQ.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-WT22Z3I7.js";
22
+ } from "./chunk-CPLY2O4L.js";
23
23
 
24
24
  // src/outcome-telemetry.ts
25
25
  import fs from "fs";
@@ -2,10 +2,10 @@ import {
2
2
  SNAPSHOT_CELL_LEGEND,
3
3
  citationGlyph,
4
4
  mentionGlyph
5
- } from "./chunk-2AECECUY.js";
5
+ } from "./chunk-BDPFPPPQ.js";
6
6
  import {
7
7
  createApiClient
8
- } from "./chunk-2VNQKUCW.js";
8
+ } from "./chunk-4PLVST2T.js";
9
9
  import {
10
10
  emitJsonl
11
11
  } from "./chunk-Z7IUAJOF.js";
@@ -23,7 +23,7 @@ import {
23
23
  formatMicros,
24
24
  formatRunErrorOneLine,
25
25
  resolveProviderInput
26
- } from "./chunk-WT22Z3I7.js";
26
+ } from "./chunk-CPLY2O4L.js";
27
27
 
28
28
  // src/commands/run.ts
29
29
  function getClient() {
@@ -2,7 +2,7 @@ import {
2
2
  CitationStates,
3
3
  hostMatchesDomain,
4
4
  isCitationMeasurable
5
- } from "./chunk-WT22Z3I7.js";
5
+ } from "./chunk-CPLY2O4L.js";
6
6
 
7
7
  // src/citation-utils.ts
8
8
  function pickProjectCitedDomain(citedDomains, projectDomains) {
@@ -4,14 +4,14 @@ import {
4
4
  } from "./chunk-VJWDBFSL.js";
5
5
  import {
6
6
  createApiClient
7
- } from "./chunk-2VNQKUCW.js";
7
+ } from "./chunk-4PLVST2T.js";
8
8
  import {
9
9
  CliError,
10
10
  isMachineFormat
11
11
  } from "./chunk-HGMYEDAQ.js";
12
12
  import {
13
13
  describeError
14
- } from "./chunk-WT22Z3I7.js";
14
+ } from "./chunk-CPLY2O4L.js";
15
15
 
16
16
  // src/commands/mcp.ts
17
17
  import fs from "fs";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-HGMYEDAQ.js";
5
5
  import {
6
6
  describeError
7
- } from "./chunk-WT22Z3I7.js";
7
+ } from "./chunk-CPLY2O4L.js";
8
8
 
9
9
  // src/gsc-sitemap-submission.ts
10
10
  function dedupeGscSitemapUrls(urls) {
@@ -3,14 +3,14 @@ import {
3
3
  citationGlyph,
4
4
  citedBase,
5
5
  mentionGlyph
6
- } from "./chunk-2AECECUY.js";
6
+ } from "./chunk-BDPFPPPQ.js";
7
7
  import {
8
8
  createApiClient
9
- } from "./chunk-2VNQKUCW.js";
10
- import "./chunk-HPFT4IKN.js";
9
+ } from "./chunk-4PLVST2T.js";
10
+ import "./chunk-BNSSB6H4.js";
11
11
  import "./chunk-AOJU5LKX.js";
12
12
  import "./chunk-HGMYEDAQ.js";
13
- import "./chunk-WT22Z3I7.js";
13
+ import "./chunk-CPLY2O4L.js";
14
14
  import "./chunk-MLKGABMK.js";
15
15
 
16
16
  // src/commands/citations.ts
@@ -3,11 +3,11 @@ import {
3
3
  buildCliCatalog,
4
4
  printCliCatalog,
5
5
  renderTopLevelHelp
6
- } from "./chunk-7VKVGR6X.js";
7
- import "./chunk-7UQZCDYK.js";
6
+ } from "./chunk-TXH5BMVL.js";
7
+ import "./chunk-MXCBG4Z7.js";
8
8
  import "./chunk-Z7IUAJOF.js";
9
9
  import "./chunk-HGMYEDAQ.js";
10
- import "./chunk-WT22Z3I7.js";
10
+ import "./chunk-CPLY2O4L.js";
11
11
  import "./chunk-MLKGABMK.js";
12
12
  export {
13
13
  CLI_ROOT_SUMMARIES,
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  REGISTERED_CLI_COMMANDS
3
- } from "./chunk-7XJG2OTB.js";
3
+ } from "./chunk-NF2BC4W2.js";
4
4
  import "./chunk-6GO5VVAC.js";
5
5
  import "./chunk-VJWDBFSL.js";
6
- import "./chunk-MDRAKMCV.js";
6
+ import "./chunk-NWOPXLH3.js";
7
7
  import "./chunk-TSENU4GG.js";
8
- import "./chunk-2VNQKUCW.js";
9
- import "./chunk-HPFT4IKN.js";
10
- import "./chunk-7UQZCDYK.js";
8
+ import "./chunk-4PLVST2T.js";
9
+ import "./chunk-BNSSB6H4.js";
10
+ import "./chunk-MXCBG4Z7.js";
11
11
  import "./chunk-Z7IUAJOF.js";
12
- import "./chunk-D76TB5JS.js";
12
+ import "./chunk-73SA4H5D.js";
13
13
  import "./chunk-AOJU5LKX.js";
14
14
  import "./chunk-HGMYEDAQ.js";
15
- import "./chunk-WT22Z3I7.js";
15
+ import "./chunk-CPLY2O4L.js";
16
16
  import "./chunk-MLKGABMK.js";
17
17
  export {
18
18
  REGISTERED_CLI_COMMANDS