@canonry/canonry 7.101.0 → 7.104.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 (148) hide show
  1. package/assets/agent-workspace/skills/aero/references/ai-traffic-tracking.md +32 -4
  2. package/assets/agent-workspace/skills/canonry/references/ai-traffic-tracking.md +32 -4
  3. package/assets/agent-workspace/skills/canonry/references/canonry-cli.md +29 -2
  4. package/assets/agent-workspace/skills/canonry/references/server-side-traffic.md +51 -15
  5. package/assets/assets/{AccessControls-BMcboMU7.js → AccessControls-CBkDcxwx.js} +1 -1
  6. package/assets/assets/{AgentSetupPage-D8zYfyZC.js → AgentSetupPage-iGYETW-I.js} +4 -4
  7. package/assets/assets/AuditHistoryPanel-DiFMK7eE.js +1 -0
  8. package/assets/assets/{BacklinksPage-D8HxzRDh.js → BacklinksPage-Cg9LQLMo.js} +1 -1
  9. package/assets/assets/{ChartPrimitives-nJi3Kmez.js → ChartPrimitives-DYS88Zzt.js} +1 -1
  10. package/assets/assets/{HistoryPage-DZ9Cuei4.js → HistoryPage-CmI5CX94.js} +1 -1
  11. package/assets/assets/MeasurementPropertyPage-DshJzp9b.js +4 -0
  12. package/assets/assets/ProjectPage-DwVxUhxM.js +15 -0
  13. package/assets/assets/{RunsPage-Q_prFKG5.js → RunsPage-BqvrT8Xm.js} +1 -1
  14. package/assets/assets/{ServerTrafficSection-D03quNUe.js → ServerTrafficSection-CtFe7WDd.js} +2 -2
  15. package/assets/assets/{SettingsPage-BjNzAJC4.js → SettingsPage-snu8wJ8l.js} +1 -1
  16. package/assets/assets/ToneBadge-CkTo2T8d.js +60 -0
  17. package/assets/assets/{TrafficPage-B6W88b1f.js → TrafficPage-BxiiQjwl.js} +1 -1
  18. package/assets/assets/TrafficSourceDetailPage-8BKFz7py.js +1 -0
  19. package/assets/assets/{account-context-Do9YhtFR.js → account-context-BlfC71NP.js} +1 -1
  20. package/assets/assets/{agent-trust-copy-CYbhNL0S.js → agent-trust-copy-C_J3OmRg.js} +1 -1
  21. package/assets/assets/{card-FXvJKWST.js → card-CeXmlLH2.js} +1 -1
  22. package/assets/assets/index-BKbmkmyo.js +43 -0
  23. package/assets/assets/{index-C4GJ1tQ2.css → index-DPz1idfn.css} +1 -1
  24. package/assets/assets/{query-client-BhpTEFNb.js → query-client-DWYnC2Lg.js} +1 -1
  25. package/assets/assets/react-query-CQhkmL4O.js +1 -0
  26. package/assets/assets/{react-sigma_core.esm.min-DseCmd8v.js → react-sigma_core.esm.min-YHPB9pkU.js} +1 -1
  27. package/assets/assets/{server-traffic-1qKARWJy.js → server-traffic-ChxoKQ0y.js} +1 -1
  28. package/assets/assets/{service-CLPD132h.js → service-u1pn5oyA.js} +1 -1
  29. package/assets/index.html +9 -9
  30. package/dist/{ads-BCYHOU4L.js → ads-ARJJACSH.js} +3 -3
  31. package/dist/{agent-EX5MI762.js → agent-57EQMSOO.js} +7 -7
  32. package/dist/{agent-ask-BQPVESBJ.js → agent-ask-TF2WTRTO.js} +3 -3
  33. package/dist/{agent-conversations-A3JVDL3D.js → agent-conversations-5GXNREFK.js} +3 -3
  34. package/dist/{agent-journeys-3LQ7XWYH.js → agent-journeys-6CDPI4TE.js} +3 -3
  35. package/dist/{agent-memory-LPQQOZR7.js → agent-memory-X3FQ4YDE.js} +3 -3
  36. package/dist/{agent-providers-34EDHZQB.js → agent-providers-32Z3YXO4.js} +3 -3
  37. package/dist/{agent-transcript-LQUMSRRD.js → agent-transcript-2S64XPF2.js} +3 -3
  38. package/dist/{analytics-CVTVJUUE.js → analytics-WPCHRXQZ.js} +3 -3
  39. package/dist/{apply-6532DFBW.js → apply-3WHRQBQB.js} +3 -3
  40. package/dist/{backfill-TC57HUDP.js → backfill-KR2NSPSE.js} +10 -10
  41. package/dist/{backlinks-MZXW2DZL.js → backlinks-TRVNCPUB.js} +3 -3
  42. package/dist/{bing-VTXDVW6U.js → bing-F3B76XX5.js} +3 -3
  43. package/dist/{bootstrap-3IC5HUMH.js → bootstrap-QOAGLWNN.js} +10 -10
  44. package/dist/{cdp-CTL2TJE6.js → cdp-4I3DNMLG.js} +7 -7
  45. package/dist/{chunk-E2SYIZ55.js → chunk-2AECECUY.js} +1 -1
  46. package/dist/{chunk-WSAWPVPE.js → chunk-2QWG6HWM.js} +5 -5
  47. package/dist/{chunk-G7LYCMQJ.js → chunk-2VNQKUCW.js} +32 -2
  48. package/dist/{chunk-2FFTK4PG.js → chunk-3V5Y2XTA.js} +1 -1
  49. package/dist/{chunk-L7WSODHZ.js → chunk-52D6WBCZ.js} +1 -1
  50. package/dist/{chunk-WDGVJPWZ.js → chunk-5FMZGO6R.js} +4 -4
  51. package/dist/{chunk-F4FHK5IK.js → chunk-6AW6ONTF.js} +2 -2
  52. package/dist/{chunk-FGITR7KU.js → chunk-7UQZCDYK.js} +4 -1
  53. package/dist/{chunk-MUK7BYVL.js → chunk-7VKVGR6X.js} +3 -3
  54. package/dist/{chunk-OMGPF7QF.js → chunk-BYYP43Q3.js} +261 -1
  55. package/dist/{chunk-YMWX6QAX.js → chunk-C6RWAAF6.js} +4 -4
  56. package/dist/{chunk-S7UYYD2Y.js → chunk-CCHYRLX4.js} +2 -2
  57. package/dist/{chunk-UBOUJ6RS.js → chunk-CJ55MGWI.js} +1 -1
  58. package/dist/{chunk-AOIDPATQ.js → chunk-D76TB5JS.js} +1 -1
  59. package/dist/{chunk-JFTB74BQ.js → chunk-DLZCOJCY.js} +1 -1
  60. package/dist/{chunk-HN4EB3RS.js → chunk-FCUUJO3Z.js} +2 -2
  61. package/dist/{chunk-VAHTXCUU.js → chunk-FUERP5PU.js} +567 -185
  62. package/dist/{chunk-2T5HRNYT.js → chunk-HLM3GYK4.js} +1 -1
  63. package/dist/{chunk-7HQWMG3E.js → chunk-HPFT4IKN.js} +31 -1
  64. package/dist/{chunk-VLNJ2HEZ.js → chunk-HTGJSXCR.js} +5 -5
  65. package/dist/{chunk-5TSSSL2I.js → chunk-K32GU473.js} +632 -462
  66. package/dist/{chunk-BRNVPRLS.js → chunk-LCZZACLE.js} +3 -3
  67. package/dist/{chunk-5WZPTVEF.js → chunk-MDRAKMCV.js} +3 -3
  68. package/dist/{chunk-CT45LO6U.js → chunk-MT2LENZA.js} +6 -6
  69. package/dist/{chunk-2UF2K6MD.js → chunk-PL76V2DY.js} +3107 -1665
  70. package/dist/{chunk-3SJDTQMT.js → chunk-QRR5ZW22.js} +3 -3
  71. package/dist/{chunk-F73M7PKH.js → chunk-R4VAGCFW.js} +286 -28
  72. package/dist/{chunk-3ED3KWEP.js → chunk-RBAK7RQX.js} +409 -366
  73. package/dist/{chunk-XM6OZ2OK.js → chunk-SFLSZXLO.js} +4 -4
  74. package/dist/{chunk-3QA5NJR4.js → chunk-SZ64N26K.js} +1 -1
  75. package/dist/{chunk-YIJLFPSH.js → chunk-T3G44DHS.js} +46 -31
  76. package/dist/{chunk-XZE6RAHE.js → chunk-TCXITSDO.js} +1 -1
  77. package/dist/{chunk-UE27XRSS.js → chunk-TFP6UJXW.js} +3 -3
  78. package/dist/{chunk-PX7O4WH2.js → chunk-WQQ4TNIY.js} +2 -2
  79. package/dist/{chunk-6UB4Y6CB.js → chunk-WT22Z3I7.js} +361 -143
  80. package/dist/{chunk-CLYPPLCG.js → chunk-ZJFLVXDZ.js} +2 -2
  81. package/dist/{citations-QXQ5MUSF.js → citations-6CW3G5YP.js} +4 -4
  82. package/dist/{cli-catalog-B3TUL26L.js → cli-catalog-6B2O2JQE.js} +3 -3
  83. package/dist/{cli-commands-R3CN4VVC.js → cli-commands-RJX2UC5L.js} +7 -7
  84. package/dist/cli.js +13 -13
  85. package/dist/{competitor-25MZKLVJ.js → competitor-D4BVO2KQ.js} +3 -3
  86. package/dist/{content-4STS5IKM.js → content-H2PGFRWM.js} +3 -3
  87. package/dist/{dashboard-XBMH4MGN.js → dashboard-4GWISEMI.js} +6 -6
  88. package/dist/{demo-2S46SBJD.js → demo-63JTCWN5.js} +1 -1
  89. package/dist/{demo-server-JTRHOBVR.js → demo-server-QA5OSH45.js} +12 -12
  90. package/dist/{discover-W6BSJXYO.js → discover-K4GIXAN5.js} +4 -4
  91. package/dist/{discover-eval-VP3XYODD.js → discover-eval-L4IF5XFV.js} +3 -3
  92. package/dist/{doctor-M5CC6T2H.js → doctor-OVJTEQCK.js} +3 -3
  93. package/dist/{evidence-KA6S266J.js → evidence-MXQK4YYL.js} +3 -3
  94. package/dist/{export-cmd-IBWYGJ2S.js → export-cmd-Z3CWJALI.js} +3 -3
  95. package/dist/{ga-GR2QLPZI.js → ga-347UNNJP.js} +3 -3
  96. package/dist/{gbp-U7NRBE2Q.js → gbp-47MIYIQC.js} +3 -3
  97. package/dist/{google-IV62SWDP.js → google-7Q3FYNVP.js} +4 -4
  98. package/dist/{google-marketing-LBEJZ2NZ.js → google-marketing-TMKWY5AP.js} +1 -1
  99. package/dist/{health-cmd-Y57EUJCG.js → health-cmd-77TMLQ6T.js} +4 -4
  100. package/dist/{history-ZKZNZ24X.js → history-Q756HPJM.js} +3 -3
  101. package/dist/index.d.ts +867 -14
  102. package/dist/index.js +25 -25
  103. package/dist/{init-X6NNIX63.js → init-CLSFH5OL.js} +12 -12
  104. package/dist/{insights-3A2I5LQ5.js → insights-TPNHIVNH.js} +3 -3
  105. package/dist/intelligence-service-TTDFQ2TB.js +16 -0
  106. package/dist/{journeys-WHQ4XC4I.js → journeys-F6UAVPVI.js} +3 -3
  107. package/dist/{keys-6XIMEOV2.js → keys-Q6VMDIAH.js} +3 -3
  108. package/dist/{keyword-DGGFQNYE.js → keyword-7BH5P5P7.js} +3 -3
  109. package/dist/{logs-Z5ZV7ODN.js → logs-P2J6XFVJ.js} +3 -3
  110. package/dist/{mcp-U64GUOQN.js → mcp-RPXFNAKS.js} +4 -4
  111. package/dist/mcp.js +9 -9
  112. package/dist/{measurement-plan-J5ERRBIR.js → measurement-plan-KKUB6SLB.js} +5 -5
  113. package/dist/{notify-43M77D6T.js → notify-2IK6NR7Y.js} +3 -3
  114. package/dist/{organic-evidence-H2X6ILDC.js → organic-evidence-N4HIUIHJ.js} +3 -3
  115. package/dist/{overview-XT35O2XZ.js → overview-FSNB42W5.js} +5 -5
  116. package/dist/{project-F2EKXLWT.js → project-D5ODS46C.js} +3 -3
  117. package/dist/{project-setup-5GB65EUE.js → project-setup-X7NGKC4R.js} +3 -3
  118. package/dist/{query-MHSMDWMP.js → query-JGCEDLI2.js} +3 -3
  119. package/dist/{research-FH62JC57.js → research-3S5FLAFX.js} +3 -3
  120. package/dist/{results-export-D4VB2OBW.js → results-export-YMX4F2K6.js} +3 -3
  121. package/dist/{run-B4B3CG7J.js → run-MCJAGAHJ.js} +5 -5
  122. package/dist/{schedule-BUJX7ULT.js → schedule-CLWDPYZG.js} +3 -3
  123. package/dist/{search-6CXRPRG6.js → search-X7SXPESS.js} +3 -3
  124. package/dist/{serve-BAIQI6TL.js → serve-WDUJ36KJ.js} +26 -26
  125. package/dist/{session-AXSKOKCZ.js → session-M66S3VTK.js} +13 -13
  126. package/dist/{settings-TADPOGVE.js → settings-UZEODHZ3.js} +3 -3
  127. package/dist/{sitemaps-HHEQTH4E.js → sitemaps-SK2ZE5EJ.js} +3 -3
  128. package/dist/{skills-4L7SDS6D.js → skills-SI6C7MPT.js} +2 -2
  129. package/dist/{snapshot-6RWDOATX.js → snapshot-AOQUU5Q2.js} +3 -3
  130. package/dist/{src-XZVMW2PD.js → src-BXXLPHVZ.js} +10 -2
  131. package/dist/{status-4NRAVD3B.js → status-TMKQNQ74.js} +5 -5
  132. package/dist/{technical-aeo-DBWEDC3J.js → technical-aeo-WBLZMCUY.js} +3 -3
  133. package/dist/{telemetry-OEAHQV6Q.js → telemetry-DS22S3C3.js} +4 -4
  134. package/dist/{tools-64NJHOA5.js → tools-W63YOE6T.js} +11 -11
  135. package/dist/{traffic-M2TCCDCP.js → traffic-6AIRXYMI.js} +24 -7
  136. package/dist/{trends-XHOOQAGY.js → trends-LEAXHSM6.js} +3 -3
  137. package/dist/{users-VX5RRVBY.js → users-VCNIWES5.js} +54 -4
  138. package/dist/{visibility-stats-QGEQKBPJ.js → visibility-stats-4XA2YZET.js} +4 -4
  139. package/dist/{wordpress-HRTBWGT4.js → wordpress-YG3ECQXW.js} +3 -3
  140. package/package.json +1 -1
  141. package/assets/assets/AuditHistoryPanel-DWM5jJ3T.js +0 -1
  142. package/assets/assets/MeasurementPropertyPage-9-ItFHr-.js +0 -4
  143. package/assets/assets/ProjectPage-yQTM6p0E.js +0 -15
  144. package/assets/assets/ToneBadge-BZJuMrq1.js +0 -60
  145. package/assets/assets/TrafficSourceDetailPage-zSr5FqmD.js +0 -1
  146. package/assets/assets/index-BYLZIyID.js +0 -43
  147. package/assets/assets/react-query-Cja6j8Tp.js +0 -1
  148. package/dist/intelligence-service-5FILIP2J.js +0 -16
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  trackCliConnection
3
- } from "./chunk-HN4EB3RS.js";
3
+ } from "./chunk-FCUUJO3Z.js";
4
4
  import {
5
5
  outcomeFailure
6
- } from "./chunk-WDGVJPWZ.js";
7
- import "./chunk-CLYPPLCG.js";
6
+ } from "./chunk-5FMZGO6R.js";
7
+ import "./chunk-ZJFLVXDZ.js";
8
8
  import {
9
9
  createApiClient
10
- } from "./chunk-G7LYCMQJ.js";
10
+ } from "./chunk-2VNQKUCW.js";
11
11
  import {
12
12
  loadConfig,
13
13
  saveConfigPatch
14
- } from "./chunk-7HQWMG3E.js";
14
+ } from "./chunk-HPFT4IKN.js";
15
15
  import "./chunk-AOJU5LKX.js";
16
16
  import {
17
17
  CliError,
18
18
  isMachineFormat
19
19
  } from "./chunk-HGMYEDAQ.js";
20
- import "./chunk-XZE6RAHE.js";
20
+ import "./chunk-TCXITSDO.js";
21
21
  import {
22
22
  describeError
23
- } from "./chunk-6UB4Y6CB.js";
23
+ } from "./chunk-WT22Z3I7.js";
24
24
  import "./chunk-MLKGABMK.js";
25
25
 
26
26
  // src/commands/cdp.ts
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  CitationStates
3
- } from "./chunk-6UB4Y6CB.js";
3
+ } from "./chunk-WT22Z3I7.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,9 +1,9 @@
1
1
  import {
2
2
  pickProjectCitedDomain
3
- } from "./chunk-UBOUJ6RS.js";
3
+ } from "./chunk-CJ55MGWI.js";
4
4
  import {
5
5
  createLogger
6
- } from "./chunk-PX7O4WH2.js";
6
+ } from "./chunk-WQQ4TNIY.js";
7
7
  import {
8
8
  GBP_INSIGHT_PROVIDER,
9
9
  PERSISTENT_GAP_THRESHOLD,
@@ -17,7 +17,7 @@ import {
17
17
  mergeGscQueryTotalsWithFallback,
18
18
  readGscQueryDailyRows,
19
19
  readLatestGscDataDate
20
- } from "./chunk-2UF2K6MD.js";
20
+ } from "./chunk-PL76V2DY.js";
21
21
  import {
22
22
  competitors,
23
23
  gbpDailyMetrics,
@@ -35,7 +35,7 @@ import {
35
35
  queries,
36
36
  querySnapshots,
37
37
  runs
38
- } from "./chunk-OMGPF7QF.js";
38
+ } from "./chunk-BYYP43Q3.js";
39
39
  import {
40
40
  CitationStates,
41
41
  RunKinds,
@@ -44,7 +44,7 @@ import {
44
44
  effectiveDomains,
45
45
  isCitationStateMeasured,
46
46
  readCitationState
47
- } from "./chunk-6UB4Y6CB.js";
47
+ } from "./chunk-WT22Z3I7.js";
48
48
 
49
49
  // src/intelligence-service.ts
50
50
  import { eq, desc, asc, and, ne, or, inArray, gte, lte, isNull, sql, exists } from "drizzle-orm";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  loadConfig
3
- } from "./chunk-7HQWMG3E.js";
3
+ } from "./chunk-HPFT4IKN.js";
4
4
  import {
5
5
  PACKAGE_VERSION
6
6
  } from "./chunk-AOJU5LKX.js";
@@ -36,7 +36,7 @@ import {
36
36
  sentimentSettingsReadSchema,
37
37
  sentimentSummaryReadSchema,
38
38
  upgradeCommandFor
39
- } from "./chunk-6UB4Y6CB.js";
39
+ } from "./chunk-WT22Z3I7.js";
40
40
 
41
41
  // ../api-client-generated/src/generated/core/bodySerializer.gen.ts
42
42
  var jsonBodySerializer = {
@@ -1953,6 +1953,25 @@ var deleteApiV1UsersByName = (options) => (options.client ?? client).delete({
1953
1953
  url: "/api/v1/users/{name}",
1954
1954
  ...options
1955
1955
  });
1956
+ var getApiV1UsersInvitations = (options) => (options?.client ?? client).get({
1957
+ security: [{ scheme: "bearer", type: "http" }],
1958
+ url: "/api/v1/users/invitations",
1959
+ ...options
1960
+ });
1961
+ var postApiV1UsersInvitations = (options) => (options.client ?? client).post({
1962
+ security: [{ scheme: "bearer", type: "http" }],
1963
+ url: "/api/v1/users/invitations",
1964
+ ...options,
1965
+ headers: {
1966
+ "Content-Type": "application/json",
1967
+ ...options.headers
1968
+ }
1969
+ });
1970
+ var deleteApiV1UsersInvitationsById = (options) => (options.client ?? client).delete({
1971
+ security: [{ scheme: "bearer", type: "http" }],
1972
+ url: "/api/v1/users/invitations/{id}",
1973
+ ...options
1974
+ });
1956
1975
  var postApiV1Snapshot = (options) => (options.client ?? client).post({
1957
1976
  security: [{ scheme: "bearer", type: "http" }],
1958
1977
  url: "/api/v1/snapshot",
@@ -4980,6 +4999,17 @@ var ApiClient = class {
4980
4999
  () => deleteApiV1UsersByName({ client: this.heyClient, path: { name } })
4981
5000
  );
4982
5001
  }
5002
+ async listUserInvitations() {
5003
+ return this.invoke(() => getApiV1UsersInvitations({ client: this.heyClient }));
5004
+ }
5005
+ async createUserInvitation(body) {
5006
+ return this.invoke(() => postApiV1UsersInvitations({ client: this.heyClient, body }));
5007
+ }
5008
+ async revokeUserInvitation(id) {
5009
+ return this.invoke(
5010
+ () => deleteApiV1UsersInvitationsById({ client: this.heyClient, path: { id } })
5011
+ );
5012
+ }
4983
5013
  async updateProvider(name, body) {
4984
5014
  return this.invoke(
4985
5015
  () => putApiV1SettingsProvidersByName({ client: this.heyClient, path: { name }, body })
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  cloudflareQueueNameSchema
3
- } from "./chunk-6UB4Y6CB.js";
3
+ } from "./chunk-WT22Z3I7.js";
4
4
 
5
5
  // src/cloudflare-traffic-config.ts
6
6
  function unsupportedDeliveryMode(deliveryMode) {
@@ -28,7 +28,7 @@ import {
28
28
  unknownUsageObservation,
29
29
  usdToMicros,
30
30
  withRetry
31
- } from "./chunk-6UB4Y6CB.js";
31
+ } from "./chunk-WT22Z3I7.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-CLYPPLCG.js";
5
+ } from "./chunk-ZJFLVXDZ.js";
6
6
  import {
7
7
  getConfigDir
8
- } from "./chunk-7HQWMG3E.js";
8
+ } from "./chunk-HPFT4IKN.js";
9
9
  import {
10
10
  currentOutcomeAttribution
11
- } from "./chunk-XZE6RAHE.js";
11
+ } from "./chunk-TCXITSDO.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-6UB4Y6CB.js";
22
+ } from "./chunk-WT22Z3I7.js";
23
23
 
24
24
  // src/outcome-telemetry.ts
25
25
  import fs from "fs";
@@ -5,7 +5,7 @@ import {
5
5
  siteCrawlGraphNodes,
6
6
  siteCrawlPages,
7
7
  siteCrawlSnapshots
8
- } from "./chunk-OMGPF7QF.js";
8
+ } from "./chunk-BYYP43Q3.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-6UB4Y6CB.js";
18
+ } from "./chunk-WT22Z3I7.js";
19
19
 
20
20
  // src/site-audit-factors.ts
21
21
  function recordedSharePct(factor) {
@@ -5,7 +5,7 @@ import {
5
5
  AppError,
6
6
  parseWindowIn,
7
7
  resolveDateRange
8
- } from "./chunk-6UB4Y6CB.js";
8
+ } from "./chunk-WT22Z3I7.js";
9
9
 
10
10
  // src/cli-access.ts
11
11
  var CLI_ACCESS_BY_ID = Object.freeze({
@@ -451,7 +451,10 @@ var CLI_ACCESS_BY_ID = Object.freeze({
451
451
  "user": "stored",
452
452
  "user.create": "write",
453
453
  "user.delete": "write",
454
+ "user.invitations": "stored",
455
+ "user.invite": "write",
454
456
  "user.list": "stored",
457
+ "user.uninvite": "write",
455
458
  "visibility-compare": "stored",
456
459
  "visibility-stats": "stored",
457
460
  "wordpress": "write",
@@ -3,7 +3,7 @@ import {
3
3
  resolveCliAccess,
4
4
  resolveCliAccessForInvocation,
5
5
  windowOptions
6
- } from "./chunk-FGITR7KU.js";
6
+ } from "./chunk-7UQZCDYK.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-6UB4Y6CB.js";
17
+ } from "./chunk-WT22Z3I7.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-B3TUL26L.js");
125
+ const { printCliCatalog: printCliCatalog2 } = await import("./cli-catalog-6B2O2JQE.js");
126
126
  const group2 = argsWithoutHelp.find((arg) => !arg.startsWith("--"));
127
127
  printCliCatalog2(specs, fallbackFormat, group2, accessValue);
128
128
  return true;
@@ -20,7 +20,7 @@ import {
20
20
  templateLinkRatio,
21
21
  templateLinkUbiquityAvailable,
22
22
  validationError
23
- } from "./chunk-6UB4Y6CB.js";
23
+ } from "./chunk-WT22Z3I7.js";
24
24
  import {
25
25
  __export
26
26
  } from "./chunk-MLKGABMK.js";
@@ -71,6 +71,8 @@ __export(schema_exports, {
71
71
  bingTrafficDaily: () => bingTrafficDaily,
72
72
  bingUrlInspections: () => bingUrlInspections,
73
73
  ccReleaseSyncs: () => ccReleaseSyncs,
74
+ chatgptLoginTransactions: () => chatgptLoginTransactions,
75
+ chatgptPlanConnections: () => chatgptPlanConnections,
74
76
  competitors: () => competitors,
75
77
  contentTargetDismissals: () => contentTargetDismissals,
76
78
  conversionTrackingContracts: () => conversionTrackingContracts,
@@ -196,6 +198,8 @@ __export(schema_exports, {
196
198
  unrecognizedAgentEventsHourly: () => unrecognizedAgentEventsHourly,
197
199
  unrecognizedAgentNotifyState: () => unrecognizedAgentNotifyState,
198
200
  usageCounters: () => usageCounters,
201
+ userExternalIdentities: () => userExternalIdentities,
202
+ userInvitations: () => userInvitations,
199
203
  userSessions: () => userSessions,
200
204
  users: () => users
201
205
  });
@@ -943,6 +947,66 @@ var userSessions = sqliteTable2("user_sessions", {
943
947
  index2("idx_user_sessions_user").on(table.userId),
944
948
  index2("idx_user_sessions_expires").on(table.expiresAt)
945
949
  ]);
950
+ var userExternalIdentities = sqliteTable2("user_external_identities", {
951
+ id: text2("id").primaryKey(),
952
+ userId: text2("user_id").notNull().references(() => users.id, { onDelete: "cascade" }),
953
+ provider: text2("provider").$type().notNull(),
954
+ issuer: text2("issuer").notNull(),
955
+ clientId: text2("client_id").notNull(),
956
+ subject: text2("subject").notNull(),
957
+ email: text2("email"),
958
+ createdAt: text2("created_at").notNull(),
959
+ lastLoginAt: text2("last_login_at")
960
+ }, (table) => [
961
+ uniqueIndex2("idx_user_external_identities_subject").on(table.issuer, table.clientId, table.subject),
962
+ uniqueIndex2("idx_user_external_identities_user_provider").on(table.userId, table.provider)
963
+ ]);
964
+ var userInvitations = sqliteTable2("user_invitations", {
965
+ id: text2("id").primaryKey(),
966
+ /** As the administrator typed it, for display. */
967
+ email: text2("email").notNull(),
968
+ /** Lower-cased, trimmed email: what a sign-in is matched against. */
969
+ emailKey: text2("email_key").notNull(),
970
+ role: text2("role").$type().notNull(),
971
+ createdById: text2("created_by_id").references(() => users.id, { onDelete: "set null" }),
972
+ createdAt: text2("created_at").notNull(),
973
+ expiresAt: text2("expires_at").notNull(),
974
+ acceptedAt: text2("accepted_at"),
975
+ acceptedUserId: text2("accepted_user_id").references(() => users.id, { onDelete: "set null" }),
976
+ revokedAt: text2("revoked_at")
977
+ }, (table) => [
978
+ index2("idx_user_invitations_email").on(table.emailKey)
979
+ ]);
980
+ var chatgptPlanConnections = sqliteTable2("chatgpt_plan_connections", {
981
+ userId: text2("user_id").primaryKey().references(() => users.id, { onDelete: "cascade" }),
982
+ /** New on every connect, so a reconnect is a fresh grant, never a resumed one. */
983
+ id: text2("id").notNull().unique(),
984
+ identityId: text2("identity_id").notNull().references(() => userExternalIdentities.id, { onDelete: "cascade" }),
985
+ status: text2("status").$type().notNull(),
986
+ /** Space-separated scopes OpenAI actually granted. */
987
+ scopes: text2("scopes").notNull(),
988
+ tokens: text2("tokens").notNull(),
989
+ accessExpiresAt: text2("access_expires_at").notNull(),
990
+ modelId: text2("model_id"),
991
+ revision: integer2("revision").notNull().default(0),
992
+ connectedAt: text2("connected_at").notNull(),
993
+ updatedAt: text2("updated_at").notNull()
994
+ });
995
+ var chatgptLoginTransactions = sqliteTable2("chatgpt_login_transactions", {
996
+ stateHash: text2("state_hash").primaryKey(),
997
+ browserHash: text2("browser_hash").notNull(),
998
+ intent: text2("intent").$type().notNull(),
999
+ /** The signed-in account a `connect` belongs to. Null for `login`. */
1000
+ userId: text2("user_id").references(() => users.id, { onDelete: "cascade" }),
1001
+ nonce: text2("nonce").notNull(),
1002
+ /** Space-separated scopes requested, to compare with what was granted. */
1003
+ scopes: text2("scopes").notNull(),
1004
+ returnTo: text2("return_to"),
1005
+ createdAt: text2("created_at").notNull(),
1006
+ expiresAt: text2("expires_at").notNull()
1007
+ }, (table) => [
1008
+ index2("idx_chatgpt_login_transactions_expires").on(table.expiresAt)
1009
+ ]);
946
1010
  var dashboardSessions = sqliteTable2("dashboard_sessions", {
947
1011
  tokenHash: text2("token_hash").primaryKey(),
948
1012
  apiKeyId: text2("api_key_id").notNull().references(() => apiKeys.id, { onDelete: "cascade" }),
@@ -2609,6 +2673,19 @@ var trafficSources = sqliteTable2("traffic_sources", {
2609
2673
  * back to where journeys began, or clears it when no older hour is left.
2610
2674
  */
2611
2675
  aiReferralOlderCountUntil: text2("ai_referral_older_count_until"),
2676
+ /**
2677
+ * The exclusive end of the last hour whose hosted browser agent (Google-Agent,
2678
+ * Claude-Agent) AI user fetches this source counted under older rules; hours
2679
+ * from it on count those agents' page loads only. Older hours were counted
2680
+ * differently and can read high (every file, data call and beacon counted)
2681
+ * or low (whole visits judged likely fake); they were not recounted
2682
+ * (hourly rows keep no method or query). NULL when the source holds no such
2683
+ * hour. Set by migration v222 and by the stored traffic pass; a replace-mode
2684
+ * backfill moves it back to the end of the last browser-agent hour before
2685
+ * its window, or clears it when none remains. Trend fits and comparisons
2686
+ * leave earlier hours out.
2687
+ */
2688
+ aiUserFetchOlderCountUntil: text2("ai_user_fetch_older_count_until"),
2612
2689
  archivedAt: text2("archived_at"),
2613
2690
  configJson: text2("config_json", { mode: "json" }).$type().notNull().default({}),
2614
2691
  // sha256 hex of the per-source bearer token issued at connect time. Only
@@ -9223,8 +9300,184 @@ var MIGRATION_VERSIONS = [
9223
9300
  `ALTER TABLE site_crawl_snapshots ADD COLUMN sites TEXT`,
9224
9301
  `CREATE INDEX IF NOT EXISTS idx_site_crawl_pages_site ON site_crawl_pages(project_id, run_id, attempt_id, site, path)`
9225
9302
  ]
9303
+ },
9304
+ {
9305
+ version: 220,
9306
+ name: "chatgpt-sign-in",
9307
+ // Sign in with ChatGPT: linked identities, email invitations, each
9308
+ // person's plan grant for their own Aero turns, and in-flight sign-ins.
9309
+ // Additive only. Accounts created through an invitation keep the users
9310
+ // table's NOT NULL password column with a marker no password can match,
9311
+ // so the account table is not rebuilt on large installs.
9312
+ statements: [
9313
+ `CREATE TABLE IF NOT EXISTS user_external_identities (
9314
+ id TEXT PRIMARY KEY,
9315
+ user_id TEXT NOT NULL REFERENCES users(id) ON DELETE CASCADE,
9316
+ provider TEXT NOT NULL CHECK (provider IN ('chatgpt')),
9317
+ issuer TEXT NOT NULL,
9318
+ client_id TEXT NOT NULL,
9319
+ subject TEXT NOT NULL,
9320
+ email TEXT,
9321
+ created_at TEXT NOT NULL,
9322
+ last_login_at TEXT
9323
+ )`,
9324
+ `CREATE UNIQUE INDEX IF NOT EXISTS idx_user_external_identities_subject
9325
+ ON user_external_identities(issuer, client_id, subject)`,
9326
+ `CREATE UNIQUE INDEX IF NOT EXISTS idx_user_external_identities_user_provider
9327
+ ON user_external_identities(user_id, provider)`,
9328
+ `CREATE TABLE IF NOT EXISTS user_invitations (
9329
+ id TEXT PRIMARY KEY,
9330
+ email TEXT NOT NULL,
9331
+ email_key TEXT NOT NULL,
9332
+ role TEXT NOT NULL CHECK (role IN ('admin', 'viewer')),
9333
+ created_by_id TEXT REFERENCES users(id) ON DELETE SET NULL,
9334
+ created_at TEXT NOT NULL,
9335
+ expires_at TEXT NOT NULL,
9336
+ accepted_at TEXT,
9337
+ accepted_user_id TEXT REFERENCES users(id) ON DELETE SET NULL,
9338
+ revoked_at TEXT
9339
+ )`,
9340
+ `CREATE INDEX IF NOT EXISTS idx_user_invitations_email ON user_invitations(email_key)`,
9341
+ `CREATE TABLE IF NOT EXISTS chatgpt_plan_connections (
9342
+ user_id TEXT PRIMARY KEY REFERENCES users(id) ON DELETE CASCADE,
9343
+ id TEXT NOT NULL UNIQUE,
9344
+ identity_id TEXT NOT NULL REFERENCES user_external_identities(id) ON DELETE CASCADE,
9345
+ status TEXT NOT NULL CHECK (status IN ('connected', 'reconnect-required')),
9346
+ scopes TEXT NOT NULL,
9347
+ tokens TEXT NOT NULL,
9348
+ access_expires_at TEXT NOT NULL,
9349
+ model_id TEXT,
9350
+ revision INTEGER NOT NULL DEFAULT 0,
9351
+ connected_at TEXT NOT NULL,
9352
+ updated_at TEXT NOT NULL
9353
+ )`,
9354
+ `CREATE TABLE IF NOT EXISTS chatgpt_login_transactions (
9355
+ state_hash TEXT PRIMARY KEY,
9356
+ browser_hash TEXT NOT NULL,
9357
+ intent TEXT NOT NULL CHECK (intent IN ('login', 'connect')),
9358
+ user_id TEXT REFERENCES users(id) ON DELETE CASCADE,
9359
+ nonce TEXT NOT NULL,
9360
+ scopes TEXT NOT NULL,
9361
+ return_to TEXT,
9362
+ created_at TEXT NOT NULL,
9363
+ expires_at TEXT NOT NULL
9364
+ )`,
9365
+ `CREATE INDEX IF NOT EXISTS idx_chatgpt_login_transactions_expires
9366
+ ON chatgpt_login_transactions(expires_at)`
9367
+ ]
9368
+ },
9369
+ {
9370
+ version: 221,
9371
+ name: "claude-searchbot-own-bot",
9372
+ // Claude-SearchBot, Anthropic's search crawler, now has its own classifier
9373
+ // rule (`claude-searchbot`, purpose search). The `anthropic-claudebot` rule
9374
+ // (purpose training) used to match it too, so its hits were stored as
9375
+ // ClaudeBot. This moves the crawler rows whose sampled user agent is
9376
+ // Claude-SearchBot to the new bot, with their manifest provenance, and
9377
+ // relabels the crawler samples the old rule classified.
9378
+ //
9379
+ // Best effort, as v65's Mistral split: an hourly row is one (project,
9380
+ // source, hour, bot, verification, path, status) and keeps one sampled
9381
+ // user agent, the latest batch's, so a row that counted both bots in the
9382
+ // same hour moves or stays whole by that sample. New traffic splits
9383
+ // exactly. Both rules verify against Anthropic's one crawler manifest, so
9384
+ // a moved row keeps its verification status and provenance.
9385
+ //
9386
+ // A run hook because the statement allowlist is schema-shaped, and because
9387
+ // a legacy database that resumes past the migrations creating these tables
9388
+ // must skip the move rather than fail on a missing table.
9389
+ statements: [],
9390
+ run: (tx) => {
9391
+ moveClaudeSearchBotRows(tx);
9392
+ }
9393
+ },
9394
+ {
9395
+ version: 222,
9396
+ name: "ai-user-fetch-older-count-until",
9397
+ // Hosted browser agents (Google-Agent, Claude-Agent) now count only their
9398
+ // page loads as AI user fetches. Hours a source wrote before were counted
9399
+ // under older rules: every file, data call and beacon their pages made
9400
+ // counted (high), or the older trust rules judged whole visits likely fake
9401
+ // (low). They were not recounted (hourly rows keep no method or query).
9402
+ // Stamp where the older count ended on sources holding such hours: the end
9403
+ // of the last one, or the upgrade time if that is earlier. A fresh install
9404
+ // holds none and stamps nothing.
9405
+ //
9406
+ // A run hook because the statement allowlist is schema-shaped, and because
9407
+ // a legacy database that resumes past the migrations creating the hourly
9408
+ // tables must skip the stamp rather than fail on a missing table.
9409
+ statements: [
9410
+ `ALTER TABLE traffic_sources ADD COLUMN ai_user_fetch_older_count_until TEXT`
9411
+ ],
9412
+ run: (tx) => {
9413
+ stampBrowserAgentOlderCount(tx, (/* @__PURE__ */ new Date()).toISOString());
9414
+ }
9226
9415
  }
9227
9416
  ];
9417
+ var V222_BROWSER_AGENT_HOURLY_TABLES = ["ai_user_fetch_events_hourly", "ai_user_fetch_likely_fake_hourly"];
9418
+ function stampBrowserAgentOlderCount(tx, upgradedAt) {
9419
+ const lastHours = V222_BROWSER_AGENT_HOURLY_TABLES.filter((table) => tableExists(tx, table)).map((table) => `SELECT source_id, MAX(ts_hour) AS ts_hour FROM ${table}
9420
+ WHERE bot_id IN ('google-agent', 'claude-agent') GROUP BY source_id`);
9421
+ if (lastHours.length === 0) return;
9422
+ tx.run(sql2`UPDATE traffic_sources
9423
+ SET ai_user_fetch_older_count_until = min(${upgradedAt}, last_hour.hour_end)
9424
+ FROM (
9425
+ SELECT source_id, strftime('%Y-%m-%dT%H:%M:%fZ', MAX(ts_hour), '+1 hour') AS hour_end
9426
+ FROM (${sql2.raw(lastHours.join(" UNION ALL "))})
9427
+ GROUP BY source_id
9428
+ ) AS last_hour
9429
+ WHERE traffic_sources.id = last_hour.source_id
9430
+ AND traffic_sources.ai_user_fetch_older_count_until IS NULL`);
9431
+ }
9432
+ function moveClaudeSearchBotRows(tx) {
9433
+ if (tableExists(tx, "crawler_events_hourly")) {
9434
+ tx.run(sql2.raw("DROP TABLE IF EXISTS temp.v221_moved"));
9435
+ tx.run(sql2.raw(
9436
+ `CREATE TEMP TABLE v221_moved AS
9437
+ SELECT rowid AS rid, project_id, source_id, ts_hour, verification_status, path_normalized, status
9438
+ FROM crawler_events_hourly
9439
+ WHERE bot_id = 'anthropic-claudebot' AND sampled_user_agent LIKE '%Claude-SearchBot/%'`
9440
+ ));
9441
+ tx.run(sql2.raw(
9442
+ `INSERT INTO crawler_events_hourly (project_id, source_id, ts_hour, bot_id, operator, verification_status, path_normalized, status, hits, sampled_user_agent, created_at, updated_at)
9443
+ SELECT c.project_id, c.source_id, c.ts_hour, 'claude-searchbot', c.operator, c.verification_status, c.path_normalized, c.status, c.hits, c.sampled_user_agent, c.created_at, c.updated_at
9444
+ FROM v221_moved t JOIN crawler_events_hourly c ON c.rowid = t.rid
9445
+ WHERE true
9446
+ ON CONFLICT (project_id, source_id, ts_hour, bot_id, verification_status, path_normalized, status)
9447
+ DO UPDATE SET hits = crawler_events_hourly.hits + excluded.hits,
9448
+ updated_at = max(crawler_events_hourly.updated_at, excluded.updated_at)`
9449
+ ));
9450
+ if (tableExists(tx, "crawler_verification_manifests_hourly")) {
9451
+ tx.run(sql2.raw(
9452
+ `INSERT INTO crawler_verification_manifests_hourly (project_id, source_id, ts_hour, bot_id, verification_status, path_normalized, status, manifest_id, manifest_json, hits, created_at, updated_at)
9453
+ SELECT m.project_id, m.source_id, m.ts_hour, 'claude-searchbot', m.verification_status, m.path_normalized, m.status, m.manifest_id, m.manifest_json, m.hits, m.created_at, m.updated_at
9454
+ FROM v221_moved t JOIN crawler_verification_manifests_hourly m
9455
+ ON m.project_id = t.project_id AND m.source_id = t.source_id AND m.ts_hour = t.ts_hour
9456
+ AND m.bot_id = 'anthropic-claudebot' AND m.verification_status = t.verification_status
9457
+ AND m.path_normalized = t.path_normalized AND m.status = t.status
9458
+ WHERE true
9459
+ ON CONFLICT (project_id, source_id, ts_hour, bot_id, verification_status, path_normalized, status, manifest_id)
9460
+ DO UPDATE SET hits = crawler_verification_manifests_hourly.hits + excluded.hits,
9461
+ updated_at = max(crawler_verification_manifests_hourly.updated_at, excluded.updated_at)`
9462
+ ));
9463
+ }
9464
+ tx.run(sql2.raw("DELETE FROM crawler_events_hourly WHERE rowid IN (SELECT rid FROM v221_moved)"));
9465
+ tx.run(sql2.raw("DROP TABLE v221_moved"));
9466
+ }
9467
+ if (tableExists(tx, "raw_event_samples")) {
9468
+ tx.run(sql2.raw(
9469
+ `UPDATE raw_event_samples
9470
+ SET classifier_details_json = json_set(classifier_details_json,
9471
+ '$.crawler.botId', 'claude-searchbot',
9472
+ '$.crawler.product', 'Claude-SearchBot',
9473
+ '$.crawler.purpose', 'search')
9474
+ WHERE event_type = 'crawler'
9475
+ AND user_agent LIKE '%Claude-SearchBot/%'
9476
+ AND CASE WHEN json_valid(classifier_details_json)
9477
+ THEN json_extract(classifier_details_json, '$.crawler.botId') END = 'anthropic-claudebot'`
9478
+ ));
9479
+ }
9480
+ }
9228
9481
  var AERO_LEDGER_REBUILDS = [
9229
9482
  {
9230
9483
  table: "llm_usage_events",
@@ -9560,6 +9813,7 @@ function migrate(db, versions = MIGRATION_VERSIONS) {
9560
9813
  db.run(sql2.raw(statement));
9561
9814
  }
9562
9815
  const appliedVersion = getAppliedVersion(db);
9816
+ let appliedAny = false;
9563
9817
  for (const mv of versions) {
9564
9818
  if (mv.version <= appliedVersion) continue;
9565
9819
  if (mv.disableForeignKeys) db.run(sql2.raw("PRAGMA foreign_keys = OFF"));
@@ -9576,10 +9830,12 @@ function migrate(db, versions = MIGRATION_VERSIONS) {
9576
9830
  mv.run?.(tx);
9577
9831
  recordMigration(tx, mv.version, mv.name);
9578
9832
  });
9833
+ appliedAny = true;
9579
9834
  } finally {
9580
9835
  if (mv.disableForeignKeys) db.run(sql2.raw("PRAGMA foreign_keys = ON"));
9581
9836
  }
9582
9837
  }
9838
+ if (appliedAny) db.all(sql2.raw("PRAGMA wal_checkpoint(TRUNCATE)"));
9583
9839
  }
9584
9840
 
9585
9841
  // ../db/src/operational-logs.ts
@@ -10665,6 +10921,10 @@ export {
10665
10921
  apiKeys,
10666
10922
  users,
10667
10923
  userSessions,
10924
+ userExternalIdentities,
10925
+ userInvitations,
10926
+ chatgptPlanConnections,
10927
+ chatgptLoginTransactions,
10668
10928
  dashboardSessions,
10669
10929
  oauthClients,
10670
10930
  oauthGrants,
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  registeredProviderNames
3
- } from "./chunk-3QA5NJR4.js";
3
+ } from "./chunk-SZ64N26K.js";
4
4
  import {
5
5
  configExists,
6
6
  loadConfigRaw
7
- } from "./chunk-7HQWMG3E.js";
7
+ } from "./chunk-HPFT4IKN.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-XZVMW2PD.js");
31
+ const { createClient, projects, queries: queriesTable } = await import("./src-BXXLPHVZ.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-BAIQI6TL.js");
50
+ const { serveCommand } = await import("./serve-WDUJ36KJ.js");
51
51
  await serveCommand(format);
52
52
  }
53
53
 
@@ -4,14 +4,14 @@ import {
4
4
  } from "./chunk-VJWDBFSL.js";
5
5
  import {
6
6
  createApiClient
7
- } from "./chunk-G7LYCMQJ.js";
7
+ } from "./chunk-2VNQKUCW.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-6UB4Y6CB.js";
14
+ } from "./chunk-WT22Z3I7.js";
15
15
 
16
16
  // src/commands/mcp.ts
17
17
  import fs from "fs";
@@ -2,7 +2,7 @@ import {
2
2
  CitationStates,
3
3
  hostMatchesDomain,
4
4
  isCitationMeasurable
5
- } from "./chunk-6UB4Y6CB.js";
5
+ } from "./chunk-WT22Z3I7.js";
6
6
 
7
7
  // src/citation-utils.ts
8
8
  function pickProjectCitedDomain(citedDomains, projectDomains) {
@@ -23,7 +23,7 @@ import {
23
23
  measurementDraftUpsertGroupRequestSchema,
24
24
  measurementDraftUpsertMarketRequestSchema,
25
25
  measurementDraftUpsertTargetRequestSchema
26
- } from "./chunk-6UB4Y6CB.js";
26
+ } from "./chunk-WT22Z3I7.js";
27
27
 
28
28
  // src/measurement-draft-actions.ts
29
29
  import { z } from "zod";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-HGMYEDAQ.js";
5
5
  import {
6
6
  describeError
7
- } from "./chunk-6UB4Y6CB.js";
7
+ } from "./chunk-WT22Z3I7.js";
8
8
 
9
9
  // src/gsc-sitemap-submission.ts
10
10
  function dedupeGscSitemapUrls(urls) {