@canonry/canonry 4.156.0 → 4.158.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 +2 -2
- package/assets/agent-workspace/skills/canonry/SKILL.md +8 -3
- package/assets/agent-workspace/skills/canonry/references/server-side-traffic.md +454 -21
- package/assets/assets/{AuditHistoryPanel-gmJMVlXX.js → AuditHistoryPanel-McQfjoU9.js} +1 -1
- package/assets/assets/{BacklinksPage-Bv2sTCyN.js → BacklinksPage-Da8y1Wv8.js} +1 -1
- package/assets/assets/{HistoryPage-13q7GkiI.js → HistoryPage-9MJfhRyT.js} +1 -1
- package/assets/assets/{MeasurementPropertyPage-BgBqXT1p.js → MeasurementPropertyPage-BiNAHEJW.js} +1 -1
- package/assets/assets/ProjectPage-mWSMjXrR.js +15 -0
- package/assets/assets/{RunRow-bPzapIGJ.js → RunRow-DCG2LBlS.js} +1 -1
- package/assets/assets/{RunsPage-Dqfz18lH.js → RunsPage-ByWA_FSk.js} +1 -1
- package/assets/assets/{SettingsPage-_wMecn-V.js → SettingsPage-DdSeKAKF.js} +1 -1
- package/assets/assets/{TrafficPage-RYBdsOLB.js → TrafficPage-5u8rPcBt.js} +1 -1
- package/assets/assets/{TrafficSourceDetailPage-DpeMMyKU.js → TrafficSourceDetailPage-Dm-fK87u.js} +1 -1
- package/assets/assets/{extract-error-message-DUarAlyD.js → extract-error-message-CtxkAd6E.js} +1 -1
- package/assets/assets/{index-DP-fT2uI.js → index-DUfg50Pl.js} +28 -28
- package/assets/assets/index-cXb3mfeQ.css +1 -0
- package/assets/assets/{react-sigma_core.esm.min-DnypJl5w.js → react-sigma_core.esm.min-ComIyDKi.js} +1 -1
- package/assets/index.html +2 -2
- package/dist/{chunk-ZWESOFA5.js → chunk-4VZP64GZ.js} +273 -15
- package/dist/{chunk-AMPT2EP7.js → chunk-DEVAEC2S.js} +121 -1
- package/dist/{chunk-CPASKGUE.js → chunk-LK6YFHG4.js} +35 -1
- package/dist/{chunk-ABNN2ZVR.js → chunk-YP4K2KXH.js} +1933 -451
- package/dist/cli.js +667 -142
- package/dist/index.d.ts +32 -0
- package/dist/index.js +4 -4
- package/dist/{intelligence-service-WHC7B32V.js → intelligence-service-LQ6ZRWMF.js} +2 -2
- package/dist/mcp.js +2 -2
- package/package.json +12 -10
- package/assets/assets/ProjectPage-EsGwKhot.js +0 -15
- package/assets/assets/index-BxegEwic.css +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -156,6 +156,37 @@ interface VercelTrafficConnectionConfigEntry {
|
|
|
156
156
|
interface VercelTrafficConfigEntry {
|
|
157
157
|
connections?: VercelTrafficConnectionConfigEntry[];
|
|
158
158
|
}
|
|
159
|
+
/**
|
|
160
|
+
* Per-project Cloudflare Worker traffic connection. In direct-push mode the
|
|
161
|
+
* Worker forwards filtered requests to canonry's ingest endpoint. The Worker
|
|
162
|
+
* reads the bearer and HMAC values from Cloudflare secret bindings; generated
|
|
163
|
+
* source and Wrangler configuration never contain either cleartext value.
|
|
164
|
+
* The DB stores only the bearer hash, while both cleartext secrets live here.
|
|
165
|
+
*/
|
|
166
|
+
interface CloudflareTrafficConnectionConfigEntry {
|
|
167
|
+
projectName: string;
|
|
168
|
+
/** `traffic_sources.id` for this connection — pairs the credential row with the DB row. */
|
|
169
|
+
sourceId: string;
|
|
170
|
+
/** Explicit transport discriminator. Missing legacy values normalize to direct-push. */
|
|
171
|
+
deliveryMode: 'direct-push';
|
|
172
|
+
/** Bearer token authenticating ingest requests. Verified server-side via sha256(bearer) === ingestTokenHash. */
|
|
173
|
+
bearerToken: string;
|
|
174
|
+
/** HMAC-SHA256 shared secret. Worker signs `timestamp + "." + body` with it; server verifies. */
|
|
175
|
+
hmacSecret: string;
|
|
176
|
+
/** Semver of the Worker script bundle that was generated at connect/rotate time. */
|
|
177
|
+
workerVersion: string;
|
|
178
|
+
/** Identifier of the bot/referer keyword set baked into the deployed Worker. */
|
|
179
|
+
expectedBotListVersion: string;
|
|
180
|
+
/** Target zone retained for manual route instructions. Wrangler does not attach the route. */
|
|
181
|
+
zoneId: string | null;
|
|
182
|
+
/** Optional Cloudflare account id emitted as top-level Wrangler configuration. */
|
|
183
|
+
accountId: string | null;
|
|
184
|
+
createdAt: string;
|
|
185
|
+
updatedAt: string;
|
|
186
|
+
}
|
|
187
|
+
interface CloudflareTrafficConfigEntry {
|
|
188
|
+
connections?: CloudflareTrafficConnectionConfigEntry[];
|
|
189
|
+
}
|
|
159
190
|
/**
|
|
160
191
|
* One injected remote MCP server Aero loads read-only tools from (OSS-A).
|
|
161
192
|
* Generic shape: `{ url, token, label? }`. The transport is bearer-gated MCP
|
|
@@ -238,6 +269,7 @@ interface CanonryConfig {
|
|
|
238
269
|
wordpress?: WordpressConfigEntry;
|
|
239
270
|
wordpressTraffic?: WordpressTrafficConfigEntry;
|
|
240
271
|
vercelTraffic?: VercelTrafficConfigEntry;
|
|
272
|
+
cloudflareTraffic?: CloudflareTrafficConfigEntry;
|
|
241
273
|
openaiAds?: OpenAiAdsConfigEntry;
|
|
242
274
|
dashboardPasswordHash?: string;
|
|
243
275
|
dashboard?: DashboardConfigEntry;
|
package/dist/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createServer
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4VZP64GZ.js";
|
|
4
4
|
import {
|
|
5
5
|
loadConfig
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-LK6YFHG4.js";
|
|
7
|
+
import "./chunk-YP4K2KXH.js";
|
|
8
|
+
import "./chunk-DEVAEC2S.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-LK6YFHG4.js";
|
|
7
7
|
import {
|
|
8
8
|
isReadOnlyKey
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-DEVAEC2S.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": "@canonry/canonry",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.158.0",
|
|
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",
|
|
@@ -36,11 +36,11 @@
|
|
|
36
36
|
"README.md"
|
|
37
37
|
],
|
|
38
38
|
"engines": {
|
|
39
|
-
"node": ">=22.14.0"
|
|
39
|
+
"node": ">=22.14.0 <26"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@canonry/aeo-audit": "4.6.2",
|
|
43
42
|
"@anthropic-ai/sdk": "^0.91.1",
|
|
43
|
+
"@canonry/aeo-audit": "4.6.2",
|
|
44
44
|
"@fastify/rate-limit": "^11.2.0",
|
|
45
45
|
"@fastify/static": "^9.1.1",
|
|
46
46
|
"@google/genai": "^1.46.0",
|
|
@@ -55,6 +55,7 @@
|
|
|
55
55
|
"fastify": "^5.8.5",
|
|
56
56
|
"graphology": "0.26.0",
|
|
57
57
|
"graphology-layout-forceatlas2": "0.10.1",
|
|
58
|
+
"graphology-layout-noverlap": "0.4.2",
|
|
58
59
|
"node-cron": "^4.2.1",
|
|
59
60
|
"openai": "^6.0.0",
|
|
60
61
|
"pdf-lib": "^1.17.1",
|
|
@@ -70,24 +71,25 @@
|
|
|
70
71
|
"tsx": "^4.19.0",
|
|
71
72
|
"@ainyc/canonry-api-client": "0.0.0",
|
|
72
73
|
"@ainyc/canonry-config": "0.0.0",
|
|
74
|
+
"@ainyc/canonry-db": "0.0.0",
|
|
73
75
|
"@ainyc/canonry-api-routes": "0.0.0",
|
|
74
76
|
"@ainyc/canonry-contracts": "0.0.0",
|
|
75
|
-
"@ainyc/canonry-db": "0.0.0",
|
|
76
77
|
"@ainyc/canonry-integration-bing": "0.0.0",
|
|
77
78
|
"@ainyc/canonry-integration-openai-ads": "0.0.0",
|
|
79
|
+
"@ainyc/canonry-integration-cloudflare-worker": "0.0.0",
|
|
78
80
|
"@ainyc/canonry-integration-cloud-run": "0.0.0",
|
|
79
|
-
"@ainyc/canonry-integration-google": "0.0.0",
|
|
80
81
|
"@ainyc/canonry-integration-commoncrawl": "0.0.0",
|
|
82
|
+
"@ainyc/canonry-integration-google": "0.0.0",
|
|
81
83
|
"@ainyc/canonry-integration-google-business-profile": "0.0.0",
|
|
82
|
-
"@ainyc/canonry-integration-
|
|
83
|
-
"@ainyc/canonry-integration-wordpress": "0.0.0",
|
|
84
|
+
"@ainyc/canonry-integration-google-places": "0.0.0",
|
|
84
85
|
"@ainyc/canonry-intelligence": "0.0.0",
|
|
85
86
|
"@ainyc/canonry-provider-claude": "0.0.0",
|
|
86
|
-
"@ainyc/canonry-
|
|
87
|
+
"@ainyc/canonry-integration-wordpress": "0.0.0",
|
|
87
88
|
"@ainyc/canonry-provider-gemini": "0.0.0",
|
|
88
|
-
"@ainyc/canonry-provider-
|
|
89
|
+
"@ainyc/canonry-provider-cdp": "0.0.0",
|
|
89
90
|
"@ainyc/canonry-provider-local": "0.0.0",
|
|
90
|
-
"@ainyc/canonry-integration-
|
|
91
|
+
"@ainyc/canonry-integration-traffic": "0.0.0",
|
|
92
|
+
"@ainyc/canonry-provider-openai": "0.0.0",
|
|
91
93
|
"@ainyc/canonry-provider-perplexity": "0.0.0"
|
|
92
94
|
},
|
|
93
95
|
"scripts": {
|