seo 0.22.2 → 0.22.3
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 +2 -2
- package/dist/{dist-JixQfSQ8.js → dist-Bl6qdzNs.js} +5 -16
- package/dist/{dist-JixQfSQ8.js.map → dist-Bl6qdzNs.js.map} +1 -1
- package/dist/{dist-CRzQ_u-z.js → dist-DyjgE4zS.js} +1 -1
- package/dist/{esm-BiZWi2n6.js → esm-CdEzuBxD.js} +2 -2
- package/dist/{esm-BiZWi2n6.js.map → esm-CdEzuBxD.js.map} +1 -1
- package/dist/index.d.ts +76 -76
- package/dist/index.js +6 -3
- package/dist/index.js.map +1 -1
- package/dist/mcp.js +6 -3
- package/dist/mcp.js.map +1 -1
- package/package.json +1 -1
package/dist/mcp.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createRequire as __seoCreateRequire } from 'node:module'; const require = __seoCreateRequire(import.meta.url);
|
|
2
|
-
import { i as __toESM, n as version, r as __commonJSMin, t as load } from "./esm-
|
|
2
|
+
import { i as __toESM, n as version, r as __commonJSMin, t as load } from "./esm-CdEzuBxD.js";
|
|
3
3
|
import { createHash, randomUUID, sign } from "node:crypto";
|
|
4
4
|
import { ZodOptional, z } from "zod";
|
|
5
5
|
import { arch, homedir, hostname, platform, tmpdir, totalmem } from "node:os";
|
|
@@ -46930,7 +46930,10 @@ function contextGuide(site, call) {
|
|
|
46930
46930
|
"## Conversion pages",
|
|
46931
46931
|
"The pages whose main job is to get a visitor to sign up, start a trial, book a demo or buy, and the pricing page. A docs page counts when it is the sign-up or install step itself. Jobs on these pages come first, so name single pages rather than whole sections. One path or URL per line, such as /pricing or /demo. A path ending in / covers every page under it, such as /features/, but / on its own is the home page. Use a section path only when every page there does that job.",
|
|
46932
46932
|
"## Brand names",
|
|
46933
|
-
|
|
46933
|
+
`The names people type when they look for this business by name, one per line: the product or company name, and the domain as people type it, such as example.com. The reports leave out every search that contains one of these names, with or without a space inside it, so "openbook" also catches "open book". Before you propose a name, list the searches it would catch with ${call("data", {
|
|
46934
|
+
site,
|
|
46935
|
+
query: "<name>"
|
|
46936
|
+
})}. Propose it only when those searches are about this business: the name with words such as login, pricing, app, download or a competitor's name, clicks that land on the home page, or a top position with a high click rate. Leave a name out when it is also the words people use for the product category or the service itself, such as a recipe site called Easy Recipes, because it would hide the searches that bring new customers. The domain alone is enough then. Show the person each name with its evidence and the clicks it would hide, and they confirm or remove them when they reply to the draft.`,
|
|
46934
46937
|
"## Competitors",
|
|
46935
46938
|
"One domain per line.",
|
|
46936
46939
|
"## Markets",
|
|
@@ -51625,7 +51628,7 @@ const dayLabel = (date) => (/* @__PURE__ */ new Date(`${date}T00:00:00Z`)).toLoc
|
|
|
51625
51628
|
month: "short",
|
|
51626
51629
|
timeZone: "UTC"
|
|
51627
51630
|
});
|
|
51628
|
-
const weekTitle = (data) => `Your SEO Skill week, ${weekLabel(data.start, data.end)}`;
|
|
51631
|
+
const weekTitle = (data) => `Your SEO Skill week${data.sites.length === 1 && data.sites[0] ? ` for ${siteName(data.sites[0].property)}` : ""}, ${weekLabel(data.start, data.end)}`;
|
|
51629
51632
|
const siteName = (property) => property.replace(/^sc-domain:|^https?:\/\//, "").replace(/\/$/, "");
|
|
51630
51633
|
const count = (n) => n.toLocaleString("en-US");
|
|
51631
51634
|
const plural = (n, one, many = `${one}s`) => `${count(n)} ${n === 1 ? one : many}`;
|