mcp-scraper 0.72.7 → 0.73.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/CHANGELOG.md +26 -1
- package/README.md +16 -2
- package/dist/{analytics-repository-6YLRSWYO.js → analytics-repository-MSLJBHLU.js} +15 -1
- package/dist/bin/api-server.js +3 -3
- package/dist/bin/mcp-scraper-cli.js +1 -1
- package/dist/bin/mcp-scraper-install.js +2 -2
- package/dist/bin/mcp-stdio-server.js +4 -4
- package/dist/{chunk-SR7GSLEA.js → chunk-5EWXRBEH.js} +816 -113
- package/dist/{chunk-FVL4GUTP.js → chunk-EQJRPDUS.js} +2 -2
- package/dist/{chunk-RRZAYUEX.js → chunk-JIWGG7Z4.js} +1 -1
- package/dist/{chunk-ZSVXNLLM.js → chunk-KRIIVDV2.js} +188 -14
- package/dist/{chunk-RAFQEPJ4.js → chunk-Q2J23DHY.js} +1 -1
- package/dist/{chunk-I45JV4EU.js → chunk-RV2D27R4.js} +1 -1
- package/dist/{chunk-K2SXQGKM.js → chunk-S45DGELW.js} +1 -1
- package/dist/{extract-bundle-337ZDIIQ.js → extract-bundle-2V22S7EU.js} +2 -2
- package/dist/{gmail-service-QXDGNWUJ.js → gmail-service-JHL4PQFN.js} +2 -2
- package/dist/{server-M5FLUWYD.js → server-N6MCRSQW.js} +14433 -12846
- package/dist/{site-extract-repository-ACNAVNDN.js → site-extract-repository-DUAEAU6A.js} +2 -2
- package/dist/{worker-JQORPCFQ.js → worker-CBK5DWEE.js} +1 -1
- package/package.json +16 -4
- package/dist/bin/api-server.cjs +0 -108656
- package/dist/bin/api-server.d.cts +0 -1
- package/dist/bin/api-server.d.ts +0 -1
- package/dist/bin/mcp-scraper-cli.cjs +0 -3219
- package/dist/bin/mcp-scraper-cli.d.cts +0 -1
- package/dist/bin/mcp-scraper-cli.d.ts +0 -1
- package/dist/bin/mcp-scraper-install.cjs +0 -134
- package/dist/bin/mcp-scraper-install.d.cts +0 -1
- package/dist/bin/mcp-scraper-install.d.ts +0 -1
- package/dist/bin/mcp-stdio-server.cjs +0 -22333
- package/dist/bin/mcp-stdio-server.d.cts +0 -1
- package/dist/bin/mcp-stdio-server.d.ts +0 -1
- package/dist/bin/paa-harvest.cjs +0 -4745
- package/dist/bin/paa-harvest.d.cts +0 -1
- package/dist/bin/paa-harvest.d.ts +0 -1
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
} from "./chunk-VXLU74YZ.js";
|
|
33
33
|
import {
|
|
34
34
|
PACKAGE_VERSION
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-JIWGG7Z4.js";
|
|
36
36
|
import {
|
|
37
37
|
createPrivateArtifact,
|
|
38
38
|
privateArtifactOwnerId,
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
PAA_QUESTION_CREDITS,
|
|
46
46
|
PAGE_SCRAPE_CREDITS,
|
|
47
47
|
SERP_SEARCH_CREDITS
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-EQJRPDUS.js";
|
|
49
49
|
import {
|
|
50
50
|
PUBLIC_ERROR_CODES,
|
|
51
51
|
buildPublicErrorEnvelope,
|
|
@@ -12326,9 +12326,17 @@ var AnalyticsExplorerInputSchema = {
|
|
|
12326
12326
|
maximumDurationMs: z11.number().int().min(0).max(31536e6).optional().describe("Maximum measured session duration in milliseconds."),
|
|
12327
12327
|
journeyTier: z11.enum(["confirmed", "best_guess", "all"]).default("confirmed").describe("Confirmed is the default. Best-guess totals remain separate and cannot drive CRM or advertising actions.")
|
|
12328
12328
|
};
|
|
12329
|
+
var AnalyticsJourneysInputSchema = {
|
|
12330
|
+
siteId: z11.string().uuid().describe("Analytics Site id returned by analytics_list_sites."),
|
|
12331
|
+
journeyTier: z11.enum(["confirmed", "best_guess", "all"]).default("confirmed").describe("Select confirmed journeys, separately labeled best-guess journeys, or both branches. Confirmed is the default; best-guess evidence can never drive CRM or advertising actions."),
|
|
12332
|
+
limit: z11.number().int().min(1).max(100).default(50).describe("Maximum rows returned in each selected journey branch."),
|
|
12333
|
+
cursor: z11.string().max(1e3).optional().describe("Opaque keyset cursor returned in a selected branch pageInfo.nextCursor.")
|
|
12334
|
+
};
|
|
12329
12335
|
var AnalyticsExplorerDetailInputSchema = {
|
|
12330
12336
|
siteId: z11.string().uuid().describe("Analytics Site id returned by analytics_list_sites."),
|
|
12331
|
-
reference: AnalyticsOpaqueRef
|
|
12337
|
+
reference: AnalyticsOpaqueRef,
|
|
12338
|
+
from: z11.string().datetime({ offset: true }).optional().describe("Inclusive ISO time. Defaults to 90 days before to; max window 366 days."),
|
|
12339
|
+
to: z11.string().datetime({ offset: true }).optional().describe("Exclusive ISO time. Defaults to now; max window 366 days.")
|
|
12332
12340
|
};
|
|
12333
12341
|
var AnalyticsFunnelStage = z11.object({
|
|
12334
12342
|
key: z11.string().regex(/^[a-z][a-z0-9_]{1,79}$/).describe("Stable stage key."),
|
|
@@ -12578,6 +12586,7 @@ var AnalyticsActivationAssetsInputSchema = {
|
|
|
12578
12586
|
};
|
|
12579
12587
|
var AnalyticsActivationMappingInputSchema = {
|
|
12580
12588
|
siteId: z11.string().uuid().describe("Analytics Site id returned by analytics_list_sites."),
|
|
12589
|
+
journeyTier: z11.literal("confirmed").default("confirmed").describe("External activation is confirmed-only. Best-guess and candidate-assisted journey evidence is schema-invalid."),
|
|
12581
12590
|
platform: z11.enum(["meta", "google", "tiktok", "reddit"]).describe("Destination provider."),
|
|
12582
12591
|
externalDatasetId: z11.string().min(1).max(500).describe("Authorized dataset, Pixel, or conversion-action id."),
|
|
12583
12592
|
eventMapping: z11.record(z11.string().regex(/^[a-z][a-z0-9_]{1,79}$/), z11.string().min(1).max(160)).describe("Confirmed X-Ray event to provider event mapping. Candidate-assisted events are ineligible.")
|
|
@@ -12635,6 +12644,154 @@ var AnalyticsSafeOutputRecord = z11.record(z11.string(), z11.unknown());
|
|
|
12635
12644
|
var AnalyticsSafeOutputRecords = z11.array(AnalyticsSafeOutputRecord);
|
|
12636
12645
|
var analyticsRecordOutput = (field) => ({ ok: z11.boolean(), [field]: AnalyticsSafeOutputRecord });
|
|
12637
12646
|
var analyticsRecordsOutput = (field) => ({ ok: z11.boolean(), [field]: AnalyticsSafeOutputRecords });
|
|
12647
|
+
var AnalyticsJourneyRevenueSchema = z11.object({
|
|
12648
|
+
valueMinor: z11.number().int().min(0).max(Number.MAX_SAFE_INTEGER),
|
|
12649
|
+
currency: z11.string().length(3).nullable()
|
|
12650
|
+
}).strict();
|
|
12651
|
+
var AnalyticsJourneyPageInfoSchema = z11.object({
|
|
12652
|
+
nextCursor: z11.string().min(8).max(1e3).nullable(),
|
|
12653
|
+
hasNextPage: z11.boolean()
|
|
12654
|
+
}).strict();
|
|
12655
|
+
var AnalyticsConfirmedJourneyPageSchema = z11.object({
|
|
12656
|
+
journeyTier: z11.literal("confirmed"),
|
|
12657
|
+
items: z11.array(z11.object({
|
|
12658
|
+
journeyTier: z11.literal("confirmed"),
|
|
12659
|
+
personRef: AnalyticsOpaqueRef,
|
|
12660
|
+
firstSeenAt: z11.string().datetime().nullable(),
|
|
12661
|
+
lastSeenAt: z11.string().datetime().nullable(),
|
|
12662
|
+
sessions: z11.number().int().min(0),
|
|
12663
|
+
events: z11.number().int().min(0),
|
|
12664
|
+
conversions: z11.number().int().min(0),
|
|
12665
|
+
revenue: AnalyticsJourneyRevenueSchema.nullable(),
|
|
12666
|
+
evidenceClass: z11.literal("deterministic")
|
|
12667
|
+
}).strict()).max(100),
|
|
12668
|
+
pageInfo: AnalyticsJourneyPageInfoSchema
|
|
12669
|
+
}).strict();
|
|
12670
|
+
var AnalyticsBestGuessJourneyPageSchema = z11.object({
|
|
12671
|
+
journeyTier: z11.literal("candidate_assisted"),
|
|
12672
|
+
totalsAreSeparated: z11.literal(true),
|
|
12673
|
+
items: z11.array(z11.object({
|
|
12674
|
+
journeyTier: z11.literal("candidate_assisted"),
|
|
12675
|
+
inferenceRef: AnalyticsOpaqueRef,
|
|
12676
|
+
confirmedTotals: z11.object({
|
|
12677
|
+
sessions: z11.number().int().min(0),
|
|
12678
|
+
events: z11.number().int().min(0),
|
|
12679
|
+
conversions: z11.number().int().min(0),
|
|
12680
|
+
revenue: AnalyticsJourneyRevenueSchema.nullable()
|
|
12681
|
+
}).strict(),
|
|
12682
|
+
inferredIncrementalTotals: z11.object({
|
|
12683
|
+
sessions: z11.number().int().min(0),
|
|
12684
|
+
events: z11.number().int().min(0),
|
|
12685
|
+
conversions: z11.number().int().min(0),
|
|
12686
|
+
revenue: AnalyticsJourneyRevenueSchema.nullable()
|
|
12687
|
+
}).strict(),
|
|
12688
|
+
candidateCount: z11.number().int().min(1),
|
|
12689
|
+
confidenceBand: z11.literal("high"),
|
|
12690
|
+
modelVersion: z11.string().min(1).max(160),
|
|
12691
|
+
featureClasses: z11.array(z11.string().min(1).max(160)).max(100),
|
|
12692
|
+
coverage: z11.enum(["incremental_sessions_available", "no_incremental_sessions"]),
|
|
12693
|
+
expiresAt: z11.string().datetime(),
|
|
12694
|
+
provenance: z11.literal("consented_high_confidence_candidate_association")
|
|
12695
|
+
}).strict()).max(100),
|
|
12696
|
+
pageInfo: AnalyticsJourneyPageInfoSchema
|
|
12697
|
+
}).strict();
|
|
12698
|
+
var AnalyticsJourneysResultSchema = z11.discriminatedUnion("journeyTier", [
|
|
12699
|
+
z11.object({ ok: z11.boolean(), journeyTier: z11.literal("confirmed"), confirmed: AnalyticsConfirmedJourneyPageSchema, bestGuess: z11.null(), totalsAreSeparated: z11.literal(false) }).strict(),
|
|
12700
|
+
z11.object({ ok: z11.boolean(), journeyTier: z11.literal("best_guess"), confirmed: z11.null(), bestGuess: AnalyticsBestGuessJourneyPageSchema, totalsAreSeparated: z11.literal(false) }).strict(),
|
|
12701
|
+
z11.object({ ok: z11.boolean(), journeyTier: z11.literal("all"), confirmed: AnalyticsConfirmedJourneyPageSchema, bestGuess: AnalyticsBestGuessJourneyPageSchema, totalsAreSeparated: z11.literal(true) }).strict()
|
|
12702
|
+
]);
|
|
12703
|
+
var AnalyticsJourneysOutputSchema = {
|
|
12704
|
+
ok: z11.boolean(),
|
|
12705
|
+
journeyTier: z11.enum(["confirmed", "best_guess", "all"]),
|
|
12706
|
+
confirmed: AnalyticsConfirmedJourneyPageSchema.nullable(),
|
|
12707
|
+
bestGuess: AnalyticsBestGuessJourneyPageSchema.nullable(),
|
|
12708
|
+
totalsAreSeparated: z11.boolean()
|
|
12709
|
+
};
|
|
12710
|
+
var AnalyticsEnhancedJourneyMoneySchema = z11.object({
|
|
12711
|
+
valueMinor: z11.number().int().safe(),
|
|
12712
|
+
currency: z11.string().regex(/^[A-Z]{3}$/).nullable()
|
|
12713
|
+
}).strict();
|
|
12714
|
+
var AnalyticsEnhancedJourneyAcquisitionSchema = z11.object({
|
|
12715
|
+
source: z11.string().nullable(),
|
|
12716
|
+
medium: z11.string().nullable(),
|
|
12717
|
+
campaign: z11.string().nullable(),
|
|
12718
|
+
referrer: z11.string().url().nullable()
|
|
12719
|
+
}).strict();
|
|
12720
|
+
var AnalyticsEnhancedJourneyDataSchema = z11.object({
|
|
12721
|
+
subject: z11.object({
|
|
12722
|
+
kind: z11.enum(["person", "visitor", "session"]),
|
|
12723
|
+
reference: z11.string().min(8),
|
|
12724
|
+
personRef: z11.string().min(8).nullable()
|
|
12725
|
+
}).strict(),
|
|
12726
|
+
range: z11.object({
|
|
12727
|
+
from: z11.string().datetime({ offset: true }),
|
|
12728
|
+
to: z11.string().datetime({ offset: true }),
|
|
12729
|
+
fromInclusive: z11.literal(true),
|
|
12730
|
+
toExclusive: z11.literal(true)
|
|
12731
|
+
}).strict(),
|
|
12732
|
+
journeyTier: z11.literal("confirmed"),
|
|
12733
|
+
candidateAssisted: z11.null(),
|
|
12734
|
+
summary: z11.object({
|
|
12735
|
+
sessions: z11.number().int().nonnegative(),
|
|
12736
|
+
pageviews: z11.number().int().nonnegative(),
|
|
12737
|
+
events: z11.number().int().nonnegative(),
|
|
12738
|
+
conversions: z11.number().int().nonnegative(),
|
|
12739
|
+
revenue: AnalyticsEnhancedJourneyMoneySchema.nullable(),
|
|
12740
|
+
totalEngagementMs: z11.number().nonnegative().nullable(),
|
|
12741
|
+
averageEngagementMs: z11.number().nonnegative().nullable()
|
|
12742
|
+
}).strict(),
|
|
12743
|
+
commonPages: z11.array(z11.object({
|
|
12744
|
+
path: z11.string(),
|
|
12745
|
+
visits: z11.number().int().nonnegative(),
|
|
12746
|
+
uniqueSessions: z11.number().int().nonnegative(),
|
|
12747
|
+
engagedMs: z11.number().nonnegative().nullable(),
|
|
12748
|
+
conversions: z11.number().int().nonnegative()
|
|
12749
|
+
}).strict()),
|
|
12750
|
+
acquisition: z11.array(AnalyticsEnhancedJourneyAcquisitionSchema.extend({
|
|
12751
|
+
sessions: z11.number().int().nonnegative(),
|
|
12752
|
+
events: z11.number().int().nonnegative(),
|
|
12753
|
+
conversions: z11.number().int().nonnegative()
|
|
12754
|
+
}).strict()),
|
|
12755
|
+
eventBreakdown: z11.array(z11.object({
|
|
12756
|
+
name: z11.string().min(1),
|
|
12757
|
+
count: z11.number().int().nonnegative(),
|
|
12758
|
+
uniqueSessions: z11.number().int().nonnegative(),
|
|
12759
|
+
conversions: z11.number().int().nonnegative()
|
|
12760
|
+
}).strict()),
|
|
12761
|
+
sessions: z11.array(z11.object({
|
|
12762
|
+
sessionRef: z11.string().min(8),
|
|
12763
|
+
startedAt: z11.string().datetime({ offset: true }),
|
|
12764
|
+
endedAt: z11.string().datetime({ offset: true }).nullable(),
|
|
12765
|
+
durationMs: z11.number().nonnegative().nullable(),
|
|
12766
|
+
pageviews: z11.number().int().nonnegative(),
|
|
12767
|
+
events: z11.number().int().nonnegative(),
|
|
12768
|
+
conversions: z11.number().int().nonnegative(),
|
|
12769
|
+
revenue: AnalyticsEnhancedJourneyMoneySchema.nullable(),
|
|
12770
|
+
landingPath: z11.string().nullable(),
|
|
12771
|
+
exitPath: z11.string().nullable(),
|
|
12772
|
+
acquisition: AnalyticsEnhancedJourneyAcquisitionSchema.nullable()
|
|
12773
|
+
}).strict()),
|
|
12774
|
+
items: z11.array(z11.object({
|
|
12775
|
+
occurredAt: z11.string().datetime({ offset: true }),
|
|
12776
|
+
type: z11.string().min(1),
|
|
12777
|
+
name: z11.string().min(1),
|
|
12778
|
+
path: z11.string().nullable(),
|
|
12779
|
+
referrer: z11.string().url().nullable(),
|
|
12780
|
+
acquisition: AnalyticsEnhancedJourneyAcquisitionSchema.omit({ referrer: true }).nullable(),
|
|
12781
|
+
value: AnalyticsEnhancedJourneyMoneySchema.nullable(),
|
|
12782
|
+
evidenceClass: z11.enum(["deterministic", "candidate"]),
|
|
12783
|
+
provenance: z11.string().min(1)
|
|
12784
|
+
}).strict()),
|
|
12785
|
+
pageInfo: z11.object({
|
|
12786
|
+
nextCursor: z11.string().min(1).nullable(),
|
|
12787
|
+
hasNextPage: z11.boolean()
|
|
12788
|
+
}).strict()
|
|
12789
|
+
}).strict();
|
|
12790
|
+
var AnalyticsEnhancedJourneyResultSchema = z11.object({
|
|
12791
|
+
ok: z11.literal(true),
|
|
12792
|
+
data: AnalyticsEnhancedJourneyDataSchema
|
|
12793
|
+
}).strict();
|
|
12794
|
+
var AnalyticsEnhancedJourneyOutputSchema = AnalyticsEnhancedJourneyResultSchema.shape;
|
|
12638
12795
|
var AnalyticsOnboardingOutputSchema = analyticsRecordOutput("onboarding");
|
|
12639
12796
|
var AnalyticsOnboardingPreferencesOutputSchema = analyticsRecordOutput("presentation");
|
|
12640
12797
|
var AnalyticsExplorerOutputSchema = analyticsRecordOutput("data");
|
|
@@ -12867,8 +13024,9 @@ var productionOutputSchemas = {
|
|
|
12867
13024
|
analytics_update_onboarding_preferences: AnalyticsOnboardingPreferencesOutputSchema,
|
|
12868
13025
|
analytics_list_sessions: AnalyticsExplorerOutputSchema,
|
|
12869
13026
|
analytics_list_visitors: AnalyticsExplorerOutputSchema,
|
|
12870
|
-
|
|
12871
|
-
|
|
13027
|
+
analytics_list_journeys: AnalyticsJourneysOutputSchema,
|
|
13028
|
+
analytics_get_session_timeline: AnalyticsEnhancedJourneyOutputSchema,
|
|
13029
|
+
analytics_get_visitor_journey: AnalyticsEnhancedJourneyOutputSchema,
|
|
12872
13030
|
analytics_list_funnels: AnalyticsFunnelDefinitionsOutputSchema,
|
|
12873
13031
|
analytics_get_funnel: AnalyticsFunnelReportOutputSchema,
|
|
12874
13032
|
analytics_create_funnel: AnalyticsFunnelDefinitionOutputSchema,
|
|
@@ -12994,7 +13152,7 @@ function registerAnalyticsMcpTools(server, executor) {
|
|
|
12994
13152
|
["analytics_list_conversion_rules", "List Conversion Rules", "List deterministic versioned rules that turn canonical phone, CRM, transaction, and server events into conversions.", AnalyticsSiteResourceInputSchema, "analyticsListConversionRules"],
|
|
12995
13153
|
["analytics_list_event_definitions", "List Browser Event Definitions", "List declarative page, click, and form-submit tags applied by the first-party X-Ray Pixel.", AnalyticsSiteResourceInputSchema, "analyticsListEventDefinitions"],
|
|
12996
13154
|
["analytics_get_coverage", "Get Attribution Coverage", "Measure click-ID coverage and call/CRM journey join rates. Null rates mean there is not yet a denominator.", AnalyticsSiteResourceInputSchema, "analyticsGetCoverage"],
|
|
12997
|
-
["analytics_get_person_journey", "Get Person Journey", "Read
|
|
13155
|
+
["analytics_get_person_journey", "Get Person Journey", "Read CRM-oriented identified-person history: touches, calls, CRM stages, conversions, and delivery receipts. For analytics chronology use analytics_get_visitor_journey.", AnalyticsJourneyInputSchema, "analyticsGetPersonJourney"]
|
|
12998
13156
|
];
|
|
12999
13157
|
for (const [name, title, description, inputSchema, handler] of reads) {
|
|
13000
13158
|
server.registerTool(name, {
|
|
@@ -13077,9 +13235,10 @@ function registerAnalyticsMcpTools(server, executor) {
|
|
|
13077
13235
|
const productionReads = [
|
|
13078
13236
|
["analytics_get_onboarding_state", "Get X-Ray Setup State", "Read evidence-derived setup milestones. Client input cannot mark evidence milestones complete.", AnalyticsSiteResourceInputSchema, "analyticsGetOnboardingState"],
|
|
13079
13237
|
["analytics_list_sessions", "List X-Ray Sessions", "Read bounded sessions using opaque references. Raw visitor/session/device identifiers, contact data, IP, and click IDs are omitted.", AnalyticsExplorerInputSchema, "analyticsListSessions"],
|
|
13080
|
-
["analytics_list_visitors", "List X-Ray Visitors", "Read bounded visitor summaries
|
|
13081
|
-
["
|
|
13082
|
-
["
|
|
13238
|
+
["analytics_list_visitors", "List X-Ray Visitors", "Read bounded visitor summaries with opaque references, visit counts, returning status, and confirmed conversion status.", AnalyticsExplorerInputSchema, "analyticsListVisitors"],
|
|
13239
|
+
["analytics_list_journeys", "List X-Ray Journeys", "List confirmed cross-session paths, separately labeled best-guess paths, or both. Candidate-assisted evidence cannot drive CRM or advertising actions.", AnalyticsJourneysInputSchema, "analyticsListJourneys"],
|
|
13240
|
+
["analytics_get_session_timeline", "Get Session Timeline", "Read confirmed session summary, pages, events, acquisition, session rollups, and chronology. Use visitor journey for cross-session history.", AnalyticsExplorerDetailInputSchema, "analyticsGetSessionTimeline"],
|
|
13241
|
+
["analytics_get_visitor_journey", "Get Visitor Journey", "Read one confirmed cross-session visitor/person journey: summary, pages, events, acquisition, session rollups, and chronology. Candidate evidence is excluded.", AnalyticsExplorerDetailInputSchema, "analyticsGetVisitorJourney"],
|
|
13083
13242
|
["analytics_list_funnels", "List Lead Funnels", "List versioned lead-stage funnel definitions.", AnalyticsSiteResourceInputSchema, "analyticsListFunnels"],
|
|
13084
13243
|
["analytics_get_funnel", "Get Lead Funnel Report", "Read a bounded lead-stage funnel report with documented denominators and safe drill-down references.", AnalyticsFunnelReportInputSchema, "analyticsGetFunnel"],
|
|
13085
13244
|
["analytics_list_saved_views", "List Saved Analytics Views", "List account-scoped validated report views without unrestricted sharing.", AnalyticsSiteResourceInputSchema, "analyticsListSavedViews"],
|
|
@@ -15026,11 +15185,26 @@ var HttpMcpToolExecutor = class {
|
|
|
15026
15185
|
analyticsListVisitors(input) {
|
|
15027
15186
|
return this.getJson(this.analyticsExplorerPath(input, "visitors"));
|
|
15028
15187
|
}
|
|
15188
|
+
analyticsListJourneys(input) {
|
|
15189
|
+
const query = new URLSearchParams({
|
|
15190
|
+
journeyTier: input.journeyTier ?? "confirmed",
|
|
15191
|
+
limit: String(input.limit ?? 50)
|
|
15192
|
+
});
|
|
15193
|
+
if (input.cursor) query.set("cursor", input.cursor);
|
|
15194
|
+
return this.getJson(`${analyticsSitePath(input.siteId, "journeys")}?${query}`);
|
|
15195
|
+
}
|
|
15029
15196
|
analyticsGetSessionTimeline(input) {
|
|
15030
|
-
return this.getJson(
|
|
15197
|
+
return this.getJson(this.analyticsJourneyTimelinePath(input));
|
|
15031
15198
|
}
|
|
15032
15199
|
analyticsGetVisitorJourney(input) {
|
|
15033
|
-
return this.getJson(
|
|
15200
|
+
return this.getJson(this.analyticsJourneyTimelinePath(input));
|
|
15201
|
+
}
|
|
15202
|
+
analyticsJourneyTimelinePath(input) {
|
|
15203
|
+
const path = analyticsSitePath(input.siteId, `journeys/${encodeURIComponent(input.reference)}/timeline`);
|
|
15204
|
+
const query = new URLSearchParams();
|
|
15205
|
+
if (input.from) query.set("from", input.from);
|
|
15206
|
+
if (input.to) query.set("to", input.to);
|
|
15207
|
+
return query.size ? `${path}?${query}` : path;
|
|
15034
15208
|
}
|
|
15035
15209
|
analyticsListFunnels(input) {
|
|
15036
15210
|
const query = new URLSearchParams({ limit: String(input.limit ?? 50) });
|
|
@@ -15170,18 +15344,18 @@ var HttpMcpToolExecutor = class {
|
|
|
15170
15344
|
}
|
|
15171
15345
|
analyticsExportPrivacySubject(input) {
|
|
15172
15346
|
const { siteId, idempotencyKey, ...body } = input;
|
|
15173
|
-
return this.call(analyticsSitePath(siteId, "privacy/subject/export"),
|
|
15347
|
+
return this.call(analyticsSitePath(siteId, "privacy/subject/export"), body, this.timeoutMs, "POST", analyticsIdempotencyHeaders("analytics-privacy-export", idempotencyKey));
|
|
15174
15348
|
}
|
|
15175
15349
|
analyticsDeletePrivacySubject(input) {
|
|
15176
15350
|
const { siteId, idempotencyKey, ...body } = input;
|
|
15177
|
-
return this.call(analyticsSitePath(siteId, "privacy/subject/delete"),
|
|
15351
|
+
return this.call(analyticsSitePath(siteId, "privacy/subject/delete"), body, this.timeoutMs, "POST", analyticsIdempotencyHeaders("analytics-privacy-delete", idempotencyKey));
|
|
15178
15352
|
}
|
|
15179
15353
|
analyticsDiscoverActivationAssets(input) {
|
|
15180
15354
|
const query = new URLSearchParams({ platform: input.platform, connectionRef: input.connectionRef });
|
|
15181
15355
|
return this.getJson(`${analyticsSitePath(input.siteId, "activation-assets")}?${query}`);
|
|
15182
15356
|
}
|
|
15183
15357
|
analyticsValidateActivationMapping(input) {
|
|
15184
|
-
const { siteId, ...body } = input;
|
|
15358
|
+
const { siteId, journeyTier: _journeyTier, ...body } = input;
|
|
15185
15359
|
return this.call(analyticsSitePath(siteId, "activation-mappings/validate"), body, this.timeoutMs, "POST");
|
|
15186
15360
|
}
|
|
15187
15361
|
commonsSearchEntities(input) {
|
|
@@ -55,7 +55,7 @@ function renderInstallTerminal(options) {
|
|
|
55
55
|
"1/1 install surfaces ready",
|
|
56
56
|
colorize(`Newest in v${options.version}: ${release_message_default.message}`, "lime", color),
|
|
57
57
|
"",
|
|
58
|
-
`${colorize("Tools", "cyan", color)} ${colorize("(
|
|
58
|
+
`${colorize("Tools", "cyan", color)} ${colorize("(331 MCP tools)", "muted", color)}`,
|
|
59
59
|
toolRow("search", ["harvest_paa", "search_serp", "maps_search", "maps_place_intel"], color),
|
|
60
60
|
toolRow("extract", ["extract_url", "map_site_urls", "extract_site", "audit_site", "directory_workflow"], color),
|
|
61
61
|
toolRow("build", ["create_editorial_reading_room", "rank_tracker_workflow", "portable HTML"], color),
|
|
@@ -18,9 +18,9 @@ import {
|
|
|
18
18
|
createSiteExtractContentReader,
|
|
19
19
|
createSiteExtractImageArtifact,
|
|
20
20
|
extractJobLimitInfo
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-RV2D27R4.js";
|
|
22
22
|
import "./chunk-DNM65UCK.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-EQJRPDUS.js";
|
|
24
24
|
import {
|
|
25
25
|
getDb
|
|
26
26
|
} from "./chunk-WEFPBAAG.js";
|
|
@@ -7,11 +7,11 @@ import {
|
|
|
7
7
|
GmailServiceError,
|
|
8
8
|
normalizeGmailMessage,
|
|
9
9
|
parseGmailAddresses
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-S45DGELW.js";
|
|
11
11
|
import "./chunk-PJEEKOUM.js";
|
|
12
12
|
import "./chunk-T3MZISOF.js";
|
|
13
13
|
import "./chunk-CXY5WV45.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-EQJRPDUS.js";
|
|
15
15
|
import "./chunk-WEFPBAAG.js";
|
|
16
16
|
export {
|
|
17
17
|
GMAIL_ATTACHMENT_REF_TTL_MS,
|