@walkeros/mcp 4.8.1 → 4.8.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/dist/{chunk-SUHJP3BB.js → chunk-4K6NNGYC.js} +98 -132
- package/dist/chunk-4K6NNGYC.js.map +1 -0
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/specs.js +1 -1
- package/dist/stdio.js +100 -134
- package/dist/stdio.js.map +1 -1
- package/package.json +4 -4
- package/dist/chunk-SUHJP3BB.js.map +0 -1
package/dist/stdio.js
CHANGED
|
@@ -268,7 +268,7 @@ var NPM_SEARCH_URL = "https://registry.npmjs.org/-/v1/search";
|
|
|
268
268
|
var JSDELIVR_BASE = "https://cdn.jsdelivr.net/npm";
|
|
269
269
|
var WALKEROS_JSON_PATH = "dist/walkerOS.json";
|
|
270
270
|
var CACHE_TTL = 5 * 60 * 1e3;
|
|
271
|
-
var CLIENT_HEADER = "walkeros-mcp/4.8.
|
|
271
|
+
var CLIENT_HEADER = "walkeros-mcp/4.8.2";
|
|
272
272
|
var cached;
|
|
273
273
|
function normalizePlatform(platform) {
|
|
274
274
|
if (platform == null) return [];
|
|
@@ -1030,13 +1030,13 @@ var flow_complete_default = {
|
|
|
1030
1030
|
properties: {
|
|
1031
1031
|
data: {
|
|
1032
1032
|
type: "object",
|
|
1033
|
-
required: ["id", "
|
|
1033
|
+
required: ["id", "value", "currency"],
|
|
1034
1034
|
properties: {
|
|
1035
1035
|
id: {
|
|
1036
1036
|
type: "string",
|
|
1037
1037
|
minLength: 1
|
|
1038
1038
|
},
|
|
1039
|
-
|
|
1039
|
+
value: {
|
|
1040
1040
|
type: "number",
|
|
1041
1041
|
minimum: 0
|
|
1042
1042
|
},
|
|
@@ -1131,25 +1131,25 @@ var flow_complete_default = {
|
|
|
1131
1131
|
bundle: {
|
|
1132
1132
|
packages: {
|
|
1133
1133
|
"@walkeros/collector": {
|
|
1134
|
-
version: "4.8.
|
|
1134
|
+
version: "4.8.2"
|
|
1135
1135
|
},
|
|
1136
1136
|
"@walkeros/web-source-cmp-usercentrics": {
|
|
1137
|
-
version: "4.8.
|
|
1137
|
+
version: "4.8.2"
|
|
1138
1138
|
},
|
|
1139
1139
|
"@walkeros/web-source-session": {
|
|
1140
|
-
version: "4.8.
|
|
1140
|
+
version: "4.8.2"
|
|
1141
1141
|
},
|
|
1142
1142
|
"@walkeros/web-source-datalayer": {
|
|
1143
|
-
version: "4.8.
|
|
1143
|
+
version: "4.8.2"
|
|
1144
1144
|
},
|
|
1145
1145
|
"@walkeros/web-source-browser": {
|
|
1146
|
-
version: "4.8.
|
|
1146
|
+
version: "4.8.2"
|
|
1147
1147
|
},
|
|
1148
1148
|
"@walkeros/web-destination-gtag": {
|
|
1149
|
-
version: "4.8.
|
|
1149
|
+
version: "4.8.2"
|
|
1150
1150
|
},
|
|
1151
1151
|
"@walkeros/web-destination-api": {
|
|
1152
|
-
version: "4.8.
|
|
1152
|
+
version: "4.8.2"
|
|
1153
1153
|
}
|
|
1154
1154
|
},
|
|
1155
1155
|
env: {
|
|
@@ -1405,15 +1405,13 @@ var flow_complete_default = {
|
|
|
1405
1405
|
dataLayer: {
|
|
1406
1406
|
add_to_cart: {
|
|
1407
1407
|
name: "product add",
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
value: 1
|
|
1416
|
-
}
|
|
1408
|
+
policy: {
|
|
1409
|
+
"data.id": "data.items.0.item_id",
|
|
1410
|
+
"data.name": "data.items.0.item_name",
|
|
1411
|
+
"data.price": "data.items.0.price",
|
|
1412
|
+
"data.quantity": {
|
|
1413
|
+
key: "data.items.0.quantity",
|
|
1414
|
+
value: 1
|
|
1417
1415
|
}
|
|
1418
1416
|
}
|
|
1419
1417
|
}
|
|
@@ -1626,7 +1624,7 @@ var flow_complete_default = {
|
|
|
1626
1624
|
action: "complete",
|
|
1627
1625
|
data: {
|
|
1628
1626
|
id: "ORD-100",
|
|
1629
|
-
|
|
1627
|
+
value: 149.8,
|
|
1630
1628
|
currency: "EUR",
|
|
1631
1629
|
coupon: "WELCOME10"
|
|
1632
1630
|
},
|
|
@@ -1680,7 +1678,7 @@ var flow_complete_default = {
|
|
|
1680
1678
|
action: "complete",
|
|
1681
1679
|
data: {
|
|
1682
1680
|
id: "ORD-100",
|
|
1683
|
-
|
|
1681
|
+
value: 149.8,
|
|
1684
1682
|
currency: "EUR",
|
|
1685
1683
|
coupon: "WELCOME10"
|
|
1686
1684
|
},
|
|
@@ -1856,12 +1854,12 @@ var flow_complete_default = {
|
|
|
1856
1854
|
order: {
|
|
1857
1855
|
complete: {
|
|
1858
1856
|
name: "purchase",
|
|
1859
|
-
condition: "$code:(event) => event.data && event.data.
|
|
1857
|
+
condition: "$code:(event) => event.data && event.data.value > 0",
|
|
1860
1858
|
data: {
|
|
1861
1859
|
map: {
|
|
1862
1860
|
transaction_id: "data.id",
|
|
1863
1861
|
value: {
|
|
1864
|
-
fn: "$code:(event) => Math.round(Number(event.data.
|
|
1862
|
+
fn: "$code:(event) => Math.round(Number(event.data.value) * 100) / 100"
|
|
1865
1863
|
},
|
|
1866
1864
|
currency: [
|
|
1867
1865
|
"data.currency",
|
|
@@ -1903,12 +1901,12 @@ var flow_complete_default = {
|
|
|
1903
1901
|
public: true,
|
|
1904
1902
|
mapping: {
|
|
1905
1903
|
name: "purchase",
|
|
1906
|
-
condition: "$code:(event) => event.data && event.data.
|
|
1904
|
+
condition: "$code:(event) => event.data && event.data.value > 0",
|
|
1907
1905
|
data: {
|
|
1908
1906
|
map: {
|
|
1909
1907
|
transaction_id: "data.id",
|
|
1910
1908
|
value: {
|
|
1911
|
-
fn: "$code:(event) => Math.round(Number(event.data.
|
|
1909
|
+
fn: "$code:(event) => Math.round(Number(event.data.value) * 100) / 100"
|
|
1912
1910
|
},
|
|
1913
1911
|
currency: [
|
|
1914
1912
|
"data.currency",
|
|
@@ -1946,7 +1944,7 @@ var flow_complete_default = {
|
|
|
1946
1944
|
action: "complete",
|
|
1947
1945
|
data: {
|
|
1948
1946
|
id: "ORD-100",
|
|
1949
|
-
|
|
1947
|
+
value: 149.8,
|
|
1950
1948
|
currency: "EUR",
|
|
1951
1949
|
coupon: "WELCOME10"
|
|
1952
1950
|
},
|
|
@@ -2040,12 +2038,12 @@ var flow_complete_default = {
|
|
|
2040
2038
|
description: "The coupon condition leaves the parameter out when the order has none.",
|
|
2041
2039
|
mapping: {
|
|
2042
2040
|
name: "purchase",
|
|
2043
|
-
condition: "$code:(event) => event.data && event.data.
|
|
2041
|
+
condition: "$code:(event) => event.data && event.data.value > 0",
|
|
2044
2042
|
data: {
|
|
2045
2043
|
map: {
|
|
2046
2044
|
transaction_id: "data.id",
|
|
2047
2045
|
value: {
|
|
2048
|
-
fn: "$code:(event) => Math.round(Number(event.data.
|
|
2046
|
+
fn: "$code:(event) => Math.round(Number(event.data.value) * 100) / 100"
|
|
2049
2047
|
},
|
|
2050
2048
|
currency: [
|
|
2051
2049
|
"data.currency",
|
|
@@ -2083,7 +2081,7 @@ var flow_complete_default = {
|
|
|
2083
2081
|
action: "complete",
|
|
2084
2082
|
data: {
|
|
2085
2083
|
id: "ORD-101",
|
|
2086
|
-
|
|
2084
|
+
value: 129.9,
|
|
2087
2085
|
currency: "EUR"
|
|
2088
2086
|
},
|
|
2089
2087
|
id: "ev-order-complete",
|
|
@@ -2516,7 +2514,7 @@ var flow_complete_default = {
|
|
|
2516
2514
|
action: "complete",
|
|
2517
2515
|
data: {
|
|
2518
2516
|
id: "ORD-100",
|
|
2519
|
-
|
|
2517
|
+
value: 149.8,
|
|
2520
2518
|
currency: "EUR",
|
|
2521
2519
|
coupon: "WELCOME10"
|
|
2522
2520
|
},
|
|
@@ -2567,7 +2565,7 @@ var flow_complete_default = {
|
|
|
2567
2565
|
[
|
|
2568
2566
|
"sendWeb",
|
|
2569
2567
|
"http://localhost:8080/collect",
|
|
2570
|
-
'[{"name":"order complete","data":{"id":"ORD-100","
|
|
2568
|
+
'[{"name":"order complete","data":{"id":"ORD-100","value":149.8,"currency":"EUR","coupon":"WELCOME10"},"context":{},"globals":{"site":"shop","language":"en","pageGroup":"checkout"},"custom":{},"user":{"device":"d3v1c3","session":"s3ss10n","id":"cust-42","email":"jane@example.com"},"nested":[{"entity":"product","data":{"id":"SKU-1","name":"Trail Runner","price":129.9,"quantity":1}},{"entity":"product","data":{"id":"SKU-2","name":"Running Socks","price":9.95,"quantity":2}}],"consent":{"functional":true,"marketing":true},"id":"ev-order-complete","trigger":"load","entity":"order","action":"complete","timestamp":1700000000000,"source":{"type":"browser","platform":"web","url":"https://www.example.com/checkout/thanks","count":1,"release":{"web":"4.6.1"}}}]',
|
|
2571
2569
|
{
|
|
2572
2570
|
transport: "beacon"
|
|
2573
2571
|
}
|
|
@@ -2583,7 +2581,7 @@ var flow_complete_default = {
|
|
|
2583
2581
|
action: "complete",
|
|
2584
2582
|
data: {
|
|
2585
2583
|
id: "ORD-100",
|
|
2586
|
-
|
|
2584
|
+
value: 149.8,
|
|
2587
2585
|
currency: "EUR",
|
|
2588
2586
|
coupon: "WELCOME10"
|
|
2589
2587
|
},
|
|
@@ -2633,7 +2631,7 @@ var flow_complete_default = {
|
|
|
2633
2631
|
[
|
|
2634
2632
|
"sendWeb",
|
|
2635
2633
|
"http://localhost:8080/collect",
|
|
2636
|
-
'[{"name":"order complete","data":{"id":"ORD-100","
|
|
2634
|
+
'[{"name":"order complete","data":{"id":"ORD-100","value":149.8,"currency":"EUR","coupon":"WELCOME10"},"context":{},"globals":{"site":"shop","language":"en","pageGroup":"checkout"},"custom":{},"user":{"device":"d3v1c3","session":"s3ss10n","id":"cust-42"},"nested":[{"entity":"product","data":{"id":"SKU-1","name":"Trail Runner","price":129.9,"quantity":1}},{"entity":"product","data":{"id":"SKU-2","name":"Running Socks","price":9.95,"quantity":2}}],"consent":{"functional":true},"id":"ev-order-complete","trigger":"load","entity":"order","action":"complete","timestamp":1700000000000,"source":{"type":"browser","platform":"web","url":"https://www.example.com/checkout/thanks","count":1,"release":{"web":"4.6.1"}}}]',
|
|
2637
2635
|
{
|
|
2638
2636
|
transport: "beacon"
|
|
2639
2637
|
}
|
|
@@ -2655,40 +2653,40 @@ var flow_complete_default = {
|
|
|
2655
2653
|
bundle: {
|
|
2656
2654
|
packages: {
|
|
2657
2655
|
"@walkeros/collector": {
|
|
2658
|
-
version: "4.8.
|
|
2656
|
+
version: "4.8.2"
|
|
2659
2657
|
},
|
|
2660
2658
|
"@walkeros/server-source-express": {
|
|
2661
|
-
version: "4.8.
|
|
2659
|
+
version: "4.8.2"
|
|
2662
2660
|
},
|
|
2663
2661
|
"@walkeros/transformer-ga4": {
|
|
2664
|
-
version: "4.8.
|
|
2662
|
+
version: "4.8.2"
|
|
2665
2663
|
},
|
|
2666
2664
|
"@walkeros/transformer-validate": {
|
|
2667
|
-
version: "4.8.
|
|
2665
|
+
version: "4.8.2"
|
|
2668
2666
|
},
|
|
2669
2667
|
"@walkeros/server-transformer-bot": {
|
|
2670
|
-
version: "4.8.
|
|
2668
|
+
version: "4.8.2"
|
|
2671
2669
|
},
|
|
2672
2670
|
"@walkeros/server-transformer-fingerprint": {
|
|
2673
|
-
version: "4.8.
|
|
2671
|
+
version: "4.8.2"
|
|
2674
2672
|
},
|
|
2675
2673
|
"@walkeros/server-transformer-file": {
|
|
2676
|
-
version: "4.8.
|
|
2674
|
+
version: "4.8.2"
|
|
2677
2675
|
},
|
|
2678
2676
|
"@walkeros/server-store-fs": {
|
|
2679
|
-
version: "4.8.
|
|
2677
|
+
version: "4.8.2"
|
|
2680
2678
|
},
|
|
2681
2679
|
"@walkeros/server-destination-gcp": {
|
|
2682
|
-
version: "4.8.
|
|
2680
|
+
version: "4.8.2"
|
|
2683
2681
|
},
|
|
2684
2682
|
"@walkeros/server-destination-meta": {
|
|
2685
|
-
version: "4.8.
|
|
2683
|
+
version: "4.8.2"
|
|
2686
2684
|
},
|
|
2687
2685
|
"@walkeros/server-destination-piwikpro": {
|
|
2688
|
-
version: "4.8.
|
|
2686
|
+
version: "4.8.2"
|
|
2689
2687
|
},
|
|
2690
2688
|
"@walkeros/server-destination-datamanager": {
|
|
2691
|
-
version: "4.8.
|
|
2689
|
+
version: "4.8.2"
|
|
2692
2690
|
}
|
|
2693
2691
|
}
|
|
2694
2692
|
}
|
|
@@ -2856,7 +2854,7 @@ var flow_complete_default = {
|
|
|
2856
2854
|
action: "complete",
|
|
2857
2855
|
data: {
|
|
2858
2856
|
id: "ORD-100",
|
|
2859
|
-
|
|
2857
|
+
value: 149.8,
|
|
2860
2858
|
currency: "EUR",
|
|
2861
2859
|
coupon: "WELCOME10"
|
|
2862
2860
|
},
|
|
@@ -2913,7 +2911,7 @@ var flow_complete_default = {
|
|
|
2913
2911
|
action: "complete",
|
|
2914
2912
|
data: {
|
|
2915
2913
|
id: "ORD-100",
|
|
2916
|
-
|
|
2914
|
+
value: 149.8,
|
|
2917
2915
|
currency: "EUR",
|
|
2918
2916
|
coupon: "WELCOME10"
|
|
2919
2917
|
},
|
|
@@ -3007,7 +3005,7 @@ var flow_complete_default = {
|
|
|
3007
3005
|
data: {
|
|
3008
3006
|
id: "SUB-77",
|
|
3009
3007
|
currency: "EUR",
|
|
3010
|
-
|
|
3008
|
+
value: 59.9
|
|
3011
3009
|
},
|
|
3012
3010
|
user: {
|
|
3013
3011
|
device: "cid-9",
|
|
@@ -3297,42 +3295,6 @@ var flow_complete_default = {
|
|
|
3297
3295
|
},
|
|
3298
3296
|
next: {
|
|
3299
3297
|
stop: true
|
|
3300
|
-
},
|
|
3301
|
-
examples: {
|
|
3302
|
-
walkerJs: {
|
|
3303
|
-
title: "Serve walker.js first party",
|
|
3304
|
-
description: "GET /walker.js is answered from the assets store with the configured headers; the step returns false and its next stops, so a script request never becomes an event. Proven over HTTP in the flow test.",
|
|
3305
|
-
public: true,
|
|
3306
|
-
in: {
|
|
3307
|
-
name: "page view",
|
|
3308
|
-
entity: "page",
|
|
3309
|
-
action: "view",
|
|
3310
|
-
data: {
|
|
3311
|
-
domain: "www.example.com",
|
|
3312
|
-
title: "Trail Runner",
|
|
3313
|
-
id: "/product/trail-runner"
|
|
3314
|
-
},
|
|
3315
|
-
id: "ev-page-view",
|
|
3316
|
-
trigger: "load",
|
|
3317
|
-
timestamp: 17e11,
|
|
3318
|
-
consent: {
|
|
3319
|
-
functional: true,
|
|
3320
|
-
marketing: true
|
|
3321
|
-
},
|
|
3322
|
-
globals: {
|
|
3323
|
-
language: "en",
|
|
3324
|
-
pageGroup: "product"
|
|
3325
|
-
},
|
|
3326
|
-
user: {
|
|
3327
|
-
device: "d3v1c3",
|
|
3328
|
-
session: "s3ss10n"
|
|
3329
|
-
},
|
|
3330
|
-
source: {
|
|
3331
|
-
type: "express",
|
|
3332
|
-
platform: "server"
|
|
3333
|
-
}
|
|
3334
|
-
}
|
|
3335
|
-
}
|
|
3336
3298
|
}
|
|
3337
3299
|
},
|
|
3338
3300
|
dedup: {
|
|
@@ -3357,7 +3319,7 @@ var flow_complete_default = {
|
|
|
3357
3319
|
action: "complete",
|
|
3358
3320
|
data: {
|
|
3359
3321
|
id: "ORD-100",
|
|
3360
|
-
|
|
3322
|
+
value: 149.8,
|
|
3361
3323
|
currency: "EUR",
|
|
3362
3324
|
coupon: "WELCOME10"
|
|
3363
3325
|
},
|
|
@@ -3414,7 +3376,7 @@ var flow_complete_default = {
|
|
|
3414
3376
|
action: "complete",
|
|
3415
3377
|
data: {
|
|
3416
3378
|
id: "ORD-100",
|
|
3417
|
-
|
|
3379
|
+
value: 149.8,
|
|
3418
3380
|
currency: "EUR",
|
|
3419
3381
|
coupon: "WELCOME10"
|
|
3420
3382
|
},
|
|
@@ -3487,7 +3449,7 @@ var flow_complete_default = {
|
|
|
3487
3449
|
action: "complete",
|
|
3488
3450
|
data: {
|
|
3489
3451
|
id: "ORD-100",
|
|
3490
|
-
|
|
3452
|
+
value: 149.8,
|
|
3491
3453
|
currency: "EUR",
|
|
3492
3454
|
coupon: "WELCOME10"
|
|
3493
3455
|
},
|
|
@@ -3544,7 +3506,7 @@ var flow_complete_default = {
|
|
|
3544
3506
|
action: "complete",
|
|
3545
3507
|
data: {
|
|
3546
3508
|
id: "ORD-100",
|
|
3547
|
-
|
|
3509
|
+
value: 149.8,
|
|
3548
3510
|
currency: "EUR",
|
|
3549
3511
|
coupon: "WELCOME10"
|
|
3550
3512
|
},
|
|
@@ -3611,7 +3573,7 @@ var flow_complete_default = {
|
|
|
3611
3573
|
action: "complete",
|
|
3612
3574
|
data: {
|
|
3613
3575
|
id: "ORD-100",
|
|
3614
|
-
|
|
3576
|
+
value: 149.8,
|
|
3615
3577
|
currency: "EUR",
|
|
3616
3578
|
coupon: "WELCOME10"
|
|
3617
3579
|
},
|
|
@@ -3668,7 +3630,7 @@ var flow_complete_default = {
|
|
|
3668
3630
|
action: "complete",
|
|
3669
3631
|
data: {
|
|
3670
3632
|
id: "ORD-100",
|
|
3671
|
-
|
|
3633
|
+
value: 149.8,
|
|
3672
3634
|
currency: "EUR",
|
|
3673
3635
|
coupon: "WELCOME10"
|
|
3674
3636
|
},
|
|
@@ -3730,7 +3692,7 @@ var flow_complete_default = {
|
|
|
3730
3692
|
action: "complete",
|
|
3731
3693
|
data: {
|
|
3732
3694
|
id: "ORD-100",
|
|
3733
|
-
|
|
3695
|
+
value: 149.8,
|
|
3734
3696
|
currency: "EUR",
|
|
3735
3697
|
coupon: "WELCOME10"
|
|
3736
3698
|
},
|
|
@@ -3787,7 +3749,7 @@ var flow_complete_default = {
|
|
|
3787
3749
|
action: "complete",
|
|
3788
3750
|
data: {
|
|
3789
3751
|
id: "ORD-100",
|
|
3790
|
-
|
|
3752
|
+
value: 149.8,
|
|
3791
3753
|
currency: "EUR",
|
|
3792
3754
|
coupon: "WELCOME10"
|
|
3793
3755
|
},
|
|
@@ -3881,7 +3843,7 @@ var flow_complete_default = {
|
|
|
3881
3843
|
action: "complete",
|
|
3882
3844
|
data: {
|
|
3883
3845
|
id: "ORD-100",
|
|
3884
|
-
|
|
3846
|
+
value: 149.8,
|
|
3885
3847
|
currency: "EUR",
|
|
3886
3848
|
coupon: "WELCOME10"
|
|
3887
3849
|
},
|
|
@@ -3941,7 +3903,7 @@ var flow_complete_default = {
|
|
|
3941
3903
|
action: "complete",
|
|
3942
3904
|
data: {
|
|
3943
3905
|
id: "ORD-100",
|
|
3944
|
-
|
|
3906
|
+
value: 149.8,
|
|
3945
3907
|
currency: "EUR",
|
|
3946
3908
|
coupon: "WELCOME10"
|
|
3947
3909
|
},
|
|
@@ -4024,7 +3986,7 @@ var flow_complete_default = {
|
|
|
4024
3986
|
action: "complete",
|
|
4025
3987
|
data: {
|
|
4026
3988
|
id: "ORD-100",
|
|
4027
|
-
|
|
3989
|
+
value: 149.8,
|
|
4028
3990
|
currency: "EUR",
|
|
4029
3991
|
coupon: "WELCOME10"
|
|
4030
3992
|
},
|
|
@@ -4084,7 +4046,7 @@ var flow_complete_default = {
|
|
|
4084
4046
|
action: "complete",
|
|
4085
4047
|
data: {
|
|
4086
4048
|
id: "ORD-100",
|
|
4087
|
-
|
|
4049
|
+
value: 149.8,
|
|
4088
4050
|
currency: "EUR",
|
|
4089
4051
|
coupon: "WELCOME10"
|
|
4090
4052
|
},
|
|
@@ -4255,7 +4217,7 @@ var flow_complete_default = {
|
|
|
4255
4217
|
action: "complete",
|
|
4256
4218
|
data: {
|
|
4257
4219
|
id: "ORD-100",
|
|
4258
|
-
|
|
4220
|
+
value: 149.8,
|
|
4259
4221
|
currency: "EUR",
|
|
4260
4222
|
coupon: "WELCOME10"
|
|
4261
4223
|
},
|
|
@@ -4315,7 +4277,7 @@ var flow_complete_default = {
|
|
|
4315
4277
|
action: "complete",
|
|
4316
4278
|
data: {
|
|
4317
4279
|
id: "ORD-100",
|
|
4318
|
-
|
|
4280
|
+
value: 149.8,
|
|
4319
4281
|
currency: "EUR",
|
|
4320
4282
|
coupon: "WELCOME10"
|
|
4321
4283
|
},
|
|
@@ -4390,7 +4352,7 @@ var flow_complete_default = {
|
|
|
4390
4352
|
action: "complete",
|
|
4391
4353
|
data: {
|
|
4392
4354
|
id: "ORD-100",
|
|
4393
|
-
|
|
4355
|
+
value: 149.8,
|
|
4394
4356
|
currency: "EUR",
|
|
4395
4357
|
coupon: "WELCOME10"
|
|
4396
4358
|
},
|
|
@@ -4451,7 +4413,7 @@ var flow_complete_default = {
|
|
|
4451
4413
|
action: "complete",
|
|
4452
4414
|
data: {
|
|
4453
4415
|
id: "ORD-100",
|
|
4454
|
-
|
|
4416
|
+
value: 149.8,
|
|
4455
4417
|
currency: "EUR",
|
|
4456
4418
|
coupon: "WELCOME10"
|
|
4457
4419
|
},
|
|
@@ -4516,7 +4478,7 @@ var flow_complete_default = {
|
|
|
4516
4478
|
action: "complete",
|
|
4517
4479
|
data: {
|
|
4518
4480
|
id: "ORD-100",
|
|
4519
|
-
|
|
4481
|
+
value: 149.8,
|
|
4520
4482
|
currency: "EUR",
|
|
4521
4483
|
coupon: "WELCOME10"
|
|
4522
4484
|
},
|
|
@@ -4575,7 +4537,7 @@ var flow_complete_default = {
|
|
|
4575
4537
|
action: "complete",
|
|
4576
4538
|
data: {
|
|
4577
4539
|
id: "ORD-100",
|
|
4578
|
-
|
|
4540
|
+
value: 149.8,
|
|
4579
4541
|
currency: "EUR",
|
|
4580
4542
|
coupon: "WELCOME10"
|
|
4581
4543
|
},
|
|
@@ -4665,7 +4627,7 @@ var flow_complete_default = {
|
|
|
4665
4627
|
action: "complete",
|
|
4666
4628
|
data: {
|
|
4667
4629
|
id: "ORD-100",
|
|
4668
|
-
|
|
4630
|
+
value: 149.8,
|
|
4669
4631
|
currency: "EUR",
|
|
4670
4632
|
coupon: "WELCOME10"
|
|
4671
4633
|
},
|
|
@@ -4727,7 +4689,7 @@ var flow_complete_default = {
|
|
|
4727
4689
|
action: "complete",
|
|
4728
4690
|
data: {
|
|
4729
4691
|
id: "ORD-100",
|
|
4730
|
-
|
|
4692
|
+
value: 149.8,
|
|
4731
4693
|
currency: "EUR",
|
|
4732
4694
|
coupon: "WELCOME10"
|
|
4733
4695
|
},
|
|
@@ -4832,7 +4794,7 @@ var flow_complete_default = {
|
|
|
4832
4794
|
action: "complete",
|
|
4833
4795
|
data: {
|
|
4834
4796
|
id: "ORD-100",
|
|
4835
|
-
|
|
4797
|
+
value: 149.8,
|
|
4836
4798
|
currency: "EUR",
|
|
4837
4799
|
coupon: "WELCOME10"
|
|
4838
4800
|
},
|
|
@@ -4895,7 +4857,7 @@ var flow_complete_default = {
|
|
|
4895
4857
|
action: "complete",
|
|
4896
4858
|
data: {
|
|
4897
4859
|
id: "ORD-100",
|
|
4898
|
-
|
|
4860
|
+
value: 149.8,
|
|
4899
4861
|
currency: "EUR",
|
|
4900
4862
|
coupon: "WELCOME10"
|
|
4901
4863
|
},
|
|
@@ -4976,7 +4938,7 @@ var flow_complete_default = {
|
|
|
4976
4938
|
action: "complete",
|
|
4977
4939
|
data: {
|
|
4978
4940
|
id: "ORD-100",
|
|
4979
|
-
|
|
4941
|
+
value: 149.8,
|
|
4980
4942
|
currency: "EUR",
|
|
4981
4943
|
coupon: "WELCOME10"
|
|
4982
4944
|
},
|
|
@@ -5039,7 +5001,7 @@ var flow_complete_default = {
|
|
|
5039
5001
|
action: "complete",
|
|
5040
5002
|
data: {
|
|
5041
5003
|
id: "ORD-100",
|
|
5042
|
-
|
|
5004
|
+
value: 149.8,
|
|
5043
5005
|
currency: "EUR",
|
|
5044
5006
|
coupon: "WELCOME10"
|
|
5045
5007
|
},
|
|
@@ -5144,7 +5106,7 @@ var flow_complete_default = {
|
|
|
5144
5106
|
action: "complete",
|
|
5145
5107
|
data: {
|
|
5146
5108
|
id: "ORD-100",
|
|
5147
|
-
|
|
5109
|
+
value: 149.8,
|
|
5148
5110
|
currency: "EUR",
|
|
5149
5111
|
coupon: "WELCOME10"
|
|
5150
5112
|
},
|
|
@@ -5201,7 +5163,7 @@ var flow_complete_default = {
|
|
|
5201
5163
|
[
|
|
5202
5164
|
"PubSub.topic.publishMessage",
|
|
5203
5165
|
{
|
|
5204
|
-
data: '{"name":"order complete","data":{"id":"ORD-100","
|
|
5166
|
+
data: '{"name":"order complete","data":{"id":"ORD-100","value":149.8,"currency":"EUR","coupon":"WELCOME10"},"context":{},"globals":{"language":"en","pageGroup":"checkout"},"custom":{},"user":{"device":"d3v1c3","session":"s3ss10n","id":"cust-42","email":"4cdea64501d6109d0a25750a7ce1d5c87e5fc927c61b674f191b73e28b582c93","hash":"7f1b2860213c9d3d","botScore":0,"botCategory":"human","ltv":420,"segment":"loyal"},"nested":[{"entity":"product","data":{"id":"SKU-1","name":"Trail Runner","price":129.9,"quantity":1}},{"entity":"product","data":{"id":"SKU-2","name":"Running Socks","price":9.95,"quantity":2}}],"consent":{"functional":true,"marketing":true},"id":"ev-order-complete","trigger":"load","entity":"order","action":"complete","timestamp":1700000000000,"timing":0,"source":{"type":"express","platform":"server","url":"https://www.example.com/checkout/thanks","valid":true,"count":1,"release":{"server":"4.6.1"}}}'
|
|
5205
5167
|
}
|
|
5206
5168
|
]
|
|
5207
5169
|
]
|
|
@@ -5251,7 +5213,7 @@ var flow_complete_default = {
|
|
|
5251
5213
|
},
|
|
5252
5214
|
data: {
|
|
5253
5215
|
map: {
|
|
5254
|
-
value: "data.
|
|
5216
|
+
value: "data.value",
|
|
5255
5217
|
currency: [
|
|
5256
5218
|
"data.currency",
|
|
5257
5219
|
{
|
|
@@ -5301,7 +5263,7 @@ var flow_complete_default = {
|
|
|
5301
5263
|
},
|
|
5302
5264
|
data: {
|
|
5303
5265
|
map: {
|
|
5304
|
-
value: "data.
|
|
5266
|
+
value: "data.value",
|
|
5305
5267
|
currency: [
|
|
5306
5268
|
"data.currency",
|
|
5307
5269
|
{
|
|
@@ -5318,7 +5280,7 @@ var flow_complete_default = {
|
|
|
5318
5280
|
action: "complete",
|
|
5319
5281
|
data: {
|
|
5320
5282
|
id: "ORD-100",
|
|
5321
|
-
|
|
5283
|
+
value: 149.8,
|
|
5322
5284
|
currency: "EUR",
|
|
5323
5285
|
coupon: "WELCOME10"
|
|
5324
5286
|
},
|
|
@@ -5460,7 +5422,7 @@ var flow_complete_default = {
|
|
|
5460
5422
|
name: "ecommerceOrder",
|
|
5461
5423
|
settings: {
|
|
5462
5424
|
goalId: "$env.PIWIK_ORDER_GOAL:6a0f4c1e-3b2d-4e8f-a7c9-1d2e3f4a5b6c",
|
|
5463
|
-
goalValue: "data.
|
|
5425
|
+
goalValue: "data.value"
|
|
5464
5426
|
},
|
|
5465
5427
|
data: {
|
|
5466
5428
|
set: [
|
|
@@ -5483,7 +5445,7 @@ var flow_complete_default = {
|
|
|
5483
5445
|
{
|
|
5484
5446
|
map: {
|
|
5485
5447
|
orderId: "data.id",
|
|
5486
|
-
grandTotal: "data.
|
|
5448
|
+
grandTotal: "data.value"
|
|
5487
5449
|
}
|
|
5488
5450
|
}
|
|
5489
5451
|
]
|
|
@@ -5506,7 +5468,7 @@ var flow_complete_default = {
|
|
|
5506
5468
|
name: "ecommerceOrder",
|
|
5507
5469
|
settings: {
|
|
5508
5470
|
goalId: "$env.PIWIK_ORDER_GOAL:6a0f4c1e-3b2d-4e8f-a7c9-1d2e3f4a5b6c",
|
|
5509
|
-
goalValue: "data.
|
|
5471
|
+
goalValue: "data.value"
|
|
5510
5472
|
},
|
|
5511
5473
|
data: {
|
|
5512
5474
|
set: [
|
|
@@ -5529,7 +5491,7 @@ var flow_complete_default = {
|
|
|
5529
5491
|
{
|
|
5530
5492
|
map: {
|
|
5531
5493
|
orderId: "data.id",
|
|
5532
|
-
grandTotal: "data.
|
|
5494
|
+
grandTotal: "data.value"
|
|
5533
5495
|
}
|
|
5534
5496
|
}
|
|
5535
5497
|
]
|
|
@@ -5541,7 +5503,7 @@ var flow_complete_default = {
|
|
|
5541
5503
|
action: "complete",
|
|
5542
5504
|
data: {
|
|
5543
5505
|
id: "ORD-100",
|
|
5544
|
-
|
|
5506
|
+
value: 149.8,
|
|
5545
5507
|
currency: "EUR",
|
|
5546
5508
|
coupon: "WELCOME10"
|
|
5547
5509
|
},
|
|
@@ -5633,7 +5595,7 @@ var flow_complete_default = {
|
|
|
5633
5595
|
data: {
|
|
5634
5596
|
map: {
|
|
5635
5597
|
transactionId: "data.id",
|
|
5636
|
-
conversionValue: "data.
|
|
5598
|
+
conversionValue: "data.value",
|
|
5637
5599
|
currency: [
|
|
5638
5600
|
"data.currency",
|
|
5639
5601
|
{
|
|
@@ -5667,7 +5629,7 @@ var flow_complete_default = {
|
|
|
5667
5629
|
data: {
|
|
5668
5630
|
map: {
|
|
5669
5631
|
transactionId: "data.id",
|
|
5670
|
-
conversionValue: "data.
|
|
5632
|
+
conversionValue: "data.value",
|
|
5671
5633
|
currency: [
|
|
5672
5634
|
"data.currency",
|
|
5673
5635
|
{
|
|
@@ -5684,7 +5646,7 @@ var flow_complete_default = {
|
|
|
5684
5646
|
action: "complete",
|
|
5685
5647
|
data: {
|
|
5686
5648
|
id: "ORD-100",
|
|
5687
|
-
|
|
5649
|
+
value: 149.8,
|
|
5688
5650
|
currency: "EUR",
|
|
5689
5651
|
coupon: "WELCOME10",
|
|
5690
5652
|
session: {
|
|
@@ -5765,13 +5727,13 @@ var flow_complete_default = {
|
|
|
5765
5727
|
bundle: {
|
|
5766
5728
|
packages: {
|
|
5767
5729
|
"@walkeros/collector": {
|
|
5768
|
-
version: "4.8.
|
|
5730
|
+
version: "4.8.2"
|
|
5769
5731
|
},
|
|
5770
5732
|
"@walkeros/server-source-gcp": {
|
|
5771
|
-
version: "4.8.
|
|
5733
|
+
version: "4.8.2"
|
|
5772
5734
|
},
|
|
5773
5735
|
"@walkeros/server-destination-gcp": {
|
|
5774
|
-
version: "4.8.
|
|
5736
|
+
version: "4.8.2"
|
|
5775
5737
|
}
|
|
5776
5738
|
}
|
|
5777
5739
|
}
|
|
@@ -5803,7 +5765,7 @@ var flow_complete_default = {
|
|
|
5803
5765
|
public: true,
|
|
5804
5766
|
in: {
|
|
5805
5767
|
id: "msg-1",
|
|
5806
|
-
dataString: '{"name":"order complete","entity":"order","action":"complete","data":{"id":"ORD-100","
|
|
5768
|
+
dataString: '{"name":"order complete","entity":"order","action":"complete","data":{"id":"ORD-100","value":149.8,"currency":"EUR","coupon":"WELCOME10"},"id":"ev-order-complete","trigger":"load","timestamp":1700000000000,"consent":{"functional":true,"marketing":true},"globals":{"language":"en","pageGroup":"checkout"},"user":{"device":"d3v1c3","session":"s3ss10n","id":"cust-42","email":"31b4ae339b671c9e81adbe27e74b38f09a4756300de6b81998c83a3964cbb849","hash":"5f1c0a9e7d3b2c41","botScore":0,"botCategory":"human","ltv":420,"segment":"loyal"},"source":{"type":"express","platform":"server","url":"https://www.example.com/checkout/thanks","valid":true},"nested":[{"entity":"product","data":{"id":"SKU-1","name":"Trail Runner","price":129.9,"quantity":1}},{"entity":"product","data":{"id":"SKU-2","name":"Running Socks","price":9.95,"quantity":2}}]}',
|
|
5807
5769
|
attributes: {}
|
|
5808
5770
|
},
|
|
5809
5771
|
out: [
|
|
@@ -5815,7 +5777,7 @@ var flow_complete_default = {
|
|
|
5815
5777
|
action: "complete",
|
|
5816
5778
|
data: {
|
|
5817
5779
|
id: "ORD-100",
|
|
5818
|
-
|
|
5780
|
+
value: 149.8,
|
|
5819
5781
|
currency: "EUR",
|
|
5820
5782
|
coupon: "WELCOME10"
|
|
5821
5783
|
},
|
|
@@ -5907,7 +5869,7 @@ var flow_complete_default = {
|
|
|
5907
5869
|
action: "complete",
|
|
5908
5870
|
data: {
|
|
5909
5871
|
id: "ORD-100",
|
|
5910
|
-
|
|
5872
|
+
value: 149.8,
|
|
5911
5873
|
currency: "EUR",
|
|
5912
5874
|
coupon: "WELCOME10"
|
|
5913
5875
|
},
|
|
@@ -5965,7 +5927,7 @@ var flow_complete_default = {
|
|
|
5965
5927
|
[
|
|
5966
5928
|
{
|
|
5967
5929
|
name: "order complete",
|
|
5968
|
-
data: '{"id":"ORD-100","
|
|
5930
|
+
data: '{"id":"ORD-100","value":149.8,"currency":"EUR","coupon":"WELCOME10"}',
|
|
5969
5931
|
context: null,
|
|
5970
5932
|
globals: '{"language":"en","pageGroup":"checkout"}',
|
|
5971
5933
|
custom: null,
|
|
@@ -6110,11 +6072,15 @@ var REFERENCE_RESOURCES = [
|
|
|
6110
6072
|
kind: "static",
|
|
6111
6073
|
name: "packages",
|
|
6112
6074
|
uri: "walkeros://reference/packages",
|
|
6113
|
-
description: "Complete walkerOS package catalog: all sources, destinations, transformers, and stores",
|
|
6075
|
+
description: "Complete walkerOS package catalog: all sources, destinations, transformers, and stores, as { catalog, count, warnings? }. A failed npm search answers an empty catalog with a warning that says so.",
|
|
6114
6076
|
mimeType: JSON_MIME,
|
|
6115
6077
|
read: async () => {
|
|
6116
|
-
const { entries } = await fetchCatalog();
|
|
6117
|
-
return json(
|
|
6078
|
+
const { entries, warnings } = await fetchCatalog();
|
|
6079
|
+
return json({
|
|
6080
|
+
catalog: entries,
|
|
6081
|
+
count: entries.length,
|
|
6082
|
+
...warnings.length > 0 ? { warnings } : {}
|
|
6083
|
+
});
|
|
6118
6084
|
}
|
|
6119
6085
|
}
|
|
6120
6086
|
];
|
|
@@ -6845,7 +6811,7 @@ Every component in a flow is a **step**: sources capture events, transformers pr
|
|
|
6845
6811
|
- **Consent** gates destinations (\`config.consent\`) and individual fields (a value's \`consent\`). A mapping rule's \`consent\` is not enforced yet. Privacy-first by design.
|
|
6846
6812
|
- **Routing** uses one grammar in every chain field (\`source.before\`, \`source.next\`, \`transformer.before\`, \`transformer.next\`, \`collector.next\`, \`destination.before\`, \`destination.next\`). A route is a string ID, a sequence (\`["a", "b"]\`), or a RouteConfig: \`{ match?, next }\`, \`{ match?, one: [...] }\` (first match wins), \`{ match?, many: [...] }\` (every match becomes its own copy of the event with its own id and finishes the rest of the path on its own, never merged), or \`{ match?, stop: true }\` (ends that copy). In a sequence, a member's own \`next\` runs right after it, then the sequence continues. \`match\` reads \`{ ingest, event }\` and each route is evaluated when the event reaches it. A \`stop\` in \`collector.next\` drops the event for every destination; per-destination filtering belongs in \`destination.before\`. An array of only route configs is an implicit \`one\`. The optional \`match\` field is omitted to mean always-match (no wildcard literal).
|
|
6847
6813
|
- **Pass-through steps** are transformer entries with no \`code\` and no \`package\`. The runtime synthesizes the push for them automatically. Three flavors share this shape: a \`before\` / \`next\`-only step (named hop reusable across destinations), a \`cache\`-only step (dedup, rate-limit), and a \`mapping\`-only step (declarative event-to-event transform). A pass-through must declare at least one of \`before\`, \`next\`, \`cache\`, or \`mapping\`.
|
|
6848
|
-
- **Mapping at the transformer position** uses the same \`Mapping.Config\` shape as destinations, but the semantic is event-to-event: only config-level \`policy\` and a rule's \`condition\`, \`policy\`, \`name\` (rename) and \`ignore\` (drop from chain) apply. Everything that shapes a vendor payload or gates a destination is a no-op there: config-level \`consent\`, \`include\`, \`data\`, and a rule's \`consent\`, \`include\`, \`remove\`, \`batch\`, \`settings\`, \`extend\`, \`data\`, \`silent
|
|
6814
|
+
- **Mapping at the transformer position** uses the same \`Mapping.Config\` shape as destinations, but the semantic is event-to-event: only config-level \`policy\` and a rule's \`condition\`, \`policy\`, \`name\` (rename) and \`ignore\` (drop from chain) apply. Everything that shapes a vendor payload or gates a destination is a no-op there: config-level \`consent\`, \`include\`, \`data\`, and a rule's \`consent\`, \`include\`, \`remove\`, \`batch\`, \`settings\`, \`extend\`, \`data\`, \`silent\`. At a source only config-level \`consent\` and \`policy\` and a rule's \`condition\`, \`policy\`, \`name\` and \`ignore\` apply (edit the event there with \`policy\`); at a destination a rule's \`extend\` applies only inside a package's own \`settings.mapping\`. Validation and the bundle reject these keys (\`MAPPING_NO_OP\`). A \`config.mapping\` wins over a step-level \`mapping\`.
|
|
6849
6815
|
- **Closed-schema rule on transformer entries:** known keys only. Operative keys are \`code\`, \`package\`, \`before\`, \`next\`, \`cache\`, \`mapping\`. Combined with structural keys (\`config\`, \`env\`, \`validate\`, \`disabled\`, \`id\`, etc.). Unknown top-level keys on a transformer step are errors (catches typos like \`dedup: {}\` instead of nested under \`cache\`). \`code\` + \`package\` together is a conflict.
|
|
6850
6816
|
- **Cache** memoizes step output on a configured store. Set \`cache.stop: true\` to short-circuit the chain on HIT (sources default to stop-on-HIT); in a source chain or \`collector.next\` that halts the event for all destinations. Set \`cache.namespace\` to prefix keys; omit it to write keys directly. \`CacheRule.match\` is optional, omit for always-match.
|
|
6851
6817
|
|
|
@@ -7207,7 +7173,7 @@ process.on("unhandledRejection", (reason) => {
|
|
|
7207
7173
|
});
|
|
7208
7174
|
async function main() {
|
|
7209
7175
|
const server = createWalkerOSMcpServer({
|
|
7210
|
-
version: "4.8.
|
|
7176
|
+
version: "4.8.2",
|
|
7211
7177
|
runtime: createLocalRuntime()
|
|
7212
7178
|
});
|
|
7213
7179
|
const transport = new StdioServerTransport();
|
|
@@ -7218,7 +7184,7 @@ main().catch(async (error) => {
|
|
|
7218
7184
|
try {
|
|
7219
7185
|
const emitter = await createMcpEmitter({
|
|
7220
7186
|
clientInfo: void 0,
|
|
7221
|
-
packageVersion: "4.8.
|
|
7187
|
+
packageVersion: "4.8.2"
|
|
7222
7188
|
});
|
|
7223
7189
|
await emitter.emitError("startup");
|
|
7224
7190
|
} catch {
|