@auto-engineer/dev-server 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 +90 -0
  2. package/package.json +4 -4
package/CHANGELOG.md CHANGED
@@ -1,5 +1,95 @@
1
1
  # @auto-engineer/dev-server
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/cli@1.153.0
17
+ - @auto-engineer/message-bus@1.153.0
18
+
19
+ ## 1.152.0
20
+
21
+ ### Minor Changes
22
+
23
+ - [`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
24
+ - Falls back to the previous field-based naming approach when no stream pattern exists, maintaining backward compatibility
25
+
26
+ - [`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
27
+ - Falls back to existing state-type and linking field convention when no stream pattern is available
28
+
29
+ - [`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
30
+
31
+ - [`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
32
+
33
+ - [`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
34
+
35
+ - [`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
36
+ - Improved scaffold instructions for non-command fields by classifying them as date-derived, state-derived, or not asserted by tests
37
+
38
+ - [`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
39
+
40
+ - [`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
41
+
42
+ - [`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
43
+
44
+ - [`5b804be`](https://github.com/BeOnAuto/auto-engineer/commit/5b804be32448ed351eb31c269cdd19a181bec66c) Thanks [@rami-hatoum](https://github.com/rami-hatoum)! -
45
+
46
+ - [`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
47
+ - Invalid mapping targets now surface as field issues instead of being silently skipped
48
+ - Errors flow through the existing issue reporting pipeline automatically
49
+
50
+ - [`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
51
+ - Added test coverage verifying deterministic stream pattern resolution in react handlers
52
+
53
+ - [`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
54
+
55
+ - [`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
56
+ - **react-gen**: add dialog route support via scene.kind
57
+ - **react-gen**: inject layout constraints from design.ui specs into scene prompts
58
+ - **react-gen**: add spec-to-constraint converter using @json-render/codegen
59
+ - **react-gen**: add json-render spec deduplication utility
60
+
61
+ ### Patch Changes
62
+
63
+ - [`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
64
+
65
+ - [`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
66
+ - Improved event-handling test isolation by passing only event references instead of full given/when/then context
67
+
68
+ - [`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
69
+
70
+ - [`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
71
+
72
+ - [`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
73
+ - Replaced confusing double-negative logic with clearer positive check for field value traceability
74
+ - Fields not directly traceable to a Given event now correctly use flexible matchers instead of exact values
75
+
76
+ - [`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
77
+
78
+ - [`443fba0`](https://github.com/BeOnAuto/auto-engineer/commit/443fba06a5d40793db5fdb6940d2c76833e76e62) Thanks [@rami-hatoum](https://github.com/rami-hatoum)! -
79
+
80
+ - [`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
81
+
82
+ - [`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
83
+ - Fixed partial object detection to correctly compare against the state type's actual fields instead of query arguments
84
+
85
+ - [`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
86
+
87
+ - [`1eb427c`](https://github.com/BeOnAuto/auto-engineer/commit/1eb427c778a9751666b36092ed9c2428180762e1) Thanks [@rami-hatoum](https://github.com/rami-hatoum)! -
88
+
89
+ - 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)]:
90
+ - @auto-engineer/cli@1.152.0
91
+ - @auto-engineer/message-bus@1.152.0
92
+
3
93
  ## 1.150.0
4
94
 
5
95
  ### Minor Changes
package/package.json CHANGED
@@ -18,16 +18,16 @@
18
18
  "chokidar": "^3.6.0",
19
19
  "debug": "^4.4.1",
20
20
  "execa": "^9.5.2",
21
- "@auto-engineer/cli": "1.150.0",
22
- "@auto-engineer/message-bus": "1.150.0"
21
+ "@auto-engineer/cli": "1.153.0",
22
+ "@auto-engineer/message-bus": "1.153.0"
23
23
  },
24
24
  "publishConfig": {
25
25
  "access": "public"
26
26
  },
27
27
  "devDependencies": {
28
- "@auto-engineer/cli": "1.150.0"
28
+ "@auto-engineer/cli": "1.153.0"
29
29
  },
30
- "version": "1.150.0",
30
+ "version": "1.153.0",
31
31
  "scripts": {
32
32
  "build": "tsc && tsx ../../scripts/fix-esm-imports.ts",
33
33
  "test": "vitest run --reporter=dot",