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.
Files changed (32) hide show
  1. package/dist/bin/api-server.cjs +133 -5
  2. package/dist/bin/api-server.cjs.map +1 -1
  3. package/dist/bin/api-server.js +1 -1
  4. package/dist/bin/browser-agent-stdio-server.cjs +1 -1
  5. package/dist/bin/browser-agent-stdio-server.cjs.map +1 -1
  6. package/dist/bin/browser-agent-stdio-server.js +2 -2
  7. package/dist/bin/mcp-scraper-cli.cjs +1 -1
  8. package/dist/bin/mcp-scraper-cli.cjs.map +1 -1
  9. package/dist/bin/mcp-scraper-cli.js +1 -1
  10. package/dist/bin/mcp-scraper-combined-stdio-server.cjs +121 -4
  11. package/dist/bin/mcp-scraper-combined-stdio-server.cjs.map +1 -1
  12. package/dist/bin/mcp-scraper-combined-stdio-server.js +3 -3
  13. package/dist/bin/mcp-scraper-install.cjs +1 -1
  14. package/dist/bin/mcp-scraper-install.cjs.map +1 -1
  15. package/dist/bin/mcp-scraper-install.js +1 -1
  16. package/dist/bin/mcp-stdio-server.cjs +121 -4
  17. package/dist/bin/mcp-stdio-server.cjs.map +1 -1
  18. package/dist/bin/mcp-stdio-server.js +2 -2
  19. package/dist/{chunk-7XARJHS6.js → chunk-N33YEY6W.js} +124 -5
  20. package/dist/chunk-N33YEY6W.js.map +1 -0
  21. package/dist/chunk-PVWWY5NV.js +7 -0
  22. package/dist/chunk-PVWWY5NV.js.map +1 -0
  23. package/dist/{chunk-ISZWGIWL.js → chunk-UFD7N36R.js} +2 -2
  24. package/dist/{server-LPVBSE2E.js → server-TKWY47JA.js} +11 -5
  25. package/dist/server-TKWY47JA.js.map +1 -0
  26. package/docs/mcp-tool-manifest.generated.json +1 -1
  27. package/package.json +1 -1
  28. package/dist/chunk-7XARJHS6.js.map +0 -1
  29. package/dist/chunk-SOMBZK3V.js +0 -7
  30. package/dist/chunk-SOMBZK3V.js.map +0 -1
  31. package/dist/server-LPVBSE2E.js.map +0 -1
  32. /package/dist/{chunk-ISZWGIWL.js.map → chunk-UFD7N36R.js.map} +0 -0
@@ -0,0 +1,7 @@
1
+ // src/version.ts
2
+ var PACKAGE_VERSION = "0.3.17";
3
+
4
+ export {
5
+ PACKAGE_VERSION
6
+ };
7
+ //# sourceMappingURL=chunk-PVWWY5NV.js.map
@@ -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-SOMBZK3V.js";
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-ISZWGIWL.js.map
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
- } from "./chunk-7XARJHS6.js";
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-SOMBZK3V.js";
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-LPVBSE2E.js.map
17511
+ //# sourceMappingURL=server-TKWY47JA.js.map