@ainyc/canonry 4.77.0 → 4.80.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/assets/agent-workspace/skills/canonry/references/canonry-cli.md +18 -0
- package/assets/assets/{BacklinksPage-CwXveumn.js → BacklinksPage-dRc62jAY.js} +1 -1
- package/assets/assets/{ChartPrimitives-DntKGI5J.js → ChartPrimitives-D2_IvTkk.js} +1 -1
- package/assets/assets/{ProjectPage-CVudiU8X.js → ProjectPage-DSuvRUIf.js} +1 -1
- package/assets/assets/{RunRow-DMtYXaxG.js → RunRow-C0MA3yuQ.js} +1 -1
- package/assets/assets/{RunsPage-Cz-YlucO.js → RunsPage-4uxTYgGy.js} +1 -1
- package/assets/assets/{SettingsPage-BCuG3C-0.js → SettingsPage-3-SLhcJ7.js} +1 -1
- package/assets/assets/{TrafficPage-DV8X47wa.js → TrafficPage-DZ50qwme.js} +1 -1
- package/assets/assets/{TrafficSourceDetailPage-BmYhK9jm.js → TrafficSourceDetailPage-CzK5TMFp.js} +1 -1
- package/assets/assets/{arrow-left-CUmHyNnF.js → arrow-left-BaZIkAXX.js} +1 -1
- package/assets/assets/{extract-error-message-DFjy9_zi.js → extract-error-message-cpvfuFqW.js} +1 -1
- package/assets/assets/{index-D9smxU6R.js → index-EnY_OBRd.js} +70 -70
- package/assets/assets/{trash-2-B_UtEEm8.js → trash-2-JpcztiS5.js} +1 -1
- package/assets/index.html +1 -1
- package/dist/{chunk-XI6YSTGE.js → chunk-2QBSRHSN.js} +187 -1
- package/dist/{chunk-KPN22EWK.js → chunk-AVN6Q6LM.js} +138 -2
- package/dist/{chunk-BPZWX7YI.js → chunk-CXIGHPBE.js} +1006 -324
- package/dist/{chunk-FB43IMZT.js → chunk-LCABGFYN.js} +724 -286
- package/dist/cli.js +372 -148
- package/dist/index.d.ts +17 -0
- package/dist/index.js +4 -4
- package/dist/{intelligence-service-C76ZRMF5.js → intelligence-service-ZWW3I3NL.js} +2 -2
- package/dist/mcp.js +9 -3
- package/package.json +11 -10
package/dist/index.d.ts
CHANGED
|
@@ -91,6 +91,22 @@ interface CloudRunConnectionConfigEntry {
|
|
|
91
91
|
interface CloudRunConfigEntry {
|
|
92
92
|
connections?: CloudRunConnectionConfigEntry[];
|
|
93
93
|
}
|
|
94
|
+
/**
|
|
95
|
+
* Per-project OpenAI Advertiser API (ChatGPT ads) connection. The "SDK key"
|
|
96
|
+
* is minted in OpenAI Ads Manager and scoped to one ad account; ad accounts
|
|
97
|
+
* are not domain-bound, so the connection keys on the project name. The
|
|
98
|
+
* `ads_connections` DB row holds metadata only — the key lives here.
|
|
99
|
+
*/
|
|
100
|
+
interface OpenAiAdsConnectionConfigEntry {
|
|
101
|
+
projectName: string;
|
|
102
|
+
apiKey: string;
|
|
103
|
+
adAccountId?: string | null;
|
|
104
|
+
createdAt: string;
|
|
105
|
+
updatedAt: string;
|
|
106
|
+
}
|
|
107
|
+
interface OpenAiAdsConfigEntry {
|
|
108
|
+
connections?: OpenAiAdsConnectionConfigEntry[];
|
|
109
|
+
}
|
|
94
110
|
type WordpressEnv = 'live' | 'staging';
|
|
95
111
|
interface WordpressConnectionConfigEntry {
|
|
96
112
|
projectName: string;
|
|
@@ -179,6 +195,7 @@ interface CanonryConfig {
|
|
|
179
195
|
wordpress?: WordpressConfigEntry;
|
|
180
196
|
wordpressTraffic?: WordpressTrafficConfigEntry;
|
|
181
197
|
vercelTraffic?: VercelTrafficConfigEntry;
|
|
198
|
+
openaiAds?: OpenAiAdsConfigEntry;
|
|
182
199
|
dashboardPasswordHash?: string;
|
|
183
200
|
telemetry?: boolean;
|
|
184
201
|
anonymousId?: string;
|
package/dist/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createServer
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-LCABGFYN.js";
|
|
4
4
|
import {
|
|
5
5
|
loadConfig
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-2QBSRHSN.js";
|
|
7
|
+
import "./chunk-CXIGHPBE.js";
|
|
8
|
+
import "./chunk-AVN6Q6LM.js";
|
|
9
9
|
export {
|
|
10
10
|
createServer,
|
|
11
11
|
loadConfig
|
package/dist/mcp.js
CHANGED
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
PACKAGE_VERSION,
|
|
4
4
|
canonryMcpTools,
|
|
5
5
|
createApiClient
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-2QBSRHSN.js";
|
|
7
|
+
import "./chunk-AVN6Q6LM.js";
|
|
8
8
|
|
|
9
9
|
// src/mcp/cli.ts
|
|
10
10
|
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
|
|
@@ -104,7 +104,7 @@ function zodErrorMessage(error) {
|
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
// src/mcp/toolkits.ts
|
|
107
|
-
var CANONRY_MCP_TOOLKIT_NAMES = ["monitoring", "setup", "gsc", "ga", "gbp", "traffic", "agent", "discovery"];
|
|
107
|
+
var CANONRY_MCP_TOOLKIT_NAMES = ["monitoring", "setup", "gsc", "ga", "gbp", "ads", "traffic", "agent", "discovery"];
|
|
108
108
|
var CANONRY_MCP_TOOLKITS = [
|
|
109
109
|
{
|
|
110
110
|
name: "monitoring",
|
|
@@ -136,6 +136,12 @@ var CANONRY_MCP_TOOLKITS = [
|
|
|
136
136
|
description: "Local AEO signals: discover GBP locations under a connected account and toggle which ones sync. Future phases will add reviews, keyword impressions, daily performance metrics, and hotel attributes.",
|
|
137
137
|
whenToLoad: "Load when the project tracks local search visibility or has connected Google Business Profile."
|
|
138
138
|
},
|
|
139
|
+
{
|
|
140
|
+
name: "ads",
|
|
141
|
+
title: "OpenAI ads (ChatGPT ads)",
|
|
142
|
+
description: "Paid-surface data for the connected OpenAI ad account: connection status, campaign/ad-group snapshots (context hints), daily paid-performance rollups (spend in integer micros), and the composite summary. Trigger ads-sync runs.",
|
|
143
|
+
whenToLoad: "Load when the project runs ChatGPT ads and you need paid performance, campaign structure, or to trigger an ads sync."
|
|
144
|
+
},
|
|
139
145
|
{
|
|
140
146
|
name: "traffic",
|
|
141
147
|
title: "Server-side traffic ingestion",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ainyc/canonry",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.80.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",
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@ainyc/aeo-audit": "3.0.0",
|
|
40
|
-
"@anthropic-ai/sdk": "^0.
|
|
41
|
-
"@fastify/static": "^
|
|
40
|
+
"@anthropic-ai/sdk": "^0.91.1",
|
|
41
|
+
"@fastify/static": "^9.1.1",
|
|
42
42
|
"@google/genai": "^1.46.0",
|
|
43
43
|
"@mariozechner/pi-agent-core": "0.67.6",
|
|
44
44
|
"@mariozechner/pi-ai": "0.67.6",
|
|
@@ -62,25 +62,26 @@
|
|
|
62
62
|
"@types/node-cron": "^3.0.11",
|
|
63
63
|
"tsup": "^8.5.1",
|
|
64
64
|
"tsx": "^4.19.0",
|
|
65
|
-
"@ainyc/canonry-api-client": "0.0.0",
|
|
66
|
-
"@ainyc/canonry-api-routes": "0.0.0",
|
|
67
65
|
"@ainyc/canonry-config": "0.0.0",
|
|
68
66
|
"@ainyc/canonry-contracts": "0.0.0",
|
|
69
|
-
"@ainyc/canonry-
|
|
67
|
+
"@ainyc/canonry-api-client": "0.0.0",
|
|
68
|
+
"@ainyc/canonry-api-routes": "0.0.0",
|
|
70
69
|
"@ainyc/canonry-integration-bing": "0.0.0",
|
|
70
|
+
"@ainyc/canonry-db": "0.0.0",
|
|
71
|
+
"@ainyc/canonry-integration-openai-ads": "0.0.0",
|
|
71
72
|
"@ainyc/canonry-integration-cloud-run": "0.0.0",
|
|
72
73
|
"@ainyc/canonry-integration-commoncrawl": "0.0.0",
|
|
73
74
|
"@ainyc/canonry-integration-google": "0.0.0",
|
|
74
|
-
"@ainyc/canonry-integration-traffic": "0.0.0",
|
|
75
|
-
"@ainyc/canonry-integration-google-places": "0.0.0",
|
|
76
75
|
"@ainyc/canonry-integration-google-business-profile": "0.0.0",
|
|
77
76
|
"@ainyc/canonry-integration-wordpress": "0.0.0",
|
|
78
77
|
"@ainyc/canonry-intelligence": "0.0.0",
|
|
78
|
+
"@ainyc/canonry-integration-google-places": "0.0.0",
|
|
79
|
+
"@ainyc/canonry-integration-traffic": "0.0.0",
|
|
79
80
|
"@ainyc/canonry-provider-cdp": "0.0.0",
|
|
80
|
-
"@ainyc/canonry-provider-
|
|
81
|
+
"@ainyc/canonry-provider-claude": "0.0.0",
|
|
81
82
|
"@ainyc/canonry-provider-gemini": "0.0.0",
|
|
83
|
+
"@ainyc/canonry-provider-local": "0.0.0",
|
|
82
84
|
"@ainyc/canonry-provider-openai": "0.0.0",
|
|
83
|
-
"@ainyc/canonry-provider-claude": "0.0.0",
|
|
84
85
|
"@ainyc/canonry-provider-perplexity": "0.0.0"
|
|
85
86
|
},
|
|
86
87
|
"scripts": {
|