seo 0.8.0 → 0.8.1

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.
@@ -1,3 +1,3 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire as __seoCreateRequire } from 'node:module'; const require = __seoCreateRequire(import.meta.url);
3
- import{s as e}from"./dist-BN_s3D0r.js";export{e as startMcpServer};
3
+ import{s as e}from"./dist-B5I5uxdM.js";export{e as startMcpServer};
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 load, t as version } from "./package-D6HG7niq.js";
2
+ import { n as load, t as version } from "./package-BjCto4m4.js";
3
3
  import { SEO_PROVIDER_API_VERSION } from "./provider-sdk.js";
4
4
  import crypto, { createHash, randomUUID, sign } from "node:crypto";
5
5
  import { z } from "zod";
@@ -20924,9 +20924,9 @@ function strikingDistance(input, dependencies = defaultDependencies$5) {
20924
20924
  //#region packages/core/src/updates/search-status.ts
20925
20925
  const INCIDENTS_URL = "https://status.search.google.com/incidents.json";
20926
20926
  async function fetchSearchStatusIncidents() {
20927
- const response = await fetch$1(INCIDENTS_URL);
20927
+ const response = await fetch$1(INCIDENTS_URL, { signal: AbortSignal.timeout(8e3) });
20928
20928
  if (!response.ok) throw new SeoError("OPTIONAL_PROVIDER_UNAVAILABLE", `Google Search Status fetch failed with ${response.status}.`);
20929
- return await response.json();
20929
+ return readJson(response, "Google Search Status", { maxBytes: 10 * 1024 * 1024 });
20930
20930
  }
20931
20931
  async function listSearchUpdates(input = {}) {
20932
20932
  return searchUpdatesFromIncidents(await fetchSearchStatusIncidents(), input);
@@ -24211,7 +24211,7 @@ async function fetchCruxFieldData(input) {
24211
24211
  headers: { "content-type": "application/json" },
24212
24212
  signal: controller.signal
24213
24213
  });
24214
- const json = await response.json().catch(() => ({}));
24214
+ const json = await readJson(response, "CrUX").catch(() => ({}));
24215
24215
  if (response.status === 404) return {
24216
24216
  response,
24217
24217
  json
@@ -26962,6 +26962,24 @@ function ga4MatchReason(match, site) {
26962
26962
  const location = match.match === "domain" ? "is inside" : "matches";
26963
26963
  return `Matched Google Analytics web stream ${stream} (${match.defaultUri}): its hostname ${location} ${site}.`;
26964
26964
  }
26965
+ `${[
26966
+ "chatgpt.com",
26967
+ "chatgpt",
26968
+ "chat.openai.com",
26969
+ "perplexity.ai",
26970
+ "perplexity",
26971
+ "claude.ai",
26972
+ "gemini.google.com",
26973
+ "copilot.microsoft.com",
26974
+ "copilot.com",
26975
+ "chat.deepseek.com",
26976
+ "meta.ai",
26977
+ "grok.com",
26978
+ "chat.mistral.ai",
26979
+ "you.com",
26980
+ "phind.com",
26981
+ "poe.com"
26982
+ ].map((source) => source.replaceAll(".", "\\.")).join("|")}`;
26965
26983
  //#endregion
26966
26984
  //#region packages/core/src/commands/clicky.ts
26967
26985
  const CLICKY_KEY_PREFIX = "x-clicky-";