mcp-scraper 0.83.4 → 0.84.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 +33 -1
- package/README.md +2 -2
- package/dist/{analytics-repository-GA6P5S5J.js → analytics-repository-4VZQ4TKW.js} +9 -1
- package/dist/bin/api-server.js +3 -3
- 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-ZHPGPVJJ.js → chunk-4KFD2WXG.js} +1 -1
- package/dist/{chunk-BGD7U3AE.js → chunk-4S6HPHPB.js} +13 -4
- package/dist/{chunk-ACDNW7TG.js → chunk-LHIWX7RM.js} +1 -1
- package/dist/{chunk-UXVT7FWW.js → chunk-NLWBM55O.js} +2 -2
- package/dist/{chunk-GMOXDXON.js → chunk-OUTE3755.js} +1 -1
- package/dist/{chunk-CNAJWRJT.js → chunk-TLRJV4SL.js} +583 -29
- package/dist/{chunk-VP4FGTTS.js → chunk-U77X4NIR.js} +3084 -1313
- package/dist/{chunk-4NZ6JFK5.js → chunk-UM7DCY6W.js} +2 -2
- package/dist/{chunk-52TSKUQQ.js → chunk-WDWWCNMW.js} +3 -3
- package/dist/{chunk-HGJJQY24.js → chunk-ZB55UMMF.js} +1 -1
- package/dist/{extract-bundle-HTWWJD6N.js → extract-bundle-SI35H4HR.js} +2 -2
- package/dist/{gmail-service-VXE7OYNA.js → gmail-service-MOZ6S56I.js} +2 -2
- package/dist/{server-DMQDHAEC.js → server-3F3JMHBF.js} +2681 -2248
- package/dist/{site-extract-repository-Y5WQFSQW.js → site-extract-repository-3WC3VB5Y.js} +2 -2
- package/dist/{worker-FM3ZRDY4.js → worker-VTFGHWZL.js} +1 -1
- package/package.json +1 -1
- package/public/.well-known/xray-install.json +12 -4
- package/public/agent-install.md +12 -2
|
@@ -30,9 +30,9 @@ import {
|
|
|
30
30
|
setExtractJobTotal,
|
|
31
31
|
settleExtractJob,
|
|
32
32
|
terminalExtractJobStatus
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-ZB55UMMF.js";
|
|
34
34
|
import "./chunk-DNM65UCK.js";
|
|
35
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-UM7DCY6W.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": "2.
|
|
3
|
+
"protocolVersion": "2.1.0",
|
|
4
4
|
"product": "Thorbit X-Ray",
|
|
5
5
|
"triggerPhrases": [
|
|
6
6
|
"Install X-Ray",
|
|
@@ -13,11 +13,13 @@
|
|
|
13
13
|
},
|
|
14
14
|
"facade": {
|
|
15
15
|
"tool": "analytics_setup_site",
|
|
16
|
+
"saasRevenueTool": "analytics_setup_revenue_source",
|
|
16
17
|
"initialCall": {
|
|
17
18
|
"startUrl": "<site URL>",
|
|
18
19
|
"goal": "Install X-Ray and tell me what drives customers"
|
|
19
20
|
},
|
|
20
|
-
"continuationRule": "Treat setupId plus revision as the durable continuation handle. Reuse both after approval, runtime publication, verification, retry, or return."
|
|
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."
|
|
21
23
|
},
|
|
22
24
|
"topologies": {
|
|
23
25
|
"local_stdio": {
|
|
@@ -151,6 +153,10 @@
|
|
|
151
153
|
"Infer the business model and customer outcome, then propose one privacy-safe measurement plan.",
|
|
152
154
|
"If the Pixel is absent, return the canonical one-time tag and exact uncovered surfaces; do not claim ongoing control there.",
|
|
153
155
|
"Publish an approved measurement revision as a digest-bound runtime manifest; source or repository access is not required.",
|
|
156
|
+
"For SaaS, continue outcome readiness through analytics_setup_revenue_source: prepare an authorized connection, apply one exact revision, and verify a non-customer provider receipt.",
|
|
157
|
+
"Optionally publish a structured post-purchase survey after approved disclosure evidence; reported influence remains separate from deterministic touches.",
|
|
158
|
+
"Compare observed attribution with customer-reported influence only with explicit weights totaling 1,000,000 micros and a named methodology version.",
|
|
159
|
+
"Keep view-through reporting unavailable until event-level provider evidence can join to an eligible X-Ray subject; aggregate impressions never qualify.",
|
|
154
160
|
"Verify route coverage, consent, PageViews, manifest convergence, bounded rule matches, and persisted definition/version evidence.",
|
|
155
161
|
"Require a separate exact-revision approval before any canary or real-visitor experiment activation.",
|
|
156
162
|
"Return first customer-journey answers when sufficient, or exact evidence-readiness thresholds when not.",
|
|
@@ -162,7 +168,9 @@
|
|
|
162
168
|
"Never call ad platforms directly or silently activate events, definitions, funnels, or delivery destinations.",
|
|
163
169
|
"Never treat a CTA click as a customer, sale, or revenue event without verified outcome evidence.",
|
|
164
170
|
"Never claim full-domain installation while an in-scope route or renderer is missing, excluded without approval, or unverifiable.",
|
|
165
|
-
"Never treat event-name presence as verification; require persisted definition ID and version evidence."
|
|
171
|
+
"Never treat event-name presence as verification; require persisted definition ID and version evidence.",
|
|
172
|
+
"Never accept payment-provider credentials, survey invitation tokens, or exchange codes through MCP inputs or prompts.",
|
|
173
|
+
"Never treat customer-reported influence as identity, CRM mutation authority, ad-activation evidence, or a deterministic touch."
|
|
166
174
|
],
|
|
167
175
|
"terminalStates": [
|
|
168
176
|
"complete",
|
|
@@ -174,5 +182,5 @@
|
|
|
174
182
|
"not_ready",
|
|
175
183
|
"error"
|
|
176
184
|
],
|
|
177
|
-
"protocolDigest": "sha256:
|
|
185
|
+
"protocolDigest": "sha256:92039babc806f6f552d2b2a8ec4780cb50edfcc12bf39da9d70a9155a9b9c791"
|
|
178
186
|
}
|
package/public/agent-install.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Install Thorbit X-Ray
|
|
2
2
|
|
|
3
|
-
Protocol version: 2.
|
|
4
|
-
Protocol digest: sha256:
|
|
3
|
+
Protocol version: 2.1.0
|
|
4
|
+
Protocol digest: sha256:92039babc806f6f552d2b2a8ec4780cb50edfcc12bf39da9d70a9155a9b9c791
|
|
5
5
|
|
|
6
6
|
Say **“Install X-Ray”** or **“Install X-Ray on this site and tell me what drives customers.”**
|
|
7
7
|
|
|
@@ -177,11 +177,19 @@ 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, continue outcome readiness through analytics_setup_revenue_source: prepare an authorized connection, apply one exact revision, and verify a non-customer provider receipt.
|
|
181
|
+
1. Optionally publish a structured post-purchase survey after approved disclosure evidence; reported influence remains separate from deterministic touches.
|
|
182
|
+
1. Compare observed attribution with customer-reported influence only with explicit weights totaling 1,000,000 micros and a named methodology version.
|
|
183
|
+
1. Keep view-through reporting unavailable until event-level provider evidence can join to an eligible X-Ray subject; aggregate impressions never qualify.
|
|
180
184
|
1. Verify route coverage, consent, PageViews, manifest convergence, bounded rule matches, and persisted definition/version evidence.
|
|
181
185
|
1. Require a separate exact-revision approval before any canary or real-visitor experiment activation.
|
|
182
186
|
1. Return first customer-journey answers when sufficient, or exact evidence-readiness thresholds when not.
|
|
183
187
|
1. On “improve”, propose one highest-value uncovered outcome, require approval when needed, and reverify.
|
|
184
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
|
+
|
|
185
193
|
## Safety contract
|
|
186
194
|
|
|
187
195
|
- Never invent or hand-author tracking code; use the canonical product-authored Pixel snippet returned by analytics_setup_site.
|
|
@@ -190,5 +198,7 @@ Rollback: Disconnect MCP Scraper from the host. Pixel removal remains an owner-c
|
|
|
190
198
|
- Never treat a CTA click as a customer, sale, or revenue event without verified outcome evidence.
|
|
191
199
|
- Never claim full-domain installation while an in-scope route or renderer is missing, excluded without approval, or unverifiable.
|
|
192
200
|
- Never treat event-name presence as verification; require persisted definition ID and version evidence.
|
|
201
|
+
- Never accept payment-provider credentials, survey invitation tokens, or exchange codes through MCP inputs or prompts.
|
|
202
|
+
- Never treat customer-reported influence as identity, CRM mutation authority, ad-activation evidence, or a deterministic touch.
|
|
193
203
|
|
|
194
204
|
Machine-readable contract: https://mcpscraper.dev/.well-known/xray-install.json
|