@ainyc/canonry 4.86.0 → 4.87.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 (25) hide show
  1. package/assets/assets/{BacklinksPage-BNrvc-gV.js → BacklinksPage-BPvsw_Bi.js} +1 -1
  2. package/assets/assets/{ChartPrimitives-BlIkdUdy.js → ChartPrimitives-BdlKCq7y.js} +1 -1
  3. package/assets/assets/ProjectPage-1Q8YC9Vd.js +6 -0
  4. package/assets/assets/{RunRow-CAPnKzi7.js → RunRow-DcSsnE5c.js} +1 -1
  5. package/assets/assets/{RunsPage-idnuzKBn.js → RunsPage-DKoIMkQL.js} +1 -1
  6. package/assets/assets/{SettingsPage-Bka67uJq.js → SettingsPage-bH3PdNKb.js} +1 -1
  7. package/assets/assets/{TrafficPage-C_o-rA5o.js → TrafficPage-IW_DX-0V.js} +1 -1
  8. package/assets/assets/{TrafficSourceDetailPage-D_jvoSTV.js → TrafficSourceDetailPage-DRHOGn9B.js} +1 -1
  9. package/assets/assets/{arrow-left-B-JfzARi.js → arrow-left-B5Du72nk.js} +1 -1
  10. package/assets/assets/{extract-error-message-BhPbjIX6.js → extract-error-message-C7Vhd5zH.js} +1 -1
  11. package/assets/assets/{index-uPSrDA8e.js → index-C_ZzKZfM.js} +107 -107
  12. package/assets/assets/index-ClkRAeHL.css +1 -0
  13. package/assets/assets/{trash-2-BbRvn40h.js → trash-2-DWcofmpv.js} +1 -1
  14. package/assets/index.html +2 -2
  15. package/dist/{chunk-DLBQU3VG.js → chunk-5LW7CJAO.js} +184 -52
  16. package/dist/{chunk-LLJPZKHG.js → chunk-6XMXBAEW.js} +2 -2
  17. package/dist/{chunk-SELXBOAP.js → chunk-DUDFNP5Y.js} +4 -4
  18. package/dist/{chunk-23HGQV22.js → chunk-MDRDX5R2.js} +197 -0
  19. package/dist/cli.js +14 -9
  20. package/dist/index.js +4 -4
  21. package/dist/{intelligence-service-ZHUJKZRO.js → intelligence-service-XUKYOHKL.js} +2 -2
  22. package/dist/mcp.js +2 -2
  23. package/package.json +9 -9
  24. package/assets/assets/ProjectPage-CAyx_xNr.js +0 -6
  25. package/assets/assets/index-BgWgJE7S.css +0 -1
package/dist/cli.js CHANGED
@@ -27,7 +27,7 @@ import {
27
27
  setTelemetrySource,
28
28
  showFirstRunNotice,
29
29
  trackEvent
30
- } from "./chunk-SELXBOAP.js";
30
+ } from "./chunk-DUDFNP5Y.js";
31
31
  import {
32
32
  CliError,
33
33
  EXIT_SYSTEM_ERROR,
@@ -44,7 +44,7 @@ import {
44
44
  saveConfig,
45
45
  saveConfigPatch,
46
46
  usageError
47
- } from "./chunk-LLJPZKHG.js";
47
+ } from "./chunk-6XMXBAEW.js";
48
48
  import {
49
49
  apiKeys,
50
50
  createClient,
@@ -52,7 +52,7 @@ import {
52
52
  projects,
53
53
  queries,
54
54
  renderReportHtml
55
- } from "./chunk-DLBQU3VG.js";
55
+ } from "./chunk-5LW7CJAO.js";
56
56
  import {
57
57
  BacklinkSources,
58
58
  CcReleaseSyncStatuses,
@@ -77,7 +77,7 @@ import {
77
77
  providerQuotaPolicySchema,
78
78
  resolveProviderInput,
79
79
  winnabilityClassSchema
80
- } from "./chunk-23HGQV22.js";
80
+ } from "./chunk-MDRDX5R2.js";
81
81
 
82
82
  // src/cli.ts
83
83
  import { pathToFileURL } from "url";
@@ -9405,7 +9405,9 @@ function renderHuman(overview) {
9405
9405
  providers,
9406
9406
  transitions,
9407
9407
  scores,
9408
- movementSummary,
9408
+ citationMovement,
9409
+ mentionMovement,
9410
+ movementComparison,
9409
9411
  competitors,
9410
9412
  providerScores,
9411
9413
  attentionItems,
@@ -9438,10 +9440,13 @@ function renderHuman(overview) {
9438
9440
  console.log(`
9439
9441
  Queries cited: ${queryCounts.citedQueries}/${queryCounts.totalQueries} (${pct2(queryCounts.citedRate)})`);
9440
9442
  console.log(` Queries mentioned: ${queryCounts.mentionedQueries}/${queryCounts.totalQueries} (${pct2(queryCounts.mentionRate)})`);
9441
- if (movementSummary.hasPreviousRun) {
9442
- console.log(` Movement: +${movementSummary.gained} gained, -${movementSummary.lost} lost (${movementSummary.tone})`);
9443
- } else if (movementSummary.gained > 0) {
9444
- console.log(` Movement: ${movementSummary.gained} cited in first run`);
9443
+ if (movementComparison.hasPreviousRun) {
9444
+ const comparisonLabel = movementComparison.querySetChanged ? `changed (+${movementComparison.addedQueryCount} added, -${movementComparison.removedQueryCount} removed); movement compares ${movementComparison.comparableQueryCount} shared` : `unchanged; ${movementComparison.comparableQueryCount} comparable`;
9445
+ console.log(` Query basket: ${comparisonLabel}`);
9446
+ console.log(` Citation movement: +${citationMovement.gained} gained, -${citationMovement.lost} lost (${citationMovement.tone})`);
9447
+ console.log(` Mention movement: +${mentionMovement.gained} gained, -${mentionMovement.lost} lost (${mentionMovement.tone})`);
9448
+ } else {
9449
+ console.log(" Movement: first sweep; no comparison yet");
9445
9450
  }
9446
9451
  if (providers.length > 0) {
9447
9452
  console.log("\n Providers:");
package/dist/index.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  createServer
3
- } from "./chunk-SELXBOAP.js";
3
+ } from "./chunk-DUDFNP5Y.js";
4
4
  import {
5
5
  loadConfig
6
- } from "./chunk-LLJPZKHG.js";
7
- import "./chunk-DLBQU3VG.js";
8
- import "./chunk-23HGQV22.js";
6
+ } from "./chunk-6XMXBAEW.js";
7
+ import "./chunk-5LW7CJAO.js";
8
+ import "./chunk-MDRDX5R2.js";
9
9
  export {
10
10
  createServer,
11
11
  loadConfig
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  IntelligenceService
3
- } from "./chunk-DLBQU3VG.js";
4
- import "./chunk-23HGQV22.js";
3
+ } from "./chunk-5LW7CJAO.js";
4
+ import "./chunk-MDRDX5R2.js";
5
5
  export {
6
6
  IntelligenceService
7
7
  };
package/dist/mcp.js CHANGED
@@ -3,10 +3,10 @@ import {
3
3
  PACKAGE_VERSION,
4
4
  canonryMcpTools,
5
5
  createApiClient
6
- } from "./chunk-LLJPZKHG.js";
6
+ } from "./chunk-6XMXBAEW.js";
7
7
  import {
8
8
  isReadOnlyKey
9
- } from "./chunk-23HGQV22.js";
9
+ } from "./chunk-MDRDX5R2.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": "@ainyc/canonry",
3
- "version": "4.86.0",
3
+ "version": "4.87.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,27 +62,27 @@
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
65
  "@ainyc/canonry-api-routes": "0.0.0",
67
66
  "@ainyc/canonry-config": "0.0.0",
67
+ "@ainyc/canonry-api-client": "0.0.0",
68
68
  "@ainyc/canonry-contracts": "0.0.0",
69
69
  "@ainyc/canonry-db": "0.0.0",
70
- "@ainyc/canonry-integration-bing": "0.0.0",
71
70
  "@ainyc/canonry-integration-openai-ads": "0.0.0",
72
71
  "@ainyc/canonry-integration-cloud-run": "0.0.0",
73
72
  "@ainyc/canonry-integration-commoncrawl": "0.0.0",
74
- "@ainyc/canonry-integration-google": "0.0.0",
73
+ "@ainyc/canonry-integration-bing": "0.0.0",
75
74
  "@ainyc/canonry-integration-google-business-profile": "0.0.0",
75
+ "@ainyc/canonry-integration-google": "0.0.0",
76
76
  "@ainyc/canonry-integration-google-places": "0.0.0",
77
77
  "@ainyc/canonry-integration-traffic": "0.0.0",
78
- "@ainyc/canonry-intelligence": "0.0.0",
79
78
  "@ainyc/canonry-integration-wordpress": "0.0.0",
79
+ "@ainyc/canonry-intelligence": "0.0.0",
80
+ "@ainyc/canonry-provider-gemini": "0.0.0",
81
+ "@ainyc/canonry-provider-local": "0.0.0",
80
82
  "@ainyc/canonry-provider-cdp": "0.0.0",
81
83
  "@ainyc/canonry-provider-claude": "0.0.0",
82
- "@ainyc/canonry-provider-local": "0.0.0",
83
- "@ainyc/canonry-provider-gemini": "0.0.0",
84
- "@ainyc/canonry-provider-perplexity": "0.0.0",
85
- "@ainyc/canonry-provider-openai": "0.0.0"
84
+ "@ainyc/canonry-provider-openai": "0.0.0",
85
+ "@ainyc/canonry-provider-perplexity": "0.0.0"
86
86
  },
87
87
  "scripts": {
88
88
  "build": "tsx scripts/copy-agent-assets.ts && tsup && tsx build-web.ts",