@auto-engineer/server-generator-apollo-emmett 1.128.1 → 1.129.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 +58 -0
- package/dist/src/codegen/templates/command/handle.specs.ts +1 -1
- package/dist/src/codegen/templates/command/handle.ts.ejs +1 -1
- package/package.json +4 -4
- package/src/codegen/templates/command/handle.specs.ts +1 -1
- package/src/codegen/templates/command/handle.ts.ejs +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @auto-engineer/server-generator-apollo-emmett@1.
|
|
2
|
+
> @auto-engineer/server-generator-apollo-emmett@1.129.0 build /home/runner/work/auto-engineer/auto-engineer/packages/server-generator-apollo-emmett
|
|
3
3
|
> tsc && tsx ../../scripts/fix-esm-imports.ts && rm -rf dist/src/codegen/templates && mkdir -p dist/src/codegen && cp -r src/codegen/templates dist/src/codegen/templates && cp src/server.ts dist/src && cp -r src/utils dist/src && cp -r src/domain dist/src
|
|
4
4
|
|
|
5
5
|
Fixed ESM imports in dist/
|
package/.turbo/turbo-test.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @auto-engineer/server-generator-apollo-emmett@1.128.
|
|
2
|
+
> @auto-engineer/server-generator-apollo-emmett@1.128.2 test /home/runner/work/auto-engineer/auto-engineer/packages/server-generator-apollo-emmett
|
|
3
3
|
> vitest run --reporter=dot
|
|
4
4
|
|
|
5
5
|
|
|
@@ -9,6 +9,6 @@
|
|
|
9
9
|
|
|
10
10
|
[2m Test Files [22m [1m[32m34 passed[39m[22m[2m | [22m[33m1 skipped[39m[90m (35)[39m
|
|
11
11
|
[2m Tests [22m [1m[32m265 passed[39m[22m[2m | [22m[33m1 skipped[39m[90m (266)[39m
|
|
12
|
-
[2m Start at [22m
|
|
13
|
-
[2m Duration [22m
|
|
12
|
+
[2m Start at [22m 16:10:29
|
|
13
|
+
[2m Duration [22m 30.81s[2m (transform 6.62s, setup 0ms, collect 60.76s, tests 15.35s, environment 9ms, prepare 5.92s)[22m
|
|
14
14
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
|
|
2
|
-
> @auto-engineer/server-generator-apollo-emmett@1.128.
|
|
2
|
+
> @auto-engineer/server-generator-apollo-emmett@1.128.2 type-check /home/runner/work/auto-engineer/auto-engineer/packages/server-generator-apollo-emmett
|
|
3
3
|
> tsc --noEmit --project tsconfig.json
|
|
4
4
|
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,63 @@
|
|
|
1
1
|
# @auto-engineer/server-generator-apollo-emmett
|
|
2
2
|
|
|
3
|
+
## 1.129.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`7f7be75`](https://github.com/BeOnAuto/auto-engineer/commit/7f7be753a0ff7420af0c55668912cfafb42f336e) Thanks [@rami-hatoum](https://github.com/rami-hatoum)! - - **pipeline**: auto-derive item key extractors from handler fields
|
|
8
|
+
|
|
9
|
+
- [`e527bfd`](https://github.com/BeOnAuto/auto-engineer/commit/e527bfd3968fe59ece64c59daeb37d16d3cfca81) Thanks [@osamanar](https://github.com/osamanar)! - Based on the actual changes, here's the changelog:
|
|
10
|
+
- Added placeholder components with animated loading state shown in Storybook while components are being generated
|
|
11
|
+
- Added CLI script for generating individual components from a jobs file
|
|
12
|
+
- Replaced generic model-based spec deltas with specific molecule component specs (milestone badge, points preview, stats summary, workout details, workout list)
|
|
13
|
+
- Removed unused input component specs (action button, command palette, data card, and others)
|
|
14
|
+
|
|
15
|
+
- [`bbbfa05`](https://github.com/BeOnAuto/auto-engineer/commit/bbbfa0599742b01c193e606595499d8a6134bf78) Thanks [@osamanar](https://github.com/osamanar)! - Based on the actual diff, here's the changelog:
|
|
16
|
+
- Added pipeline logging with per-stage timing, token usage tracking, and a summary report for component generation runs
|
|
17
|
+
- Improved pipeline performance by running initial type checks and tests in parallel and skipping fix loops when checks already pass
|
|
18
|
+
- Enhanced fix loop agents with iteration tracking and smarter stage-level diagnostics
|
|
19
|
+
|
|
20
|
+
### Patch Changes
|
|
21
|
+
|
|
22
|
+
- [`3336cb7`](https://github.com/BeOnAuto/auto-engineer/commit/3336cb777143f074660e0ad86f60c9345c36c9b8) Thanks [@rami-hatoum](https://github.com/rami-hatoum)! - - **narrative**: add full round-trip tests for InferredType sentinel resolution
|
|
23
|
+
|
|
24
|
+
- [`33897af`](https://github.com/BeOnAuto/auto-engineer/commit/33897aff7eff17fd1782e296e75d80f43fb21d13) Thanks [@rami-hatoum](https://github.com/rami-hatoum)! - - **server-generator-apollo-emmett**: use node:crypto protocol in handle.ts.ejs template
|
|
25
|
+
|
|
26
|
+
- [`2d77738`](https://github.com/BeOnAuto/auto-engineer/commit/2d77738762a1ae5e85a9ad34dd21f18871c6adf3) Thanks [@rami-hatoum](https://github.com/rami-hatoum)! - - **narrative**: prevent InferredType sentinel leak when type resolution fails
|
|
27
|
+
|
|
28
|
+
- [`db71f00`](https://github.com/BeOnAuto/auto-engineer/commit/db71f00758c24a1a8b55600858b7568c823af4f9) Thanks [@rami-hatoum](https://github.com/rami-hatoum)! - - **narrative**: handle GraphQL ListType in getTypeName to preserve array semantics
|
|
29
|
+
|
|
30
|
+
- [`cf3f103`](https://github.com/BeOnAuto/auto-engineer/commit/cf3f1034892e9d14ea3b9aeb1fec7469e689fa62) Thanks [@rami-hatoum](https://github.com/rami-hatoum)! - - **pipeline**: use nodeStatus as fallback when no item key extractor exists
|
|
31
|
+
|
|
32
|
+
- [`d7fc4cb`](https://github.com/BeOnAuto/auto-engineer/commit/d7fc4cbc69aa2a938e9573c1fd39f371db795723) Thanks [@rami-hatoum](https://github.com/rami-hatoum)! - - **pipeline**: verify manual extractor takes precedence over auto-derived
|
|
33
|
+
|
|
34
|
+
- [`9b6c6a6`](https://github.com/BeOnAuto/auto-engineer/commit/9b6c6a602ca21403cdb17aa337b53c333fdb64ea) Thanks [@github-actions[bot]](https://github.com/github-actions%5Bbot%5D)! - - **global**: version packages
|
|
35
|
+
- **set-theme**: replace GenerateTheme with SetTheme command
|
|
36
|
+
|
|
37
|
+
- [`4d47384`](https://github.com/BeOnAuto/auto-engineer/commit/4d47384b78e31a030c6ba72bebd30fc4d1558655) Thanks [@rami-hatoum](https://github.com/rami-hatoum)! - - **narrative**: mark InferredType ketchup plan as complete
|
|
38
|
+
|
|
39
|
+
- [`f1ceba2`](https://github.com/BeOnAuto/auto-engineer/commit/f1ceba27dcbe380509c43a06d12d449f7abb0f9f) Thanks [@rami-hatoum](https://github.com/rami-hatoum)! - - **pipeline**: add ketchup plan for pipeline diagram retry status fix
|
|
40
|
+
|
|
41
|
+
- [`74b77e4`](https://github.com/BeOnAuto/auto-engineer/commit/74b77e42ae398394871ee6f509f0d3b58afac6e5) Thanks [@rami-hatoum](https://github.com/rami-hatoum)! - - **narrative**: prevent InferredType sentinel leak when type resolution fails
|
|
42
|
+
- **narrative**: strengthen round-trip test assertions with whole-object patterns
|
|
43
|
+
- **narrative**: mark InferredType ketchup plan as complete
|
|
44
|
+
|
|
45
|
+
- [`22b45c1`](https://github.com/BeOnAuto/auto-engineer/commit/22b45c109222fb7395ebcfad930a08214ce081df) Thanks [@rami-hatoum](https://github.com/rami-hatoum)! - - **narrative**: add ketchup plan for ListType handling + node:crypto fix
|
|
46
|
+
|
|
47
|
+
- Updated dependencies [[`3336cb7`](https://github.com/BeOnAuto/auto-engineer/commit/3336cb777143f074660e0ad86f60c9345c36c9b8), [`33897af`](https://github.com/BeOnAuto/auto-engineer/commit/33897aff7eff17fd1782e296e75d80f43fb21d13), [`7f7be75`](https://github.com/BeOnAuto/auto-engineer/commit/7f7be753a0ff7420af0c55668912cfafb42f336e), [`2d77738`](https://github.com/BeOnAuto/auto-engineer/commit/2d77738762a1ae5e85a9ad34dd21f18871c6adf3), [`db71f00`](https://github.com/BeOnAuto/auto-engineer/commit/db71f00758c24a1a8b55600858b7568c823af4f9), [`cf3f103`](https://github.com/BeOnAuto/auto-engineer/commit/cf3f1034892e9d14ea3b9aeb1fec7469e689fa62), [`d7fc4cb`](https://github.com/BeOnAuto/auto-engineer/commit/d7fc4cbc69aa2a938e9573c1fd39f371db795723), [`9b6c6a6`](https://github.com/BeOnAuto/auto-engineer/commit/9b6c6a602ca21403cdb17aa337b53c333fdb64ea), [`e527bfd`](https://github.com/BeOnAuto/auto-engineer/commit/e527bfd3968fe59ece64c59daeb37d16d3cfca81), [`bbbfa05`](https://github.com/BeOnAuto/auto-engineer/commit/bbbfa0599742b01c193e606595499d8a6134bf78), [`4d47384`](https://github.com/BeOnAuto/auto-engineer/commit/4d47384b78e31a030c6ba72bebd30fc4d1558655), [`f1ceba2`](https://github.com/BeOnAuto/auto-engineer/commit/f1ceba27dcbe380509c43a06d12d449f7abb0f9f), [`74b77e4`](https://github.com/BeOnAuto/auto-engineer/commit/74b77e42ae398394871ee6f509f0d3b58afac6e5), [`22b45c1`](https://github.com/BeOnAuto/auto-engineer/commit/22b45c109222fb7395ebcfad930a08214ce081df)]:
|
|
48
|
+
- @auto-engineer/message-bus@1.129.0
|
|
49
|
+
- @auto-engineer/narrative@1.129.0
|
|
50
|
+
|
|
51
|
+
## 1.128.2
|
|
52
|
+
|
|
53
|
+
### Patch Changes
|
|
54
|
+
|
|
55
|
+
- [`b1af764`](https://github.com/BeOnAuto/auto-engineer/commit/b1af764fd17c33716914902ce01d95b2923735e1) Thanks [@github-actions[bot]](https://github.com/github-actions%5Bbot%5D)! - - **typical**: return persist on settled success path to reset history between batches
|
|
56
|
+
- **global**: version packages
|
|
57
|
+
- Updated dependencies [[`b1af764`](https://github.com/BeOnAuto/auto-engineer/commit/b1af764fd17c33716914902ce01d95b2923735e1)]:
|
|
58
|
+
- @auto-engineer/message-bus@1.128.2
|
|
59
|
+
- @auto-engineer/narrative@1.128.2
|
|
60
|
+
|
|
3
61
|
## 1.128.1
|
|
4
62
|
|
|
5
63
|
### Patch Changes
|
|
@@ -557,7 +557,7 @@ describe('generateScaffoldFilePlans', () => {
|
|
|
557
557
|
const handleFile = plans.find((p) => p.outputPath.endsWith('handle.ts'));
|
|
558
558
|
|
|
559
559
|
expect(handleFile?.contents).toMatchInlineSnapshot(`
|
|
560
|
-
"import { randomUUID } from 'crypto';
|
|
560
|
+
"import { randomUUID } from 'node:crypto';
|
|
561
561
|
|
|
562
562
|
import { CommandHandler, type EventStore, type MessageHandlerResult } from '@event-driven-io/emmett';
|
|
563
563
|
import { evolve } from './evolve';
|
|
@@ -69,7 +69,7 @@ const uuidVars = needsStreamGuard ? streamVars.filter(v => !varInAnyCommand(v))
|
|
|
69
69
|
%>
|
|
70
70
|
|
|
71
71
|
<% if (uuidVars.length > 0) { -%>
|
|
72
|
-
import { randomUUID } from 'crypto';
|
|
72
|
+
import { randomUUID } from 'node:crypto';
|
|
73
73
|
<% } -%>
|
|
74
74
|
<% integrationSideEffectImports.forEach((importSource) => { %>
|
|
75
75
|
import '<%= importSource %>';
|
package/package.json
CHANGED
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
"uuid": "^13.0.0",
|
|
33
33
|
"web-streams-polyfill": "^4.1.0",
|
|
34
34
|
"zod": "^3.22.4",
|
|
35
|
-
"@auto-engineer/narrative": "1.
|
|
36
|
-
"@auto-engineer/message-bus": "1.
|
|
35
|
+
"@auto-engineer/narrative": "1.129.0",
|
|
36
|
+
"@auto-engineer/message-bus": "1.129.0"
|
|
37
37
|
},
|
|
38
38
|
"publishConfig": {
|
|
39
39
|
"access": "public"
|
|
@@ -44,9 +44,9 @@
|
|
|
44
44
|
"typescript": "^5.8.3",
|
|
45
45
|
"vitest": "^3.2.4",
|
|
46
46
|
"tsx": "^4.19.2",
|
|
47
|
-
"@auto-engineer/cli": "1.
|
|
47
|
+
"@auto-engineer/cli": "1.129.0"
|
|
48
48
|
},
|
|
49
|
-
"version": "1.
|
|
49
|
+
"version": "1.129.0",
|
|
50
50
|
"scripts": {
|
|
51
51
|
"generate:server": "tsx src/cli/index.ts",
|
|
52
52
|
"build": "tsc && tsx ../../scripts/fix-esm-imports.ts && rm -rf dist/src/codegen/templates && mkdir -p dist/src/codegen && cp -r src/codegen/templates dist/src/codegen/templates && cp src/server.ts dist/src && cp -r src/utils dist/src && cp -r src/domain dist/src",
|
|
@@ -557,7 +557,7 @@ describe('generateScaffoldFilePlans', () => {
|
|
|
557
557
|
const handleFile = plans.find((p) => p.outputPath.endsWith('handle.ts'));
|
|
558
558
|
|
|
559
559
|
expect(handleFile?.contents).toMatchInlineSnapshot(`
|
|
560
|
-
"import { randomUUID } from 'crypto';
|
|
560
|
+
"import { randomUUID } from 'node:crypto';
|
|
561
561
|
|
|
562
562
|
import { CommandHandler, type EventStore, type MessageHandlerResult } from '@event-driven-io/emmett';
|
|
563
563
|
import { evolve } from './evolve';
|
|
@@ -69,7 +69,7 @@ const uuidVars = needsStreamGuard ? streamVars.filter(v => !varInAnyCommand(v))
|
|
|
69
69
|
%>
|
|
70
70
|
|
|
71
71
|
<% if (uuidVars.length > 0) { -%>
|
|
72
|
-
import { randomUUID } from 'crypto';
|
|
72
|
+
import { randomUUID } from 'node:crypto';
|
|
73
73
|
<% } -%>
|
|
74
74
|
<% integrationSideEffectImports.forEach((importSource) => { %>
|
|
75
75
|
import '<%= importSource %>';
|