Skip to content

Releases: BeOnAuto/auto-engineer

v1.157.0

27 Mar 21:01

Choose a tag to compare

Minor Changes

  • fc70509 Thanks @osamanar! - - Rewrote the React generation pipeline to use deterministic compile steps, ensuring consistent and reproducible output

  • ff43cd0 Thanks @osamanar! - - Added autoresearch loop that iteratively evaluates and improves generated UI quality through automated screenshot analysis and prompt refinement

  • 50b79b9 Thanks @github-actions[bot]! - - server-generator-apollo-emmett: state.ts sibling field hints + state-ref fix

    • server-generator-apollo-emmett: decide.ts uses allStreamEvents for given-resolution
    • server-generator-apollo-emmett: decide.specs.ts uses allStreamEvents for given-resolution
    • server-generator-apollo-emmett: wire allStreamEvents into template data + evolve.ts
    • server-generator-apollo-emmett: add findSiblingEventsForStream() utility
  • f0c7b1a Thanks @osamanar! - - Added deterministic router compilation for React code generation

  • 6cfc855 Thanks @osamanar! - - Added shared compile types for the React generator

  • 6268d96 Thanks @osamanar! - - Added LLM-powered prompt improver to automatically refine and enhance prompts during the autoresearch loop

  • 24baac2 Thanks @osamanar! - - Added LLM-powered screenshot evaluator for automated visual quality scoring of generated React applications

  • a9261c2 Thanks @osamanar! - - Added json-render and zustand as runtime dependencies to the React starter template

  • 14ab924 Thanks @osamanar! - - Added end-to-end generation script that turns a text prompt into a complete React app

    • Added screenshot utility for capturing route-based snapshots of generated applications
  • 6106b0b Thanks @osamanar! - - Added Puppeteer dependency for browser automation in the react-gen package

    • Added new npm scripts for end-to-end testing and automated research workflows
  • 14ab924 Thanks @osamanar! - - Added end-to-end generation script that takes a text prompt and produces a complete React application

  • 442ccd5 Thanks @osamanar! - - Added compile-registry support for React generation

  • be830a4 Thanks @osamanar! - - Added deterministic theme compilation for consistent output across builds

Patch Changes

  • f832347 Thanks @osamanar! - - Split react-gen into two packages: react-gen (LLM-based generation) and react-gen-json-render (deterministic spec-driven pipeline)

    • Added new deterministic codegen pipeline with scaffold, GraphQL codegen, component compilation, and theme/router generation
    • Added autoresearch loop for iterative UI quality improvement in react-gen-json-render
    • Fixed generated client directories being tracked in git and updated gitignore
  • f54331c Thanks @osamanar! - - Suppressed deprecation warning for generateObject function

    • Removed unused findDevServerPort utility
  • 45e8614 Thanks @osamanar! - - Updated package lockfiles to include the new react-gen-json-render package dependency

  • fea53d1 Thanks @osamanar! - - Suppressed all biome lint errors to unblock CI, reducing error count from 25 to 0

    • Excluded starter template directory from biome checks due to incompatible CSS syntax
    • Added lint ignore annotations across multiple packages for pre-existing code patterns
  • 0a13bf4 Thanks @osamanar! - - Fixed all code linting errors across the codebase, including automatic fixes and removal of unused code

  • 625c7b1 Thanks @osamanar! - - Split react-gen-json-render into its own package with a deterministic spec-driven codegen pipeline

    • Reverted react-gen to its original LLM-based component generation approach
    • Added end-to-end CLI workflow from prompt to running app in react-gen-json-render
    • Added autoresearch loop for iterative UI quality improvement
  • acca578 Thanks @osamanar! - - Added design specification for end-to-end CLI pipeline and automated research loop

  • d4570ee Thanks @osamanar! - - Removed unused LLM agents and prompts from the React generator, reducing codebase complexity

  • ec75534 Thanks @osamanar! - - Fixed model property declaration in React component implementor to restore correct behavior

  • 4a1873a Thanks @osamanar! - - Fixed type errors in the React generation pipeline for more reliable code generation

  • dae9387 Thanks @osamanar! - - Fixed async tool calls in React component implementor to properly await lint, type check, and test operations

    • Fixed incorrect import references in pipeline agent
    • Added missing step files for component generation, test generation, and story generation

v1.156.0

27 Mar 15:49

Choose a tag to compare

Minor Changes

  • a6b41da Thanks @rami-hatoum! - - Fixed state reference detection to use all stream events, preventing sibling event names from being incorrectly identified as state references

    • Added field hints for sibling events in generated state types
  • 3dad664 Thanks @rami-hatoum! - - Added automatic detection of sibling events across shared streams for smarter event evolution

    • Wired all stream events into the evolve template with proper temporal ordering and deduplication
  • 14dab22 Thanks @rami-hatoum! - - State-ref Given steps with preceding siblings now generate Inspect state instructions instead of succeeding from initial state, improving event stream resolution accuracy

  • dbe3629 Thanks @rami-hatoum! - - Added sibling event resolution for shared streams in Given lookups

    • State-ref fallback now uses preceding sibling events with example data
  • 061af97 Thanks @rami-hatoum! - - Added utility to find events produced by sibling command moments that share the same stream pattern, enabling cross-command event awareness

  • d27048c Thanks @rami-hatoum! - - Added normalizeStreamPattern() utility that converts template variables to wildcards for flexible stream pattern matching

Patch Changes

  • 52b0795 Thanks @rami-hatoum! - - Added planning document for shared-stream sibling event awareness in the Apollo Emmett server generator

  • 83f9321 Thanks @rami-hatoum! - - Added named UUID constant generation in handle.ts, producing readable variables (e.g., const workoutId = randomUUID()) instead of inline calls

    • UUID variables from stream patterns are now available to all templates, not just the commands where they appear
    • Generated UUIDs are passed to the decide function via a structured context object for cleaner data flow
  • 28745a6 Thanks @github-actions[bot]! - - global: version packages

    • global: fix pnpm lock
  • d21b666 Thanks @rami-hatoum! - - Fixed package manager lock file to ensure consistent dependency resolution

  • d95fb26 Thanks @rami-hatoum! - - Accept an optional context parameter in decide functions for UUID coordination across command handling

    • Auto-assign UUID fields from context when a stream UUID is also an event field, falling back to randomUUID()
    • Clean up generated code comments by filtering auto-assigned fields from instruction hints

v1.155.0

26 Mar 19:53

Choose a tag to compare

Minor Changes

  • d9af280 Thanks @github-actions[bot]! - - packages/react-gen: improves react gen
    • react-gen: add moment agent with single-component generation
    • react-gen: add page agent with inspect_components tool for page composition
    • react-gen: add inspect_components tool using component-parser + ts-morph
    • react-gen: add deterministic index file generator for feature re-exports

Patch Changes

  • 5ce69d6 Thanks @osamanar! - - Fixed package manager lock file to ensure consistent dependency resolution

v1.154.0

26 Mar 19:37

Choose a tag to compare

Minor Changes

  • 4a276ef Thanks @osamanar! -

  • b9c9b8d Thanks @github-actions[bot]! - - narrative: remove ui from DesignSchema

    • global: version packages
  • 4ed7b8e Thanks @osamanar! - - Added moment agent for generating individual React components with scoped context and single-file output

    • Added page agent with component inspection tooling for composing pages from generated components
    • Refactored scene agent to orchestrate moment and page agents in parallel for faster generation
    • General improvements to the react-gen package
  • a974ae1 Thanks @osamanar! -

  • cd0fc60 Thanks @osamanar! -

  • 4da4bcf Thanks @osamanar! -

Patch Changes

  • 5ca3612 Thanks @osamanar! -

  • 30c17e6 Thanks @osamanar! - - Fixed lint errors in the Apollo Emmett server generator for cleaner, more maintainable code

  • 97e0ef3 Thanks @osamanar! - - Fixed schema file formatting by adding a trailing newline to schema.graphql output

v1.153.0

26 Mar 06:53

Choose a tag to compare

Minor Changes

  • 2476c2c Thanks @github-actions[bot]! - - narrative: emit .ui() in model-to-narrative transformer
    • narrative: add .ui() method to command/query/experience fluent builders
    • narrative: add UiBlockSchema to client block on command/query/experience moments
    • server-generator-apollo-emmett: exact model values in field completeness assertions
    • server-generator-apollo-emmett: report invalid mapping targets via FieldIssue pipeline

v1.152.0

26 Mar 06:05

Choose a tag to compare

Minor Changes

  • 40745af Thanks @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

    • Falls back to the previous field-based naming approach when no stream pattern exists, maintaining backward compatibility
  • 3c3e87c Thanks @rami-hatoum! - - Added stream pattern resolution for seed data in generated test specs, using example data when a target command has a stream pattern

    • Falls back to existing state-type and linking field convention when no stream pattern is available
  • b11b24c Thanks @rami-hatoum! - - Added field completeness assertions for non-command fields in generated server tests, ensuring all event fields are verified with proper type matchers

  • 1cb9ffa Thanks @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

  • 0bac84b Thanks @rami-hatoum! - - Added type assertion helper that maps TypeScript types to JavaScript constructor names for use in generated test specifications

  • 3142d48 Thanks @rami-hatoum! - - Added Given state ref hints to generated state files, so implementers see which discriminated union variants to create

    • Improved scaffold instructions for non-command fields by classifying them as date-derived, state-derived, or not asserted by tests
  • 5622978 Thanks @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

  • 98bd3b6 Thanks @rami-hatoum! - - Field completeness assertions now use exact model values for non-command fields instead of generic type matchers, providing stronger test verification

  • 1f0145a Thanks @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

  • 5b804be Thanks @rami-hatoum! -

  • b0fde2b Thanks @rami-hatoum! - - Added validation for query moment mappings that reference non-existent fields on the state type

    • Invalid mapping targets now surface as field issues instead of being silently skipped
    • Errors flow through the existing issue reporting pipeline automatically
  • 97e4219 Thanks @rami-hatoum! - - Added stream pattern support to aggregate stream detection, ensuring handlers use the correct destination-based stream name instead of fabricated ones

    • Added test coverage verifying deterministic stream pattern resolution in react handlers
  • a025f64 Thanks @rami-hatoum! - - Register command handlers now use deterministic stream name patterns from target commands, improving consistency with the react handler approach

  • 1afe038 Thanks @github-actions[bot]! - - react-gen: premium styling rules for layout-constrained pages

    • react-gen: add dialog route support via scene.kind
    • react-gen: inject layout constraints from design.ui specs into scene prompts
    • react-gen: add spec-to-constraint converter using @json-render/codegen
    • react-gen: add json-render spec deduplication utility

Patch Changes

  • 97fb3d6 Thanks @rami-hatoum! - - Created planning document for fixing state-Given handling in the Apollo Emmett server generator

  • 0f9054e Thanks @rami-hatoum! - - Fixed test accuracy for state-derived fields by excluding state-traceable values from exact assertions

    • Improved event-handling test isolation by passing only event references instead of full given/when/then context
  • 8c345a6 Thanks @rami-hatoum! - - Created planning document for upcoming scaffold improvements to the Apollo/Emmett server generator

  • 68c5190 Thanks @rami-hatoum! - - Marked G7 B1-B2 bursts as done in the ketchup plan for the Apollo Emmett server generator

  • f683b15 Thanks @rami-hatoum! - - Fixed incorrect test assertions for server-generated fields like exerciseId and workoutId by requiring explicit traceability to Given events

    • Replaced confusing double-negative logic with clearer positive check for field value traceability
    • Fields not directly traceable to a Given event now correctly use flexible matchers instead of exact values
  • fa1828b Thanks @rami-hatoum! - - Updated internal tracking plan to mark scaffold improvement tasks as completed

  • 443fba0 Thanks @rami-hatoum! -

  • 6362d5a Thanks @rami-hatoum! - - Marked G5 bursts B1-B9 as done in the ketchup plan for the Apollo Emmett server generator

  • bf4c90b Thanks @rami-hatoum! - - Fixed assertion fields being silently dropped from test expectations when field names matched query parameter names

    • Fixed partial object detection to correctly compare against the state type's actual fields instead of query arguments
  • 7a92d0c Thanks @rami-hatoum! - - Created plan for fixing non-event-traceable field handling in the Apollo Emmett server generator

  • 1eb427c Thanks @rami-hatoum! -

v1.150.0

25 Mar 12:23

Choose a tag to compare

Minor Changes

Patch Changes

v1.149.0

25 Mar 07:25

Choose a tag to compare

Minor Changes

  • e1eebbd Thanks @github-actions[bot]! - - server-generator-apollo-emmett: add Given state ref hints to state.ts.ejs
    • server-generator-apollo-emmett: context-aware nonCommandField instructions
    • server-generator-apollo-emmett: add state context instruction
    • server-generator-apollo-emmett: extract shared template helpers
    • server-generator-apollo-emmett: filter state refs from hasGivenEvents in decide.ts.ejs

Patch Changes

v1.148.0

23 Mar 21:38

Choose a tag to compare

Minor Changes

  • d5ba3a0 Thanks @rami-hatoum! - - Added state context instruction to generated decide handlers, preventing unnecessary narrowing when Given steps contain only state references

  • e0cdc4e Thanks @rami-hatoum! - - Added context-aware classification of non-command fields in generated decide.ts scaffolds, distinguishing between date-derived, state-derived, and not-yet-tested fields

  • 9195db7 Thanks @rami-hatoum! - - Extracted shared template helpers into a dedicated module for cleaner code generation

  • abb6540 Thanks @rami-hatoum! - - Added status variant hints from Given state references to the state template, helping implementers create matching discriminated union variants

  • 9195db7 Thanks @rami-hatoum! - - Extracted shared template helper functions into a dedicated module for better code reuse across generators

    • Simplified template specs by removing inline duplicate definitions in favor of the shared helpers

Patch Changes

  • 88fb1da Thanks @github-actions[bot]! - - server-generator-apollo-emmett: skip empty file plans in scaffold output

    • server-generator-apollo-emmett: filter state refs from given() in decide.specs.ts.ejs
    • server-generator-apollo-emmett: move CS Given states from events to states array
    • global: version packages
    • server-generator-apollo-emmett: mark G1+G2 ketchup plan complete
  • 4255f6d Thanks @rami-hatoum! - - Updated ketchup plan for state reference fix in decide template generator

    • Marked generator bug fix milestones G1 and G2 as complete
  • 62f1ea3 Thanks @rami-hatoum! - - Fixed scaffold generation to correctly distinguish between event and state references in decision handlers

    • Prevented contradictory instructions from appearing in generated code when Given clauses contain only state references
  • ba4f5c9 Thanks @rami-hatoum! - - Added implementation plan for decide.ts code generation fixes in the Apollo Emmett server generator

v1.147.0

23 Mar 19:15

Choose a tag to compare

Minor Changes

  • e2d4008 Thanks @github-actions[bot]! - - server-generator-apollo-emmett: generate aggregateStream pre-loading for cross-scene Givens
    • server-generator-apollo-emmett: compute crossSceneGivens in template data
    • react-gen: clean stale src/ subdirectories in scaffold step
    • server-generator-apollo-emmett: return single object for id-lookup query resolvers
    • server-generator-apollo-emmett: use narrative prefix in cross-scene import paths

Patch Changes

  • 6b87393 Thanks @rami-hatoum! - - Added planning documentation for fixing cross-stream Given states in the server generator

  • 0316cef Thanks @rami-hatoum! - - Added planning document for fixing generator bugs related to G1 and G2 scenarios

  • cde9ffa Thanks @rami-hatoum! - - Fixed empty files being generated in scaffold output for query/projection moments that have no local events

  • 53d65dd Thanks @rami-hatoum! - - Marked the G1+G2 ketchup plan as complete for the Apollo Emmett server generator

  • 1c99de6 Thanks @rami-hatoum! - - Fixed incorrect placement of Given-step state references (e.g. WorkoutDraft, UserProfile) that were being added to the events array instead of the states array

    • Eliminated phantom Event types appearing in generated events.ts files
    • Eliminated phantom case handlers appearing in generated evolve.ts files
  • f6cb5c2 Thanks @rami-hatoum! - - Fixed generated test files incorrectly using state references as events in the given() setup, ensuring only actual event references are included

  • 54b5163 Thanks @rami-hatoum! - - Reverted cross-stream aggregate pre-loading in generated command handlers

    • Command handlers now correctly operate on a single stream, aligning with Emmett's event sourcing model
    • Cross-aggregate data should be passed via command enrichment instead of pre-loading from other streams