@canonry/canonry 6.3.1 → 7.0.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.
- package/README.md +3 -3
- package/assets/agent-workspace/skills/aero/SKILL.md +2 -2
- package/assets/agent-workspace/skills/aero/references/reporting.md +26 -23
- package/assets/agent-workspace/skills/canonry/references/canonry-cli.md +52 -21
- package/assets/agent-workspace/skills/canonry/references/server-side-traffic.md +17 -6
- package/assets/assets/{AuditHistoryPanel-BUYWIjlG.js → AuditHistoryPanel-DBYsgVsn.js} +1 -1
- package/assets/assets/{BacklinksPage-aBcxpN_9.js → BacklinksPage-HIM0fmV7.js} +1 -1
- package/assets/assets/ChartPrimitives-CYlrwLJs.js +1 -0
- package/assets/assets/{HistoryPage-PoBuxiY_.js → HistoryPage-BjEVp-fk.js} +1 -1
- package/assets/assets/MeasurementPropertyPage-BnVDR2y_.js +1 -0
- package/assets/assets/ProjectPage-BhCM47KA.js +8 -0
- package/assets/assets/{RunsPage-CHHxOpzo.js → RunsPage-fJQe2qJc.js} +1 -1
- package/assets/assets/{SettingsPage-CNKnrLXC.js → SettingsPage-1yam5tl6.js} +1 -1
- package/assets/assets/{SiteHealthSection-C9RivT7G.js → SiteHealthSection-DysU2M6C.js} +3 -3
- package/assets/assets/{TrafficPage-CY-ibXnb.js → TrafficPage-BdNEscz8.js} +2 -2
- package/assets/assets/{TrafficSourceDetailPage-BgiPXubs.js → TrafficSourceDetailPage-CMEgr4Aw.js} +1 -1
- package/assets/assets/{extract-error-message-H1dzzfBP.js → extract-error-message-D2dhaJaW.js} +1 -1
- package/assets/assets/index-CgT2Btdn.css +1 -0
- package/assets/assets/index-D9ODLKpH.js +86 -0
- package/assets/assets/{react-sigma_core.esm.min-uiYtR_DU.js → react-sigma_core.esm.min-oP23IWpt.js} +1 -1
- package/assets/assets/v2-overview-adapter-DYatWs7N.js +1 -0
- package/assets/assets/{vendor-recharts-llkUFBGR.js → vendor-recharts-D-cUuLZo.js} +1 -1
- package/assets/index.html +3 -3
- package/dist/{chunk-4WZUR7XX.js → chunk-A5PALGQD.js} +14 -9
- package/dist/{chunk-7CVTTQRV.js → chunk-EZ54X4XH.js} +4372 -8276
- package/dist/{chunk-ZZEPF3A5.js → chunk-HQJ25LI7.js} +83 -19
- package/dist/{chunk-5GY5WBAF.js → chunk-LXWY4NKP.js} +3 -3
- package/dist/{chunk-EV5G5QRR.js → chunk-OOUDIVIU.js} +1224 -3003
- package/dist/{chunk-5FYTFE5T.js → chunk-RRIZ5AKI.js} +2 -2
- package/dist/{chunk-DERWXLHX.js → chunk-TUHQ5BBQ.js} +65 -16
- package/dist/cli.js +240 -178
- package/dist/{demo-server-AIFR77TP.js → demo-server-LHHDVXQW.js} +5 -14
- package/dist/index.js +6 -6
- package/dist/{intelligence-service-SYISPW25.js → intelligence-service-ZVKZLLKL.js} +2 -2
- package/dist/mcp.js +4 -4
- package/package.json +14 -14
- package/assets/assets/ChartPrimitives-B5okB5g-.js +0 -1
- package/assets/assets/MeasurementPropertyPage-DyjyqHac.js +0 -1
- package/assets/assets/ProjectPage-Mmv5YW-K.js +0 -8
- package/assets/assets/index-C17E5ZcA.css +0 -1
- package/assets/assets/index-DSCun3I9.js +0 -86
- package/assets/assets/v2-overview-adapter-BQokN2eb.js +0 -1
package/assets/index.html
CHANGED
|
@@ -12,14 +12,14 @@
|
|
|
12
12
|
<link rel="icon" type="image/png" sizes="32x32" href="./favicon-32.png" />
|
|
13
13
|
<link rel="apple-touch-icon" href="./apple-touch-icon.png" />
|
|
14
14
|
<title>Canonry</title>
|
|
15
|
-
<script type="module" crossorigin src="./assets/index-
|
|
15
|
+
<script type="module" crossorigin src="./assets/index-D9ODLKpH.js"></script>
|
|
16
16
|
<link rel="modulepreload" crossorigin href="./assets/vendor-tanstack-ZXXkndVj.js">
|
|
17
17
|
<link rel="modulepreload" crossorigin href="./assets/vendor-radix-twS1M3FF.js">
|
|
18
|
-
<link rel="modulepreload" crossorigin href="./assets/vendor-recharts-
|
|
18
|
+
<link rel="modulepreload" crossorigin href="./assets/vendor-recharts-D-cUuLZo.js">
|
|
19
19
|
<link rel="modulepreload" crossorigin href="./assets/vendor-lucide-N6vOpZmh.js">
|
|
20
20
|
<link rel="modulepreload" crossorigin href="./assets/vendor-markdown-B4giJcws.js">
|
|
21
21
|
<link rel="modulepreload" crossorigin href="./assets/vendor-yaml-GWJz5H2G.js">
|
|
22
|
-
<link rel="stylesheet" crossorigin href="./assets/index-
|
|
22
|
+
<link rel="stylesheet" crossorigin href="./assets/index-CgT2Btdn.css">
|
|
23
23
|
</head>
|
|
24
24
|
<body>
|
|
25
25
|
<div id="root"></div>
|
|
@@ -19,21 +19,21 @@ import {
|
|
|
19
19
|
runWithUsageTags,
|
|
20
20
|
saveConfigPatch,
|
|
21
21
|
sentimentInstallReadiness
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-HQJ25LI7.js";
|
|
23
23
|
import {
|
|
24
24
|
computeFactorAverages,
|
|
25
25
|
deleteSiteCrawlGraphLayout,
|
|
26
26
|
persistSiteCrawlGraphLayout,
|
|
27
27
|
prepareSiteCrawlGraphLayout,
|
|
28
28
|
recordedSharePct
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-RRIZ5AKI.js";
|
|
30
30
|
import {
|
|
31
31
|
CanonryMcpToolNames,
|
|
32
32
|
CliError,
|
|
33
33
|
PACKAGE_VERSION,
|
|
34
34
|
canonryMcpTools,
|
|
35
35
|
isMachineFormat
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-TUHQ5BBQ.js";
|
|
37
37
|
import {
|
|
38
38
|
CC_CACHE_DIR,
|
|
39
39
|
DUCKDB_SPEC,
|
|
@@ -214,7 +214,7 @@ import {
|
|
|
214
214
|
siteLivenessState,
|
|
215
215
|
toAlertView,
|
|
216
216
|
usageCounters
|
|
217
|
-
} from "./chunk-
|
|
217
|
+
} from "./chunk-EZ54X4XH.js";
|
|
218
218
|
import {
|
|
219
219
|
AGENT_MEMORY_VALUE_MAX_BYTES,
|
|
220
220
|
AGENT_NONE,
|
|
@@ -330,6 +330,7 @@ import {
|
|
|
330
330
|
effectiveBrandNames,
|
|
331
331
|
effectiveDomains,
|
|
332
332
|
embedClientConfigForRequest,
|
|
333
|
+
embedProjectTabsError,
|
|
333
334
|
extractProviderHttpStatus,
|
|
334
335
|
factorStatusFromScore,
|
|
335
336
|
filterCapturedCitedUrls,
|
|
@@ -420,7 +421,7 @@ import {
|
|
|
420
421
|
visibilityReportRequestSchema,
|
|
421
422
|
winnabilityClassLabel,
|
|
422
423
|
withRetry
|
|
423
|
-
} from "./chunk-
|
|
424
|
+
} from "./chunk-OOUDIVIU.js";
|
|
424
425
|
|
|
425
426
|
// src/runtime-context.ts
|
|
426
427
|
function cliRuntimeContext(env = process.env, stdio = process) {
|
|
@@ -7422,7 +7423,7 @@ var museAdapter = {
|
|
|
7422
7423
|
|
|
7423
7424
|
// src/embed.ts
|
|
7424
7425
|
var DEFAULT_EMBED_PROJECT_TABS = ["overview"];
|
|
7425
|
-
var SERVER_ENFORCED_EMBED_PROJECT_TABS = ["overview", "technical-aeo"
|
|
7426
|
+
var SERVER_ENFORCED_EMBED_PROJECT_TABS = ["overview", "technical-aeo"];
|
|
7426
7427
|
function unsupportedEmbedProjectTabs(projectTabs) {
|
|
7427
7428
|
if (!projectTabs) return [];
|
|
7428
7429
|
const supported = new Set(SERVER_ENFORCED_EMBED_PROJECT_TABS);
|
|
@@ -7437,6 +7438,8 @@ function resolveEmbedConfig(env, config) {
|
|
|
7437
7438
|
const views = normalizeIdTokens(rawViews);
|
|
7438
7439
|
const rawProjectTabs = env.CANONRY_EMBED_PROJECT_TABS !== void 0 ? splitList(env.CANONRY_EMBED_PROJECT_TABS) : splitList(embed?.projectTabs);
|
|
7439
7440
|
const projectTabs = normalizeIdTokens(rawProjectTabs) ?? (enabled ? DEFAULT_EMBED_PROJECT_TABS : void 0);
|
|
7441
|
+
const projectTabsError = enabled ? embedProjectTabsError(projectTabs) : void 0;
|
|
7442
|
+
if (projectTabsError) throw new Error(projectTabsError);
|
|
7440
7443
|
return {
|
|
7441
7444
|
enabled,
|
|
7442
7445
|
allowedOrigins,
|
|
@@ -7982,7 +7985,7 @@ function nonBlank(value) {
|
|
|
7982
7985
|
return trimmed ? trimmed : void 0;
|
|
7983
7986
|
}
|
|
7984
7987
|
function resolveBuildCommit(env = process.env) {
|
|
7985
|
-
const embedded = true ? "
|
|
7988
|
+
const embedded = true ? "49491274532e363f77adf0d73eccaac7a5359a4c" : void 0;
|
|
7986
7989
|
return nonBlank(embedded) ?? nonBlank(env.CANONRY_COMMIT);
|
|
7987
7990
|
}
|
|
7988
7991
|
function resolveInstanceIdentity(env = process.env) {
|
|
@@ -14795,7 +14798,7 @@ function readStoredGroundingSources(rawResponse) {
|
|
|
14795
14798
|
return result2;
|
|
14796
14799
|
}
|
|
14797
14800
|
async function backfillInsightsCommand(project, opts) {
|
|
14798
|
-
const { IntelligenceService: IntelligenceService2 } = await import("./intelligence-service-
|
|
14801
|
+
const { IntelligenceService: IntelligenceService2 } = await import("./intelligence-service-ZVKZLLKL.js");
|
|
14799
14802
|
const config = loadConfig();
|
|
14800
14803
|
const db = createClient(config.database);
|
|
14801
14804
|
migrate(db);
|
|
@@ -22197,6 +22200,7 @@ function createGoogleMarketingConfigCredentialStore(input) {
|
|
|
22197
22200
|
};
|
|
22198
22201
|
}
|
|
22199
22202
|
async function createServer(opts) {
|
|
22203
|
+
const embed = resolveEmbedConfig(process.env, opts.config);
|
|
22200
22204
|
const operatorApiKeyIds = resolveOperatorApiKeyIds(process.env);
|
|
22201
22205
|
const dashboardManagedRunKinds = resolveDashboardManagedRunKinds(process.env, opts.config);
|
|
22202
22206
|
const operationalLogs = new OperationalLogStore(opts.db, {
|
|
@@ -23025,7 +23029,6 @@ async function createServer(opts) {
|
|
|
23025
23029
|
const rawBasePath = process.env.CANONRY_BASE_PATH ?? opts.config.basePath;
|
|
23026
23030
|
const normalizedBasePath = rawBasePath ? "/" + rawBasePath.replace(/^\//, "").replace(/\/?$/, "/") : void 0;
|
|
23027
23031
|
const basePath = normalizedBasePath === "/" ? void 0 : normalizedBasePath;
|
|
23028
|
-
const embed = resolveEmbedConfig(process.env, opts.config);
|
|
23029
23032
|
const embedCsp = embed.enabled ? frameAncestorsHeaderValue(embed.allowedOrigins) : void 0;
|
|
23030
23033
|
const unsupportedProjectTabs = unsupportedEmbedProjectTabs(embed.projectTabs);
|
|
23031
23034
|
if (embed.enabled && unsupportedProjectTabs.length > 0) {
|
|
@@ -24017,6 +24020,8 @@ async function createServer(opts) {
|
|
|
24017
24020
|
}
|
|
24018
24021
|
if (embed.enabled) {
|
|
24019
24022
|
const embedClient = embedClientConfigForRequest(embed, projectTabsOverride, themeOverride, renderTokenOverride);
|
|
24023
|
+
const projectTabsError = embedProjectTabsError(embedClient?.projectTabs);
|
|
24024
|
+
if (projectTabsError) throw validationError(projectTabsError);
|
|
24020
24025
|
if (embedClient) clientConfig.embed = embedClient;
|
|
24021
24026
|
}
|
|
24022
24027
|
const configScript = `<script>window.__CANONRY_CONFIG__=${serializeForInlineScript(clientConfig)}</script>`;
|