@canonry/canonry 6.1.5 → 6.2.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 +1 -1
- package/assets/assets/{AuditHistoryPanel-D-W_kwEY.js → AuditHistoryPanel-CuEMfkaA.js} +1 -1
- package/assets/assets/{BacklinksPage-BeqCFRO3.js → BacklinksPage-CftadZ1-.js} +1 -1
- package/assets/assets/{HistoryPage-wAPbY0z4.js → HistoryPage-DouRgshN.js} +1 -1
- package/assets/assets/{MeasurementPropertyPage-BSOrkHCB.js → MeasurementPropertyPage-qfqv2qs9.js} +1 -1
- package/assets/assets/{ProjectPage-v0C7CwyA.js → ProjectPage-DqEVwe4t.js} +1 -1
- package/assets/assets/{RunsPage-CxolaIps.js → RunsPage-CUkMs0gB.js} +1 -1
- package/assets/assets/{SettingsPage-BQqJz0Ms.js → SettingsPage-LLQ40tSh.js} +1 -1
- package/assets/assets/{SiteHealthSection-C56kNcQQ.js → SiteHealthSection-Ba7foDiU.js} +3 -3
- package/assets/assets/{TrafficPage-BDmWdYWf.js → TrafficPage-Cu_ZR3--.js} +1 -1
- package/assets/assets/{TrafficSourceDetailPage-DZl3YNBs.js → TrafficSourceDetailPage-NKZq7jf9.js} +1 -1
- package/assets/assets/{extract-error-message-D0mBVEGn.js → extract-error-message-BdQYrz9N.js} +1 -1
- package/assets/assets/{index-DZ__RzGa.js → index-HOeLz1ZL.js} +20 -20
- package/assets/assets/{react-sigma_core.esm.min-BQNp33-g.js → react-sigma_core.esm.min-CZaoE5cU.js} +1 -1
- package/assets/assets/{v2-overview-adapter-XZbD7swG.js → v2-overview-adapter-BVx4nI49.js} +1 -1
- package/assets/index.html +1 -1
- package/dist/{chunk-4UEX44C3.js → chunk-2RFHQ6XT.js} +204 -75
- package/dist/{chunk-MSFBNFTI.js → chunk-4EKOKWQT.js} +2 -2
- package/dist/{chunk-J7LV4CS2.js → chunk-6EPN4XY5.js} +11 -0
- package/dist/{chunk-MTEVU6KG.js → chunk-ENI3GOWW.js} +2 -1
- package/dist/{chunk-FRBKYQN7.js → chunk-V6JUBTNL.js} +3 -3
- package/dist/{chunk-5QH72CTN.js → chunk-W3GDZZNF.js} +1 -1
- package/dist/{chunk-PAYC6TQ2.js → chunk-Y2B7JRSB.js} +3 -3
- package/dist/cli.js +10 -10
- package/dist/{demo-server-UGILQVEC.js → demo-server-CH7MOBXW.js} +4 -4
- package/dist/index.js +6 -6
- package/dist/{intelligence-service-JYGP6LME.js → intelligence-service-4IONMOFB.js} +2 -2
- package/dist/mcp.js +4 -4
- package/package.json +12 -12
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
PACKAGE_VERSION,
|
|
6
6
|
canonryMcpTools,
|
|
7
7
|
isMachineFormat
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-W3GDZZNF.js";
|
|
9
9
|
import {
|
|
10
10
|
AGENT_PROVIDER_IDS,
|
|
11
11
|
CANONRY_NPM_PACKAGE_URL,
|
|
@@ -50,7 +50,7 @@ import {
|
|
|
50
50
|
skillsClientSchema,
|
|
51
51
|
upgradeCaveatFor,
|
|
52
52
|
upgradeCommandFor
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-6EPN4XY5.js";
|
|
54
54
|
|
|
55
55
|
// src/config.ts
|
|
56
56
|
import fs from "fs";
|
|
@@ -186,7 +186,7 @@ function getBootstrapEnv(source, overrides) {
|
|
|
186
186
|
if (parsed.GEMINI_API_KEY || parsed.GEMINI_VERTEX_PROJECT) {
|
|
187
187
|
providers.gemini = {
|
|
188
188
|
apiKey: parsed.GEMINI_API_KEY ?? "",
|
|
189
|
-
model: parsed.GEMINI_MODEL || "gemini-
|
|
189
|
+
model: parsed.GEMINI_MODEL || "gemini-flash-latest",
|
|
190
190
|
baseUrl: parsed.GEMINI_BASE_URL,
|
|
191
191
|
quota: providerQuotaPolicySchema.parse({
|
|
192
192
|
maxConcurrency: 2,
|
|
@@ -4,14 +4,14 @@ import {
|
|
|
4
4
|
installSkills,
|
|
5
5
|
loadConfigRaw,
|
|
6
6
|
saveConfigPatch
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-V6JUBTNL.js";
|
|
8
8
|
import {
|
|
9
9
|
PACKAGE_VERSION
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-W3GDZZNF.js";
|
|
11
11
|
import {
|
|
12
12
|
SKILL_MANIFEST_FILENAME,
|
|
13
13
|
SkillsClients
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-6EPN4XY5.js";
|
|
15
15
|
|
|
16
16
|
// src/skills-autosync.ts
|
|
17
17
|
import fs from "fs";
|
package/dist/cli.js
CHANGED
|
@@ -35,11 +35,11 @@ import {
|
|
|
35
35
|
trackCliCommandFinished,
|
|
36
36
|
trackEvent,
|
|
37
37
|
waitForServerRuntimeStartup
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-2RFHQ6XT.js";
|
|
39
39
|
import {
|
|
40
40
|
autoSyncSkills,
|
|
41
41
|
formatAutoSyncNotice
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-Y2B7JRSB.js";
|
|
43
43
|
import {
|
|
44
44
|
configExists,
|
|
45
45
|
createApiClient,
|
|
@@ -56,13 +56,13 @@ import {
|
|
|
56
56
|
saveConfig,
|
|
57
57
|
saveConfigPatch,
|
|
58
58
|
shouldPrintServeSkillsNudge
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-V6JUBTNL.js";
|
|
60
60
|
import {
|
|
61
61
|
DEFAULT_DEMO_TRUSTED_PROXIES,
|
|
62
62
|
trustedProxiesProblem,
|
|
63
63
|
trustedProxyProblem
|
|
64
64
|
} from "./chunk-RB2F4D3Z.js";
|
|
65
|
-
import "./chunk-
|
|
65
|
+
import "./chunk-4EKOKWQT.js";
|
|
66
66
|
import {
|
|
67
67
|
CliError,
|
|
68
68
|
EXIT_SYSTEM_ERROR,
|
|
@@ -74,7 +74,7 @@ import {
|
|
|
74
74
|
runMeasurementDraftAction,
|
|
75
75
|
systemError,
|
|
76
76
|
usageError
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-W3GDZZNF.js";
|
|
78
78
|
import {
|
|
79
79
|
CLOUDFLARE_WORKER_BINDINGS,
|
|
80
80
|
CLOUDFLARE_WORKER_GENERATED_MARKER,
|
|
@@ -90,7 +90,7 @@ import {
|
|
|
90
90
|
queries,
|
|
91
91
|
renderReportHtml,
|
|
92
92
|
runs
|
|
93
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-ENI3GOWW.js";
|
|
94
94
|
import {
|
|
95
95
|
AdsDeliverySnapshotStatuses,
|
|
96
96
|
AdsHistoricalCampaignRollupStatuses,
|
|
@@ -198,7 +198,7 @@ import {
|
|
|
198
198
|
visibilityCompareSelectionSchema,
|
|
199
199
|
visibilityReportRequestSchema,
|
|
200
200
|
winnabilityClassSchema
|
|
201
|
-
} from "./chunk-
|
|
201
|
+
} from "./chunk-6EPN4XY5.js";
|
|
202
202
|
|
|
203
203
|
// src/cli.ts
|
|
204
204
|
import { pathToFileURL } from "url";
|
|
@@ -732,7 +732,7 @@ function parseDemoTrustedProxies(values) {
|
|
|
732
732
|
async function demoCommand(options) {
|
|
733
733
|
const { host, port } = parseDemoListenOptions(options);
|
|
734
734
|
const trustProxy = parseDemoTrustedProxies(options.trustProxy);
|
|
735
|
-
const { createDemoServer } = await import("./demo-server-
|
|
735
|
+
const { createDemoServer } = await import("./demo-server-CH7MOBXW.js");
|
|
736
736
|
const app = await createDemoServer({ trustProxy });
|
|
737
737
|
let stopping = false;
|
|
738
738
|
const stop = () => {
|
|
@@ -16126,7 +16126,7 @@ var DEFAULT_AGENT_MODELS = {
|
|
|
16126
16126
|
openai: "openai/gpt-4o",
|
|
16127
16127
|
openrouter: "openrouter/anthropic/claude-sonnet-4-6",
|
|
16128
16128
|
groq: "groq/llama-4-scout-17b",
|
|
16129
|
-
google: "google/gemini-
|
|
16129
|
+
google: "google/gemini-3.8-flash",
|
|
16130
16130
|
mistral: "mistral/mistral-large-latest",
|
|
16131
16131
|
xai: "xai/grok-2"
|
|
16132
16132
|
};
|
|
@@ -16208,7 +16208,7 @@ async function initCommand(opts) {
|
|
|
16208
16208
|
console.log('Or use "canonry bootstrap".\n');
|
|
16209
16209
|
const geminiApiKey = await promptProviderApiKey("Gemini", "GEMINI_API_KEY");
|
|
16210
16210
|
if (geminiApiKey) {
|
|
16211
|
-
const geminiModel = await prompt(" Gemini model [gemini-
|
|
16211
|
+
const geminiModel = await prompt(" Gemini model [gemini-flash-latest]: ") || "gemini-flash-latest";
|
|
16212
16212
|
providers.gemini = { apiKey: geminiApiKey, model: geminiModel, quota: DEFAULT_QUOTA };
|
|
16213
16213
|
}
|
|
16214
16214
|
const openaiApiKey = await promptProviderApiKey("OpenAI", "OPENAI_API_KEY");
|
|
@@ -5,11 +5,11 @@ import {
|
|
|
5
5
|
computeFactorAverages,
|
|
6
6
|
layoutSiteCrawlGraphInput,
|
|
7
7
|
persistSiteCrawlGraphLayout
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-4EKOKWQT.js";
|
|
9
9
|
import {
|
|
10
10
|
PACKAGE_VERSION,
|
|
11
11
|
canonryMcpTools
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-W3GDZZNF.js";
|
|
13
13
|
import {
|
|
14
14
|
HISTORY_WINDOW_RUNS,
|
|
15
15
|
IntelligenceService,
|
|
@@ -85,7 +85,7 @@ import {
|
|
|
85
85
|
siteCrawlPages,
|
|
86
86
|
siteCrawlSnapshots,
|
|
87
87
|
trafficSources
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-ENI3GOWW.js";
|
|
89
89
|
import {
|
|
90
90
|
RunKinds,
|
|
91
91
|
SiteCrawlFetchStates,
|
|
@@ -112,7 +112,7 @@ import {
|
|
|
112
112
|
roundPreservingTotal,
|
|
113
113
|
siteAuditPageFactorSchema,
|
|
114
114
|
wilsonInterval
|
|
115
|
-
} from "./chunk-
|
|
115
|
+
} from "./chunk-6EPN4XY5.js";
|
|
116
116
|
|
|
117
117
|
// src/demo-server.ts
|
|
118
118
|
import { dirname, join as join2 } from "path";
|
package/dist/index.js
CHANGED
|
@@ -3,14 +3,14 @@ import {
|
|
|
3
3
|
createGoogleMarketingCredentialStore,
|
|
4
4
|
createGoogleMarketingRuntime,
|
|
5
5
|
createServer
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-2RFHQ6XT.js";
|
|
7
7
|
import {
|
|
8
8
|
loadConfig
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-V6JUBTNL.js";
|
|
10
|
+
import "./chunk-4EKOKWQT.js";
|
|
11
|
+
import "./chunk-W3GDZZNF.js";
|
|
12
|
+
import "./chunk-ENI3GOWW.js";
|
|
13
|
+
import "./chunk-6EPN4XY5.js";
|
|
14
14
|
export {
|
|
15
15
|
GoogleMarketingRuntimeError,
|
|
16
16
|
createGoogleMarketingCredentialStore,
|
package/dist/mcp.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
autoSyncSkills
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-Y2B7JRSB.js";
|
|
4
4
|
import {
|
|
5
5
|
createApiClient,
|
|
6
6
|
createCanonryMcpServer
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-V6JUBTNL.js";
|
|
8
|
+
import "./chunk-W3GDZZNF.js";
|
|
9
9
|
import {
|
|
10
10
|
isReadOnlyKey,
|
|
11
11
|
updateCheckEnvOptOut
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-6EPN4XY5.js";
|
|
13
13
|
|
|
14
14
|
// src/mcp/cli.ts
|
|
15
15
|
import { randomUUID } from "crypto";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@canonry/canonry",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.2.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Self-hosted AI visibility (AEO) platform: track how ChatGPT, Claude, Gemini, and Perplexity cite your domain, join it with Search Console, GA4, server-side traffic, and paid media, and fix what you find through agent tools (CLI, REST, MCP). Local SQLite.",
|
|
6
6
|
"keywords": [
|
|
@@ -86,33 +86,33 @@
|
|
|
86
86
|
"tsup": "^8.5.1",
|
|
87
87
|
"tsx": "^4.19.0",
|
|
88
88
|
"@ainyc/canonry-web": "0.0.0",
|
|
89
|
-
"@ainyc/canonry-api-client": "0.0.0",
|
|
90
89
|
"@ainyc/canonry-api-routes": "0.0.0",
|
|
91
90
|
"@ainyc/canonry-config": "0.0.0",
|
|
92
|
-
"@ainyc/canonry-
|
|
91
|
+
"@ainyc/canonry-api-client": "0.0.0",
|
|
93
92
|
"@ainyc/canonry-contracts": "0.0.0",
|
|
93
|
+
"@ainyc/canonry-db": "0.0.0",
|
|
94
94
|
"@ainyc/canonry-integration-bing": "0.0.0",
|
|
95
|
-
"@ainyc/canonry-integration-cloud-run": "0.0.0",
|
|
96
95
|
"@ainyc/canonry-integration-cloudflare-queue": "0.0.0",
|
|
97
96
|
"@ainyc/canonry-integration-commoncrawl": "0.0.0",
|
|
98
|
-
"@ainyc/canonry-integration-
|
|
97
|
+
"@ainyc/canonry-integration-cloud-run": "0.0.0",
|
|
99
98
|
"@ainyc/canonry-integration-google": "0.0.0",
|
|
100
|
-
"@ainyc/canonry-integration-
|
|
99
|
+
"@ainyc/canonry-integration-cloudflare-worker": "0.0.0",
|
|
101
100
|
"@ainyc/canonry-integration-google-ads": "0.0.0",
|
|
101
|
+
"@ainyc/canonry-integration-google-business-profile": "0.0.0",
|
|
102
102
|
"@ainyc/canonry-integration-google-tag-manager": "0.0.0",
|
|
103
|
+
"@ainyc/canonry-integration-google-places": "0.0.0",
|
|
103
104
|
"@ainyc/canonry-integration-openai-ads": "0.0.0",
|
|
104
105
|
"@ainyc/canonry-integration-traffic": "0.0.0",
|
|
105
|
-
"@ainyc/canonry-intelligence": "0.0.0",
|
|
106
106
|
"@ainyc/canonry-integration-wordpress": "0.0.0",
|
|
107
|
-
"@ainyc/canonry-integration-google-places": "0.0.0",
|
|
108
|
-
"@ainyc/canonry-provider-claude": "0.0.0",
|
|
109
107
|
"@ainyc/canonry-provider-cdp": "0.0.0",
|
|
110
|
-
"@ainyc/canonry-
|
|
108
|
+
"@ainyc/canonry-intelligence": "0.0.0",
|
|
109
|
+
"@ainyc/canonry-provider-claude": "0.0.0",
|
|
111
110
|
"@ainyc/canonry-provider-muse": "0.0.0",
|
|
112
|
-
"@ainyc/canonry-provider-local": "0.0.0",
|
|
113
111
|
"@ainyc/canonry-provider-perplexity": "0.0.0",
|
|
112
|
+
"@ainyc/canonry-provider-gemini": "0.0.0",
|
|
113
|
+
"@ainyc/canonry-provider-openai": "0.0.0",
|
|
114
114
|
"@ainyc/canonry-integration-typesafe": "0.0.0",
|
|
115
|
-
"@ainyc/canonry-provider-
|
|
115
|
+
"@ainyc/canonry-provider-local": "0.0.0"
|
|
116
116
|
},
|
|
117
117
|
"scripts": {
|
|
118
118
|
"build": "pnpm run build:cli && pnpm run build:web",
|