@auto-engineer/cli 1.150.0 → 1.153.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +92 -0
  2. package/package.json +4 -4
package/CHANGELOG.md CHANGED
@@ -1,5 +1,97 @@
1
1
  # @auto-engineer/cli
2
2
 
3
+ ## 1.153.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`2476c2c`](https://github.com/BeOnAuto/auto-engineer/commit/2476c2cde06c2e2e8e3b84cce2de1bd7ed95bf19) Thanks [@github-actions[bot]](https://github.com/github-actions%5Bbot%5D)! - - **narrative**: emit .ui() in model-to-narrative transformer
8
+ - **narrative**: add .ui() method to command/query/experience fluent builders
9
+ - **narrative**: add UiBlockSchema to client block on command/query/experience moments
10
+ - **server-generator-apollo-emmett**: exact model values in field completeness assertions
11
+ - **server-generator-apollo-emmett**: report invalid mapping targets via FieldIssue pipeline
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies [[`2476c2c`](https://github.com/BeOnAuto/auto-engineer/commit/2476c2cde06c2e2e8e3b84cce2de1bd7ed95bf19)]:
16
+ - @auto-engineer/file-store@1.153.0
17
+ - @auto-engineer/narrative@1.153.0
18
+ - @auto-engineer/pipeline@1.153.0
19
+
20
+ ## 1.152.0
21
+
22
+ ### Minor Changes
23
+
24
+ - [`40745af`](https://github.com/BeOnAuto/auto-engineer/commit/40745af362feaf79b8d0db4bddb16c4dcbafc788) Thanks [@rami-hatoum](https://github.com/rami-hatoum)! - - Stream names in generated React code now use the target command's stream pattern directly when available, producing more accurate event stream references
25
+ - Falls back to the previous field-based naming approach when no stream pattern exists, maintaining backward compatibility
26
+
27
+ - [`3c3e87c`](https://github.com/BeOnAuto/auto-engineer/commit/3c3e87ceb346fb0ebcefe91eba4a0ba79ee9e47c) Thanks [@rami-hatoum](https://github.com/rami-hatoum)! - - Added stream pattern resolution for seed data in generated test specs, using example data when a target command has a stream pattern
28
+ - Falls back to existing state-type and linking field convention when no stream pattern is available
29
+
30
+ - [`b11b24c`](https://github.com/BeOnAuto/auto-engineer/commit/b11b24c510887bca461601c75204460afc7653a1) Thanks [@rami-hatoum](https://github.com/rami-hatoum)! - - Added field completeness assertions for non-command fields in generated server tests, ensuring all event fields are verified with proper type matchers
31
+
32
+ - [`1cb9ffa`](https://github.com/BeOnAuto/auto-engineer/commit/1cb9ffa40e6b9fbe66dd934b8612e741a388e779) Thanks [@rami-hatoum](https://github.com/rami-hatoum)! - - Enriched event-command pair generation to include the target command's stream destination pattern, enabling more accurate scaffold wiring between commands and their downstream event streams
33
+
34
+ - [`0bac84b`](https://github.com/BeOnAuto/auto-engineer/commit/0bac84b6f9e1454a8595d2592ed572a4a0209feb) Thanks [@rami-hatoum](https://github.com/rami-hatoum)! - - Added type assertion helper that maps TypeScript types to JavaScript constructor names for use in generated test specifications
35
+
36
+ - [`3142d48`](https://github.com/BeOnAuto/auto-engineer/commit/3142d48092067070063475c800f79fdb4298d8ea) Thanks [@rami-hatoum](https://github.com/rami-hatoum)! - - Added Given state ref hints to generated state files, so implementers see which discriminated union variants to create
37
+ - Improved scaffold instructions for non-command fields by classifying them as date-derived, state-derived, or not asserted by tests
38
+
39
+ - [`5622978`](https://github.com/BeOnAuto/auto-engineer/commit/56229789549b2e4ed5b388d844c4a763b9751bc9) Thanks [@rami-hatoum](https://github.com/rami-hatoum)! - - Improved field linking logic to prefer ID-like fields (e.g., bookingId) over arbitrary primitive matches (e.g., status) when resolving relationships between types
40
+
41
+ - [`98bd3b6`](https://github.com/BeOnAuto/auto-engineer/commit/98bd3b64f897251a37cc0ddf85855e9e3de5dd92) Thanks [@rami-hatoum](https://github.com/rami-hatoum)! - - Field completeness assertions now use exact model values for non-command fields instead of generic type matchers, providing stronger test verification
42
+
43
+ - [`1f0145a`](https://github.com/BeOnAuto/auto-engineer/commit/1f0145a5df1b99a2462617ea6c0723efefa8b9ce) Thanks [@rami-hatoum](https://github.com/rami-hatoum)! - - Added date-aware filter comparison in query resolver so Date-type fields are correctly compared using numeric time values instead of failing string comparisons
44
+
45
+ - [`5b804be`](https://github.com/BeOnAuto/auto-engineer/commit/5b804be32448ed351eb31c269cdd19a181bec66c) Thanks [@rami-hatoum](https://github.com/rami-hatoum)! -
46
+
47
+ - [`b0fde2b`](https://github.com/BeOnAuto/auto-engineer/commit/b0fde2bfc62040c12841c409764083876c1a9668) Thanks [@rami-hatoum](https://github.com/rami-hatoum)! - - Added validation for query moment mappings that reference non-existent fields on the state type
48
+ - Invalid mapping targets now surface as field issues instead of being silently skipped
49
+ - Errors flow through the existing issue reporting pipeline automatically
50
+
51
+ - [`97e4219`](https://github.com/BeOnAuto/auto-engineer/commit/97e4219a8490ee3fc9619b3ca40a5dfc4eaa6e16) Thanks [@rami-hatoum](https://github.com/rami-hatoum)! - - Added stream pattern support to aggregate stream detection, ensuring handlers use the correct destination-based stream name instead of fabricated ones
52
+ - Added test coverage verifying deterministic stream pattern resolution in react handlers
53
+
54
+ - [`a025f64`](https://github.com/BeOnAuto/auto-engineer/commit/a025f642eea30be12414dd756e7b9e35a88eeac4) Thanks [@rami-hatoum](https://github.com/rami-hatoum)! - - Register command handlers now use deterministic stream name patterns from target commands, improving consistency with the react handler approach
55
+
56
+ - [`1afe038`](https://github.com/BeOnAuto/auto-engineer/commit/1afe0387635d0fee002caf0810fe96534a64e661) Thanks [@github-actions[bot]](https://github.com/github-actions%5Bbot%5D)! - - **react-gen**: premium styling rules for layout-constrained pages
57
+ - **react-gen**: add dialog route support via scene.kind
58
+ - **react-gen**: inject layout constraints from design.ui specs into scene prompts
59
+ - **react-gen**: add spec-to-constraint converter using @json-render/codegen
60
+ - **react-gen**: add json-render spec deduplication utility
61
+
62
+ ### Patch Changes
63
+
64
+ - [`97fb3d6`](https://github.com/BeOnAuto/auto-engineer/commit/97fb3d601b42879c76ecc9fdf20d77f54d6ad23b) Thanks [@rami-hatoum](https://github.com/rami-hatoum)! - - Created planning document for fixing state-Given handling in the Apollo Emmett server generator
65
+
66
+ - [`0f9054e`](https://github.com/BeOnAuto/auto-engineer/commit/0f9054e143e60053e71e627a962195f3e0b3bbfa) Thanks [@rami-hatoum](https://github.com/rami-hatoum)! - - Fixed test accuracy for state-derived fields by excluding state-traceable values from exact assertions
67
+ - Improved event-handling test isolation by passing only event references instead of full given/when/then context
68
+
69
+ - [`8c345a6`](https://github.com/BeOnAuto/auto-engineer/commit/8c345a6714859403b744a38e77ce2ae7fc98b040) Thanks [@rami-hatoum](https://github.com/rami-hatoum)! - - Created planning document for upcoming scaffold improvements to the Apollo/Emmett server generator
70
+
71
+ - [`68c5190`](https://github.com/BeOnAuto/auto-engineer/commit/68c51909845577118d6954f81bf99a7e0fe6e95c) Thanks [@rami-hatoum](https://github.com/rami-hatoum)! - - Marked G7 B1-B2 bursts as done in the ketchup plan for the Apollo Emmett server generator
72
+
73
+ - [`f683b15`](https://github.com/BeOnAuto/auto-engineer/commit/f683b151511703a944cdf58f559d0b5a9c962252) Thanks [@rami-hatoum](https://github.com/rami-hatoum)! - - Fixed incorrect test assertions for server-generated fields like exerciseId and workoutId by requiring explicit traceability to Given events
74
+ - Replaced confusing double-negative logic with clearer positive check for field value traceability
75
+ - Fields not directly traceable to a Given event now correctly use flexible matchers instead of exact values
76
+
77
+ - [`fa1828b`](https://github.com/BeOnAuto/auto-engineer/commit/fa1828bcb8904b688aa82031894b2fe2411a2ffe) Thanks [@rami-hatoum](https://github.com/rami-hatoum)! - - Updated internal tracking plan to mark scaffold improvement tasks as completed
78
+
79
+ - [`443fba0`](https://github.com/BeOnAuto/auto-engineer/commit/443fba06a5d40793db5fdb6940d2c76833e76e62) Thanks [@rami-hatoum](https://github.com/rami-hatoum)! -
80
+
81
+ - [`6362d5a`](https://github.com/BeOnAuto/auto-engineer/commit/6362d5add4ffd7de88998c69fab92940d90ed134) Thanks [@rami-hatoum](https://github.com/rami-hatoum)! - - Marked G5 bursts B1-B9 as done in the ketchup plan for the Apollo Emmett server generator
82
+
83
+ - [`bf4c90b`](https://github.com/BeOnAuto/auto-engineer/commit/bf4c90b5ae7b50cc2b67961f9c4597ae639f18c7) Thanks [@rami-hatoum](https://github.com/rami-hatoum)! - - Fixed assertion fields being silently dropped from test expectations when field names matched query parameter names
84
+ - Fixed partial object detection to correctly compare against the state type's actual fields instead of query arguments
85
+
86
+ - [`7a92d0c`](https://github.com/BeOnAuto/auto-engineer/commit/7a92d0c29c721b9ffb9c80650ae940ec7682b6bb) Thanks [@rami-hatoum](https://github.com/rami-hatoum)! - - Created plan for fixing non-event-traceable field handling in the Apollo Emmett server generator
87
+
88
+ - [`1eb427c`](https://github.com/BeOnAuto/auto-engineer/commit/1eb427c778a9751666b36092ed9c2428180762e1) Thanks [@rami-hatoum](https://github.com/rami-hatoum)! -
89
+
90
+ - Updated dependencies [[`40745af`](https://github.com/BeOnAuto/auto-engineer/commit/40745af362feaf79b8d0db4bddb16c4dcbafc788), [`3c3e87c`](https://github.com/BeOnAuto/auto-engineer/commit/3c3e87ceb346fb0ebcefe91eba4a0ba79ee9e47c), [`b11b24c`](https://github.com/BeOnAuto/auto-engineer/commit/b11b24c510887bca461601c75204460afc7653a1), [`1cb9ffa`](https://github.com/BeOnAuto/auto-engineer/commit/1cb9ffa40e6b9fbe66dd934b8612e741a388e779), [`97fb3d6`](https://github.com/BeOnAuto/auto-engineer/commit/97fb3d601b42879c76ecc9fdf20d77f54d6ad23b), [`0bac84b`](https://github.com/BeOnAuto/auto-engineer/commit/0bac84b6f9e1454a8595d2592ed572a4a0209feb), [`0f9054e`](https://github.com/BeOnAuto/auto-engineer/commit/0f9054e143e60053e71e627a962195f3e0b3bbfa), [`8c345a6`](https://github.com/BeOnAuto/auto-engineer/commit/8c345a6714859403b744a38e77ce2ae7fc98b040), [`3142d48`](https://github.com/BeOnAuto/auto-engineer/commit/3142d48092067070063475c800f79fdb4298d8ea), [`5622978`](https://github.com/BeOnAuto/auto-engineer/commit/56229789549b2e4ed5b388d844c4a763b9751bc9), [`68c5190`](https://github.com/BeOnAuto/auto-engineer/commit/68c51909845577118d6954f81bf99a7e0fe6e95c), [`f683b15`](https://github.com/BeOnAuto/auto-engineer/commit/f683b151511703a944cdf58f559d0b5a9c962252), [`fa1828b`](https://github.com/BeOnAuto/auto-engineer/commit/fa1828bcb8904b688aa82031894b2fe2411a2ffe), [`443fba0`](https://github.com/BeOnAuto/auto-engineer/commit/443fba06a5d40793db5fdb6940d2c76833e76e62), [`98bd3b6`](https://github.com/BeOnAuto/auto-engineer/commit/98bd3b64f897251a37cc0ddf85855e9e3de5dd92), [`1f0145a`](https://github.com/BeOnAuto/auto-engineer/commit/1f0145a5df1b99a2462617ea6c0723efefa8b9ce), [`5b804be`](https://github.com/BeOnAuto/auto-engineer/commit/5b804be32448ed351eb31c269cdd19a181bec66c), [`b0fde2b`](https://github.com/BeOnAuto/auto-engineer/commit/b0fde2bfc62040c12841c409764083876c1a9668), [`6362d5a`](https://github.com/BeOnAuto/auto-engineer/commit/6362d5add4ffd7de88998c69fab92940d90ed134), [`97e4219`](https://github.com/BeOnAuto/auto-engineer/commit/97e4219a8490ee3fc9619b3ca40a5dfc4eaa6e16), [`a025f64`](https://github.com/BeOnAuto/auto-engineer/commit/a025f642eea30be12414dd756e7b9e35a88eeac4), [`bf4c90b`](https://github.com/BeOnAuto/auto-engineer/commit/bf4c90b5ae7b50cc2b67961f9c4597ae639f18c7), [`7a92d0c`](https://github.com/BeOnAuto/auto-engineer/commit/7a92d0c29c721b9ffb9c80650ae940ec7682b6bb), [`1eb427c`](https://github.com/BeOnAuto/auto-engineer/commit/1eb427c778a9751666b36092ed9c2428180762e1), [`1afe038`](https://github.com/BeOnAuto/auto-engineer/commit/1afe0387635d0fee002caf0810fe96534a64e661)]:
91
+ - @auto-engineer/file-store@1.152.0
92
+ - @auto-engineer/narrative@1.152.0
93
+ - @auto-engineer/pipeline@1.152.0
94
+
3
95
  ## 1.150.0
4
96
 
5
97
  ### Minor Changes
package/package.json CHANGED
@@ -44,9 +44,9 @@
44
44
  "ora": "^8.0.1",
45
45
  "react": "^18.3.1",
46
46
  "socket.io": "^4.7.5",
47
- "@auto-engineer/file-store": "1.150.0",
48
- "@auto-engineer/narrative": "1.150.0",
49
- "@auto-engineer/pipeline": "1.150.0"
47
+ "@auto-engineer/file-store": "1.153.0",
48
+ "@auto-engineer/narrative": "1.153.0",
49
+ "@auto-engineer/pipeline": "1.153.0"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@types/node": "^22.0.0",
@@ -54,7 +54,7 @@
54
54
  "ink-testing-library": "^4.0.0",
55
55
  "socket.io-client": "^4.8.3"
56
56
  },
57
- "version": "1.150.0",
57
+ "version": "1.153.0",
58
58
  "scripts": {
59
59
  "build": "tsc && tsx ../../scripts/fix-esm-imports.ts && chmod +x dist/bin/auto.js",
60
60
  "test": "vitest run --reporter=dot",