@ainyc/canonry 4.51.1 → 4.51.3
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/{BacklinksPage-DIZCcqsP.js → BacklinksPage-9TlM08Wf.js} +1 -1
- package/assets/assets/ProjectPage-CD591qDz.js +6 -0
- package/assets/assets/{RunRow-DqezNIUy.js → RunRow-D7qdWWRl.js} +1 -1
- package/assets/assets/{RunsPage-CfvTJ9Ny.js → RunsPage-CvewepfU.js} +1 -1
- package/assets/assets/{SettingsPage-HfMGIa5v.js → SettingsPage-C7BvAhiB.js} +1 -1
- package/assets/assets/{TrafficPage-DV_Dvpl3.js → TrafficPage-DC3NhFOh.js} +1 -1
- package/assets/assets/TrafficSourceDetailPage-BvtTA6rs.js +1 -0
- package/assets/assets/{arrow-left-DpxpMUNt.js → arrow-left-Agb02DMK.js} +1 -1
- package/assets/assets/index-DTCZ93Ne.js +210 -0
- package/assets/assets/server-traffic-C-0Ndjpw.js +1 -0
- package/assets/assets/{trash-2-CnBiLbiZ.js → trash-2-lkrXVRRm.js} +1 -1
- package/assets/index.html +1 -1
- package/dist/{chunk-2ARCCG5E.js → chunk-FYGBW3SM.js} +4 -0
- package/dist/{chunk-GGXU5VKI.js → chunk-HMZKIOLG.js} +1 -1
- package/dist/{chunk-DLDLDWH4.js → chunk-QZ5XSM6C.js} +34 -1
- package/dist/{chunk-JOKPYAEL.js → chunk-WBO5S3IX.js} +3131 -277
- package/dist/cli.js +40 -8
- package/dist/index.js +4 -4
- package/dist/{intelligence-service-XMZEWLCW.js → intelligence-service-2XL2M7QP.js} +2 -2
- package/dist/mcp.js +2 -2
- package/package.json +11 -11
- package/assets/assets/ProjectPage-R2cxJb5Y.js +0 -6
- package/assets/assets/TrafficSourceDetailPage-lefreKBO.js +0 -1
- package/assets/assets/index-DKBPD33e.js +0 -210
- package/assets/assets/server-traffic-Bm8iKtXK.js +0 -1
package/dist/cli.js
CHANGED
|
@@ -7,6 +7,8 @@ import {
|
|
|
7
7
|
backfillInsightsCommand,
|
|
8
8
|
backfillNormalizedPaths,
|
|
9
9
|
backfillNormalizedPathsCommand,
|
|
10
|
+
backfillSnapshotAttributionCommand,
|
|
11
|
+
backfillTrafficClassificationCommand,
|
|
10
12
|
checkLatestVersionForCli,
|
|
11
13
|
coerceAgentProvider,
|
|
12
14
|
createServer,
|
|
@@ -21,7 +23,7 @@ import {
|
|
|
21
23
|
setTelemetrySource,
|
|
22
24
|
showFirstRunNotice,
|
|
23
25
|
trackEvent
|
|
24
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-WBO5S3IX.js";
|
|
25
27
|
import {
|
|
26
28
|
CliError,
|
|
27
29
|
EXIT_SYSTEM_ERROR,
|
|
@@ -37,14 +39,14 @@ import {
|
|
|
37
39
|
saveConfig,
|
|
38
40
|
saveConfigPatch,
|
|
39
41
|
usageError
|
|
40
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-HMZKIOLG.js";
|
|
41
43
|
import {
|
|
42
44
|
apiKeys,
|
|
43
45
|
createClient,
|
|
44
46
|
migrate,
|
|
45
47
|
projects,
|
|
46
48
|
queries
|
|
47
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-QZ5XSM6C.js";
|
|
48
50
|
import {
|
|
49
51
|
CcReleaseSyncStatuses,
|
|
50
52
|
CheckScopes,
|
|
@@ -63,7 +65,7 @@ import {
|
|
|
63
65
|
providerQuotaPolicySchema,
|
|
64
66
|
resolveProviderInput,
|
|
65
67
|
skillsClientSchema
|
|
66
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-FYGBW3SM.js";
|
|
67
69
|
|
|
68
70
|
// src/cli.ts
|
|
69
71
|
import { pathToFileURL } from "url";
|
|
@@ -375,14 +377,44 @@ var BACKFILL_CLI_COMMANDS = [
|
|
|
375
377
|
});
|
|
376
378
|
}
|
|
377
379
|
},
|
|
380
|
+
{
|
|
381
|
+
path: ["backfill", "snapshot-attribution"],
|
|
382
|
+
usage: "canonry backfill snapshot-attribution <project> [--dry-run] [--format json]",
|
|
383
|
+
supportsDryRun: true,
|
|
384
|
+
run: async (input) => {
|
|
385
|
+
const usage = "canonry backfill snapshot-attribution <project> [--dry-run] [--format json]";
|
|
386
|
+
const project = requireProject(input, "backfill snapshot-attribution", usage);
|
|
387
|
+
await backfillSnapshotAttributionCommand({
|
|
388
|
+
project,
|
|
389
|
+
dryRun: input.dryRun,
|
|
390
|
+
format: input.format
|
|
391
|
+
});
|
|
392
|
+
}
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
path: ["backfill", "traffic-classification"],
|
|
396
|
+
usage: "canonry backfill traffic-classification [--project <name>] [--dry-run] [--format json]",
|
|
397
|
+
options: {
|
|
398
|
+
project: stringOption()
|
|
399
|
+
},
|
|
400
|
+
allowPositionals: false,
|
|
401
|
+
supportsDryRun: true,
|
|
402
|
+
run: async (input) => {
|
|
403
|
+
await backfillTrafficClassificationCommand({
|
|
404
|
+
project: getString(input.values, "project"),
|
|
405
|
+
dryRun: input.dryRun,
|
|
406
|
+
format: input.format
|
|
407
|
+
});
|
|
408
|
+
}
|
|
409
|
+
},
|
|
378
410
|
{
|
|
379
411
|
path: ["backfill"],
|
|
380
|
-
usage: "canonry backfill <answer-visibility|answer-mentions|insights|normalized-paths|ai-referral-paths> [options]",
|
|
412
|
+
usage: "canonry backfill <answer-visibility|answer-mentions|insights|normalized-paths|ai-referral-paths|snapshot-attribution|traffic-classification> [options]",
|
|
381
413
|
run: async (input) => {
|
|
382
414
|
unknownSubcommand(input.positionals[0], {
|
|
383
415
|
command: "backfill",
|
|
384
|
-
usage: "canonry backfill <answer-visibility|answer-mentions|insights|normalized-paths|ai-referral-paths> [options]",
|
|
385
|
-
available: ["answer-visibility", "answer-mentions", "insights", "normalized-paths", "ai-referral-paths"]
|
|
416
|
+
usage: "canonry backfill <answer-visibility|answer-mentions|insights|normalized-paths|ai-referral-paths|snapshot-attribution|traffic-classification> [options]",
|
|
417
|
+
available: ["answer-visibility", "answer-mentions", "insights", "normalized-paths", "ai-referral-paths", "snapshot-attribution", "traffic-classification"]
|
|
386
418
|
});
|
|
387
419
|
}
|
|
388
420
|
}
|
|
@@ -8852,7 +8884,7 @@ function getBootstrapEnv(source, overrides) {
|
|
|
8852
8884
|
if (parsed.GEMINI_API_KEY || parsed.GEMINI_VERTEX_PROJECT) {
|
|
8853
8885
|
providers.gemini = {
|
|
8854
8886
|
apiKey: parsed.GEMINI_API_KEY ?? "",
|
|
8855
|
-
model: parsed.GEMINI_MODEL || "gemini-
|
|
8887
|
+
model: parsed.GEMINI_MODEL || "gemini-2.5-flash",
|
|
8856
8888
|
quota: providerQuotaPolicySchema.parse({
|
|
8857
8889
|
maxConcurrency: 2,
|
|
8858
8890
|
maxRequestsPerMinute: 10,
|
package/dist/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createServer
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-WBO5S3IX.js";
|
|
4
4
|
import {
|
|
5
5
|
loadConfig
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-HMZKIOLG.js";
|
|
7
|
+
import "./chunk-QZ5XSM6C.js";
|
|
8
|
+
import "./chunk-FYGBW3SM.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-HMZKIOLG.js";
|
|
6
|
+
import "./chunk-FYGBW3SM.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": "4.51.
|
|
3
|
+
"version": "4.51.3",
|
|
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",
|
|
@@ -53,31 +53,31 @@
|
|
|
53
53
|
"pdf-lib": "^1.17.1",
|
|
54
54
|
"pino-pretty": "^13.1.3",
|
|
55
55
|
"yaml": "^2.7.1",
|
|
56
|
-
"zod": "^4.1.12"
|
|
57
|
-
"@ainyc/canonry-api-client": "0.0.0"
|
|
56
|
+
"zod": "^4.1.12"
|
|
58
57
|
},
|
|
59
58
|
"devDependencies": {
|
|
60
59
|
"@types/better-sqlite3": "^7.6.13",
|
|
61
60
|
"@types/node-cron": "^3.0.11",
|
|
62
61
|
"tsup": "^8.5.1",
|
|
63
62
|
"tsx": "^4.19.0",
|
|
63
|
+
"@ainyc/canonry-api-client": "0.0.0",
|
|
64
64
|
"@ainyc/canonry-api-routes": "0.0.0",
|
|
65
65
|
"@ainyc/canonry-config": "0.0.0",
|
|
66
|
-
"@ainyc/canonry-db": "0.0.0",
|
|
67
66
|
"@ainyc/canonry-intelligence": "0.0.0",
|
|
68
|
-
"@ainyc/canonry-
|
|
69
|
-
"@ainyc/canonry-
|
|
70
|
-
"@ainyc/canonry-integration-traffic": "0.0.0",
|
|
67
|
+
"@ainyc/canonry-contracts": "0.0.0",
|
|
68
|
+
"@ainyc/canonry-db": "0.0.0",
|
|
71
69
|
"@ainyc/canonry-integration-bing": "0.0.0",
|
|
70
|
+
"@ainyc/canonry-integration-cloud-run": "0.0.0",
|
|
72
71
|
"@ainyc/canonry-integration-google": "0.0.0",
|
|
73
72
|
"@ainyc/canonry-integration-wordpress": "0.0.0",
|
|
74
|
-
"@ainyc/canonry-
|
|
73
|
+
"@ainyc/canonry-integration-traffic": "0.0.0",
|
|
74
|
+
"@ainyc/canonry-integration-commoncrawl": "0.0.0",
|
|
75
75
|
"@ainyc/canonry-provider-cdp": "0.0.0",
|
|
76
|
-
"@ainyc/canonry-
|
|
76
|
+
"@ainyc/canonry-provider-claude": "0.0.0",
|
|
77
77
|
"@ainyc/canonry-provider-gemini": "0.0.0",
|
|
78
78
|
"@ainyc/canonry-provider-local": "0.0.0",
|
|
79
|
-
"@ainyc/canonry-provider-
|
|
80
|
-
"@ainyc/canonry-provider-
|
|
79
|
+
"@ainyc/canonry-provider-openai": "0.0.0",
|
|
80
|
+
"@ainyc/canonry-provider-perplexity": "0.0.0"
|
|
81
81
|
},
|
|
82
82
|
"scripts": {
|
|
83
83
|
"build": "tsx scripts/copy-agent-assets.ts && tsup && tsx build-web.ts",
|