mcp-scraper 0.32.2 → 0.33.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/README.md +1 -1
- package/dist/bin/api-server.cjs +432 -260
- package/dist/bin/api-server.cjs.map +1 -1
- package/dist/bin/api-server.js +2 -2
- package/dist/bin/mcp-scraper-cli.cjs +5 -5
- package/dist/bin/mcp-scraper-cli.cjs.map +1 -1
- package/dist/bin/mcp-scraper-cli.js +2 -2
- 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 +47 -6
- package/dist/bin/mcp-stdio-server.cjs.map +1 -1
- package/dist/bin/mcp-stdio-server.js +2 -2
- package/dist/bin/paa-harvest.js +1 -1
- package/dist/{chunk-MKZIL4EA.js → chunk-AT2PFWHW.js} +5 -5
- package/dist/chunk-AT2PFWHW.js.map +1 -0
- package/dist/{chunk-AEMABLEL.js → chunk-ERORC7AP.js} +1 -3
- package/dist/chunk-IASKABFL.js +7 -0
- package/dist/chunk-IASKABFL.js.map +1 -0
- package/dist/{chunk-XEED325T.js → chunk-JURXY3DP.js} +48 -7
- package/dist/chunk-JURXY3DP.js.map +1 -0
- package/dist/index.js +1 -1
- package/dist/{server-LTZDJHFG.js → server-RKAKXRAR.js} +378 -247
- package/dist/server-RKAKXRAR.js.map +1 -0
- package/dist/{worker-ZZCZNY3R.js → worker-JU5FX3NE.js} +2 -2
- package/docs/adr/0003-waive-unrecoverable-scheduled-model-cost.md +22 -0
- package/docs/adr/README.md +1 -0
- package/docs/mcp-tool-manifest.generated.json +170 -13
- package/package.json +1 -1
- package/dist/chunk-MKZIL4EA.js.map +0 -1
- package/dist/chunk-XEED325T.js.map +0 -1
- package/dist/chunk-XLO5CZ6T.js +0 -7
- package/dist/chunk-XLO5CZ6T.js.map +0 -1
- package/dist/server-LTZDJHFG.js.map +0 -1
- /package/dist/{chunk-AEMABLEL.js.map → chunk-ERORC7AP.js.map} +0 -0
- /package/dist/{worker-ZZCZNY3R.js.map → worker-JU5FX3NE.js.map} +0 -0
package/dist/bin/api-server.js
CHANGED
|
@@ -17,8 +17,8 @@ loadDotEnv();
|
|
|
17
17
|
async function main() {
|
|
18
18
|
const [{ serve }, { app }, { startWorker }, { migrate }] = await Promise.all([
|
|
19
19
|
import("@hono/node-server"),
|
|
20
|
-
import("../server-
|
|
21
|
-
import("../worker-
|
|
20
|
+
import("../server-RKAKXRAR.js"),
|
|
21
|
+
import("../worker-JU5FX3NE.js"),
|
|
22
22
|
import("../db-WRILVOFY.js")
|
|
23
23
|
]);
|
|
24
24
|
const PORT = parseInt(process.env.PORT ?? "3001");
|
|
@@ -8,7 +8,7 @@ var import_promises4 = require("fs/promises");
|
|
|
8
8
|
var import_node_path3 = require("path");
|
|
9
9
|
|
|
10
10
|
// src/version.ts
|
|
11
|
-
var PACKAGE_VERSION = "0.
|
|
11
|
+
var PACKAGE_VERSION = "0.33.0";
|
|
12
12
|
|
|
13
13
|
// src/cli/agent-config.ts
|
|
14
14
|
function apiKeyValue(options) {
|
|
@@ -929,7 +929,7 @@ var DirectoryWorkflowCliInputSchema = import_zod3.z.object({
|
|
|
929
929
|
maxCities: import_zod3.z.number().int().min(1).max(100).default(25),
|
|
930
930
|
maxResultsPerCity: import_zod3.z.number().int().min(1).max(50).default(20),
|
|
931
931
|
concurrency: import_zod3.z.number().int().min(1).max(5).default(5),
|
|
932
|
-
proxyMode: import_zod3.z.enum(["
|
|
932
|
+
proxyMode: import_zod3.z.enum(["configured", "none"]).default(DEFAULT_MAPS_PROXY_MODE),
|
|
933
933
|
saveCsv: import_zod3.z.boolean().default(true)
|
|
934
934
|
});
|
|
935
935
|
function directoryRows(result) {
|
|
@@ -1062,7 +1062,7 @@ var GetLeadsInputSchema = import_zod4.z.object({
|
|
|
1062
1062
|
enrichWebsites: import_zod4.z.boolean().default(true).describe("Visit each business website (home + contact pages) to harvest email and social links. Uses the proxy/browser-backed extractor so blocked sites still resolve."),
|
|
1063
1063
|
hydrateReviewCounts: import_zod4.z.boolean().default(true).describe("Deep-dive each profile to confirm the review count and booking URL that the Maps search list omits."),
|
|
1064
1064
|
concurrency: import_zod4.z.number().int().min(1).max(4).default(3).describe("How many businesses to enrich in parallel. Keep low to respect per-account concurrency limits."),
|
|
1065
|
-
proxyMode: import_zod4.z.enum(["
|
|
1065
|
+
proxyMode: import_zod4.z.enum(["configured", "none"]).default(DEFAULT_MAPS_PROXY_MODE).describe("Proxy behavior for the Maps search. Leave unset for clean egress; country/region localization comes from gl/hl plus the city or region in the query.")
|
|
1066
1066
|
});
|
|
1067
1067
|
var LEADS_CSV_HEADERS = [
|
|
1068
1068
|
"position",
|
|
@@ -1303,7 +1303,7 @@ var LocalCompetitiveAuditInputSchema = import_zod5.z.object({
|
|
|
1303
1303
|
hydrateTop: import_zod5.z.number().int().min(0).max(10).default(5),
|
|
1304
1304
|
maxReviews: import_zod5.z.number().int().min(0).max(500).default(50),
|
|
1305
1305
|
concurrency: import_zod5.z.number().int().min(1).max(5).default(5),
|
|
1306
|
-
proxyMode: import_zod5.z.enum(["
|
|
1306
|
+
proxyMode: import_zod5.z.enum(["configured", "none"]).default(DEFAULT_MAPS_PROXY_MODE),
|
|
1307
1307
|
returnPartial: import_zod5.z.boolean().default(true)
|
|
1308
1308
|
});
|
|
1309
1309
|
async function mapLimit2(items, limit, fn) {
|
|
@@ -1650,7 +1650,7 @@ async function mapLimit3(items, limit, fn) {
|
|
|
1650
1650
|
}
|
|
1651
1651
|
|
|
1652
1652
|
// src/workflows/workflows/comparison-briefs.ts
|
|
1653
|
-
var ProxyModeSchema = import_zod6.z.enum(["
|
|
1653
|
+
var ProxyModeSchema = import_zod6.z.enum(["configured", "none"]);
|
|
1654
1654
|
var MapComparisonInputSchema = import_zod6.z.object({
|
|
1655
1655
|
query: import_zod6.z.string().min(1),
|
|
1656
1656
|
location: import_zod6.z.string().optional(),
|