@ainyc/canonry 4.112.4 → 4.112.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/{BacklinksPage-ChE7nOep.js → BacklinksPage-D71EWLVy.js} +1 -1
- package/assets/assets/{ChartPrimitives-CMdpBEht.js → ChartPrimitives-CFWAHPcS.js} +1 -1
- package/assets/assets/{ProjectPage-BQ7oIpop.js → ProjectPage-zNZMtXRD.js} +5 -5
- package/assets/assets/{RunRow-BKJe-L1B.js → RunRow-Qyzm30FW.js} +1 -1
- package/assets/assets/{RunsPage-BLudiw-4.js → RunsPage-BmwjeZUx.js} +1 -1
- package/assets/assets/{SettingsPage-BO7SpzVu.js → SettingsPage-DwpJMAmo.js} +1 -1
- package/assets/assets/{TrafficPage-DoZFYqeL.js → TrafficPage-DQERHZoJ.js} +1 -1
- package/assets/assets/{TrafficSourceDetailPage-DIcGRFAI.js → TrafficSourceDetailPage-C-5sFG6L.js} +1 -1
- package/assets/assets/{arrow-left-JYVJoX86.js → arrow-left-uUn3V6mX.js} +1 -1
- package/assets/assets/{extract-error-message-BqsTUq-m.js → extract-error-message-DnaGve8f.js} +1 -1
- package/assets/assets/{index-CKPEP0IZ.js → index-Du2NS1zP.js} +73 -73
- package/assets/assets/index-l-PAIV0A.css +1 -0
- package/assets/assets/{trash-2-CInpE1Ta.js → trash-2-Cn2KSurM.js} +1 -1
- package/assets/index.html +2 -2
- package/dist/{chunk-UOMNYP5T.js → chunk-D5PEINWZ.js} +1 -1
- package/dist/{chunk-VICGMHY2.js → chunk-DBZLOLYT.js} +26 -3
- package/dist/{chunk-KS2M7B5E.js → chunk-FVELOZTK.js} +13 -7
- package/dist/{chunk-6M2ALGJA.js → chunk-K2XOEBSH.js} +1 -1
- package/dist/cli.js +4 -4
- package/dist/index.js +4 -4
- package/dist/{intelligence-service-RGOY43QR.js → intelligence-service-ZPY7NIKR.js} +2 -2
- package/dist/mcp.js +2 -2
- package/package.json +9 -9
- package/assets/assets/index-B05I3zvR.css +0 -1
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
loadConfig,
|
|
11
11
|
loadConfigRaw,
|
|
12
12
|
saveConfigPatch
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-K2XOEBSH.js";
|
|
14
14
|
import {
|
|
15
15
|
CC_CACHE_DIR,
|
|
16
16
|
DUCKDB_SPEC,
|
|
@@ -115,7 +115,7 @@ import {
|
|
|
115
115
|
siteAuditPages,
|
|
116
116
|
siteAuditSnapshots,
|
|
117
117
|
usageCounters
|
|
118
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-D5PEINWZ.js";
|
|
119
119
|
import {
|
|
120
120
|
AGENT_MEMORY_VALUE_MAX_BYTES,
|
|
121
121
|
AGENT_PROVIDER_IDS,
|
|
@@ -178,7 +178,7 @@ import {
|
|
|
178
178
|
validationError,
|
|
179
179
|
winnabilityClassLabel,
|
|
180
180
|
withRetry
|
|
181
|
-
} from "./chunk-
|
|
181
|
+
} from "./chunk-DBZLOLYT.js";
|
|
182
182
|
|
|
183
183
|
// src/telemetry.ts
|
|
184
184
|
import crypto from "crypto";
|
|
@@ -6508,7 +6508,7 @@ function readStoredGroundingSources(rawResponse) {
|
|
|
6508
6508
|
return result;
|
|
6509
6509
|
}
|
|
6510
6510
|
async function backfillInsightsCommand(project, opts) {
|
|
6511
|
-
const { IntelligenceService: IntelligenceService2 } = await import("./intelligence-service-
|
|
6511
|
+
const { IntelligenceService: IntelligenceService2 } = await import("./intelligence-service-ZPY7NIKR.js");
|
|
6512
6512
|
const config = loadConfig();
|
|
6513
6513
|
const db = createClient(config.database);
|
|
6514
6514
|
migrate(db);
|
|
@@ -12308,11 +12308,11 @@ async function createServer(opts) {
|
|
|
12308
12308
|
const assetsDir = opts.assetsDir ?? path9.join(dirname, "..", "assets");
|
|
12309
12309
|
if (fs8.existsSync(assetsDir)) {
|
|
12310
12310
|
const indexPath = path9.join(assetsDir, "index.html");
|
|
12311
|
-
const injectConfig = (html, projectTabsOverride) => {
|
|
12311
|
+
const injectConfig = (html, projectTabsOverride, themeOverride) => {
|
|
12312
12312
|
const clientConfig = {};
|
|
12313
12313
|
if (basePath) clientConfig.basePath = basePath;
|
|
12314
12314
|
if (embed.enabled) {
|
|
12315
|
-
const embedClient = embedClientConfigForRequest(embed, projectTabsOverride);
|
|
12315
|
+
const embedClient = embedClientConfigForRequest(embed, projectTabsOverride, themeOverride);
|
|
12316
12316
|
if (embedClient) clientConfig.embed = embedClient;
|
|
12317
12317
|
}
|
|
12318
12318
|
const configScript = `<script>window.__CANONRY_CONFIG__=${serializeForInlineScript(clientConfig)}</script>`;
|
|
@@ -12322,7 +12322,13 @@ async function createServer(opts) {
|
|
|
12322
12322
|
const sendSpaDocument = (reply, html) => {
|
|
12323
12323
|
reply.header("Cache-Control", "no-cache, must-revalidate");
|
|
12324
12324
|
if (embedCsp) reply.header("Content-Security-Policy", embedCsp);
|
|
12325
|
-
return reply.type("text/html").send(
|
|
12325
|
+
return reply.type("text/html").send(
|
|
12326
|
+
injectConfig(
|
|
12327
|
+
html,
|
|
12328
|
+
reply.request.headers["x-canonry-embed-tabs"],
|
|
12329
|
+
reply.request.headers["x-canonry-embed-theme"]
|
|
12330
|
+
)
|
|
12331
|
+
);
|
|
12326
12332
|
};
|
|
12327
12333
|
const fastifyStatic = await import("@fastify/static");
|
|
12328
12334
|
await app.register(fastifyStatic.default, {
|
package/dist/cli.js
CHANGED
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
setTelemetrySource,
|
|
30
30
|
showFirstRunNotice,
|
|
31
31
|
trackEvent
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-FVELOZTK.js";
|
|
33
33
|
import {
|
|
34
34
|
CliError,
|
|
35
35
|
EXIT_SYSTEM_ERROR,
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
saveConfig,
|
|
47
47
|
saveConfigPatch,
|
|
48
48
|
usageError
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-K2XOEBSH.js";
|
|
50
50
|
import {
|
|
51
51
|
apiKeys,
|
|
52
52
|
createClient,
|
|
@@ -54,7 +54,7 @@ import {
|
|
|
54
54
|
projects,
|
|
55
55
|
queries,
|
|
56
56
|
renderReportHtml
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-D5PEINWZ.js";
|
|
58
58
|
import {
|
|
59
59
|
BacklinkSources,
|
|
60
60
|
CcReleaseSyncStatuses,
|
|
@@ -80,7 +80,7 @@ import {
|
|
|
80
80
|
providerQuotaPolicySchema,
|
|
81
81
|
resolveProviderInput,
|
|
82
82
|
winnabilityClassSchema
|
|
83
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-DBZLOLYT.js";
|
|
84
84
|
|
|
85
85
|
// src/cli.ts
|
|
86
86
|
import { pathToFileURL } from "url";
|
package/dist/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createServer
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-FVELOZTK.js";
|
|
4
4
|
import {
|
|
5
5
|
loadConfig
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-K2XOEBSH.js";
|
|
7
|
+
import "./chunk-D5PEINWZ.js";
|
|
8
|
+
import "./chunk-DBZLOLYT.js";
|
|
9
9
|
export {
|
|
10
10
|
createServer,
|
|
11
11
|
loadConfig
|
package/dist/mcp.js
CHANGED
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
PACKAGE_VERSION,
|
|
4
4
|
canonryMcpTools,
|
|
5
5
|
createApiClient
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-K2XOEBSH.js";
|
|
7
7
|
import {
|
|
8
8
|
isReadOnlyKey
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-DBZLOLYT.js";
|
|
10
10
|
|
|
11
11
|
// src/mcp/cli.ts
|
|
12
12
|
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ainyc/canonry",
|
|
3
|
-
"version": "4.112.
|
|
3
|
+
"version": "4.112.6",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Agent-first open-source AEO operating platform - track how answer engines cite your domain",
|
|
6
6
|
"license": "FSL-1.1-ALv2",
|
|
@@ -65,25 +65,25 @@
|
|
|
65
65
|
"@types/node-cron": "^3.0.11",
|
|
66
66
|
"tsup": "^8.5.1",
|
|
67
67
|
"tsx": "^4.19.0",
|
|
68
|
-
"@ainyc/canonry-api-client": "0.0.0",
|
|
69
|
-
"@ainyc/canonry-api-routes": "0.0.0",
|
|
70
68
|
"@ainyc/canonry-config": "0.0.0",
|
|
71
69
|
"@ainyc/canonry-contracts": "0.0.0",
|
|
70
|
+
"@ainyc/canonry-api-client": "0.0.0",
|
|
71
|
+
"@ainyc/canonry-api-routes": "0.0.0",
|
|
72
72
|
"@ainyc/canonry-db": "0.0.0",
|
|
73
73
|
"@ainyc/canonry-integration-bing": "0.0.0",
|
|
74
|
-
"@ainyc/canonry-integration-openai-ads": "0.0.0",
|
|
75
74
|
"@ainyc/canonry-integration-cloud-run": "0.0.0",
|
|
75
|
+
"@ainyc/canonry-integration-openai-ads": "0.0.0",
|
|
76
|
+
"@ainyc/canonry-integration-commoncrawl": "0.0.0",
|
|
76
77
|
"@ainyc/canonry-integration-google": "0.0.0",
|
|
77
78
|
"@ainyc/canonry-integration-google-business-profile": "0.0.0",
|
|
78
|
-
"@ainyc/canonry-integration-commoncrawl": "0.0.0",
|
|
79
|
-
"@ainyc/canonry-integration-traffic": "0.0.0",
|
|
80
|
-
"@ainyc/canonry-integration-wordpress": "0.0.0",
|
|
81
79
|
"@ainyc/canonry-integration-google-places": "0.0.0",
|
|
82
|
-
"@ainyc/canonry-
|
|
80
|
+
"@ainyc/canonry-integration-wordpress": "0.0.0",
|
|
83
81
|
"@ainyc/canonry-intelligence": "0.0.0",
|
|
82
|
+
"@ainyc/canonry-provider-cdp": "0.0.0",
|
|
84
83
|
"@ainyc/canonry-provider-claude": "0.0.0",
|
|
85
|
-
"@ainyc/canonry-provider-local": "0.0.0",
|
|
86
84
|
"@ainyc/canonry-provider-gemini": "0.0.0",
|
|
85
|
+
"@ainyc/canonry-provider-local": "0.0.0",
|
|
86
|
+
"@ainyc/canonry-integration-traffic": "0.0.0",
|
|
87
87
|
"@ainyc/canonry-provider-openai": "0.0.0",
|
|
88
88
|
"@ainyc/canonry-provider-perplexity": "0.0.0"
|
|
89
89
|
},
|