@canonry/canonry 4.180.4 → 4.180.6
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/assets/{AuditHistoryPanel-CdM_9qX1.js → AuditHistoryPanel-Cwgbldst.js} +1 -1
- package/assets/assets/{BacklinksPage-DWWMPSPn.js → BacklinksPage-h08vP0Of.js} +1 -1
- package/assets/assets/{HistoryPage-m7TtGFBQ.js → HistoryPage-Dwyad0V0.js} +1 -1
- package/assets/assets/{MeasurementPropertyPage-CYBfBtEz.js → MeasurementPropertyPage-DOyOHeiU.js} +1 -1
- package/assets/assets/{ProjectPage-CNPcNrIR.js → ProjectPage-D9e_1Gpz.js} +6 -6
- package/assets/assets/{RunRow-O4u505Fc.js → RunRow-CVl2cqfG.js} +1 -1
- package/assets/assets/{RunsPage-CCzFT4X0.js → RunsPage-zzN2iQbk.js} +1 -1
- package/assets/assets/{SettingsPage-DOmE3JbU.js → SettingsPage-qiQLOtpd.js} +1 -1
- package/assets/assets/{SiteHealthSection-BZFVE2h9.js → SiteHealthSection-R0MWiuZX.js} +3 -3
- package/assets/assets/{TrafficPage-DYxOEVbW.js → TrafficPage-CEA76iwx.js} +1 -1
- package/assets/assets/{TrafficSourceDetailPage-Qd5Zpx_8.js → TrafficSourceDetailPage-BnbNPkis.js} +1 -1
- package/assets/assets/{extract-error-message-B0bdIDVc.js → extract-error-message-Ctp1FqW1.js} +1 -1
- package/assets/assets/{index-HmdbSL4h.js → index-D-OGmIKF.js} +3 -3
- package/assets/assets/{react-sigma_core.esm.min-DXCrX1Ie.js → react-sigma_core.esm.min-DwnhdseV.js} +1 -1
- package/assets/index.html +1 -1
- package/dist/{chunk-JJIESVNL.js → chunk-CWXPBQR5.js} +1 -1
- package/dist/{chunk-UESVOQRS.js → chunk-RXXZ5BU5.js} +23 -2
- package/dist/{chunk-2J65ALIR.js → chunk-VZO6CLHY.js} +4 -4
- package/dist/{chunk-V4QGOJNH.js → chunk-WJFBNCVD.js} +121 -45
- package/dist/{chunk-DK23XZ6C.js → chunk-XYTSKRO3.js} +2 -2
- package/dist/cli.js +14 -20
- package/dist/index.js +4 -4
- package/dist/{intelligence-service-XNAKDGDQ.js → intelligence-service-MEPYXRBS.js} +2 -2
- package/dist/mcp.js +3 -3
- package/package.json +12 -12
package/dist/cli.js
CHANGED
|
@@ -26,11 +26,11 @@ import {
|
|
|
26
26
|
showFirstRunNotice,
|
|
27
27
|
trackCliCommandFinished,
|
|
28
28
|
trackEvent
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-VZO6CLHY.js";
|
|
30
30
|
import {
|
|
31
31
|
autoSyncSkills,
|
|
32
32
|
formatAutoSyncNotice
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-XYTSKRO3.js";
|
|
34
34
|
import {
|
|
35
35
|
CliError,
|
|
36
36
|
EXIT_SYSTEM_ERROR,
|
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
saveConfigPatch,
|
|
56
56
|
systemError,
|
|
57
57
|
usageError
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-CWXPBQR5.js";
|
|
59
59
|
import {
|
|
60
60
|
CLOUDFLARE_WORKER_BINDINGS,
|
|
61
61
|
CLOUDFLARE_WORKER_GENERATED_MARKER,
|
|
@@ -69,7 +69,7 @@ import {
|
|
|
69
69
|
projects,
|
|
70
70
|
queries,
|
|
71
71
|
renderReportHtml
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-WJFBNCVD.js";
|
|
73
73
|
import {
|
|
74
74
|
AdsDeliverySnapshotStatuses,
|
|
75
75
|
AdsHistoricalCampaignRollupStatuses,
|
|
@@ -138,7 +138,7 @@ import {
|
|
|
138
138
|
providerQuotaPolicySchema,
|
|
139
139
|
resolveProviderInput,
|
|
140
140
|
winnabilityClassSchema
|
|
141
|
-
} from "./chunk-
|
|
141
|
+
} from "./chunk-RXXZ5BU5.js";
|
|
142
142
|
|
|
143
143
|
// src/cli.ts
|
|
144
144
|
import { pathToFileURL } from "url";
|
|
@@ -4066,12 +4066,12 @@ async function gaTraffic(project, opts) {
|
|
|
4066
4066
|
console.log(` Social Sessions: ${result.socialSessions} (${share}% of total)`);
|
|
4067
4067
|
}
|
|
4068
4068
|
console.log(" SOCIAL REFERRAL SOURCES");
|
|
4069
|
-
console.log(` ${"SOURCE".padEnd(25)} ${"MEDIUM".padEnd(15)} ${"CHANNEL".padEnd(chanWidth)} ${"SESSIONS".padEnd(10)}
|
|
4070
|
-
console.log(` ${"\u2500".repeat(25)} ${"\u2500".repeat(15)} ${"\u2500".repeat(chanWidth)} ${"\u2500".repeat(10)}
|
|
4069
|
+
console.log(` ${"SOURCE".padEnd(25)} ${"MEDIUM".padEnd(15)} ${"CHANNEL".padEnd(chanWidth)} ${"SESSIONS".padEnd(10)}`);
|
|
4070
|
+
console.log(` ${"\u2500".repeat(25)} ${"\u2500".repeat(15)} ${"\u2500".repeat(chanWidth)} ${"\u2500".repeat(10)}`);
|
|
4071
4071
|
for (const ref of result.socialReferrals) {
|
|
4072
4072
|
const chanLabel = ref.channelGroup === "Paid Social" ? "paid" : "organic";
|
|
4073
4073
|
console.log(
|
|
4074
|
-
` ${ref.source.padEnd(25)} ${ref.medium.padEnd(15)} ${chanLabel.padEnd(chanWidth)} ${String(ref.sessions).padEnd(10)}
|
|
4074
|
+
` ${ref.source.padEnd(25)} ${ref.medium.padEnd(15)} ${chanLabel.padEnd(chanWidth)} ${String(ref.sessions).padEnd(10)}`
|
|
4075
4075
|
);
|
|
4076
4076
|
}
|
|
4077
4077
|
console.log();
|
|
@@ -4079,12 +4079,12 @@ async function gaTraffic(project, opts) {
|
|
|
4079
4079
|
if (result.topPages.length > 0) {
|
|
4080
4080
|
const pageWidth = Math.min(60, Math.max(15, ...result.topPages.map((r) => r.landingPage.length)));
|
|
4081
4081
|
console.log(` TOP LANDING PAGES`);
|
|
4082
|
-
console.log(` ${"PAGE".padEnd(pageWidth)} ${"SESSIONS".padEnd(10)}${"ORGANIC".padEnd(10)}
|
|
4083
|
-
console.log(` ${"\u2500".repeat(pageWidth)} ${"\u2500".repeat(10)}${"\u2500".repeat(10)}
|
|
4082
|
+
console.log(` ${"PAGE".padEnd(pageWidth)} ${"SESSIONS".padEnd(10)}${"ORGANIC".padEnd(10)}`);
|
|
4083
|
+
console.log(` ${"\u2500".repeat(pageWidth)} ${"\u2500".repeat(10)}${"\u2500".repeat(10)}`);
|
|
4084
4084
|
for (const row of result.topPages) {
|
|
4085
4085
|
const page = row.landingPage.length > pageWidth ? row.landingPage.slice(0, pageWidth - 3) + "..." : row.landingPage;
|
|
4086
4086
|
console.log(
|
|
4087
|
-
` ${page.padEnd(pageWidth)} ${String(row.sessions).padEnd(10)}${String(row.organicSessions).padEnd(10)}
|
|
4087
|
+
` ${page.padEnd(pageWidth)} ${String(row.sessions).padEnd(10)}${String(row.organicSessions).padEnd(10)}`
|
|
4088
4088
|
);
|
|
4089
4089
|
}
|
|
4090
4090
|
}
|
|
@@ -4153,12 +4153,12 @@ async function gaAiReferralHistory(project, opts) {
|
|
|
4153
4153
|
const attrWidth = 12;
|
|
4154
4154
|
console.log(`GA4 AI Referral History for "${project}":
|
|
4155
4155
|
`);
|
|
4156
|
-
console.log(` ${"DATE".padEnd(dateWidth)} ${"SOURCE".padEnd(sourceWidth)} ${"ATTRIBUTION".padEnd(attrWidth)} ${"SESSIONS".padEnd(10)}
|
|
4157
|
-
console.log(` ${"\u2500".repeat(dateWidth)} ${"\u2500".repeat(sourceWidth)} ${"\u2500".repeat(attrWidth)} ${"\u2500".repeat(10)}
|
|
4156
|
+
console.log(` ${"DATE".padEnd(dateWidth)} ${"SOURCE".padEnd(sourceWidth)} ${"ATTRIBUTION".padEnd(attrWidth)} ${"SESSIONS".padEnd(10)}`);
|
|
4157
|
+
console.log(` ${"\u2500".repeat(dateWidth)} ${"\u2500".repeat(sourceWidth)} ${"\u2500".repeat(attrWidth)} ${"\u2500".repeat(10)}`);
|
|
4158
4158
|
for (const row of result) {
|
|
4159
4159
|
const dimLabel = row.sourceDimension === "first_user" ? "first-visit" : row.sourceDimension === "manual_utm" ? "utm" : "session";
|
|
4160
4160
|
console.log(
|
|
4161
|
-
` ${row.date.padEnd(dateWidth)} ${row.source.padEnd(sourceWidth)} ${dimLabel.padEnd(attrWidth)} ${String(row.sessions).padEnd(10)}
|
|
4161
|
+
` ${row.date.padEnd(dateWidth)} ${row.source.padEnd(sourceWidth)} ${dimLabel.padEnd(attrWidth)} ${String(row.sessions).padEnd(10)}`
|
|
4162
4162
|
);
|
|
4163
4163
|
}
|
|
4164
4164
|
}
|
|
@@ -4290,7 +4290,6 @@ async function gaSocialReferralSummary(project, opts) {
|
|
|
4290
4290
|
if (isMachineFormat(opts.format)) {
|
|
4291
4291
|
console.log(JSON.stringify({
|
|
4292
4292
|
socialSessions: traffic.socialSessions,
|
|
4293
|
-
socialUsers: traffic.socialUsers,
|
|
4294
4293
|
totalSessions: traffic.totalSessions,
|
|
4295
4294
|
socialSharePct: traffic.socialSharePct,
|
|
4296
4295
|
windowStart: traffic.windowStart,
|
|
@@ -4307,7 +4306,6 @@ async function gaSocialReferralSummary(project, opts) {
|
|
|
4307
4306
|
if (trendWindow) console.log(`${trendWindow}
|
|
4308
4307
|
`);
|
|
4309
4308
|
console.log(` Sessions: ${traffic.socialSessions} (${traffic.socialSharePct}% of ${traffic.totalSessions} total)`);
|
|
4310
|
-
console.log(` Users: ${traffic.socialUsers}`);
|
|
4311
4309
|
console.log();
|
|
4312
4310
|
const fmtTrend = (pct4) => pct4 === null ? "n/a" : `${pct4 >= 0 ? "+" : ""}${pct4}%`;
|
|
4313
4311
|
console.log(` 7d trend: ${fmtTrend(trend.trend7dPct)} (${trend.socialSessions7d} vs ${trend.socialSessionsPrev7d})`);
|
|
@@ -4329,7 +4327,6 @@ async function gaSocialReferralSummary(project, opts) {
|
|
|
4329
4327
|
if (isMachineFormat(opts?.format)) {
|
|
4330
4328
|
console.log(JSON.stringify({
|
|
4331
4329
|
socialSessions: traffic.socialSessions,
|
|
4332
|
-
socialUsers: traffic.socialUsers,
|
|
4333
4330
|
totalSessions: traffic.totalSessions,
|
|
4334
4331
|
socialSharePct: traffic.socialSharePct,
|
|
4335
4332
|
windowStart: traffic.windowStart,
|
|
@@ -4345,7 +4342,6 @@ async function gaSocialReferralSummary(project, opts) {
|
|
|
4345
4342
|
if (socialWindow) console.log(`${socialWindow}
|
|
4346
4343
|
`);
|
|
4347
4344
|
console.log(` Sessions: ${traffic.socialSessions} (${traffic.socialSharePct}% of ${traffic.totalSessions} total)`);
|
|
4348
|
-
console.log(` Users: ${traffic.socialUsers}`);
|
|
4349
4345
|
if (traffic.socialReferrals.length > 0) {
|
|
4350
4346
|
console.log();
|
|
4351
4347
|
console.log(" TOP SOURCES");
|
|
@@ -4373,7 +4369,6 @@ async function gaAttribution(project, opts) {
|
|
|
4373
4369
|
paidAiSessionsBySession: traffic.paidAiSessionsBySession,
|
|
4374
4370
|
organicAiSessionsBySession: traffic.organicAiSessionsBySession,
|
|
4375
4371
|
socialSessions: traffic.socialSessions,
|
|
4376
|
-
socialUsers: traffic.socialUsers,
|
|
4377
4372
|
directSessions: traffic.totalDirectSessions,
|
|
4378
4373
|
aiSharePct: traffic.aiSharePct,
|
|
4379
4374
|
aiSharePctBySession: traffic.aiSharePctBySession,
|
|
@@ -4457,7 +4452,6 @@ async function gaAttribution(project, opts) {
|
|
|
4457
4452
|
paidAiSessionsBySession: traffic.paidAiSessionsBySession,
|
|
4458
4453
|
organicAiSessionsBySession: traffic.organicAiSessionsBySession,
|
|
4459
4454
|
socialSessions: traffic.socialSessions,
|
|
4460
|
-
socialUsers: traffic.socialUsers,
|
|
4461
4455
|
directSessions: traffic.totalDirectSessions,
|
|
4462
4456
|
aiSharePct: traffic.aiSharePct,
|
|
4463
4457
|
aiSharePctBySession: traffic.aiSharePctBySession,
|
package/dist/index.js
CHANGED
|
@@ -3,12 +3,12 @@ import {
|
|
|
3
3
|
createGoogleMarketingCredentialStore,
|
|
4
4
|
createGoogleMarketingRuntime,
|
|
5
5
|
createServer
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-VZO6CLHY.js";
|
|
7
7
|
import {
|
|
8
8
|
loadConfig
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-CWXPBQR5.js";
|
|
10
|
+
import "./chunk-WJFBNCVD.js";
|
|
11
|
+
import "./chunk-RXXZ5BU5.js";
|
|
12
12
|
export {
|
|
13
13
|
GoogleMarketingRuntimeError,
|
|
14
14
|
createGoogleMarketingCredentialStore,
|
package/dist/mcp.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
autoSyncSkills
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-XYTSKRO3.js";
|
|
4
4
|
import {
|
|
5
5
|
createApiClient,
|
|
6
6
|
createCanonryMcpServer
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-CWXPBQR5.js";
|
|
8
8
|
import {
|
|
9
9
|
isReadOnlyKey
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-RXXZ5BU5.js";
|
|
11
11
|
|
|
12
12
|
// src/mcp/cli.ts
|
|
13
13
|
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@canonry/canonry",
|
|
3
|
-
"version": "4.180.
|
|
3
|
+
"version": "4.180.6",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Self-hosted AI visibility (AEO) platform: track how ChatGPT, Claude, Gemini, and Perplexity cite your domain, join it with Search Console, GA4, server-side traffic, and paid media, and fix what you find through agent tools (CLI, REST, MCP). Local SQLite.",
|
|
6
6
|
"license": "FSL-1.1-ALv2",
|
|
@@ -70,31 +70,31 @@
|
|
|
70
70
|
"@types/node-cron": "^3.0.11",
|
|
71
71
|
"tsup": "^8.5.1",
|
|
72
72
|
"tsx": "^4.19.0",
|
|
73
|
-
"@ainyc/canonry-api-routes": "0.0.0",
|
|
74
73
|
"@ainyc/canonry-api-client": "0.0.0",
|
|
75
|
-
"@ainyc/canonry-
|
|
76
|
-
"@ainyc/canonry-contracts": "0.0.0",
|
|
74
|
+
"@ainyc/canonry-api-routes": "0.0.0",
|
|
77
75
|
"@ainyc/canonry-db": "0.0.0",
|
|
76
|
+
"@ainyc/canonry-contracts": "0.0.0",
|
|
78
77
|
"@ainyc/canonry-integration-bing": "0.0.0",
|
|
79
78
|
"@ainyc/canonry-integration-cloudflare-queue": "0.0.0",
|
|
80
|
-
"@ainyc/canonry-integration-cloud-run": "0.0.0",
|
|
81
79
|
"@ainyc/canonry-integration-cloudflare-worker": "0.0.0",
|
|
82
|
-
"@ainyc/canonry-integration-google": "0.0.0",
|
|
83
80
|
"@ainyc/canonry-integration-commoncrawl": "0.0.0",
|
|
81
|
+
"@ainyc/canonry-config": "0.0.0",
|
|
84
82
|
"@ainyc/canonry-integration-google-ads": "0.0.0",
|
|
85
|
-
"@ainyc/canonry-integration-google-places": "0.0.0",
|
|
86
83
|
"@ainyc/canonry-integration-google-business-profile": "0.0.0",
|
|
84
|
+
"@ainyc/canonry-integration-cloud-run": "0.0.0",
|
|
85
|
+
"@ainyc/canonry-integration-google-places": "0.0.0",
|
|
86
|
+
"@ainyc/canonry-integration-google": "0.0.0",
|
|
87
87
|
"@ainyc/canonry-integration-google-tag-manager": "0.0.0",
|
|
88
88
|
"@ainyc/canonry-integration-openai-ads": "0.0.0",
|
|
89
89
|
"@ainyc/canonry-integration-traffic": "0.0.0",
|
|
90
90
|
"@ainyc/canonry-integration-wordpress": "0.0.0",
|
|
91
|
-
"@ainyc/canonry-provider-claude": "0.0.0",
|
|
92
|
-
"@ainyc/canonry-provider-gemini": "0.0.0",
|
|
93
91
|
"@ainyc/canonry-intelligence": "0.0.0",
|
|
94
|
-
"@ainyc/canonry-provider-local": "0.0.0",
|
|
95
|
-
"@ainyc/canonry-provider-openai": "0.0.0",
|
|
96
92
|
"@ainyc/canonry-provider-cdp": "0.0.0",
|
|
97
|
-
"@ainyc/canonry-provider-
|
|
93
|
+
"@ainyc/canonry-provider-claude": "0.0.0",
|
|
94
|
+
"@ainyc/canonry-provider-openai": "0.0.0",
|
|
95
|
+
"@ainyc/canonry-provider-perplexity": "0.0.0",
|
|
96
|
+
"@ainyc/canonry-provider-local": "0.0.0",
|
|
97
|
+
"@ainyc/canonry-provider-gemini": "0.0.0"
|
|
98
98
|
},
|
|
99
99
|
"scripts": {
|
|
100
100
|
"build": "tsx scripts/copy-agent-assets.ts && tsup && tsx build-web.ts",
|