@canonry/canonry 7.111.0 → 7.113.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 +1 -1
- package/assets/agent-workspace/skills/aero/references/ai-traffic-tracking.md +5 -3
- package/assets/agent-workspace/skills/canonry/references/aeo-analysis.md +8 -0
- package/assets/agent-workspace/skills/canonry/references/ai-traffic-tracking.md +5 -3
- package/assets/agent-workspace/skills/canonry/references/canonry-cli.md +6 -0
- package/assets/agent-workspace/skills/canonry/references/server-side-traffic.md +4 -0
- package/assets/assets/{AccessControls-CJMIWtDc.js → AccessControls-8KGSA5-k.js} +1 -1
- package/assets/assets/{AgentSetupPage-DR8w0A9t.js → AgentSetupPage-Bqpw8_pa.js} +1 -1
- package/assets/assets/{AuditHistoryPanel-BLF2-WSw.js → AuditHistoryPanel-0zcL5_KV.js} +1 -1
- package/assets/assets/{BacklinksPage-BCuEkphC.js → BacklinksPage-Kypu_CBg.js} +1 -1
- package/assets/assets/{ChartPrimitives-Dxr7b1zf.js → ChartPrimitives-CuLSMZRf.js} +1 -1
- package/assets/assets/{HistoryPage-C3UcNB4C.js → HistoryPage-CsSkwiHD.js} +1 -1
- package/assets/assets/{MeasurementPropertyPage-BKDciQn4.js → MeasurementPropertyPage-D4PDu2k_.js} +1 -1
- package/assets/assets/{ProjectPage-BwkFGMs_.js → ProjectPage-D00B6b7C.js} +3 -3
- package/assets/assets/{RunsPage-BqteFByy.js → RunsPage-CtcGk2M9.js} +1 -1
- package/assets/assets/{ServerTrafficSection-CqHfSvux.js → ServerTrafficSection-BWd-wDZM.js} +1 -1
- package/assets/assets/{SettingsPage-BORbl6fR.js → SettingsPage-DHWJtLmM.js} +1 -1
- package/assets/assets/ToneBadge-Ci54jPqm.js +60 -0
- package/assets/assets/{TrafficPage-xqJU4CR4.js → TrafficPage-C-3_NTXQ.js} +1 -1
- package/assets/assets/{TrafficSourceDetailPage-CVHyU3Za.js → TrafficSourceDetailPage-CRzsuCei.js} +1 -1
- package/assets/assets/{account-context-DR0diETl.js → account-context-DDb7nBdB.js} +1 -1
- package/assets/assets/{agent-trust-copy-DX06JhNj.js → agent-trust-copy-DfskKzsn.js} +1 -1
- package/assets/assets/{card-BG4pD6H7.js → card-BM8bXgNt.js} +1 -1
- package/assets/assets/{index-CggAFvBE.js → index-IFRMBJbA.js} +3 -3
- package/assets/assets/{query-client-DiID-orC.js → query-client-BQBRNHRa.js} +1 -1
- package/assets/assets/{react-query-gPYNMl8L.js → react-query-CJRQ352v.js} +1 -1
- package/assets/assets/{react-sigma_core.esm.min-CaAAyMHy.js → react-sigma_core.esm.min-BX0xxddn.js} +1 -1
- package/assets/assets/{server-traffic-DGkceMij.js → server-traffic-F4hKNLJy.js} +1 -1
- package/assets/assets/{service-DqtXV3A5.js → service-D08PUQzL.js} +1 -1
- package/assets/index.html +8 -8
- package/dist/{ads-MA5UHDSK.js → ads-RNE2CDPT.js} +3 -3
- package/dist/{agent-QBDESRUX.js → agent-H3RZA7V5.js} +7 -7
- package/dist/{agent-ask-DVUWIY4T.js → agent-ask-ZVM4P74Z.js} +3 -3
- package/dist/{agent-conversations-Q7SE57ZA.js → agent-conversations-WTD4LMN3.js} +3 -3
- package/dist/{agent-journeys-OWNSW6GR.js → agent-journeys-YNBUYJH3.js} +3 -3
- package/dist/{agent-memory-YIVRBUPS.js → agent-memory-KKTISDMW.js} +3 -3
- package/dist/{agent-providers-UDILAU6B.js → agent-providers-VW3PJ2CU.js} +3 -3
- package/dist/{agent-transcript-KU7ELEEC.js → agent-transcript-DSYFCMFG.js} +3 -3
- package/dist/{analytics-WFMI7N5Y.js → analytics-RUC5ENEA.js} +3 -3
- package/dist/{apply-2WHADGXD.js → apply-3DDFBAE4.js} +3 -3
- package/dist/{backfill-ZNGMPK7N.js → backfill-MBD5GR5J.js} +10 -10
- package/dist/{backlinks-LH77XWHZ.js → backlinks-EWALMBY5.js} +3 -3
- package/dist/{bing-5OCPBLYU.js → bing-KKG2726P.js} +3 -3
- package/dist/{bootstrap-SCTHOCSM.js → bootstrap-F4CAPH2R.js} +10 -10
- package/dist/{cdp-6OEBXRAY.js → cdp-4VYUIAD6.js} +7 -7
- package/dist/{chunk-YQ5NFMQB.js → chunk-2QSAPDUL.js} +1 -1
- package/dist/{chunk-UKQPA7NT.js → chunk-3NDZ43NA.js} +4 -4
- package/dist/{chunk-44JAOWMT.js → chunk-3TPGHPOR.js} +3 -3
- package/dist/{chunk-IBTMJA76.js → chunk-4HRWQTQY.js} +7 -7
- package/dist/{chunk-H5LL4HMB.js → chunk-5A2HNY42.js} +1 -1
- package/dist/{chunk-46HRC23F.js → chunk-5IEINES2.js} +1 -1
- package/dist/{chunk-U4YVA2A2.js → chunk-67MQRWOS.js} +2 -2
- package/dist/{chunk-WK6SPZG4.js → chunk-BHPOICVI.js} +1 -1
- package/dist/{chunk-DR4QNC2H.js → chunk-BN3PZHJW.js} +2 -2
- package/dist/{chunk-YOQQUG7C.js → chunk-CAQAEJBN.js} +1 -1
- package/dist/{chunk-523WBUKU.js → chunk-CTUWWYNV.js} +4 -4
- package/dist/{chunk-PPOHDQ3T.js → chunk-DKFVL2BE.js} +2 -2
- package/dist/{chunk-QKEBSO3T.js → chunk-GYFRSG7F.js} +31 -3
- package/dist/{chunk-BZMIVLRX.js → chunk-H3OKX3IA.js} +5 -5
- package/dist/{chunk-IU26JPKH.js → chunk-H6LGOLBW.js} +1884 -1386
- package/dist/{chunk-A2VDUQB2.js → chunk-HL2BOPH3.js} +3 -3
- package/dist/{chunk-4EWCBHGV.js → chunk-I2X27ECL.js} +2 -2
- package/dist/{chunk-3SCJOPT5.js → chunk-IBX6VC7A.js} +3 -3
- package/dist/{chunk-CJRL5BT3.js → chunk-IMVE7Z6S.js} +1 -1
- package/dist/{chunk-MQU5QBUQ.js → chunk-IXAVIBKP.js} +1 -1
- package/dist/{chunk-S7TL4SCS.js → chunk-IXJCFQFA.js} +4 -4
- package/dist/{chunk-XAS6ARPI.js → chunk-J6UROG7V.js} +1 -1
- package/dist/{chunk-TSQG2PNH.js → chunk-JEDFYKBL.js} +409 -368
- package/dist/{chunk-EQ6RZE7U.js → chunk-LAGHIZVO.js} +43 -6
- package/dist/{chunk-ORX3X7P5.js → chunk-NFWEMRP5.js} +22 -22
- package/dist/{chunk-LGPITEEE.js → chunk-NLFXESPW.js} +1 -1
- package/dist/{chunk-CIDXBCEW.js → chunk-NNHI6SOT.js} +2 -2
- package/dist/{chunk-VXOZUCH4.js → chunk-OXHJGGXR.js} +5 -5
- package/dist/{chunk-N5U474SX.js → chunk-OYOIW25C.js} +4 -4
- package/dist/{chunk-EUARY2OX.js → chunk-RFJY5UW2.js} +929 -716
- package/dist/{chunk-KMES74KU.js → chunk-T3IRL4TY.js} +2 -1
- package/dist/{chunk-BNHQ55UD.js → chunk-TUOPSFAU.js} +3 -3
- package/dist/{chunk-LGPJMBH2.js → chunk-UNZJCCDO.js} +2 -2
- package/dist/{chunk-LPW2TRLI.js → chunk-VBXXP3YY.js} +7 -7
- package/dist/{chunk-GHNEC23U.js → chunk-WPTF34LH.js} +1 -1
- package/dist/{chunk-ZKYOGC7O.js → chunk-WQN32NXS.js} +1 -1
- package/dist/{chunk-5IX4ZOSU.js → chunk-YSDMYHDM.js} +1 -1
- package/dist/{citations-27ENEGJM.js → citations-FWWFTIOT.js} +52 -4
- package/dist/{cli-catalog-PAZQB7WG.js → cli-catalog-RCM2HUCT.js} +3 -3
- package/dist/{cli-commands-L6G5AQG2.js → cli-commands-FGF5ZY2E.js} +7 -7
- package/dist/cli.js +13 -13
- package/dist/{competitor-EK5UX6W6.js → competitor-KGKTAS53.js} +3 -3
- package/dist/{content-3MBCVYMR.js → content-TXZ4IOGJ.js} +3 -3
- package/dist/{dashboard-5LZMYX52.js → dashboard-IGBJPCUX.js} +6 -6
- package/dist/{demo-2NB2BVZO.js → demo-UXJ6SLWM.js} +1 -1
- package/dist/{demo-server-MUJ566YQ.js → demo-server-VFRGZEEQ.js} +13 -12
- package/dist/{discover-VMPF4CLS.js → discover-EJSVZOVY.js} +4 -4
- package/dist/{discover-eval-EK5ZAJKW.js → discover-eval-6U5C6O5F.js} +3 -3
- package/dist/{doctor-2KY5SS4O.js → doctor-ONEJYJ2A.js} +3 -3
- package/dist/{evidence-OXYY666S.js → evidence-DRQCHIWI.js} +3 -3
- package/dist/{export-cmd-5Q6TNXN6.js → export-cmd-YJ3AFLXR.js} +3 -3
- package/dist/{ga-CG3KAWEE.js → ga-AP4F2LSD.js} +3 -3
- package/dist/{gbp-F555XC4I.js → gbp-W2BZILFX.js} +3 -3
- package/dist/{google-44XHCXOZ.js → google-CNY7J4MZ.js} +4 -4
- package/dist/{google-marketing-MSJVMCMQ.js → google-marketing-OT2JSJUY.js} +1 -1
- package/dist/{health-cmd-KXCY4527.js → health-cmd-DU33WCDD.js} +4 -4
- package/dist/{history-Y6PMRNUA.js → history-HRY6TLYX.js} +3 -3
- package/dist/index.d.ts +70 -70
- package/dist/index.js +26 -26
- package/dist/{init-CCVUPSZZ.js → init-XQJZ6DQX.js} +12 -12
- package/dist/{insights-FGR5AU5D.js → insights-SMURU5LJ.js} +3 -3
- package/dist/intelligence-service-UEIV4CYJ.js +16 -0
- package/dist/{journeys-2V4KIVDF.js → journeys-BASXVLUD.js} +3 -3
- package/dist/{keys-2EOH2M22.js → keys-KBHFQCQ5.js} +3 -3
- package/dist/{keyword-XFHVSN3B.js → keyword-EPNX57S2.js} +3 -3
- package/dist/{logs-WJU66NI5.js → logs-EHWCAIDD.js} +3 -3
- package/dist/{mcp-23HANPN3.js → mcp-TIMFG2HU.js} +4 -4
- package/dist/mcp.js +10 -10
- package/dist/{measurement-plan-VQIG5UCP.js → measurement-plan-T2WUFQGZ.js} +5 -5
- package/dist/{notify-E33IOGRC.js → notify-EGJHQXJY.js} +3 -3
- package/dist/{organic-evidence-3YJ3WTF5.js → organic-evidence-NZ4BYT7G.js} +3 -3
- package/dist/{overview-66VPXGSA.js → overview-FSTEFM7S.js} +5 -5
- package/dist/{project-SHXJFR3K.js → project-ZOGGHFMI.js} +3 -3
- package/dist/{project-setup-SMTRU7UG.js → project-setup-DA55HKTE.js} +3 -3
- package/dist/{query-UNCXNQLZ.js → query-YSZCPFUW.js} +3 -3
- package/dist/{research-C5JIOYGU.js → research-C3BDNI7X.js} +3 -3
- package/dist/{results-export-WZZDWAQB.js → results-export-YBHQ4GJY.js} +3 -3
- package/dist/{run-NRBLHGT3.js → run-OI4Y4CPZ.js} +5 -5
- package/dist/{schedule-BOBKSQAN.js → schedule-HI5QUYZN.js} +3 -3
- package/dist/{search-26B4UX3P.js → search-H5VREMQP.js} +3 -3
- package/dist/{serve-3TN2RDHE.js → serve-OVEZ6LLG.js} +27 -27
- package/dist/{session-PTB4UBY3.js → session-6HUFUB6Y.js} +14 -14
- package/dist/{settings-25JAM5MJ.js → settings-M3TBHMXQ.js} +3 -3
- package/dist/{sitemaps-YXJIIT52.js → sitemaps-6ZZ4LAPG.js} +3 -3
- package/dist/{skills-HAYPXHWH.js → skills-HWXV6FII.js} +2 -2
- package/dist/{snapshot-V6D4W4MF.js → snapshot-VSQMPHFQ.js} +3 -3
- package/dist/{src-ENRBRVV2.js → src-54XVRI7X.js} +2 -2
- package/dist/{status-35RGWHEQ.js → status-6IB2JLE6.js} +5 -5
- package/dist/{technical-aeo-YG7Q3554.js → technical-aeo-PZHXLFS4.js} +3 -3
- package/dist/{telemetry-LUT6F4HJ.js → telemetry-K3XNIML6.js} +4 -4
- package/dist/{tools-NPGGINFO.js → tools-KQD2AZTB.js} +11 -11
- package/dist/{traffic-CKYSAD4T.js → traffic-ZRFDZG7J.js} +55 -13
- package/dist/{trends-NQZD7X67.js → trends-Q7YV4H6S.js} +3 -3
- package/dist/{users-6FPNRCXJ.js → users-KIC522TT.js} +3 -3
- package/dist/{visibility-stats-S2FXH3NH.js → visibility-stats-MN7367BK.js} +4 -4
- package/dist/{wordpress-BN62WUII.js → wordpress-7UL7Q5HH.js} +3 -3
- package/package.json +1 -1
- package/assets/assets/ToneBadge-Cu25HdVj.js +0 -60
- package/dist/intelligence-service-NOZAMR73.js +0 -16
|
@@ -5,17 +5,18 @@ import {
|
|
|
5
5
|
dedupeGscSitemapUrls,
|
|
6
6
|
resolveDiscoveredGscSitemapUrls,
|
|
7
7
|
submitGscSitemapBatches
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-NLFXESPW.js";
|
|
9
9
|
import {
|
|
10
10
|
measurementDraftOperationSchema,
|
|
11
11
|
runMeasurementDraftAction
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-5IEINES2.js";
|
|
13
13
|
import {
|
|
14
14
|
CliError
|
|
15
15
|
} from "./chunk-HGMYEDAQ.js";
|
|
16
16
|
import {
|
|
17
17
|
AGENT_MEMORY_KEY_MAX_LENGTH,
|
|
18
18
|
AGENT_MEMORY_VALUE_MAX_BYTES,
|
|
19
|
+
CITATION_URL_CATEGORY_HINT,
|
|
19
20
|
DISCOVERY_DEFAULT_DEDUP_THRESHOLD,
|
|
20
21
|
DISCOVERY_MAX_PROBES_CAP,
|
|
21
22
|
DISCOVERY_PROBE_CONCURRENCY_CAP,
|
|
@@ -32,6 +33,7 @@ import {
|
|
|
32
33
|
SENTIMENT_QUERY_PAGE_MAX,
|
|
33
34
|
SEO_RUN_SCOPE,
|
|
34
35
|
SEO_WRITE_SCOPE,
|
|
36
|
+
TRAFFIC_EVENT_GROUP_BY_HINT,
|
|
35
37
|
TRAFFIC_EVENT_KIND_FILTER_HINT,
|
|
36
38
|
WINDOW_SETS,
|
|
37
39
|
adsActivateTreeRequestSchema,
|
|
@@ -108,6 +110,8 @@ import {
|
|
|
108
110
|
operationAccess,
|
|
109
111
|
operationalLogListReadSchema,
|
|
110
112
|
organicEvidencePeriodSchema,
|
|
113
|
+
parseCitationUrlCategories,
|
|
114
|
+
parseTrafficEventGroupBy,
|
|
111
115
|
parseTrafficEventKindFilter,
|
|
112
116
|
projectConfigSchema,
|
|
113
117
|
projectPatchRequestSchema,
|
|
@@ -201,7 +205,7 @@ import {
|
|
|
201
205
|
trendSurfaceSchema,
|
|
202
206
|
visibilityCompareSelectionSchema,
|
|
203
207
|
visibilityReportRequestSchema
|
|
204
|
-
} from "./chunk-
|
|
208
|
+
} from "./chunk-RFJY5UW2.js";
|
|
205
209
|
|
|
206
210
|
// src/mcp/tool-registry.ts
|
|
207
211
|
import { z as z2 } from "zod";
|
|
@@ -968,8 +972,12 @@ var trafficEventsInputSchema = z2.object({
|
|
|
968
972
|
until: z2.string().optional().describe("ISO 8601 upper bound. Defaults to now when omitted."),
|
|
969
973
|
kind: z2.string().refine((value) => parseTrafficEventKindFilter(value) !== null, { message: `kind must be ${TRAFFIC_EVENT_KIND_FILTER_HINT}` }).optional().describe('Filter to "crawler", "ai-user-fetch", "ai-referral", a comma-separated list of them (e.g. "ai-user-fetch,ai-referral"), or "all" (default). Rows, totals and series cover only the kinds asked for.'),
|
|
970
974
|
sourceId: z2.string().min(1).optional().describe("Restrict to a single traffic source ID."),
|
|
971
|
-
limit: z2.number().int().positive().max(5e3).optional().describe("Max combined rows. Defaults to 500, max 5000. Totals always reflect the full window."),
|
|
972
|
-
granularity: trafficSeriesGranularitySchema.optional().describe("Full-window chart series bucket size: hour (default), day, or month (UTC calendar months).")
|
|
975
|
+
limit: z2.number().int().positive().max(5e3).optional().describe("Max combined rows per page, and max groups with groupBy. Defaults to 500, max 5000. Totals always reflect the full filtered window."),
|
|
976
|
+
granularity: trafficSeriesGranularitySchema.optional().describe("Full-window chart series bucket size: hour (default), day, or month (UTC calendar months)."),
|
|
977
|
+
path: z2.string().min(1).optional().describe('A page and the pages under it: "/faq" matches "/faq" and "/faq/x", never "/faqs"; "/products/" matches everything under /products. Case counts. Matches the landing path on AI-referral rows. Totals, series, rows and groups all honor it.'),
|
|
978
|
+
agent: z2.string().min(1).optional().describe('Exact bot ID such as "openai-searchbot" or "openai-chatgpt-user", or the AI product on AI-referral rows. Totals, series, rows and groups all honor it.'),
|
|
979
|
+
cursor: z2.string().min(1).optional().describe("eventRows.nextCursor from the previous page. Repeat the same kind, sourceId, path and agent; the cursor keeps the first page's window."),
|
|
980
|
+
groupBy: z2.string().refine((value) => parseTrafficEventGroupBy(value) !== null, { message: `groupBy must be ${TRAFFIC_EVENT_GROUP_BY_HINT}` }).optional().describe('Totals over the whole filtered window, split by kind plus any of: agent, path, status, source (comma-separated). Use it to answer "which bots read this page" or "which pages did this bot read" in one call.')
|
|
973
981
|
});
|
|
974
982
|
var trafficSourceIdInputSchema = z2.object({
|
|
975
983
|
project: projectNameSchema,
|
|
@@ -2109,6 +2117,31 @@ var rawCanonryMcpTools = [
|
|
|
2109
2117
|
openApiOperations: ["GET /api/v1/projects/{name}/citations/visibility"],
|
|
2110
2118
|
handler: (client, input) => client.getCitationVisibility(input.project)
|
|
2111
2119
|
}),
|
|
2120
|
+
defineTool({
|
|
2121
|
+
name: "canonry_citation_urls",
|
|
2122
|
+
title: "List cited pages",
|
|
2123
|
+
description: 'Every page the stored answers cite, one row per page across the sweeps in scope: answers citing it, how many mention the brand (answersMentionUnchecked were never checked, never "not mentioned"), engines, queries, first and last sweep, and newInLatest. Answers stored before page capture are left out and counted in answersPagesNotCaptured. Use category "forum,social,video" for discussion threads and posts, domain for one site, and newInLatest=true for pages the latest sweep cited for the first time. "First" is within the window, so pass window "all" for all history. Links are compared one way (https, no www, no utm parameters, a Reddit thread by its id). Page with nextCursor.',
|
|
2124
|
+
access: "read",
|
|
2125
|
+
tier: "monitoring",
|
|
2126
|
+
inputSchema: z2.object({
|
|
2127
|
+
project: projectNameSchema,
|
|
2128
|
+
window: z2.enum(["7d", "30d", "90d", "all"]).optional().describe("Sweeps in scope. Defaults to all."),
|
|
2129
|
+
domain: z2.string().min(1).optional().describe('Only pages on this host or its subdomains, e.g. "reddit.com".'),
|
|
2130
|
+
category: z2.string().refine((value) => parseCitationUrlCategories(value) !== null, { message: `category must be ${CITATION_URL_CATEGORY_HINT}` }).optional().describe('Comma-separated source categories, e.g. "forum,social,video" for threads and posts people can reply to.'),
|
|
2131
|
+
provider: z2.string().min(1).optional().describe('Only answers from this engine id, e.g. "gemini" or "openai".'),
|
|
2132
|
+
queryClass: z2.enum(["all", "branded", "non-brand"]).optional().describe("Branded or non-brand queries only, classified as the sources read does. Defaults to all, which pools both classes."),
|
|
2133
|
+
newInLatest: z2.boolean().optional().describe("Only pages the latest sweep cited and no earlier sweep in scope did."),
|
|
2134
|
+
sort: z2.enum(["answers", "newest"]).optional().describe("answers (default): most citing answers first. newest: most recent first citation first."),
|
|
2135
|
+
limit: z2.number().int().min(1).max(1e3).optional().describe("Pages per response, default 100."),
|
|
2136
|
+
cursor: z2.string().min(1).optional().describe("nextCursor from the previous response; repeat the same filters.")
|
|
2137
|
+
}),
|
|
2138
|
+
annotations: readAnnotations(),
|
|
2139
|
+
openApiOperations: ["GET /api/v1/projects/{name}/citations/urls"],
|
|
2140
|
+
handler: (client, input) => {
|
|
2141
|
+
const { project, ...query } = input;
|
|
2142
|
+
return client.getCitationUrls(project, query);
|
|
2143
|
+
}
|
|
2144
|
+
}),
|
|
2112
2145
|
defineTool({
|
|
2113
2146
|
name: "canonry_visibility_stats",
|
|
2114
2147
|
title: "Get aggregated mention/citation stats",
|
|
@@ -3333,7 +3366,7 @@ var rawCanonryMcpTools = [
|
|
|
3333
3366
|
defineTool({
|
|
3334
3367
|
name: "canonry_traffic_events",
|
|
3335
3368
|
title: "List traffic events",
|
|
3336
|
-
description: "Read crawler, AI user-fetch, and AI-referral rollups from server-side traffic sources. Returns complete full-window chart series and totals plus a
|
|
3369
|
+
description: "Read crawler, AI user-fetch, and AI-referral rollups from server-side traffic sources. Returns complete full-window chart series and totals plus a paged discriminated detail list (eventRows.nextCursor). Narrow everything with path and agent; add groupBy for totals per agent or path. Window defaults to last 24h.",
|
|
3337
3370
|
access: "read",
|
|
3338
3371
|
tier: "traffic",
|
|
3339
3372
|
inputSchema: trafficEventsInputSchema,
|
|
@@ -3347,6 +3380,10 @@ var rawCanonryMcpTools = [
|
|
|
3347
3380
|
if (input.sourceId) params.sourceId = input.sourceId;
|
|
3348
3381
|
if (input.limit !== void 0) params.limit = input.limit;
|
|
3349
3382
|
if (input.granularity) params.granularity = input.granularity;
|
|
3383
|
+
if (input.path) params.path = input.path;
|
|
3384
|
+
if (input.agent) params.agent = input.agent;
|
|
3385
|
+
if (input.cursor) params.cursor = input.cursor;
|
|
3386
|
+
if (input.groupBy) params.groupBy = input.groupBy;
|
|
3350
3387
|
return client.trafficListEvents(input.project, params);
|
|
3351
3388
|
}
|
|
3352
3389
|
}),
|
|
@@ -24,18 +24,18 @@ import {
|
|
|
24
24
|
resolveConfiguredAgentProvider,
|
|
25
25
|
resolveSessionProviderAndModel,
|
|
26
26
|
setAeroSystemPrompt
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-VBXXP3YY.js";
|
|
28
28
|
import {
|
|
29
29
|
answerServiceAdapters,
|
|
30
30
|
answerServiceDescriptors
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-WPTF34LH.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-3NDZ43NA.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-5A2HNY42.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-OXHJGGXR.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-IXJCFQFA.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-CAQAEJBN.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-BN3PZHJW.js";
|
|
102
102
|
import {
|
|
103
103
|
createCanonryMcpServer
|
|
104
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-CTUWWYNV.js";
|
|
105
105
|
import {
|
|
106
106
|
CANONRY_MCP_TIERS,
|
|
107
107
|
CANONRY_MCP_TOOLKIT_NAMES
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-NNHI6SOT.js";
|
|
109
109
|
import {
|
|
110
110
|
ApiClient
|
|
111
|
-
} from "./chunk-
|
|
111
|
+
} from "./chunk-GYFRSG7F.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-WQN32NXS.js";
|
|
147
147
|
import {
|
|
148
148
|
getBundledSkillSnapshots
|
|
149
|
-
} from "./chunk-
|
|
149
|
+
} from "./chunk-IMVE7Z6S.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-DKFVL2BE.js";
|
|
157
157
|
import {
|
|
158
158
|
CanonryMcpToolNames,
|
|
159
159
|
canonryMcpTools
|
|
160
|
-
} from "./chunk-
|
|
160
|
+
} from "./chunk-LAGHIZVO.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-H3OKX3IA.js";
|
|
170
170
|
import {
|
|
171
171
|
computeCitedCompetitorDomains,
|
|
172
172
|
determineCitationState
|
|
173
|
-
} from "./chunk-
|
|
173
|
+
} from "./chunk-J6UROG7V.js";
|
|
174
174
|
import {
|
|
175
175
|
addLogListener,
|
|
176
176
|
createFastifyLogger,
|
|
177
177
|
createLogger
|
|
178
|
-
} from "./chunk-
|
|
178
|
+
} from "./chunk-UNZJCCDO.js";
|
|
179
179
|
import {
|
|
180
180
|
BingApiError,
|
|
181
181
|
CC_CACHE_DIR,
|
|
@@ -327,7 +327,7 @@ import {
|
|
|
327
327
|
webhookTargetRefusalReason,
|
|
328
328
|
webhookUserAgent,
|
|
329
329
|
writeAuditLog
|
|
330
|
-
} from "./chunk-
|
|
330
|
+
} from "./chunk-H6LGOLBW.js";
|
|
331
331
|
import {
|
|
332
332
|
OperationalLogStore,
|
|
333
333
|
SentimentIdempotencyConflict,
|
|
@@ -429,7 +429,7 @@ import {
|
|
|
429
429
|
unrecognizedAgentEventsHourly,
|
|
430
430
|
unrecognizedAgentNotifyState,
|
|
431
431
|
usageCounters
|
|
432
|
-
} from "./chunk-
|
|
432
|
+
} from "./chunk-IXAVIBKP.js";
|
|
433
433
|
import {
|
|
434
434
|
AGENT_MEMORY_VALUE_MAX_BYTES,
|
|
435
435
|
AI_ENGINE_DOMAINS,
|
|
@@ -711,7 +711,7 @@ import {
|
|
|
711
711
|
winnabilityClassLabel,
|
|
712
712
|
withRetry,
|
|
713
713
|
withSkippedProviders
|
|
714
|
-
} from "./chunk-
|
|
714
|
+
} from "./chunk-RFJY5UW2.js";
|
|
715
715
|
|
|
716
716
|
// src/google-marketing-runtime.ts
|
|
717
717
|
import crypto2 from "crypto";
|
|
@@ -6465,7 +6465,7 @@ function nonBlank(value) {
|
|
|
6465
6465
|
return trimmed ? trimmed : void 0;
|
|
6466
6466
|
}
|
|
6467
6467
|
function resolveBuildCommit(env = process.env) {
|
|
6468
|
-
const embedded = true ? "
|
|
6468
|
+
const embedded = true ? "6beabd2e2422891bc514bb5a3e509ed6af238fd8" : void 0;
|
|
6469
6469
|
return nonBlank(embedded) ?? nonBlank(env.CANONRY_COMMIT);
|
|
6470
6470
|
}
|
|
6471
6471
|
function resolveInstanceIdentity(env = process.env) {
|
|
@@ -62,8 +62,8 @@ 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, 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
|
-
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."
|
|
65
|
+
description: "Inspect portfolio and Property measurement, question results, branded and non-brand sentiment and evidence, cited pages and threads (new ones per sweep), 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
|
+
whenToLoad: "Load when finding weak Properties, reviewing answers, sentiment and competitors, listing the threads and pages engines cite, 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
|
{
|
|
69
69
|
name: "setup",
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLogger
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-UNZJCCDO.js";
|
|
4
4
|
import {
|
|
5
5
|
addLikelyFakeAgentHits,
|
|
6
6
|
correctBackgroundCallJourneys,
|
|
7
7
|
mergeSplitJourneyVisitors,
|
|
8
8
|
repairAiReferralArrivalsOnStartup,
|
|
9
9
|
writeUnrecognizedAgentBuckets
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-H6LGOLBW.js";
|
|
11
11
|
import {
|
|
12
12
|
AGENT_TRUST_RULES_VERSION,
|
|
13
13
|
BROWSER_AGENT_BOT_IDS,
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
normalizeTrafficPathPattern,
|
|
32
32
|
rulesShareVerificationList,
|
|
33
33
|
unrecognizedAgentName
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-YSDMYHDM.js";
|
|
35
35
|
import {
|
|
36
36
|
RawEventSampleEventTypes,
|
|
37
37
|
agentJourneyCaptureDays,
|
|
@@ -48,7 +48,7 @@ import {
|
|
|
48
48
|
trafficReclassificationState,
|
|
49
49
|
trafficSources,
|
|
50
50
|
unrecognizedAgentEventsHourly
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-IXAVIBKP.js";
|
|
52
52
|
import {
|
|
53
53
|
AI_ENGINE_DOMAINS,
|
|
54
54
|
AI_ENGINE_SELF_DOMAINS,
|
|
@@ -84,7 +84,7 @@ import {
|
|
|
84
84
|
sortedUnique,
|
|
85
85
|
usageCount,
|
|
86
86
|
withRetry
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-RFJY5UW2.js";
|
|
88
88
|
|
|
89
89
|
// ../provider-openai/src/normalize.ts
|
|
90
90
|
import OpenAI from "openai";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
registeredProviderNames
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-CAQAEJBN.js";
|
|
4
4
|
import {
|
|
5
5
|
configExists,
|
|
6
6
|
loadConfigRaw
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-WQN32NXS.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-54XVRI7X.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-OVEZ6LLG.js");
|
|
51
51
|
await serveCommand(format);
|
|
52
52
|
}
|
|
53
53
|
|