mcp-scraper 0.69.0 → 0.72.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/CHANGELOG.md +60 -2
- package/README.md +6 -2
- package/dist/{analytics-repository-62CAZAIP.js → analytics-repository-6YLRSWYO.js} +3 -2
- package/dist/bin/api-server.cjs +18592 -12680
- package/dist/bin/api-server.js +4 -4
- package/dist/bin/mcp-scraper-cli.cjs +1 -1
- package/dist/bin/mcp-scraper-cli.js +1 -1
- package/dist/bin/mcp-scraper-install.cjs +3 -3
- package/dist/bin/mcp-scraper-install.js +2 -2
- package/dist/bin/mcp-stdio-server.cjs +10492 -9129
- package/dist/bin/mcp-stdio-server.js +9 -7
- package/dist/bin/paa-harvest.cjs +308 -41
- package/dist/bin/paa-harvest.js +4 -3
- package/dist/{chunk-M7D7WO75.js → chunk-2N4V4LVU.js} +3178 -2019
- package/dist/chunk-7RQULQF3.js +263 -0
- package/dist/{chunk-UL4ZKAWZ.js → chunk-A66DGFOU.js} +1 -1
- package/dist/{chunk-ES25GP6C.js → chunk-CXY5WV45.js} +24 -34
- package/dist/{chunk-Y46YNQMM.js → chunk-F5TK4KMT.js} +1 -1
- package/dist/{chunk-62LEXS5O.js → chunk-F6MUGMRN.js} +306 -44
- package/dist/{chunk-5RFQGIYC.js → chunk-FVL4GUTP.js} +2 -2
- package/dist/{chunk-OZIUFN6B.js → chunk-I45JV4EU.js} +2 -2
- package/dist/{chunk-2LXTOAKS.js → chunk-KIPIBPUB.js} +9 -1
- package/dist/chunk-MB72PA6S.js +2003 -0
- package/dist/chunk-OM7HVEJ3.js +26 -0
- package/dist/chunk-PJEEKOUM.js +404 -0
- package/dist/{chunk-RX2QAHML.js → chunk-RAFQEPJ4.js} +2 -2
- package/dist/{chunk-KO5CK5ZT.js → chunk-SR7GSLEA.js} +202 -441
- package/dist/chunk-T3MZISOF.js +240 -0
- package/dist/{chunk-ULYOCJUJ.js → chunk-TUTQHP4O.js} +1 -1
- package/dist/{chunk-65FTMB7G.js → chunk-WEFPBAAG.js} +180 -9
- package/dist/{chunk-LN6N3YLK.js → chunk-WFQ2E4WE.js} +1 -1
- package/dist/{db-ZGZAKYBW.js → db-566MOHHD.js} +7 -1
- package/dist/{extract-bundle-SXSJCPQI.js → extract-bundle-337ZDIIQ.js} +4 -4
- package/dist/gmail-service-E276SBJU.js +25 -0
- package/dist/index.cjs +322 -49
- package/dist/index.d.cts +15 -2
- package/dist/index.d.ts +15 -2
- package/dist/index.js +4 -3
- package/dist/{lead-list-enrichment-repository-CXLVIV3R.js → lead-list-enrichment-repository-WWEMJ7EN.js} +2 -2
- package/dist/{location-data-repository-G72M7DTN.js → location-data-repository-H4B2BWGY.js} +2 -2
- package/dist/{server-WCNYXILA.js → server-UGWC5YMD.js} +8376 -6616
- package/dist/{site-extract-repository-RLB3TFJ3.js → site-extract-repository-ACNAVNDN.js} +3 -3
- package/dist/{worker-KHSJG365.js → worker-JQORPCFQ.js} +9 -7
- package/package.json +1 -1
- package/dist/chunk-2L4C4DAZ.js +0 -103
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
} from "./chunk-DNM65UCK.js";
|
|
8
8
|
import {
|
|
9
9
|
LedgerOperation
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-FVL4GUTP.js";
|
|
11
11
|
import {
|
|
12
12
|
CREDIT_LOT_TTL,
|
|
13
13
|
getDb,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
sanitizeVendorName,
|
|
16
16
|
serializePublicErrorEnvelope,
|
|
17
17
|
settleDebitMcIdempotent
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-WEFPBAAG.js";
|
|
19
19
|
|
|
20
20
|
// src/api/site-extract-content-store.ts
|
|
21
21
|
import { createHash } from "crypto";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
finishHarvestAttempt,
|
|
11
11
|
publicErrorMessage,
|
|
12
12
|
startHarvestAttempt
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-WEFPBAAG.js";
|
|
14
14
|
|
|
15
15
|
// src/api/harvest-problems.ts
|
|
16
16
|
function errorMessage(err) {
|
|
@@ -200,6 +200,14 @@ function createHarvestAttemptRecorder(jobId, userId) {
|
|
|
200
200
|
kernelDeleteError: event.cleanup.kernelDeleteError,
|
|
201
201
|
browserCloseSucceeded: event.cleanup.browserCloseSucceeded,
|
|
202
202
|
browserCloseError: event.cleanup.browserCloseError,
|
|
203
|
+
browserProvider: event.cleanup.provider ?? null,
|
|
204
|
+
providerSessionId: event.cleanup.providerSessionId ?? null,
|
|
205
|
+
providerLookupStatus: event.cleanup.providerSessionId ? "pending" : "not_applicable",
|
|
206
|
+
providerErrorCode: event.cleanup.providerDisconnectObserved ? "browser_session_interrupted" : null,
|
|
207
|
+
providerErrorMessage: event.cleanup.providerDisconnectMessage ?? null,
|
|
208
|
+
providerReasonSource: event.cleanup.providerDisconnectObserved ? "client_runtime" : null,
|
|
209
|
+
providerDisconnectObserved: event.cleanup.providerDisconnectObserved ?? false,
|
|
210
|
+
providerDisconnectMessage: event.cleanup.providerDisconnectMessage ?? null,
|
|
203
211
|
debug: event.debug,
|
|
204
212
|
completedAt: event.completedAt
|
|
205
213
|
});
|