@canonry/canonry 7.60.0 → 7.61.1
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.
- package/assets/agent-workspace/skills/canonry/references/canonry-cli.md +1 -0
- package/assets/assets/{AgentSetupPage-xAe2RSTQ.js → AgentSetupPage-CCMNQwRE.js} +1 -1
- package/assets/assets/{AuditHistoryPanel-DRGMxc1o.js → AuditHistoryPanel-B8mIRI3I.js} +1 -1
- package/assets/assets/{BacklinksPage-OS6r_MtQ.js → BacklinksPage-BNLyIR97.js} +1 -1
- package/assets/assets/{HistoryPage-RDxUN7rD.js → HistoryPage-DSr9KE16.js} +1 -1
- package/assets/assets/InfoTooltip-BbdxCAup.js +1 -0
- package/assets/assets/{MeasurementPropertyPage-BVAmJBKa.js → MeasurementPropertyPage-BTg-SFW7.js} +1 -1
- package/assets/assets/{ProjectPage-BWY9eFFx.js → ProjectPage-SqE0fkEq.js} +7 -7
- package/assets/assets/{RunsPage-Fb7IM6iV.js → RunsPage-gJR17ho1.js} +1 -1
- package/assets/assets/{SettingsPage-Dz_agQCf.js → SettingsPage-DY5f_oN4.js} +1 -1
- package/assets/assets/{SiteHealthSection-TXp2Cszl.js → SiteHealthSection-BYx91hP-.js} +2 -2
- package/assets/assets/ToneBadge-C3S7aVf3.js +60 -0
- package/assets/assets/{TrafficPage-BKfgooKl.js → TrafficPage-CCXH5nhh.js} +1 -1
- package/assets/assets/{TrafficSourceDetailPage-C1HM_4Mh.js → TrafficSourceDetailPage-DTjCsu4-.js} +1 -1
- package/assets/assets/{account-context-sj3dKq-a.js → account-context-DozTQM44.js} +1 -1
- package/assets/assets/{card-DKV0mNmm.js → card-D8MU7RYV.js} +1 -1
- package/assets/assets/{extract-error-message-Tfdo6vAJ.js → extract-error-message-CsVYPTyt.js} +1 -1
- package/assets/assets/{format-helpers-BagbvnfZ.js → format-helpers-CWBooMJJ.js} +1 -1
- package/assets/assets/{index-7G0DHKIO.js → index-D5o-caTl.js} +4 -4
- package/assets/assets/index-DqhMdZUM.css +1 -0
- package/assets/assets/{query-client-7P_Wczfa.js → query-client-DbxlHfUm.js} +1 -1
- package/assets/assets/{react-query-agN8P-yg.js → react-query-D4ZSMg7h.js} +1 -1
- package/assets/assets/{react-sigma_core.esm.min-CHz1PIYq.js → react-sigma_core.esm.min-CSRp4hew.js} +1 -1
- package/assets/assets/{service-CAV4dMit.js → service-CYzJmCXU.js} +1 -1
- package/assets/index.html +9 -9
- package/dist/{ads-A42JBQ5Q.js → ads-Z2SNR2F5.js} +3 -3
- package/dist/{agent-ZKKHPMOB.js → agent-UUDYXXRD.js} +7 -7
- package/dist/{agent-ask-SMV76QZM.js → agent-ask-KCZKPBY7.js} +3 -3
- package/dist/{agent-conversations-O5QA3MHR.js → agent-conversations-CDQA7HOU.js} +3 -3
- package/dist/{agent-memory-ZRJQ6SZU.js → agent-memory-MER75L4L.js} +3 -3
- package/dist/{agent-providers-EOXIPRXN.js → agent-providers-RH7W5HYA.js} +3 -3
- package/dist/{agent-transcript-4TB2VI5E.js → agent-transcript-VU2VHSZ6.js} +3 -3
- package/dist/{analytics-KSHS32RJ.js → analytics-BDVOFX6O.js} +30 -8
- package/dist/{apply-4ZZMONED.js → apply-XJULCLGT.js} +3 -3
- package/dist/{backfill-DJIIN5ZR.js → backfill-SCB3KOTF.js} +9 -9
- package/dist/{backlinks-XIAPORR5.js → backlinks-HCSL6KKT.js} +3 -3
- package/dist/{bing-QDZXI334.js → bing-AEUPBLV6.js} +3 -3
- package/dist/{bootstrap-7RAGKHJZ.js → bootstrap-J73OTQWI.js} +10 -10
- package/dist/{cdp-3OX3WGWN.js → cdp-2UQER2VR.js} +7 -7
- package/dist/{chunk-O7KIDW4H.js → chunk-34HGKT6I.js} +1 -1
- package/dist/{chunk-Z7WG6F7Q.js → chunk-3A7LI5KI.js} +3 -3
- package/dist/{chunk-QRC6SDPF.js → chunk-3E7NFLYB.js} +338 -336
- package/dist/{chunk-7KEIZ5OO.js → chunk-4UTPB5KB.js} +8 -8
- package/dist/{chunk-IDPAYZHR.js → chunk-5AV2OUCJ.js} +1 -1
- package/dist/{chunk-GLFE3Q3C.js → chunk-5PYPNDIE.js} +3 -3
- package/dist/{chunk-FCPIOH6P.js → chunk-7VEXNHRX.js} +1 -1
- package/dist/{chunk-HV5MGQYI.js → chunk-B5KK54RE.js} +3 -3
- package/dist/{chunk-OA6N3BI7.js → chunk-BKNIXYMI.js} +4 -4
- package/dist/{chunk-QEG7BSLH.js → chunk-CZSHCZHW.js} +1 -1
- package/dist/{chunk-XJF7LMGU.js → chunk-EKY6GHJ4.js} +4 -4
- package/dist/{chunk-Z63ZR6AD.js → chunk-FWRHDY4R.js} +1 -1
- package/dist/{chunk-L7WQTD3D.js → chunk-G3DZSUYD.js} +5 -5
- package/dist/{chunk-UHE4RLFW.js → chunk-G3ZNUINX.js} +1 -1
- package/dist/{chunk-DUYENNUI.js → chunk-GAA7JGB7.js} +2 -2
- package/dist/{chunk-3JV3PWNA.js → chunk-HD7AZIOP.js} +1 -1
- package/dist/{chunk-JDL4QAPT.js → chunk-IG6ISQYD.js} +12 -2
- package/dist/{chunk-66C7YITH.js → chunk-KX5IRN55.js} +1 -1
- package/dist/{chunk-D7ZU5LMK.js → chunk-MRNMDQRB.js} +1 -1
- package/dist/{chunk-QCSNNKFI.js → chunk-P5DZ56CR.js} +1 -1
- package/dist/{chunk-FKQPVB5B.js → chunk-QGXPQHDN.js} +20 -20
- package/dist/{chunk-4IV4FO3O.js → chunk-QP36LXT5.js} +36 -11
- package/dist/{chunk-7XSGAPN5.js → chunk-RL7LPPFU.js} +7 -6
- package/dist/{chunk-TLNHDCJF.js → chunk-SA4CG775.js} +2 -2
- package/dist/{chunk-2IBFY7KQ.js → chunk-SQ6AOE57.js} +2 -2
- package/dist/{chunk-SJNF5GN2.js → chunk-SZXYGJMI.js} +5 -4
- package/dist/{chunk-RLXNZRHD.js → chunk-TGZKOIZ3.js} +5 -5
- package/dist/{chunk-I32IFAB3.js → chunk-TYWTIYYM.js} +3 -3
- package/dist/{chunk-ADY24WBX.js → chunk-V7Q2FUHQ.js} +4 -4
- package/dist/{chunk-HGBIJIVM.js → chunk-VCSJHXW6.js} +1 -1
- package/dist/{chunk-7HZ7KRHT.js → chunk-VHHFAAMI.js} +1 -1
- package/dist/{chunk-ZK5WIVGA.js → chunk-W5FR6AJP.js} +2 -2
- package/dist/{chunk-NQTUPEBQ.js → chunk-XCA546YC.js} +1 -1
- package/dist/{chunk-G7VJEPDZ.js → chunk-YHTU4XBR.js} +2 -2
- package/dist/{citations-L3HFNQVU.js → citations-3X5EJNJ3.js} +3 -3
- package/dist/{cli-catalog-DJPRREDK.js → cli-catalog-F3IOEPJK.js} +3 -3
- package/dist/{cli-commands-4KG4X76Z.js → cli-commands-J7CI2RNW.js} +7 -7
- package/dist/cli.js +13 -13
- package/dist/{competitor-Q5LZ26U5.js → competitor-CUPGN4NZ.js} +3 -3
- package/dist/{content-WRVFNQSO.js → content-FYQT7V5A.js} +3 -3
- package/dist/{dashboard-GBP2T2AG.js → dashboard-WHWMMX7W.js} +6 -6
- package/dist/{demo-JMLMPLJ6.js → demo-CNTR3ZXS.js} +1 -1
- package/dist/{demo-server-AOVPBGZ7.js → demo-server-ZOV5HCDE.js} +11 -11
- package/dist/{discover-SKUNZE4Y.js → discover-4IGXLRRE.js} +3 -3
- package/dist/{discover-eval-57BEDSQN.js → discover-eval-DGLZO5MD.js} +3 -3
- package/dist/{doctor-DMLJGH6G.js → doctor-3MFTUIEU.js} +3 -3
- package/dist/{evidence-J4XF4W7O.js → evidence-ANE4SFP5.js} +3 -3
- package/dist/{export-cmd-3JXT2YAP.js → export-cmd-X6S5F463.js} +3 -3
- package/dist/{ga-KHILAPMC.js → ga-2UKFAVDJ.js} +3 -3
- package/dist/{gbp-PHOFQZNT.js → gbp-Q3V3SQMV.js} +3 -3
- package/dist/{google-QOLM2NBI.js → google-D4O4JCM4.js} +4 -4
- package/dist/{google-marketing-N37WUWNL.js → google-marketing-6L5327YK.js} +1 -1
- package/dist/{health-cmd-2FUEPUJZ.js → health-cmd-7TPQHGKK.js} +3 -3
- package/dist/{history-MOSRCLAD.js → history-NNUOPNA7.js} +3 -3
- package/dist/index.d.ts +6 -6
- package/dist/index.js +24 -24
- package/dist/{init-V6ER2PJV.js → init-NCJ6KXTS.js} +11 -11
- package/dist/{insights-F3MT66IV.js → insights-DDAP3MRC.js} +3 -3
- package/dist/intelligence-service-O4BALXZK.js +15 -0
- package/dist/{journeys-DNS3EZNK.js → journeys-I7H25PPF.js} +3 -3
- package/dist/{keys-NPOLKCWZ.js → keys-YUJNNNV3.js} +3 -3
- package/dist/{keyword-AXEPIJQ7.js → keyword-25DDYT45.js} +3 -3
- package/dist/{logs-ECEDVUTX.js → logs-FKPJ4L5R.js} +3 -3
- package/dist/{mcp-HUIRIY74.js → mcp-ZPLVNLL3.js} +2 -2
- package/dist/mcp.js +9 -9
- package/dist/{measurement-plan-5Y2IHH43.js → measurement-plan-CDY63CLU.js} +5 -5
- package/dist/{notify-PIFCJ7WM.js → notify-67IIWOSF.js} +3 -3
- package/dist/{organic-evidence-S2IE5XV6.js → organic-evidence-P2BQK2BV.js} +3 -3
- package/dist/{overview-TZT7C4U4.js → overview-WHSTSNS2.js} +4 -4
- package/dist/{project-HIY673Y5.js → project-7AMXFZMD.js} +3 -3
- package/dist/{query-FUJIMFJQ.js → query-RLKE6JHY.js} +3 -3
- package/dist/{research-ECGEXWID.js → research-PDOE77HZ.js} +3 -3
- package/dist/{results-export-7DRGFNUX.js → results-export-5VKTQLOR.js} +3 -3
- package/dist/{run-4JEDD5VT.js → run-QXCB4AWO.js} +4 -4
- package/dist/{schedule-NRHQXHTW.js → schedule-NDM2GBBW.js} +3 -3
- package/dist/{search-M7PNZZZL.js → search-DDRSJUWZ.js} +3 -3
- package/dist/{serve-RXLQEALQ.js → serve-YWBWBUBR.js} +25 -25
- package/dist/{session-MCSZQR5V.js → session-HCGHUWAV.js} +12 -12
- package/dist/{settings-JXOYI7VV.js → settings-Q2ZOEA7H.js} +3 -3
- package/dist/{skills-SRUXD2PV.js → skills-PKSEX44J.js} +2 -2
- package/dist/{snapshot-7N4BEGGM.js → snapshot-URNBVDTA.js} +3 -3
- package/dist/{src-ZAAE3NIM.js → src-MAMJVGSJ.js} +2 -2
- package/dist/{status-5OYYSMAY.js → status-DDXVX4KE.js} +4 -4
- package/dist/{technical-aeo-464OUUWT.js → technical-aeo-OS6KQXAP.js} +3 -3
- package/dist/{telemetry-BZFNXACR.js → telemetry-G7GX2LIY.js} +4 -4
- package/dist/{tools-YVWC3NTG.js → tools-C3I2X3IS.js} +11 -11
- package/dist/{traffic-WXJHRB7H.js → traffic-A4QW7455.js} +5 -5
- package/dist/{users-U2UNKGDY.js → users-4WPDDCCR.js} +3 -3
- package/dist/{visibility-stats-AHGME46N.js → visibility-stats-5BY7GVUV.js} +3 -3
- package/dist/{wordpress-FUVFZKH2.js → wordpress-T5EYN2WX.js} +3 -3
- package/package.json +1 -1
- package/assets/assets/InfoTooltip-DV3_9Qp1.js +0 -1
- package/assets/assets/ToneBadge-DZzQvXs_.js +0 -60
- package/assets/assets/index-DElT2Fss.css +0 -1
- package/dist/intelligence-service-S5DI74LD.js +0 -15
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
dedupeGscSitemapUrls,
|
|
3
3
|
resolveDiscoveredGscSitemapUrls,
|
|
4
4
|
submitGscSitemapBatches
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-VCSJHXW6.js";
|
|
6
6
|
import {
|
|
7
7
|
measurementDraftOperationSchema,
|
|
8
8
|
runMeasurementDraftAction
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-MRNMDQRB.js";
|
|
10
10
|
import {
|
|
11
11
|
CliError
|
|
12
12
|
} from "./chunk-HGMYEDAQ.js";
|
|
@@ -173,7 +173,7 @@ import {
|
|
|
173
173
|
trafficSeriesGranularitySchema,
|
|
174
174
|
visibilityCompareSelectionSchema,
|
|
175
175
|
visibilityReportRequestSchema
|
|
176
|
-
} from "./chunk-
|
|
176
|
+
} from "./chunk-IG6ISQYD.js";
|
|
177
177
|
|
|
178
178
|
// src/mcp/tool-registry.ts
|
|
179
179
|
import { z as z2 } from "zod";
|
|
@@ -1583,16 +1583,17 @@ var rawCanonryMcpTools = [
|
|
|
1583
1583
|
defineTool({
|
|
1584
1584
|
name: "canonry_analytics_metrics",
|
|
1585
1585
|
title: "Get citation & mention trend",
|
|
1586
|
-
description: "Citation and mention rates over time for a project, bucketed adaptively (daily \u2192 monthly by span) and probe-excluded. Returns overall + per-provider window aggregates AND a per-bucket `byProvider` breakdown so you can read how each engine's cited/mentioned rate moved run-over-run \u2014 the same data the dashboard's \"Citations & mentions over time\" chart plots. Includes trend direction (improving/declining/stable) for both signals and query-set-change annotations. Filter the range with `window` (7d/30d/90d/all).",
|
|
1586
|
+
description: "Citation and mention rates over time for a project, bucketed adaptively (daily \u2192 monthly by span) and probe-excluded. Returns overall + per-provider window aggregates AND a per-bucket `byProvider` breakdown so you can read how each engine's cited/mentioned rate moved run-over-run \u2014 the same data the dashboard's \"Citations & mentions over time\" chart plots. Includes trend direction (improving/declining/stable) for both signals and query-set-change annotations. Filter the range with `window` (7d/30d/90d/all). Without `queryClass` every rate pools branded and non-brand answers, where branded queries inflate your own mentions; set `queryClass` non-brand for the competitive read and branded for brand recall, as two calls.",
|
|
1587
1587
|
access: "read",
|
|
1588
1588
|
tier: "monitoring",
|
|
1589
1589
|
inputSchema: z2.object({
|
|
1590
1590
|
project: projectNameSchema,
|
|
1591
|
-
window: analyticsWindowSchema.optional().describe("Time range: 7d, 30d, 90d, or all (default all).")
|
|
1591
|
+
window: analyticsWindowSchema.optional().describe("Time range: 7d, 30d, 90d, or all (default all)."),
|
|
1592
|
+
queryClass: z2.enum(["all", "branded", "non-brand"]).optional().describe("Branded or non-brand answers only, classified from the query text by the project's brand names; all (the default) pools both. Mention share is always non-brand.")
|
|
1592
1593
|
}),
|
|
1593
1594
|
annotations: readAnnotations(),
|
|
1594
1595
|
openApiOperations: ["GET /api/v1/projects/{name}/analytics/metrics"],
|
|
1595
|
-
handler: (client, input) => client.getAnalyticsMetrics(input.project, input.window)
|
|
1596
|
+
handler: (client, input) => client.getAnalyticsMetrics(input.project, input.window, input.queryClass)
|
|
1596
1597
|
}),
|
|
1597
1598
|
defineTool({
|
|
1598
1599
|
name: "canonry_analytics_sources",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createApiClient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-SZXYGJMI.js";
|
|
4
4
|
import {
|
|
5
5
|
emitJsonl
|
|
6
6
|
} from "./chunk-Z7IUAJOF.js";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
formatMicros,
|
|
20
20
|
formatRunErrorOneLine,
|
|
21
21
|
resolveProviderInput
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-IG6ISQYD.js";
|
|
23
23
|
|
|
24
24
|
// src/commands/run.ts
|
|
25
25
|
function getClient() {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
trackIntegrationConnection
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-EKY6GHJ4.js";
|
|
4
4
|
import {
|
|
5
5
|
cliRuntimeContext
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-YHTU4XBR.js";
|
|
7
7
|
|
|
8
8
|
// src/cli-connection-telemetry.ts
|
|
9
9
|
function trackCliConnection(properties) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
loadConfig
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-CZSHCZHW.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-
|
|
39
|
+
} from "./chunk-IG6ISQYD.js";
|
|
40
40
|
|
|
41
41
|
// ../api-client-generated/src/generated/core/bodySerializer.gen.ts
|
|
42
42
|
var jsonBodySerializer = {
|
|
@@ -4677,12 +4677,13 @@ var ApiClient = class {
|
|
|
4677
4677
|
);
|
|
4678
4678
|
}
|
|
4679
4679
|
// ── Analytics ───────────────────────────────────────────────────────────
|
|
4680
|
-
|
|
4680
|
+
/** `queryClass` reads branded or non-brand answers only; omitted pools both (server default). */
|
|
4681
|
+
async getAnalyticsMetrics(project, window, queryClass) {
|
|
4681
4682
|
return this.invoke(
|
|
4682
4683
|
() => getApiV1ProjectsByNameAnalyticsMetrics({
|
|
4683
4684
|
client: this.heyClient,
|
|
4684
4685
|
path: { name: project },
|
|
4685
|
-
query: { window }
|
|
4686
|
+
query: { window, queryClass }
|
|
4686
4687
|
})
|
|
4687
4688
|
);
|
|
4688
4689
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
pickProjectCitedDomain
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-G3ZNUINX.js";
|
|
4
4
|
import {
|
|
5
5
|
GBP_INSIGHT_PROVIDER,
|
|
6
6
|
PERSISTENT_GAP_THRESHOLD,
|
|
@@ -14,10 +14,10 @@ import {
|
|
|
14
14
|
mergeGscQueryTotalsWithFallback,
|
|
15
15
|
readGscQueryDailyRows,
|
|
16
16
|
readLatestGscDataDate
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-QP36LXT5.js";
|
|
18
18
|
import {
|
|
19
19
|
getRequestContext
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-KX5IRN55.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-
|
|
38
|
+
} from "./chunk-HD7AZIOP.js";
|
|
39
39
|
import {
|
|
40
40
|
CitationStates,
|
|
41
41
|
RunKinds,
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
effectiveDomains,
|
|
46
46
|
redactLogString,
|
|
47
47
|
redactLogValue
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-IG6ISQYD.js";
|
|
49
49
|
|
|
50
50
|
// src/intelligence-service.ts
|
|
51
51
|
import { eq, desc, asc, and, ne, or, inArray, gte, lte, isNull, sql, exists } from "drizzle-orm";
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
configExists,
|
|
3
3
|
loadConfigRaw,
|
|
4
4
|
saveConfigPatch
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-CZSHCZHW.js";
|
|
6
6
|
import {
|
|
7
7
|
BUNDLED_SKILL_NAMES,
|
|
8
8
|
installSkills
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-5AV2OUCJ.js";
|
|
10
10
|
import {
|
|
11
11
|
PACKAGE_VERSION
|
|
12
12
|
} from "./chunk-AOJU5LKX.js";
|
|
13
13
|
import {
|
|
14
14
|
SKILL_MANIFEST_FILENAME,
|
|
15
15
|
SkillsClients
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-IG6ISQYD.js";
|
|
17
17
|
|
|
18
18
|
// src/skills-autosync.ts
|
|
19
19
|
import fs from "fs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
registeredProviderNames
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-P5DZ56CR.js";
|
|
4
4
|
import {
|
|
5
5
|
configExists,
|
|
6
6
|
loadConfigRaw
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-CZSHCZHW.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-
|
|
31
|
+
const { createClient, projects, queries: queriesTable } = await import("./src-MAMJVGSJ.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-
|
|
50
|
+
const { serveCommand } = await import("./serve-YWBWBUBR.js");
|
|
51
51
|
await serveCommand(format);
|
|
52
52
|
}
|
|
53
53
|
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
siteCrawlGraphNodes,
|
|
6
6
|
siteCrawlPages,
|
|
7
7
|
siteCrawlSnapshots
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-HD7AZIOP.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-
|
|
18
|
+
} from "./chunk-IG6ISQYD.js";
|
|
19
19
|
|
|
20
20
|
// src/site-audit-factors.ts
|
|
21
21
|
function recordedSharePct(factor) {
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
loadConfig,
|
|
6
6
|
loadConfigRaw,
|
|
7
7
|
saveConfigPatch
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-CZSHCZHW.js";
|
|
9
9
|
import {
|
|
10
10
|
CANONRY_NPM_PACKAGE_URL,
|
|
11
11
|
compareSemver,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
updateCheckEnvOptOut,
|
|
19
19
|
upgradeCaveatFor,
|
|
20
20
|
upgradeCommandFor
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-IG6ISQYD.js";
|
|
22
22
|
|
|
23
23
|
// src/runtime-context.ts
|
|
24
24
|
function cliRuntimeContext(env = process.env, stdio = process) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createApiClient
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-SZXYGJMI.js";
|
|
4
|
+
import "./chunk-CZSHCZHW.js";
|
|
5
5
|
import "./chunk-AOJU5LKX.js";
|
|
6
6
|
import "./chunk-HGMYEDAQ.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-IG6ISQYD.js";
|
|
8
8
|
import "./chunk-MLKGABMK.js";
|
|
9
9
|
|
|
10
10
|
// src/commands/citations.ts
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
buildCliCatalog,
|
|
4
4
|
printCliCatalog,
|
|
5
5
|
renderTopLevelHelp
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-5PYPNDIE.js";
|
|
7
|
+
import "./chunk-VHHFAAMI.js";
|
|
8
8
|
import "./chunk-Z7IUAJOF.js";
|
|
9
9
|
import "./chunk-HGMYEDAQ.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-IG6ISQYD.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-
|
|
3
|
+
} from "./chunk-3E7NFLYB.js";
|
|
4
4
|
import "./chunk-6GO5VVAC.js";
|
|
5
|
-
import "./chunk-
|
|
5
|
+
import "./chunk-B5KK54RE.js";
|
|
6
6
|
import "./chunk-VJWDBFSL.js";
|
|
7
7
|
import "./chunk-TSENU4GG.js";
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-SZXYGJMI.js";
|
|
9
|
+
import "./chunk-CZSHCZHW.js";
|
|
10
|
+
import "./chunk-VHHFAAMI.js";
|
|
11
11
|
import "./chunk-Z7IUAJOF.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-MRNMDQRB.js";
|
|
13
13
|
import "./chunk-AOJU5LKX.js";
|
|
14
14
|
import "./chunk-HGMYEDAQ.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-IG6ISQYD.js";
|
|
16
16
|
import "./chunk-MLKGABMK.js";
|
|
17
17
|
export {
|
|
18
18
|
REGISTERED_CLI_COMMANDS
|
package/dist/cli.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
#!/usr/bin/env node --import tsx
|
|
2
2
|
import {
|
|
3
3
|
REGISTERED_CLI_COMMANDS
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-3E7NFLYB.js";
|
|
5
5
|
import {
|
|
6
6
|
buildSetupState,
|
|
7
7
|
runPendingServeHandoff
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-V7Q2FUHQ.js";
|
|
9
9
|
import "./chunk-6GO5VVAC.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-B5KK54RE.js";
|
|
11
11
|
import "./chunk-VJWDBFSL.js";
|
|
12
12
|
import "./chunk-TSENU4GG.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-P5DZ56CR.js";
|
|
14
14
|
import {
|
|
15
15
|
checkLatestVersionForCli,
|
|
16
16
|
cliRuntimeContext,
|
|
@@ -24,24 +24,24 @@ import {
|
|
|
24
24
|
showFirstRunNotice,
|
|
25
25
|
trackCliCommandFinished,
|
|
26
26
|
trackEvent
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-YHTU4XBR.js";
|
|
28
28
|
import {
|
|
29
29
|
autoSyncSkills,
|
|
30
30
|
formatAutoSyncNotice
|
|
31
|
-
} from "./chunk-
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
31
|
+
} from "./chunk-TYWTIYYM.js";
|
|
32
|
+
import "./chunk-SZXYGJMI.js";
|
|
33
|
+
import "./chunk-CZSHCZHW.js";
|
|
34
34
|
import {
|
|
35
35
|
accessFilterFromArgs,
|
|
36
36
|
dispatchRegisteredCommand,
|
|
37
37
|
printCliCatalog
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-5PYPNDIE.js";
|
|
39
39
|
import {
|
|
40
40
|
resolveCliAccess
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-VHHFAAMI.js";
|
|
42
42
|
import "./chunk-Z7IUAJOF.js";
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
43
|
+
import "./chunk-5AV2OUCJ.js";
|
|
44
|
+
import "./chunk-MRNMDQRB.js";
|
|
45
45
|
import "./chunk-AOJU5LKX.js";
|
|
46
46
|
import {
|
|
47
47
|
CliError,
|
|
@@ -52,7 +52,7 @@ import {
|
|
|
52
52
|
} from "./chunk-HGMYEDAQ.js";
|
|
53
53
|
import {
|
|
54
54
|
OperationAccesses
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-IG6ISQYD.js";
|
|
56
56
|
import "./chunk-MLKGABMK.js";
|
|
57
57
|
|
|
58
58
|
// src/cli.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createApiClient
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-SZXYGJMI.js";
|
|
4
|
+
import "./chunk-CZSHCZHW.js";
|
|
5
5
|
import {
|
|
6
6
|
emitJsonl
|
|
7
7
|
} from "./chunk-Z7IUAJOF.js";
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
normalizeCompetitorDomain,
|
|
22
22
|
shareOfVoiceLabel,
|
|
23
23
|
shareOfVoiceReason
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-IG6ISQYD.js";
|
|
25
25
|
import "./chunk-MLKGABMK.js";
|
|
26
26
|
|
|
27
27
|
// src/commands/competitor.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createApiClient
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-SZXYGJMI.js";
|
|
4
|
+
import "./chunk-CZSHCZHW.js";
|
|
5
5
|
import {
|
|
6
6
|
emitJsonl
|
|
7
7
|
} from "./chunk-Z7IUAJOF.js";
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
contentTargetDismissRequestSchema,
|
|
16
16
|
formatPercent
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-IG6ISQYD.js";
|
|
18
18
|
import "./chunk-MLKGABMK.js";
|
|
19
19
|
|
|
20
20
|
// src/commands/content.ts
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearDashboardPassword,
|
|
3
3
|
loadConfigRaw
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-CZSHCZHW.js";
|
|
5
5
|
import {
|
|
6
6
|
isMachineFormat
|
|
7
7
|
} from "./chunk-HGMYEDAQ.js";
|
|
8
8
|
import {
|
|
9
9
|
anyUsersExist
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-QP36LXT5.js";
|
|
11
|
+
import "./chunk-34HGKT6I.js";
|
|
12
|
+
import "./chunk-KX5IRN55.js";
|
|
13
13
|
import {
|
|
14
14
|
createClient
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-HD7AZIOP.js";
|
|
16
|
+
import "./chunk-IG6ISQYD.js";
|
|
17
17
|
import "./chunk-MLKGABMK.js";
|
|
18
18
|
|
|
19
19
|
// src/commands/dashboard.ts
|
|
@@ -40,7 +40,7 @@ function parseDemoTrustedProxies(values) {
|
|
|
40
40
|
async function demoCommand(options) {
|
|
41
41
|
const { host, port } = parseDemoListenOptions(options);
|
|
42
42
|
const trustProxy = parseDemoTrustedProxies(options.trustProxy);
|
|
43
|
-
const { createDemoServer } = await import("./demo-server-
|
|
43
|
+
const { createDemoServer } = await import("./demo-server-ZOV5HCDE.js");
|
|
44
44
|
const app = await createDemoServer({ trustProxy });
|
|
45
45
|
let stopping = false;
|
|
46
46
|
const stop = () => {
|
|
@@ -5,12 +5,12 @@ import {
|
|
|
5
5
|
computeFactorAverages,
|
|
6
6
|
layoutSiteCrawlGraphInput,
|
|
7
7
|
persistSiteCrawlGraphLayout
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-W5FR6AJP.js";
|
|
9
9
|
import {
|
|
10
10
|
canonryMcpTools
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-RL7LPPFU.js";
|
|
12
|
+
import "./chunk-VCSJHXW6.js";
|
|
13
|
+
import "./chunk-MRNMDQRB.js";
|
|
14
14
|
import {
|
|
15
15
|
PACKAGE_VERSION
|
|
16
16
|
} from "./chunk-AOJU5LKX.js";
|
|
@@ -18,16 +18,16 @@ import "./chunk-HGMYEDAQ.js";
|
|
|
18
18
|
import {
|
|
19
19
|
HISTORY_WINDOW_RUNS,
|
|
20
20
|
IntelligenceService
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-TGZKOIZ3.js";
|
|
22
22
|
import {
|
|
23
23
|
determineCitationState
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-G3ZNUINX.js";
|
|
25
25
|
import {
|
|
26
26
|
apiRoutes,
|
|
27
27
|
assessConversionTrackingIntegrity
|
|
28
|
-
} from "./chunk-
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
28
|
+
} from "./chunk-QP36LXT5.js";
|
|
29
|
+
import "./chunk-34HGKT6I.js";
|
|
30
|
+
import "./chunk-KX5IRN55.js";
|
|
31
31
|
import {
|
|
32
32
|
adsAdGroups,
|
|
33
33
|
adsAds,
|
|
@@ -103,7 +103,7 @@ import {
|
|
|
103
103
|
siteCrawlPages,
|
|
104
104
|
siteCrawlSnapshots,
|
|
105
105
|
trafficSources
|
|
106
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-HD7AZIOP.js";
|
|
107
107
|
import {
|
|
108
108
|
AI_ENGINE_DOMAINS,
|
|
109
109
|
GA_OVERVIEW_HISTORY_DAYS,
|
|
@@ -148,7 +148,7 @@ import {
|
|
|
148
148
|
roundPreservingTotal,
|
|
149
149
|
siteAuditPageFactorSchema,
|
|
150
150
|
wilsonInterval
|
|
151
|
-
} from "./chunk-
|
|
151
|
+
} from "./chunk-IG6ISQYD.js";
|
|
152
152
|
import "./chunk-MLKGABMK.js";
|
|
153
153
|
|
|
154
154
|
// src/demo-server.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createApiClient
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-SZXYGJMI.js";
|
|
4
|
+
import "./chunk-CZSHCZHW.js";
|
|
5
5
|
import {
|
|
6
6
|
emitJsonl
|
|
7
7
|
} from "./chunk-Z7IUAJOF.js";
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
CitationStates,
|
|
15
15
|
DiscoveryPromoteCompetitorSkipReasons,
|
|
16
16
|
describeError
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-IG6ISQYD.js";
|
|
18
18
|
import "./chunk-MLKGABMK.js";
|
|
19
19
|
|
|
20
20
|
// src/commands/discover.ts
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createApiClient
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-SZXYGJMI.js";
|
|
4
|
+
import "./chunk-CZSHCZHW.js";
|
|
5
5
|
import "./chunk-AOJU5LKX.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError,
|
|
8
8
|
EXIT_USER_ERROR
|
|
9
9
|
} from "./chunk-HGMYEDAQ.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-IG6ISQYD.js";
|
|
11
11
|
import "./chunk-MLKGABMK.js";
|
|
12
12
|
|
|
13
13
|
// src/commands/discover-eval.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createApiClient
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-SZXYGJMI.js";
|
|
4
|
+
import "./chunk-CZSHCZHW.js";
|
|
5
5
|
import {
|
|
6
6
|
emitJsonl
|
|
7
7
|
} from "./chunk-Z7IUAJOF.js";
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
import {
|
|
14
14
|
CheckScopes,
|
|
15
15
|
CheckStatuses
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-IG6ISQYD.js";
|
|
17
17
|
import "./chunk-MLKGABMK.js";
|
|
18
18
|
|
|
19
19
|
// src/commands/doctor.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createApiClient
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-SZXYGJMI.js";
|
|
4
|
+
import "./chunk-CZSHCZHW.js";
|
|
5
5
|
import {
|
|
6
6
|
emitJsonl
|
|
7
7
|
} from "./chunk-Z7IUAJOF.js";
|
|
@@ -9,7 +9,7 @@ import "./chunk-AOJU5LKX.js";
|
|
|
9
9
|
import "./chunk-HGMYEDAQ.js";
|
|
10
10
|
import {
|
|
11
11
|
CitationStates
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-IG6ISQYD.js";
|
|
13
13
|
import "./chunk-MLKGABMK.js";
|
|
14
14
|
|
|
15
15
|
// src/commands/evidence.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createApiClient
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-SZXYGJMI.js";
|
|
4
|
+
import "./chunk-CZSHCZHW.js";
|
|
5
5
|
import "./chunk-AOJU5LKX.js";
|
|
6
6
|
import {
|
|
7
7
|
isEndpointMissing,
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-HGMYEDAQ.js";
|
|
10
10
|
import {
|
|
11
11
|
isRedactedNotificationUrl
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-IG6ISQYD.js";
|
|
13
13
|
import "./chunk-MLKGABMK.js";
|
|
14
14
|
|
|
15
15
|
// src/commands/export-cmd.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createApiClient
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-SZXYGJMI.js";
|
|
4
|
+
import "./chunk-CZSHCZHW.js";
|
|
5
5
|
import {
|
|
6
6
|
emitJsonl
|
|
7
7
|
} from "./chunk-Z7IUAJOF.js";
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
gaSearchLandingHasSearchData,
|
|
27
27
|
gaSearchLandingPageLabel,
|
|
28
28
|
isGaOverviewWindow
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-IG6ISQYD.js";
|
|
30
30
|
import "./chunk-MLKGABMK.js";
|
|
31
31
|
|
|
32
32
|
// src/commands/ga.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createApiClient
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-SZXYGJMI.js";
|
|
4
|
+
import "./chunk-CZSHCZHW.js";
|
|
5
5
|
import "./chunk-AOJU5LKX.js";
|
|
6
6
|
import {
|
|
7
7
|
isMachineFormat
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
formatPercent,
|
|
12
12
|
gbpLocalPostCreateSchema,
|
|
13
13
|
validationError
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-IG6ISQYD.js";
|
|
15
15
|
import "./chunk-MLKGABMK.js";
|
|
16
16
|
|
|
17
17
|
// src/commands/gbp.ts
|