mcp-scraper 0.3.16 → 0.3.17
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/bin/api-server.cjs +133 -5
- package/dist/bin/api-server.cjs.map +1 -1
- package/dist/bin/api-server.js +1 -1
- package/dist/bin/browser-agent-stdio-server.cjs +1 -1
- package/dist/bin/browser-agent-stdio-server.cjs.map +1 -1
- package/dist/bin/browser-agent-stdio-server.js +2 -2
- package/dist/bin/mcp-scraper-cli.cjs +1 -1
- package/dist/bin/mcp-scraper-cli.cjs.map +1 -1
- package/dist/bin/mcp-scraper-cli.js +1 -1
- package/dist/bin/mcp-scraper-combined-stdio-server.cjs +121 -4
- package/dist/bin/mcp-scraper-combined-stdio-server.cjs.map +1 -1
- package/dist/bin/mcp-scraper-combined-stdio-server.js +3 -3
- package/dist/bin/mcp-scraper-install.cjs +1 -1
- package/dist/bin/mcp-scraper-install.cjs.map +1 -1
- package/dist/bin/mcp-scraper-install.js +1 -1
- package/dist/bin/mcp-stdio-server.cjs +121 -4
- package/dist/bin/mcp-stdio-server.cjs.map +1 -1
- package/dist/bin/mcp-stdio-server.js +2 -2
- package/dist/{chunk-7XARJHS6.js → chunk-N33YEY6W.js} +124 -5
- package/dist/chunk-N33YEY6W.js.map +1 -0
- package/dist/chunk-PVWWY5NV.js +7 -0
- package/dist/chunk-PVWWY5NV.js.map +1 -0
- package/dist/{chunk-ISZWGIWL.js → chunk-UFD7N36R.js} +2 -2
- package/dist/{server-LPVBSE2E.js → server-TKWY47JA.js} +11 -5
- package/dist/server-TKWY47JA.js.map +1 -0
- package/docs/mcp-tool-manifest.generated.json +1 -1
- package/package.json +1 -1
- package/dist/chunk-7XARJHS6.js.map +0 -1
- package/dist/chunk-SOMBZK3V.js +0 -7
- package/dist/chunk-SOMBZK3V.js.map +0 -1
- package/dist/server-LPVBSE2E.js.map +0 -1
- /package/dist/{chunk-ISZWGIWL.js.map → chunk-UFD7N36R.js.map} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/version.ts"],"sourcesContent":["export const PACKAGE_VERSION = '0.3.17'\n"],"mappings":";AAAO,IAAM,kBAAkB;","names":[]}
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
} from "./chunk-WN7PBKMV.js";
|
|
8
8
|
import {
|
|
9
9
|
PACKAGE_VERSION
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-PVWWY5NV.js";
|
|
11
11
|
|
|
12
12
|
// src/mcp/browser-agent-mcp-server.ts
|
|
13
13
|
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
@@ -1329,4 +1329,4 @@ export {
|
|
|
1329
1329
|
buildBrowserAgentMcpServer,
|
|
1330
1330
|
registerBrowserAgentMcpTools
|
|
1331
1331
|
};
|
|
1332
|
-
//# sourceMappingURL=chunk-
|
|
1332
|
+
//# sourceMappingURL=chunk-UFD7N36R.js.map
|
|
@@ -94,6 +94,7 @@ import {
|
|
|
94
94
|
HttpMcpToolExecutor,
|
|
95
95
|
auditImages,
|
|
96
96
|
buildLinkGraph,
|
|
97
|
+
buildLinkReport,
|
|
97
98
|
buildPaaExtractorMcpServer,
|
|
98
99
|
computeIssues,
|
|
99
100
|
configureReportSaving,
|
|
@@ -103,8 +104,9 @@ import {
|
|
|
103
104
|
liveWebToolAnnotations,
|
|
104
105
|
outputBaseDir,
|
|
105
106
|
renderImageSection,
|
|
106
|
-
renderIssueReport
|
|
107
|
-
|
|
107
|
+
renderIssueReport,
|
|
108
|
+
renderLinkReport
|
|
109
|
+
} from "./chunk-N33YEY6W.js";
|
|
108
110
|
import {
|
|
109
111
|
CaptchaError,
|
|
110
112
|
RECAPTCHA_INSTRUCTIONS,
|
|
@@ -140,7 +142,7 @@ import {
|
|
|
140
142
|
RawMapsOverviewSchema,
|
|
141
143
|
RawMapsReviewStatsSchema
|
|
142
144
|
} from "./chunk-LFATOGDF.js";
|
|
143
|
-
import "./chunk-
|
|
145
|
+
import "./chunk-PVWWY5NV.js";
|
|
144
146
|
|
|
145
147
|
// src/api/outbound-sanitize.ts
|
|
146
148
|
var KEY_RENAMES = {
|
|
@@ -7592,6 +7594,7 @@ function chunk(items, size) {
|
|
|
7592
7594
|
function buildArtifacts(job, pages, branding, imageAudit) {
|
|
7593
7595
|
const { edges, metrics } = buildLinkGraph(pages, job.startUrl);
|
|
7594
7596
|
const issues = computeIssues(pages, metrics);
|
|
7597
|
+
const linkReport = buildLinkReport(edges, [...metrics.values()], job.startUrl);
|
|
7595
7598
|
let reportMd = renderIssueReport(job.startUrl, pages, issues, metrics);
|
|
7596
7599
|
if (imageAudit) reportMd += `
|
|
7597
7600
|
|
|
@@ -7607,7 +7610,10 @@ ${renderImageSection(imageAudit)}`;
|
|
|
7607
7610
|
{ name: "issues.json", body: JSON.stringify(issues, null, 2), type: "application/json" },
|
|
7608
7611
|
{ name: "pages.jsonl", body: jsonl(pageRows), type: "application/x-ndjson" },
|
|
7609
7612
|
{ name: "links.jsonl", body: jsonl(edges), type: "application/x-ndjson" },
|
|
7610
|
-
{ name: "link-metrics.jsonl", body: jsonl([...metrics.values()]), type: "application/x-ndjson" }
|
|
7613
|
+
{ name: "link-metrics.jsonl", body: jsonl([...metrics.values()]), type: "application/x-ndjson" },
|
|
7614
|
+
{ name: "link-report.md", body: renderLinkReport(linkReport), type: "text/markdown" },
|
|
7615
|
+
{ name: "links-summary.json", body: JSON.stringify(linkReport.summary, null, 2), type: "application/json" },
|
|
7616
|
+
{ name: "external-domains.json", body: JSON.stringify(linkReport.externalDomains, null, 2), type: "application/json" }
|
|
7611
7617
|
];
|
|
7612
7618
|
if (imageAudit) {
|
|
7613
7619
|
files.push({ name: "images.jsonl", body: jsonl(imageAudit.rows), type: "application/x-ndjson" });
|
|
@@ -17502,4 +17508,4 @@ app.get("/blog/:slug/", (c) => {
|
|
|
17502
17508
|
export {
|
|
17503
17509
|
app
|
|
17504
17510
|
};
|
|
17505
|
-
//# sourceMappingURL=server-
|
|
17511
|
+
//# sourceMappingURL=server-TKWY47JA.js.map
|