@walkeros/cli 2.2.0-next-1773136823705 → 3.0.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 CHANGED
@@ -1,17 +1,56 @@
1
1
  # @walkeros/cli
2
2
 
3
- ## 2.2.0-next-1773136823705
3
+ ## 3.0.0
4
4
 
5
- ### Minor Changes
5
+ ### Major Changes
6
6
 
7
7
  - d11f574: Rename Flow.Setup to Flow.Config and Flow.Config to Flow.Settings for
8
8
  consistent Config/Settings naming convention at every level. Breaking change:
9
9
  all type names, function names, schema names, and API URL paths (/configs →
10
10
  /settings) updated.
11
+ - 23f218a: Replace flat/v2 contract format with named contracts supporting
12
+ extends inheritance.
13
+
14
+ BREAKING CHANGES:
15
+ - `contract` is now a map of named contract entries (e.g.,
16
+ `{ "default": { ... }, "web": { ... } }`)
17
+ - `version` field inside contracts removed
18
+ - `$tagging` renamed to `tagging`
19
+ - Legacy flat contract format removed
20
+ - `$globals`, `$context`, `$custom`, `$user`, `$consent` references removed
21
+ - Settings-level `contract` field removed (use named contracts at config
22
+ level)
23
+ - Auto-injection of `$tagging` into `collector.tagging` removed (use
24
+ `$contract.name.tagging` explicitly)
25
+ - Validator `contract` setting renamed to `events` (receives raw schemas, not
26
+ `{ schema: ... }` wrappers)
27
+
28
+ NEW FEATURES:
29
+ - Named contracts with `extends` for inheritance (additive merge)
30
+ - Generalized dot-path resolution: `$def.name.nested.path`,
31
+ `$contract.name.section`
32
+ - `$contract` as first-class reference type with path access
33
+ - `$def` inside contracts supported via two-pass resolution
34
+ - `$def` aliasing for reducing repetition: `{ "c": "$contract.web" }` then
35
+ `$def.c.events`
36
+
11
37
  - d5af3cf: Unified CLI and Docker runner into single `walkeros run` code path
12
38
  with built-in health server, heartbeat, polling, and secrets support. Added
13
39
  `--flow-id` and `--project` flags. Removed legacy `--deploy`, `--url`,
14
40
  `--health-endpoint`, `--heartbeat-interval`, and `-h/--host` flags.
41
+
42
+ ### Minor Changes
43
+
44
+ - 6ae0ee3: Add v2 structured contract format with globals, context, custom,
45
+ user, and consent sections.
46
+
47
+ Contracts can now describe cross-event properties (globals, consent, etc.)
48
+ alongside entity-action event schemas. Top-level sections are JSON Schemas
49
+ that merge additively into per-event validation.
50
+
51
+ Breaking: None. Legacy flat contracts continue working unchanged. v2 is opt-in
52
+ via `version: 2` field.
53
+
15
54
  - b6c8fa8: Add stores as a first-class component type in Flow.Config. Stores get
16
55
  their own `stores` section in flow settings, a `collector.stores` registry,
17
56
  and `$store:storeId` env wiring in the bundler. Includes `storeMemoryInit` for
@@ -29,6 +68,9 @@
29
68
 
30
69
  - ddd6a21: Generated Dockerfiles now include COPY lines for `include` folders,
31
70
  enabling fs store support in Docker containers.
71
+ - 5cb84c1: Replace hand-written MCP resources with auto-generated JSON Schemas
72
+ from @walkeros/core. Add walkerOS.json to 5 transformer packages. Variables
73
+ resource remains hand-maintained (runtime interpolation patterns).
32
74
  - 67dd7c8: Standardize command pattern: all three commands (validate, simulate,
33
75
  push) now route through their programmatic APIs for string resolution and
34
76
  orchestration. Extract shared createCollectorLoggerConfig utility. Pass
@@ -39,15 +81,21 @@
39
81
  hoisted into a separate variable declaration before the config object,
40
82
  ensuring store references resolve correctly at runtime
41
83
  - Updated dependencies [2b259b6]
84
+ - Updated dependencies [2614014]
85
+ - Updated dependencies [6ae0ee3]
42
86
  - Updated dependencies [37299a9]
43
87
  - Updated dependencies [499e27a]
88
+ - Updated dependencies [0e5eede]
44
89
  - Updated dependencies [d11f574]
45
90
  - Updated dependencies [d11f574]
91
+ - Updated dependencies [1fe337a]
92
+ - Updated dependencies [5cb84c1]
93
+ - Updated dependencies [23f218a]
46
94
  - Updated dependencies [499e27a]
47
95
  - Updated dependencies [c83d909]
48
96
  - Updated dependencies [b6c8fa8]
49
- - @walkeros/core@2.2.0-next-1773136823705
50
- - @walkeros/server-core@2.2.0-next-1773136823705
97
+ - @walkeros/core@3.0.0
98
+ - @walkeros/server-core@3.0.0
51
99
 
52
100
  ## 2.1.1
53
101
 
package/README.md CHANGED
@@ -343,7 +343,7 @@ Flow configs use the `Flow.Config` format with `version` and `flows`:
343
343
 
344
344
  ```json
345
345
  {
346
- "version": 1,
346
+ "version": 3,
347
347
  "flows": {
348
348
  "default": {
349
349
  "server": {},