@walkeros/cli 4.8.1 → 4.8.3-next-1793115089237

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.
Files changed (51) hide show
  1. package/CHANGELOG.md +115 -3
  2. package/README.md +2 -2
  3. package/dist/cli.js +4149 -4149
  4. package/dist/dev.d.ts +51 -3
  5. package/dist/dev.js +186 -0
  6. package/dist/dev.js.map +1 -1
  7. package/dist/examples/README.md +12 -1
  8. package/dist/examples/contracts/app.json +261 -0
  9. package/dist/examples/contracts/base.json +708 -0
  10. package/dist/examples/contracts/ecommerce.json +963 -0
  11. package/dist/examples/contracts/leadgen.json +240 -0
  12. package/dist/examples/contracts/publisher.json +372 -0
  13. package/dist/examples/contracts/saas.json +229 -0
  14. package/dist/examples/contracts/travel.json +234 -0
  15. package/dist/examples/customers/README.md +4 -1
  16. package/dist/examples/event.json +1 -1
  17. package/dist/examples/flow-complete.json +107 -130
  18. package/dist/examples/flow-complete.md +12 -10
  19. package/dist/examples/flow-order-complete.json +1 -1
  20. package/dist/examples/flow.json +1 -1
  21. package/dist/examples/index.d.ts +34 -4
  22. package/dist/examples/index.js +128 -139
  23. package/dist/examples/index.js.map +1 -1
  24. package/dist/examples/shared/README.md +4 -0
  25. package/dist/index.d.ts +63 -223
  26. package/dist/index.js +572 -992
  27. package/dist/index.js.map +1 -1
  28. package/dist/validate.d.ts +1 -1
  29. package/dist/validate.js +337 -204
  30. package/dist/validate.js.map +1 -1
  31. package/examples/README.md +12 -1
  32. package/examples/contracts/app.json +261 -0
  33. package/examples/contracts/base.json +708 -0
  34. package/examples/contracts/ecommerce.json +963 -0
  35. package/examples/contracts/leadgen.json +240 -0
  36. package/examples/contracts/publisher.json +372 -0
  37. package/examples/contracts/saas.json +229 -0
  38. package/examples/contracts/travel.json +234 -0
  39. package/examples/customers/README.md +4 -1
  40. package/examples/event.json +1 -1
  41. package/examples/flow-complete.json +107 -130
  42. package/examples/flow-complete.md +12 -10
  43. package/examples/flow-order-complete.json +1 -1
  44. package/examples/flow.json +1 -1
  45. package/examples/shared/README.md +4 -0
  46. package/package.json +30 -30
  47. package/src/telemetry/flow.json +42 -34
  48. package/dist/examples/test.html +0 -43
  49. package/dist/examples/web-serve.js +0 -25503
  50. package/examples/test.html +0 -43
  51. package/examples/web-serve.js +0 -25503
package/CHANGELOG.md CHANGED
@@ -1,5 +1,120 @@
1
1
  # @walkeros/cli
2
2
 
3
+ ## 4.8.3-next-1793115089237
4
+
5
+ ### Patch Changes
6
+
7
+ - 34fd225: The package no longer ships `examples/web-serve.js`, a stale prebuilt
8
+ bundle that still sent the old `order complete` shape, nor
9
+ `examples/test.html`, the page that loaded it. Build the browser example
10
+ yourself with `walkeros bundle examples/web-serve.json`, as the examples
11
+ README shows.
12
+ - 5313635: `walkeros validate` checks each step's settings against the package
13
+ version `walkeros bundle` installs, inline `@version` specs on other steps
14
+ included. Steps that name one package at two inline versions are reported as
15
+ skipped, since the bundle refuses them.
16
+ - 5313635: The sample events from `getEvent` now use the standard event names:
17
+ `checkout start` replaces `checkout view`, an order carries `tax` and `total`,
18
+ a promotion names its placement `slot`, and product events carry `currency`.
19
+ Order `value` is now the merchandise value: the `order complete` sample goes
20
+ from 555 to 462, and the gross amount charged is `total` (467.22). The
21
+ destination examples read `data.tax`, `data.slot` and the search keys
22
+ `data.term` and `data.results`, and gross fields such as Matomo `grandTotal`
23
+ read `data.total` first, then `data.value`. The CLI ships default event
24
+ contracts for common site types in `examples/contracts/`.
25
+ - ebe013e: An `ip` input that is not one address, such as a forwarded chain, is
26
+ now reported as an error and left out of the hash, instead of a warning that
27
+ said it was empty. The event is still delivered. The complete example flow
28
+ reads the visitor IP from a header the proxy sets.
29
+ - 125bbea: The `walkeros/flow` and `walkeros/cli` images now run Node.js
30
+ 24.22.1, which fixes the vulnerabilities of the Node.js security release of 21
31
+ October 2026; one of them can be triggered by a request to a flow's HTTP
32
+ source. Rebuild images based on `walkeros/flow` with this version and
33
+ redeploy. Flows that run on their own Node.js need 22.23.4, 24.22.1, 26.12.1
34
+ or later in the same line.
35
+ - 5313635: `@walkeros/core` exports the `StepType` type, the kind of a step
36
+ package (`source`, `transformer`, `destination` or `store`), read from
37
+ `STEP_TYPES` on `@walkeros/core/dev`. `StepKind`, `FlowStepType` and `stepId`
38
+ use it, as do the step kinds `resolveExportName` in `@walkeros/cli` and the
39
+ simulate tool of `@walkeros/mcp` take, so the kinds are listed in one place.
40
+ - Updated dependencies [5313635]
41
+ - Updated dependencies [5313635]
42
+ - Updated dependencies [34fd225]
43
+ - Updated dependencies [29d2218]
44
+ - Updated dependencies [34fd225]
45
+ - Updated dependencies [5313635]
46
+ - Updated dependencies [5313635]
47
+ - Updated dependencies [5313635]
48
+ - Updated dependencies [5313635]
49
+ - Updated dependencies [5313635]
50
+ - Updated dependencies [34fd225]
51
+ - Updated dependencies [5313635]
52
+ - Updated dependencies [5313635]
53
+ - Updated dependencies [5313635]
54
+ - Updated dependencies [5313635]
55
+ - @walkeros/collector@4.8.3-next-1793115089237
56
+ - @walkeros/web-core@4.8.3-next-1793115089237
57
+ - @walkeros/core@4.8.3-next-1793115089237
58
+ - @walkeros/server-destination-api@4.8.3-next-1793115089237
59
+ - @walkeros/transformer-validate@4.8.3-next-1793115089237
60
+ - @walkeros/server-core@4.8.3-next-1793115089237
61
+
62
+ ## 4.8.2
63
+
64
+ ### Patch Changes
65
+
66
+ - 2374f54: Server flows skip consent-denied events by default
67
+ (`collector.consentDenied: 'skip'`; an authored value wins). A flow's own
68
+ `logger` level, format and handler apply under `runneros`. `walkeros setup`
69
+ fails with the reason when a step's `init` throws or returns `false`. Inline
70
+ `on`, `pushBatch` and `destroy` reach the bundle. A flow's custom log handler
71
+ gets a no-op `originalHandler`.
72
+ - 2374f54: `walkeros validate` reports unknown keys, mapping keys with no
73
+ effect, values without an operator, malformed references and `batch` without
74
+ `pushBatch` as errors (`MAPPING_NO_OP` replaces the warning
75
+ `TRANSFORMER_MAPPING_NO_OP`), and `bundle`, `push`, `simulate`, `setup` stop
76
+ on them before building. An unknown settings key is an error where the package
77
+ closes its schema.
78
+ - dbb558d: The CLI authenticates with a token only: create one under Account >
79
+ Automation tokens and set `WALKEROS_TOKEN`. `walkeros auth login`, `logout`
80
+ and `token` are removed, with the stored session and their exports. An old
81
+ sign-in in the config file is no longer read, and `walkeros api` refuses an
82
+ `Authorization` header.
83
+ - 964590a: Browser and wrap bundles import from `@walkeros/web-core`, which
84
+ ships with the CLI, so no extra package is downloaded.
85
+ - Updated dependencies [2374f54]
86
+ - Updated dependencies [2374f54]
87
+ - Updated dependencies [7e5fc27]
88
+ - Updated dependencies [2374f54]
89
+ - Updated dependencies [2374f54]
90
+ - Updated dependencies [2374f54]
91
+ - Updated dependencies [2374f54]
92
+ - Updated dependencies [7e5fc27]
93
+ - Updated dependencies [2374f54]
94
+ - Updated dependencies [964590a]
95
+ - Updated dependencies [2374f54]
96
+ - Updated dependencies [7e5fc27]
97
+ - Updated dependencies [2374f54]
98
+ - Updated dependencies [964590a]
99
+ - Updated dependencies [4100ede]
100
+ - Updated dependencies [2374f54]
101
+ - Updated dependencies [2374f54]
102
+ - Updated dependencies [15eb7b2]
103
+ - Updated dependencies [33a2779]
104
+ - Updated dependencies [33a2779]
105
+ - Updated dependencies [2374f54]
106
+ - Updated dependencies [2374f54]
107
+ - Updated dependencies [2374f54]
108
+ - Updated dependencies [b1d65e2]
109
+ - Updated dependencies [964590a]
110
+ - Updated dependencies [2374f54]
111
+ - @walkeros/collector@4.8.2
112
+ - @walkeros/core@4.8.2
113
+ - @walkeros/server-core@4.8.2
114
+ - @walkeros/server-destination-api@4.8.2
115
+ - @walkeros/web-core@4.8.2
116
+ - @walkeros/transformer-validate@4.8.2
117
+
3
118
  ## 4.8.1
4
119
 
5
120
  ### Patch Changes
@@ -973,9 +1088,6 @@
973
1088
  and `event.context` remain required.
974
1089
  - Each source self-registers via TypeScript module augmentation of `SourceMap`
975
1090
  in `@walkeros/core`.
976
- - App-side coordination (`/workspaces/developer/app`) is a follow-up plan, not
977
- part of this release. Telemetry from v4 CLI/MCP will not validate against
978
- the existing app schema until that follow-up ships.
979
1091
  - `Mapping.Rule.skip` is renamed to `Mapping.Rule.silent`. Customer flow.json
980
1092
  configs using `skip: true` in mapping rules must rename to `silent: true`.
981
1093
  Hard cut: no legacy alias, the field is gone.
package/README.md CHANGED
@@ -6,8 +6,8 @@
6
6
 
7
7
  # @walkeros/cli
8
8
 
9
- Command-line tool for building, testing, and running walkerOS event collection
10
- flows, from configuration to deployment.
9
+ Command-line tool for building, testing and validating walkerOS event collection
10
+ flows. Requires Node.js 22.12 or later.
11
11
 
12
12
  [Documentation](https://www.walkeros.io/docs/apps/cli) •
13
13
  [NPM Package](https://www.npmjs.com/package/@walkeros/cli) •