mcp-scraper 0.84.0 → 0.85.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 +15 -0
- package/README.md +2 -2
- package/dist/bin/api-server.js +2 -2
- package/dist/bin/mcp-scraper-cli.js +3 -3
- package/dist/bin/mcp-scraper-core.js +6 -6
- package/dist/bin/mcp-scraper-install.js +2 -2
- package/dist/bin/mcp-stdio-server.js +6 -6
- package/dist/{chunk-WDWWCNMW.js → chunk-2ZDYUTOZ.js} +3 -3
- package/dist/{chunk-LHIWX7RM.js → chunk-6IOGTFNS.js} +1 -1
- package/dist/{chunk-ZB55UMMF.js → chunk-C7OKENCR.js} +1 -1
- package/dist/{chunk-4S6HPHPB.js → chunk-P7FWOMU7.js} +6 -9
- package/dist/{chunk-OUTE3755.js → chunk-RHAOKXQK.js} +1 -1
- package/dist/{chunk-4KFD2WXG.js → chunk-W3SGF7GX.js} +33 -7
- package/dist/{chunk-U77X4NIR.js → chunk-W4IY6CB4.js} +49 -290
- package/dist/{chunk-NLWBM55O.js → chunk-WN7N4ESQ.js} +2 -2
- package/dist/{chunk-UM7DCY6W.js → chunk-X5HRAAQM.js} +2 -2
- package/dist/{extract-bundle-SI35H4HR.js → extract-bundle-NSMGHEG6.js} +2 -2
- package/dist/{gmail-service-MOZ6S56I.js → gmail-service-BTRAHGJS.js} +2 -2
- package/dist/{server-3F3JMHBF.js → server-EOPETL7Q.js} +463 -869
- package/dist/{site-extract-repository-3WC3VB5Y.js → site-extract-repository-DWU52BRQ.js} +2 -2
- package/dist/{worker-VTFGHWZL.js → worker-5A375BGN.js} +1 -1
- package/package.json +1 -1
- package/public/.well-known/xray-install.json +5 -8
- package/public/agent-install.md +4 -8
|
@@ -30,9 +30,9 @@ import {
|
|
|
30
30
|
setExtractJobTotal,
|
|
31
31
|
settleExtractJob,
|
|
32
32
|
terminalExtractJobStatus
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-C7OKENCR.js";
|
|
34
34
|
import "./chunk-DNM65UCK.js";
|
|
35
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-X5HRAAQM.js";
|
|
36
36
|
import "./chunk-YXNDOQXN.js";
|
|
37
37
|
export {
|
|
38
38
|
XRAY_ENTITLED_EXTRACT_BILLING_CLASS,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schema": "https://mcpscraper.dev/schemas/xray-install-contract-v1.json",
|
|
3
|
-
"protocolVersion": "
|
|
3
|
+
"protocolVersion": "3.0.0",
|
|
4
4
|
"product": "Thorbit X-Ray",
|
|
5
5
|
"triggerPhrases": [
|
|
6
6
|
"Install X-Ray",
|
|
@@ -13,13 +13,11 @@
|
|
|
13
13
|
},
|
|
14
14
|
"facade": {
|
|
15
15
|
"tool": "analytics_setup_site",
|
|
16
|
-
"saasRevenueTool": "analytics_setup_revenue_source",
|
|
17
16
|
"initialCall": {
|
|
18
17
|
"startUrl": "<site URL>",
|
|
19
18
|
"goal": "Install X-Ray and tell me what drives customers"
|
|
20
19
|
},
|
|
21
|
-
"continuationRule": "Treat setupId plus revision as the durable continuation handle. Reuse both after approval, runtime publication, verification, retry, or return."
|
|
22
|
-
"saasContinuationRule": "When the Site setup reaches outcome_connection_required for SaaS, continue through analytics_setup_revenue_source with an already-authorized connection reference. Never request or accept provider credentials."
|
|
20
|
+
"continuationRule": "Treat setupId plus revision as the durable continuation handle. Reuse both after approval, runtime publication, verification, retry, or return."
|
|
23
21
|
},
|
|
24
22
|
"topologies": {
|
|
25
23
|
"local_stdio": {
|
|
@@ -153,7 +151,7 @@
|
|
|
153
151
|
"Infer the business model and customer outcome, then propose one privacy-safe measurement plan.",
|
|
154
152
|
"If the Pixel is absent, return the canonical one-time tag and exact uncovered surfaces; do not claim ongoing control there.",
|
|
155
153
|
"Publish an approved measurement revision as a digest-bound runtime manifest; source or repository access is not required.",
|
|
156
|
-
"For SaaS,
|
|
154
|
+
"For SaaS, verify the measurement foundation: global tag coverage, ad-source capture, lifecycle events, currency and timezone, consent, and observed outcome events.",
|
|
157
155
|
"Optionally publish a structured post-purchase survey after approved disclosure evidence; reported influence remains separate from deterministic touches.",
|
|
158
156
|
"Compare observed attribution with customer-reported influence only with explicit weights totaling 1,000,000 micros and a named methodology version.",
|
|
159
157
|
"Keep view-through reporting unavailable until event-level provider evidence can join to an eligible X-Ray subject; aggregate impressions never qualify.",
|
|
@@ -169,7 +167,7 @@
|
|
|
169
167
|
"Never treat a CTA click as a customer, sale, or revenue event without verified outcome evidence.",
|
|
170
168
|
"Never claim full-domain installation while an in-scope route or renderer is missing, excluded without approval, or unverifiable.",
|
|
171
169
|
"Never treat event-name presence as verification; require persisted definition ID and version evidence.",
|
|
172
|
-
"Never accept
|
|
170
|
+
"Never accept survey invitation tokens or exchange codes through MCP inputs or prompts.",
|
|
173
171
|
"Never treat customer-reported influence as identity, CRM mutation authority, ad-activation evidence, or a deterministic touch."
|
|
174
172
|
],
|
|
175
173
|
"terminalStates": [
|
|
@@ -178,9 +176,8 @@
|
|
|
178
176
|
"input_required",
|
|
179
177
|
"approval_required",
|
|
180
178
|
"runtime_convergence_required",
|
|
181
|
-
"outcome_connection_required",
|
|
182
179
|
"not_ready",
|
|
183
180
|
"error"
|
|
184
181
|
],
|
|
185
|
-
"protocolDigest": "sha256:
|
|
182
|
+
"protocolDigest": "sha256:10788ebb70ff53b86b48fc6af7df9b34d7a51b80f31a1b9eeaa587701d95012a"
|
|
186
183
|
}
|
package/public/agent-install.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Install Thorbit X-Ray
|
|
2
2
|
|
|
3
|
-
Protocol version:
|
|
4
|
-
Protocol digest: sha256:
|
|
3
|
+
Protocol version: 3.0.0
|
|
4
|
+
Protocol digest: sha256:10788ebb70ff53b86b48fc6af7df9b34d7a51b80f31a1b9eeaa587701d95012a
|
|
5
5
|
|
|
6
6
|
Say **“Install X-Ray”** or **“Install X-Ray on this site and tell me what drives customers.”**
|
|
7
7
|
|
|
@@ -177,7 +177,7 @@ Rollback: Disconnect MCP Scraper from the host. Pixel removal remains an owner-c
|
|
|
177
177
|
1. Infer the business model and customer outcome, then propose one privacy-safe measurement plan.
|
|
178
178
|
1. If the Pixel is absent, return the canonical one-time tag and exact uncovered surfaces; do not claim ongoing control there.
|
|
179
179
|
1. Publish an approved measurement revision as a digest-bound runtime manifest; source or repository access is not required.
|
|
180
|
-
1. For SaaS,
|
|
180
|
+
1. For SaaS, verify the measurement foundation: global tag coverage, ad-source capture, lifecycle events, currency and timezone, consent, and observed outcome events.
|
|
181
181
|
1. Optionally publish a structured post-purchase survey after approved disclosure evidence; reported influence remains separate from deterministic touches.
|
|
182
182
|
1. Compare observed attribution with customer-reported influence only with explicit weights totaling 1,000,000 micros and a named methodology version.
|
|
183
183
|
1. Keep view-through reporting unavailable until event-level provider evidence can join to an eligible X-Ray subject; aggregate impressions never qualify.
|
|
@@ -186,10 +186,6 @@ Rollback: Disconnect MCP Scraper from the host. Pixel removal remains an owner-c
|
|
|
186
186
|
1. Return first customer-journey answers when sufficient, or exact evidence-readiness thresholds when not.
|
|
187
187
|
1. On “improve”, propose one highest-value uncovered outcome, require approval when needed, and reverify.
|
|
188
188
|
|
|
189
|
-
## SaaS revenue continuation
|
|
190
|
-
|
|
191
|
-
After tag and measurement readiness reaches `outcome_connection_required`, call `analytics_setup_revenue_source`. When the Site setup reaches outcome_connection_required for SaaS, continue through analytics_setup_revenue_source with an already-authorized connection reference. Never request or accept provider credentials.
|
|
192
|
-
|
|
193
189
|
## Safety contract
|
|
194
190
|
|
|
195
191
|
- Never invent or hand-author tracking code; use the canonical product-authored Pixel snippet returned by analytics_setup_site.
|
|
@@ -198,7 +194,7 @@ After tag and measurement readiness reaches `outcome_connection_required`, call
|
|
|
198
194
|
- Never treat a CTA click as a customer, sale, or revenue event without verified outcome evidence.
|
|
199
195
|
- Never claim full-domain installation while an in-scope route or renderer is missing, excluded without approval, or unverifiable.
|
|
200
196
|
- Never treat event-name presence as verification; require persisted definition ID and version evidence.
|
|
201
|
-
- Never accept
|
|
197
|
+
- Never accept survey invitation tokens or exchange codes through MCP inputs or prompts.
|
|
202
198
|
- Never treat customer-reported influence as identity, CRM mutation authority, ad-activation evidence, or a deterministic touch.
|
|
203
199
|
|
|
204
200
|
Machine-readable contract: https://mcpscraper.dev/.well-known/xray-install.json
|