seo 0.17.9 → 0.18.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/dist/cli.js +3 -3
- package/dist/cli.js.map +1 -1
- package/dist/{dist-DiyyBCYL.js → dist-B-aQj-Q6.js} +106 -106
- package/dist/dist-B-aQj-Q6.js.map +1 -0
- package/dist/{dist-DzcRsuc4.js → dist-CzkHnL0G.js} +1 -1
- package/dist/{esm-BByR3SEY.js → esm-X4uq3k2w.js} +2 -2
- package/dist/{esm-BByR3SEY.js.map → esm-X4uq3k2w.js.map} +1 -1
- package/dist/index.d.ts +39 -27
- package/dist/index.js +688 -186
- package/dist/index.js.map +1 -1
- package/dist/mcp.js +687 -185
- package/dist/mcp.js.map +1 -1
- package/package.json +1 -1
- package/dist/dist-DiyyBCYL.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createRequire as __seoCreateRequire } from 'node:module'; const require = __seoCreateRequire(import.meta.url);
|
|
2
|
-
import { n as version, t as load } from "./esm-
|
|
2
|
+
import { n as version, t as load } from "./esm-X4uq3k2w.js";
|
|
3
3
|
import { SEO_PROVIDER_API_VERSION } from "./provider-sdk.js";
|
|
4
4
|
import crypto$1, { createHash, randomUUID, sign } from "node:crypto";
|
|
5
5
|
import { z } from "zod";
|
|
@@ -2880,7 +2880,7 @@ async function runSites(input) {
|
|
|
2880
2880
|
};
|
|
2881
2881
|
}
|
|
2882
2882
|
// packages/core/src/commands/linked.ts
|
|
2883
|
-
const MAX_ROWS$
|
|
2883
|
+
const MAX_ROWS$3 = 1e5;
|
|
2884
2884
|
const PERMISSION_RANK = {
|
|
2885
2885
|
siteOwner: 0,
|
|
2886
2886
|
siteFullUser: 1,
|
|
@@ -2972,7 +2972,7 @@ var LinkedAccounts = class {
|
|
|
2972
2972
|
searchAnalytics() {
|
|
2973
2973
|
return async (site, body) => searchAnalyticsRows((await this.owner(site)).google, site, {
|
|
2974
2974
|
...body,
|
|
2975
|
-
maxRows: body.maxRows ?? body.rowLimit ?? MAX_ROWS$
|
|
2975
|
+
maxRows: body.maxRows ?? body.rowLimit ?? MAX_ROWS$3
|
|
2976
2976
|
}, { signIn: this.hint.signIn });
|
|
2977
2977
|
}
|
|
2978
2978
|
async inspect(site, url) {
|
|
@@ -5875,7 +5875,7 @@ function sessionSourceInListFilter(values) {
|
|
|
5875
5875
|
}
|
|
5876
5876
|
// packages/core/src/analyze/ai-referrals.ts
|
|
5877
5877
|
const DEFAULT_MAX_ROWS$1 = 1e5;
|
|
5878
|
-
const MAX_ROWS$
|
|
5878
|
+
const MAX_ROWS$2 = 1e5;
|
|
5879
5879
|
const DEFAULT_RESULT_LIMIT = 25;
|
|
5880
5880
|
const MAX_RESULT_LIMIT = 1e3;
|
|
5881
5881
|
function validIsoDate$1(value) {
|
|
@@ -5901,7 +5901,7 @@ function reportRange(input) {
|
|
|
5901
5901
|
function maxRows(input) {
|
|
5902
5902
|
if (input.maxRows !== void 0 && input.limit !== void 0 && input.maxRows !== input.limit) throw new SeoError("INVALID_INPUT", "Use maxRows or the legacy limit option, not both.");
|
|
5903
5903
|
const value = input.maxRows ?? input.limit ?? DEFAULT_MAX_ROWS$1;
|
|
5904
|
-
if (!Number.isInteger(value) || value < 1 || value > MAX_ROWS$
|
|
5904
|
+
if (!Number.isInteger(value) || value < 1 || value > MAX_ROWS$2) throw new SeoError("INVALID_INPUT", `maxRows must be a whole number between 1 and ${MAX_ROWS$2}.`);
|
|
5905
5905
|
return value;
|
|
5906
5906
|
}
|
|
5907
5907
|
function resultLimit(input) {
|
|
@@ -11341,6 +11341,172 @@ async function pageOpportunitiesReport(input, dependencies = defaultDependencies
|
|
|
11341
11341
|
recommendations: pageOpportunityRecommendations(analysis)
|
|
11342
11342
|
};
|
|
11343
11343
|
}
|
|
11344
|
+
// packages/core/src/brand-evidence.ts
|
|
11345
|
+
const NAVIGATIONAL_STEM_THRESHOLDS = {
|
|
11346
|
+
maximumPosition: 2,
|
|
11347
|
+
minimumCtr: .2,
|
|
11348
|
+
minimumImpressions: 20
|
|
11349
|
+
};
|
|
11350
|
+
function compact(value) {
|
|
11351
|
+
return normalizeBrandText(value).replace(/\s+/g, "");
|
|
11352
|
+
}
|
|
11353
|
+
function round$2(value, digits) {
|
|
11354
|
+
return Number(value.toFixed(digits));
|
|
11355
|
+
}
|
|
11356
|
+
function stemQueryEvidence(rows, stem) {
|
|
11357
|
+
const target = compact(stem);
|
|
11358
|
+
if (!target) return void 0;
|
|
11359
|
+
let clicks = 0;
|
|
11360
|
+
let impressions = 0;
|
|
11361
|
+
let weightedPosition = 0;
|
|
11362
|
+
let sourceRows = 0;
|
|
11363
|
+
let query;
|
|
11364
|
+
for (const row of rows) {
|
|
11365
|
+
const value = row.keys?.[0];
|
|
11366
|
+
if (typeof value !== "string" || compact(value) !== target) continue;
|
|
11367
|
+
if (!Number.isFinite(row.clicks) || !Number.isFinite(row.impressions) || !Number.isFinite(row.position) || row.impressions <= 0 || row.clicks < 0) continue;
|
|
11368
|
+
const trimmed = value.trim();
|
|
11369
|
+
if (query === void 0 || trimmed < query) query = trimmed;
|
|
11370
|
+
clicks += row.clicks;
|
|
11371
|
+
impressions += row.impressions;
|
|
11372
|
+
weightedPosition += row.position * row.impressions;
|
|
11373
|
+
sourceRows++;
|
|
11374
|
+
}
|
|
11375
|
+
if (!sourceRows || query === void 0) return void 0;
|
|
11376
|
+
return {
|
|
11377
|
+
query,
|
|
11378
|
+
clicks,
|
|
11379
|
+
impressions,
|
|
11380
|
+
ctr: round$2(clicks / impressions, 4),
|
|
11381
|
+
position: round$2(weightedPosition / impressions, 2),
|
|
11382
|
+
sourceRows
|
|
11383
|
+
};
|
|
11384
|
+
}
|
|
11385
|
+
/**
|
|
11386
|
+
* Brand terms for a property, decided from its own Search Console query rows.
|
|
11387
|
+
* `rows` are query rows (`keys[0]` is the query); query/page rows also work
|
|
11388
|
+
* because rows for the same query are summed. Pure and Worker-safe.
|
|
11389
|
+
*/
|
|
11390
|
+
function brandTermsFromQueryRows(input) {
|
|
11391
|
+
const evidence = [];
|
|
11392
|
+
const excluded = [];
|
|
11393
|
+
const host = registrableDomain(input.siteUrl);
|
|
11394
|
+
const method = {
|
|
11395
|
+
id: "gsc_navigational_brand_terms_v1",
|
|
11396
|
+
heuristic: true,
|
|
11397
|
+
stemRule: NAVIGATIONAL_STEM_THRESHOLDS,
|
|
11398
|
+
stemMatch: "exact_query_ignoring_spaces_and_punctuation"
|
|
11399
|
+
};
|
|
11400
|
+
if (!host) return {
|
|
11401
|
+
terms: [],
|
|
11402
|
+
evidence,
|
|
11403
|
+
excluded,
|
|
11404
|
+
method
|
|
11405
|
+
};
|
|
11406
|
+
const suffixWords = host.suffix.split(".");
|
|
11407
|
+
const compounds = [
|
|
11408
|
+
host.domain,
|
|
11409
|
+
[host.stem, ...suffixWords].join(" "),
|
|
11410
|
+
[host.stem, ...suffixWords].join(""),
|
|
11411
|
+
[host.stem, ...suffixWords].join("-")
|
|
11412
|
+
];
|
|
11413
|
+
for (const term of [...new Set(compounds)]) evidence.push({
|
|
11414
|
+
term,
|
|
11415
|
+
source: "host-compound",
|
|
11416
|
+
reason: `Contains the property host ${host.domain}.`
|
|
11417
|
+
});
|
|
11418
|
+
const stemEvidence = stemQueryEvidence(input.rows, host.stem);
|
|
11419
|
+
const thresholds = NAVIGATIONAL_STEM_THRESHOLDS;
|
|
11420
|
+
if (!stemEvidence) excluded.push({
|
|
11421
|
+
term: host.stem,
|
|
11422
|
+
source: "domain-stem",
|
|
11423
|
+
reason: `No retained Search Console row for the exact query "${host.stem}", so the bare stem is not treated as brand.`
|
|
11424
|
+
});
|
|
11425
|
+
else if (stemEvidence.impressions >= thresholds.minimumImpressions && stemEvidence.position <= thresholds.maximumPosition && stemEvidence.ctr >= thresholds.minimumCtr) evidence.push({
|
|
11426
|
+
term: host.stem,
|
|
11427
|
+
source: "navigational-stem",
|
|
11428
|
+
reason: `The exact query "${stemEvidence.query}" averages position ${stemEvidence.position} with CTR ${stemEvidence.ctr} over ${stemEvidence.impressions} impressions, so the property looks like its navigational answer (heuristic).`,
|
|
11429
|
+
query: stemEvidence
|
|
11430
|
+
});
|
|
11431
|
+
else excluded.push({
|
|
11432
|
+
term: host.stem,
|
|
11433
|
+
source: "domain-stem",
|
|
11434
|
+
reason: `The exact query "${stemEvidence.query}" averages position ${stemEvidence.position} with CTR ${stemEvidence.ctr} over ${stemEvidence.impressions} impressions. That does not meet position <= ${thresholds.maximumPosition}, CTR >= ${thresholds.minimumCtr} and impressions >= ${thresholds.minimumImpressions}, so the bare stem is treated as a generic word.`,
|
|
11435
|
+
query: stemEvidence
|
|
11436
|
+
});
|
|
11437
|
+
for (const spelling of navigationalSpellings(input.rows, host.stem)) evidence.push({
|
|
11438
|
+
term: spelling.query,
|
|
11439
|
+
source: "navigational-spelling",
|
|
11440
|
+
reason: `"${spelling.query}" is a spelling of ${host.stem} that averages position ${spelling.position} with CTR ${spelling.ctr} over ${spelling.impressions} impressions, so the property looks like its navigational answer (heuristic).`,
|
|
11441
|
+
query: spelling
|
|
11442
|
+
});
|
|
11443
|
+
return {
|
|
11444
|
+
terms: evidence.map((item) => item.term),
|
|
11445
|
+
evidence,
|
|
11446
|
+
excluded,
|
|
11447
|
+
method
|
|
11448
|
+
};
|
|
11449
|
+
}
|
|
11450
|
+
function editsWithin(a, b, most) {
|
|
11451
|
+
if (Math.abs(a.length - b.length) > most) return false;
|
|
11452
|
+
let previous = Array.from({ length: b.length + 1 }, (_, index) => index);
|
|
11453
|
+
for (let i = 1; i <= a.length; i++) {
|
|
11454
|
+
const current = [i];
|
|
11455
|
+
for (let j = 1; j <= b.length; j++) current[j] = Math.min((previous[j] ?? 0) + 1, (current[j - 1] ?? 0) + 1, (previous[j - 1] ?? 0) + (a[i - 1] === b[j - 1] ? 0 : 1));
|
|
11456
|
+
if (Math.min(...current) > most) return false;
|
|
11457
|
+
previous = current;
|
|
11458
|
+
}
|
|
11459
|
+
return (previous[b.length] ?? most + 1) <= most;
|
|
11460
|
+
}
|
|
11461
|
+
const SPELLING_WORDS = 3;
|
|
11462
|
+
function navigationalSpellings(rows, stem) {
|
|
11463
|
+
const target = compact(stem);
|
|
11464
|
+
if (target.length < 6) return [];
|
|
11465
|
+
const most = target.length >= 9 ? 2 : 1;
|
|
11466
|
+
const totals = /* @__PURE__ */ new Map();
|
|
11467
|
+
for (const row of rows) {
|
|
11468
|
+
const value = row.keys?.[0];
|
|
11469
|
+
if (typeof value !== "string") continue;
|
|
11470
|
+
if (normalizeBrandText(value).split(" ").length > SPELLING_WORDS) continue;
|
|
11471
|
+
const key = compact(value);
|
|
11472
|
+
if (key === target || !editsWithin(key, target, most)) continue;
|
|
11473
|
+
totals.set(key, [...totals.get(key) ?? [], row]);
|
|
11474
|
+
}
|
|
11475
|
+
const thresholds = NAVIGATIONAL_STEM_THRESHOLDS;
|
|
11476
|
+
return [...totals].map(([key, matched]) => stemQueryEvidence(matched, key)).filter((found) => !!found && found.impressions >= thresholds.minimumImpressions && found.position <= thresholds.maximumPosition && found.ctr >= thresholds.minimumCtr).sort((a, b) => b.impressions - a.impressions || a.query.localeCompare(b.query));
|
|
11477
|
+
}
|
|
11478
|
+
/**
|
|
11479
|
+
* Brand terms a report uses: the caller's terms when given, otherwise terms
|
|
11480
|
+
* derived from the same Search Console rows the report analyses.
|
|
11481
|
+
*/
|
|
11482
|
+
function resolveReportBrandTerms(input) {
|
|
11483
|
+
const filtering = input.includeBrand ? "included" : "excluded";
|
|
11484
|
+
const provided = (input.brandTerms ?? []).filter((term) => normalizeBrandText(term));
|
|
11485
|
+
if (provided.length) return {
|
|
11486
|
+
source: "provided",
|
|
11487
|
+
filtering,
|
|
11488
|
+
terms: provided,
|
|
11489
|
+
evidence: provided.map((term) => ({
|
|
11490
|
+
term,
|
|
11491
|
+
source: "provided",
|
|
11492
|
+
reason: "Supplied by the caller."
|
|
11493
|
+
})),
|
|
11494
|
+
excluded: [],
|
|
11495
|
+
heuristic: false
|
|
11496
|
+
};
|
|
11497
|
+
const derived = brandTermsFromQueryRows({
|
|
11498
|
+
siteUrl: input.siteUrl,
|
|
11499
|
+
rows: input.rows
|
|
11500
|
+
});
|
|
11501
|
+
return {
|
|
11502
|
+
source: "search-console-navigational",
|
|
11503
|
+
filtering,
|
|
11504
|
+
terms: derived.terms,
|
|
11505
|
+
evidence: derived.evidence,
|
|
11506
|
+
excluded: derived.excluded,
|
|
11507
|
+
heuristic: true
|
|
11508
|
+
};
|
|
11509
|
+
}
|
|
11344
11510
|
// packages/core/src/analyze/ai-queries.ts
|
|
11345
11511
|
const RULES = [
|
|
11346
11512
|
["agent_prompt", "^(search the web for|browse the web|find sources)|do not invent|return the [0-9]+ most relevant|include source urls|context: location|do not include location|question: |reply only with|the model you are using"],
|
|
@@ -11348,6 +11514,7 @@ const RULES = [
|
|
|
11348
11514
|
["reply", "^(yes|yeah|yep|ok|okay|sure|yes please|go on|continue|keep going|tell me more|why not|how so|really|exactly|show me|and then|thanks|thank you|got it|what else|anything else)[?!.,]*$"],
|
|
11349
11515
|
["follow_up", "^(what|how) about .{1,40}$|^(and|so|ok so|okay so|but) (what|which|how|why) "],
|
|
11350
11516
|
["operator", "(^|\\s)-?(site|before|after|intitle|inurl|intext|filetype):|\"[^\"]*\" or \""],
|
|
11517
|
+
["pronoun", "\\b(it|its|they|them|their|this|these|those)\\b"],
|
|
11351
11518
|
["chat", "\\b(please|can you|could you|give me|show me|tell me|i want|i need|i have|i am|should i|do i need|is it worth|help me|walk me through)\\b|^(what|how|why|is|does|can|will|would) (it|that|this|they)\\b"],
|
|
11352
11519
|
["long", "^(\\S+\\s+){9,}\\S+$"]
|
|
11353
11520
|
];
|
|
@@ -11357,6 +11524,7 @@ const AI_QUERY_KINDS = {
|
|
|
11357
11524
|
reply: "a bare reply, such as \"yes\" or \"tell me more\"",
|
|
11358
11525
|
follow_up: "a follow-up, such as \"what about …\"",
|
|
11359
11526
|
operator: "search operators, such as site:, before: or \"a\" or \"b\"",
|
|
11527
|
+
pronoun: "a pronoun with nothing named, such as \"how much is it\" or \"do they ship to canada\", so likely a follow-up in a conversation",
|
|
11360
11528
|
chat: "chat phrasing, such as \"can you\" or \"should i\"",
|
|
11361
11529
|
long: "ten or more words with no other sign"
|
|
11362
11530
|
};
|
|
@@ -11378,16 +11546,44 @@ function askable(query, kind) {
|
|
|
11378
11546
|
const text = query.trim().toLowerCase().replace(/^["'“]+/u, "");
|
|
11379
11547
|
return Boolean(kind && ASKABLE_KINDS.has(kind)) && text.length <= PROMPT_CHARACTERS && QUESTION.test(text);
|
|
11380
11548
|
}
|
|
11381
|
-
|
|
11549
|
+
const PRONOUNS = /\b(it|its|they|them|their|this|these|those)\b/gu;
|
|
11550
|
+
const TIME_WORD = /\b(this|these|those) (morning|evening|afternoon|night|day|date|week|weekend|month|year|time)\b/gu;
|
|
11551
|
+
const DUMMY_IT = /\b(now|rn|atm|tn|tdy|tmr|tmrw|tonite|yday|currently|to ?n?ight|to day|lastn\S*|(last|past|next|this) \S+|(mon|tues|wednes|thurs|fri|satur|sun)day|outside|dark|sunny|raining|snowing|o'?clock)\b|\bit (take|takes|took)\b.*\b(to|for)\b|\b(far|miles|km) (is|was) it (to|from|around|between)\b|\bis it (\S+ )?(safe|legal|illegal|possible|ok|okay|bad|good|better|best|hard|easy|normal|necessary|true|cheaper|rude|wise) (to|for|if)\b/u;
|
|
11552
|
+
const IDENTIFY_IT = /^(what|which)( (kind|type|sort) of)?( \S+){1,2} (is|was) it\b|^(is|was) it (a|an|the) /u;
|
|
11553
|
+
const CLASS_WORD = /\b(name|surname|names|word|thing|one|company|brand|product|place|site|website|app|scam|service)\b/u;
|
|
11554
|
+
const PRONOUN_WORDS = 10;
|
|
11555
|
+
const DAYS$1 = [
|
|
11556
|
+
"today",
|
|
11557
|
+
"tonight",
|
|
11558
|
+
"tomorrow",
|
|
11559
|
+
"yesterday"
|
|
11560
|
+
];
|
|
11561
|
+
function pointsBack(text) {
|
|
11562
|
+
const tokens = text.split(/\s+/u);
|
|
11563
|
+
if (tokens.length >= PRONOUN_WORDS) return false;
|
|
11564
|
+
const found = text.replace(TIME_WORD, " ").replace(/(?<!^)\bits\b/gu, " ").match(PRONOUNS) ?? [];
|
|
11565
|
+
if (!found.length) return false;
|
|
11566
|
+
if (!found.every((word) => word === "it" || word === "its")) return true;
|
|
11567
|
+
return !(DUMMY_IT.test(text) || IDENTIFY_IT.test(text) && !CLASS_WORD.test(text) || tokens.some((token) => token.length >= 4 && DAYS$1.some((day) => editsWithin(token, day, day.length >= 8 ? 2 : 1))));
|
|
11568
|
+
}
|
|
11569
|
+
function aiQueryKind(query, brandTerms = []) {
|
|
11382
11570
|
const text = query.trim().toLowerCase();
|
|
11383
|
-
return MATCHERS.find(([, pattern]) => pattern.test(text))?.[0] ?? null;
|
|
11571
|
+
return MATCHERS.find(([kind, pattern]) => pattern.test(text) && (kind !== "pronoun" || pointsBack(text) && !isBrandQuery(text, brandTerms)))?.[0] ?? null;
|
|
11384
11572
|
}
|
|
11385
11573
|
const STOP = new Set("the and for with that this what which who how why when where are is was can does do did you your our from about into than then them they their there have has had will would should could not but its it’s me my i am of to in on at by or an as be if so".split(" "));
|
|
11386
11574
|
function words$3(query) {
|
|
11387
11575
|
return new Set(query.toLowerCase().split(/[^\p{L}\p{N}]+/u).filter((word) => word.length >= 3 && !STOP.has(word)).map((word) => word.length > 4 && word.endsWith("s") ? word.slice(0, -1) : word));
|
|
11388
11576
|
}
|
|
11389
11577
|
const SAME_QUESTION = .6;
|
|
11390
|
-
const
|
|
11578
|
+
const BRAND_ROWS = 5e3;
|
|
11579
|
+
const TRAILS_KEPT = 50;
|
|
11580
|
+
const TURNS = /* @__PURE__ */ new Set([
|
|
11581
|
+
"reply",
|
|
11582
|
+
"follow_up",
|
|
11583
|
+
"pronoun"
|
|
11584
|
+
]);
|
|
11585
|
+
const TURN_PATTERN = RULES.filter(([kind]) => TURNS.has(kind)).map(([, pattern]) => `(?:${pattern})`).join("|");
|
|
11586
|
+
const MAX_ROWS$1 = 25e3;
|
|
11391
11587
|
const EXAMPLES = 3;
|
|
11392
11588
|
const CANDIDATES = 200;
|
|
11393
11589
|
const overlap = (a, b, weight) => {
|
|
@@ -11400,29 +11596,119 @@ const overlap = (a, b, weight) => {
|
|
|
11400
11596
|
for (const word of b) if (!a.has(word)) union += weight(word);
|
|
11401
11597
|
return union ? shared / union : 0;
|
|
11402
11598
|
};
|
|
11403
|
-
|
|
11599
|
+
function trailsOf(rows, brandTerms, questionOf) {
|
|
11600
|
+
const days = /* @__PURE__ */ new Map();
|
|
11601
|
+
for (const row of rows) {
|
|
11602
|
+
const [date = "", query = "", page = ""] = row.keys.map(String);
|
|
11603
|
+
const text = query.trim().toLowerCase();
|
|
11604
|
+
const kind = aiQueryKind(text, brandTerms);
|
|
11605
|
+
if (!kind || !TURNS.has(kind) || aiQueryNoise(text)) continue;
|
|
11606
|
+
const key = `${date} ${page}`;
|
|
11607
|
+
const day = days.get(key) ?? {
|
|
11608
|
+
date,
|
|
11609
|
+
page,
|
|
11610
|
+
impressions: 0,
|
|
11611
|
+
questions: /* @__PURE__ */ new Map()
|
|
11612
|
+
};
|
|
11613
|
+
days.set(key, day);
|
|
11614
|
+
const question = questionOf(text) ?? text;
|
|
11615
|
+
const seen = day.questions.get(question);
|
|
11616
|
+
if (!seen || row.impressions > seen.impressions) day.questions.set(question, {
|
|
11617
|
+
query: text,
|
|
11618
|
+
impressions: row.impressions + (seen?.impressions ?? 0)
|
|
11619
|
+
});
|
|
11620
|
+
else seen.impressions += row.impressions;
|
|
11621
|
+
day.impressions += row.impressions;
|
|
11622
|
+
}
|
|
11623
|
+
const trails = [...days.values()].filter((day) => day.questions.size >= 2).map((day) => ({
|
|
11624
|
+
date: day.date,
|
|
11625
|
+
page: day.page,
|
|
11626
|
+
turns: day.questions.size,
|
|
11627
|
+
impressions: day.impressions,
|
|
11628
|
+
queries: [...day.questions.values()].sort((a, b) => b.impressions - a.impressions || a.query.localeCompare(b.query)).map((turn) => turn.query)
|
|
11629
|
+
})).sort((a, b) => b.turns - a.turns || b.impressions - a.impressions || b.date.localeCompare(a.date) || a.page.localeCompare(b.page));
|
|
11630
|
+
const pages = /* @__PURE__ */ new Map();
|
|
11631
|
+
for (const trail of trails) {
|
|
11632
|
+
const entry = pages.get(trail.page) ?? {
|
|
11633
|
+
trails: 0,
|
|
11634
|
+
days: /* @__PURE__ */ new Set(),
|
|
11635
|
+
asked: /* @__PURE__ */ new Map()
|
|
11636
|
+
};
|
|
11637
|
+
pages.set(trail.page, entry);
|
|
11638
|
+
entry.trails += 1;
|
|
11639
|
+
entry.days.add(trail.date);
|
|
11640
|
+
for (const query of trail.queries) entry.asked.set(query, (entry.asked.get(query) ?? 0) + 1);
|
|
11641
|
+
}
|
|
11642
|
+
const byPage = [...pages].map(([page, entry]) => ({
|
|
11643
|
+
page,
|
|
11644
|
+
trails: entry.trails,
|
|
11645
|
+
days: entry.days.size,
|
|
11646
|
+
followUps: [...entry.asked].sort((a, b) => b[1] - a[1] || a[0].localeCompare(b[0])).slice(0, EXAMPLES).map(([query]) => query)
|
|
11647
|
+
})).sort((a, b) => b.trails - a.trails || a.page.localeCompare(b.page));
|
|
11648
|
+
return {
|
|
11649
|
+
trailCount: trails.length,
|
|
11650
|
+
pageCount: byPage.length,
|
|
11651
|
+
byPage: byPage.slice(0, 10),
|
|
11652
|
+
trails: trails.slice(0, TRAILS_KEPT)
|
|
11653
|
+
};
|
|
11654
|
+
}
|
|
11655
|
+
const round$1 = (value, places) => Math.round(value * 10 ** places) / 10 ** places;
|
|
11404
11656
|
async function aiQueriesReport(input, searchAnalytics) {
|
|
11405
11657
|
const range = {
|
|
11406
11658
|
startDate: input.startDate,
|
|
11407
11659
|
endDate: input.endDate
|
|
11408
11660
|
};
|
|
11409
|
-
const
|
|
11410
|
-
|
|
11411
|
-
|
|
11412
|
-
|
|
11413
|
-
|
|
11414
|
-
|
|
11415
|
-
|
|
11416
|
-
|
|
11417
|
-
|
|
11418
|
-
|
|
11419
|
-
|
|
11420
|
-
|
|
11421
|
-
|
|
11422
|
-
|
|
11423
|
-
|
|
11424
|
-
|
|
11425
|
-
|
|
11661
|
+
const trailRange = {
|
|
11662
|
+
startDate: [input.startDate, shiftIsoDate(input.endDate, -27)].sort().at(-1),
|
|
11663
|
+
endDate: input.endDate
|
|
11664
|
+
};
|
|
11665
|
+
const [matched, site, named, daily] = await Promise.all([
|
|
11666
|
+
searchAnalytics(input.site, {
|
|
11667
|
+
...range,
|
|
11668
|
+
dimensions: ["query", "page"],
|
|
11669
|
+
type: "web",
|
|
11670
|
+
dataState: "final",
|
|
11671
|
+
maxRows: MAX_ROWS$1,
|
|
11672
|
+
dimensionFilterGroups: [{ filters: [{
|
|
11673
|
+
dimension: "query",
|
|
11674
|
+
operator: "includingRegex",
|
|
11675
|
+
expression: AI_QUERY_PATTERN
|
|
11676
|
+
}] }]
|
|
11677
|
+
}),
|
|
11678
|
+
searchAnalytics(input.site, {
|
|
11679
|
+
...range,
|
|
11680
|
+
dimensions: [],
|
|
11681
|
+
type: "web",
|
|
11682
|
+
dataState: "final"
|
|
11683
|
+
}),
|
|
11684
|
+
searchAnalytics(input.site, {
|
|
11685
|
+
...range,
|
|
11686
|
+
dimensions: ["query"],
|
|
11687
|
+
type: "web",
|
|
11688
|
+
dataState: "final",
|
|
11689
|
+
maxRows: BRAND_ROWS
|
|
11690
|
+
}),
|
|
11691
|
+
searchAnalytics(input.site, {
|
|
11692
|
+
...trailRange,
|
|
11693
|
+
dimensions: [
|
|
11694
|
+
"date",
|
|
11695
|
+
"query",
|
|
11696
|
+
"page"
|
|
11697
|
+
],
|
|
11698
|
+
type: "web",
|
|
11699
|
+
dataState: "final",
|
|
11700
|
+
maxRows: MAX_ROWS$1,
|
|
11701
|
+
dimensionFilterGroups: [{ filters: [{
|
|
11702
|
+
dimension: "query",
|
|
11703
|
+
operator: "includingRegex",
|
|
11704
|
+
expression: TURN_PATTERN
|
|
11705
|
+
}] }]
|
|
11706
|
+
})
|
|
11707
|
+
]);
|
|
11708
|
+
const brand = resolveReportBrandTerms({
|
|
11709
|
+
siteUrl: input.site,
|
|
11710
|
+
rows: named.rows
|
|
11711
|
+
});
|
|
11426
11712
|
const rows = [...matched.rows].sort((a, b) => b.impressions - a.impressions || String(a.keys[0]).localeCompare(String(b.keys[0])) || String(a.keys[1]).localeCompare(String(b.keys[1])));
|
|
11427
11713
|
const usage = /* @__PURE__ */ new Map();
|
|
11428
11714
|
const unique = new Set(rows.map((row) => String(row.keys[0] ?? "")));
|
|
@@ -11433,10 +11719,12 @@ async function aiQueriesReport(input, searchAnalytics) {
|
|
|
11433
11719
|
const byText = /* @__PURE__ */ new Map();
|
|
11434
11720
|
const kindOf = /* @__PURE__ */ new Map();
|
|
11435
11721
|
const noise = /* @__PURE__ */ new Map();
|
|
11722
|
+
const namesBrand = /* @__PURE__ */ new Set();
|
|
11436
11723
|
for (const row of rows) {
|
|
11437
11724
|
const query = String(row.keys[0] ?? "");
|
|
11438
11725
|
const page = String(row.keys[1] ?? "");
|
|
11439
|
-
const kind = aiQueryKind(query);
|
|
11726
|
+
const kind = aiQueryKind(query, brand.terms);
|
|
11727
|
+
if (kind !== "pronoun" && aiQueryKind(query) === "pronoun") namesBrand.add(query.trim().toLowerCase());
|
|
11440
11728
|
if (!kind) continue;
|
|
11441
11729
|
const junk = aiQueryNoise(query);
|
|
11442
11730
|
if (junk) {
|
|
@@ -11523,16 +11811,19 @@ async function aiQueriesReport(input, searchAnalytics) {
|
|
|
11523
11811
|
wordings: group.queries.size,
|
|
11524
11812
|
impressions: group.impressions,
|
|
11525
11813
|
clicks: group.clicks,
|
|
11526
|
-
ctr: group.impressions ? round$
|
|
11527
|
-
position: group.impressions ? round$
|
|
11814
|
+
ctr: group.impressions ? round$1(group.clicks / group.impressions, 4) : 0,
|
|
11815
|
+
position: group.impressions ? round$1(group.positionWeight / group.impressions, 1) : 0,
|
|
11528
11816
|
otherWordings: rest.slice(0, EXAMPLES)
|
|
11529
11817
|
};
|
|
11530
11818
|
}).sort((a, b) => b.impressions - a.impressions || b.wordings - a.wordings || a.query.localeCompare(b.query) || a.page.localeCompare(b.page));
|
|
11531
|
-
const pct = (part, whole) => whole ? round$
|
|
11819
|
+
const pct = (part, whole) => whole ? round$1(part / whole * 100, 1) : null;
|
|
11532
11820
|
const kinds = [...byKind].sort((a, b) => b[1].impressions - a[1].impressions || a[0].localeCompare(b[0])).map(([kind, entry]) => `${kind} ${entry.queries}`).join(", ");
|
|
11533
11821
|
const leftOut = [...noise].sort((a, b) => a[0].localeCompare(b[0])).map(([reason, seen]) => `${reason.replace("_", " ")} ${seen.size}`).join(", ");
|
|
11822
|
+
const followUps = trailsOf(daily.rows, brand.terms, (text) => byText.get(text));
|
|
11823
|
+
const path = (page) => page.replace(/^https?:\/\/[^/]+/u, "") || "/";
|
|
11824
|
+
const finding = followUps.trailCount ? `Follow-up trails, a heuristic, ${trailRange.startDate} to ${trailRange.endDate}: ${followUps.trailCount} on ${followUps.pageCount} ${followUps.pageCount === 1 ? "page" : "pages"}, where two or more follow-ups (a pronoun with nothing named, a bare reply, "what about …") reached one page on one day. ${followUps.byPage.slice(0, 3).map((entry) => `${path(entry.page)}: ${entry.trails}, such as ${entry.followUps.map((query) => `"${query}"`).join(", ")}`).join("; ")}. Search Console has no sessions, so a trail may join different people; it hides rare queries, so these counts are floors.` : `No follow-up trails from ${trailRange.startDate} to ${trailRange.endDate}: no page got two or more follow-ups on one day.`;
|
|
11534
11825
|
const asked = items.filter((item) => item.askable).length;
|
|
11535
|
-
const capped = matched.rowsFetched >= MAX_ROWS;
|
|
11826
|
+
const capped = matched.rowsFetched >= MAX_ROWS$1;
|
|
11536
11827
|
return {
|
|
11537
11828
|
range,
|
|
11538
11829
|
verdict: queries ? `${queries} queries in ${groups.length} questions have the shape of AI conversations or agent searches.` : "No queries with the shape of AI conversations or agent searches.",
|
|
@@ -11545,19 +11836,28 @@ async function aiQueriesReport(input, searchAnalytics) {
|
|
|
11545
11836
|
clicks,
|
|
11546
11837
|
shareOfImpressionsPct: pct(impressions, total.impressions),
|
|
11547
11838
|
byKind: kinds || "none",
|
|
11548
|
-
ctr: impressions ? round$
|
|
11549
|
-
siteCtr: total.impressions ? round$
|
|
11839
|
+
ctr: impressions ? round$1(clicks / impressions, 4) : 0,
|
|
11840
|
+
siteCtr: total.impressions ? round$1(total.clicks / total.impressions, 4) : 0
|
|
11550
11841
|
},
|
|
11842
|
+
finding,
|
|
11551
11843
|
kinds: AI_QUERY_KINDS,
|
|
11552
11844
|
items,
|
|
11845
|
+
followUps: {
|
|
11846
|
+
range: trailRange,
|
|
11847
|
+
...followUps,
|
|
11848
|
+
namesBrand: namesBrand.size,
|
|
11849
|
+
brandTerms: brand.terms,
|
|
11850
|
+
capped: daily.rowsFetched >= MAX_ROWS$1
|
|
11851
|
+
},
|
|
11553
11852
|
caveats: [
|
|
11554
11853
|
"A heuristic: these queries match the patterns of AI conversations and agent searches. Search Console does not mark AI Mode or AI Overviews, and people type some of these too.",
|
|
11555
11854
|
"A minimum: Search Console leaves out rare queries, and these are rare by nature.",
|
|
11855
|
+
"pronoun: it, they, this and the like with nothing named, under ten words. Queries that name the site (its brand terms, from its own top queries) and the \"it\" of time, weather and distance are not counted.",
|
|
11556
11856
|
"Rewordings of one question are grouped by their shared words; page is the page with the most impressions for it.",
|
|
11557
11857
|
"Left out and counted, not shown: letters split by spaces, text broken by a wrong encoding, and text pasted from a tool or an agent’s output.",
|
|
11558
11858
|
"askable: a chat or long question that opens with a question word or a request such as \"i need\", or ends with a question mark, so an AI engine can be asked it as it is. ai_answers checks the top askable questions only.",
|
|
11559
11859
|
"Search Console’s Generative AI report is not in its API, so it is not here.",
|
|
11560
|
-
...capped ? [`Capped at the first ${MAX_ROWS} matching query and page rows.`] : []
|
|
11860
|
+
...capped ? [`Capped at the first ${MAX_ROWS$1} matching query and page rows.`] : []
|
|
11561
11861
|
]
|
|
11562
11862
|
};
|
|
11563
11863
|
}
|
|
@@ -19495,138 +19795,6 @@ async function checkSites(input, dependencies = {}) {
|
|
|
19495
19795
|
summary.durationMs = Date.now() - startedAt;
|
|
19496
19796
|
return summary;
|
|
19497
19797
|
}
|
|
19498
|
-
// packages/core/src/brand-evidence.ts
|
|
19499
|
-
const NAVIGATIONAL_STEM_THRESHOLDS = {
|
|
19500
|
-
maximumPosition: 2,
|
|
19501
|
-
minimumCtr: .2,
|
|
19502
|
-
minimumImpressions: 20
|
|
19503
|
-
};
|
|
19504
|
-
function compact(value) {
|
|
19505
|
-
return normalizeBrandText(value).replace(/\s+/g, "");
|
|
19506
|
-
}
|
|
19507
|
-
function round$1(value, digits) {
|
|
19508
|
-
return Number(value.toFixed(digits));
|
|
19509
|
-
}
|
|
19510
|
-
function stemQueryEvidence(rows, stem) {
|
|
19511
|
-
const target = compact(stem);
|
|
19512
|
-
if (!target) return void 0;
|
|
19513
|
-
let clicks = 0;
|
|
19514
|
-
let impressions = 0;
|
|
19515
|
-
let weightedPosition = 0;
|
|
19516
|
-
let sourceRows = 0;
|
|
19517
|
-
let query;
|
|
19518
|
-
for (const row of rows) {
|
|
19519
|
-
const value = row.keys?.[0];
|
|
19520
|
-
if (typeof value !== "string" || compact(value) !== target) continue;
|
|
19521
|
-
if (!Number.isFinite(row.clicks) || !Number.isFinite(row.impressions) || !Number.isFinite(row.position) || row.impressions <= 0 || row.clicks < 0) continue;
|
|
19522
|
-
const trimmed = value.trim();
|
|
19523
|
-
if (query === void 0 || trimmed < query) query = trimmed;
|
|
19524
|
-
clicks += row.clicks;
|
|
19525
|
-
impressions += row.impressions;
|
|
19526
|
-
weightedPosition += row.position * row.impressions;
|
|
19527
|
-
sourceRows++;
|
|
19528
|
-
}
|
|
19529
|
-
if (!sourceRows || query === void 0) return void 0;
|
|
19530
|
-
return {
|
|
19531
|
-
query,
|
|
19532
|
-
clicks,
|
|
19533
|
-
impressions,
|
|
19534
|
-
ctr: round$1(clicks / impressions, 4),
|
|
19535
|
-
position: round$1(weightedPosition / impressions, 2),
|
|
19536
|
-
sourceRows
|
|
19537
|
-
};
|
|
19538
|
-
}
|
|
19539
|
-
/**
|
|
19540
|
-
* Brand terms for a property, decided from its own Search Console query rows.
|
|
19541
|
-
* `rows` are query rows (`keys[0]` is the query); query/page rows also work
|
|
19542
|
-
* because rows for the same query are summed. Pure and Worker-safe.
|
|
19543
|
-
*/
|
|
19544
|
-
function brandTermsFromQueryRows(input) {
|
|
19545
|
-
const evidence = [];
|
|
19546
|
-
const excluded = [];
|
|
19547
|
-
const host = registrableDomain(input.siteUrl);
|
|
19548
|
-
const method = {
|
|
19549
|
-
id: "gsc_navigational_brand_terms_v1",
|
|
19550
|
-
heuristic: true,
|
|
19551
|
-
stemRule: NAVIGATIONAL_STEM_THRESHOLDS,
|
|
19552
|
-
stemMatch: "exact_query_ignoring_spaces_and_punctuation"
|
|
19553
|
-
};
|
|
19554
|
-
if (!host) return {
|
|
19555
|
-
terms: [],
|
|
19556
|
-
evidence,
|
|
19557
|
-
excluded,
|
|
19558
|
-
method
|
|
19559
|
-
};
|
|
19560
|
-
const suffixWords = host.suffix.split(".");
|
|
19561
|
-
const compounds = [
|
|
19562
|
-
host.domain,
|
|
19563
|
-
[host.stem, ...suffixWords].join(" "),
|
|
19564
|
-
[host.stem, ...suffixWords].join(""),
|
|
19565
|
-
[host.stem, ...suffixWords].join("-")
|
|
19566
|
-
];
|
|
19567
|
-
for (const term of [...new Set(compounds)]) evidence.push({
|
|
19568
|
-
term,
|
|
19569
|
-
source: "host-compound",
|
|
19570
|
-
reason: `Contains the property host ${host.domain}.`
|
|
19571
|
-
});
|
|
19572
|
-
const stemEvidence = stemQueryEvidence(input.rows, host.stem);
|
|
19573
|
-
const thresholds = NAVIGATIONAL_STEM_THRESHOLDS;
|
|
19574
|
-
if (!stemEvidence) excluded.push({
|
|
19575
|
-
term: host.stem,
|
|
19576
|
-
source: "domain-stem",
|
|
19577
|
-
reason: `No retained Search Console row for the exact query "${host.stem}", so the bare stem is not treated as brand.`
|
|
19578
|
-
});
|
|
19579
|
-
else if (stemEvidence.impressions >= thresholds.minimumImpressions && stemEvidence.position <= thresholds.maximumPosition && stemEvidence.ctr >= thresholds.minimumCtr) evidence.push({
|
|
19580
|
-
term: host.stem,
|
|
19581
|
-
source: "navigational-stem",
|
|
19582
|
-
reason: `The exact query "${stemEvidence.query}" averages position ${stemEvidence.position} with CTR ${stemEvidence.ctr} over ${stemEvidence.impressions} impressions, so the property looks like its navigational answer (heuristic).`,
|
|
19583
|
-
query: stemEvidence
|
|
19584
|
-
});
|
|
19585
|
-
else excluded.push({
|
|
19586
|
-
term: host.stem,
|
|
19587
|
-
source: "domain-stem",
|
|
19588
|
-
reason: `The exact query "${stemEvidence.query}" averages position ${stemEvidence.position} with CTR ${stemEvidence.ctr} over ${stemEvidence.impressions} impressions. That does not meet position <= ${thresholds.maximumPosition}, CTR >= ${thresholds.minimumCtr} and impressions >= ${thresholds.minimumImpressions}, so the bare stem is treated as a generic word.`,
|
|
19589
|
-
query: stemEvidence
|
|
19590
|
-
});
|
|
19591
|
-
return {
|
|
19592
|
-
terms: evidence.map((item) => item.term),
|
|
19593
|
-
evidence,
|
|
19594
|
-
excluded,
|
|
19595
|
-
method
|
|
19596
|
-
};
|
|
19597
|
-
}
|
|
19598
|
-
/**
|
|
19599
|
-
* Brand terms a report uses: the caller's terms when given, otherwise terms
|
|
19600
|
-
* derived from the same Search Console rows the report analyses.
|
|
19601
|
-
*/
|
|
19602
|
-
function resolveReportBrandTerms(input) {
|
|
19603
|
-
const filtering = input.includeBrand ? "included" : "excluded";
|
|
19604
|
-
const provided = (input.brandTerms ?? []).filter((term) => normalizeBrandText(term));
|
|
19605
|
-
if (provided.length) return {
|
|
19606
|
-
source: "provided",
|
|
19607
|
-
filtering,
|
|
19608
|
-
terms: provided,
|
|
19609
|
-
evidence: provided.map((term) => ({
|
|
19610
|
-
term,
|
|
19611
|
-
source: "provided",
|
|
19612
|
-
reason: "Supplied by the caller."
|
|
19613
|
-
})),
|
|
19614
|
-
excluded: [],
|
|
19615
|
-
heuristic: false
|
|
19616
|
-
};
|
|
19617
|
-
const derived = brandTermsFromQueryRows({
|
|
19618
|
-
siteUrl: input.siteUrl,
|
|
19619
|
-
rows: input.rows
|
|
19620
|
-
});
|
|
19621
|
-
return {
|
|
19622
|
-
source: "search-console-navigational",
|
|
19623
|
-
filtering,
|
|
19624
|
-
terms: derived.terms,
|
|
19625
|
-
evidence: derived.evidence,
|
|
19626
|
-
excluded: derived.excluded,
|
|
19627
|
-
heuristic: true
|
|
19628
|
-
};
|
|
19629
|
-
}
|
|
19630
19798
|
// packages/core/src/analyze/min-impressions-policy.ts
|
|
19631
19799
|
const POSITION_MIN_IMPRESSIONS_SCALE = {
|
|
19632
19800
|
share: 2e-4,
|
|
@@ -33700,6 +33868,29 @@ const hostOf$3 = (url) => {
|
|
|
33700
33868
|
};
|
|
33701
33869
|
const text = (value) => typeof value === "string" && value ? value : null;
|
|
33702
33870
|
function dataForSeoSerp(keyword, items) {
|
|
33871
|
+
const asked = /* @__PURE__ */ new Map();
|
|
33872
|
+
for (const block of items) {
|
|
33873
|
+
if (block.type !== "people_also_ask") continue;
|
|
33874
|
+
for (const element of block.items ?? []) {
|
|
33875
|
+
const question = text(element.title);
|
|
33876
|
+
if (!question || asked.has(question.toLowerCase())) continue;
|
|
33877
|
+
const answer = element.expanded_element?.[0];
|
|
33878
|
+
const page = answer?.type === "people_also_ask_expanded_element";
|
|
33879
|
+
const url = page ? String(answer?.url ?? "") : "";
|
|
33880
|
+
const goto = GOTO.test(url);
|
|
33881
|
+
asked.set(question.toLowerCase(), {
|
|
33882
|
+
question,
|
|
33883
|
+
aiAnswer: answer?.type === "people_also_ask_ai_overview_expanded_element",
|
|
33884
|
+
url: page && url && !goto ? url : null,
|
|
33885
|
+
domain: page ? goto ? null : text(answer?.domain) ?? (hostOf$3(url) || null) : null,
|
|
33886
|
+
title: page ? text(answer?.title) : null
|
|
33887
|
+
});
|
|
33888
|
+
}
|
|
33889
|
+
}
|
|
33890
|
+
const questions = asked.size ? {
|
|
33891
|
+
keyword,
|
|
33892
|
+
questions: [...asked.values()].slice(0, 20)
|
|
33893
|
+
} : null;
|
|
33703
33894
|
const found = items.find((item) => item.type === "ai_overview");
|
|
33704
33895
|
const overview = found ? {
|
|
33705
33896
|
keyword,
|
|
@@ -33733,7 +33924,8 @@ function dataForSeoSerp(keyword, items) {
|
|
|
33733
33924
|
}
|
|
33734
33925
|
return row;
|
|
33735
33926
|
}),
|
|
33736
|
-
overview
|
|
33927
|
+
overview,
|
|
33928
|
+
questions
|
|
33737
33929
|
};
|
|
33738
33930
|
}
|
|
33739
33931
|
// packages/core/src/commands/research-providers.ts
|
|
@@ -33949,6 +34141,7 @@ async function dataForSeo(keys, input) {
|
|
|
33949
34141
|
...spent.available !== void 0 ? { available: spent.available } : {},
|
|
33950
34142
|
...spent.siteTotal ? { siteTotal: spent.siteTotal } : {},
|
|
33951
34143
|
...spent.aiOverviews ? { aiOverviews: spent.aiOverviews } : {},
|
|
34144
|
+
...spent.peopleAlsoAsk ? { peopleAlsoAsk: spent.peopleAlsoAsk } : {},
|
|
33952
34145
|
...spent.rankFailed ? { rankFailed: true } : {}
|
|
33953
34146
|
};
|
|
33954
34147
|
}
|
|
@@ -34049,12 +34242,14 @@ async function dataForSeoRows(keys, input, spent) {
|
|
|
34049
34242
|
}
|
|
34050
34243
|
if (input.action === "serp") {
|
|
34051
34244
|
const rows = await eachKeyword(input.keywords.slice(0, serpKeywords(input)), spent.missed, async (keyword) => {
|
|
34052
|
-
const { rows, overview } = dataForSeoSerp(keyword, await post("v3/serp/google/organic/live/advanced", {
|
|
34245
|
+
const { rows, overview, questions } = dataForSeoSerp(keyword, await post("v3/serp/google/organic/live/advanced", {
|
|
34053
34246
|
keyword,
|
|
34054
34247
|
depth: serpDepth(input),
|
|
34055
|
-
device: input.device ?? "desktop"
|
|
34248
|
+
device: input.device ?? "desktop",
|
|
34249
|
+
...input.peopleAlsoAskDepth ? { people_also_ask_click_depth: Math.min(4, Math.max(1, Math.round(input.peopleAlsoAskDepth))) } : {}
|
|
34056
34250
|
}, 2));
|
|
34057
34251
|
if (overview) spent.aiOverviews = [...spent.aiOverviews ?? [], overview];
|
|
34252
|
+
if (questions) spent.peopleAlsoAsk = [...spent.peopleAlsoAsk ?? [], questions];
|
|
34058
34253
|
return rows;
|
|
34059
34254
|
});
|
|
34060
34255
|
return input.noRank ? rows : withDomainRank(keys, rows, spent);
|
|
@@ -34524,7 +34719,8 @@ const overview = (result) => {
|
|
|
34524
34719
|
return {
|
|
34525
34720
|
markdown: typeof block.markdown === "string" ? block.markdown : parts.map((part) => String(part.markdown ?? "")).join("\n"),
|
|
34526
34721
|
sources: urls([...list$1(block.references), ...parts.flatMap((part) => list$1(part.references))]),
|
|
34527
|
-
model: null
|
|
34722
|
+
model: null,
|
|
34723
|
+
searches: null
|
|
34528
34724
|
};
|
|
34529
34725
|
};
|
|
34530
34726
|
const ENGINES = [
|
|
@@ -34545,9 +34741,11 @@ const ENGINES = [
|
|
|
34545
34741
|
return {
|
|
34546
34742
|
markdown,
|
|
34547
34743
|
sources,
|
|
34548
|
-
model: typeof result.model === "string" ? result.model : null
|
|
34744
|
+
model: typeof result.model === "string" ? result.model : null,
|
|
34745
|
+
searches: [...new Set((Array.isArray(result.fan_out_queries) ? result.fan_out_queries : []).filter((query) => typeof query === "string").map((query) => query.trim()).filter(Boolean))]
|
|
34549
34746
|
};
|
|
34550
|
-
}
|
|
34747
|
+
},
|
|
34748
|
+
searches: true
|
|
34551
34749
|
},
|
|
34552
34750
|
{
|
|
34553
34751
|
name: "google_ai_mode",
|
|
@@ -34559,7 +34757,8 @@ const ENGINES = [
|
|
|
34559
34757
|
keyword: question,
|
|
34560
34758
|
...market
|
|
34561
34759
|
}),
|
|
34562
|
-
shown: overview
|
|
34760
|
+
shown: overview,
|
|
34761
|
+
searches: false
|
|
34563
34762
|
},
|
|
34564
34763
|
{
|
|
34565
34764
|
name: "google_ai_overview",
|
|
@@ -34573,7 +34772,8 @@ const ENGINES = [
|
|
|
34573
34772
|
load_async_ai_overview: true,
|
|
34574
34773
|
...market
|
|
34575
34774
|
}),
|
|
34576
|
-
shown: overview
|
|
34775
|
+
shown: overview,
|
|
34776
|
+
searches: false
|
|
34577
34777
|
}
|
|
34578
34778
|
];
|
|
34579
34779
|
function prose(markdown) {
|
|
@@ -34620,6 +34820,7 @@ const empty = {
|
|
|
34620
34820
|
mentioned_as: null,
|
|
34621
34821
|
sources: [],
|
|
34622
34822
|
model: null,
|
|
34823
|
+
searches: null,
|
|
34623
34824
|
answered_at: null
|
|
34624
34825
|
};
|
|
34625
34826
|
function judge(engine, task, site) {
|
|
@@ -34648,6 +34849,7 @@ function judge(engine, task, site) {
|
|
|
34648
34849
|
mentioned_as: null,
|
|
34649
34850
|
sources: [...new Set(all.filter((url) => !onTarget(url)).map(hostOf$2).filter((host) => Boolean(host)))].slice(0, MAX_SOURCES),
|
|
34650
34851
|
model: shown.model,
|
|
34852
|
+
searches: shown.searches,
|
|
34651
34853
|
answered_at
|
|
34652
34854
|
};
|
|
34653
34855
|
if (cited) return {
|
|
@@ -34684,6 +34886,13 @@ const ROUND_WAIT_MS = 5e3;
|
|
|
34684
34886
|
const sleep = (ms) => new Promise((done) => setTimeout(done, ms));
|
|
34685
34887
|
const TASK_PATTERN = /^([a-z_]+):([0-9a-f-]{20,64})$/;
|
|
34686
34888
|
const AI_ANSWER_TASK_PATTERN = TASK_PATTERN;
|
|
34889
|
+
const TOP_SEARCHES = 15;
|
|
34890
|
+
function searchesText(row) {
|
|
34891
|
+
const engine = ENGINES.find((item) => item.name === row.engine);
|
|
34892
|
+
if (engine && !engine.searches) return "not available";
|
|
34893
|
+
if (row.searches === null) return null;
|
|
34894
|
+
return row.searches.length ? row.searches.join("; ") : "none returned";
|
|
34895
|
+
}
|
|
34687
34896
|
async function runAiAnswers(input, headers, deps, more) {
|
|
34688
34897
|
const keys = dataForSeoKeys(headers);
|
|
34689
34898
|
const domain = registrableDomain(input.site)?.domain;
|
|
@@ -34826,10 +35035,21 @@ async function runAiAnswers(input, headers, deps, more) {
|
|
|
34826
35035
|
const cites = /* @__PURE__ */ new Map();
|
|
34827
35036
|
for (const row of rows) for (const host of row.sources) cites.set(host, (cites.get(host) ?? 0) + 1);
|
|
34828
35037
|
const topCited = [...cites].sort((a, b) => b[1] - a[1] || a[0].localeCompare(b[0])).slice(0, 10);
|
|
35038
|
+
const searched = /* @__PURE__ */ new Map();
|
|
35039
|
+
for (const row of rows) for (const query of row.searches ?? []) {
|
|
35040
|
+
const key = query.toLowerCase();
|
|
35041
|
+
searched.set(key, (searched.get(key) ?? 0) + 1);
|
|
35042
|
+
}
|
|
35043
|
+
const topSearches = [...searched].sort((a, b) => b[1] - a[1] || a[0].localeCompare(b[0])).slice(0, TOP_SEARCHES);
|
|
35044
|
+
const reporting = rows.filter((row) => row.searches !== null);
|
|
35045
|
+
const noSearches = reporting.filter((row) => !row.searches?.length).length;
|
|
35046
|
+
const silent = ENGINES.filter((engine) => !engine.searches);
|
|
35047
|
+
const searchesNote = reporting.length ? `Searches ChatGPT ran, across ${reporting.length} ${reporting.length === 1 ? "answer" : "answers"}${noSearches ? ` (${noSearches} returned none: ChatGPT answered without searching)` : ""}: ${topSearches.length ? `${topSearches.map(([query, n]) => `"${query}" (${n})`).join(", ")}${searched.size > TOP_SEARCHES ? `, and ${searched.size - TOP_SEARCHES} more in the rows` : ""}.` : "none returned."} ${silent.map((engine) => engine.name).join(" and ")} do not report their searches, so their searches column says not available.` : null;
|
|
34829
35048
|
const questionCount = new Set(rows.map((row) => row.question)).size;
|
|
34830
35049
|
const notes = [tasks.length ? `${tasks.length === 1 ? "One answer" : `${tasks.length} answers`} queued by an earlier run, read back at no cost.` : given.length ? `The ${given.length} questions you gave, asked as written. Impressions are blank because they don't come from Search Console.` : questionCount ? `The top ${questionCount} askable questions in Search Console’s AI-shaped queries for ${range.startDate} to ${range.endDate}, by impressions. No calls were made for other questions.` : `No askable questions in Search Console’s AI-shaped queries for ${range.startDate} to ${range.endDate}, so no answers were checked and nothing was spent.`, ...rows.length ? [
|
|
34831
35050
|
`Cited ${count("cited")}, mentioned ${count("mentioned")}, neither ${count("neither")}, no answer shown ${count("no_answer")}, unavailable ${count("unavailable")}, not ready ${count("pending")}. DataForSEO cost: $${cost}.`,
|
|
34832
35051
|
...left.length ? [`${left.length === 1 ? "One answer wasn't" : `${left.length} answers weren't`} ready yet. They're paid for: ask ai_answers again with the same target and tasks ${JSON.stringify(left)} in a minute to read them at no cost (DataForSEO keeps them for 30 days).`] : [],
|
|
35052
|
+
...searchesNote ? [searchesNote] : [],
|
|
34833
35053
|
...topCited.length ? [`Other sites these answers cite: ${topCited.map(([host, n]) => `${host} (${n})`).join(", ")}.`] : [],
|
|
34834
35054
|
...domains.filter((name) => !names.includes(name)).map((name) => `${name} is a placeholder domain that answers write into examples, so no answer counts as citing or mentioning it.`),
|
|
34835
35055
|
"Each row is one sample of an answer that changes from run to run, not a ranking.",
|
|
@@ -34845,6 +35065,7 @@ async function runAiAnswers(input, headers, deps, more) {
|
|
|
34845
35065
|
cited_url: row.cited_url,
|
|
34846
35066
|
mentioned_as: row.mentioned_as,
|
|
34847
35067
|
sources: row.sources.join(", "),
|
|
35068
|
+
searches: searchesText(row),
|
|
34848
35069
|
model: row.model,
|
|
34849
35070
|
answered_at: row.answered_at,
|
|
34850
35071
|
cost_usd: row.cost_usd,
|
|
@@ -34881,6 +35102,10 @@ async function runAiAnswers(input, headers, deps, more) {
|
|
|
34881
35102
|
host,
|
|
34882
35103
|
answers
|
|
34883
35104
|
})),
|
|
35105
|
+
searches: topSearches.map(([query, answers]) => ({
|
|
35106
|
+
query,
|
|
35107
|
+
answers
|
|
35108
|
+
})),
|
|
34884
35109
|
total: rows.length,
|
|
34885
35110
|
offset: input.offset,
|
|
34886
35111
|
rows: rows.slice(input.offset, input.offset + 50).map(({ error, ...row }) => error ? {
|
|
@@ -35828,18 +36053,22 @@ async function bingSection(source, read, property, range) {
|
|
|
35828
36053
|
if (!source.call) throw new CommandError("NOT_CONNECTED", source.missing);
|
|
35829
36054
|
const google = (dimension) => read(property, {
|
|
35830
36055
|
...range,
|
|
35831
|
-
dimensions: [dimension],
|
|
36056
|
+
dimensions: dimension ? [dimension] : [],
|
|
35832
36057
|
type: "web",
|
|
35833
36058
|
dataState: "final",
|
|
35834
|
-
maxRows:
|
|
36059
|
+
maxRows: GOOGLE_ROWS
|
|
35835
36060
|
});
|
|
35836
36061
|
const [queries, pages, googleRead] = await Promise.all([
|
|
35837
36062
|
bingQueries(source.call, source.site),
|
|
35838
36063
|
bingPages(source.call, source.site),
|
|
35839
|
-
Promise.all([
|
|
36064
|
+
Promise.all([
|
|
36065
|
+
google("query"),
|
|
36066
|
+
google("page"),
|
|
36067
|
+
google()
|
|
36068
|
+
]).catch((error) => error instanceof Error ? error : new Error(String(error)))
|
|
35840
36069
|
]);
|
|
35841
36070
|
const googleError = googleRead instanceof Error ? googleRead : null;
|
|
35842
|
-
const [googleQueries, googlePages] = googleRead instanceof Error ? [] : googleRead;
|
|
36071
|
+
const [googleQueries, googlePages, googleTotal] = googleRead instanceof Error ? [] : googleRead;
|
|
35843
36072
|
const beside = (bing, googleRows, name) => {
|
|
35844
36073
|
const norm = (value) => name === "query" ? value.toLowerCase().trim() : value.replace(/#.*$/, "");
|
|
35845
36074
|
const byKey = new Map(googleRows?.map((row) => [norm(row.keys[0] ?? ""), row]));
|
|
@@ -35861,6 +36090,11 @@ async function bingSection(source, read, property, range) {
|
|
|
35861
36090
|
const p = sumWeeks(pages.rows, range);
|
|
35862
36091
|
const invalid = queries.invalidRows + pages.invalidRows;
|
|
35863
36092
|
const empty = !queries.rows.length && !pages.rows.length && !invalid;
|
|
36093
|
+
const gap = googleQueries && googlePages && googleTotal && !empty ? engineGap(q.rows, p.rows, {
|
|
36094
|
+
queries: googleQueries,
|
|
36095
|
+
pages: googlePages,
|
|
36096
|
+
impressions: googleTotal.rows[0]?.impressions ?? 0
|
|
36097
|
+
}) : null;
|
|
35864
36098
|
return {
|
|
35865
36099
|
range,
|
|
35866
36100
|
bingSite: source.site,
|
|
@@ -35869,6 +36103,10 @@ async function bingSection(source, read, property, range) {
|
|
|
35869
36103
|
bingPages: p.rows.length,
|
|
35870
36104
|
weeks: q.weeks.length
|
|
35871
36105
|
},
|
|
36106
|
+
...gap ? {
|
|
36107
|
+
finding: gap.finding,
|
|
36108
|
+
gap: gap.data
|
|
36109
|
+
} : {},
|
|
35872
36110
|
items: beside(q.rows, googleQueries?.rows, "query"),
|
|
35873
36111
|
topPages: beside(p.rows, googlePages?.rows, "page"),
|
|
35874
36112
|
caveats: [
|
|
@@ -35881,6 +36119,57 @@ async function bingSection(source, read, property, range) {
|
|
|
35881
36119
|
]
|
|
35882
36120
|
};
|
|
35883
36121
|
}
|
|
36122
|
+
const GOOGLE_ROWS = 25e3;
|
|
36123
|
+
const GAP_PAGES = 20;
|
|
36124
|
+
function engineGap(bingQueries, bingPages, google) {
|
|
36125
|
+
const query = (value) => value.toLowerCase().trim();
|
|
36126
|
+
const page = (value) => value.replace(/#.*$/, "");
|
|
36127
|
+
const googleQueries = new Set(google.queries.rows.map((row) => query(row.keys[0] ?? "")));
|
|
36128
|
+
const bingQuerySet = new Set(bingQueries.map((row) => query(row.key)));
|
|
36129
|
+
const shared = [...bingQuerySet].filter((key) => googleQueries.has(key));
|
|
36130
|
+
const queriesCapped = google.queries.rowsFetched >= GOOGLE_ROWS;
|
|
36131
|
+
const pagesCapped = google.pages.rowsFetched >= GOOGLE_ROWS;
|
|
36132
|
+
const shown = google.queries.rows.reduce((sum, row) => sum + row.impressions, 0);
|
|
36133
|
+
const hiddenPct = google.impressions > 0 ? Math.round(Math.max(0, google.impressions - shown) / google.impressions * 1e3) / 10 : null;
|
|
36134
|
+
const googleByPage = new Map(google.pages.rows.map((row) => [page(row.keys[0] ?? ""), row]));
|
|
36135
|
+
const bingByPage = new Set(bingPages.map((row) => page(row.key)));
|
|
36136
|
+
const bingOnlyPages = bingPages.filter((row) => row.impressions > 0 && !googleByPage.has(page(row.key))).slice(0, GAP_PAGES).map((row) => ({
|
|
36137
|
+
page: row.key,
|
|
36138
|
+
bingClicks: row.clicks,
|
|
36139
|
+
bingImpressions: row.impressions,
|
|
36140
|
+
bingPosition: row.position
|
|
36141
|
+
}));
|
|
36142
|
+
const googleOnlyPages = [...google.pages.rows].filter((row) => row.clicks > 0 && !bingByPage.has(page(row.keys[0] ?? ""))).sort((a, b) => b.clicks - a.clicks || b.impressions - a.impressions || String(a.keys[0]).localeCompare(String(b.keys[0]))).slice(0, GAP_PAGES).map((row) => ({
|
|
36143
|
+
page: row.keys[0] ?? "",
|
|
36144
|
+
googleClicks: row.clicks,
|
|
36145
|
+
googleImpressions: row.impressions,
|
|
36146
|
+
googlePosition: Math.round(row.position * 10) / 10
|
|
36147
|
+
}));
|
|
36148
|
+
const googleCount = googleQueries.size;
|
|
36149
|
+
const bingCount = bingQuerySet.size;
|
|
36150
|
+
const ratio = bingCount > 0 && !queriesCapped ? Math.round(googleCount / bingCount * 10) / 10 : null;
|
|
36151
|
+
return {
|
|
36152
|
+
finding: [
|
|
36153
|
+
`Distinct queries, same dates: Search Console lists ${queriesCapped ? `at least ${googleCount} (capped)` : googleCount}, Bing ${bingCount}; ${shared.length} appear in both and ${bingCount - shared.length} ${queriesCapped ? "are not among the Search Console rows read" : "only in Bing's list"}.`,
|
|
36154
|
+
ratio !== null ? `Search Console lists ${ratio} times as many queries as Bing for this site, a heuristic: each engine lists its own subset, so this is not a ratio of searches.` : null,
|
|
36155
|
+
hiddenPct !== null ? `Queries Search Console hides for privacy carry ${queriesCapped ? "at most " : ""}${hiddenPct}% of its impressions.` : null,
|
|
36156
|
+
`Pages: ${bingOnlyPages.length}${bingOnlyPages.length === GAP_PAGES ? "+" : ""} get Bing impressions with no Search Console row${pagesCapped ? " among the pages read (capped)" : ""}; ${googleOnlyPages.length}${googleOnlyPages.length === GAP_PAGES ? "+" : ""} get Google clicks and are not in Bing's list, which holds only Bing's top pages, so that is not proof Bing does not show them.`
|
|
36157
|
+
].filter(Boolean).join(" "),
|
|
36158
|
+
data: {
|
|
36159
|
+
googleQueries: googleCount,
|
|
36160
|
+
googleQueriesCapped: queriesCapped,
|
|
36161
|
+
bingQueries: bingCount,
|
|
36162
|
+
sharedQueries: shared.length,
|
|
36163
|
+
bingOnlyQueries: bingCount - shared.length,
|
|
36164
|
+
googleToBingQueryRatio: ratio,
|
|
36165
|
+
ratioHeuristic: true,
|
|
36166
|
+
googleHiddenImpressionsPct: hiddenPct,
|
|
36167
|
+
googlePagesCapped: pagesCapped,
|
|
36168
|
+
bingOnlyPages,
|
|
36169
|
+
googleOnlyPages
|
|
36170
|
+
}
|
|
36171
|
+
};
|
|
36172
|
+
}
|
|
35884
36173
|
async function runBingRows(input, deps) {
|
|
35885
36174
|
const source = await bingFor(deps, input.site);
|
|
35886
36175
|
if (!source.call) throw new CommandError("NOT_CONNECTED", source.missing);
|
|
@@ -37915,8 +38204,8 @@ const SECTIONS = {
|
|
|
37915
38204
|
"content-decay": "Query and page pairs that lost clicks against the previous period.",
|
|
37916
38205
|
cannibalization: "Queries where more than one page of the site gets impressions, with each page’s share.",
|
|
37917
38206
|
"traffic-drop": "Daily clicks and impressions checked for a sudden change that lasted, with the date it started (else the last 7 days against the days before), and Google updates within 3 days of that date. Overlap is timing only, not cause.",
|
|
37918
|
-
"ai-queries": "Queries with the shape of AI conversations and agent searches (replies such as \"yes go on\", follow-ups, agent prompts, search operators, chat phrasing, ten or more words), with rewordings grouped into one question and its top page, impressions, clicks and position. A heuristic: Search Console does not mark AI Mode.",
|
|
37919
|
-
bing: "Bing’s top queries from Bing Webmaster Tools with Google’s clicks, impressions and position for the same query beside them, and the same for pages."
|
|
38207
|
+
"ai-queries": "Queries with the shape of AI conversations and agent searches (replies such as \"yes go on\", follow-ups, agent prompts, search operators, a pronoun with nothing named, chat phrasing, ten or more words), with rewordings grouped into one question and its top page, impressions, clicks and position, and follow-up trails: follow-ups that reached one page on one day. A heuristic: Search Console does not mark AI Mode.",
|
|
38208
|
+
bing: "Bing’s top queries from Bing Webmaster Tools with Google’s clicks, impressions and position for the same query beside them, and the same for pages; how many distinct queries each engine shows, and pages one engine shows that the other does not."
|
|
37920
38209
|
};
|
|
37921
38210
|
const SECTION_IDS = Object.keys(SECTIONS);
|
|
37922
38211
|
const PAGE_CHECKS = /* @__PURE__ */ new Set([
|
|
@@ -38314,6 +38603,7 @@ async function allSections(input, deps) {
|
|
|
38314
38603
|
`## ${id}: ${shown.total} ${shown.total === 1 ? "row" : "rows"}`,
|
|
38315
38604
|
SECTIONS[id],
|
|
38316
38605
|
typeof run.queryShapes === "string" ? run.queryShapes : null,
|
|
38606
|
+
typeof run.finding === "string" ? run.finding : null,
|
|
38317
38607
|
shown.text,
|
|
38318
38608
|
id === "traffic-drop" ? listOfUpdates(run.googleUpdates, run.updateWindow) : null
|
|
38319
38609
|
].filter(Boolean).join("\n"));
|
|
@@ -38407,6 +38697,7 @@ async function oneSection(input, deps) {
|
|
|
38407
38697
|
}
|
|
38408
38698
|
const notes = money ? [money] : [];
|
|
38409
38699
|
if (typeof report.queryShapes === "string") notes.push(report.queryShapes);
|
|
38700
|
+
if (typeof report.finding === "string") notes.push(report.finding);
|
|
38410
38701
|
const brand = brandNote(report);
|
|
38411
38702
|
if (brand) notes.push(brand);
|
|
38412
38703
|
const updates = listOfUpdates(report.googleUpdates, report.updateWindow);
|
|
@@ -38678,6 +38969,124 @@ async function installedSerpResearch(provider, input, serp) {
|
|
|
38678
38969
|
warnings
|
|
38679
38970
|
};
|
|
38680
38971
|
}
|
|
38972
|
+
// packages/core/src/commands/research-zero-volume.ts
|
|
38973
|
+
const ZERO_VOLUME_KEYWORDS = {
|
|
38974
|
+
dataforseo: 700,
|
|
38975
|
+
ahrefs: 100
|
|
38976
|
+
};
|
|
38977
|
+
const DAYS = 28;
|
|
38978
|
+
const MAX_ROWS = 25e3;
|
|
38979
|
+
const ASKABLE = /^[\p{L}\p{N}][\p{L}\p{N}\p{M} '’.&-]*$/u;
|
|
38980
|
+
const MAX_CHARACTERS = 80;
|
|
38981
|
+
const MAX_WORDS = 10;
|
|
38982
|
+
async function zeroVolumeCandidates(site, searchAnalytics, most) {
|
|
38983
|
+
const range = finalGscDateRange(DAYS);
|
|
38984
|
+
const { rows, rowsFetched } = await searchAnalytics(site, {
|
|
38985
|
+
...range,
|
|
38986
|
+
dimensions: ["query", "page"],
|
|
38987
|
+
type: "web",
|
|
38988
|
+
dataState: "final",
|
|
38989
|
+
maxRows: MAX_ROWS
|
|
38990
|
+
});
|
|
38991
|
+
const byQuery = /* @__PURE__ */ new Map();
|
|
38992
|
+
for (const row of rows) {
|
|
38993
|
+
const keyword = String(row.keys[0] ?? "").trim().toLowerCase();
|
|
38994
|
+
const page = String(row.keys[1] ?? "");
|
|
38995
|
+
if (!keyword || row.impressions <= 0) continue;
|
|
38996
|
+
const entry = byQuery.get(keyword) ?? {
|
|
38997
|
+
keyword,
|
|
38998
|
+
impressions: 0,
|
|
38999
|
+
clicks: 0,
|
|
39000
|
+
position: 0,
|
|
39001
|
+
page,
|
|
39002
|
+
positionWeight: 0,
|
|
39003
|
+
pageImpressions: 0
|
|
39004
|
+
};
|
|
39005
|
+
byQuery.set(keyword, entry);
|
|
39006
|
+
entry.impressions += row.impressions;
|
|
39007
|
+
entry.clicks += row.clicks;
|
|
39008
|
+
entry.positionWeight += row.position * row.impressions;
|
|
39009
|
+
if (row.impressions > entry.pageImpressions || row.impressions === entry.pageImpressions && page < entry.page) {
|
|
39010
|
+
entry.page = page;
|
|
39011
|
+
entry.pageImpressions = row.impressions;
|
|
39012
|
+
}
|
|
39013
|
+
}
|
|
39014
|
+
const brand = resolveReportBrandTerms({
|
|
39015
|
+
siteUrl: site,
|
|
39016
|
+
rows
|
|
39017
|
+
});
|
|
39018
|
+
const skipped = {
|
|
39019
|
+
brand: 0,
|
|
39020
|
+
notAKeyword: 0,
|
|
39021
|
+
overLimit: 0
|
|
39022
|
+
};
|
|
39023
|
+
const kept = [];
|
|
39024
|
+
const ordered = [...byQuery.values()].sort((a, b) => b.impressions - a.impressions || a.keyword.localeCompare(b.keyword));
|
|
39025
|
+
for (const entry of ordered) {
|
|
39026
|
+
const { keyword } = entry;
|
|
39027
|
+
if (isBrandQuery(keyword, brand.terms)) {
|
|
39028
|
+
skipped.brand += 1;
|
|
39029
|
+
continue;
|
|
39030
|
+
}
|
|
39031
|
+
if (keyword.length > MAX_CHARACTERS || keyword.split(/\s+/u).length > MAX_WORDS || !ASKABLE.test(keyword) || isSearchArtifactQuery(keyword) || spamHint(keyword) || aiQueryNoise(keyword) || aiQueryKind(keyword) === "operator") {
|
|
39032
|
+
skipped.notAKeyword += 1;
|
|
39033
|
+
continue;
|
|
39034
|
+
}
|
|
39035
|
+
if (kept.length >= most) {
|
|
39036
|
+
skipped.overLimit += 1;
|
|
39037
|
+
continue;
|
|
39038
|
+
}
|
|
39039
|
+
kept.push({
|
|
39040
|
+
keyword,
|
|
39041
|
+
impressions: entry.impressions,
|
|
39042
|
+
clicks: entry.clicks,
|
|
39043
|
+
position: Math.round(entry.positionWeight / entry.impressions * 10) / 10,
|
|
39044
|
+
page: entry.page
|
|
39045
|
+
});
|
|
39046
|
+
}
|
|
39047
|
+
return {
|
|
39048
|
+
range,
|
|
39049
|
+
queries: kept,
|
|
39050
|
+
skipped,
|
|
39051
|
+
brandTerms: brand.terms,
|
|
39052
|
+
capped: rowsFetched >= MAX_ROWS
|
|
39053
|
+
};
|
|
39054
|
+
}
|
|
39055
|
+
function zeroVolumeRows(candidates, providerRows, provider) {
|
|
39056
|
+
const metric = provider === "dataforseo" ? "search_volume" : "volume";
|
|
39057
|
+
const volumes = /* @__PURE__ */ new Map();
|
|
39058
|
+
for (const row of providerRows) {
|
|
39059
|
+
const keyword = String(row.keyword ?? "").toLowerCase();
|
|
39060
|
+
const value = row[metric];
|
|
39061
|
+
const volume = typeof value === "number" ? value : null;
|
|
39062
|
+
if (!volumes.has(keyword) || volume !== null) volumes.set(keyword, volume);
|
|
39063
|
+
}
|
|
39064
|
+
let zero = 0;
|
|
39065
|
+
let unknown = 0;
|
|
39066
|
+
const rows = [];
|
|
39067
|
+
for (const query of candidates.queries) {
|
|
39068
|
+
const volume = volumes.get(query.keyword);
|
|
39069
|
+
if (typeof volume === "number" && volume > 0) continue;
|
|
39070
|
+
const known = typeof volume === "number";
|
|
39071
|
+
if (known) zero += 1;
|
|
39072
|
+
else unknown += 1;
|
|
39073
|
+
rows.push({
|
|
39074
|
+
keyword: query.keyword,
|
|
39075
|
+
[metric]: known ? volume : null,
|
|
39076
|
+
status: known ? "zero" : "unknown",
|
|
39077
|
+
impressions: query.impressions,
|
|
39078
|
+
clicks: query.clicks,
|
|
39079
|
+
position: query.position,
|
|
39080
|
+
page: query.page
|
|
39081
|
+
});
|
|
39082
|
+
}
|
|
39083
|
+
return {
|
|
39084
|
+
rows,
|
|
39085
|
+
zero,
|
|
39086
|
+
unknown,
|
|
39087
|
+
rated: candidates.queries.length - zero - unknown
|
|
39088
|
+
};
|
|
39089
|
+
}
|
|
38681
39090
|
// packages/core/src/commands/research.ts
|
|
38682
39091
|
const RESEARCH_ACTIONS = [
|
|
38683
39092
|
"keyword_metrics",
|
|
@@ -38694,7 +39103,7 @@ const RESEARCH_ACTIONS = [
|
|
|
38694
39103
|
"index_check"
|
|
38695
39104
|
];
|
|
38696
39105
|
const RESEARCH_PROVIDERS = ["dataforseo", "ahrefs"];
|
|
38697
|
-
const RESEARCH_HELP = `provider is optional: without it the call uses the saved key, DataForSEO when both are saved. In the CLI and the local MCP server, serp can also use a provider package installed on this machine that supplies live search results: pass its id as provider. The target is a domain (the whole site), a path ending in / such as example.com/blog/ (every URL under it), or one page; scope overrides that. keyword_metrics (keywords: volume, difficulty, CPC), keyword_ideas (up to 5 seed keywords: searches that contain each seed, by volume), ranked_keywords (target: keywords a site, subfolder or page ranks for, with the provider's traffic total for the whole target), top_pages (target: the pages with the most estimated organic traffic), serp (keywords, up to 5: the ranking pages with their organic position beside DataForSEO's rank_absolute, which also counts AI Overviews and other blocks, plus the AI Overview's sources; device desktop or mobile, DataForSEO only; each with its domain's authority: DataForSEO domain_rank 0 to 100, Ahrefs domain_rating; depth sets results per keyword, default 20; rows run position by position across the keywords), index_check (DataForSEO only; target: one page URL; keywords: up to 2 exact phrases from the page, default its H1 or title. Searches Google for site:<url> and each "<phrase>" on desktop and mobile, retries failed searches, treats Google's fallback to unrelated sites as no match, and says indexed, not found or unknown with each search's evidence; about $0.01 a page), serp_overlap (2 to 10 keywords: for each pair, how many of their top 10 pages and sites are the same, to decide one page or several; results without a real page are counted, not compared), competitors (target: domains that share keywords), backlinks (target: referring domains), pages_by_backlinks (target: the pages with the most referring domains), link_gap (target and 2 to 5 competitors: referring domains that link to two or more competitors and not the target, highest authority first, from each site's top 1,000 referring domains; costs one backlinks call per site), ai_answers (DataForSEO only; target: the site. Without keywords it takes the site’s top 10 chat-style and long questions from Search Console’s AI-shaped queries itself. With up to 10 questions in keywords it asks those instead, and the target can be any domain, such as a competitor's. Each answer row also lists the other sites it cites, and the notes rank them. Answers come from DataForSEO's queue: answers not ready after about 40 seconds are returned as tasks, already paid for; call again with the same target and those tasks to read them at no cost. It asks ChatGPT search, Google AI Mode and Google AI Overviews each one and says whether the answer cites or mentions the site. DataForSEO’s queue prices are about $0.0072 a question across the three engines, so about $0.07 a run: tell the person before running it). Rows with a domain, and the target, get a free Ahrefs domain_rating column. Numbers are provider estimates, not Search Console data.`;
|
|
39106
|
+
const RESEARCH_HELP = `provider is optional: without it the call uses the saved key, DataForSEO when both are saved. In the CLI and the local MCP server, serp can also use a provider package installed on this machine that supplies live search results: pass its id as provider. The target is a domain (the whole site), a path ending in / such as example.com/blog/ (every URL under it), or one page; scope overrides that. keyword_metrics (keywords: volume, difficulty, CPC; or target a Search Console site with no keywords: its top queries by impressions that the provider rates at zero or does not know, zero-volume keywords, in one call of up to 700 queries, about $0.10 on DataForSEO or 100 on Ahrefs), keyword_ideas (up to 5 seed keywords: searches that contain each seed, by volume), ranked_keywords (target: keywords a site, subfolder or page ranks for, with the provider's traffic total for the whole target), top_pages (target: the pages with the most estimated organic traffic), serp (keywords, up to 5: the ranking pages with their organic position beside DataForSEO's rank_absolute, which also counts AI Overviews and other blocks, plus the AI Overview's sources and the People Also Ask questions; device desktop or mobile, DataForSEO only; each with its domain's authority: DataForSEO domain_rank 0 to 100, Ahrefs domain_rating; depth sets results per keyword, default 20; rows run position by position across the keywords), index_check (DataForSEO only; target: one page URL; keywords: up to 2 exact phrases from the page, default its H1 or title. Searches Google for site:<url> and each "<phrase>" on desktop and mobile, retries failed searches, treats Google's fallback to unrelated sites as no match, and says indexed, not found or unknown with each search's evidence; about $0.01 a page), serp_overlap (2 to 10 keywords: for each pair, how many of their top 10 pages and sites are the same, to decide one page or several; results without a real page are counted, not compared), competitors (target: domains that share keywords), backlinks (target: referring domains), pages_by_backlinks (target: the pages with the most referring domains), link_gap (target and 2 to 5 competitors: referring domains that link to two or more competitors and not the target, highest authority first, from each site's top 1,000 referring domains; costs one backlinks call per site), ai_answers (DataForSEO only; target: the site. Without keywords it takes the site’s top 10 chat-style and long questions from Search Console’s AI-shaped queries itself. With up to 10 questions in keywords it asks those instead, and the target can be any domain, such as a competitor's. Each answer row also lists the other sites it cites, and the notes rank them. Answers come from DataForSEO's queue: answers not ready after about 40 seconds are returned as tasks, already paid for; call again with the same target and those tasks to read them at no cost. It asks ChatGPT search, Google AI Mode and Google AI Overviews each one and says whether the answer cites or mentions the site. Each ChatGPT row lists the web searches ChatGPT ran (fan-out), and the notes rank the most common; to see them for any questions, pass the questions in keywords with any target. Web search is not forced: forcing costs the same but makes ChatGPT search questions it answers from memory, so "none returned" means it answered without searching. AI Mode and AI Overviews do not report their searches. DataForSEO’s queue prices are about $0.0072 a question across the three engines, so about $0.07 a run: tell the person before running it). Rows with a domain, and the target, get a free Ahrefs domain_rating column. Numbers are provider estimates, not Search Console data.`;
|
|
38698
39107
|
const GENERIC_PLATFORMS = [
|
|
38699
39108
|
"youtube.com",
|
|
38700
39109
|
"facebook.com",
|
|
@@ -38756,6 +39165,7 @@ async function runResearch(input, keys, options) {
|
|
|
38756
39165
|
const offset = input.offset ?? 0;
|
|
38757
39166
|
if (input.action === "ai_answers") throw new CommandError("INVALID_INPUT", "ai_answers runs on its own.");
|
|
38758
39167
|
const provider = chooseProvider(input.provider, keys);
|
|
39168
|
+
if (input.action === "keyword_metrics" && !input.keywords?.length && target && options.searchAnalytics) return zeroVolume(input, keys, provider, options.searchAnalytics, options);
|
|
38759
39169
|
const builtIn = RESEARCH_PROVIDERS.includes(provider) ? provider : null;
|
|
38760
39170
|
if (!builtIn && input.action !== "serp") throw new CommandError("INVALID_INPUT", `An installed provider answers serp only; ${input.action} needs a built-in provider.`);
|
|
38761
39171
|
if (input.action === "index_check") {
|
|
@@ -38785,7 +39195,8 @@ async function runResearch(input, keys, options) {
|
|
|
38785
39195
|
competitors: input.competitors ?? [],
|
|
38786
39196
|
country,
|
|
38787
39197
|
...input.action === "serp" ? { depth: input.depth ?? 20 } : {},
|
|
38788
|
-
...device === "mobile" ? { device } : {}
|
|
39198
|
+
...device === "mobile" ? { device } : {},
|
|
39199
|
+
...input.action === "serp" && input.peopleAlsoAskDepth ? { peopleAlsoAskDepth: input.peopleAlsoAskDepth } : {}
|
|
38789
39200
|
};
|
|
38790
39201
|
const store = options.store ?? workersResearchStore();
|
|
38791
39202
|
const key = await researchKey([
|
|
@@ -38806,7 +39217,7 @@ async function runResearch(input, keys, options) {
|
|
|
38806
39217
|
savedAt: (/* @__PURE__ */ new Date()).toISOString(),
|
|
38807
39218
|
result
|
|
38808
39219
|
});
|
|
38809
|
-
const { rows: fetched, costUsd: paid, partial, missed, noData, floor, leftOut, available, siteTotal, rankFailed, compared, aiOverviews, warnings } = result;
|
|
39220
|
+
const { rows: fetched, costUsd: paid, partial, missed, noData, floor, leftOut, available, siteTotal, rankFailed, compared, aiOverviews, peopleAlsoAsk, warnings } = result;
|
|
38810
39221
|
const costUsd = saved ? 0 : paid;
|
|
38811
39222
|
const order = new Map(request.keywords.map((word, index) => [word, index]));
|
|
38812
39223
|
const found = input.action === "serp" && request.keywords.length > 1 ? [...fetched].sort((a, b) => Number(a.position ?? 0) - Number(b.position ?? 0) || (order.get(String(a.keyword)) ?? 0) - (order.get(String(b.keyword)) ?? 0)) : fetched;
|
|
@@ -38838,6 +39249,7 @@ async function runResearch(input, keys, options) {
|
|
|
38838
39249
|
...VOLUME_ACTIONS.includes(input.action) && builtIn ? [`Volume model: ${VOLUME_MODEL[builtIn]} ${VOLUMES_DIFFER}`] : [],
|
|
38839
39250
|
...input.action === "serp" || input.action === "ranked_keywords" ? [positionNote(provider)] : [],
|
|
38840
39251
|
...aiOverviews?.length ? [aiOverviewNote(aiOverviews, request.keywords.length)] : input.action === "serp" && provider === "dataforseo" && rows.length ? ["No AI Overview on these results pages."] : [],
|
|
39252
|
+
...peopleAlsoAsk?.length ? [peopleAlsoAskNote(peopleAlsoAsk, request.keywords.length)] : [],
|
|
38841
39253
|
...perKeyword ? [`Results per keyword: ${Object.entries(perKeyword).map(([word, count]) => `${word} ${count}`).join(", ")}. Rows run position by position across the keywords.`] : [],
|
|
38842
39254
|
...siteTotal && builtIn ? [siteTotalNote(builtIn, siteTotal, rows.length)] : [],
|
|
38843
39255
|
...available !== void 0 && available > found.length ? [`Capped: ${provider} has ${available.toLocaleString("en-US")} rows for this; this read the first ${found.length.toLocaleString("en-US")} in its order.`] : [],
|
|
@@ -38873,7 +39285,10 @@ async function runResearch(input, keys, options) {
|
|
|
38873
39285
|
country,
|
|
38874
39286
|
language,
|
|
38875
39287
|
...device ? { device: provider === "dataforseo" ? device : null } : {},
|
|
38876
|
-
...input.action === "serp" && provider === "dataforseo" ? {
|
|
39288
|
+
...input.action === "serp" && provider === "dataforseo" ? {
|
|
39289
|
+
aiOverviews: aiOverviews ?? [],
|
|
39290
|
+
peopleAlsoAsk: peopleAlsoAsk ?? []
|
|
39291
|
+
} : {},
|
|
38877
39292
|
targetDomainRating: hasTargetDr ? targetDr : null,
|
|
38878
39293
|
attribution: rated.added || hasTargetDr ? DR_ATTRIBUTION : null,
|
|
38879
39294
|
leftOut: note,
|
|
@@ -38902,6 +39317,10 @@ function positionNote(provider) {
|
|
|
38902
39317
|
if (provider !== "dataforseo" && provider !== "ahrefs") return `position is the organic position the ${provider} package reports (its rankGroup); rank_absolute is its rank among every block on the page, and type is featured_snippet for a featured snippet, which has no organic position.`;
|
|
38903
39318
|
return provider === "dataforseo" ? "position is the organic position: the nth organic link (DataForSEO rank_group). rank_absolute counts every block on the page from the top, AI Overviews, People Also Ask, videos and images included, so it is higher. A featured snippet has type featured_snippet and no organic position." : "position is the organic position: the nth row Ahrefs marks organic. ahrefs_position is Ahrefs' own position field, and type lists what each row is.";
|
|
38904
39319
|
}
|
|
39320
|
+
function peopleAlsoAskNote(asked, keywords) {
|
|
39321
|
+
const each = asked.map((block) => `${block.keyword}: ${block.questions.map((item) => item.question).join(" | ")}`);
|
|
39322
|
+
return `People Also Ask shown for ${asked.length} of ${keywords} keyword${keywords === 1 ? "" : "s"}. ${each.join("; ")}. Google answers most of these with its own AI text, not a page; the answering page, when there is one, is in the JSON as peopleAlsoAsk.`;
|
|
39323
|
+
}
|
|
38905
39324
|
function aiOverviewNote(overviews, keywords) {
|
|
38906
39325
|
const each = overviews.map((overview) => {
|
|
38907
39326
|
const sites = [...new Set(overview.references.map((ref) => ref.domain).filter((domain) => Boolean(domain)))];
|
|
@@ -38953,6 +39372,83 @@ async function sortedByDomainRating(rows, key) {
|
|
|
38953
39372
|
added: true
|
|
38954
39373
|
};
|
|
38955
39374
|
}
|
|
39375
|
+
async function zeroVolume(input, keys, asked, searchAnalytics, options) {
|
|
39376
|
+
if (!RESEARCH_PROVIDERS.includes(asked)) throw new CommandError("INVALID_INPUT", "keyword_metrics for a site needs dataforseo or ahrefs.");
|
|
39377
|
+
const provider = asked;
|
|
39378
|
+
const country = input.country ?? "us";
|
|
39379
|
+
const site = input.target ?? "";
|
|
39380
|
+
const offset = input.offset ?? 0;
|
|
39381
|
+
const candidates = await zeroVolumeCandidates(site, searchAnalytics, ZERO_VOLUME_KEYWORDS[provider]);
|
|
39382
|
+
const keywords = candidates.queries.map((query) => query.keyword);
|
|
39383
|
+
const request = {
|
|
39384
|
+
action: "keyword_metrics",
|
|
39385
|
+
keywords,
|
|
39386
|
+
target: "",
|
|
39387
|
+
competitors: [],
|
|
39388
|
+
country
|
|
39389
|
+
};
|
|
39390
|
+
const limit = keywords.length;
|
|
39391
|
+
const store = options.store ?? workersResearchStore();
|
|
39392
|
+
const key = await researchKey([
|
|
39393
|
+
provider,
|
|
39394
|
+
keys.get(KEY_HEADER[provider]),
|
|
39395
|
+
request
|
|
39396
|
+
]);
|
|
39397
|
+
const saved = keywords.length ? await readResearch(store, key, limit) : null;
|
|
39398
|
+
const result = keywords.length ? saved?.result ?? await research(provider, keys, {
|
|
39399
|
+
...request,
|
|
39400
|
+
limit
|
|
39401
|
+
}) : null;
|
|
39402
|
+
if (result && !saved) await saveResearch(store, key, {
|
|
39403
|
+
limit,
|
|
39404
|
+
savedAt: (/* @__PURE__ */ new Date()).toISOString(),
|
|
39405
|
+
result
|
|
39406
|
+
});
|
|
39407
|
+
const found = result ? zeroVolumeRows(candidates, result.rows, provider) : {
|
|
39408
|
+
rows: [],
|
|
39409
|
+
zero: 0,
|
|
39410
|
+
unknown: 0,
|
|
39411
|
+
rated: 0
|
|
39412
|
+
};
|
|
39413
|
+
const costUsd = saved ? 0 : result?.costUsd ?? null;
|
|
39414
|
+
const detail = input.detail ?? "summary";
|
|
39415
|
+
const size = detail === "full" ? Math.max(found.rows.length, 1) : 50;
|
|
39416
|
+
const { skipped, range } = candidates;
|
|
39417
|
+
const metric = provider === "dataforseo" ? "search_volume" : "volume";
|
|
39418
|
+
return {
|
|
39419
|
+
text: rowsText({
|
|
39420
|
+
title: `${provider} zero-volume keywords for ${site}, ${country}: ${found.rows.length} of ${keywords.length} of the site's top queries by Search Console impressions (${range.startDate} to ${range.endDate}) have ${metric} 0 (${found.zero}) or none (${found.unknown}); ${found.rated} have a volume.`,
|
|
39421
|
+
rows: found.rows,
|
|
39422
|
+
offset,
|
|
39423
|
+
limit: size,
|
|
39424
|
+
detail,
|
|
39425
|
+
notes: [
|
|
39426
|
+
`Impressions, clicks and position are Search Console's; ${metric} is ${provider}'s estimate. ${VOLUME_MODEL[provider]} A zero or missing volume means the provider's data is below its floor or does not have the keyword, not that nobody searches it: the impressions show people do.`,
|
|
39427
|
+
`Asked about ${keywords.length} queries in one call (at most ${ZERO_VOLUME_KEYWORDS[provider]} for ${provider}). Not asked: ${skipped.brand} brand queries (${candidates.brandTerms.join(", ") || "no brand terms"}), ${skipped.notAKeyword} that are not keywords (operators, pasted text, over 10 words or 80 characters), ${skipped.overLimit} with fewer impressions.`,
|
|
39428
|
+
...candidates.capped ? ["Search Console rows were capped at 25,000 query and page rows, so some queries were not read."] : [],
|
|
39429
|
+
saved ? `Read from the result saved at ${saved.savedAt}, at no new cost. Results are kept for a day.` : costUsd !== null ? `DataForSEO cost: $${costUsd}.` : provider === "ahrefs" ? "Ahrefs charges API units for each keyword returned; its response doesn't say how many." : "No keywords to ask about, so nothing was spent."
|
|
39430
|
+
],
|
|
39431
|
+
more: options.call
|
|
39432
|
+
}),
|
|
39433
|
+
data: {
|
|
39434
|
+
provider,
|
|
39435
|
+
action: "keyword_metrics",
|
|
39436
|
+
target: site,
|
|
39437
|
+
country,
|
|
39438
|
+
range,
|
|
39439
|
+
asked: keywords.length,
|
|
39440
|
+
zero: found.zero,
|
|
39441
|
+
unknown: found.unknown,
|
|
39442
|
+
rated: found.rated,
|
|
39443
|
+
skipped,
|
|
39444
|
+
brandTerms: candidates.brandTerms,
|
|
39445
|
+
capped: candidates.capped,
|
|
39446
|
+
costUsd,
|
|
39447
|
+
savedAt: saved?.savedAt ?? null,
|
|
39448
|
+
rows: detail === "full" ? found.rows : found.rows.slice(offset, offset + size)
|
|
39449
|
+
}
|
|
39450
|
+
};
|
|
39451
|
+
}
|
|
38956
39452
|
// packages/core/src/commands/simple-analytics.ts
|
|
38957
39453
|
const SIMPLE_ANALYTICS_KEY = "x-simpleanalytics-key";
|
|
38958
39454
|
const simpleAnalyticsKey = (keys) => keys.get("x-simpleanalytics-key")?.trim() || null;
|
|
@@ -39783,6 +40279,7 @@ async function runLostPages(input, deps) {
|
|
|
39783
40279
|
}
|
|
39784
40280
|
};
|
|
39785
40281
|
}
|
|
40282
|
+
[...STOPWORDS];
|
|
39786
40283
|
// packages/core/src/commands/week.ts
|
|
39787
40284
|
const DAY_MS = 864e5;
|
|
39788
40285
|
function weekLabel(start, end) {
|
|
@@ -40238,7 +40735,12 @@ const SHARED_TOOLS = [
|
|
|
40238
40735
|
brand: input.brand
|
|
40239
40736
|
}, await surface.keys(), surface.deps, (offset, tasks) => `seo_research with the same provider, action, target, also and brand, tasks ${JSON.stringify(tasks)}, detail "rows", offset ${offset}. Passing the tasks reads these answers back at no cost; without them every question is asked and paid for again`);
|
|
40240
40737
|
}
|
|
40241
|
-
|
|
40738
|
+
const zeroVolume = input.action === "keyword_metrics" && !input.keywords.length && input.target;
|
|
40739
|
+
return runResearch(zeroVolume ? {
|
|
40740
|
+
...input,
|
|
40741
|
+
target: await surface.resolveSite(input.target)
|
|
40742
|
+
} : input, await surface.keys(), {
|
|
40743
|
+
searchAnalytics: zeroVolume ? surface.deps.searchAnalytics : void 0,
|
|
40242
40744
|
drKey: surface.drKey,
|
|
40243
40745
|
store: surface.researchStore,
|
|
40244
40746
|
installedSerp: surface.installedSerp,
|
|
@@ -43339,6 +43841,6 @@ function isoDate(daysAgo = 0) {
|
|
|
43339
43841
|
date.setUTCDate(date.getUTCDate() - daysAgo);
|
|
43340
43842
|
return date.toISOString().slice(0, 10);
|
|
43341
43843
|
}
|
|
43342
|
-
export { AHREFS_API_KEY_ENV, AHREFS_API_KEY_SECRET, AI_REFERRAL_SOURCES, AI_REFERRAL_SOURCES_VERSION, ANALYTICS_PROVIDER_IDS, AUDIT_PAGE_RULE_IDS, AhrefsClient, BING_API_KEY_ENV, BING_API_KEY_SECRET, BROWSER_USER_AGENT, CANNIBAL_MAXIMUM_DOMINANT_SHARE, CANNIBAL_MINIMUM_PAGE_IMPRESSIONS, CANNIBAL_MINIMUM_PAGE_SHARE, CLICKY_SITEKEY_ENV, CLICKY_SITE_KEYS_SECRET, CLOUD_SIGN_IN, CLOUD_URL, CRAWL_SKIP_REASONS, CTR_DEFAULT_LIMIT, CTR_MAX_LIMIT, CTR_MAX_MIN_IMPRESSIONS, DATAFORSEO_CREDENTIAL_SECRET, DATAFORSEO_LOGIN_ENV, DATAFORSEO_PASSWORD_ENV, DEFAULT_MAX_PAGES, DEFAULT_SEARCH_CONSOLE_EXPORT_ROW_LIMIT, DEFAULT_UNREACHED_PAGE_LIMIT, DataForSeoClient, DecisionModelError, DecisionRunner, GOOGLE_TIMEOUT_MS, GSC_FINAL_DATA_LAG_DAYS, GSC_TIME_ZONE, GoogleApiError, INCIDENTS_URL, JsonFileStorageAdapter, LINK_ROLES, LINT_MAX_FILES, LOCAL_BING_CONNECT, LOCAL_SIGN_IN, LOG_MAX_AGE_MS, LOG_MAX_FILE_BYTES, LOG_MAX_TOTAL_BYTES, LocalCredentialsProvider, MANAGED_PROVIDER_SECRET_NAMES, MAX_CRAWL_CONCURRENCY, MAX_CRAWL_DEPTH, MAX_CRAWL_PAGES, MAX_CRAWL_TIMEOUT_MS, MAX_MAX_PAGES, MAX_SEARCH_CONSOLE_EXPORT_FILES, MAX_SEARCH_CONSOLE_EXPORT_ROW_LIMIT, PAGE_TYPES, PROVIDER_ERROR_CODES, PROVIDER_SECRET_NAMES, ProviderError, ProviderExtensionRegistry, RESEARCH_IMPORT_COLUMN_KEYS, ResponseSizeLimitError, SEARCH_INTENTS, SEO_CRAWLER_IDENTITY, SEO_CRAWLER_TOKEN, SEO_CRAWLER_USER_AGENT, SEO_PROVIDER_API_VERSION, SEO_VERSION, SERP_TITLE_REFERENCE_WIDTH_PX, SERP_TITLE_WIDTH_PROFILE, SIMPLE_ANALYTICS_KEY_ENV, SITEMAP_FILE_URL_LIMIT, SITE_CHECK_MAX_ISSUES, SITE_CHECK_MAX_PAGES, SITE_FACTS_DEFAULT_CONCURRENCY, SITE_FACTS_MAX_CONCURRENCY, SITE_FACTS_MAX_SITES, SITE_FACTS_TIMEOUT_MS, STEP_CHANGE_RULES, SeoError, ServiceAccountAccessTokenClient, SessionLedger, TELEMETRY_AGENTS, TELEMETRY_ENDPOINT, TELEMETRY_ERROR_CATEGORIES, TELEMETRY_EVENTS, TELEMETRY_FAILURE_CONTEXTS, TELEMETRY_FAILURE_REASONS, TELEMETRY_NOTICE, TELEMETRY_OPERATIONS, TELEMETRY_REPORTS, TELEMETRY_SCHEMA_VERSION, TELEMETRY_TIMEOUT_MS, TYPESAFE_API_KEY_ENV, URL_INSPECTION_TIMEOUT_MS, agentActionsView, aiReferralSourceForValue, aiReferralsReport, analyticsConnectionLabel, analyticsConnectionProviderId, analyticsConnectionSchema, analyticsProviderDetails, analyticsProviderSchema, analyzeAiReferralRows, analyzeCannibalImportRows, analyzeCannibalRows, analyzeCtrUnderperformersFromRows, analyzeDecay, analyzeIndexCoverageSignals, analyzePageOpportunitiesFromRows, analyzeQueryClustersFromRows, analyzeQuickWinsFromRows, analyzeSecondPageRows, analyzeSegmentRows, analyzeStrikingDistanceRows, analyzeTrafficAnomalyRows, assertCrawlConfigLimits, assertUrlMatchesGscProperty, auditCrawlPages, auditCrawlRequests, auditPage, authStatus, bearerFetch, boundedSitemapInventory, buildAgentFindings, buildQueryClusterReportFromRows, buildTelemetryPayload, builtPagePath, cacheDb, cannibalDataStatus, cannibalImportReport, cannibalReport, cannibalReportWith, changeWindow, checkBuiltSite, checkDatabaseReadiness, checkSites, classifyTelemetryFailure, clearCache, cloudAccountFor, cloudBing, cloudCredentials, cloudGoogleEmails, cloudGoogleToken, cloudKeys, cloudLinked, cloudLogout, cloudWeek, clusterQueryRows, combineRobotsValues, compareSegmentRows, configSchema, contentCoverageRecommendation, contentCoverageType, contentOptimizationFromPageOpportunities, contentOptimizationReport, countLabel, crawlConfigHash, crawlConfigSchema, crawlCoverageCaveat, crawlDefinitionId, crawlFixToQueueItem, crawlImplementationQueueWorkflow, crawlIssueGroupSchema, crawlIssueSchema, crawlOne, crawlPageSnapshotSchema, crawlReportSchema, crawlReportSummarySchema, crawlRequestObservationSchema, crawlRunId, crawlSite, crawlSkipImpact, crawlSkipReasonCountsFromRecord, crawlStatusOnly, crawlTopFixSchema, crawlerJsonSchemas, crawlerRuleCategorySchema, crawlerRuleIdSchema, crawlerRuleInfoSchema, crawlerRuleRecommendationSchema, crawlerRuleSeveritySchema, crawlerSchemas, createAuthorizedClient, createCrawlReport, createCtrBenchmarkContext, createGoogleAccessTokenClient, createLogger, createPageRenderer, ctrUnderperformersReport, ctrUnderperformersReportWith, decayClusterDrafts, decayComparisonRange, decayingReport, decayingReportWith, deleteAhrefsApiKey, deleteBingApiKey, deleteClickySiteKey, deleteDataForSeoCredentials, deleteManagedProviderSecrets, deleteProviderExtensionAccount, deleteProviderExtensionCredentials, deleteProviderSecret, deleteSimpleAnalyticsKey, deleteTokens, deriveBrandTerms, describeInstalledProviderExtension, detectAgentName, detectBrandTerms, detectTelemetryAgent, diagnoseCsvFiles, diagnoseProperty, diagnosePropertyWorkflow, effectiveRobotsDirectives, effectiveSnippetControl, ensurePrivateDatabaseFiles, ensureSeoCliDirs, estimateSerpTitleWidth, expectedCtrForPosition, explainRule, fetchCruxFieldData, fetchFailureKind, fetchPage, fetchPageStatus, fetchSearchStatusIncidents, fetchSitemapUrls, fileSize, finalGscDateRange, findOverlappingSearchUpdates, finishCloudLogin, formatRelativeExpiry, ga4MatchReason, ga4PropertyIdFromName, ga4ReportQualityWarnings, ga4RequestCanUseCache, ga4RowsToObjects, getAuthModeStatus, getCacheStats, getClientConfig, getDb, getPrivacySnapshot, getSeoCliPaths, getServiceAccountConfig, getServiceAccountStatus, getTelemetryStatus, getTokenStorageStatus, googleJson, groupCrawlIssues, hasMetaRobotsDirective, hasRule, hasXRobotsDirective, hashKey, indexCoverageSignals, inferTemplateMovement, initializeTelemetry, inspectProviderPackage, inspectSearchConsoleUrl, inspectUrl, installProviderPackage, installedProviderPackageSchema, installedProviderPackagesSchema, installedProviderSerp, internalLinksReport, internalLinksReportWith, interpretUpdateCorrelation, isBrandQuery, isNewerVersion, isSkippableReportError, isTelemetryCi, isTelemetryOperation, isTelemetryReport, isoDate, isoWeek, latestFinalGscDate, linkRecover, linkRecoverRecommendation, lintPaths, listAnalyticsAccounts, listAnalyticsDataStreams, listGa4AccountSummaries, listGa4DataStreams, listGoogleAccounts, listInstalledProviderExtensions, listRules, listSearchConsoleSites, listSearchUpdates, listSites, loadInstalledProviderExtensions, loadProviderExtensions, loadProviderPackage, loadSearchConsoleExport, localAccounts, localBing, localCredentialsProvider, localError, localGoogleFetch, localInternalLinksDependencies, localRefreshClicky, localResearchKeys, localResearchStore, loginWithLoopback, makeRunId, matchGa4WebStreams, measureCoverage, metaRobotsDirectives, migrateLegacyMacConfig, missingOAuthClientMessage, missingSharedClientLoginMessage, nodeCommandDeps, normalizeBrandText, normalizeClickySiteId, normalizeClickySiteKey, normalizeCrawlConfig, normalizeCrawlSkipReasonCounts, normalizeForCoverage, normalizeHttpUrl, normalizeJavaScriptRenderingMode, normalizeLoadedCrawlReport, normalizeProviderExtensionAccount, normalizedResearchColumnName, notSignedIn, noteCacheWrite, openCloudLink, pageEvidenceRecommendation, pageOpportunitiesReport, parseOlderThan, pendingCloudLogin, performanceAudit, performanceReportIsCacheable, plural, providerCapabilitySchema, providerConnectionFieldSchema, providerExactVersionSchema, providerExtensionIdSchema, providerIdSchema, providerIntegritySchema, providerKindSchema, providerPackageManifestSchema, providerPackageNameSchema, providerPreferenceSchema, providerRegistrationSchema, providerRequestJson, providerRequestText, pruneLogs, publicHttpFetch, queryClusterReport, queryClusterTokens, queryContentCoverageFromPage, queryContentFieldsFromPage, queryFieldCoverage, queryOpportunityRecommendation, queryPageMetrics, queryPageTopQuery, queryPagesMetrics, queryPagesMetricsBatch, queryPagesTopQueries, queryPagesTopQueriesBatch, querySearchAnalytics, quickWinsCsvRows, quickWinsReport, quickWinsReportWith, readAhrefsApiKey, readAllTokens, readBingApiKey, readBoundedResponseText, readClickySiteKey, readClickySiteKeys, readConfig, readDataForSeoCredentials, readInstalledProviderPackages, readJson, readJsonOrUndefined, readLintFiles, readOauthClient, readProviderExtensionAccount, readProviderExtensionCredentials, readProviderSecret, readSimpleAnalyticsKey, readTokens, recommendationForRule, reconcileExportPagesWithCrawl, redirectTrace, refreshAuthToken, refreshPrioritiesCsvFiles, refreshPrioritiesWorkflow, registrableDomain, removeInstalledProviderPackage, renderCrawlCsv, renderCrawlHtml, renderCrawlJunit, renderCrawlMarkdownTickets, renderCrawlPagesCsv, renderCrawlPretty, renderCsv, renderPresentationTablesMarkdown, renderWorkflowMarkdown, reportNarrative, requestHeaders, requirePageVerification, researchImportColumns, resetSeoData, resolveLocalSite, resolveSegmentRanges, resolveSeoCliPaths, reviewObservations, roundedPosition, runAnalyticsProviderLandingPages, runAnalyticsReport, runDoctor, runGa4Report, runProviderExtensionAction, runtimeForProvider, safeProviderAdapterError, saveInstalledProviderPackage, searchAnalyticsRows, searchUpdatesFromIncidents, secondPage, secondPageWith, segmentComparisonRange, segmentImpact, segmentRangeDays, seoErrorEnvelope, sessionSourceInListFilter, setActiveGoogleAccount, setTelemetryEnabled, setTokenStorageMode, shiftIsoDate, shouldExcludeBrandQuery, siteStartUrl, snapshotFetchedPage, startCloudLogin, strikingDistance, strikingDistanceWith, summarizeCrawlReport, pageTechnicalSignals as technicalPageSignals, telemetryErrorCategory, toSeoError, tokenSchema, tokenStoreSchema, topFixes, trackTelemetryCommandFailed, trackTelemetryReportComplete, trackTelemetryReportFailed, trackTelemetryReportStart, trackTelemetrySetupComplete, trafficAnomaly, trafficAnomalyWith, typesafeDecisionModel, unavailableSegmentImpactReport, unicodeTokens, uninstallProviderExtension, updateCorrelation, updateNotice, updatePostmortemCsvFiles, updatePostmortemWorkflow, urlInspectionQuota, validateResearchImportColumnSources, verifyAnalyticsProvider, verifyProviderExtension, verifyQueryContent, verifyQueryContentWith, withAgentReportContract, withRankingHistory, withinGoogleTimeout, workflowPresentation, writeAhrefsApiKey, writeBingApiKey, writeClickySiteKey, writeConfig, writeDataForSeoCredentials, writeInstalledProviderPackages, writeOauthClient, writeProviderExtensionAccount, writeProviderExtensionCredentials, writeProviderSecret, writeSimpleAnalyticsKey, writeToCache, writeTokens, xRobotsDirectives };
|
|
43844
|
+
export { AHREFS_API_KEY_ENV, AHREFS_API_KEY_SECRET, AI_REFERRAL_SOURCES, AI_REFERRAL_SOURCES_VERSION, ANALYTICS_PROVIDER_IDS, AUDIT_PAGE_RULE_IDS, AhrefsClient, BING_API_KEY_ENV, BING_API_KEY_SECRET, BROWSER_USER_AGENT, CANNIBAL_MAXIMUM_DOMINANT_SHARE, CANNIBAL_MINIMUM_PAGE_IMPRESSIONS, CANNIBAL_MINIMUM_PAGE_SHARE, CLICKY_SITEKEY_ENV, CLICKY_SITE_KEYS_SECRET, CLOUD_SIGN_IN, CLOUD_URL, CRAWL_SKIP_REASONS, CTR_DEFAULT_LIMIT, CTR_MAX_LIMIT, CTR_MAX_MIN_IMPRESSIONS, DATAFORSEO_CREDENTIAL_SECRET, DATAFORSEO_LOGIN_ENV, DATAFORSEO_PASSWORD_ENV, DEFAULT_MAX_PAGES, DEFAULT_SEARCH_CONSOLE_EXPORT_ROW_LIMIT, DEFAULT_UNREACHED_PAGE_LIMIT, DataForSeoClient, DecisionModelError, DecisionRunner, GOOGLE_TIMEOUT_MS, GSC_FINAL_DATA_LAG_DAYS, GSC_TIME_ZONE, GoogleApiError, INCIDENTS_URL, JsonFileStorageAdapter, LINK_ROLES, LINT_MAX_FILES, LOCAL_BING_CONNECT, LOCAL_SIGN_IN, LOG_MAX_AGE_MS, LOG_MAX_FILE_BYTES, LOG_MAX_TOTAL_BYTES, LocalCredentialsProvider, MANAGED_PROVIDER_SECRET_NAMES, MAX_CRAWL_CONCURRENCY, MAX_CRAWL_DEPTH, MAX_CRAWL_PAGES, MAX_CRAWL_TIMEOUT_MS, MAX_MAX_PAGES, MAX_SEARCH_CONSOLE_EXPORT_FILES, MAX_SEARCH_CONSOLE_EXPORT_ROW_LIMIT, PAGE_TYPES, PROVIDER_ERROR_CODES, PROVIDER_SECRET_NAMES, ProviderError, ProviderExtensionRegistry, RESEARCH_IMPORT_COLUMN_KEYS, ResponseSizeLimitError, SEARCH_INTENTS, SEO_CRAWLER_IDENTITY, SEO_CRAWLER_TOKEN, SEO_CRAWLER_USER_AGENT, SEO_PROVIDER_API_VERSION, SEO_VERSION, SERP_TITLE_REFERENCE_WIDTH_PX, SERP_TITLE_WIDTH_PROFILE, SIMPLE_ANALYTICS_KEY_ENV, SITEMAP_FILE_URL_LIMIT, SITE_CHECK_MAX_ISSUES, SITE_CHECK_MAX_PAGES, SITE_FACTS_DEFAULT_CONCURRENCY, SITE_FACTS_MAX_CONCURRENCY, SITE_FACTS_MAX_SITES, SITE_FACTS_TIMEOUT_MS, STEP_CHANGE_RULES, STOPWORDS, SeoError, ServiceAccountAccessTokenClient, SessionLedger, TELEMETRY_AGENTS, TELEMETRY_ENDPOINT, TELEMETRY_ERROR_CATEGORIES, TELEMETRY_EVENTS, TELEMETRY_FAILURE_CONTEXTS, TELEMETRY_FAILURE_REASONS, TELEMETRY_NOTICE, TELEMETRY_OPERATIONS, TELEMETRY_REPORTS, TELEMETRY_SCHEMA_VERSION, TELEMETRY_TIMEOUT_MS, TYPESAFE_API_KEY_ENV, URL_INSPECTION_TIMEOUT_MS, agentActionsView, aiReferralSourceForValue, aiReferralsReport, analyticsConnectionLabel, analyticsConnectionProviderId, analyticsConnectionSchema, analyticsProviderDetails, analyticsProviderSchema, analyzeAiReferralRows, analyzeCannibalImportRows, analyzeCannibalRows, analyzeCtrUnderperformersFromRows, analyzeDecay, analyzeIndexCoverageSignals, analyzePageOpportunitiesFromRows, analyzeQueryClustersFromRows, analyzeQuickWinsFromRows, analyzeSecondPageRows, analyzeSegmentRows, analyzeStrikingDistanceRows, analyzeTrafficAnomalyRows, assertCrawlConfigLimits, assertUrlMatchesGscProperty, auditCrawlPages, auditCrawlRequests, auditPage, authStatus, bearerFetch, boundedSitemapInventory, buildAgentFindings, buildQueryClusterReportFromRows, buildTelemetryPayload, builtPagePath, cacheDb, cannibalDataStatus, cannibalImportReport, cannibalReport, cannibalReportWith, changeWindow, checkBuiltSite, checkDatabaseReadiness, checkSites, classifyTelemetryFailure, clearCache, cloudAccountFor, cloudBing, cloudCredentials, cloudGoogleEmails, cloudGoogleToken, cloudKeys, cloudLinked, cloudLogout, cloudWeek, clusterQueryRows, combineRobotsValues, compareSegmentRows, configSchema, contentCoverageRecommendation, contentCoverageType, contentOptimizationFromPageOpportunities, contentOptimizationReport, countLabel, crawlConfigHash, crawlConfigSchema, crawlCoverageCaveat, crawlDefinitionId, crawlFixToQueueItem, crawlImplementationQueueWorkflow, crawlIssueGroupSchema, crawlIssueSchema, crawlOne, crawlPageSnapshotSchema, crawlReportSchema, crawlReportSummarySchema, crawlRequestObservationSchema, crawlRunId, crawlSite, crawlSkipImpact, crawlSkipReasonCountsFromRecord, crawlStatusOnly, crawlTopFixSchema, crawlerJsonSchemas, crawlerRuleCategorySchema, crawlerRuleIdSchema, crawlerRuleInfoSchema, crawlerRuleRecommendationSchema, crawlerRuleSeveritySchema, crawlerSchemas, createAuthorizedClient, createCrawlReport, createCtrBenchmarkContext, createGoogleAccessTokenClient, createLogger, createPageRenderer, ctrUnderperformersReport, ctrUnderperformersReportWith, decayClusterDrafts, decayComparisonRange, decayingReport, decayingReportWith, deleteAhrefsApiKey, deleteBingApiKey, deleteClickySiteKey, deleteDataForSeoCredentials, deleteManagedProviderSecrets, deleteProviderExtensionAccount, deleteProviderExtensionCredentials, deleteProviderSecret, deleteSimpleAnalyticsKey, deleteTokens, deriveBrandTerms, describeInstalledProviderExtension, detectAgentName, detectBrandTerms, detectTelemetryAgent, diagnoseCsvFiles, diagnoseProperty, diagnosePropertyWorkflow, effectiveRobotsDirectives, effectiveSnippetControl, ensurePrivateDatabaseFiles, ensureSeoCliDirs, estimateSerpTitleWidth, expectedCtrForPosition, explainRule, fetchCruxFieldData, fetchFailureKind, fetchPage, fetchPageStatus, fetchSearchStatusIncidents, fetchSitemapUrls, fileSize, finalGscDateRange, findOverlappingSearchUpdates, finishCloudLogin, formatRelativeExpiry, ga4MatchReason, ga4PropertyIdFromName, ga4ReportQualityWarnings, ga4RequestCanUseCache, ga4RowsToObjects, getAuthModeStatus, getCacheStats, getClientConfig, getDb, getPrivacySnapshot, getSeoCliPaths, getServiceAccountConfig, getServiceAccountStatus, getTelemetryStatus, getTokenStorageStatus, googleJson, groupCrawlIssues, hasMetaRobotsDirective, hasRule, hasXRobotsDirective, hashKey, indexCoverageSignals, inferTemplateMovement, initializeTelemetry, inspectProviderPackage, inspectSearchConsoleUrl, inspectUrl, installProviderPackage, installedProviderPackageSchema, installedProviderPackagesSchema, installedProviderSerp, internalLinksReport, internalLinksReportWith, interpretUpdateCorrelation, isBrandQuery, isNewerVersion, isSkippableReportError, isTelemetryCi, isTelemetryOperation, isTelemetryReport, isoDate, isoWeek, latestFinalGscDate, linkRecover, linkRecoverRecommendation, lintPaths, listAnalyticsAccounts, listAnalyticsDataStreams, listGa4AccountSummaries, listGa4DataStreams, listGoogleAccounts, listInstalledProviderExtensions, listRules, listSearchConsoleSites, listSearchUpdates, listSites, loadInstalledProviderExtensions, loadProviderExtensions, loadProviderPackage, loadSearchConsoleExport, localAccounts, localBing, localCredentialsProvider, localError, localGoogleFetch, localInternalLinksDependencies, localRefreshClicky, localResearchKeys, localResearchStore, loginWithLoopback, makeRunId, matchGa4WebStreams, measureCoverage, metaRobotsDirectives, migrateLegacyMacConfig, missingOAuthClientMessage, missingSharedClientLoginMessage, nodeCommandDeps, normalizeBrandText, normalizeClickySiteId, normalizeClickySiteKey, normalizeCrawlConfig, normalizeCrawlSkipReasonCounts, normalizeForCoverage, normalizeHttpUrl, normalizeJavaScriptRenderingMode, normalizeLoadedCrawlReport, normalizeProviderExtensionAccount, normalizedResearchColumnName, notSignedIn, noteCacheWrite, openCloudLink, pageEvidenceRecommendation, pageOpportunitiesReport, parseOlderThan, pendingCloudLogin, performanceAudit, performanceReportIsCacheable, plural, providerCapabilitySchema, providerConnectionFieldSchema, providerExactVersionSchema, providerExtensionIdSchema, providerIdSchema, providerIntegritySchema, providerKindSchema, providerPackageManifestSchema, providerPackageNameSchema, providerPreferenceSchema, providerRegistrationSchema, providerRequestJson, providerRequestText, pruneLogs, publicHttpFetch, queryClusterReport, queryClusterTokens, queryContentCoverageFromPage, queryContentFieldsFromPage, queryFieldCoverage, queryOpportunityRecommendation, queryPageMetrics, queryPageTopQuery, queryPagesMetrics, queryPagesMetricsBatch, queryPagesTopQueries, queryPagesTopQueriesBatch, querySearchAnalytics, quickWinsCsvRows, quickWinsReport, quickWinsReportWith, readAhrefsApiKey, readAllTokens, readBingApiKey, readBoundedResponseText, readClickySiteKey, readClickySiteKeys, readConfig, readDataForSeoCredentials, readInstalledProviderPackages, readJson, readJsonOrUndefined, readLintFiles, readOauthClient, readProviderExtensionAccount, readProviderExtensionCredentials, readProviderSecret, readSimpleAnalyticsKey, readTokens, recommendationForRule, reconcileExportPagesWithCrawl, redirectTrace, refreshAuthToken, refreshPrioritiesCsvFiles, refreshPrioritiesWorkflow, registrableDomain, removeInstalledProviderPackage, renderCrawlCsv, renderCrawlHtml, renderCrawlJunit, renderCrawlMarkdownTickets, renderCrawlPagesCsv, renderCrawlPretty, renderCsv, renderPresentationTablesMarkdown, renderWorkflowMarkdown, reportNarrative, requestHeaders, requirePageVerification, researchImportColumns, resetSeoData, resolveLocalSite, resolveSegmentRanges, resolveSeoCliPaths, reviewObservations, roundedPosition, runAnalyticsProviderLandingPages, runAnalyticsReport, runDoctor, runGa4Report, runProviderExtensionAction, runtimeForProvider, safeProviderAdapterError, saveInstalledProviderPackage, searchAnalyticsRows, searchUpdatesFromIncidents, secondPage, secondPageWith, segmentComparisonRange, segmentImpact, segmentRangeDays, seoErrorEnvelope, sessionSourceInListFilter, setActiveGoogleAccount, setTelemetryEnabled, setTokenStorageMode, shiftIsoDate, shouldExcludeBrandQuery, siteStartUrl, snapshotFetchedPage, startCloudLogin, strikingDistance, strikingDistanceWith, summarizeCrawlReport, pageTechnicalSignals as technicalPageSignals, telemetryErrorCategory, toSeoError, tokenSchema, tokenStoreSchema, topFixes, trackTelemetryCommandFailed, trackTelemetryReportComplete, trackTelemetryReportFailed, trackTelemetryReportStart, trackTelemetrySetupComplete, trafficAnomaly, trafficAnomalyWith, typesafeDecisionModel, unavailableSegmentImpactReport, unicodeTokens, uninstallProviderExtension, updateCorrelation, updateNotice, updatePostmortemCsvFiles, updatePostmortemWorkflow, urlInspectionQuota, validateResearchImportColumnSources, verifyAnalyticsProvider, verifyProviderExtension, verifyQueryContent, verifyQueryContentWith, withAgentReportContract, withRankingHistory, withinGoogleTimeout, workflowPresentation, writeAhrefsApiKey, writeBingApiKey, writeClickySiteKey, writeConfig, writeDataForSeoCredentials, writeInstalledProviderPackages, writeOauthClient, writeProviderExtensionAccount, writeProviderExtensionCredentials, writeProviderSecret, writeSimpleAnalyticsKey, writeToCache, writeTokens, xRobotsDirectives };
|
|
43343
43845
|
|
|
43344
43846
|
//# sourceMappingURL=index.js.map
|