@ainyc/canonry 4.186.8 → 4.187.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 (28) hide show
  1. package/assets/assets/{AuditHistoryPanel-9q5v4zHj.js → AuditHistoryPanel-G2iVWlbn.js} +1 -1
  2. package/assets/assets/{BacklinksPage-C2QVWfQf.js → BacklinksPage-B13UlDT7.js} +1 -1
  3. package/assets/assets/{HistoryPage-oLCQA7-T.js → HistoryPage-DZoRKfzJ.js} +1 -1
  4. package/assets/assets/{MeasurementPropertyPage-DUYt5ceA.js → MeasurementPropertyPage-DNxsAgEA.js} +1 -1
  5. package/assets/assets/ProjectPage-BdfsfLkU.js +9 -0
  6. package/assets/assets/{RunRow-kaFXI_VP.js → RunRow-C9u35nrm.js} +1 -1
  7. package/assets/assets/{RunsPage-CQizRJxf.js → RunsPage-DST-BpAu.js} +1 -1
  8. package/assets/assets/{SettingsPage-BHh4Y7Qg.js → SettingsPage-BC05JomS.js} +1 -1
  9. package/assets/assets/SiteHealthSection-DIeYA2HJ.js +4 -0
  10. package/assets/assets/{TrafficPage-B3N0r5gW.js → TrafficPage-DezdhoxL.js} +1 -1
  11. package/assets/assets/{TrafficSourceDetailPage-C27GkPF4.js → TrafficSourceDetailPage-C0FIPjXi.js} +1 -1
  12. package/assets/assets/{extract-error-message-DlmIEdy_.js → extract-error-message-B5OYNTJO.js} +1 -1
  13. package/assets/assets/{index-DVa1lkiE.js → index-DJWMbOc5.js} +24 -24
  14. package/assets/assets/{react-sigma_core.esm.min-BBOzBU_n.js → react-sigma_core.esm.min-B06R8tYw.js} +1 -1
  15. package/assets/index.html +1 -1
  16. package/dist/{chunk-42P3CXIH.js → chunk-5BUAG4CN.js} +28 -3
  17. package/dist/{chunk-YYNL73BT.js → chunk-B7WQ5Z4L.js} +48 -9
  18. package/dist/{chunk-7CG3QE4N.js → chunk-EMSDPSQM.js} +130 -68
  19. package/dist/{chunk-7TYSFZEG.js → chunk-IPALTNIE.js} +2 -2
  20. package/dist/{chunk-CFJHRXZ3.js → chunk-LNBX7RTN.js} +556 -536
  21. package/dist/cli.js +5 -5
  22. package/dist/index.d.ts +12 -2
  23. package/dist/index.js +4 -4
  24. package/dist/{intelligence-service-KBHLNDGO.js → intelligence-service-UZGA24EF.js} +2 -2
  25. package/dist/mcp.js +3 -3
  26. package/package.json +12 -12
  27. package/assets/assets/ProjectPage-Dsao_AiN.js +0 -9
  28. package/assets/assets/SiteHealthSection-DjmPK0Tg.js +0 -4
package/dist/cli.js CHANGED
@@ -28,11 +28,11 @@ import {
28
28
  trackCliCommandFinished,
29
29
  trackEvent,
30
30
  waitForServerRuntimeStartup
31
- } from "./chunk-YYNL73BT.js";
31
+ } from "./chunk-B7WQ5Z4L.js";
32
32
  import {
33
33
  autoSyncSkills,
34
34
  formatAutoSyncNotice
35
- } from "./chunk-7TYSFZEG.js";
35
+ } from "./chunk-IPALTNIE.js";
36
36
  import {
37
37
  CliError,
38
38
  EXIT_SYSTEM_ERROR,
@@ -58,7 +58,7 @@ import {
58
58
  saveConfigPatch,
59
59
  systemError,
60
60
  usageError
61
- } from "./chunk-42P3CXIH.js";
61
+ } from "./chunk-5BUAG4CN.js";
62
62
  import {
63
63
  CLOUDFLARE_WORKER_BINDINGS,
64
64
  CLOUDFLARE_WORKER_GENERATED_MARKER,
@@ -72,7 +72,7 @@ import {
72
72
  projects,
73
73
  queries,
74
74
  renderReportHtml
75
- } from "./chunk-7CG3QE4N.js";
75
+ } from "./chunk-EMSDPSQM.js";
76
76
  import {
77
77
  AdsDeliverySnapshotStatuses,
78
78
  AdsHistoricalCampaignRollupStatuses,
@@ -145,7 +145,7 @@ import {
145
145
  shareOfVoiceReason,
146
146
  visibilityReportRequestSchema,
147
147
  winnabilityClassSchema
148
- } from "./chunk-CFJHRXZ3.js";
148
+ } from "./chunk-LNBX7RTN.js";
149
149
 
150
150
  // src/cli.ts
151
151
  import { pathToFileURL } from "url";
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { FastifyInstance } from 'fastify';
2
2
  import { DatabaseClient } from '@ainyc/canonry-db';
3
- import { ProviderQuotaPolicy, EmbedConfigEntry, AgentPluginState, GoogleAdsCampaignMetricsQuery, GoogleAdsRawSnapshotDto, GoogleAdsEffectiveGoalGraphDto, GoogleMarketingProvider, GoogleAdsAccessibleCustomersResponse, GoogleAdsAccessibleCustomerDto, GtmAccountsResponse, GtmContainerListResponse, GtmWorkspaceListResponse, GtmRawSnapshotDto } from '@ainyc/canonry-contracts';
3
+ import { ProviderQuotaPolicy, SchedulableRunKind, EmbedConfigEntry, AgentPluginState, GoogleAdsCampaignMetricsQuery, GoogleAdsRawSnapshotDto, GoogleAdsEffectiveGoalGraphDto, GoogleMarketingProvider, GoogleAdsAccessibleCustomersResponse, GoogleAdsAccessibleCustomerDto, GtmAccountsResponse, GtmContainerListResponse, GtmWorkspaceListResponse, GtmRawSnapshotDto } from '@ainyc/canonry-contracts';
4
4
  import { GoogleTokenResponse } from '@ainyc/canonry-integration-google';
5
5
 
6
6
  type GoogleConnectionType = 'gsc' | 'ga4' | 'gbp';
@@ -306,8 +306,16 @@ interface DashboardConfigEntry {
306
306
  * or CLI update notice.
307
307
  */
308
308
  showUpdateNotification?: boolean;
309
- /** Hide dashboard sweep controls; operators can still use `canonry run`. Defaults to false. */
309
+ /** Legacy alias for managedRunKinds: ['answer-visibility']. */
310
310
  managedSweeps?: boolean | null;
311
+ /** Presentation only. Managed sweeps hide all launches; managed scans hide viewer launches. */
312
+ managedRunKinds?: SchedulableRunKind[] | null;
313
+ }
314
+ interface ResearchConfigEntry {
315
+ /** Allow signed-in viewers to run paid research queries. Defaults to false. */
316
+ allowViewers?: boolean | null;
317
+ /** Viewer-created research runs allowed per project and UTC day. Defaults to 20. */
318
+ viewerDailyRunLimit?: number | null;
311
319
  }
312
320
  /**
313
321
  * Google Places API config — supplemental rendered-listing data for GBP
@@ -350,6 +358,8 @@ interface CanonryConfig {
350
358
  gtm?: GtmConfigEntry;
351
359
  dashboardPasswordHash?: string;
352
360
  dashboard?: DashboardConfigEntry;
361
+ /** Paid research access and budget controls. */
362
+ research?: ResearchConfigEntry;
353
363
  telemetry?: boolean;
354
364
  anonymousId?: string;
355
365
  lastSeenVersion?: string;
package/dist/index.js CHANGED
@@ -3,12 +3,12 @@ import {
3
3
  createGoogleMarketingCredentialStore,
4
4
  createGoogleMarketingRuntime,
5
5
  createServer
6
- } from "./chunk-YYNL73BT.js";
6
+ } from "./chunk-B7WQ5Z4L.js";
7
7
  import {
8
8
  loadConfig
9
- } from "./chunk-42P3CXIH.js";
10
- import "./chunk-7CG3QE4N.js";
11
- import "./chunk-CFJHRXZ3.js";
9
+ } from "./chunk-5BUAG4CN.js";
10
+ import "./chunk-EMSDPSQM.js";
11
+ import "./chunk-LNBX7RTN.js";
12
12
  export {
13
13
  GoogleMarketingRuntimeError,
14
14
  createGoogleMarketingCredentialStore,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  IntelligenceService
3
- } from "./chunk-7CG3QE4N.js";
4
- import "./chunk-CFJHRXZ3.js";
3
+ } from "./chunk-EMSDPSQM.js";
4
+ import "./chunk-LNBX7RTN.js";
5
5
  export {
6
6
  IntelligenceService
7
7
  };
package/dist/mcp.js CHANGED
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  autoSyncSkills
3
- } from "./chunk-7TYSFZEG.js";
3
+ } from "./chunk-IPALTNIE.js";
4
4
  import {
5
5
  createApiClient,
6
6
  createCanonryMcpServer
7
- } from "./chunk-42P3CXIH.js";
7
+ } from "./chunk-5BUAG4CN.js";
8
8
  import {
9
9
  isReadOnlyKey
10
- } from "./chunk-CFJHRXZ3.js";
10
+ } from "./chunk-LNBX7RTN.js";
11
11
 
12
12
  // src/mcp/cli.ts
13
13
  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.186.8",
3
+ "version": "4.187.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
  "license": "FSL-1.1-ALv2",
@@ -72,30 +72,30 @@
72
72
  "tsx": "^4.19.0",
73
73
  "@ainyc/canonry-web": "0.0.0",
74
74
  "@ainyc/canonry-api-client": "0.0.0",
75
- "@ainyc/canonry-api-routes": "0.0.0",
76
75
  "@ainyc/canonry-config": "0.0.0",
77
76
  "@ainyc/canonry-contracts": "0.0.0",
78
- "@ainyc/canonry-db": "0.0.0",
77
+ "@ainyc/canonry-api-routes": "0.0.0",
79
78
  "@ainyc/canonry-integration-bing": "0.0.0",
79
+ "@ainyc/canonry-db": "0.0.0",
80
80
  "@ainyc/canonry-integration-cloud-run": "0.0.0",
81
- "@ainyc/canonry-integration-cloudflare-worker": "0.0.0",
82
81
  "@ainyc/canonry-integration-cloudflare-queue": "0.0.0",
83
- "@ainyc/canonry-integration-commoncrawl": "0.0.0",
84
- "@ainyc/canonry-integration-google": "0.0.0",
85
82
  "@ainyc/canonry-integration-google-ads": "0.0.0",
83
+ "@ainyc/canonry-integration-google-business-profile": "0.0.0",
84
+ "@ainyc/canonry-integration-cloudflare-worker": "0.0.0",
85
+ "@ainyc/canonry-integration-google": "0.0.0",
86
86
  "@ainyc/canonry-integration-google-tag-manager": "0.0.0",
87
87
  "@ainyc/canonry-integration-google-places": "0.0.0",
88
- "@ainyc/canonry-integration-openai-ads": "0.0.0",
88
+ "@ainyc/canonry-integration-commoncrawl": "0.0.0",
89
89
  "@ainyc/canonry-integration-traffic": "0.0.0",
90
- "@ainyc/canonry-integration-wordpress": "0.0.0",
91
- "@ainyc/canonry-integration-google-business-profile": "0.0.0",
92
90
  "@ainyc/canonry-intelligence": "0.0.0",
93
91
  "@ainyc/canonry-provider-cdp": "0.0.0",
94
- "@ainyc/canonry-provider-gemini": "0.0.0",
92
+ "@ainyc/canonry-integration-openai-ads": "0.0.0",
93
+ "@ainyc/canonry-integration-wordpress": "0.0.0",
95
94
  "@ainyc/canonry-provider-claude": "0.0.0",
96
- "@ainyc/canonry-provider-local": "0.0.0",
97
95
  "@ainyc/canonry-provider-openai": "0.0.0",
98
- "@ainyc/canonry-provider-perplexity": "0.0.0"
96
+ "@ainyc/canonry-provider-perplexity": "0.0.0",
97
+ "@ainyc/canonry-provider-local": "0.0.0",
98
+ "@ainyc/canonry-provider-gemini": "0.0.0"
99
99
  },
100
100
  "scripts": {
101
101
  "build": "pnpm run build:cli && pnpm run build:web",