@auto-engineer/model-factory 1.156.0 → 1.157.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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @auto-engineer/model-factory@1.156.0 build /home/runner/work/auto-engineer/auto-engineer/packages/model-factory
2
+ > @auto-engineer/model-factory@1.157.0 build /home/runner/work/auto-engineer/auto-engineer/packages/model-factory
3
3
  > tsc && tsx ../../scripts/fix-esm-imports.ts
4
4
 
5
5
  Fixed ESM imports in dist/
@@ -1,5 +1,5 @@
1
1
 
2
- > @auto-engineer/model-factory@1.155.0 test /home/runner/work/auto-engineer/auto-engineer/packages/model-factory
2
+ > @auto-engineer/model-factory@1.156.0 test /home/runner/work/auto-engineer/auto-engineer/packages/model-factory
3
3
  > vitest run --reporter=dot
4
4
 
5
5
 
@@ -9,6 +9,6 @@
9
9
 
10
10
   Test Files  1 passed (1)
11
11
   Tests  5 passed (5)
12
-  Start at  15:46:25
13
-  Duration  1.91s (transform 373ms, setup 0ms, collect 309ms, tests 153ms, environment 0ms, prepare 544ms)
12
+  Start at  20:57:07
13
+  Duration  1.71s (transform 372ms, setup 0ms, collect 351ms, tests 172ms, environment 0ms, prepare 517ms)
14
14
 
@@ -1,4 +1,4 @@
1
1
 
2
- > @auto-engineer/model-factory@1.155.0 type-check /home/runner/work/auto-engineer/auto-engineer/packages/model-factory
2
+ > @auto-engineer/model-factory@1.156.0 type-check /home/runner/work/auto-engineer/auto-engineer/packages/model-factory
3
3
  > tsc --noEmit
4
4
 
package/CHANGELOG.md CHANGED
@@ -1,5 +1,76 @@
1
1
  # @auto-engineer/model-factory
2
2
 
3
+ ## 1.157.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`fc70509`](https://github.com/BeOnAuto/auto-engineer/commit/fc7050994dd239b5c159301362af099a5558d33f) Thanks [@osamanar](https://github.com/osamanar)! - - Rewrote the React generation pipeline to use deterministic compile steps, ensuring consistent and reproducible output
8
+
9
+ - [`ff43cd0`](https://github.com/BeOnAuto/auto-engineer/commit/ff43cd0473f198fb55075df0d22839cfed982033) Thanks [@osamanar](https://github.com/osamanar)! - - Added autoresearch loop that iteratively evaluates and improves generated UI quality through automated screenshot analysis and prompt refinement
10
+
11
+ - [`50b79b9`](https://github.com/BeOnAuto/auto-engineer/commit/50b79b9e17c4535697c8b1ebce8e4b192239ead2) Thanks [@github-actions[bot]](https://github.com/github-actions%5Bbot%5D)! - - **server-generator-apollo-emmett**: state.ts sibling field hints + state-ref fix
12
+ - **server-generator-apollo-emmett**: decide.ts uses allStreamEvents for given-resolution
13
+ - **server-generator-apollo-emmett**: decide.specs.ts uses allStreamEvents for given-resolution
14
+ - **server-generator-apollo-emmett**: wire allStreamEvents into template data + evolve.ts
15
+ - **server-generator-apollo-emmett**: add findSiblingEventsForStream() utility
16
+
17
+ - [`f0c7b1a`](https://github.com/BeOnAuto/auto-engineer/commit/f0c7b1abd91ebb97f7c32f4c05d145ce37f240e5) Thanks [@osamanar](https://github.com/osamanar)! - - Added deterministic router compilation for React code generation
18
+
19
+ - [`6cfc855`](https://github.com/BeOnAuto/auto-engineer/commit/6cfc855f81aa870b29f62c4d976a7a984b2c475b) Thanks [@osamanar](https://github.com/osamanar)! - - Added shared compile types for the React generator
20
+
21
+ - [`6268d96`](https://github.com/BeOnAuto/auto-engineer/commit/6268d9670d40a2d20e94baa3512c3c1f3dbbcbae) Thanks [@osamanar](https://github.com/osamanar)! - - Added LLM-powered prompt improver to automatically refine and enhance prompts during the autoresearch loop
22
+
23
+ - [`24baac2`](https://github.com/BeOnAuto/auto-engineer/commit/24baac29431e8c58fef777c094ec22d1f060a7b7) Thanks [@osamanar](https://github.com/osamanar)! - - Added LLM-powered screenshot evaluator for automated visual quality scoring of generated React applications
24
+
25
+ - [`a9261c2`](https://github.com/BeOnAuto/auto-engineer/commit/a9261c243cb05ae3dd7c036c5f62d821cb944b47) Thanks [@osamanar](https://github.com/osamanar)! - - Added json-render and zustand as runtime dependencies to the React starter template
26
+
27
+ - [`14ab924`](https://github.com/BeOnAuto/auto-engineer/commit/14ab92401b725e73b631d7185bcc611e88e7333b) Thanks [@osamanar](https://github.com/osamanar)! - - Added end-to-end generation script that turns a text prompt into a complete React app
28
+ - Added screenshot utility for capturing route-based snapshots of generated applications
29
+
30
+ - [`6106b0b`](https://github.com/BeOnAuto/auto-engineer/commit/6106b0b4a5cf2cdd84b218389328635a77838d38) Thanks [@osamanar](https://github.com/osamanar)! - - Added Puppeteer dependency for browser automation in the react-gen package
31
+ - Added new npm scripts for end-to-end testing and automated research workflows
32
+
33
+ - [`14ab924`](https://github.com/BeOnAuto/auto-engineer/commit/14ab92401b725e73b631d7185bcc611e88e7333b) Thanks [@osamanar](https://github.com/osamanar)! - - Added end-to-end generation script that takes a text prompt and produces a complete React application
34
+
35
+ - [`442ccd5`](https://github.com/BeOnAuto/auto-engineer/commit/442ccd5561b20d95776507901f0c9ff24b7fbc29) Thanks [@osamanar](https://github.com/osamanar)! - - Added compile-registry support for React generation
36
+
37
+ - [`be830a4`](https://github.com/BeOnAuto/auto-engineer/commit/be830a4682a5b40e22d415c891aae99a6b1df5ce) Thanks [@osamanar](https://github.com/osamanar)! - - Added deterministic theme compilation for consistent output across builds
38
+
39
+ ### Patch Changes
40
+
41
+ - [`f832347`](https://github.com/BeOnAuto/auto-engineer/commit/f8323470195b87dea57bf7159af8b5d8b62468c6) Thanks [@osamanar](https://github.com/osamanar)! - - Split react-gen into two packages: react-gen (LLM-based generation) and react-gen-json-render (deterministic spec-driven pipeline)
42
+ - Added new deterministic codegen pipeline with scaffold, GraphQL codegen, component compilation, and theme/router generation
43
+ - Added autoresearch loop for iterative UI quality improvement in react-gen-json-render
44
+ - Fixed generated client directories being tracked in git and updated gitignore
45
+
46
+ - [`f54331c`](https://github.com/BeOnAuto/auto-engineer/commit/f54331c405d288dcf1f669ffff48bbe729244ddd) Thanks [@osamanar](https://github.com/osamanar)! - - Suppressed deprecation warning for generateObject function
47
+ - Removed unused findDevServerPort utility
48
+
49
+ - [`45e8614`](https://github.com/BeOnAuto/auto-engineer/commit/45e8614ca087267f36f1995fa7ef89ac78f7a60e) Thanks [@osamanar](https://github.com/osamanar)! - - Updated package lockfiles to include the new react-gen-json-render package dependency
50
+
51
+ - [`fea53d1`](https://github.com/BeOnAuto/auto-engineer/commit/fea53d106eaeef45474e085ebcee463016bcdfcd) Thanks [@osamanar](https://github.com/osamanar)! - - Suppressed all biome lint errors to unblock CI, reducing error count from 25 to 0
52
+ - Excluded starter template directory from biome checks due to incompatible CSS syntax
53
+ - Added lint ignore annotations across multiple packages for pre-existing code patterns
54
+
55
+ - [`0a13bf4`](https://github.com/BeOnAuto/auto-engineer/commit/0a13bf4fd594cc9cfdee96e0de6ca23d76b6a9f3) Thanks [@osamanar](https://github.com/osamanar)! - - Fixed all code linting errors across the codebase, including automatic fixes and removal of unused code
56
+
57
+ - [`625c7b1`](https://github.com/BeOnAuto/auto-engineer/commit/625c7b1b82f4c5690fb48896ee9186e62a72cd19) Thanks [@osamanar](https://github.com/osamanar)! - - Split react-gen-json-render into its own package with a deterministic spec-driven codegen pipeline
58
+ - Reverted react-gen to its original LLM-based component generation approach
59
+ - Added end-to-end CLI workflow from prompt to running app in react-gen-json-render
60
+ - Added autoresearch loop for iterative UI quality improvement
61
+
62
+ - [`acca578`](https://github.com/BeOnAuto/auto-engineer/commit/acca57816683bb2e991b4e9ca49488447f8487a7) Thanks [@osamanar](https://github.com/osamanar)! - - Added design specification for end-to-end CLI pipeline and automated research loop
63
+
64
+ - [`d4570ee`](https://github.com/BeOnAuto/auto-engineer/commit/d4570ee79be0044f729a6b8bab1edbc250c9a3c7) Thanks [@osamanar](https://github.com/osamanar)! - - Removed unused LLM agents and prompts from the React generator, reducing codebase complexity
65
+
66
+ - [`ec75534`](https://github.com/BeOnAuto/auto-engineer/commit/ec75534300ca5749dd901228752f64d19dacdfe5) Thanks [@osamanar](https://github.com/osamanar)! - - Fixed model property declaration in React component implementor to restore correct behavior
67
+
68
+ - [`4a1873a`](https://github.com/BeOnAuto/auto-engineer/commit/4a1873adecb1ebcc807168615bf9371cb8e86d7c) Thanks [@osamanar](https://github.com/osamanar)! - - Fixed type errors in the React generation pipeline for more reliable code generation
69
+
70
+ - [`dae9387`](https://github.com/BeOnAuto/auto-engineer/commit/dae9387b8819458c2ec7e8b26e7d704dd9fb58a3) Thanks [@osamanar](https://github.com/osamanar)! - - Fixed async tool calls in React component implementor to properly await lint, type check, and test operations
71
+ - Fixed incorrect import references in pipeline agent
72
+ - Added missing step files for component generation, test generation, and story generation
73
+
3
74
  ## 1.156.0
4
75
 
5
76
  ### Minor Changes
@@ -19,7 +19,7 @@ function setRequiredEnv(overrides) {
19
19
  process.env.CUSTOM_PROVIDER_NAME = 'litellm';
20
20
  process.env.CUSTOM_PROVIDER_BASE_URL = 'https://gateway.example.com/v1';
21
21
  process.env.CUSTOM_PROVIDER_API_KEY = 'sk-test';
22
- process.env.CUSTOM_PROVIDER_DEFAULT_MODEL = 'xai/grok-code-fast-1';
22
+ process.env.CUSTOM_PROVIDER_DEFAULT_MODEL = 'gemini/gemini-3.1-pro-preview';
23
23
  if (overrides) {
24
24
  for (const [key, value] of Object.entries(overrides)) {
25
25
  if (value === undefined) {
@@ -38,7 +38,7 @@ describe('createModelFromEnv', () => {
38
38
  const model = createModelFromEnv();
39
39
  expect(model).toEqual({
40
40
  specificationVersion: 'v3',
41
- modelId: 'xai/grok-code-fast-1',
41
+ modelId: 'gemini/gemini-3.1-pro-preview',
42
42
  provider: 'litellm:https://gateway.example.com/v1:sk-test',
43
43
  });
44
44
  });
@@ -1 +1 @@
1
- {"version":3,"file":"index.specs.js","sourceRoot":"","sources":["../../src/index.specs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AAEzE,EAAE,CAAC,IAAI,CAAC,2BAA2B,EAA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