mcp-scraper 0.66.1 → 0.66.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.
Files changed (32) hide show
  1. package/CHANGELOG.md +29 -1
  2. package/README.md +2 -2
  3. package/dist/bin/api-server.cjs +996 -1788
  4. package/dist/bin/api-server.js +3 -3
  5. package/dist/bin/mcp-scraper-cli.cjs +1 -1
  6. package/dist/bin/mcp-scraper-cli.js +1 -1
  7. package/dist/bin/mcp-scraper-install.cjs +2 -2
  8. package/dist/bin/mcp-scraper-install.js +2 -2
  9. package/dist/bin/mcp-stdio-server.cjs +71 -87
  10. package/dist/bin/mcp-stdio-server.js +6 -6
  11. package/dist/bin/paa-harvest.js +3 -3
  12. package/dist/{chunk-WID3MFRS.js → chunk-2XVDLF6H.js} +1 -1
  13. package/dist/{chunk-4OT7BAIE.js → chunk-3EYALCYK.js} +1 -1
  14. package/dist/{chunk-TNLGHNLX.js → chunk-3TKKJQB4.js} +1 -1
  15. package/dist/{chunk-GTGSD4YS.js → chunk-55B3T5L2.js} +21 -26
  16. package/dist/{chunk-TNJIPV74.js → chunk-ABYBPODM.js} +1 -1
  17. package/dist/{chunk-NS754CRS.js → chunk-CETDPNMZ.js} +23 -23
  18. package/dist/{chunk-75VW7CWE.js → chunk-DBWWIK7O.js} +1 -1
  19. package/dist/{chunk-VRJ7CO6L.js → chunk-JBFLOJGM.js} +1 -1
  20. package/dist/{chunk-4P3PHFPQ.js → chunk-K7Y27ND3.js} +2 -12
  21. package/dist/{chunk-3PIXKLGZ.js → chunk-KXRWY7DZ.js} +1 -1
  22. package/dist/{chunk-E4LMY5OJ.js → chunk-LNLMOBP6.js} +147 -91
  23. package/dist/{chunk-AQKJOSIB.js → chunk-PMCT2YQM.js} +1 -1
  24. package/dist/{db-PO7N7ZP3.js → db-4RVZ3NYZ.js} +9 -9
  25. package/dist/{extract-bundle-SIBFUA6I.js → extract-bundle-EA5URLXN.js} +3 -3
  26. package/dist/index.js +3 -3
  27. package/dist/{lead-list-enrichment-repository-OTAUQONJ.js → lead-list-enrichment-repository-IBXNWM6H.js} +2 -2
  28. package/dist/{location-data-repository-RM2KJ3H5.js → location-data-repository-WHHQUCUI.js} +2 -2
  29. package/dist/{server-ELEJNRRE.js → server-D47PNEXR.js} +413 -1249
  30. package/dist/{site-extract-repository-ASYEJO7Z.js → site-extract-repository-NTM4MDQN.js} +2 -2
  31. package/dist/{worker-MAVYYWM7.js → worker-UTBUWEXQ.js} +5 -5
  32. package/package.json +5 -2
@@ -28,10 +28,10 @@ import {
28
28
  setExtractJobTotal,
29
29
  settleExtractJob,
30
30
  terminalExtractJobStatus
31
- } from "./chunk-3PIXKLGZ.js";
31
+ } from "./chunk-KXRWY7DZ.js";
32
32
  import "./chunk-DNM65UCK.js";
33
33
  import "./chunk-AYJHI2FK.js";
34
- import "./chunk-GTGSD4YS.js";
34
+ import "./chunk-55B3T5L2.js";
35
35
  export {
36
36
  abandonExtractSettlement,
37
37
  claimFailedExtractJobForRefinalize,
@@ -5,19 +5,19 @@ import {
5
5
  harvestProblemEnvelope,
6
6
  harvestProblemResponse,
7
7
  serializeHarvestProblem
8
- } from "./chunk-NS754CRS.js";
8
+ } from "./chunk-CETDPNMZ.js";
9
9
  import "./chunk-OZJMVCDK.js";
10
10
  import {
11
11
  harvest
12
- } from "./chunk-4P3PHFPQ.js";
12
+ } from "./chunk-K7Y27ND3.js";
13
13
  import {
14
14
  sanitizeAttempts,
15
15
  sanitizeHarvestResult
16
- } from "./chunk-4OT7BAIE.js";
16
+ } from "./chunk-3EYALCYK.js";
17
17
  import {
18
18
  browserServiceApiKey,
19
19
  runWithCostContext
20
- } from "./chunk-TNLGHNLX.js";
20
+ } from "./chunk-3TKKJQB4.js";
21
21
  import "./chunk-77LQV73B.js";
22
22
  import {
23
23
  MC_COSTS,
@@ -30,7 +30,7 @@ import {
30
30
  debitMc,
31
31
  failJob,
32
32
  listHarvestAttempts
33
- } from "./chunk-GTGSD4YS.js";
33
+ } from "./chunk-55B3T5L2.js";
34
34
 
35
35
  // src/api/worker.ts
36
36
  var MAX_CONCURRENT = 2;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mcp-scraper",
3
- "version": "0.66.1",
3
+ "version": "0.66.3",
4
4
  "description": "MCP server for MCP Scraper web intelligence tools",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -37,6 +37,7 @@
37
37
  "build": "tsup",
38
38
  "build:md": "node scripts/build-md-mirror.mjs",
39
39
  "build:mcpb": "npm run build && node scripts/build-mcpb.mjs",
40
+ "build:mcpb:candidate": "npm run build && node scripts/build-mcpb.mjs --candidate",
40
41
  "build:rates": "node --import tsx scripts/gen-rates.ts",
41
42
  "build:geotargets": "node --import tsx scripts/gen-geotargets.ts",
42
43
  "build:blog": "node scripts/run-ts-sandbox-safe.mjs scripts/build-blog.ts",
@@ -79,7 +80,8 @@
79
80
  "db:migrate": "node --import tsx scripts/run-core-migration.ts",
80
81
  "analytics:migrate": "node --import tsx scripts/run-analytics-migration.ts",
81
82
  "analytics:rollups": "node --import tsx scripts/run-analytics-rollups.ts",
82
- "mcp:verify": "npm run build && npm run mcp:manifest && npm run build:rates && npm run mcp:measure-catalog && npm run mcp:lint-tools && npm run typecheck && npm test && npm run package:verify-entrypoints",
83
+ "test:mcp-output-contract": "vitest run --config vitest.mcp-output-contract.config.ts tests/unit/golden-payloads.test.ts tests/unit/mcp-formatter-structured.test.ts tests/unit/mcp-2026-stdio.test.ts",
84
+ "mcp:verify": "npm run build && npm run mcp:manifest && npm run build:rates && npm run mcp:measure-catalog && npm run mcp:lint-tools && npm run test:mcp-output-contract && npm run typecheck && npm test && npm run package:verify-entrypoints",
83
85
  "prepack": "npm run mcp:verify",
84
86
  "package:verify-entrypoints": "node scripts/verify-package-entrypoints.mjs"
85
87
  },
@@ -95,6 +97,7 @@
95
97
  "@onkernel/sdk": "^0.93.0",
96
98
  "@resvg/resvg-js": "^2.6.2",
97
99
  "@vercel/blob": "^2.4.1",
100
+ "@vercel/functions": "^3.9.5",
98
101
  "cheerio": "1.2.0",
99
102
  "commander": "^12.0.0",
100
103
  "diff": "^9.0.0",