@ainyc/canonry 3.4.5 → 3.4.7
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/{index-C1kUp1aS.js → index-C6qeFqvR.js} +87 -87
- package/assets/index.html +1 -1
- package/dist/{chunk-P3PS3ZSN.js → chunk-3WMODJE5.js} +9 -3
- package/dist/{chunk-ZOJLW6WR.js → chunk-K33FVWFW.js} +1 -1
- package/dist/{chunk-D4YFX3X4.js → chunk-VIUWGDDU.js} +1 -0
- package/dist/{chunk-5OYYYY4I.js → chunk-ZYESHCMF.js} +1 -1
- package/dist/cli.js +5 -5
- package/dist/index.js +4 -4
- package/dist/{intelligence-service-GV6CAJ3Q.js → intelligence-service-NGA6RLCH.js} +2 -2
- package/dist/mcp.js +2 -2
- package/package.json +7 -7
package/assets/index.html
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
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-C6qeFqvR.js"></script>
|
|
16
16
|
<link rel="stylesheet" crossorigin href="./assets/index-JG7aBJrz.css">
|
|
17
17
|
</head>
|
|
18
18
|
<body>
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
configExists,
|
|
5
5
|
loadConfig,
|
|
6
6
|
saveConfigPatch
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-ZYESHCMF.js";
|
|
8
8
|
import {
|
|
9
9
|
IntelligenceService,
|
|
10
10
|
MIN_TREND_POINTS,
|
|
@@ -48,7 +48,7 @@ import {
|
|
|
48
48
|
runs,
|
|
49
49
|
schedules,
|
|
50
50
|
usageCounters
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-K33FVWFW.js";
|
|
52
52
|
import {
|
|
53
53
|
AGENT_MEMORY_VALUE_MAX_BYTES,
|
|
54
54
|
AGENT_PROVIDER_IDS,
|
|
@@ -110,7 +110,7 @@ import {
|
|
|
110
110
|
visibilityStateFromAnswerMentioned,
|
|
111
111
|
windowCutoff,
|
|
112
112
|
wordpressEnvSchema
|
|
113
|
-
} from "./chunk-
|
|
113
|
+
} from "./chunk-VIUWGDDU.js";
|
|
114
114
|
|
|
115
115
|
// src/telemetry.ts
|
|
116
116
|
import crypto from "crypto";
|
|
@@ -7234,6 +7234,9 @@ function validateSiteUrl(siteUrl) {
|
|
|
7234
7234
|
if (!siteUrl || typeof siteUrl !== "string" || siteUrl.trim().length === 0) {
|
|
7235
7235
|
throw new GoogleApiError("Site URL is required and must be a non-empty string", 400);
|
|
7236
7236
|
}
|
|
7237
|
+
if (/^\d+$/.test(siteUrl)) {
|
|
7238
|
+
return;
|
|
7239
|
+
}
|
|
7237
7240
|
if (siteUrl.startsWith("sc-domain:")) {
|
|
7238
7241
|
const domain = siteUrl.slice("sc-domain:".length);
|
|
7239
7242
|
if (!domain) {
|
|
@@ -8372,6 +8375,8 @@ async function googleRoutes(app, opts) {
|
|
|
8372
8375
|
const total = latestByUrl.size;
|
|
8373
8376
|
const indexed = indexedUrls.length;
|
|
8374
8377
|
const notIndexed = notIndexedUrls.length;
|
|
8378
|
+
const latestSnapshot = app.db.select({ createdAt: gscCoverageSnapshots.createdAt }).from(gscCoverageSnapshots).where(eq18(gscCoverageSnapshots.projectId, project.id)).orderBy(desc8(gscCoverageSnapshots.createdAt)).limit(1).get();
|
|
8379
|
+
const lastSyncedAt = latestSnapshot?.createdAt ?? null;
|
|
8375
8380
|
const formatRow = (r) => ({
|
|
8376
8381
|
id: r.id,
|
|
8377
8382
|
url: r.url,
|
|
@@ -8410,6 +8415,7 @@ async function googleRoutes(app, opts) {
|
|
|
8410
8415
|
percentage: total > 0 ? Math.round(indexed / total * 1e3) / 10 : 0
|
|
8411
8416
|
},
|
|
8412
8417
|
lastInspectedAt,
|
|
8418
|
+
lastSyncedAt,
|
|
8413
8419
|
indexed: indexedUrls.map(formatRow),
|
|
8414
8420
|
notIndexed: notIndexedUrls.map(formatRow),
|
|
8415
8421
|
deindexed: deindexedUrls,
|
|
@@ -608,6 +608,7 @@ var gscCoverageSummaryDtoSchema = z6.object({
|
|
|
608
608
|
percentage: z6.number()
|
|
609
609
|
}),
|
|
610
610
|
lastInspectedAt: z6.string().nullable(),
|
|
611
|
+
lastSyncedAt: z6.string().nullable(),
|
|
611
612
|
indexed: z6.array(gscUrlInspectionDtoSchema).default([]),
|
|
612
613
|
notIndexed: z6.array(gscUrlInspectionDtoSchema).default([]),
|
|
613
614
|
deindexed: z6.array(gscDeindexedRowSchema).default([]),
|
package/dist/cli.js
CHANGED
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
setGoogleAuthConfig,
|
|
18
18
|
showFirstRunNotice,
|
|
19
19
|
trackEvent
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-3WMODJE5.js";
|
|
21
21
|
import {
|
|
22
22
|
CliError,
|
|
23
23
|
EXIT_SYSTEM_ERROR,
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
saveConfig,
|
|
33
33
|
saveConfigPatch,
|
|
34
34
|
usageError
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-ZYESHCMF.js";
|
|
36
36
|
import {
|
|
37
37
|
MIN_TREND_POINTS,
|
|
38
38
|
apiKeys,
|
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
projects,
|
|
48
48
|
querySnapshots,
|
|
49
49
|
runs
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-K33FVWFW.js";
|
|
51
51
|
import {
|
|
52
52
|
CcReleaseSyncStatuses,
|
|
53
53
|
CheckScopes,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
providerQuotaPolicySchema,
|
|
66
66
|
resolveProviderInput,
|
|
67
67
|
skillsClientSchema
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-VIUWGDDU.js";
|
|
69
69
|
|
|
70
70
|
// src/cli.ts
|
|
71
71
|
import { pathToFileURL } from "url";
|
|
@@ -581,7 +581,7 @@ function readStoredGroundingSources(rawResponse) {
|
|
|
581
581
|
return result;
|
|
582
582
|
}
|
|
583
583
|
async function backfillInsightsCommand(project, opts) {
|
|
584
|
-
const { IntelligenceService } = await import("./intelligence-service-
|
|
584
|
+
const { IntelligenceService } = await import("./intelligence-service-NGA6RLCH.js");
|
|
585
585
|
const config = loadConfig();
|
|
586
586
|
const db = createClient(config.database);
|
|
587
587
|
migrate(db);
|
package/dist/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createServer
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-3WMODJE5.js";
|
|
4
4
|
import {
|
|
5
5
|
loadConfig
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-ZYESHCMF.js";
|
|
7
|
+
import "./chunk-K33FVWFW.js";
|
|
8
|
+
import "./chunk-VIUWGDDU.js";
|
|
9
9
|
export {
|
|
10
10
|
createServer,
|
|
11
11
|
loadConfig
|
package/dist/mcp.js
CHANGED
|
@@ -2,8 +2,8 @@ import {
|
|
|
2
2
|
CliError,
|
|
3
3
|
canonryMcpTools,
|
|
4
4
|
createApiClient
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-ZYESHCMF.js";
|
|
6
|
+
import "./chunk-VIUWGDDU.js";
|
|
7
7
|
|
|
8
8
|
// src/mcp/cli.ts
|
|
9
9
|
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": "3.4.
|
|
3
|
+
"version": "3.4.7",
|
|
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",
|
|
@@ -61,19 +61,19 @@
|
|
|
61
61
|
"tsx": "^4.19.0",
|
|
62
62
|
"@ainyc/canonry-api-routes": "0.0.0",
|
|
63
63
|
"@ainyc/canonry-config": "0.0.0",
|
|
64
|
-
"@ainyc/canonry-contracts": "0.0.0",
|
|
65
64
|
"@ainyc/canonry-db": "0.0.0",
|
|
66
|
-
"@ainyc/canonry-integration-bing": "0.0.0",
|
|
67
65
|
"@ainyc/canonry-intelligence": "0.0.0",
|
|
66
|
+
"@ainyc/canonry-integration-bing": "0.0.0",
|
|
67
|
+
"@ainyc/canonry-contracts": "0.0.0",
|
|
68
68
|
"@ainyc/canonry-integration-google": "0.0.0",
|
|
69
69
|
"@ainyc/canonry-integration-commoncrawl": "0.0.0",
|
|
70
|
-
"@ainyc/canonry-integration-wordpress": "0.0.0",
|
|
71
|
-
"@ainyc/canonry-provider-claude": "0.0.0",
|
|
72
70
|
"@ainyc/canonry-provider-cdp": "0.0.0",
|
|
73
|
-
"@ainyc/canonry-provider-openai": "0.0.0",
|
|
74
71
|
"@ainyc/canonry-provider-gemini": "0.0.0",
|
|
72
|
+
"@ainyc/canonry-integration-wordpress": "0.0.0",
|
|
73
|
+
"@ainyc/canonry-provider-claude": "0.0.0",
|
|
74
|
+
"@ainyc/canonry-provider-local": "0.0.0",
|
|
75
75
|
"@ainyc/canonry-provider-perplexity": "0.0.0",
|
|
76
|
-
"@ainyc/canonry-provider-
|
|
76
|
+
"@ainyc/canonry-provider-openai": "0.0.0"
|
|
77
77
|
},
|
|
78
78
|
"scripts": {
|
|
79
79
|
"build": "tsx scripts/copy-agent-assets.ts && tsup && tsx build-web.ts",
|