@canonry/canonry 7.108.3 → 7.111.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 (150) hide show
  1. package/README.md +2 -1
  2. package/assets/agent-workspace/skills/aero/SKILL.md +12 -3
  3. package/assets/agent-workspace/skills/aero/references/agent-operations.md +7 -2
  4. package/assets/agent-workspace/skills/aero/references/getting-started.md +326 -0
  5. package/assets/agent-workspace/skills/aero/references/orchestration.md +2 -2
  6. package/assets/agent-workspace/skills/aero/soul.md +1 -1
  7. package/assets/agent-workspace/skills/canonry/SKILL.md +9 -3
  8. package/assets/agent-workspace/skills/canonry/references/aeo-analysis.md +1 -1
  9. package/assets/agent-workspace/skills/canonry/references/canonry-cli.md +13 -5
  10. package/assets/agent-workspace/skills/canonry/references/getting-started.md +328 -0
  11. package/assets/assets/{AccessControls-B6bkOAge.js → AccessControls-CJMIWtDc.js} +2 -2
  12. package/assets/assets/{AgentSetupPage-H8VoauIK.js → AgentSetupPage-DR8w0A9t.js} +1 -1
  13. package/assets/assets/{AuditHistoryPanel-Cmm537Mw.js → AuditHistoryPanel-BLF2-WSw.js} +1 -1
  14. package/assets/assets/{BacklinksPage-Dg6IJr83.js → BacklinksPage-BCuEkphC.js} +1 -1
  15. package/assets/assets/{ChartPrimitives-C1meaNiX.js → ChartPrimitives-Dxr7b1zf.js} +1 -1
  16. package/assets/assets/{HistoryPage-DMmZ0fSd.js → HistoryPage-C3UcNB4C.js} +1 -1
  17. package/assets/assets/{MeasurementPropertyPage-x4S_SV30.js → MeasurementPropertyPage-BKDciQn4.js} +1 -1
  18. package/assets/assets/ProjectPage-BwkFGMs_.js +15 -0
  19. package/assets/assets/{RunsPage-DG43ZJib.js → RunsPage-BqteFByy.js} +1 -1
  20. package/assets/assets/{ServerTrafficSection-B-QGjFGD.js → ServerTrafficSection-CqHfSvux.js} +1 -1
  21. package/assets/assets/{SettingsPage-CJlAiPn3.js → SettingsPage-BORbl6fR.js} +1 -1
  22. package/assets/assets/ToneBadge-Cu25HdVj.js +60 -0
  23. package/assets/assets/{TrafficPage-Dlp26Fvy.js → TrafficPage-xqJU4CR4.js} +1 -1
  24. package/assets/assets/{TrafficSourceDetailPage-D-x32dzk.js → TrafficSourceDetailPage-CVHyU3Za.js} +1 -1
  25. package/assets/assets/{account-context-C66suepK.js → account-context-DR0diETl.js} +1 -1
  26. package/assets/assets/{agent-trust-copy-BKQRIoVJ.js → agent-trust-copy-DX06JhNj.js} +1 -1
  27. package/assets/assets/{card-iPmHn3JZ.js → card-BG4pD6H7.js} +1 -1
  28. package/assets/assets/{index-C05Wdzzv.js → index-CggAFvBE.js} +15 -15
  29. package/assets/assets/{query-client-D_jULVYr.js → query-client-DiID-orC.js} +1 -1
  30. package/assets/assets/{react-query-ih29UP0I.js → react-query-gPYNMl8L.js} +1 -1
  31. package/assets/assets/{react-sigma_core.esm.min-sHrGO6oc.js → react-sigma_core.esm.min-CaAAyMHy.js} +1 -1
  32. package/assets/assets/{server-traffic-BScF0-_t.js → server-traffic-DGkceMij.js} +1 -1
  33. package/assets/assets/{service-DYJdF5mP.js → service-DqtXV3A5.js} +1 -1
  34. package/assets/index.html +8 -8
  35. package/dist/{ads-ZU44TW6I.js → ads-MA5UHDSK.js} +3 -3
  36. package/dist/{agent-R5WTIW7T.js → agent-QBDESRUX.js} +10 -10
  37. package/dist/{agent-ask-YDKBWYQG.js → agent-ask-DVUWIY4T.js} +3 -3
  38. package/dist/{agent-conversations-QJOBINIB.js → agent-conversations-Q7SE57ZA.js} +3 -3
  39. package/dist/{agent-journeys-4GGOACCO.js → agent-journeys-OWNSW6GR.js} +3 -3
  40. package/dist/{agent-memory-3YG553SD.js → agent-memory-YIVRBUPS.js} +3 -3
  41. package/dist/{agent-providers-TVVMJQN7.js → agent-providers-UDILAU6B.js} +3 -3
  42. package/dist/{agent-transcript-RZC6273N.js → agent-transcript-KU7ELEEC.js} +3 -3
  43. package/dist/{analytics-U4TVQGMD.js → analytics-WFMI7N5Y.js} +3 -3
  44. package/dist/{apply-GVBOUXIO.js → apply-2WHADGXD.js} +3 -3
  45. package/dist/{backfill-5FQEVO4U.js → backfill-ZNGMPK7N.js} +10 -10
  46. package/dist/{backlinks-YGCLFL6X.js → backlinks-LH77XWHZ.js} +3 -3
  47. package/dist/{bing-LT62N7BY.js → bing-5OCPBLYU.js} +3 -3
  48. package/dist/{bootstrap-XSFNQARX.js → bootstrap-SCTHOCSM.js} +10 -10
  49. package/dist/{cdp-5MY2I2N3.js → cdp-6OEBXRAY.js} +7 -7
  50. package/dist/{chunk-ZVCDFSFW.js → chunk-3SCJOPT5.js} +3 -3
  51. package/dist/{chunk-JKXLOSXJ.js → chunk-44JAOWMT.js} +3 -3
  52. package/dist/{chunk-QGGHCVKX.js → chunk-46HRC23F.js} +1 -1
  53. package/dist/{chunk-E3B4JEYL.js → chunk-4EWCBHGV.js} +2 -2
  54. package/dist/{chunk-OQ4BIGR5.js → chunk-523WBUKU.js} +38 -7
  55. package/dist/{chunk-NXX3E7JX.js → chunk-5IX4ZOSU.js} +1 -1
  56. package/dist/{chunk-ZBNFFCA5.js → chunk-A2VDUQB2.js} +4 -4
  57. package/dist/{chunk-PQL22SU6.js → chunk-BNHQ55UD.js} +3 -3
  58. package/dist/{chunk-XZ25DG73.js → chunk-BZMIVLRX.js} +5 -5
  59. package/dist/{chunk-YW6J3STO.js → chunk-CIDXBCEW.js} +1 -1
  60. package/dist/{chunk-2QJP2EKJ.js → chunk-CJRL5BT3.js} +1 -1
  61. package/dist/{chunk-HASKRW5X.js → chunk-DR4QNC2H.js} +2 -2
  62. package/dist/{chunk-BPGQZNU6.js → chunk-EQ6RZE7U.js} +9 -12
  63. package/dist/{chunk-XHFLXURT.js → chunk-EUARY2OX.js} +71 -2
  64. package/dist/{chunk-R25V7AQG.js → chunk-GHNEC23U.js} +1 -1
  65. package/dist/{chunk-VSYYI634.js → chunk-H5LL4HMB.js} +1 -1
  66. package/dist/{chunk-BUJD4PDG.js → chunk-IBTMJA76.js} +7 -7
  67. package/dist/{chunk-F5KJWMYH.js → chunk-IU26JPKH.js} +1444 -1209
  68. package/dist/{chunk-7XJZM7F5.js → chunk-KMES74KU.js} +1 -1
  69. package/dist/{chunk-DJA35P57.js → chunk-LGPITEEE.js} +1 -1
  70. package/dist/{chunk-NWKFGMF3.js → chunk-LGPJMBH2.js} +2 -2
  71. package/dist/{chunk-VQIEAP5U.js → chunk-LPW2TRLI.js} +7 -7
  72. package/dist/{chunk-C5PWXO5G.js → chunk-MQU5QBUQ.js} +26 -1
  73. package/dist/{chunk-TV6CKQ2M.js → chunk-N5U474SX.js} +4 -4
  74. package/dist/{chunk-LDYUNH5Q.js → chunk-ORX3X7P5.js} +590 -355
  75. package/dist/{chunk-QRYPKPBN.js → chunk-PPOHDQ3T.js} +2 -2
  76. package/dist/{chunk-A2XEI5JG.js → chunk-QKEBSO3T.js} +2 -2
  77. package/dist/{chunk-E4WDOYDS.js → chunk-S7TL4SCS.js} +4 -4
  78. package/dist/{chunk-FCKYBJCJ.js → chunk-TSQG2PNH.js} +368 -368
  79. package/dist/{chunk-SAAYXL6V.js → chunk-U4YVA2A2.js} +2 -2
  80. package/dist/{chunk-QHNM2UTO.js → chunk-UKQPA7NT.js} +4 -4
  81. package/dist/chunk-UX3HJV2V.js +12 -0
  82. package/dist/{chunk-VHESSGBR.js → chunk-VXOZUCH4.js} +5 -5
  83. package/dist/{chunk-DHPVTGOX.js → chunk-WK6SPZG4.js} +1 -1
  84. package/dist/{chunk-UMPRDHNQ.js → chunk-XAS6ARPI.js} +1 -1
  85. package/dist/{chunk-SDF6U4XX.js → chunk-YOQQUG7C.js} +1 -1
  86. package/dist/{chunk-3T5N2K7K.js → chunk-YQ5NFMQB.js} +1 -1
  87. package/dist/{chunk-VYIM2IUO.js → chunk-ZKYOGC7O.js} +1 -1
  88. package/dist/{citations-YW5QU7GI.js → citations-27ENEGJM.js} +4 -4
  89. package/dist/{cli-catalog-VSPAEL7Y.js → cli-catalog-PAZQB7WG.js} +3 -3
  90. package/dist/{cli-commands-GJD73IE6.js → cli-commands-L6G5AQG2.js} +7 -7
  91. package/dist/cli.js +13 -13
  92. package/dist/{competitor-KUG7ZH4D.js → competitor-EK5UX6W6.js} +3 -3
  93. package/dist/{content-SE7WEAKG.js → content-3MBCVYMR.js} +3 -3
  94. package/dist/{dashboard-43VOXHID.js → dashboard-5LZMYX52.js} +6 -6
  95. package/dist/{demo-TWI6ROFX.js → demo-2NB2BVZO.js} +1 -1
  96. package/dist/{demo-server-AQKTQ6AW.js → demo-server-MUJ566YQ.js} +13 -12
  97. package/dist/{discover-X65CLZYY.js → discover-VMPF4CLS.js} +4 -4
  98. package/dist/{discover-eval-R4XVP5LH.js → discover-eval-EK5ZAJKW.js} +3 -3
  99. package/dist/{doctor-VUBA5CN3.js → doctor-2KY5SS4O.js} +3 -3
  100. package/dist/{evidence-UIFGERY4.js → evidence-OXYY666S.js} +3 -3
  101. package/dist/{export-cmd-6RTU5OZG.js → export-cmd-5Q6TNXN6.js} +3 -3
  102. package/dist/{ga-AZG7BHWQ.js → ga-CG3KAWEE.js} +3 -3
  103. package/dist/{gbp-FBC5KMEQ.js → gbp-F555XC4I.js} +16 -5
  104. package/dist/{google-6TQ4YWAS.js → google-44XHCXOZ.js} +4 -4
  105. package/dist/{google-marketing-7MPF6LFW.js → google-marketing-MSJVMCMQ.js} +1 -1
  106. package/dist/{health-cmd-Y5ZQ4TLG.js → health-cmd-KXCY4527.js} +4 -4
  107. package/dist/{history-YGGU2RYB.js → history-Y6PMRNUA.js} +3 -3
  108. package/dist/index.d.ts +93 -9
  109. package/dist/index.js +27 -26
  110. package/dist/{init-Z64A6CBW.js → init-CCVUPSZZ.js} +12 -12
  111. package/dist/{insights-7XFNQHTX.js → insights-FGR5AU5D.js} +3 -3
  112. package/dist/intelligence-service-NOZAMR73.js +16 -0
  113. package/dist/{journeys-PDWXN3IM.js → journeys-2V4KIVDF.js} +3 -3
  114. package/dist/{keys-BKNJETWE.js → keys-2EOH2M22.js} +3 -3
  115. package/dist/{keyword-Z37NIEW4.js → keyword-XFHVSN3B.js} +3 -3
  116. package/dist/{logs-ENWHNCTC.js → logs-WJU66NI5.js} +3 -3
  117. package/dist/{mcp-MV2VUJ4E.js → mcp-23HANPN3.js} +4 -4
  118. package/dist/mcp.js +11 -10
  119. package/dist/{measurement-plan-AWNVH5MW.js → measurement-plan-VQIG5UCP.js} +5 -5
  120. package/dist/{notify-ZAFR4B47.js → notify-E33IOGRC.js} +12 -22
  121. package/dist/{organic-evidence-ZK5IAVLI.js → organic-evidence-3YJ3WTF5.js} +3 -3
  122. package/dist/{overview-ZFZYSJPU.js → overview-66VPXGSA.js} +5 -5
  123. package/dist/{project-HPZQGUR7.js → project-SHXJFR3K.js} +3 -3
  124. package/dist/{project-setup-CEVH6KLJ.js → project-setup-SMTRU7UG.js} +3 -3
  125. package/dist/{query-TOOIX2PP.js → query-UNCXNQLZ.js} +3 -3
  126. package/dist/{research-HYJ76XNV.js → research-C5JIOYGU.js} +3 -3
  127. package/dist/{results-export-2MMDPWIU.js → results-export-WZZDWAQB.js} +3 -3
  128. package/dist/{run-NNYEDFEF.js → run-NRBLHGT3.js} +5 -5
  129. package/dist/{schedule-S5W3XMP3.js → schedule-BOBKSQAN.js} +3 -3
  130. package/dist/{search-CPOTR6WQ.js → search-26B4UX3P.js} +3 -3
  131. package/dist/{serve-5Y342F64.js → serve-3TN2RDHE.js} +28 -27
  132. package/dist/{session-WWV5MXI4.js → session-PTB4UBY3.js} +15 -14
  133. package/dist/{settings-4UFTKOY4.js → settings-25JAM5MJ.js} +3 -3
  134. package/dist/{sitemaps-FAZT7L64.js → sitemaps-YXJIIT52.js} +3 -3
  135. package/dist/{skills-K5RXHUIL.js → skills-HAYPXHWH.js} +2 -2
  136. package/dist/{snapshot-JM2B2WXU.js → snapshot-V6D4W4MF.js} +3 -3
  137. package/dist/{src-UU4CGSEN.js → src-ENRBRVV2.js} +4 -2
  138. package/dist/{status-DYJPL4WJ.js → status-35RGWHEQ.js} +5 -5
  139. package/dist/{technical-aeo-XSLLHFE5.js → technical-aeo-YG7Q3554.js} +3 -3
  140. package/dist/{telemetry-26GTSZNT.js → telemetry-LUT6F4HJ.js} +4 -4
  141. package/dist/{tools-QR2RY6LW.js → tools-NPGGINFO.js} +12 -11
  142. package/dist/{traffic-OF52YJKX.js → traffic-CKYSAD4T.js} +5 -5
  143. package/dist/{trends-SECIYTNL.js → trends-NQZD7X67.js} +3 -3
  144. package/dist/{users-ZM7IR4US.js → users-6FPNRCXJ.js} +3 -3
  145. package/dist/{visibility-stats-V5P4CZO4.js → visibility-stats-S2FXH3NH.js} +4 -4
  146. package/dist/{wordpress-Z32JMXJK.js → wordpress-BN62WUII.js} +3 -3
  147. package/package.json +2 -2
  148. package/assets/assets/ProjectPage-DnDw0Cvk.js +0 -15
  149. package/assets/assets/ToneBadge-BkNG9buI.js +0 -60
  150. package/dist/intelligence-service-3U6RMPRG.js +0 -16
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  createApiClient
3
- } from "./chunk-A2XEI5JG.js";
4
- import "./chunk-VYIM2IUO.js";
3
+ } from "./chunk-QKEBSO3T.js";
4
+ import "./chunk-ZKYOGC7O.js";
5
5
  import {
6
6
  emitJsonl
7
7
  } from "./chunk-Z7IUAJOF.js";
@@ -14,7 +14,7 @@ import {
14
14
  describeError,
15
15
  formatPercent,
16
16
  formatRunErrorOneLine
17
- } from "./chunk-XHFLXURT.js";
17
+ } from "./chunk-EUARY2OX.js";
18
18
  import "./chunk-MLKGABMK.js";
19
19
 
20
20
  // src/commands/bing.ts
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  trackCliConnection
3
- } from "./chunk-E3B4JEYL.js";
3
+ } from "./chunk-4EWCBHGV.js";
4
4
  import {
5
5
  answerServiceDescriptors
6
- } from "./chunk-R25V7AQG.js";
6
+ } from "./chunk-GHNEC23U.js";
7
7
  import {
8
8
  outcomeFailure
9
- } from "./chunk-E4WDOYDS.js";
9
+ } from "./chunk-S7TL4SCS.js";
10
10
  import {
11
11
  isLoopbackBindHost
12
12
  } from "./chunk-TSENU4GG.js";
13
13
  import {
14
14
  registeredProviderNames
15
- } from "./chunk-SDF6U4XX.js";
15
+ } from "./chunk-YOQQUG7C.js";
16
16
  import {
17
17
  isTelemetryEnabled,
18
18
  recordInstallRef
19
- } from "./chunk-HASKRW5X.js";
19
+ } from "./chunk-DR4QNC2H.js";
20
20
  import {
21
21
  createApiClient
22
- } from "./chunk-A2XEI5JG.js";
22
+ } from "./chunk-QKEBSO3T.js";
23
23
  import {
24
24
  configExists,
25
25
  getAnswerServiceEnv,
@@ -30,7 +30,7 @@ import {
30
30
  loadConfigRaw,
31
31
  saveConfig,
32
32
  withBootstrapProviderDefaults
33
- } from "./chunk-VYIM2IUO.js";
33
+ } from "./chunk-ZKYOGC7O.js";
34
34
  import "./chunk-AOJU5LKX.js";
35
35
  import {
36
36
  CliError,
@@ -38,17 +38,17 @@ import {
38
38
  isMachineFormat,
39
39
  systemError
40
40
  } from "./chunk-HGMYEDAQ.js";
41
- import "./chunk-DHPVTGOX.js";
41
+ import "./chunk-WK6SPZG4.js";
42
42
  import {
43
43
  apiKeys,
44
44
  createClient,
45
45
  dashboardSessions,
46
46
  migrate
47
- } from "./chunk-C5PWXO5G.js";
47
+ } from "./chunk-MQU5QBUQ.js";
48
48
  import {
49
49
  ProviderNames,
50
50
  ProviderReloadErrorReasons
51
- } from "./chunk-XHFLXURT.js";
51
+ } from "./chunk-EUARY2OX.js";
52
52
  import "./chunk-MLKGABMK.js";
53
53
 
54
54
  // src/commands/bootstrap.ts
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  trackCliConnection
3
- } from "./chunk-E3B4JEYL.js";
3
+ } from "./chunk-4EWCBHGV.js";
4
4
  import {
5
5
  outcomeFailure
6
- } from "./chunk-E4WDOYDS.js";
7
- import "./chunk-HASKRW5X.js";
6
+ } from "./chunk-S7TL4SCS.js";
7
+ import "./chunk-DR4QNC2H.js";
8
8
  import {
9
9
  createApiClient
10
- } from "./chunk-A2XEI5JG.js";
10
+ } from "./chunk-QKEBSO3T.js";
11
11
  import {
12
12
  loadConfig,
13
13
  saveConfigPatch
14
- } from "./chunk-VYIM2IUO.js";
14
+ } from "./chunk-ZKYOGC7O.js";
15
15
  import "./chunk-AOJU5LKX.js";
16
16
  import {
17
17
  CliError,
18
18
  isMachineFormat
19
19
  } from "./chunk-HGMYEDAQ.js";
20
- import "./chunk-DHPVTGOX.js";
20
+ import "./chunk-WK6SPZG4.js";
21
21
  import {
22
22
  describeError
23
- } from "./chunk-XHFLXURT.js";
23
+ } from "./chunk-EUARY2OX.js";
24
24
  import "./chunk-MLKGABMK.js";
25
25
 
26
26
  // src/commands/cdp.ts
@@ -2,18 +2,18 @@ import {
2
2
  configExists,
3
3
  loadConfigRaw,
4
4
  saveConfigPatch
5
- } from "./chunk-VYIM2IUO.js";
5
+ } from "./chunk-ZKYOGC7O.js";
6
6
  import {
7
7
  BUNDLED_SKILL_NAMES,
8
8
  installSkills
9
- } from "./chunk-2QJP2EKJ.js";
9
+ } from "./chunk-CJRL5BT3.js";
10
10
  import {
11
11
  PACKAGE_VERSION
12
12
  } from "./chunk-AOJU5LKX.js";
13
13
  import {
14
14
  SKILL_MANIFEST_FILENAME,
15
15
  SkillsClients
16
- } from "./chunk-XHFLXURT.js";
16
+ } from "./chunk-EUARY2OX.js";
17
17
 
18
18
  // src/skills-autosync.ts
19
19
  import fs from "fs";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  createApiClient
3
- } from "./chunk-A2XEI5JG.js";
3
+ } from "./chunk-QKEBSO3T.js";
4
4
  import {
5
5
  emitJsonl
6
6
  } from "./chunk-Z7IUAJOF.js";
7
7
  import {
8
8
  measurementDraftOperationSchema,
9
9
  runMeasurementDraftAction
10
- } from "./chunk-QGGHCVKX.js";
10
+ } from "./chunk-46HRC23F.js";
11
11
  import {
12
12
  isMachineFormat,
13
13
  systemError
@@ -39,7 +39,7 @@ import {
39
39
  unattributedAnswersLabel,
40
40
  uncheckedSourcesLabel,
41
41
  visibilityReportRequestSchema
42
- } from "./chunk-XHFLXURT.js";
42
+ } from "./chunk-EUARY2OX.js";
43
43
 
44
44
  // src/commands/measurement-plan.ts
45
45
  import crypto from "crypto";
@@ -23,7 +23,7 @@ import {
23
23
  measurementDraftUpsertGroupRequestSchema,
24
24
  measurementDraftUpsertMarketRequestSchema,
25
25
  measurementDraftUpsertTargetRequestSchema
26
- } from "./chunk-XHFLXURT.js";
26
+ } from "./chunk-EUARY2OX.js";
27
27
 
28
28
  // src/measurement-draft-actions.ts
29
29
  import { z } from "zod";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  trackIntegrationConnection
3
- } from "./chunk-E4WDOYDS.js";
3
+ } from "./chunk-S7TL4SCS.js";
4
4
  import {
5
5
  cliRuntimeContext
6
- } from "./chunk-HASKRW5X.js";
6
+ } from "./chunk-DR4QNC2H.js";
7
7
 
8
8
  // src/cli-connection-telemetry.ts
9
9
  function trackCliConnection(properties) {
@@ -3,16 +3,16 @@ import {
3
3
  CANONRY_MCP_TOOLKIT_NAMES,
4
4
  isCanonryMcpToolkitName,
5
5
  resolveAeroSkillDir
6
- } from "./chunk-YW6J3STO.js";
6
+ } from "./chunk-CIDXBCEW.js";
7
7
  import {
8
8
  createApiClient,
9
9
  runWithUsageTags
10
- } from "./chunk-A2XEI5JG.js";
10
+ } from "./chunk-QKEBSO3T.js";
11
11
  import {
12
12
  canonryMcpTools,
13
13
  mcpOutputSchema,
14
14
  toolOperationAccess
15
- } from "./chunk-BPGQZNU6.js";
15
+ } from "./chunk-EQ6RZE7U.js";
16
16
  import {
17
17
  PACKAGE_VERSION
18
18
  } from "./chunk-AOJU5LKX.js";
@@ -25,7 +25,7 @@ import {
25
25
  isReadOnlyKey,
26
26
  restrictedWriteScopes,
27
27
  upgradeCaveatFor
28
- } from "./chunk-XHFLXURT.js";
28
+ } from "./chunk-EUARY2OX.js";
29
29
 
30
30
  // src/mcp/server.ts
31
31
  import { randomUUID } from "crypto";
@@ -238,7 +238,7 @@ var OPERATIONS_GUIDE = {
238
238
  "guideVersion": "v1",
239
239
  "operationsGuideUrl": "https://github.com/Canonry/canonry/blob/main/docs/agent-operations/v1.md",
240
240
  "resourceUri": "canonry://agent-operations/v1",
241
- "initialize": 'Canonry tracks how AI answer engines mention brands and cite domains. Start with canonry_help({intent:"status"}) or a workflow; follow its stored reads and approval boundaries. Connected MCP clients need no skill, resource, plugin, or local CLI. The Canonry skill offers optional additional guidance.\nmentioned = brand in answer TEXT; cited = domain in SOURCE links. Never compute one from the other. A null answerMentioned means not checked, not false. citationState not-measured means the engine returns no sources: never a miss. No recorded sweep means no measured figure.\nGet approval for live provider reads, sweeps, probes, research, syncs and writes, scoped to the exact target, action and work. A GET or readOnlyHint does not mean free. canonry_help returns all liveTools for this connection; each needs approval, including read-only tools.\nREST exposes x-canonry-access; CLI help/catalog expose access; MCP help lists liveTools.\nStored-only refuses live operations and writes, including doctor. Use CLI --stored-only or CANONRY_STORED_ONLY=1. For stdio MCP, use --stored-only, --scope=stored-only or CANONRY_MCP_SCOPE=stored-only. The CLI reports STORED_ONLY_REFUSED. Local skill updates and update checks are skipped. Explicit exports can write files. The server still runs its own accounting and scheduled work.\nHelp and skills grant no permissions; the server enforces authority. Report missing tools or 403; never bypass them with other credentials or endpoints. Hosted catalogs are fixed; use canonry_load_toolkit only when help offers it.\nTell the user about concrete Canonry failures, workarounds, or improvements. Get approval before sending one external report through canonry_feedback. Exclude secrets and customer data.\n',
241
+ "initialize": 'Canonry tracks how AI answer engines mention brands and cite domains. Start with canonry_help({intent:"status"}), "start" for a new user, or a workflow; follow its stored reads and approval boundaries. MCP clients need no skill, resource, plugin or local CLI; the Canonry skill offers optional additional guidance.\nmentioned = brand in answer TEXT; cited = domain in SOURCE links. Never compute one from the other. A null answerMentioned means not checked, not false. citationState not-measured (the engine returns no sources) is never a miss. No recorded sweep means no measured figure.\nGet approval for live provider reads, sweeps, probes, research, syncs and writes, scoped to the exact target, action and work. A GET or readOnlyHint does not mean free: every liveTools entry canonry_help returns for this connection needs approval, read-only ones too.\nREST exposes x-canonry-access; CLI help and catalog expose access.\nStored-only (CLI --stored-only or CANONRY_STORED_ONLY=1; stdio MCP --stored-only, --scope=stored-only or CANONRY_MCP_SCOPE=stored-only) refuses live operations and writes, doctor included (CLI: STORED_ONLY_REFUSED), and skips local skill updates and update checks. Explicit exports can write files; server accounting and scheduled work still run.\nHelp and skills grant no permissions; the server enforces them. Report a missing tool or 403; never bypass it with other credentials or endpoints. Hosted catalogs are fixed; use canonry_load_toolkit only when help offers it.\nTell the user about concrete Canonry failures, workarounds or improvements. Send one external report via canonry_feedback only with approval, without secrets or customer data.\n',
242
242
  "approvalBoundary": [
243
243
  "provider reads",
244
244
  "sweeps",
@@ -404,9 +404,40 @@ var OPERATIONS_GUIDE = {
404
404
  "reporting"
405
405
  ],
406
406
  "guidance": "Build the requested summary from stored project overview, organic evidence, and the relevant visibility, measurement, integration, or traffic reads. Retain evidence dates, scope, sample sizes, missing data, and separate mention/citation signals; do not generate fresh runs implicitly."
407
+ },
408
+ "start": {
409
+ "keywords": [
410
+ "start",
411
+ "started",
412
+ "starting",
413
+ "getting-started",
414
+ "begin",
415
+ "beginner",
416
+ "newcomer",
417
+ "onboard",
418
+ "onboarding",
419
+ "setup",
420
+ "walkthrough",
421
+ "tour",
422
+ "install",
423
+ "installed",
424
+ "first",
425
+ "next",
426
+ "ask"
427
+ ],
428
+ "next": [
429
+ "canonry_projects_list",
430
+ "canonry_project_setup",
431
+ "canonry_project_overview",
432
+ "canonry_status"
433
+ ],
434
+ "playbooks": [
435
+ "getting-started"
436
+ ],
437
+ "guidance": "Read canonry_project_setup for the next first-run step, then the getting-started playbook for the full loop and the questions to ask. Propose each scan, check, sync, live read, connection or write; never start one to fill a gap."
407
438
  }
408
439
  },
409
- "markdown": "# Canonry Operations Guide v1\n\nCanonry is an agent-first AI visibility platform. MCP is the universal entry\npoint for connected agents. Host-native skills are optional upgrades, not a\nprerequisite or a permission mechanism.\n\n## Connect and choose a route\n\nRead the initialization guidance, then call `canonry_help` with an `intent`:\n`status`, `diagnose`, `operations`, `prospecting`, `measurement`, `integrations`,\n`seo`, `reports`, or a short task\ndescription. Select an accessible project with `canonry_projects_list` before\nusing its exact name in project tools. Inspect each listed tool's input schema;\nhelp suggests tool names, not invented arguments or authorization.\n\nHelp returns a versioned, compact route: connection `mode`, available `next`\ntools, workflow guidance, approval boundaries, and this guide's URL. It performs\nno provider calls, reads no project data, and changes no permissions.\n`next` lists stored reads. Optional `actions` lists loaded tools for work that\nrequires approval; listing an action does not authorize or execute it.\n`includeCatalog: true` additionally returns toolkit details when needed.\n\nAnalysis routes also return `playbooks`: Canonry's analyst playbooks for that\nwork, the same files its built-in agent reads. Read each one before\ninterpreting results. `canonry_help({ playbook: \"<slug>\" })` returns its full\ntext, a note on using it over MCP, and every available slug. Playbooks are\nguidance, not permission.\n\nHosted connections use a fixed catalog. Help only suggests tools offered by that\nconnection; it never tells a hosted agent to dynamically load a toolkit. A\nprogressive local stdio connection may return `loadToolkits`: call\n`canonry_load_toolkit` with one returned name, await it, then call help again.\nLoading only changes local tool discovery, never server authority.\n\nThe optional `canonry://agent-operations/v1` MCP resource contains this same\nguide. If the host cannot read resources or open links, continue through help.\nDo not install a plugin, local runtime, or skill merely to use connected MCP.\nAn installed Codex or Claude Canonry skill contains a generated copy of this\nguide plus links to host-native references. It does not replace runtime help.\n\n## Vocabulary and evidence\n\n- **Mentioned** means the brand appears in answer text. **Cited** means its\n domain appears in source links. Either, both, or neither can occur; never\n compute one signal from the other.\n- `answerMentioned: null` means not checked, not false. Missing runs and empty\n populations mean no measurement, not zero visibility.\n- `citationState: not-measured` (with `cited: null`) means the adapter captures\n no structured sources, as with Local chat completions. Canonry excludes those\n answers from cited rates and counts them in `citationNotMeasured`. The cited\n rate is null when there are no measured citations. Canonry still measures\n mentions on those answers. Other reads show the\n same state in their own shape:\n - visibility report: an answer's `citationUnavailableReason:\n citation-not-measured`, or a rate's `reason: citation-not-measured`;\n - Advanced metrics: `{state: unavailable, reason: citation_not_measured}`;\n - research and snapshot answers: `citationMeasured: false` (research also\n sends `citationState: null`);\n - overview: `citationNotMeasuredQueries`, `citationNotMeasuredPairs` and\n `citationNotMeasuredCount`;\n - analytics: the gaps bucket `citationNotMeasured[]` and sources'\n `citationNotMeasuredAnswers`;\n - visibility compare: `excludedNotMeasured`.\n- Preserve project, time window, provider, requested/served model, location,\n sample size, and query class when comparing evidence. Use server-returned\n metrics; do not invent a score from incompatible populations.\n- Simple projects and Advanced portfolios share the workflow. For Advanced\n results, preserve Property, Target, market, plan revision, and class scope.\n Groups organize navigation; do not infer an unrequested fan-out.\n- Research is isolated evidence, not tracked measurement. A probe still spends\n quota and persists evidence but is excluded from normal tracking metrics.\n\n## Workflows\n\n**Status:** read the stored overview and freshness first. Say when evidence is\nmissing instead of silently creating it.\n\n**Setup:** Agent Readiness needs no answer-engine provider; AI Visibility does.\nUse `canonry_project_setup` to read stored prerequisites and the suggested next step.\nAfter an Agent Readiness result on an install with no provider (a `NO_PROVIDER`\nnotice, or doctor's `providers.none-configured`), propose AI Visibility setup\nas the next step. The operator adds the provider key in the dashboard or in\ntheir own terminal; never ask for it in chat. A saved key is not a verified one:\nwith approval, `canonry settings provider test <name>` or `canonry_provider_test`\nchecks the saved connection with the provider now (usually one tiny prompt on\nthe operator's account) and reports `connected`, `failed` with the provider's\nreason, or `not-verified`. It needs install administrator authority and\n`settings.write`; while a connection's test is still running, another test of it\nreturns `OPERATION_IN_PROGRESS`, so wait for that result. The latest result is\nkept as the connection's `lastTest` (`canonry settings provider-info <name>` or\n`canonry_provider_settings_get`) until its key, endpoint, model, Vertex project,\nregion or credentials, or CDP endpoint changes, or the connection is\ndisconnected; read it before testing again.\nRerunning `canonry bootstrap` after a provider change reloads saved provider\nsettings on a matching running local server and reports whether they became\nactive. If the server is offline, start it to apply the saved settings. For an\nexplicit reload of the connected server's own config, use\n`canonry settings reload-providers` or `canonry_providers_reload` with install\nadministrator authority. Remote servers are never reloaded automatically by\nbootstrap, and a local server that belongs to another install is left alone.\nPorts and database settings still need a restart.\n\n**Diagnose:** inspect stored history and comparable evidence. Explain what\nchanged separately from why it might have changed. A hypothesis is not a\nmeasured cause. Propose bounded verification if stored evidence is insufficient.\n\n**Agent Readiness:** read `canonry_agent_readiness_issues` for stored findings,\naffected-page counts and example URLs, then `canonry_agent_readiness_issue_pages`\nfor a selected issue's remaining pages. Pin subsequent reads to the returned\nrun. Inspect coverage and omissions: a passing score can still have findings,\nan older scan may lack cross-page evidence, and a partial scan cannot establish\nsite-wide absence. Advisory findings require judgment before proposing a repair.\nAudit evidence informs technical repairs and existing-page recommendations;\nit does not itself establish a new-blog opportunity or authorize any edit.\n\n**Prospecting:** generate a one-shot company snapshot without creating a project.\nInspect stored provider settings first. Agree on the company, domain, selected\nproviders, and queries before starting the quota-spending snapshot action.\nBrowser-only selection requires manual queries. Progressive stdio help offers\nthe discovery toolkit when this connection permits snapshots; load it, then\ncall help again. Fixed catalogs offer only already available actions. Read-only\nand restricted connections must not bypass missing snapshot access.\n\n**Measurement:** inspect the existing setup and results before proposing edits.\nKeep research, query tracking, plan publication, and sweep execution separate.\nFor direct research, submit the final editable query text in one context. For a\nreviewed batch, submit each explicit destination with its final text and one\nidempotency key. Pattern substitution happens in the client before either\nrequest; choosing a market or Property records a destination only and never\nrewrites a query or creates an automatic fan-out. `research.run` does not\nauthorize saving patterns, changing tracking, publishing plans, or settings.\nUse a supported preview where available, inspect its exact destination and\nrevision, then seek approval for the actual change. A preview may itself require\nwrite permission; never treat a dry-run flag as a universal safety guarantee.\n\n`canonry_discover_harvest` reads saved probes and can send query text to Gemini\nto check for paraphrases. Get approval for that live work. Harvest requires an\nadministrator account or a bearer key with `*` scope and access to the project.\nUse the saved session read for stored-only work. Promoting candidates needs its\nown approval.\n\n**Integrations:** inspect stored connection state and snapshot freshness first.\nProvider configuration evidence does not prove a browser event fired or a\nconversion was recorded. Connection, resource selection, refresh/sync, and live\nreads are separate actions. Credentials belong in the operator's secure setup\nflow, never in chat, tool arguments, reports, or public guidance.\n\n**Reports:** use saved evidence for the requested period and scope. Keep mention\nand citation signals separate, include dates and sample sizes, and state missing\nor stale inputs. For Advanced Property mention rankings, use\n`canonry_measurement_portfolio_summary` and its `mentionRanking.strongest`,\n`.weakest`, and `.excluded` lists. It defaults to non-brand queries. State the\nreturned class and report branded results separately. An unavailable portfolio\naggregate does not invalidate available Property mention rates. Flag excluded\nProperties individually; do not silently replace mention ranking with citation\nranking. Compact `nextCursor` completes only `pageList`; use `list` to enumerate\none ranking, markets, observed names or cited domains, preserving filters.\nFirst-page sibling lists are bounded summaries. Keep sample sizes and ties\nvisible. Preparing a report does not\nauthorize new measurement.\n\n## Authority and approval\n\n### Agent operations\n\nUse `canonry_key_self` (CLI `canonry key whoami --format json`) to inspect the\ncurrent credential's scopes, project boundary, and host-derived `operator`\nauthority without exposing its token. Missing `operator` means unapproved.\n`canonry_settings_get` and\n`canonry_telemetry_get` describe the connected server, not the agent's local\nmachine. Telemetry reports configured preference, effective state, and any\nenvironment override; inspecting status never creates an anonymous identifier.\nAfter approval, `canonry_telemetry_update` changes that preference and\n`canonry_provider_settings_update` changes or resets an already-configured\nprovider's model and quota, restores its built-in endpoint, or removes an\noptional Local key. Both require `settings.write`; neither accepts credentials.\nA reset, restoring the endpoint and removing the Local key included, also\nrequires install administrator authority. Pass the `revision` from\n`canonry_provider_settings_get` as `expectedRevision` to reject a stale edit.\nServer telemetry reads and updates additionally require operator authority.\nOrdinary audit-history reads omit internal telemetry events and their state.\n\nOperator authority is deny-by-default and separate from customer admin roles.\nThe deployment owner must approve a dedicated, instance-wide API key's ID in\nthe server environment variable `CANONRY_OPERATOR_KEY_IDS` (comma-separated IDs),\nthen restart the server. Empty/unset approves nobody; wildcards are invalid.\nKeep the bearer private to internal operators; never approve a customer-held or\nshared proxy/bootstrap key. Use `logs.read` for read-only diagnostics, adding\n`settings.write` only when telemetry control is required. Ordinary key creation,\naccount roles, OAuth consent, and caller headers cannot grant operator status.\nRevoking an approved key invalidates it immediately. Host enrollment is a trust\nbootstrap step, intentionally unavailable through customer-facing APIs.\nAPI, CLI, and MCP enforce the same boundary; MCP hides internal tools unless\nthe server confirms operator authority, including in explicit read-only mode.\nProject analytics, research, and normal project permissions are unchanged.\n\n`canonry_logs_list` reads bounded, redacted runtime events from both the\napplication logger and Fastify request/error logging. It requires an\ninstance-wide `logs.read` grant (or wildcard) and a host-approved direct bearer.\nBrowser sessions, OAuth/delegated credentials, customer admins, and project-scoped\nkeys cannot use it, even with a project filter or a matching allowlist ID.\nA `logs.read`-only key is read-only automatically, without a\nsecond `read` marker. Named `*.read` scopes cannot grant mutations; an explicit\nwrite grant is needed and remains subject to its route gates. Returned messages\nare sanitized and bounded; raw request or response bodies, headers, cookies,\nprovider payloads, and stacks are not\npart of the queryable surface. The same secret-redaction policy runs before\nconsole output and storage. Do not deliberately log secrets: redaction is a\ndefense in depth, not permission to put credentials into diagnostic strings.\nOpaque escaped payloads containing secret assignments are omitted when safe\npartial masking cannot be guaranteed; correlate their retained error codes and IDs.\n\nFile-backed hosts retain runtime logs in SQLite across restarts, bounded to\n10,000 events and seven days. In-memory hosts report `retention: \"process\"`.\nFilter by `actor`, `requestId`, `runId`, `projectId`, `module`, `level`, or an\ninclusive `since`/`until` interval. Keep filters unchanged when resuming an\nopaque cursor; retention eviction can invalidate it. Inspect `retentionPolicy`,\n`captureErrors`, `dropped`, `truncated`, and `retention` before drawing\nconclusions. Missing logs are not proof that an action did not happen. Use\n`canonry_project_history` or `canonry_history_global` for persistent audit events;\noffset pages have deterministic ordering but are not snapshots of concurrent writes.\n\nAudit `actor` comes from authenticated identity (`user:<id>` or `api-key:<id>`),\nnot a caller-supplied header. A delegated MCP credential records its originating\nuser as actor and the actual credential in `credentialId`. `requestId` correlates\nHTTP events; `userAgent` and `actorSession` are bounded, untrusted client hints,\nnever identity or permission grants. Older audit rows are not backfilled with\nidentities the server cannot prove.\n\nBoth shipped HTTP hosts issue restart-safe UUID request IDs and return them in\n`x-request-id`. Use that value to correlate a CLI/API failure with log entries;\nHTTP diagnostics retain the method and route template, not raw URL parameters.\nRequest-bound loggers retain completion attribution, while generic background\ncontinuations stop inheriting caller identity after the response completes.\nCapture covers the owning server process after initialization, not arbitrary\nconsole output, other worker processes, or host/container logs. Run one server\ninstance per process and database, as required by the single-tenant deployment\nmodel; this is not a cross-tenant or distributed log collector.\n\nFor CLI use, settings reads are remote. Google setup and telemetry retain their\nlocal defaults: pass `--target server` explicitly to configure the connected\nserver. `schedule list <project>` lists all schedule kinds, and\n`notify events --target server` discovers the server's event catalog.\n\nMCP returns legacy text JSON plus structured results. Objects keep their shape;\narrays use `{items: [...]}` in `structuredContent`, and scalars use `{value: ...}`.\nErrors preserve the existing envelope and CLI exit codes: HTTP 4xx (including\n429 policy limits) use exit 1; HTTP 5xx use exit 2. Server-provided `Retry-After`\nand request IDs are exposed as `retryAfterMs` and `requestId` when available;\nclients do not infer retryability from HTTP 429 or retry automatically.\nFor a write with an ambiguous outcome, inspect saved state or its receipt before\nretrying; a retry hint is not proof that repeating a write is safe.\n\n### Action boundaries\n\nStart with stored evidence. Before a live provider read, sweep, probe, research\nrun, sync, write, or externally visible action, obtain approval covering its\nexact target, action, and bounded work. Approval already given for that exact\noperation need not be asked for again, but does not extend to more projects,\nlarger batches, retries with new identities, or recurring work.\n\nHTTP GET and MCP `readOnlyHint` describe aspects of an operation, not its cost\nor permission. Provider discovery, account reads, and live diagnostics may\nconsume quota even when labeled read-only. If the tool's effect is unclear,\ninspect its description and request direction before calling it.\n\nAuthentication, role/scope checks, project restrictions, quotas, and guarded\napproval receipts are enforced by the server. Help, skills, resources, and tool\nvisibility cannot grant authority. Never change credentials, endpoints, or\nproject identifiers to work around a missing tool or a `403` response.\n\nFor guarded ads writes, inspect unresolved operation receipts before retrying.\nUse the receipt's supported recovery action; do not replay a mutation under a\nnew identity. An executor cannot create or widen its own human approval grant.\nOn ambiguous results, exhausted bounds, or refusal, stop and report what is\nknown and what permission or operator action is needed.\n\n## Version and source\n\nThis public, versioned document is the source for initialization guidance,\nintent routes, the optional resource, and generated Canonry `SKILL.md` files.\nGuide v1 may receive compatible clarifications; incompatible routing contracts\nrequire a new guide version. The running server's help describes its actual\ncatalog and remains usable without fetching this document.\n"
440
+ "markdown": "# Canonry Operations Guide v1\n\nCanonry is an agent-first AI visibility platform. MCP is the universal entry\npoint for connected agents. Host-native skills are optional upgrades, not a\nprerequisite or a permission mechanism.\n\n## Connect and choose a route\n\nRead the initialization guidance, then call `canonry_help` with an `intent`:\n`status`, `diagnose`, `operations`, `prospecting`, `measurement`, `integrations`,\n`seo`, `reports`, `start`, or a short task\ndescription. Use `start` when the user is new or unsure what to ask. Select an accessible project with `canonry_projects_list` before\nusing its exact name in project tools. Inspect each listed tool's input schema;\nhelp suggests tool names, not invented arguments or authorization.\n\nHelp returns a versioned, compact route: connection `mode`, available `next`\ntools, workflow guidance, approval boundaries, and this guide's URL. It performs\nno provider calls, reads no project data, and changes no permissions.\n`next` lists stored reads. Optional `actions` lists loaded tools for work that\nrequires approval; listing an action does not authorize or execute it.\n`includeCatalog: true` additionally returns toolkit details when needed.\n\nAnalysis routes also return `playbooks`: Canonry's analyst playbooks for that\nwork, the same files its built-in agent reads. Read each one before\ninterpreting results. `canonry_help({ playbook: \"<slug>\" })` returns its full\ntext, a note on using it over MCP, and every available slug. Playbooks are\nguidance, not permission.\n\nHosted connections use a fixed catalog. Help only suggests tools offered by that\nconnection; it never tells a hosted agent to dynamically load a toolkit. A\nprogressive local stdio connection may return `loadToolkits`: call\n`canonry_load_toolkit` with one returned name, await it, then call help again.\nLoading only changes local tool discovery, never server authority.\n\nThe optional `canonry://agent-operations/v1` MCP resource contains this same\nguide. If the host cannot read resources or open links, continue through help.\nDo not install a plugin, local runtime, or skill merely to use connected MCP.\nAn installed Codex or Claude Canonry skill contains a generated copy of this\nguide plus links to host-native references. It does not replace runtime help.\n\n## Vocabulary and evidence\n\n- **Mentioned** means the brand appears in answer text. **Cited** means its\n domain appears in source links. Either, both, or neither can occur; never\n compute one signal from the other.\n- `answerMentioned: null` means not checked, not false. Missing runs and empty\n populations mean no measurement, not zero visibility.\n- `citationState: not-measured` (with `cited: null`) means the adapter captures\n no structured sources, as with Local chat completions. Canonry excludes those\n answers from cited rates and counts them in `citationNotMeasured`. The cited\n rate is null when there are no measured citations. Canonry still measures\n mentions on those answers. Other reads show the\n same state in their own shape:\n - visibility report: an answer's `citationUnavailableReason:\n citation-not-measured`, or a rate's `reason: citation-not-measured`;\n - Advanced metrics: `{state: unavailable, reason: citation_not_measured}`;\n - research and snapshot answers: `citationMeasured: false` (research also\n sends `citationState: null`);\n - overview: `citationNotMeasuredQueries`, `citationNotMeasuredPairs` and\n `citationNotMeasuredCount`;\n - analytics: the gaps bucket `citationNotMeasured[]` and sources'\n `citationNotMeasuredAnswers`;\n - visibility compare: `excludedNotMeasured`.\n- Preserve project, time window, provider, requested/served model, location,\n sample size, and query class when comparing evidence. Use server-returned\n metrics; do not invent a score from incompatible populations.\n- Simple projects and Advanced portfolios share the workflow. For Advanced\n results, preserve Property, Target, market, plan revision, and class scope.\n Groups organize navigation; do not infer an unrequested fan-out.\n- Research is isolated evidence, not tracked measurement. A probe still spends\n quota and persists evidence but is excluded from normal tracking metrics.\n\n## Workflows\n\n**Status:** read the stored overview and freshness first. Say when evidence is\nmissing instead of silently creating it.\n\n**Start:** for a new user or one unsure what to ask, read\n`canonry_project_setup` and follow its `nextAction`, then the `getting-started`\nplaybook. It walks the loop from setup to monthly reports, says who does each\nstep, and lists questions the user can ask at each stage.\n\n**Setup:** Agent Readiness needs no answer-engine provider; AI Visibility does.\nUse `canonry_project_setup` to read stored prerequisites and the suggested next step.\nAfter an Agent Readiness result on an install with no provider (a `NO_PROVIDER`\nnotice, or doctor's `providers.none-configured`), propose AI Visibility setup\nas the next step. The operator adds the provider key in the dashboard or in\ntheir own terminal; never ask for it in chat. A saved key is not a verified one:\nwith approval, `canonry settings provider test <name>` or `canonry_provider_test`\nchecks the saved connection with the provider now (usually one tiny prompt on\nthe operator's account) and reports `connected`, `failed` with the provider's\nreason, or `not-verified`. It needs install administrator authority and\n`settings.write`; while a connection's test is still running, another test of it\nreturns `OPERATION_IN_PROGRESS`, so wait for that result. The latest result is\nkept as the connection's `lastTest` (`canonry settings provider-info <name>` or\n`canonry_provider_settings_get`) until its key, endpoint, model, Vertex project,\nregion or credentials, or CDP endpoint changes, or the connection is\ndisconnected; read it before testing again.\nRerunning `canonry bootstrap` after a provider change reloads saved provider\nsettings on a matching running local server and reports whether they became\nactive. If the server is offline, start it to apply the saved settings. For an\nexplicit reload of the connected server's own config, use\n`canonry settings reload-providers` or `canonry_providers_reload` with install\nadministrator authority. Remote servers are never reloaded automatically by\nbootstrap, and a local server that belongs to another install is left alone.\nPorts and database settings still need a restart.\n\n**Diagnose:** inspect stored history and comparable evidence. Explain what\nchanged separately from why it might have changed. A hypothesis is not a\nmeasured cause. Propose bounded verification if stored evidence is insufficient.\n\n**Agent Readiness:** read `canonry_agent_readiness_issues` for stored findings,\naffected-page counts and example URLs, then `canonry_agent_readiness_issue_pages`\nfor a selected issue's remaining pages. Pin subsequent reads to the returned\nrun. Inspect coverage and omissions: a passing score can still have findings,\nan older scan may lack cross-page evidence, and a partial scan cannot establish\nsite-wide absence. Advisory findings require judgment before proposing a repair.\nAudit evidence informs technical repairs and existing-page recommendations;\nit does not itself establish a new-blog opportunity or authorize any edit.\n\n**Prospecting:** generate a one-shot company snapshot without creating a project.\nInspect stored provider settings first. Agree on the company, domain, selected\nproviders, and queries before starting the quota-spending snapshot action.\nBrowser-only selection requires manual queries. Progressive stdio help offers\nthe discovery toolkit when this connection permits snapshots; load it, then\ncall help again. Fixed catalogs offer only already available actions. Read-only\nand restricted connections must not bypass missing snapshot access.\n\n**Measurement:** inspect the existing setup and results before proposing edits.\nKeep research, query tracking, plan publication, and sweep execution separate.\nFor direct research, submit the final editable query text in one context. For a\nreviewed batch, submit each explicit destination with its final text and one\nidempotency key. Pattern substitution happens in the client before either\nrequest; choosing a market or Property records a destination only and never\nrewrites a query or creates an automatic fan-out. `research.run` does not\nauthorize saving patterns, changing tracking, publishing plans, or settings.\nUse a supported preview where available, inspect its exact destination and\nrevision, then seek approval for the actual change. A preview may itself require\nwrite permission; never treat a dry-run flag as a universal safety guarantee.\n\n`canonry_discover_harvest` reads saved probes and can send query text to Gemini\nto check for paraphrases. Get approval for that live work. Harvest requires an\nadministrator account or a bearer key with `*` scope and access to the project.\nUse the saved session read for stored-only work. Promoting candidates needs its\nown approval.\n\n**Integrations:** inspect stored connection state and snapshot freshness first.\nProvider configuration evidence does not prove a browser event fired or a\nconversion was recorded. Connection, resource selection, refresh/sync, and live\nreads are separate actions. Credentials belong in the operator's secure setup\nflow, never in chat, tool arguments, reports, or public guidance.\n\n**Reports:** use saved evidence for the requested period and scope. Keep mention\nand citation signals separate, include dates and sample sizes, and state missing\nor stale inputs. For Advanced Property mention rankings, use\n`canonry_measurement_portfolio_summary` and its `mentionRanking.strongest`,\n`.weakest`, and `.excluded` lists. It defaults to non-brand queries. State the\nreturned class and report branded results separately. An unavailable portfolio\naggregate does not invalidate available Property mention rates. Flag excluded\nProperties individually; do not silently replace mention ranking with citation\nranking. Compact `nextCursor` completes only `pageList`; use `list` to enumerate\none ranking, markets, observed names or cited domains, preserving filters.\nFirst-page sibling lists are bounded summaries. Keep sample sizes and ties\nvisible. Preparing a report does not\nauthorize new measurement.\n\n## Authority and approval\n\n### Agent operations\n\nUse `canonry_key_self` (CLI `canonry key whoami --format json`) to inspect the\ncurrent credential's scopes, project boundary, and host-derived `operator`\nauthority without exposing its token. Missing `operator` means unapproved.\n`canonry_settings_get` and\n`canonry_telemetry_get` describe the connected server, not the agent's local\nmachine. Telemetry reports configured preference, effective state, and any\nenvironment override; inspecting status never creates an anonymous identifier.\nAfter approval, `canonry_telemetry_update` changes that preference and\n`canonry_provider_settings_update` changes or resets an already-configured\nprovider's model and quota, restores its built-in endpoint, or removes an\noptional Local key. Both require `settings.write`; neither accepts credentials.\nA reset, restoring the endpoint and removing the Local key included, also\nrequires install administrator authority. Pass the `revision` from\n`canonry_provider_settings_get` as `expectedRevision` to reject a stale edit.\nServer telemetry reads and updates additionally require operator authority.\nOrdinary audit-history reads omit internal telemetry events and their state.\n\nOperator authority is deny-by-default and separate from customer admin roles.\nThe deployment owner must approve a dedicated, instance-wide API key's ID in\nthe server environment variable `CANONRY_OPERATOR_KEY_IDS` (comma-separated IDs),\nthen restart the server. Empty/unset approves nobody; wildcards are invalid.\nKeep the bearer private to internal operators; never approve a customer-held or\nshared proxy/bootstrap key. Use `logs.read` for read-only diagnostics, adding\n`settings.write` only when telemetry control is required. Ordinary key creation,\naccount roles, OAuth consent, and caller headers cannot grant operator status.\nRevoking an approved key invalidates it immediately. Host enrollment is a trust\nbootstrap step, intentionally unavailable through customer-facing APIs.\nAPI, CLI, and MCP enforce the same boundary; MCP hides internal tools unless\nthe server confirms operator authority, including in explicit read-only mode.\nProject analytics, research, and normal project permissions are unchanged.\n\n`canonry_logs_list` reads bounded, redacted runtime events from both the\napplication logger and Fastify request/error logging. It requires an\ninstance-wide `logs.read` grant (or wildcard) and a host-approved direct bearer.\nBrowser sessions, OAuth/delegated credentials, customer admins, and project-scoped\nkeys cannot use it, even with a project filter or a matching allowlist ID.\nA `logs.read`-only key is read-only automatically, without a\nsecond `read` marker. Named `*.read` scopes cannot grant mutations; an explicit\nwrite grant is needed and remains subject to its route gates. Returned messages\nare sanitized and bounded; raw request or response bodies, headers, cookies,\nprovider payloads, and stacks are not\npart of the queryable surface. The same secret-redaction policy runs before\nconsole output and storage. Do not deliberately log secrets: redaction is a\ndefense in depth, not permission to put credentials into diagnostic strings.\nOpaque escaped payloads containing secret assignments are omitted when safe\npartial masking cannot be guaranteed; correlate their retained error codes and IDs.\n\nFile-backed hosts retain runtime logs in SQLite across restarts, bounded to\n10,000 events and seven days. In-memory hosts report `retention: \"process\"`.\nFilter by `actor`, `requestId`, `runId`, `projectId`, `module`, `level`, or an\ninclusive `since`/`until` interval. Keep filters unchanged when resuming an\nopaque cursor; retention eviction can invalidate it. Inspect `retentionPolicy`,\n`captureErrors`, `dropped`, `truncated`, and `retention` before drawing\nconclusions. Missing logs are not proof that an action did not happen. Use\n`canonry_project_history` or `canonry_history_global` for persistent audit events;\noffset pages have deterministic ordering but are not snapshots of concurrent writes.\n\nAudit `actor` comes from authenticated identity (`user:<id>` or `api-key:<id>`),\nnot a caller-supplied header. A delegated MCP credential records its originating\nuser as actor and the actual credential in `credentialId`. `requestId` correlates\nHTTP events; `userAgent` and `actorSession` are bounded, untrusted client hints,\nnever identity or permission grants. Older audit rows are not backfilled with\nidentities the server cannot prove.\n\nBoth shipped HTTP hosts issue restart-safe UUID request IDs and return them in\n`x-request-id`. Use that value to correlate a CLI/API failure with log entries;\nHTTP diagnostics retain the method and route template, not raw URL parameters.\nRequest-bound loggers retain completion attribution, while generic background\ncontinuations stop inheriting caller identity after the response completes.\nCapture covers the owning server process after initialization, not arbitrary\nconsole output, other worker processes, or host/container logs. Run one server\ninstance per process and database, as required by the single-tenant deployment\nmodel; this is not a cross-tenant or distributed log collector.\n\nFor CLI use, settings reads are remote. Google setup and telemetry retain their\nlocal defaults: pass `--target server` explicitly to configure the connected\nserver. `schedule list <project>` lists all schedule kinds, and\n`notify events --target server` discovers the server's event catalog.\n\nMCP returns legacy text JSON plus structured results. Objects keep their shape;\narrays use `{items: [...]}` in `structuredContent`, and scalars use `{value: ...}`.\nErrors preserve the existing envelope and CLI exit codes: HTTP 4xx (including\n429 policy limits) use exit 1; HTTP 5xx use exit 2. Server-provided `Retry-After`\nand request IDs are exposed as `retryAfterMs` and `requestId` when available;\nclients do not infer retryability from HTTP 429 or retry automatically.\nFor a write with an ambiguous outcome, inspect saved state or its receipt before\nretrying; a retry hint is not proof that repeating a write is safe.\n\n### Action boundaries\n\nStart with stored evidence. Before a live provider read, sweep, probe, research\nrun, sync, write, or externally visible action, obtain approval covering its\nexact target, action, and bounded work. Approval already given for that exact\noperation need not be asked for again, but does not extend to more projects,\nlarger batches, retries with new identities, or recurring work.\n\nHTTP GET and MCP `readOnlyHint` describe aspects of an operation, not its cost\nor permission. Provider discovery, account reads, and live diagnostics may\nconsume quota even when labeled read-only. If the tool's effect is unclear,\ninspect its description and request direction before calling it.\n\nAuthentication, role/scope checks, project restrictions, quotas, and guarded\napproval receipts are enforced by the server. Help, skills, resources, and tool\nvisibility cannot grant authority. Never change credentials, endpoints, or\nproject identifiers to work around a missing tool or a `403` response.\n\nFor guarded ads writes, inspect unresolved operation receipts before retrying.\nUse the receipt's supported recovery action; do not replay a mutation under a\nnew identity. An executor cannot create or widen its own human approval grant.\nOn ambiguous results, exhausted bounds, or refusal, stop and report what is\nknown and what permission or operator action is needed.\n\n## Version and source\n\nThis public, versioned document is the source for initialization guidance,\nintent routes, the optional resource, and generated Canonry `SKILL.md` files.\nGuide v1 may receive compatible clarifications; incompatible routing contracts\nrequire a new guide version. The running server's help describes its actual\ncatalog and remains usable without fetching this document.\n"
410
441
  };
411
442
 
412
443
  // src/mcp/operations-guide.ts
@@ -567,7 +598,7 @@ var loadToolkitInputSchema = z.object({
567
598
  name: z.enum(CANONRY_MCP_TOOLKIT_NAMES).describe("Toolkit name. List options with canonry_help.")
568
599
  });
569
600
  var helpInputSchema = z.object({
570
- intent: z.string().max(200).optional().describe("Workflow (status, diagnose, prospecting, measurement, integrations, reports) or a short task description."),
601
+ intent: z.string().max(200).optional().describe("Workflow (status, diagnose, prospecting, measurement, integrations, reports, seo, operations, start) or a short task description. Use start for a new user."),
571
602
  includeCatalog: z.boolean().optional().describe("Include full toolkit details. Omit for a compact, actionable route."),
572
603
  playbook: z.string().regex(PLAYBOOK_SLUG).optional().describe('Slug from a help result\'s `playbooks`, such as "regression-playbook". Returns that analyst playbook in full instead of a route.')
573
604
  });
@@ -17,7 +17,7 @@ import {
17
17
  hostOf,
18
18
  isLocationRedirectStatus,
19
19
  pathWithoutQuery
20
- } from "./chunk-XHFLXURT.js";
20
+ } from "./chunk-EUARY2OX.js";
21
21
 
22
22
  // ../integration-traffic/src/agent-trust.ts
23
23
  var AGENT_TRUST_RULES_VERSION = 3;
@@ -3,7 +3,7 @@ import {
3
3
  resolveCliAccess,
4
4
  resolveCliAccessForInvocation,
5
5
  windowOptions
6
- } from "./chunk-7XJZM7F5.js";
6
+ } from "./chunk-KMES74KU.js";
7
7
  import {
8
8
  emitJsonl
9
9
  } from "./chunk-Z7IUAJOF.js";
@@ -14,7 +14,7 @@ import {
14
14
  } from "./chunk-HGMYEDAQ.js";
15
15
  import {
16
16
  OperationAccesses
17
- } from "./chunk-XHFLXURT.js";
17
+ } from "./chunk-EUARY2OX.js";
18
18
 
19
19
  // src/cli-catalog.ts
20
20
  import { createRequire } from "module";
@@ -122,7 +122,7 @@ async function dispatchRegisteredCommand(args, fallbackFormat, specs) {
122
122
  const accessValue = accessFilterFromArgs(argsWithoutHelp);
123
123
  validateAccessFilter(accessValue);
124
124
  if (fallbackFormat !== "text") {
125
- const { printCliCatalog: printCliCatalog2 } = await import("./cli-catalog-VSPAEL7Y.js");
125
+ const { printCliCatalog: printCliCatalog2 } = await import("./cli-catalog-PAZQB7WG.js");
126
126
  const group2 = argsWithoutHelp.find((arg) => !arg.startsWith("--"));
127
127
  printCliCatalog2(specs, fallbackFormat, group2, accessValue);
128
128
  return true;
@@ -443,7 +443,7 @@ var CLI_ROOT_SUMMARIES = {
443
443
  },
444
444
  "sentiment": {
445
445
  "section": "Monitoring",
446
- "summary": "Inspect and manage experimental sentiment measurement"
446
+ "summary": "Inspect and manage sentiment measurement"
447
447
  },
448
448
  "ga": {
449
449
  "section": "Integrations",
@@ -2,10 +2,10 @@ import {
2
2
  SNAPSHOT_CELL_LEGEND,
3
3
  citationGlyph,
4
4
  mentionGlyph
5
- } from "./chunk-3T5N2K7K.js";
5
+ } from "./chunk-YQ5NFMQB.js";
6
6
  import {
7
7
  createApiClient
8
- } from "./chunk-A2XEI5JG.js";
8
+ } from "./chunk-QKEBSO3T.js";
9
9
  import {
10
10
  emitJsonl
11
11
  } from "./chunk-Z7IUAJOF.js";
@@ -23,7 +23,7 @@ import {
23
23
  formatMicros,
24
24
  formatRunErrorOneLine,
25
25
  resolveProviderInput
26
- } from "./chunk-XHFLXURT.js";
26
+ } from "./chunk-EUARY2OX.js";
27
27
 
28
28
  // src/commands/run.ts
29
29
  function getClient() {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  pickProjectCitedDomain
3
- } from "./chunk-UMPRDHNQ.js";
3
+ } from "./chunk-XAS6ARPI.js";
4
4
  import {
5
5
  createLogger
6
- } from "./chunk-NWKFGMF3.js";
6
+ } from "./chunk-LGPJMBH2.js";
7
7
  import {
8
8
  GBP_INSIGHT_PROVIDER,
9
9
  PERSISTENT_GAP_THRESHOLD,
@@ -17,7 +17,7 @@ import {
17
17
  mergeGscQueryTotalsWithFallback,
18
18
  readGscQueryDailyRows,
19
19
  readLatestGscDataDate
20
- } from "./chunk-F5KJWMYH.js";
20
+ } from "./chunk-IU26JPKH.js";
21
21
  import {
22
22
  competitors,
23
23
  gbpDailyMetrics,
@@ -35,7 +35,7 @@ import {
35
35
  queries,
36
36
  querySnapshots,
37
37
  runs
38
- } from "./chunk-C5PWXO5G.js";
38
+ } from "./chunk-MQU5QBUQ.js";
39
39
  import {
40
40
  CitationStates,
41
41
  RunKinds,
@@ -44,7 +44,7 @@ import {
44
44
  effectiveDomains,
45
45
  isCitationStateMeasured,
46
46
  readCitationState
47
- } from "./chunk-XHFLXURT.js";
47
+ } from "./chunk-EUARY2OX.js";
48
48
 
49
49
  // src/intelligence-service.ts
50
50
  import { eq, desc, asc, and, ne, or, inArray, gte, lte, isNull, sql, exists } from "drizzle-orm";
@@ -62,7 +62,7 @@ var CANONRY_MCP_TOOLKITS = [
62
62
  {
63
63
  name: "monitoring",
64
64
  title: "Measurement, runs, insights, health",
65
- description: "Inspect portfolio and Property measurement, question results, experimental branded and non-brand sentiment and evidence, content opportunities and addressed-target records, run history, intelligence insights, health timelines, and bounded Agent Readiness reads (score, overview, issues, page audit evidence, focused subgraphs, paths, and scan changes).",
65
+ description: "Inspect portfolio and Property measurement, question results, branded and non-brand sentiment and evidence, content opportunities and addressed-target records, run history, intelligence insights, health timelines, and bounded Agent Readiness reads (score, overview, issues, page audit evidence, focused subgraphs, paths, and scan changes).",
66
66
  whenToLoad: "Load when finding weak Properties, reviewing answers, sentiment and competitors, marking or restoring addressed content targets, checking data quality, tying an Agent Readiness page score to concrete findings, investigating site architecture, comparing scans, or diagnosing regressions."
67
67
  },
68
68
  {
@@ -15,7 +15,7 @@ import {
15
15
  formatCanonryPluginUpdateHint,
16
16
  formatCanonryPluginVersionMismatch,
17
17
  skillsClientSchema
18
- } from "./chunk-XHFLXURT.js";
18
+ } from "./chunk-EUARY2OX.js";
19
19
 
20
20
  // src/commands/skills.ts
21
21
  import crypto from "crypto";
@@ -5,7 +5,7 @@ import {
5
5
  loadConfig,
6
6
  loadConfigRaw,
7
7
  saveConfigPatch
8
- } from "./chunk-VYIM2IUO.js";
8
+ } from "./chunk-ZKYOGC7O.js";
9
9
  import {
10
10
  CANONRY_NPM_PACKAGE_URL,
11
11
  compareSemver,
@@ -18,7 +18,7 @@ import {
18
18
  updateCheckEnvOptOut,
19
19
  upgradeCaveatFor,
20
20
  upgradeCommandFor
21
- } from "./chunk-XHFLXURT.js";
21
+ } from "./chunk-EUARY2OX.js";
22
22
 
23
23
  // src/runtime-context.ts
24
24
  function cliRuntimeContext(env = process.env, stdio = process) {
@@ -1,12 +1,15 @@
1
+ import {
2
+ AGENT_WEBHOOK_EVENTS
3
+ } from "./chunk-UX3HJV2V.js";
1
4
  import {
2
5
  dedupeGscSitemapUrls,
3
6
  resolveDiscoveredGscSitemapUrls,
4
7
  submitGscSitemapBatches
5
- } from "./chunk-DJA35P57.js";
8
+ } from "./chunk-LGPITEEE.js";
6
9
  import {
7
10
  measurementDraftOperationSchema,
8
11
  runMeasurementDraftAction
9
- } from "./chunk-QGGHCVKX.js";
12
+ } from "./chunk-46HRC23F.js";
10
13
  import {
11
14
  CliError
12
15
  } from "./chunk-HGMYEDAQ.js";
@@ -198,7 +201,7 @@ import {
198
201
  trendSurfaceSchema,
199
202
  visibilityCompareSelectionSchema,
200
203
  visibilityReportRequestSchema
201
- } from "./chunk-XHFLXURT.js";
204
+ } from "./chunk-EUARY2OX.js";
202
205
 
203
206
  // src/mcp/tool-registry.ts
204
207
  import { z as z2 } from "zod";
@@ -1183,12 +1186,6 @@ var technicalAeoRunInputSchema = z2.object({
1183
1186
  includeAgentSkills: siteAuditRunRequestSchema.shape.includeAgentSkills.removeDefault().optional().describe("Check discoverable actions, forms, and agent integrations by default. Set false to disable."),
1184
1187
  sites: siteAuditRunRequestSchema.shape.sites.describe("Owned domains this scan covers besides the main domain, which every scan covers, at most 20. Each must be one of the project's owned domains. Omitted uses the project's saved siteAuditDomains (set with canonry_project_update); [] scans the main domain only. The page budget is shared across every site.")
1185
1188
  });
1186
- var AGENT_WEBHOOK_EVENTS = [
1187
- notificationEventSchema.enum["run.completed"],
1188
- notificationEventSchema.enum["insight.critical"],
1189
- notificationEventSchema.enum["insight.high"],
1190
- notificationEventSchema.enum["citation.gained"]
1191
- ];
1192
1189
  var sentimentInputSchema = sentimentSelectionSchema.safeExtend({
1193
1190
  project: projectNameSchema,
1194
1191
  include: z2.array(sentimentSummaryIncludeSchema).max(2).optional().describe("Opt-in per-query detail: per-engine assessments and per-location scores. Omitted, query rows are compact unless queryId names one query."),
@@ -1514,7 +1511,7 @@ var rawCanonryMcpTools = [
1514
1511
  defineTool({
1515
1512
  name: "canonry_sentiment_settings",
1516
1513
  title: "Read sentiment readiness and settings",
1517
- description: "Read experimental sentiment configuration, evaluator identity, readiness and action permissions. No provider calls or credentials. Install administrators alone can configure or submit backfills.",
1514
+ description: "Read sentiment configuration, evaluator identity, readiness and action permissions. No provider calls or credentials. Install administrators alone can configure or submit backfills.",
1518
1515
  access: "read",
1519
1516
  tier: "monitoring",
1520
1517
  inputSchema: projectInputSchema,
@@ -3054,11 +3051,11 @@ var rawCanonryMcpTools = [
3054
3051
  defineTool({
3055
3052
  name: "canonry_gbp_location_select",
3056
3053
  title: "Toggle GBP location selection",
3057
- description: "Mark a Google Business Profile location as selected or deselected for sync.",
3054
+ description: "Mark a Google Business Profile location as selected or deselected for sync. Deselecting also deletes that location's stored reviews, rating history and stats from the project; selecting it again fetches current data only, so removed history does not come back. Locations carry websiteMatchesProject: false when their website is not one of the project's domains, usually another business on the same Google account.",
3058
3055
  access: "write",
3059
3056
  tier: "gbp",
3060
3057
  inputSchema: gbpLocationSelectionInputSchema,
3061
- annotations: writeAnnotations({ idempotentHint: true }),
3058
+ annotations: writeAnnotations({ idempotentHint: true, destructiveHint: true }),
3062
3059
  openApiOperations: ["PUT /api/v1/projects/{name}/gbp/locations/{locationName}/selection"],
3063
3060
  handler: (client, input) => client.setGbpLocationSelection(input.project, input.locationName, input.selected)
3064
3061
  }),