seo 0.0.15 → 0.2.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/LICENSE +201 -0
- package/PRIVACY.md +95 -0
- package/README.md +431 -35
- package/SECURITY.md +55 -0
- package/TERMS.md +94 -0
- package/TRADEMARKS.md +31 -0
- package/dist/cli.js +141 -0
- package/dist/cli.js.map +1 -0
- package/dist/dist-6bK_8r5M.js +713 -0
- package/dist/dist-6bK_8r5M.js.map +1 -0
- package/dist/dist-vRmqfhR4.js +3 -0
- package/dist/index.d.ts +18013 -0
- package/dist/index.js +27197 -0
- package/dist/index.js.map +1 -0
- package/dist/mcp.d.ts +74 -0
- package/dist/mcp.js +28611 -0
- package/dist/mcp.js.map +1 -0
- package/dist/package-7aT8_Xp0.js +23818 -0
- package/dist/package-7aT8_Xp0.js.map +1 -0
- package/evals/README.md +117 -0
- package/evals/affected-urls.json +57 -0
- package/evals/ai-readiness.json +84 -0
- package/evals/ai-referrals.json +71 -0
- package/evals/ai-search-scorecard.json +70 -0
- package/evals/audit-page.json +57 -0
- package/evals/audit-urls.json +58 -0
- package/evals/cannibalisation.json +57 -0
- package/evals/community-intent.json +57 -0
- package/evals/compare-crawls.json +56 -0
- package/evals/content-optimization.json +57 -0
- package/evals/crawl-diff.json +58 -0
- package/evals/crawl-history.json +44 -0
- package/evals/crawl-report.json +44 -0
- package/evals/crawler-rules.json +44 -0
- package/evals/ctr-underperformers.json +57 -0
- package/evals/decaying-pages.json +57 -0
- package/evals/entity-readiness.json +57 -0
- package/evals/explain-crawl-issue.json +44 -0
- package/evals/generate-llms-txt.json +44 -0
- package/evals/geo-gaps.json +57 -0
- package/evals/index-coverage-plan.json +58 -0
- package/evals/index-coverage.json +70 -0
- package/evals/index-monitor.json +58 -0
- package/evals/index-watch.json +68 -0
- package/evals/internal-links.json +57 -0
- package/evals/link-recovery.json +58 -0
- package/evals/llms-txt-audit.json +44 -0
- package/evals/measure-change.json +58 -0
- package/evals/monthly-action-plan.json +56 -0
- package/evals/monthly-report.json +58 -0
- package/evals/narrative-report.json +58 -0
- package/evals/okf-build.json +44 -0
- package/evals/okf-validate.json +44 -0
- package/evals/page-opportunities.json +57 -0
- package/evals/performance-audit.json +57 -0
- package/evals/pseo-audit.json +84 -0
- package/evals/query-clusters.json +57 -0
- package/evals/quick-wins.json +86 -0
- package/evals/redirect-trace.json +57 -0
- package/evals/refresh-priorities.json +57 -0
- package/evals/search-performance-overview.json +86 -0
- package/evals/second-page.json +58 -0
- package/evals/segment-impact.json +57 -0
- package/evals/seo-fix-queue.json +85 -0
- package/evals/seo-geo-readiness.json +84 -0
- package/evals/seo-site-audit.json +85 -0
- package/evals/seo-to-ai-query.json +57 -0
- package/evals/seo.json +87 -0
- package/evals/setup-check.json +56 -0
- package/evals/site-crawl.json +44 -0
- package/evals/striking-distance.json +85 -0
- package/evals/technical-watch.json +57 -0
- package/evals/top-fixes.json +44 -0
- package/evals/traffic-anomaly.json +57 -0
- package/evals/update-correlation.json +57 -0
- package/evals/update-postmortem.json +57 -0
- package/package.json +103 -23
- package/skills/README.md +68 -0
- package/skills/seo/SKILL.md +99 -0
- package/skills/seo/agents/openai.yaml +4 -0
- package/.jshintrc +0 -18
- package/.npmignore +0 -3
- package/.travis.yml +0 -3
- package/Makefile +0 -10
- package/index.js +0 -2
- package/lib/middleware.js +0 -159
- package/lib/seo.js +0 -32
- package/test/init.js +0 -43
- package/test/middleware.test.js +0 -111
- package/test/seo-page-result.html +0 -9
- package/test/seo-page.html +0 -9
- package/test/seo-routes.js +0 -5
- package/test/vendor/jquery-1.11.1.min.js +0 -4
package/dist/mcp.d.ts
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
|
|
2
|
+
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
3
|
+
import * as z from "zod/v4";
|
|
4
|
+
//#region packages/mcp/src/report-depth.d.ts
|
|
5
|
+
type RelatedReport = {
|
|
6
|
+
id: string;
|
|
7
|
+
reason: string;
|
|
8
|
+
};
|
|
9
|
+
type ReportDepth = {
|
|
10
|
+
readOrder: readonly string[];
|
|
11
|
+
doNotClaim: readonly string[];
|
|
12
|
+
verify: string;
|
|
13
|
+
related: readonly RelatedReport[];
|
|
14
|
+
};
|
|
15
|
+
//#endregion
|
|
16
|
+
//#region packages/mcp/src/report-guidance.d.ts
|
|
17
|
+
type ReportGuidance = {
|
|
18
|
+
name: string;
|
|
19
|
+
description: string;
|
|
20
|
+
useWhen: readonly [string] | readonly [string, string] | readonly [string, string, string];
|
|
21
|
+
avoidWhen: readonly [string] | readonly [string, string];
|
|
22
|
+
outcome: string;
|
|
23
|
+
};
|
|
24
|
+
type FullReportGuidance = ReportGuidance & ReportDepth;
|
|
25
|
+
//#endregion
|
|
26
|
+
//#region packages/mcp/src/tool-result.d.ts
|
|
27
|
+
type ToolResult = {
|
|
28
|
+
content: Array<{
|
|
29
|
+
type: 'text';
|
|
30
|
+
text: string;
|
|
31
|
+
}>;
|
|
32
|
+
structuredContent?: Record<string, unknown>;
|
|
33
|
+
isError?: boolean;
|
|
34
|
+
};
|
|
35
|
+
//#endregion
|
|
36
|
+
//#region packages/mcp/src/report-registry.d.ts
|
|
37
|
+
declare const REPORT_CATEGORIES: readonly ["ai-search", "crawl", "diagnosis", "experiments", "monitoring", "opportunities", "reporting", "setup", "workflows"];
|
|
38
|
+
type ReportCategory = (typeof REPORT_CATEGORIES)[number];
|
|
39
|
+
type ReportSummary = {
|
|
40
|
+
id: string;
|
|
41
|
+
category: ReportCategory;
|
|
42
|
+
name: string;
|
|
43
|
+
description: string;
|
|
44
|
+
};
|
|
45
|
+
//#endregion
|
|
46
|
+
//#region packages/mcp/src/reports.d.ts
|
|
47
|
+
declare function listReports(category?: ReportCategory): ReportSummary[];
|
|
48
|
+
declare function describeReport(id: string): {
|
|
49
|
+
id: string;
|
|
50
|
+
category: "ai-search" | "crawl" | "diagnosis" | "experiments" | "monitoring" | "opportunities" | "reporting" | "setup" | "workflows";
|
|
51
|
+
name: string;
|
|
52
|
+
description: string;
|
|
53
|
+
useWhen: readonly string[];
|
|
54
|
+
avoidWhen: readonly string[];
|
|
55
|
+
outcome: string;
|
|
56
|
+
readOrder: readonly string[];
|
|
57
|
+
doNotClaim: readonly string[];
|
|
58
|
+
verify: string;
|
|
59
|
+
related: readonly RelatedReport[];
|
|
60
|
+
inputSchema: z.core.ZodStandardJSONSchemaPayload<z.ZodObject<Readonly<{
|
|
61
|
+
[k: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
62
|
+
}>, z.core.$strip>>;
|
|
63
|
+
};
|
|
64
|
+
declare function executeReport(id: string, params?: Record<string, unknown>): Promise<ToolResult>;
|
|
65
|
+
declare function runReport(id: string, params?: Record<string, unknown>): Promise<ToolResult>;
|
|
66
|
+
//#endregion
|
|
67
|
+
//#region packages/mcp/src/index.d.ts
|
|
68
|
+
declare function createServer(): McpServer;
|
|
69
|
+
declare function startMcpServer(opts?: {
|
|
70
|
+
test?: boolean;
|
|
71
|
+
}): Promise<void>;
|
|
72
|
+
//#endregion
|
|
73
|
+
export { type FullReportGuidance, REPORT_CATEGORIES, type RelatedReport, type ReportCategory, type ReportDepth, type ReportGuidance, type ReportSummary, createServer, describeReport, executeReport, listReports, runReport, startMcpServer };
|
|
74
|
+
//# sourceMappingURL=mcp.d.ts.map
|