@canonry/canonry 7.110.0 → 7.112.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.
- package/README.md +3 -2
- package/assets/agent-workspace/skills/aero/SKILL.md +12 -3
- package/assets/agent-workspace/skills/aero/references/agent-operations.md +7 -2
- package/assets/agent-workspace/skills/aero/references/ai-traffic-tracking.md +5 -3
- package/assets/agent-workspace/skills/aero/references/getting-started.md +326 -0
- package/assets/agent-workspace/skills/aero/soul.md +1 -1
- package/assets/agent-workspace/skills/canonry/SKILL.md +9 -3
- package/assets/agent-workspace/skills/canonry/references/aeo-analysis.md +1 -1
- package/assets/agent-workspace/skills/canonry/references/ai-traffic-tracking.md +5 -3
- package/assets/agent-workspace/skills/canonry/references/canonry-cli.md +5 -2
- package/assets/agent-workspace/skills/canonry/references/getting-started.md +328 -0
- package/assets/agent-workspace/skills/canonry/references/server-side-traffic.md +4 -0
- package/assets/assets/{AccessControls-DmKPF5t5.js → AccessControls-BxtFDXYH.js} +1 -1
- package/assets/assets/{AgentSetupPage-BvoJ7cu0.js → AgentSetupPage-q1Ku1PAd.js} +1 -1
- package/assets/assets/{AuditHistoryPanel-GHjaPPXk.js → AuditHistoryPanel-6EnlABwM.js} +1 -1
- package/assets/assets/{BacklinksPage-Ca3l7bel.js → BacklinksPage-BaHCJEuK.js} +1 -1
- package/assets/assets/{ChartPrimitives-CJLgYfSw.js → ChartPrimitives-C3lJj3eO.js} +1 -1
- package/assets/assets/{HistoryPage-HqdlYIsd.js → HistoryPage-B_NVeDCn.js} +1 -1
- package/assets/assets/{MeasurementPropertyPage-D71Ki-q4.js → MeasurementPropertyPage-DxCRxoIF.js} +1 -1
- package/assets/assets/{ProjectPage-wGYGNnLC.js → ProjectPage-BjGsilZJ.js} +3 -3
- package/assets/assets/{RunsPage-CeXFTDg4.js → RunsPage-9T1OrQw3.js} +1 -1
- package/assets/assets/{ServerTrafficSection-BZVlcCO2.js → ServerTrafficSection-iUdFKWEc.js} +1 -1
- package/assets/assets/{SettingsPage-MiW1TGtF.js → SettingsPage-BswQYkkB.js} +1 -1
- package/assets/assets/{ToneBadge-BXxSLZUc.js → ToneBadge-CWufDJgM.js} +2 -2
- package/assets/assets/{TrafficPage-1ZXZ2BLa.js → TrafficPage-DN9DxoWm.js} +1 -1
- package/assets/assets/{TrafficSourceDetailPage-BJPiUWus.js → TrafficSourceDetailPage-D6TdTyP-.js} +1 -1
- package/assets/assets/{account-context-DHUo7ntg.js → account-context-CyE8qMvH.js} +1 -1
- package/assets/assets/{agent-trust-copy-x8ECjEJu.js → agent-trust-copy-CinW-f_8.js} +1 -1
- package/assets/assets/{card-bE38V9NH.js → card-CI9gz2Hb.js} +1 -1
- package/assets/assets/{index-Ce3zYiH3.js → index-DshFRkPM.js} +3 -3
- package/assets/assets/{query-client-CBtgvGgy.js → query-client-BlAtm9zS.js} +1 -1
- package/assets/assets/{react-query-CsgUn_pT.js → react-query-DE_LaZkX.js} +1 -1
- package/assets/assets/{react-sigma_core.esm.min-DeLn6mIk.js → react-sigma_core.esm.min-CZkN6sL0.js} +1 -1
- package/assets/assets/{server-traffic-Dwwd7cw6.js → server-traffic-Ci9JbS2U.js} +1 -1
- package/assets/assets/{service-Bq_5mBI4.js → service-CiYDMju_.js} +1 -1
- package/assets/index.html +8 -8
- package/dist/{ads-VITOHLIW.js → ads-WRMNYPJ7.js} +3 -3
- package/dist/{agent-N57IKFTH.js → agent-V4PAGAPZ.js} +7 -7
- package/dist/{agent-ask-VPK4ED7D.js → agent-ask-3LAAT4WN.js} +3 -3
- package/dist/{agent-conversations-DPEGQ5NJ.js → agent-conversations-TVNDZY54.js} +3 -3
- package/dist/{agent-journeys-7AS543HY.js → agent-journeys-UB7ZGAKP.js} +3 -3
- package/dist/{agent-memory-OKKNU2MA.js → agent-memory-RWF2WODB.js} +3 -3
- package/dist/{agent-providers-JZGGMH5H.js → agent-providers-77A45KZD.js} +3 -3
- package/dist/{agent-transcript-AICHEB4B.js → agent-transcript-K5WZJHJX.js} +3 -3
- package/dist/{analytics-FXNYSIAY.js → analytics-RNSYOGUP.js} +3 -3
- package/dist/{apply-DYYB2I2S.js → apply-UU6GFYIJ.js} +3 -3
- package/dist/{backfill-CXKKDOST.js → backfill-DOYPYZJL.js} +10 -10
- package/dist/{backlinks-442C4H4M.js → backlinks-UKRILGDJ.js} +3 -3
- package/dist/{bing-HRSXPL7O.js → bing-P6GTLGIP.js} +3 -3
- package/dist/{bootstrap-U5UVQDHJ.js → bootstrap-BRXDKCNB.js} +10 -10
- package/dist/{cdp-JSOEQZJJ.js → cdp-CPGVPWTU.js} +7 -7
- package/dist/{chunk-JXFFKZOI.js → chunk-2LXLJXTG.js} +2 -2
- package/dist/{chunk-OJYY6W5S.js → chunk-4ALKLWSQ.js} +631 -391
- package/dist/{chunk-ZVKWDSKW.js → chunk-4PMS7CAF.js} +2 -2
- package/dist/{chunk-7GU4F2QO.js → chunk-4WXNCSYL.js} +2 -2
- package/dist/{chunk-FRKHFU6D.js → chunk-7IF576RC.js} +5 -5
- package/dist/{chunk-JJ7RXQ2W.js → chunk-AZPWF42S.js} +7 -3
- package/dist/{chunk-EU6JYD3C.js → chunk-B27F7C6S.js} +5 -5
- package/dist/{chunk-TV6BFBRI.js → chunk-C44S7EE7.js} +4 -4
- package/dist/{chunk-YW6J3STO.js → chunk-CIDXBCEW.js} +1 -1
- package/dist/{chunk-YKEXZBB4.js → chunk-DZCJNSBY.js} +1 -1
- package/dist/{chunk-5RMDU4MM.js → chunk-F6CYO37C.js} +7 -7
- package/dist/{chunk-HX4KJWQO.js → chunk-I4YRKF6G.js} +3 -3
- package/dist/{chunk-FEIDW5BU.js → chunk-JCK5TDIU.js} +73 -5
- package/dist/{chunk-QXBHZSOW.js → chunk-JHAG6DEG.js} +4 -4
- package/dist/{chunk-UC2LPOW4.js → chunk-KYZ5A7AX.js} +1 -1
- package/dist/{chunk-Q3IXAH34.js → chunk-LGAQXH3L.js} +1 -1
- package/dist/{chunk-A334LHJ7.js → chunk-M2RTTCLC.js} +3 -3
- package/dist/{chunk-VYPDVWRG.js → chunk-N5K35MDQ.js} +1 -1
- package/dist/{chunk-S2I5FPQC.js → chunk-NICTKJ3O.js} +1 -1
- package/dist/{chunk-5SN2O7QH.js → chunk-NLU2MMFA.js} +1 -1
- package/dist/{chunk-3AVO5OWE.js → chunk-OBDRDAIK.js} +1 -1
- package/dist/{chunk-ZVLZ7YFW.js → chunk-PT3VROG7.js} +378 -370
- package/dist/{chunk-ES7XSOBY.js → chunk-Q4XHWZDT.js} +1 -1
- package/dist/{chunk-XS3S3UQE.js → chunk-R4PQ7D32.js} +7 -7
- package/dist/{chunk-ME74SV2T.js → chunk-S6ULO6H5.js} +1 -1
- package/dist/{chunk-RHY7GL5R.js → chunk-SJD3ZAEH.js} +2 -2
- package/dist/{chunk-M7R7GSO5.js → chunk-SNL4C4BV.js} +2 -2
- package/dist/{chunk-4CTVYOBQ.js → chunk-TDRPVIUB.js} +1 -1
- package/dist/{chunk-66OTF2QQ.js → chunk-TDSISMOJ.js} +25 -23
- package/dist/{chunk-3WAGCCAO.js → chunk-W3UYVNYQ.js} +1 -1
- package/dist/{chunk-HH4XK3FX.js → chunk-WHBLQJGZ.js} +1 -1
- package/dist/{chunk-DMCJJ5FT.js → chunk-Y6D7K63F.js} +3 -3
- package/dist/{chunk-HGKB6J7I.js → chunk-YN7OV22K.js} +4 -4
- package/dist/{chunk-QIGC5JGR.js → chunk-YWKALX6A.js} +4 -4
- package/dist/{chunk-VDAC54IW.js → chunk-YXCMVHYJ.js} +38 -7
- package/dist/{chunk-35H5E662.js → chunk-ZMCRVQ6Q.js} +1 -1
- package/dist/{chunk-ZABO7FFF.js → chunk-ZVDUBOE4.js} +17 -7
- package/dist/{citations-A6QP2QOT.js → citations-GW2ELWME.js} +4 -4
- package/dist/{cli-catalog-OJT3WVRE.js → cli-catalog-PDU4Z4IO.js} +3 -3
- package/dist/{cli-commands-KQQPOXIP.js → cli-commands-XWIWF4VG.js} +7 -7
- package/dist/cli.js +13 -13
- package/dist/{competitor-AY5SURO6.js → competitor-MS4P6GJ4.js} +3 -3
- package/dist/{content-UZJF7XQV.js → content-3QQRT3Q4.js} +3 -3
- package/dist/{dashboard-IXNMMT5P.js → dashboard-FDVY7CMI.js} +6 -6
- package/dist/{demo-Y7DDERG7.js → demo-WRF3ZSQ5.js} +1 -1
- package/dist/{demo-server-PNPTTPGQ.js → demo-server-Q77EUE5A.js} +12 -12
- package/dist/{discover-45FOFNGO.js → discover-BAKAHH5X.js} +4 -4
- package/dist/{discover-eval-CJ5G32A6.js → discover-eval-KMYMVZVX.js} +3 -3
- package/dist/{doctor-2R4J6QC7.js → doctor-OAYNGBBT.js} +3 -3
- package/dist/{evidence-HDUJMIIR.js → evidence-FEDSZTLW.js} +3 -3
- package/dist/{export-cmd-3AXP4C3S.js → export-cmd-OYQVBE5C.js} +3 -3
- package/dist/{ga-RYK2FEEH.js → ga-MWJQ2S4D.js} +3 -3
- package/dist/{gbp-TAA3TNDA.js → gbp-K4FXHF6N.js} +3 -3
- package/dist/{google-62PQ4SMC.js → google-B6VUPLQN.js} +4 -4
- package/dist/{google-marketing-UWGFDUUZ.js → google-marketing-3KKTACAA.js} +1 -1
- package/dist/{health-cmd-ZDHMZLYQ.js → health-cmd-YEHYFXEN.js} +4 -4
- package/dist/{history-RVBQUMCX.js → history-5EYU4PQT.js} +3 -3
- package/dist/index.d.ts +30 -30
- package/dist/index.js +26 -26
- package/dist/{init-XP3J3HPB.js → init-2HLTEB5Y.js} +12 -12
- package/dist/{insights-I2YS7U6L.js → insights-MW5VTF7N.js} +3 -3
- package/dist/intelligence-service-PTAA5WJB.js +16 -0
- package/dist/{journeys-BELWHYCZ.js → journeys-YW2IWDMN.js} +3 -3
- package/dist/{keys-XDILBZFM.js → keys-RRT26LGV.js} +3 -3
- package/dist/{keyword-BQ4ECK2Z.js → keyword-KSN3JTCX.js} +3 -3
- package/dist/{logs-UAZUYRCJ.js → logs-IPAE4F4W.js} +3 -3
- package/dist/{mcp-4262JRAS.js → mcp-WJR6RKYK.js} +4 -4
- package/dist/mcp.js +10 -10
- package/dist/{measurement-plan-D4DFV7XU.js → measurement-plan-DGLUEK7M.js} +5 -5
- package/dist/{notify-TIAGVEYL.js → notify-3QOG6NWS.js} +3 -3
- package/dist/{organic-evidence-2TUODD26.js → organic-evidence-M3VSSLQR.js} +3 -3
- package/dist/{overview-WP2DO3GW.js → overview-7RRCHUWZ.js} +5 -5
- package/dist/{project-OOUUH5QM.js → project-T3JZJPVK.js} +3 -3
- package/dist/{project-setup-HBKPIBNL.js → project-setup-Y6DSDF4V.js} +3 -3
- package/dist/{query-M7XT5UL3.js → query-24JZPB3M.js} +3 -3
- package/dist/{research-O36LMQ6N.js → research-ERVKTKMV.js} +3 -3
- package/dist/{results-export-EQWWL2FH.js → results-export-KSGIWPAM.js} +3 -3
- package/dist/{run-2I7SGZWI.js → run-XX6YUJRI.js} +5 -5
- package/dist/{schedule-UIPFPM64.js → schedule-JBZENJ2V.js} +3 -3
- package/dist/{search-L3BSPUWL.js → search-V67KUYIZ.js} +3 -3
- package/dist/{serve-CKQIXMZH.js → serve-HTQ76BFW.js} +27 -27
- package/dist/{session-JMUEO4JX.js → session-AJ6R6K4B.js} +14 -14
- package/dist/{settings-CCYLUD6M.js → settings-KVKWFTJZ.js} +3 -3
- package/dist/{sitemaps-QKEA3DLO.js → sitemaps-UDIC4YUU.js} +3 -3
- package/dist/{skills-6QCTDYJX.js → skills-35CPSNXM.js} +2 -2
- package/dist/{snapshot-SPVUDPYM.js → snapshot-OHGM7JBF.js} +3 -3
- package/dist/{src-TV6FYYJC.js → src-GNBUAHT7.js} +2 -2
- package/dist/{status-FU5K5ZIP.js → status-GKWSTMUV.js} +5 -5
- package/dist/{technical-aeo-A2UNMVHB.js → technical-aeo-IHQYV4TT.js} +3 -3
- package/dist/{telemetry-4UAREPKB.js → telemetry-AA2CONG2.js} +4 -4
- package/dist/{tools-OLOHKI7B.js → tools-CWNRV7PQ.js} +11 -11
- package/dist/{traffic-3TQUDBQB.js → traffic-F7WR32VB.js} +55 -13
- package/dist/{trends-IHC2MH5V.js → trends-YB2GNT75.js} +3 -3
- package/dist/{users-TYU5PIYM.js → users-PXTIUGXI.js} +3 -3
- package/dist/{visibility-stats-BWJF57ON.js → visibility-stats-KSPE4GHQ.js} +4 -4
- package/dist/{wordpress-T4CVB32J.js → wordpress-YGSH5MSK.js} +3 -3
- package/package.json +2 -2
- package/dist/intelligence-service-OHEFN77N.js +0 -16
|
@@ -8,24 +8,24 @@ import {
|
|
|
8
8
|
reparseStoredResult4,
|
|
9
9
|
reparseStoredResult5,
|
|
10
10
|
resolveStoredApiResponse
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-7IF576RC.js";
|
|
12
12
|
import {
|
|
13
13
|
loadConfig
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-ZMCRVQ6Q.js";
|
|
15
15
|
import {
|
|
16
16
|
CliError,
|
|
17
17
|
isMachineFormat
|
|
18
18
|
} from "./chunk-HGMYEDAQ.js";
|
|
19
19
|
import {
|
|
20
20
|
determineCitationState
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-KYZ5A7AX.js";
|
|
22
22
|
import {
|
|
23
23
|
backfillProjectAnswerMentions,
|
|
24
24
|
competitorIdentityColumns,
|
|
25
25
|
createRunCompetitorResolver,
|
|
26
26
|
readMarketCompetitorNames,
|
|
27
27
|
refreshSnapshotMentionIdentity
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-4ALKLWSQ.js";
|
|
29
29
|
import {
|
|
30
30
|
RawEventSampleEventTypes,
|
|
31
31
|
auditLog,
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
querySnapshots,
|
|
40
40
|
rawEventSamples,
|
|
41
41
|
runs
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-OBDRDAIK.js";
|
|
43
43
|
import {
|
|
44
44
|
ProviderNames,
|
|
45
45
|
RetrievalContracts,
|
|
@@ -52,7 +52,7 @@ import {
|
|
|
52
52
|
extractRecommendedCompetitors,
|
|
53
53
|
normalizeUrlPath,
|
|
54
54
|
openRouterRouteModel
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-JCK5TDIU.js";
|
|
56
56
|
|
|
57
57
|
// src/commands/backfill.ts
|
|
58
58
|
import { setImmediate as yieldToEventLoop } from "timers/promises";
|
|
@@ -430,7 +430,7 @@ No DB writes performed. Re-run without --dry-run to apply.`);
|
|
|
430
430
|
}
|
|
431
431
|
}
|
|
432
432
|
async function backfillInsightsCommand(project, opts) {
|
|
433
|
-
const { IntelligenceService } = await import("./intelligence-service-
|
|
433
|
+
const { IntelligenceService } = await import("./intelligence-service-PTAA5WJB.js");
|
|
434
434
|
const config = loadConfig();
|
|
435
435
|
const db = createClient(config.database);
|
|
436
436
|
migrate(db);
|
|
@@ -4,14 +4,14 @@ import {
|
|
|
4
4
|
} from "./chunk-VJWDBFSL.js";
|
|
5
5
|
import {
|
|
6
6
|
createApiClient
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-AZPWF42S.js";
|
|
8
8
|
import {
|
|
9
9
|
CliError,
|
|
10
10
|
isMachineFormat
|
|
11
11
|
} from "./chunk-HGMYEDAQ.js";
|
|
12
12
|
import {
|
|
13
13
|
describeError
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-JCK5TDIU.js";
|
|
15
15
|
|
|
16
16
|
// src/commands/mcp.ts
|
|
17
17
|
import fs from "fs";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getRequestContext
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-N5K35MDQ.js";
|
|
4
4
|
import {
|
|
5
5
|
diagnosticIdentity,
|
|
6
6
|
redactLogString,
|
|
7
7
|
redactLogValue
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-JCK5TDIU.js";
|
|
9
9
|
|
|
10
10
|
// ../api-routes/src/runtime-logger.ts
|
|
11
11
|
import { format } from "util";
|
|
@@ -24,18 +24,18 @@ import {
|
|
|
24
24
|
resolveConfiguredAgentProvider,
|
|
25
25
|
resolveSessionProviderAndModel,
|
|
26
26
|
setAeroSystemPrompt
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-F6CYO37C.js";
|
|
28
28
|
import {
|
|
29
29
|
answerServiceAdapters,
|
|
30
30
|
answerServiceDescriptors
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-NLU2MMFA.js";
|
|
32
32
|
import {
|
|
33
33
|
AeroToolProfiles,
|
|
34
34
|
AeroToolScopes,
|
|
35
35
|
buildAeroStateTools,
|
|
36
36
|
isAeroToolProfile,
|
|
37
37
|
truncateToolResult
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-YWKALX6A.js";
|
|
39
39
|
import {
|
|
40
40
|
getGoogleAuthConfig,
|
|
41
41
|
getGoogleConnection,
|
|
@@ -54,7 +54,7 @@ import {
|
|
|
54
54
|
removeCloudflareTrafficConnection,
|
|
55
55
|
removeCloudflareTrafficConnectionBySourceId,
|
|
56
56
|
upsertCloudflareTrafficConnection
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-Q4XHWZDT.js";
|
|
58
58
|
import {
|
|
59
59
|
claudeAdapter,
|
|
60
60
|
embedQueries,
|
|
@@ -66,7 +66,7 @@ import {
|
|
|
66
66
|
openrouterAdapter,
|
|
67
67
|
perplexityAdapter,
|
|
68
68
|
startTrafficReclassification
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-7IF576RC.js";
|
|
70
70
|
import {
|
|
71
71
|
classifyUsageSurface,
|
|
72
72
|
createApiUsageTelemetry,
|
|
@@ -78,7 +78,7 @@ import {
|
|
|
78
78
|
startOutcomeTimer,
|
|
79
79
|
trackFeatureCompleted,
|
|
80
80
|
trackInstallState
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-C44S7EE7.js";
|
|
82
82
|
import {
|
|
83
83
|
isLoopbackBindHost
|
|
84
84
|
} from "./chunk-TSENU4GG.js";
|
|
@@ -86,7 +86,7 @@ import {
|
|
|
86
86
|
isApiProviderRegistrable,
|
|
87
87
|
isCdpProviderRegistrable,
|
|
88
88
|
registeredProviderNames
|
|
89
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-TDRPVIUB.js";
|
|
90
90
|
import {
|
|
91
91
|
checkLatestVersionForServer,
|
|
92
92
|
getOrCreateAnonymousId,
|
|
@@ -98,17 +98,17 @@ import {
|
|
|
98
98
|
recordDashboardEvent,
|
|
99
99
|
setTelemetryPreference,
|
|
100
100
|
trackEvent
|
|
101
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-4PMS7CAF.js";
|
|
102
102
|
import {
|
|
103
103
|
createCanonryMcpServer
|
|
104
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-YXCMVHYJ.js";
|
|
105
105
|
import {
|
|
106
106
|
CANONRY_MCP_TIERS,
|
|
107
107
|
CANONRY_MCP_TOOLKIT_NAMES
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-CIDXBCEW.js";
|
|
109
109
|
import {
|
|
110
110
|
ApiClient
|
|
111
|
-
} from "./chunk-
|
|
111
|
+
} from "./chunk-AZPWF42S.js";
|
|
112
112
|
import {
|
|
113
113
|
AGENT_PROVIDERS,
|
|
114
114
|
PROVIDER_MODELS,
|
|
@@ -143,21 +143,21 @@ import {
|
|
|
143
143
|
saveConfigPatch,
|
|
144
144
|
sentimentInstallReadiness,
|
|
145
145
|
updateSharedProviderExecutionGate
|
|
146
|
-
} from "./chunk-
|
|
146
|
+
} from "./chunk-ZMCRVQ6Q.js";
|
|
147
147
|
import {
|
|
148
148
|
getBundledSkillSnapshots
|
|
149
|
-
} from "./chunk-
|
|
149
|
+
} from "./chunk-W3UYVNYQ.js";
|
|
150
150
|
import {
|
|
151
151
|
computeFactorAverages,
|
|
152
152
|
deleteSiteCrawlGraphLayout,
|
|
153
153
|
persistSiteCrawlGraphLayout,
|
|
154
154
|
prepareSiteCrawlGraphLayout,
|
|
155
155
|
recordedSharePct
|
|
156
|
-
} from "./chunk-
|
|
156
|
+
} from "./chunk-2LXLJXTG.js";
|
|
157
157
|
import {
|
|
158
158
|
CanonryMcpToolNames,
|
|
159
159
|
canonryMcpTools
|
|
160
|
-
} from "./chunk-
|
|
160
|
+
} from "./chunk-ZVDUBOE4.js";
|
|
161
161
|
import {
|
|
162
162
|
PACKAGE_VERSION
|
|
163
163
|
} from "./chunk-AOJU5LKX.js";
|
|
@@ -166,16 +166,16 @@ import {
|
|
|
166
166
|
} from "./chunk-HGMYEDAQ.js";
|
|
167
167
|
import {
|
|
168
168
|
IntelligenceService
|
|
169
|
-
} from "./chunk-
|
|
169
|
+
} from "./chunk-B27F7C6S.js";
|
|
170
170
|
import {
|
|
171
171
|
computeCitedCompetitorDomains,
|
|
172
172
|
determineCitationState
|
|
173
|
-
} from "./chunk-
|
|
173
|
+
} from "./chunk-KYZ5A7AX.js";
|
|
174
174
|
import {
|
|
175
175
|
addLogListener,
|
|
176
176
|
createFastifyLogger,
|
|
177
177
|
createLogger
|
|
178
|
-
} from "./chunk-
|
|
178
|
+
} from "./chunk-SNL4C4BV.js";
|
|
179
179
|
import {
|
|
180
180
|
BingApiError,
|
|
181
181
|
CC_CACHE_DIR,
|
|
@@ -325,8 +325,9 @@ import {
|
|
|
325
325
|
webhookOutcomeTarget,
|
|
326
326
|
webhookResponseReason,
|
|
327
327
|
webhookTargetRefusalReason,
|
|
328
|
+
webhookUserAgent,
|
|
328
329
|
writeAuditLog
|
|
329
|
-
} from "./chunk-
|
|
330
|
+
} from "./chunk-4ALKLWSQ.js";
|
|
330
331
|
import {
|
|
331
332
|
OperationalLogStore,
|
|
332
333
|
SentimentIdempotencyConflict,
|
|
@@ -428,7 +429,7 @@ import {
|
|
|
428
429
|
unrecognizedAgentEventsHourly,
|
|
429
430
|
unrecognizedAgentNotifyState,
|
|
430
431
|
usageCounters
|
|
431
|
-
} from "./chunk-
|
|
432
|
+
} from "./chunk-OBDRDAIK.js";
|
|
432
433
|
import {
|
|
433
434
|
AGENT_MEMORY_VALUE_MAX_BYTES,
|
|
434
435
|
AI_ENGINE_DOMAINS,
|
|
@@ -710,7 +711,7 @@ import {
|
|
|
710
711
|
winnabilityClassLabel,
|
|
711
712
|
withRetry,
|
|
712
713
|
withSkippedProviders
|
|
713
|
-
} from "./chunk-
|
|
714
|
+
} from "./chunk-JCK5TDIU.js";
|
|
714
715
|
|
|
715
716
|
// src/google-marketing-runtime.ts
|
|
716
717
|
import crypto2 from "crypto";
|
|
@@ -6464,7 +6465,7 @@ function nonBlank(value) {
|
|
|
6464
6465
|
return trimmed ? trimmed : void 0;
|
|
6465
6466
|
}
|
|
6466
6467
|
function resolveBuildCommit(env = process.env) {
|
|
6467
|
-
const embedded = true ? "
|
|
6468
|
+
const embedded = true ? "99a504985caa2a6a2f30bc54222c8d4fdb8b5147" : void 0;
|
|
6468
6469
|
return nonBlank(embedded) ?? nonBlank(env.CANONRY_COMMIT);
|
|
6469
6470
|
}
|
|
6470
6471
|
function resolveInstanceIdentity(env = process.env) {
|
|
@@ -17144,7 +17145,7 @@ var Notifier = class {
|
|
|
17144
17145
|
let lastFailure = { reasonCode: "UNKNOWN" };
|
|
17145
17146
|
for (let attempt = 0; attempt < maxRetries; attempt++) {
|
|
17146
17147
|
try {
|
|
17147
|
-
const response = await deliverWebhook(targetCheck.target, body, signingSecret);
|
|
17148
|
+
const response = await deliverWebhook(targetCheck.target, body, signingSecret, { userAgent: webhookUserAgent(PACKAGE_VERSION) });
|
|
17148
17149
|
if (response.status >= 200 && response.status < 300) {
|
|
17149
17150
|
log26.info("webhook.delivered", { event: payload.event, url: targetLabel, httpStatus: response.status });
|
|
17150
17151
|
this.logDelivery(projectId, notificationId, payload.event, "sent", null);
|
|
@@ -23180,6 +23181,7 @@ async function createServer(opts) {
|
|
|
23180
23181
|
// Powers the `canonry.version.current` doctor check. Non-blocking.
|
|
23181
23182
|
getUpdateStatus: () => getServerUpdateStatus(),
|
|
23182
23183
|
allowLoopbackWebhooks,
|
|
23184
|
+
appVersion: PACKAGE_VERSION,
|
|
23183
23185
|
// Wall-clock budget for one incremental Vercel drain. This is the only lever
|
|
23184
23186
|
// that decides whether a source catches up or falls further behind, and it
|
|
23185
23187
|
// was previously reachable only from tests, so a source losing ground could
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
measurementDraftUpsertGroupRequestSchema,
|
|
24
24
|
measurementDraftUpsertMarketRequestSchema,
|
|
25
25
|
measurementDraftUpsertTargetRequestSchema
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-JCK5TDIU.js";
|
|
27
27
|
|
|
28
28
|
// src/measurement-draft-actions.ts
|
|
29
29
|
import { z } from "zod";
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
configExists,
|
|
3
3
|
loadConfigRaw,
|
|
4
4
|
saveConfigPatch
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ZMCRVQ6Q.js";
|
|
6
6
|
import {
|
|
7
7
|
BUNDLED_SKILL_NAMES,
|
|
8
8
|
installSkills
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-W3UYVNYQ.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-
|
|
16
|
+
} from "./chunk-JCK5TDIU.js";
|
|
17
17
|
|
|
18
18
|
// src/skills-autosync.ts
|
|
19
19
|
import fs from "fs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
registeredProviderNames
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-TDRPVIUB.js";
|
|
4
4
|
import {
|
|
5
5
|
configExists,
|
|
6
6
|
loadConfigRaw
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-ZMCRVQ6Q.js";
|
|
8
8
|
|
|
9
9
|
// src/setup-state.ts
|
|
10
10
|
import fs from "fs";
|
|
@@ -28,7 +28,7 @@ async function buildSetupState() {
|
|
|
28
28
|
}
|
|
29
29
|
if (dbPath && fs.existsSync(dbPath)) {
|
|
30
30
|
try {
|
|
31
|
-
const { createClient, projects, queries: queriesTable } = await import("./src-
|
|
31
|
+
const { createClient, projects, queries: queriesTable } = await import("./src-GNBUAHT7.js");
|
|
32
32
|
const db = createClient(dbPath);
|
|
33
33
|
project_count = db.select({ id: projects.id }).from(projects).all().length;
|
|
34
34
|
const firstQuery = db.select({ id: queriesTable.id }).from(queriesTable).limit(1).all();
|
|
@@ -47,7 +47,7 @@ function queueServeHandoff() {
|
|
|
47
47
|
async function runPendingServeHandoff(format) {
|
|
48
48
|
if (!pendingServeHandoff) return;
|
|
49
49
|
pendingServeHandoff = false;
|
|
50
|
-
const { serveCommand } = await import("./serve-
|
|
50
|
+
const { serveCommand } = await import("./serve-HTQ76BFW.js");
|
|
51
51
|
await serveCommand(format);
|
|
52
52
|
}
|
|
53
53
|
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runWithUsageTags
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-AZPWF42S.js";
|
|
4
4
|
import {
|
|
5
5
|
CanonryMcpToolNames,
|
|
6
6
|
DEPRECATED_MCP_TOOL_ALIAS_NAMES,
|
|
7
7
|
canonryMcpTools
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ZVDUBOE4.js";
|
|
9
9
|
import {
|
|
10
10
|
CliError
|
|
11
11
|
} from "./chunk-HGMYEDAQ.js";
|
|
12
12
|
import {
|
|
13
13
|
buildOpenApiDocument
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-4ALKLWSQ.js";
|
|
15
15
|
import {
|
|
16
16
|
DEFAULT_COMPETITOR_AUTO_ALIAS_MODE,
|
|
17
17
|
MeasurementPortfolioLists,
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
seoDatasetWithoutVendor,
|
|
25
25
|
seoProviderSchema,
|
|
26
26
|
truncateUtf16
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-JCK5TDIU.js";
|
|
28
28
|
|
|
29
29
|
// src/agent/tools.ts
|
|
30
30
|
import { Type as Type2 } from "@earendil-works/pi-ai";
|
|
@@ -3,16 +3,16 @@ import {
|
|
|
3
3
|
CANONRY_MCP_TOOLKIT_NAMES,
|
|
4
4
|
isCanonryMcpToolkitName,
|
|
5
5
|
resolveAeroSkillDir
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-CIDXBCEW.js";
|
|
7
7
|
import {
|
|
8
8
|
createApiClient,
|
|
9
9
|
runWithUsageTags
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-AZPWF42S.js";
|
|
11
11
|
import {
|
|
12
12
|
canonryMcpTools,
|
|
13
13
|
mcpOutputSchema,
|
|
14
14
|
toolOperationAccess
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-ZVDUBOE4.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-
|
|
28
|
+
} from "./chunk-JCK5TDIU.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. 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',
|
|
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
|
});
|