@auto-engineer/narrative 1.140.0 → 1.141.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/.turbo/turbo-build.log +1 -1
- package/.turbo/turbo-test.log +3 -3
- package/.turbo/turbo-type-check.log +1 -1
- package/CHANGELOG.md +34 -0
- package/README.md +8 -8
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +4 -4
package/.turbo/turbo-build.log
CHANGED
package/.turbo/turbo-test.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @auto-engineer/narrative@1.
|
|
2
|
+
> @auto-engineer/narrative@1.140.1 test /home/runner/work/auto-engineer/auto-engineer/packages/narrative
|
|
3
3
|
> vitest run --reporter=dot
|
|
4
4
|
|
|
5
5
|
|
|
@@ -9,6 +9,6 @@
|
|
|
9
9
|
|
|
10
10
|
[2m Test Files [22m [1m[32m22 passed[39m[22m[90m (22)[39m
|
|
11
11
|
[2m Tests [22m [1m[32m354 passed[39m[22m[90m (354)[39m
|
|
12
|
-
[2m Start at [22m
|
|
13
|
-
[2m Duration [22m
|
|
12
|
+
[2m Start at [22m 12:35:52
|
|
13
|
+
[2m Duration [22m 42.55s[2m (transform 8.38s, setup 0ms, collect 53.46s, tests 33.45s, environment 38ms, prepare 15.41s)[22m
|
|
14
14
|
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,39 @@
|
|
|
1
1
|
# @auto-engineer/flow
|
|
2
2
|
|
|
3
|
+
## 1.141.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`96eb7fa`](https://github.com/BeOnAuto/auto-engineer/commit/96eb7faedbb06ee72415ea68cb44c7851a71f4a3) Thanks [@osamanar](https://github.com/osamanar)! - - Added 10-iteration autoresearch loop that improves generated app visual quality from ~3.5/10 to ~8/10
|
|
8
|
+
- Improved prompt quality: realistic mock data in every component, denser page layouts, no duplicate nav bars, and richer landing pages with minimum 5 sections
|
|
9
|
+
- Fixed newline handling in generated files and graceful error recovery for GraphQL queries
|
|
10
|
+
- Added drag-and-drop support with @dnd-kit libraries
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- [`bd56512`](https://github.com/BeOnAuto/auto-engineer/commit/bd56512adeae8adc1b392c6619422fe8fdc49a49) Thanks [@osamanar](https://github.com/osamanar)! - - Updated package manager lock file to ensure consistent dependency resolution
|
|
15
|
+
|
|
16
|
+
- [`d39fefb`](https://github.com/BeOnAuto/auto-engineer/commit/d39fefbd47b403b1249184c2fa07a2f2f840eff2) Thanks [@github-actions[bot]](https://github.com/github-actions%5Bbot%5D)! - - **global**: version packages
|
|
17
|
+
- **global**: update design tokens and README for Scene/Moment rename
|
|
18
|
+
- Updated dependencies [[`bd56512`](https://github.com/BeOnAuto/auto-engineer/commit/bd56512adeae8adc1b392c6619422fe8fdc49a49), [`96eb7fa`](https://github.com/BeOnAuto/auto-engineer/commit/96eb7faedbb06ee72415ea68cb44c7851a71f4a3), [`d39fefb`](https://github.com/BeOnAuto/auto-engineer/commit/d39fefbd47b403b1249184c2fa07a2f2f840eff2)]:
|
|
19
|
+
- @auto-engineer/file-store@1.141.0
|
|
20
|
+
- @auto-engineer/id@1.141.0
|
|
21
|
+
- @auto-engineer/message-bus@1.141.0
|
|
22
|
+
|
|
23
|
+
## 1.140.1
|
|
24
|
+
|
|
25
|
+
### Patch Changes
|
|
26
|
+
|
|
27
|
+
- [`f0fed96`](https://github.com/BeOnAuto/auto-engineer/commit/f0fed96e8e43283d2c397f4d5223dc81160c1181) Thanks [@github-actions[bot]](https://github.com/github-actions%5Bbot%5D)! - - **global**: version packages
|
|
28
|
+
- **global**: rename Journey→Narrative, Narrative→Scene, Slice→Moment
|
|
29
|
+
|
|
30
|
+
- [`e0421d7`](https://github.com/BeOnAuto/auto-engineer/commit/e0421d7325b74bdc5fdf186e9d9106ce1670fb14) Thanks [@SamHatoum](https://github.com/SamHatoum)! - - Updated design tokens and documentation to reflect the Scene/Moment naming convention
|
|
31
|
+
|
|
32
|
+
- Updated dependencies [[`f0fed96`](https://github.com/BeOnAuto/auto-engineer/commit/f0fed96e8e43283d2c397f4d5223dc81160c1181), [`e0421d7`](https://github.com/BeOnAuto/auto-engineer/commit/e0421d7325b74bdc5fdf186e9d9106ce1670fb14)]:
|
|
33
|
+
- @auto-engineer/file-store@1.140.1
|
|
34
|
+
- @auto-engineer/id@1.140.1
|
|
35
|
+
- @auto-engineer/message-bus@1.140.1
|
|
36
|
+
|
|
3
37
|
## 1.140.0
|
|
4
38
|
|
|
5
39
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @auto-engineer/narrative
|
|
2
2
|
|
|
3
|
-
TypeScript DSL for defining business
|
|
3
|
+
TypeScript DSL for defining business scenes using BDD patterns with Given/When/Then syntax.
|
|
4
4
|
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -8,7 +8,7 @@ TypeScript DSL for defining business narratives using BDD patterns with Given/Wh
|
|
|
8
8
|
|
|
9
9
|
Without `@auto-engineer/narrative`, you would have to manually structure behavioral specifications, write boilerplate for command/query definitions, and handle the conversion between specification code and JSON models.
|
|
10
10
|
|
|
11
|
-
This package enables developers to express system behavior through
|
|
11
|
+
This package enables developers to express system behavior through scenes containing moments (commands, queries, reactions, experiences). Each moment supports client and server specifications using Gherkin-style Given/When/Then syntax.
|
|
12
12
|
|
|
13
13
|
---
|
|
14
14
|
|
|
@@ -44,7 +44,7 @@ flow('Orders', () => {
|
|
|
44
44
|
|
|
45
45
|
## How-to Guides
|
|
46
46
|
|
|
47
|
-
### Define a Command
|
|
47
|
+
### Define a Command Moment
|
|
48
48
|
|
|
49
49
|
```typescript
|
|
50
50
|
import { flow, command, specs, rule, example } from '@auto-engineer/narrative';
|
|
@@ -64,7 +64,7 @@ flow('Users', () => {
|
|
|
64
64
|
});
|
|
65
65
|
```
|
|
66
66
|
|
|
67
|
-
### Define a Query
|
|
67
|
+
### Define a Query Moment
|
|
68
68
|
|
|
69
69
|
```typescript
|
|
70
70
|
import { flow, query, describe, it, data, source } from '@auto-engineer/narrative';
|
|
@@ -98,7 +98,7 @@ flow('Payments', () => {
|
|
|
98
98
|
});
|
|
99
99
|
```
|
|
100
100
|
|
|
101
|
-
### Load
|
|
101
|
+
### Load Scenes from File System
|
|
102
102
|
|
|
103
103
|
```typescript
|
|
104
104
|
import { getNarratives } from '@auto-engineer/narrative';
|
|
@@ -138,7 +138,7 @@ import { COMMANDS, exportSchemaCommandHandler } from '@auto-engineer/narrative/n
|
|
|
138
138
|
| Main | `@auto-engineer/narrative` | Core DSL and types |
|
|
139
139
|
| Node | `@auto-engineer/narrative/node` | Command handlers |
|
|
140
140
|
|
|
141
|
-
###
|
|
141
|
+
### Moment Types
|
|
142
142
|
|
|
143
143
|
| Type | Description | Client | Server |
|
|
144
144
|
|------|-------------|--------|--------|
|
|
@@ -176,8 +176,8 @@ src/
|
|
|
176
176
|
|
|
177
177
|
### Key Concepts
|
|
178
178
|
|
|
179
|
-
- **
|
|
180
|
-
- **
|
|
179
|
+
- **Scenes**: Business capabilities containing moments
|
|
180
|
+
- **Moments**: Behavioral units (command, query, react, experience)
|
|
181
181
|
- **Specifications**: BDD-style Given/When/Then assertions
|
|
182
182
|
- **Data Flow**: Sinks (outbound) and Sources (inbound)
|
|
183
183
|
|