mcp-scraper 0.32.0 → 0.32.2
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/README.md +1 -1
- package/dist/bin/api-server.cjs +61 -34
- package/dist/bin/api-server.cjs.map +1 -1
- package/dist/bin/api-server.js +2 -2
- package/dist/bin/mcp-scraper-cli.cjs +3 -1
- package/dist/bin/mcp-scraper-cli.cjs.map +1 -1
- package/dist/bin/mcp-scraper-cli.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 +3 -1
- package/dist/bin/mcp-stdio-server.cjs.map +1 -1
- package/dist/bin/mcp-stdio-server.js +3 -3
- package/dist/bin/paa-harvest.cjs +4 -2
- package/dist/bin/paa-harvest.cjs.map +1 -1
- package/dist/bin/paa-harvest.js +2 -2
- package/dist/{chunk-RDCCU7CQ.js → chunk-AEMABLEL.js} +5 -4
- package/dist/chunk-AEMABLEL.js.map +1 -0
- package/dist/{chunk-55M5CE5L.js → chunk-MKZIL4EA.js} +2 -2
- package/dist/{chunk-PTHY7NYD.js → chunk-V73MPRU6.js} +3 -1
- package/dist/chunk-V73MPRU6.js.map +1 -0
- package/dist/{chunk-YOOEAXWP.js → chunk-XEED325T.js} +3 -3
- package/dist/chunk-XLO5CZ6T.js +7 -0
- package/dist/chunk-XLO5CZ6T.js.map +1 -0
- package/dist/index.cjs +4 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/{server-OBOTNFD6.js → server-LTZDJHFG.js} +63 -38
- package/dist/{server-OBOTNFD6.js.map → server-LTZDJHFG.js.map} +1 -1
- package/dist/{worker-7DJYUACV.js → worker-ZZCZNY3R.js} +3 -3
- package/docs/mcp-tool-manifest.generated.json +2 -2
- package/package.json +1 -1
- package/dist/chunk-CPQF3PYW.js +0 -7
- package/dist/chunk-CPQF3PYW.js.map +0 -1
- package/dist/chunk-PTHY7NYD.js.map +0 -1
- package/dist/chunk-RDCCU7CQ.js.map +0 -1
- /package/dist/{chunk-55M5CE5L.js.map → chunk-MKZIL4EA.js.map} +0 -0
- /package/dist/{chunk-YOOEAXWP.js.map → chunk-XEED325T.js.map} +0 -0
- /package/dist/{worker-7DJYUACV.js.map → worker-ZZCZNY3R.js.map} +0 -0
|
@@ -7,16 +7,16 @@ import {
|
|
|
7
7
|
registerMemoryMcpTools,
|
|
8
8
|
registerPaaExtractorMcpTools,
|
|
9
9
|
registerSerpIntelligenceCaptureTools
|
|
10
|
-
} from "../chunk-
|
|
10
|
+
} from "../chunk-XEED325T.js";
|
|
11
11
|
import "../chunk-R7EETU7Z.js";
|
|
12
12
|
import "../chunk-MTSBI7ZH.js";
|
|
13
13
|
import {
|
|
14
14
|
renderInstallTerminal
|
|
15
15
|
} from "../chunk-DUS4ENOY.js";
|
|
16
|
-
import "../chunk-
|
|
16
|
+
import "../chunk-V73MPRU6.js";
|
|
17
17
|
import {
|
|
18
18
|
PACKAGE_VERSION
|
|
19
|
-
} from "../chunk-
|
|
19
|
+
} from "../chunk-XLO5CZ6T.js";
|
|
20
20
|
import "../chunk-4767BA2O.js";
|
|
21
21
|
import "../chunk-M2S27J6Z.js";
|
|
22
22
|
import "../chunk-ICT7DDHL.js";
|
package/dist/bin/paa-harvest.cjs
CHANGED
|
@@ -86,6 +86,8 @@ var MapsSearchOptionsSchema = import_zod.z.object({
|
|
|
86
86
|
includeServices: import_zod.z.boolean().default(false),
|
|
87
87
|
proxyMode: import_zod.z.enum(["location", "configured", "none"]).default(DEFAULT_MAPS_PROXY_MODE),
|
|
88
88
|
proxyZip: import_zod.z.string().regex(/^\d{5}$/).optional(),
|
|
89
|
+
serpRedirect: import_zod.z.boolean().optional(),
|
|
90
|
+
forceDirectEgress: import_zod.z.boolean().optional(),
|
|
89
91
|
debug: import_zod.z.boolean().default(false),
|
|
90
92
|
kernelApiKey: import_zod.z.string().optional(),
|
|
91
93
|
kernelProxyId: import_zod.z.string().optional(),
|
|
@@ -496,8 +498,8 @@ function positiveIntFromEnv(name, fallback) {
|
|
|
496
498
|
function proxyIdSuffix(proxyId) {
|
|
497
499
|
return proxyId ? proxyId.slice(-6) : null;
|
|
498
500
|
}
|
|
499
|
-
function serpArrivalUrl(googleUrl) {
|
|
500
|
-
const base = process.env.SERP_REDIRECT_BASE?.trim().replace(/\/+$/, "");
|
|
501
|
+
function serpArrivalUrl(googleUrl, baseOverride) {
|
|
502
|
+
const base = (baseOverride ?? process.env.SERP_REDIRECT_BASE)?.trim().replace(/\/+$/, "");
|
|
501
503
|
if (!base) return googleUrl;
|
|
502
504
|
return `${base}/g/${Buffer.from(googleUrl, "utf8").toString("base64url")}`;
|
|
503
505
|
}
|