@walkeros/cli 4.8.1-next-1792019907609 → 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.
@@ -256,7 +256,7 @@ curl -I http://localhost:8080/walker.js
256
256
 
257
257
  ```bash
258
258
  walkeros validate packages/cli/examples/flow-complete.json -f web --path destinations.collect
259
- walkeros push packages/cli/examples/flow-complete.json -f web -e '{"name":"order complete","data":{"id":"ORD-100","total":149.8,"currency":"EUR"}}' --simulate destination.ga4
259
+ walkeros push packages/cli/examples/flow-complete.json -f web -e '{"name":"order complete","data":{"id":"ORD-100","value":149.8,"currency":"EUR"}}' --simulate destination.ga4
260
260
  ```
261
261
 
262
262
  - The second line prints `mapping: none (skipped before mapping)`: the event has
@@ -294,8 +294,8 @@ walkeros push packages/cli/examples/flow-complete.json -f web -e '{"name":"order
294
294
  key reads a path from the event.
295
295
  - `value-fn` at
296
296
  `/flows/web/destinations/ga4/config/mapping/order/complete/data/map/value/fn`:
297
- fn computes a value from the event, here the total rounded to cents. fn and
298
- key are alternatives: next to a key, fn never runs.
297
+ fn computes a value from the event, here the order value rounded to cents.
298
+ fn and key are alternatives: next to a key, fn never runs.
299
299
  - `value-loop` at
300
300
  `/flows/web/destinations/ga4/config/mapping/order/complete/data/map/items/loop`:
301
301
  loop turns nested products into GA4 items.
@@ -314,7 +314,7 @@ walkeros push packages/cli/examples/flow-complete.json -f web -e '{"name":"order
314
314
  value is a constant.
315
315
  - `rule-condition` at
316
316
  `/flows/web/destinations/ga4/config/mapping/order/complete/condition`: A
317
- rule condition skips the rule, here for orders without a total.
317
+ rule condition skips the rule, here for orders without a value.
318
318
  - `rule-settings` at
319
319
  `/flows/server/destinations/piwikpro/config/mapping/order/complete/settings`:
320
320
  Rule settings are per-event package options: the Piwik PRO goal for orders.
@@ -332,7 +332,7 @@ walkeros push packages/cli/examples/flow-complete.json -f web -e '{"name":"order
332
332
  - **CLI:** the GA4 purchase, with consent and one product:
333
333
 
334
334
  ```bash
335
- walkeros push packages/cli/examples/flow-complete.json -f web -e '{"name":"order complete","data":{"id":"ORD-100","total":149.8,"currency":"EUR"},"nested":[{"entity":"product","data":{"id":"SKU-1","name":"Linen shirt","price":74.9,"quantity":2}}],"consent":{"functional":true}}' --simulate destination.ga4
335
+ walkeros push packages/cli/examples/flow-complete.json -f web -e '{"name":"order complete","data":{"id":"ORD-100","value":149.8,"currency":"EUR"},"nested":[{"entity":"product","data":{"id":"SKU-1","name":"Linen shirt","price":74.9,"quantity":2}}],"consent":{"functional":true}}' --simulate destination.ga4
336
336
  ```
337
337
 
338
338
  - Output:
@@ -636,7 +636,7 @@ walkeros push packages/cli/examples/flow-complete.json -f server -e '{"name":"pr
636
636
 
637
637
  ```bash
638
638
  walkeros validate packages/cli/examples/flow-complete.json -t contract
639
- walkeros push packages/cli/examples/flow-complete.json -f server -e '{"name":"order complete","data":{"id":"ORD-100","total":149.8,"currency":"EUR"},"globals":{"language":"en"},"consent":{"functional":true}}' --simulate transformer.validate
639
+ walkeros push packages/cli/examples/flow-complete.json -f server -e '{"name":"order complete","data":{"id":"ORD-100","value":149.8,"currency":"EUR"},"globals":{"language":"en"},"consent":{"functional":true}}' --simulate transformer.validate
640
640
  ```
641
641
 
642
642
  - **MCP:** `flow_validate`, `flow_simulate`.
@@ -760,7 +760,7 @@ walkeros push packages/cli/examples/flow-complete.json -f server -e '{"name":"pa
760
760
  (`user.ltv: 420`, `user.segment: "loyal"`):
761
761
 
762
762
  ```bash
763
- walkeros push packages/cli/examples/flow-complete.json -f server -e '{"name":"order complete","data":{"id":"ORD-100","total":149.8,"currency":"EUR"},"user":{"id":"cust-42"}}' --simulate transformer.loadUser
763
+ walkeros push packages/cli/examples/flow-complete.json -f server -e '{"name":"order complete","data":{"id":"ORD-100","value":149.8,"currency":"EUR"},"user":{"id":"cust-42"}}' --simulate transformer.loadUser
764
764
  ```
765
765
 
766
766
  - Build the web bundle straight into the shared folder (web builds ignore root
@@ -20,7 +20,7 @@
20
20
  "data": {
21
21
  "map": {
22
22
  "transaction_id": "data.id",
23
- "value": "data.total",
23
+ "value": "data.value",
24
24
  "currency": "data.currency",
25
25
  "tax": "data.tax",
26
26
  "shipping": "data.shipping",
@@ -21,7 +21,7 @@
21
21
  "data": {
22
22
  "map": {
23
23
  "transaction_id": "data.id",
24
- "value": "data.total",
24
+ "value": "data.value",
25
25
  "currency": "data.currency",
26
26
  "tax": "data.tax",
27
27
  "shipping": "data.shipping",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@walkeros/cli",
3
- "version": "4.8.1-next-1792019907609",
3
+ "version": "4.8.2",
4
4
  "description": "walkerOS CLI - Bundle and deploy walkerOS components",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -53,11 +53,12 @@
53
53
  },
54
54
  "dependencies": {
55
55
  "@vercel/nft": "^1.10.2",
56
- "@walkeros/collector": "4.8.1-next-1792019907609",
57
- "@walkeros/core": "4.8.1-next-1792019907609",
58
- "@walkeros/server-core": "4.8.1-next-1792019907609",
59
- "@walkeros/server-destination-api": "4.8.1-next-1792019907609",
60
- "@walkeros/transformer-validate": "4.8.1-next-1792019907609",
56
+ "@walkeros/collector": "4.8.2",
57
+ "@walkeros/core": "4.8.2",
58
+ "@walkeros/server-core": "4.8.2",
59
+ "@walkeros/server-destination-api": "4.8.2",
60
+ "@walkeros/transformer-validate": "4.8.2",
61
+ "@walkeros/web-core": "4.8.2",
61
62
  "ajv": "^8.17.1",
62
63
  "chalk": "^5.6.2",
63
64
  "ci-info": "^4.4.0",
@@ -66,7 +67,6 @@
66
67
  "fs-extra": "^11.3.2",
67
68
  "jsdom": "^29.1.1",
68
69
  "npm-package-arg": "^13.0.2",
69
- "open": "^11.0.0",
70
70
  "pacote": "^21.0.4",
71
71
  "picomatch": "^4.0.4",
72
72
  "semver": "^7.7.4",
@@ -80,29 +80,29 @@
80
80
  "@types/pacote": "^11.1.8",
81
81
  "@types/picomatch": "4.0.3",
82
82
  "@types/semver": "^7.7.1",
83
- "@walkeros/config": "4.8.1-next-1792019907609",
84
- "@walkeros/core": "4.8.1-next-1792019907609",
85
- "@walkeros/destination-demo": "4.8.1-next-1792019907609",
86
- "@walkeros/server-destination-aws": "4.8.1-next-1792019907609",
87
- "@walkeros/server-destination-datamanager": "4.8.1-next-1792019907609",
88
- "@walkeros/server-destination-gcp": "4.8.1-next-1792019907609",
89
- "@walkeros/server-destination-meta": "4.8.1-next-1792019907609",
90
- "@walkeros/server-destination-piwikpro": "4.8.1-next-1792019907609",
91
- "@walkeros/server-source-aws": "4.8.1-next-1792019907609",
92
- "@walkeros/server-source-express": "4.8.1-next-1792019907609",
93
- "@walkeros/server-source-gcp": "4.8.1-next-1792019907609",
94
- "@walkeros/server-store-fs": "4.8.1-next-1792019907609",
95
- "@walkeros/server-transformer-bot": "4.8.1-next-1792019907609",
96
- "@walkeros/server-transformer-file": "4.8.1-next-1792019907609",
97
- "@walkeros/server-transformer-fingerprint": "4.8.1-next-1792019907609",
98
- "@walkeros/transformer-ga4": "4.8.1-next-1792019907609",
99
- "@walkeros/web-destination-api": "4.8.1-next-1792019907609",
100
- "@walkeros/web-destination-gtag": "4.8.1-next-1792019907609",
101
- "@walkeros/web-source-browser": "4.8.1-next-1792019907609",
102
- "@walkeros/web-source-cmp-cookiefirst": "4.8.1-next-1792019907609",
103
- "@walkeros/web-source-cmp-usercentrics": "4.8.1-next-1792019907609",
104
- "@walkeros/web-source-datalayer": "4.8.1-next-1792019907609",
105
- "@walkeros/web-source-session": "4.8.1-next-1792019907609",
83
+ "@walkeros/config": "4.8.2",
84
+ "@walkeros/core": "4.8.2",
85
+ "@walkeros/destination-demo": "4.8.2",
86
+ "@walkeros/server-destination-aws": "4.8.2",
87
+ "@walkeros/server-destination-datamanager": "4.8.2",
88
+ "@walkeros/server-destination-gcp": "4.8.2",
89
+ "@walkeros/server-destination-meta": "4.8.2",
90
+ "@walkeros/server-destination-piwikpro": "4.8.2",
91
+ "@walkeros/server-source-aws": "4.8.2",
92
+ "@walkeros/server-source-express": "4.8.2",
93
+ "@walkeros/server-source-gcp": "4.8.2",
94
+ "@walkeros/server-store-fs": "4.8.2",
95
+ "@walkeros/server-transformer-bot": "4.8.2",
96
+ "@walkeros/server-transformer-file": "4.8.2",
97
+ "@walkeros/server-transformer-fingerprint": "4.8.2",
98
+ "@walkeros/transformer-ga4": "4.8.2",
99
+ "@walkeros/web-destination-api": "4.8.2",
100
+ "@walkeros/web-destination-gtag": "4.8.2",
101
+ "@walkeros/web-source-browser": "4.8.2",
102
+ "@walkeros/web-source-cmp-cookiefirst": "4.8.2",
103
+ "@walkeros/web-source-cmp-usercentrics": "4.8.2",
104
+ "@walkeros/web-source-datalayer": "4.8.2",
105
+ "@walkeros/web-source-session": "4.8.2",
106
106
  "msw": "^2.12.10",
107
107
  "tsx": "^4.21.0"
108
108
  },
@@ -3,43 +3,49 @@
3
3
  "contract": {
4
4
  "telemetry": {
5
5
  "description": "walkerOS internal usage telemetry from @walkeros/cli and @walkeros/mcp. Anonymous, opt-out, no PII.",
6
- "user": {
6
+ "schema": {
7
7
  "type": "object",
8
8
  "properties": {
9
- "device": {
10
- "type": "string",
11
- "description": "Installation UUID generated once per machine and persisted in ~/.config/walkeros/config.json. Not linked to any account."
12
- },
13
- "session": {
14
- "type": "string",
15
- "description": "Ephemeral per-process UUID. Only present on MCP events; CLI omits because its session is a single event."
16
- },
17
- "os": {
18
- "type": "string"
19
- },
20
- "osVersion": {
21
- "type": "string"
22
- },
23
- "node": {
24
- "type": "string"
25
- },
26
- "language": {
27
- "type": "string"
9
+ "user": {
10
+ "type": "object",
11
+ "properties": {
12
+ "device": {
13
+ "type": "string",
14
+ "description": "Installation UUID generated once per machine and persisted in ~/.config/walkeros/config.json. Not linked to any account."
15
+ },
16
+ "session": {
17
+ "type": "string",
18
+ "description": "Ephemeral per-process UUID. Only present on MCP events; CLI omits because its session is a single event."
19
+ },
20
+ "os": {
21
+ "type": "string"
22
+ },
23
+ "osVersion": {
24
+ "type": "string"
25
+ },
26
+ "node": {
27
+ "type": "string"
28
+ },
29
+ "language": {
30
+ "type": "string"
31
+ },
32
+ "timezone": {
33
+ "type": "string"
34
+ }
35
+ }
28
36
  },
29
- "timezone": {
30
- "type": "string"
31
- }
32
- }
33
- },
34
- "consent": {
35
- "type": "object",
36
- "properties": {
37
- "telemetry": {
38
- "type": "boolean",
39
- "const": true
37
+ "consent": {
38
+ "type": "object",
39
+ "properties": {
40
+ "telemetry": {
41
+ "type": "boolean",
42
+ "const": true
43
+ }
44
+ },
45
+ "required": ["telemetry"]
40
46
  }
41
47
  },
42
- "required": ["telemetry"]
48
+ "required": ["consent"]
43
49
  },
44
50
  "events": {
45
51
  "mcp": {
@@ -66,7 +72,7 @@
66
72
  "properties": {
67
73
  "command": {
68
74
  "type": "string",
69
- "description": "CLI command, space-joined for subcommands (e.g. 'bundle', 'projects list', 'auth login'). Set on source.command when source.type = 'cli'."
75
+ "description": "CLI command, space-joined for subcommands (e.g. 'bundle', 'projects list', 'api'). Set on source.command when source.type = 'cli'."
70
76
  },
71
77
  "tool": {
72
78
  "type": "string",
@@ -101,7 +107,9 @@
101
107
  "api": {
102
108
  "package": "@walkeros/server-destination-api",
103
109
  "config": {
104
- "url": "$env.WALKEROS_APP_URL/api/telemetry"
110
+ "settings": {
111
+ "url": "$env.WALKEROS_APP_URL/api/telemetry"
112
+ }
105
113
  }
106
114
  }
107
115
  }