@ainyc/canonry 4.57.0 → 4.59.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.
Files changed (26) hide show
  1. package/assets/agent-workspace/skills/canonry/SKILL.md +7 -0
  2. package/assets/agent-workspace/skills/canonry/references/canonry-cli.md +44 -0
  3. package/assets/agent-workspace/skills/canonry/references/google-business-profile.md +219 -0
  4. package/assets/assets/{BacklinksPage-CmeFZ8UJ.js → BacklinksPage-D_mc7c-b.js} +1 -1
  5. package/assets/assets/{ChartPrimitives-D7C1Cp8w.js → ChartPrimitives-BViWneKX.js} +1 -1
  6. package/assets/assets/{ProjectPage-Y6uCyjGb.js → ProjectPage-_hpYJAN1.js} +1 -1
  7. package/assets/assets/{RunRow-BntNdrgM.js → RunRow-DK69_0iD.js} +1 -1
  8. package/assets/assets/{RunsPage-Btp6qn10.js → RunsPage-DRu1peAA.js} +1 -1
  9. package/assets/assets/{SettingsPage-DkyNiU2i.js → SettingsPage-BrednApH.js} +1 -1
  10. package/assets/assets/{TrafficPage-CBl4Mwdc.js → TrafficPage-oFA65ZZc.js} +1 -1
  11. package/assets/assets/{TrafficSourceDetailPage-BZzuWCn-.js → TrafficSourceDetailPage-CUzzaYFC.js} +1 -1
  12. package/assets/assets/{extract-error-message-De8_qAzs.js → extract-error-message-Cv4MXGtB.js} +1 -1
  13. package/assets/assets/{index-XUKhruAg.js → index-BrCh3uvb.js} +90 -90
  14. package/assets/assets/{server-traffic-bn9LSZN9.js → server-traffic-rYE-NlE-.js} +1 -1
  15. package/assets/assets/{trash-2-B5clF2rU.js → trash-2-BgGGPjQf.js} +1 -1
  16. package/assets/index.html +1 -1
  17. package/dist/{chunk-4KWPOVIT.js → chunk-JW6TQFU7.js} +171 -1
  18. package/dist/{chunk-WFVUZVJD.js → chunk-LPPW7O26.js} +1421 -1190
  19. package/dist/{chunk-HL6JZUEW.js → chunk-NOQ4ZE3E.js} +2158 -624
  20. package/dist/{chunk-6X5TF73A.js → chunk-TFBPLY77.js} +414 -1
  21. package/dist/cli.js +610 -458
  22. package/dist/index.d.ts +2 -1
  23. package/dist/index.js +4 -4
  24. package/dist/{intelligence-service-NY3MAVPB.js → intelligence-service-V4SWVKEQ.js} +2 -2
  25. package/dist/mcp.js +10 -8
  26. package/package.json +8 -7
package/dist/index.d.ts CHANGED
@@ -2,7 +2,7 @@ import { FastifyInstance } from 'fastify';
2
2
  import { DatabaseClient } from '@ainyc/canonry-db';
3
3
  import { ProviderQuotaPolicy } from '@ainyc/canonry-contracts';
4
4
 
5
- type GoogleConnectionType = 'gsc' | 'ga4';
5
+ type GoogleConnectionType = 'gsc' | 'ga4' | 'gbp';
6
6
  interface ProviderConfigEntry {
7
7
  apiKey?: string;
8
8
  baseUrl?: string;
@@ -37,6 +37,7 @@ interface GoogleConnectionConfigEntry {
37
37
  * unowned (claimable by any project's next connect).
38
38
  */
39
39
  createdByProjectId?: string | null;
40
+ gbpAccountName?: string | null;
40
41
  createdAt: string;
41
42
  updatedAt: string;
42
43
  }
package/dist/index.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  createServer
3
- } from "./chunk-HL6JZUEW.js";
3
+ } from "./chunk-NOQ4ZE3E.js";
4
4
  import {
5
5
  loadConfig
6
- } from "./chunk-6X5TF73A.js";
7
- import "./chunk-4KWPOVIT.js";
8
- import "./chunk-WFVUZVJD.js";
6
+ } from "./chunk-TFBPLY77.js";
7
+ import "./chunk-JW6TQFU7.js";
8
+ import "./chunk-LPPW7O26.js";
9
9
  export {
10
10
  createServer,
11
11
  loadConfig
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  IntelligenceService
3
- } from "./chunk-4KWPOVIT.js";
4
- import "./chunk-WFVUZVJD.js";
3
+ } from "./chunk-JW6TQFU7.js";
4
+ import "./chunk-LPPW7O26.js";
5
5
  export {
6
6
  IntelligenceService
7
7
  };
package/dist/mcp.js CHANGED
@@ -1,9 +1,10 @@
1
1
  import {
2
2
  CliError,
3
+ PACKAGE_VERSION,
3
4
  canonryMcpTools,
4
5
  createApiClient
5
- } from "./chunk-6X5TF73A.js";
6
- import "./chunk-WFVUZVJD.js";
6
+ } from "./chunk-TFBPLY77.js";
7
+ import "./chunk-LPPW7O26.js";
7
8
 
8
9
  // src/mcp/cli.ts
9
10
  import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
@@ -12,11 +13,6 @@ import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js"
12
13
  import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
13
14
  import { z } from "zod";
14
15
 
15
- // src/package-version.ts
16
- import { createRequire } from "module";
17
- var _require = createRequire(import.meta.url);
18
- var PACKAGE_VERSION = _require("../package.json").version;
19
-
20
16
  // src/mcp/results.ts
21
17
  import { ZodError } from "zod";
22
18
  function jsonToolResult(value) {
@@ -108,7 +104,7 @@ function zodErrorMessage(error) {
108
104
  }
109
105
 
110
106
  // src/mcp/toolkits.ts
111
- var CANONRY_MCP_TOOLKIT_NAMES = ["monitoring", "setup", "gsc", "ga", "traffic", "agent", "discovery"];
107
+ var CANONRY_MCP_TOOLKIT_NAMES = ["monitoring", "setup", "gsc", "ga", "gbp", "traffic", "agent", "discovery"];
112
108
  var CANONRY_MCP_TOOLKITS = [
113
109
  {
114
110
  name: "monitoring",
@@ -134,6 +130,12 @@ var CANONRY_MCP_TOOLKITS = [
134
130
  description: "Read GA traffic, AI/social referral history, attribution trend, and session history.",
135
131
  whenToLoad: "Load when you need traffic, referral, or attribution data from Google Analytics 4."
136
132
  },
133
+ {
134
+ name: "gbp",
135
+ title: "Google Business Profile",
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
+ whenToLoad: "Load when the project tracks local search visibility or has connected Google Business Profile."
138
+ },
137
139
  {
138
140
  name: "traffic",
139
141
  title: "Server-side traffic ingestion",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ainyc/canonry",
3
- "version": "4.57.0",
3
+ "version": "4.59.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",
@@ -62,23 +62,24 @@
62
62
  "tsup": "^8.5.1",
63
63
  "tsx": "^4.19.0",
64
64
  "@ainyc/canonry-api-client": "0.0.0",
65
- "@ainyc/canonry-api-routes": "0.0.0",
66
65
  "@ainyc/canonry-config": "0.0.0",
66
+ "@ainyc/canonry-api-routes": "0.0.0",
67
67
  "@ainyc/canonry-contracts": "0.0.0",
68
- "@ainyc/canonry-db": "0.0.0",
69
68
  "@ainyc/canonry-integration-commoncrawl": "0.0.0",
70
- "@ainyc/canonry-integration-cloud-run": "0.0.0",
71
69
  "@ainyc/canonry-integration-google": "0.0.0",
70
+ "@ainyc/canonry-integration-cloud-run": "0.0.0",
72
71
  "@ainyc/canonry-integration-bing": "0.0.0",
72
+ "@ainyc/canonry-integration-google-business-profile": "0.0.0",
73
73
  "@ainyc/canonry-integration-traffic": "0.0.0",
74
- "@ainyc/canonry-intelligence": "0.0.0",
74
+ "@ainyc/canonry-db": "0.0.0",
75
75
  "@ainyc/canonry-integration-wordpress": "0.0.0",
76
76
  "@ainyc/canonry-provider-cdp": "0.0.0",
77
+ "@ainyc/canonry-intelligence": "0.0.0",
77
78
  "@ainyc/canonry-provider-claude": "0.0.0",
78
79
  "@ainyc/canonry-provider-gemini": "0.0.0",
79
80
  "@ainyc/canonry-provider-local": "0.0.0",
80
- "@ainyc/canonry-provider-openai": "0.0.0",
81
- "@ainyc/canonry-provider-perplexity": "0.0.0"
81
+ "@ainyc/canonry-provider-perplexity": "0.0.0",
82
+ "@ainyc/canonry-provider-openai": "0.0.0"
82
83
  },
83
84
  "scripts": {
84
85
  "build": "tsx scripts/copy-agent-assets.ts && tsup && tsx build-web.ts",