@canonry/canonry 7.130.1 → 7.131.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 (105) hide show
  1. package/assets/agent-workspace/skills/canonry/references/canonry-cli.md +5 -3
  2. package/dist/{activity-VIJVNTMK.js → activity-URKAZ4QI.js} +4 -4
  3. package/dist/{ads-PLZRG4BQ.js → ads-OEKDHREI.js} +4 -4
  4. package/dist/{agent-RFRMOTLE.js → agent-TBU46LO6.js} +6 -6
  5. package/dist/{agent-ask-CB756SUB.js → agent-ask-EDJZGROO.js} +25 -21
  6. package/dist/agent-conversations-BQKCD4CA.js +44 -0
  7. package/dist/{agent-journeys-PLYAVLGB.js → agent-journeys-ASY5XCAJ.js} +3 -3
  8. package/dist/agent-memory-HAGNNLCP.js +74 -0
  9. package/dist/agent-providers-WUDOCAHF.js +49 -0
  10. package/dist/agent-transcript-4MAQ7NCM.js +62 -0
  11. package/dist/{analytics-W6B2FQSA.js → analytics-RYRF5TFC.js} +3 -3
  12. package/dist/{answerability-BDOOPOJF.js → answerability-7VPMCZHE.js} +3 -3
  13. package/dist/{apply-LCANKKT5.js → apply-BNTPH5FW.js} +8 -5
  14. package/dist/{backfill-AM2VXWLI.js → backfill-2DYJLCOU.js} +3 -3
  15. package/dist/{backlinks-ZXSN3XNV.js → backlinks-5HZTCZFW.js} +11 -6
  16. package/dist/{bing-FMDKRCXN.js → bing-S6BOIOTS.js} +31 -17
  17. package/dist/{bootstrap-IHKKYDBO.js → bootstrap-EITWL66P.js} +6 -6
  18. package/dist/{cdp-ASPLW35M.js → cdp-TY2TZB7J.js} +13 -7
  19. package/dist/{chunk-6UU2I6AG.js → chunk-3CDHCDCE.js} +22 -21
  20. package/dist/{chunk-JUZ4ZCOX.js → chunk-3GAJD5NP.js} +3 -3
  21. package/dist/{chunk-MARIMDMX.js → chunk-3LXRY57V.js} +60 -48
  22. package/dist/{chunk-56TGVPRB.js → chunk-3STPYNCP.js} +3 -3
  23. package/dist/{chunk-Z77D43M5.js → chunk-623X526L.js} +1 -1
  24. package/dist/{chunk-M3BKRPB7.js → chunk-63FHJJUO.js} +435 -444
  25. package/dist/chunk-APKBR2BP.js +40 -0
  26. package/dist/{chunk-VEDGR4LZ.js → chunk-BJWPYUKT.js} +1 -1
  27. package/dist/{chunk-NUYKLS2R.js → chunk-CUXA47XW.js} +2 -2
  28. package/dist/{chunk-HH6FQW5W.js → chunk-DYDATNE5.js} +6 -3
  29. package/dist/{chunk-S6X3HHSN.js → chunk-IPUZGRSN.js} +2 -2
  30. package/dist/{chunk-WZPKPA6I.js → chunk-KJX5CMPC.js} +1 -1
  31. package/dist/{chunk-4ISL4JNK.js → chunk-LXFLUFQT.js} +2 -2
  32. package/dist/{chunk-ZZSKYOHV.js → chunk-NK4G4JPQ.js} +2 -2
  33. package/dist/{chunk-JMJSAK2H.js → chunk-NYZH7SM2.js} +2 -2
  34. package/dist/{chunk-MQFH765X.js → chunk-P4ETUNQR.js} +3 -3
  35. package/dist/{chunk-VON4PHNS.js → chunk-RGT2S3VS.js} +35 -15
  36. package/dist/{chunk-KQQERQJ2.js → chunk-RSB3X7UR.js} +2 -2
  37. package/dist/{chunk-52J7GFCK.js → chunk-T6CABZ3N.js} +1 -1
  38. package/dist/{chunk-GVCL4XBU.js → chunk-UFVVOJU3.js} +2 -2
  39. package/dist/{chunk-N5GK27RW.js → chunk-WIQBXZMU.js} +3 -3
  40. package/dist/{chunk-ZHWJJVCT.js → chunk-X3ES2XOJ.js} +1 -1
  41. package/dist/{chunk-QRIKJT6Y.js → chunk-Y7JEJNNS.js} +32 -3
  42. package/dist/{chunk-VEBSXHB2.js → chunk-ZSVQTHX3.js} +4 -3
  43. package/dist/{citations-YWXR3WBL.js → citations-ERRYYKNY.js} +7 -5
  44. package/dist/{cli-catalog-RT3QPDLR.js → cli-catalog-ETUQDYOX.js} +3 -3
  45. package/dist/{cli-commands-PSZFKTZM.js → cli-commands-ORLKC2XM.js} +7 -6
  46. package/dist/cli.js +30 -19
  47. package/dist/{competitor-6ZTA2SZH.js → competitor-IC6KRZAD.js} +7 -4
  48. package/dist/{content-DJYGQ5CP.js → content-3Y6ZKQHG.js} +6 -5
  49. package/dist/{dashboard-QNOTLZUI.js → dashboard-XBS4EVSA.js} +3 -3
  50. package/dist/{demo-FVTIXDAO.js → demo-7D4W32J6.js} +2 -2
  51. package/dist/{demo-server-R7LG5BRB.js → demo-server-CGOD7EPX.js} +3 -3
  52. package/dist/{discover-3E7QM2TL.js → discover-34E5JIM5.js} +3 -3
  53. package/dist/{discover-eval-NAZPA6PV.js → discover-eval-TLH2MMNK.js} +41 -16
  54. package/dist/{doctor-OFFSPNBK.js → doctor-SGJQPWRI.js} +3 -3
  55. package/dist/{evidence-VOSSML2G.js → evidence-TFFVSNEL.js} +6 -5
  56. package/dist/{export-cmd-IVACTDSV.js → export-cmd-YRG7CEVX.js} +3 -3
  57. package/dist/{ga-BX4C7TPI.js → ga-VVJWYWQX.js} +6 -5
  58. package/dist/{gbp-SV3J2VG3.js → gbp-RYA62WDX.js} +23 -10
  59. package/dist/{google-J23OD7TR.js → google-5HRSXPUF.js} +13 -12
  60. package/dist/{google-marketing-TTLXMDMD.js → google-marketing-UGMDLFPE.js} +1 -1
  61. package/dist/{health-cmd-26AHD5XL.js → health-cmd-WUBFEQX6.js} +3 -3
  62. package/dist/{history-QWBRFDQR.js → history-5GFG76UO.js} +5 -3
  63. package/dist/index.d.ts +15 -15
  64. package/dist/index.js +12 -12
  65. package/dist/{init-IZVPCO36.js → init-CHZSBQOK.js} +10 -9
  66. package/dist/{insights-PMTHHZ2H.js → insights-LWLKXKNO.js} +3 -3
  67. package/dist/{journeys-IA7TF753.js → journeys-IQLWLZBY.js} +3 -3
  68. package/dist/{keys-DOHLZTRI.js → keys-3VVORLK2.js} +3 -3
  69. package/dist/{keyword-3C2ZU6OB.js → keyword-3MWGUBHL.js} +7 -4
  70. package/dist/{logs-P7VRVZ5N.js → logs-PSV4DZ6F.js} +3 -3
  71. package/dist/{mcp-6NA62OAY.js → mcp-NNBM3MLW.js} +5 -4
  72. package/dist/mcp.js +8 -8
  73. package/dist/{measurement-plan-RHKCARVE.js → measurement-plan-M4VLA2ZN.js} +5 -4
  74. package/dist/{notify-ODCY7TD3.js → notify-EDSJINE5.js} +3 -3
  75. package/dist/{organic-evidence-76P5AYB3.js → organic-evidence-VBT6URMQ.js} +3 -3
  76. package/dist/{overview-5T776SEB.js → overview-LRNI342W.js} +6 -6
  77. package/dist/{project-ITMGW45M.js → project-HO4GOEC4.js} +3 -3
  78. package/dist/{project-setup-A3Q6ZX73.js → project-setup-AXVIZND6.js} +4 -4
  79. package/dist/{query-3QAQITK3.js → query-E2D2K6MD.js} +8 -5
  80. package/dist/{research-R74N3VRL.js → research-Z3IZQH2M.js} +3 -3
  81. package/dist/{results-export-23GY45AY.js → results-export-TVWWLJQA.js} +3 -3
  82. package/dist/{run-ID66JYBN.js → run-RJDJPROH.js} +4 -4
  83. package/dist/{schedule-HZ2CRUAL.js → schedule-NVDN72YG.js} +3 -3
  84. package/dist/{search-DM5WWMTE.js → search-A4PBZ53D.js} +3 -3
  85. package/dist/{serve-PKDK7ZWB.js → serve-7WPMQUVW.js} +13 -13
  86. package/dist/{session-EZ6I5VUF.js → session-VPJH4TRC.js} +7 -7
  87. package/dist/{settings-SIEKVYD7.js → settings-EYEXRKTM.js} +5 -5
  88. package/dist/{sitemaps-M4IAZLK2.js → sitemaps-4HCWZJOZ.js} +3 -3
  89. package/dist/{skills-J6LWTNU5.js → skills-GPYMDDRH.js} +2 -2
  90. package/dist/{snapshot-SM3BVX5M.js → snapshot-SNR7KBK4.js} +3 -3
  91. package/dist/{status-BHJJOUCK.js → status-VTQJVZFU.js} +12 -6
  92. package/dist/{support-FPXXXJPZ.js → support-H7ANOX67.js} +1 -1
  93. package/dist/{technical-aeo-4DJWWPUN.js → technical-aeo-IDMFUDXP.js} +7 -5
  94. package/dist/{telemetry-LKVQUSO7.js → telemetry-DA43ILAA.js} +4 -4
  95. package/dist/{tools-NFVIW4YP.js → tools-F3FZEG5K.js} +6 -6
  96. package/dist/{traffic-QSZYZHFW.js → traffic-EPWP3D2K.js} +21 -29
  97. package/dist/{trends-WIHWJVJR.js → trends-IVYSKMND.js} +3 -3
  98. package/dist/{users-HQOPQRTP.js → users-ZJMBGWUF.js} +3 -3
  99. package/dist/{visibility-stats-MCY5CAUC.js → visibility-stats-M2I3SUES.js} +11 -5
  100. package/dist/{wordpress-IB5YOJSM.js → wordpress-BGIOJPIF.js} +3 -3
  101. package/package.json +1 -1
  102. package/dist/agent-conversations-RRI7T74B.js +0 -51
  103. package/dist/agent-memory-R5Q7DLRZ.js +0 -91
  104. package/dist/agent-providers-HNMGZ7GY.js +0 -58
  105. package/dist/agent-transcript-N6ZBTF72.js +0 -76
@@ -3,13 +3,13 @@ import {
3
3
  } from "./chunk-QHQZ2226.js";
4
4
  import {
5
5
  createApiClient
6
- } from "./chunk-KQQERQJ2.js";
7
- import "./chunk-52J7GFCK.js";
6
+ } from "./chunk-RSB3X7UR.js";
7
+ import "./chunk-T6CABZ3N.js";
8
8
  import {
9
9
  emitJsonl
10
10
  } from "./chunk-Z7IUAJOF.js";
11
11
  import "./chunk-AOJU5LKX.js";
12
- import "./chunk-QRIKJT6Y.js";
12
+ import "./chunk-Y7JEJNNS.js";
13
13
  import {
14
14
  formatPercent
15
15
  } from "./chunk-FGEBFVHB.js";
@@ -1,15 +1,16 @@
1
1
  import {
2
2
  createApiClient
3
- } from "./chunk-KQQERQJ2.js";
4
- import "./chunk-52J7GFCK.js";
3
+ } from "./chunk-RSB3X7UR.js";
4
+ import "./chunk-T6CABZ3N.js";
5
5
  import {
6
6
  emitJsonl
7
7
  } from "./chunk-Z7IUAJOF.js";
8
8
  import "./chunk-AOJU5LKX.js";
9
9
  import {
10
10
  CliError,
11
+ exitCodeFor,
11
12
  usageError
12
- } from "./chunk-QRIKJT6Y.js";
13
+ } from "./chunk-Y7JEJNNS.js";
13
14
  import {
14
15
  auditHistoryQuerySchema,
15
16
  describeError,
@@ -64,6 +65,7 @@ async function showHistory(project, format, opts = {}) {
64
65
  code: "HISTORY_FETCH_FAILED",
65
66
  message: project ? `Failed to fetch history for project "${project}"` : "Failed to fetch instance history",
66
67
  displayMessage: `Failed to fetch history: ${message}`,
68
+ exitCode: exitCodeFor(err),
67
69
  details: {
68
70
  project: project ?? null,
69
71
  cause: message
package/dist/index.d.ts CHANGED
@@ -1352,8 +1352,8 @@ declare const seoCompetitorSchema: z.ZodObject<{
1352
1352
  }, z.core.$strict>;
1353
1353
  type SeoCompetitor = z.infer<typeof seoCompetitorSchema>;
1354
1354
  declare const seoKeywordGapModeSchema: z.ZodEnum<{
1355
- missing: "missing";
1356
1355
  shared: "shared";
1356
+ missing: "missing";
1357
1357
  }>;
1358
1358
  type SeoKeywordGapMode = z.infer<typeof seoKeywordGapModeSchema>;
1359
1359
  /** Missing means absent from the provider's database result for this pair, never a fresh Google rank check. */
@@ -1383,8 +1383,8 @@ declare const seoKeywordGapSchema: z.ZodObject<{
1383
1383
  keywordDifficulty: z.ZodNullable<z.ZodNumber>;
1384
1384
  cpcUsd: z.ZodNullable<z.ZodNumber>;
1385
1385
  kind: z.ZodEnum<{
1386
- missing: "missing";
1387
1386
  shared: "shared";
1387
+ missing: "missing";
1388
1388
  outranked: "outranked";
1389
1389
  }>;
1390
1390
  rankGap: z.ZodNullable<z.ZodNumber>;
@@ -1680,8 +1680,8 @@ declare const seoResultsSchema: z.ZodObject<{
1680
1680
  keywordDifficulty: z.ZodNullable<z.ZodNumber>;
1681
1681
  cpcUsd: z.ZodNullable<z.ZodNumber>;
1682
1682
  kind: z.ZodEnum<{
1683
- missing: "missing";
1684
1683
  shared: "shared";
1684
+ missing: "missing";
1685
1685
  outranked: "outranked";
1686
1686
  }>;
1687
1687
  rankGap: z.ZodNullable<z.ZodNumber>;
@@ -3300,7 +3300,7 @@ declare const projects: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
3300
3300
  tableName: "projects";
3301
3301
  dataType: "json";
3302
3302
  columnType: "SQLiteTextJson";
3303
- data: ("linkedin" | "x" | "reddit")[];
3303
+ data: ("x" | "linkedin" | "reddit")[];
3304
3304
  driverParam: string;
3305
3305
  notNull: true;
3306
3306
  hasDefault: true;
@@ -3312,7 +3312,7 @@ declare const projects: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
3312
3312
  identity: undefined;
3313
3313
  generated: undefined;
3314
3314
  }, {}, {
3315
- $type: ("linkedin" | "x" | "reddit")[];
3315
+ $type: ("x" | "linkedin" | "reddit")[];
3316
3316
  }>;
3317
3317
  createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
3318
3318
  name: "created_at";
@@ -13613,7 +13613,7 @@ declare const siteAuditSnapshots: drizzle_orm_sqlite_core.SQLiteTableWithColumns
13613
13613
  weight: number;
13614
13614
  sharePct: number | null;
13615
13615
  avgScore: number;
13616
- status: "fail" | "partial" | "pass";
13616
+ status: "partial" | "fail" | "pass";
13617
13617
  pagesPassing: number;
13618
13618
  pagesPartial: number;
13619
13619
  pagesFailing: number;
@@ -13635,7 +13635,7 @@ declare const siteAuditSnapshots: drizzle_orm_sqlite_core.SQLiteTableWithColumns
13635
13635
  weight: number;
13636
13636
  sharePct: number | null;
13637
13637
  avgScore: number;
13638
- status: "fail" | "partial" | "pass";
13638
+ status: "partial" | "fail" | "pass";
13639
13639
  pagesPassing: number;
13640
13640
  pagesPartial: number;
13641
13641
  pagesFailing: number;
@@ -35854,7 +35854,7 @@ declare const adsActivationGrants: drizzle_orm_sqlite_core.SQLiteTableWithColumn
35854
35854
  tableName: "ads_activation_grants";
35855
35855
  dataType: "string";
35856
35856
  columnType: "SQLiteText";
35857
- data: "unknown" | "expired" | "approved" | "executing" | "consumed" | "revoked";
35857
+ data: "unknown" | "expired" | "revoked" | "approved" | "executing" | "consumed";
35858
35858
  driverParam: string;
35859
35859
  notNull: true;
35860
35860
  hasDefault: false;
@@ -35867,7 +35867,7 @@ declare const adsActivationGrants: drizzle_orm_sqlite_core.SQLiteTableWithColumn
35867
35867
  generated: undefined;
35868
35868
  }, {}, {
35869
35869
  length: number | undefined;
35870
- $type: "unknown" | "expired" | "approved" | "executing" | "consumed" | "revoked";
35870
+ $type: "unknown" | "expired" | "revoked" | "approved" | "executing" | "consumed";
35871
35871
  }>;
35872
35872
  expiresAt: drizzle_orm_sqlite_core.SQLiteColumn<{
35873
35873
  name: "expires_at";
@@ -36182,7 +36182,7 @@ declare const adsOperationSteps: drizzle_orm_sqlite_core.SQLiteTableWithColumns<
36182
36182
  tableName: "ads_operation_steps";
36183
36183
  dataType: "string";
36184
36184
  columnType: "SQLiteText";
36185
- data: "unknown" | "active" | "failed" | "pending" | "executing" | "rollback_executing" | "rolled_back" | "rollback_failed";
36185
+ data: "unknown" | "failed" | "active" | "pending" | "executing" | "rollback_executing" | "rolled_back" | "rollback_failed";
36186
36186
  driverParam: string;
36187
36187
  notNull: true;
36188
36188
  hasDefault: false;
@@ -36195,7 +36195,7 @@ declare const adsOperationSteps: drizzle_orm_sqlite_core.SQLiteTableWithColumns<
36195
36195
  generated: undefined;
36196
36196
  }, {}, {
36197
36197
  length: number | undefined;
36198
- $type: "unknown" | "active" | "failed" | "pending" | "executing" | "rollback_executing" | "rolled_back" | "rollback_failed";
36198
+ $type: "unknown" | "failed" | "active" | "pending" | "executing" | "rollback_executing" | "rolled_back" | "rollback_failed";
36199
36199
  }>;
36200
36200
  providerUpdatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
36201
36201
  name: "provider_updated_at";
@@ -42208,7 +42208,7 @@ declare const socialMentions: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
42208
42208
  tableName: "social_mentions";
42209
42209
  dataType: "string";
42210
42210
  columnType: "SQLiteText";
42211
- data: "linkedin" | "x" | "reddit";
42211
+ data: "x" | "linkedin" | "reddit";
42212
42212
  driverParam: string;
42213
42213
  notNull: true;
42214
42214
  hasDefault: false;
@@ -42221,7 +42221,7 @@ declare const socialMentions: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
42221
42221
  generated: undefined;
42222
42222
  }, {}, {
42223
42223
  length: number | undefined;
42224
- $type: "linkedin" | "x" | "reddit";
42224
+ $type: "x" | "linkedin" | "reddit";
42225
42225
  }>;
42226
42226
  externalId: drizzle_orm_sqlite_core.SQLiteColumn<{
42227
42227
  name: "external_id";
@@ -42600,7 +42600,7 @@ declare const socialConnections: drizzle_orm_sqlite_core.SQLiteTableWithColumns<
42600
42600
  tableName: "social_connections";
42601
42601
  dataType: "string";
42602
42602
  columnType: "SQLiteText";
42603
- data: "linkedin" | "x" | "reddit";
42603
+ data: "x" | "linkedin" | "reddit";
42604
42604
  driverParam: string;
42605
42605
  notNull: true;
42606
42606
  hasDefault: false;
@@ -42613,7 +42613,7 @@ declare const socialConnections: drizzle_orm_sqlite_core.SQLiteTableWithColumns<
42613
42613
  generated: undefined;
42614
42614
  }, {}, {
42615
42615
  length: number | undefined;
42616
- $type: "linkedin" | "x" | "reddit";
42616
+ $type: "x" | "linkedin" | "reddit";
42617
42617
  }>;
42618
42618
  projectId: drizzle_orm_sqlite_core.SQLiteColumn<{
42619
42619
  name: "project_id";
package/dist/index.js CHANGED
@@ -3,33 +3,33 @@ import {
3
3
  createGoogleMarketingCredentialStore,
4
4
  createGoogleMarketingRuntime,
5
5
  createServer
6
- } from "./chunk-6UU2I6AG.js";
7
- import "./chunk-56TGVPRB.js";
8
- import "./chunk-N5GK27RW.js";
6
+ } from "./chunk-3CDHCDCE.js";
7
+ import "./chunk-3STPYNCP.js";
8
+ import "./chunk-WIQBXZMU.js";
9
9
  import "./chunk-AP54KLWN.js";
10
10
  import "./chunk-XAJS5FH3.js";
11
11
  import "./chunk-XEBKF4N5.js";
12
12
  import "./chunk-ELCLGWUT.js";
13
13
  import "./chunk-WP76HORO.js";
14
14
  import "./chunk-CBREBUUV.js";
15
- import "./chunk-4ISL4JNK.js";
15
+ import "./chunk-LXFLUFQT.js";
16
16
  import "./chunk-TSENU4GG.js";
17
17
  import "./chunk-ALU56PI7.js";
18
- import "./chunk-WZPKPA6I.js";
19
- import "./chunk-JUZ4ZCOX.js";
18
+ import "./chunk-KJX5CMPC.js";
19
+ import "./chunk-3GAJD5NP.js";
20
20
  import "./chunk-MG4COK23.js";
21
- import "./chunk-KQQERQJ2.js";
21
+ import "./chunk-RSB3X7UR.js";
22
22
  import {
23
23
  loadConfig
24
- } from "./chunk-52J7GFCK.js";
25
- import "./chunk-Z77D43M5.js";
24
+ } from "./chunk-T6CABZ3N.js";
25
+ import "./chunk-623X526L.js";
26
26
  import "./chunk-PABT3HDP.js";
27
- import "./chunk-S6X3HHSN.js";
27
+ import "./chunk-IPUZGRSN.js";
28
28
  import "./chunk-UX3HJV2V.js";
29
- import "./chunk-VEDGR4LZ.js";
29
+ import "./chunk-BJWPYUKT.js";
30
30
  import "./chunk-ZHXPH7WB.js";
31
31
  import "./chunk-AOJU5LKX.js";
32
- import "./chunk-QRIKJT6Y.js";
32
+ import "./chunk-Y7JEJNNS.js";
33
33
  import "./chunk-WEJOT2VP.js";
34
34
  import "./chunk-LJ65QBRP.js";
35
35
  import "./chunk-VRY5M7CR.js";
@@ -1,15 +1,16 @@
1
1
  import {
2
2
  installMcp
3
- } from "./chunk-HH6FQW5W.js";
3
+ } from "./chunk-DYDATNE5.js";
4
4
  import {
5
5
  trackCliConnection
6
- } from "./chunk-NUYKLS2R.js";
6
+ } from "./chunk-CUXA47XW.js";
7
7
  import {
8
8
  buildSetupState,
9
9
  queueServeHandoff
10
- } from "./chunk-ZZSKYOHV.js";
10
+ } from "./chunk-NK4G4JPQ.js";
11
11
  import "./chunk-VJWDBFSL.js";
12
- import "./chunk-4ISL4JNK.js";
12
+ import "./chunk-APKBR2BP.js";
13
+ import "./chunk-LXFLUFQT.js";
13
14
  import "./chunk-ALU56PI7.js";
14
15
  import {
15
16
  cliRuntimeContext,
@@ -18,8 +19,8 @@ import {
18
19
  recordInstallRef,
19
20
  showFirstRunNotice,
20
21
  trackEvent
21
- } from "./chunk-WZPKPA6I.js";
22
- import "./chunk-KQQERQJ2.js";
22
+ } from "./chunk-KJX5CMPC.js";
23
+ import "./chunk-RSB3X7UR.js";
23
24
  import {
24
25
  configExists,
25
26
  getBootstrapEnv,
@@ -27,15 +28,15 @@ import {
27
28
  getConfigPath,
28
29
  saveConfig,
29
30
  withBootstrapProviderDefaults
30
- } from "./chunk-52J7GFCK.js";
31
+ } from "./chunk-T6CABZ3N.js";
31
32
  import {
32
33
  installSkills
33
- } from "./chunk-Z77D43M5.js";
34
+ } from "./chunk-623X526L.js";
34
35
  import "./chunk-AOJU5LKX.js";
35
36
  import {
36
37
  CliError,
37
38
  isMachineFormat
38
- } from "./chunk-QRIKJT6Y.js";
39
+ } from "./chunk-Y7JEJNNS.js";
39
40
  import "./chunk-C4JM5HJW.js";
40
41
  import {
41
42
  apiKeys,
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  createApiClient
3
- } from "./chunk-KQQERQJ2.js";
4
- import "./chunk-52J7GFCK.js";
3
+ } from "./chunk-RSB3X7UR.js";
4
+ import "./chunk-T6CABZ3N.js";
5
5
  import {
6
6
  emitJsonl
7
7
  } from "./chunk-Z7IUAJOF.js";
8
8
  import "./chunk-AOJU5LKX.js";
9
9
  import {
10
10
  isMachineFormat
11
- } from "./chunk-QRIKJT6Y.js";
11
+ } from "./chunk-Y7JEJNNS.js";
12
12
  import "./chunk-FGEBFVHB.js";
13
13
 
14
14
  // src/commands/insights.ts
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  createApiClient
3
- } from "./chunk-KQQERQJ2.js";
4
- import "./chunk-52J7GFCK.js";
3
+ } from "./chunk-RSB3X7UR.js";
4
+ import "./chunk-T6CABZ3N.js";
5
5
  import {
6
6
  emitJsonl
7
7
  } from "./chunk-Z7IUAJOF.js";
@@ -9,7 +9,7 @@ import "./chunk-AOJU5LKX.js";
9
9
  import {
10
10
  isMachineFormat,
11
11
  usageError
12
- } from "./chunk-QRIKJT6Y.js";
12
+ } from "./chunk-Y7JEJNNS.js";
13
13
  import {
14
14
  JOURNEY_MAX_REQUESTS_PER_VISITOR_DAY,
15
15
  JourneyEventFilters,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  createApiClient
3
- } from "./chunk-KQQERQJ2.js";
4
- import "./chunk-52J7GFCK.js";
3
+ } from "./chunk-RSB3X7UR.js";
4
+ import "./chunk-T6CABZ3N.js";
5
5
  import {
6
6
  emitJsonl
7
7
  } from "./chunk-Z7IUAJOF.js";
@@ -9,7 +9,7 @@ import "./chunk-AOJU5LKX.js";
9
9
  import {
10
10
  CliError,
11
11
  isMachineFormat
12
- } from "./chunk-QRIKJT6Y.js";
12
+ } from "./chunk-Y7JEJNNS.js";
13
13
  import {
14
14
  READ_ONLY_SCOPE,
15
15
  formatIsoDate
@@ -1,7 +1,10 @@
1
+ import {
2
+ readInputText
3
+ } from "./chunk-APKBR2BP.js";
1
4
  import {
2
5
  createApiClient
3
- } from "./chunk-KQQERQJ2.js";
4
- import "./chunk-52J7GFCK.js";
6
+ } from "./chunk-RSB3X7UR.js";
7
+ import "./chunk-T6CABZ3N.js";
5
8
  import {
6
9
  emitJsonl
7
10
  } from "./chunk-Z7IUAJOF.js";
@@ -9,7 +12,7 @@ import "./chunk-AOJU5LKX.js";
9
12
  import {
10
13
  CliError,
11
14
  isMachineFormat
12
- } from "./chunk-QRIKJT6Y.js";
15
+ } from "./chunk-Y7JEJNNS.js";
13
16
  import "./chunk-FGEBFVHB.js";
14
17
 
15
18
  // src/commands/keyword.ts
@@ -92,7 +95,7 @@ async function importKeywords(project, filePath, format) {
92
95
  }
93
96
  });
94
97
  }
95
- const content = fs.readFileSync(filePath, "utf-8");
98
+ const content = readInputText(filePath, `The keyword import file ${filePath}`);
96
99
  const keywords = content.split("\n").map((line) => line.trim()).filter((line) => line.length > 0 && !line.startsWith("#"));
97
100
  if (keywords.length === 0) {
98
101
  if (isMachineFormat(format)) {
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  createApiClient
3
- } from "./chunk-KQQERQJ2.js";
4
- import "./chunk-52J7GFCK.js";
3
+ } from "./chunk-RSB3X7UR.js";
4
+ import "./chunk-T6CABZ3N.js";
5
5
  import "./chunk-AOJU5LKX.js";
6
6
  import {
7
7
  isMachineFormat,
8
8
  usageError
9
- } from "./chunk-QRIKJT6Y.js";
9
+ } from "./chunk-Y7JEJNNS.js";
10
10
  import {
11
11
  logQuerySchema
12
12
  } from "./chunk-FGEBFVHB.js";
@@ -3,12 +3,13 @@ import {
3
3
  printMcpConfig,
4
4
  renderClientSnippet,
5
5
  showMcpProfile
6
- } from "./chunk-HH6FQW5W.js";
6
+ } from "./chunk-DYDATNE5.js";
7
7
  import "./chunk-VJWDBFSL.js";
8
- import "./chunk-KQQERQJ2.js";
9
- import "./chunk-52J7GFCK.js";
8
+ import "./chunk-APKBR2BP.js";
9
+ import "./chunk-RSB3X7UR.js";
10
+ import "./chunk-T6CABZ3N.js";
10
11
  import "./chunk-AOJU5LKX.js";
11
- import "./chunk-QRIKJT6Y.js";
12
+ import "./chunk-Y7JEJNNS.js";
12
13
  import "./chunk-FGEBFVHB.js";
13
14
  export {
14
15
  installMcp,
package/dist/mcp.js CHANGED
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  autoSyncSkills
3
- } from "./chunk-JMJSAK2H.js";
3
+ } from "./chunk-NYZH7SM2.js";
4
4
  import {
5
5
  createCanonryMcpServer
6
- } from "./chunk-JUZ4ZCOX.js";
6
+ } from "./chunk-3GAJD5NP.js";
7
7
  import "./chunk-MG4COK23.js";
8
8
  import {
9
9
  createApiClient
10
- } from "./chunk-KQQERQJ2.js";
11
- import "./chunk-52J7GFCK.js";
12
- import "./chunk-Z77D43M5.js";
13
- import "./chunk-S6X3HHSN.js";
10
+ } from "./chunk-RSB3X7UR.js";
11
+ import "./chunk-T6CABZ3N.js";
12
+ import "./chunk-623X526L.js";
13
+ import "./chunk-IPUZGRSN.js";
14
14
  import "./chunk-UX3HJV2V.js";
15
- import "./chunk-VEDGR4LZ.js";
15
+ import "./chunk-BJWPYUKT.js";
16
16
  import "./chunk-ZHXPH7WB.js";
17
17
  import "./chunk-AOJU5LKX.js";
18
- import "./chunk-QRIKJT6Y.js";
18
+ import "./chunk-Y7JEJNNS.js";
19
19
  import {
20
20
  describeError,
21
21
  isReadOnlyKey,
@@ -14,13 +14,14 @@ import {
14
14
  showMeasurementProperty,
15
15
  showMeasurementPropertyEvidence,
16
16
  showMeasurementReport
17
- } from "./chunk-MARIMDMX.js";
18
- import "./chunk-KQQERQJ2.js";
19
- import "./chunk-52J7GFCK.js";
17
+ } from "./chunk-3LXRY57V.js";
18
+ import "./chunk-APKBR2BP.js";
19
+ import "./chunk-RSB3X7UR.js";
20
+ import "./chunk-T6CABZ3N.js";
20
21
  import "./chunk-Z7IUAJOF.js";
21
22
  import "./chunk-ZHXPH7WB.js";
22
23
  import "./chunk-AOJU5LKX.js";
23
- import "./chunk-QRIKJT6Y.js";
24
+ import "./chunk-Y7JEJNNS.js";
24
25
  import "./chunk-FGEBFVHB.js";
25
26
  export {
26
27
  ADVANCED_MEASUREMENT_OPERATIONS,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  createApiClient
3
- } from "./chunk-KQQERQJ2.js";
4
- import "./chunk-52J7GFCK.js";
3
+ } from "./chunk-RSB3X7UR.js";
4
+ import "./chunk-T6CABZ3N.js";
5
5
  import {
6
6
  emitJsonl
7
7
  } from "./chunk-Z7IUAJOF.js";
@@ -9,7 +9,7 @@ import "./chunk-AOJU5LKX.js";
9
9
  import {
10
10
  isMachineFormat,
11
11
  usageError
12
- } from "./chunk-QRIKJT6Y.js";
12
+ } from "./chunk-Y7JEJNNS.js";
13
13
  import {
14
14
  NOTIFICATION_EVENT_DESCRIPTIONS,
15
15
  notificationEventSchema
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  createApiClient
3
- } from "./chunk-KQQERQJ2.js";
4
- import "./chunk-52J7GFCK.js";
3
+ } from "./chunk-RSB3X7UR.js";
4
+ import "./chunk-T6CABZ3N.js";
5
5
  import "./chunk-AOJU5LKX.js";
6
6
  import {
7
7
  isMachineFormat
8
- } from "./chunk-QRIKJT6Y.js";
8
+ } from "./chunk-Y7JEJNNS.js";
9
9
  import "./chunk-FGEBFVHB.js";
10
10
 
11
11
  // src/commands/organic-evidence.ts
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  activityLines
3
- } from "./chunk-GVCL4XBU.js";
3
+ } from "./chunk-UFVVOJU3.js";
4
4
  import {
5
5
  runAdmissionLines
6
- } from "./chunk-VON4PHNS.js";
6
+ } from "./chunk-RGT2S3VS.js";
7
7
  import {
8
8
  citedBase
9
9
  } from "./chunk-QHQZ2226.js";
10
10
  import {
11
11
  createApiClient
12
- } from "./chunk-KQQERQJ2.js";
13
- import "./chunk-52J7GFCK.js";
12
+ } from "./chunk-RSB3X7UR.js";
13
+ import "./chunk-T6CABZ3N.js";
14
14
  import "./chunk-Z7IUAJOF.js";
15
15
  import "./chunk-AOJU5LKX.js";
16
16
  import {
@@ -18,7 +18,7 @@ import {
18
18
  EXIT_SYSTEM_ERROR,
19
19
  EXIT_USER_ERROR,
20
20
  isMachineFormat
21
- } from "./chunk-QRIKJT6Y.js";
21
+ } from "./chunk-Y7JEJNNS.js";
22
22
  import {
23
23
  RatioUnits,
24
24
  describeError,
@@ -51,7 +51,7 @@ async function showAllOverviews(opts) {
51
51
  console.log("[]");
52
52
  return;
53
53
  }
54
- console.log("No projects configured. Add one with `canonry project create`.");
54
+ console.log("No projects configured. Add one with `canonry project create <name> --domain <domain>`.");
55
55
  return;
56
56
  }
57
57
  const machine = isMachineFormat(opts.format);
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  createApiClient
3
- } from "./chunk-KQQERQJ2.js";
4
- import "./chunk-52J7GFCK.js";
3
+ } from "./chunk-RSB3X7UR.js";
4
+ import "./chunk-T6CABZ3N.js";
5
5
  import {
6
6
  emitJsonl
7
7
  } from "./chunk-Z7IUAJOF.js";
@@ -11,7 +11,7 @@ import {
11
11
  isEndpointMissing,
12
12
  isMachineFormat,
13
13
  usageError
14
- } from "./chunk-QRIKJT6Y.js";
14
+ } from "./chunk-Y7JEJNNS.js";
15
15
  import {
16
16
  DEFAULT_MEASUREMENT_CONFIG,
17
17
  RatioUnits,
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  createApiClient
3
- } from "./chunk-KQQERQJ2.js";
4
- import "./chunk-52J7GFCK.js";
3
+ } from "./chunk-RSB3X7UR.js";
4
+ import "./chunk-T6CABZ3N.js";
5
5
  import "./chunk-AOJU5LKX.js";
6
6
  import {
7
7
  isMachineFormat
8
- } from "./chunk-QRIKJT6Y.js";
8
+ } from "./chunk-Y7JEJNNS.js";
9
9
  import {
10
10
  AiVisibilitySetupBlockers,
11
11
  ProjectSetupNextActions,
@@ -164,7 +164,7 @@ function nextStep(setup) {
164
164
  case ProjectSetupNextActions.publish_plan:
165
165
  return `publish the Advanced Measurement draft: cnry measurement-plan advanced ${project} draft-action <json>, with action "publish"`;
166
166
  case ProjectSetupNextActions.run_ai_visibility:
167
- return `run the AI Visibility check (cnry run preview ${project} shows what it will ask): cnry run ${project}`;
167
+ return `run the AI Visibility check: cnry run ${project} (\`cnry run preview ${project}\` shows what it will ask)`;
168
168
  case ProjectSetupNextActions.repair_ai_visibility:
169
169
  return aiVisibility.state === SetupTrackStates.failed && aiVisibility.runId ? `see why the check failed, then fix the engine: cnry run show ${shellQuote(aiVisibility.runId)}` : "fix the failing engine's key, access or billing, then save it: cnry settings provider <name> --api-key <key>";
170
170
  case ProjectSetupNextActions.wait:
@@ -1,7 +1,10 @@
1
+ import {
2
+ readInputText
3
+ } from "./chunk-APKBR2BP.js";
1
4
  import {
2
5
  createApiClient
3
- } from "./chunk-KQQERQJ2.js";
4
- import "./chunk-52J7GFCK.js";
6
+ } from "./chunk-RSB3X7UR.js";
7
+ import "./chunk-T6CABZ3N.js";
5
8
  import {
6
9
  emitJsonl
7
10
  } from "./chunk-Z7IUAJOF.js";
@@ -9,7 +12,7 @@ import "./chunk-AOJU5LKX.js";
9
12
  import {
10
13
  CliError,
11
14
  isMachineFormat
12
- } from "./chunk-QRIKJT6Y.js";
15
+ } from "./chunk-Y7JEJNNS.js";
13
16
  import {
14
17
  reportedQueryClasses
15
18
  } from "./chunk-FGEBFVHB.js";
@@ -21,7 +24,7 @@ function getClient() {
21
24
  }
22
25
  var NO_CLASS = "-";
23
26
  var CLASS_COLUMN_WIDTH = "non-brand".length;
24
- var NO_CLASS_NOTE = `${NO_CLASS} = no class: the project has no usable brand name, or its measurement plan holds no single class for that query (canonry query workspace shows the class per Property).`;
27
+ var NO_CLASS_NOTE = `${NO_CLASS} = no class: the project has no usable brand name, or its measurement plan holds no single class for that query (\`canonry query workspace <project>\` shows the class per Property).`;
25
28
  var CLASS_NOT_REPORTED_NOTE = `${NO_CLASS} = class not reported: this server version does not send a query class. Upgrade the server to see it.`;
26
29
  function classCell(queryClass) {
27
30
  return (queryClass ?? NO_CLASS).padEnd(CLASS_COLUMN_WIDTH);
@@ -139,7 +142,7 @@ async function importQueries(project, filePath, format) {
139
142
  }
140
143
  });
141
144
  }
142
- const content = fs.readFileSync(filePath, "utf-8");
145
+ const content = readInputText(filePath, `The query import file ${filePath}`);
143
146
  const queries = content.split("\n").map((line) => line.trim()).filter((line) => line.length > 0 && !line.startsWith("#"));
144
147
  if (queries.length === 0) {
145
148
  if (isMachineFormat(format)) {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  createApiClient
3
- } from "./chunk-KQQERQJ2.js";
4
- import "./chunk-52J7GFCK.js";
3
+ } from "./chunk-RSB3X7UR.js";
4
+ import "./chunk-T6CABZ3N.js";
5
5
  import {
6
6
  emitJsonl
7
7
  } from "./chunk-Z7IUAJOF.js";
@@ -10,7 +10,7 @@ import {
10
10
  CliError,
11
11
  isMachineFormat,
12
12
  usageError
13
- } from "./chunk-QRIKJT6Y.js";
13
+ } from "./chunk-Y7JEJNNS.js";
14
14
  import {
15
15
  CitationStates,
16
16
  ResearchRunStatuses,
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  createApiClient
3
- } from "./chunk-KQQERQJ2.js";
4
- import "./chunk-52J7GFCK.js";
3
+ } from "./chunk-RSB3X7UR.js";
4
+ import "./chunk-T6CABZ3N.js";
5
5
  import "./chunk-AOJU5LKX.js";
6
- import "./chunk-QRIKJT6Y.js";
6
+ import "./chunk-Y7JEJNNS.js";
7
7
  import "./chunk-FGEBFVHB.js";
8
8
 
9
9
  // src/commands/results-export.ts