Skip to content

Stitchfy v2.2.1

Latest

Choose a tag to compare

@felipecardozo felipecardozo released this 15 Sep 04:05
7cac38b

Bug-fix release for the Google Stitch MCP generator (build:site:stitch). No breaking changes.

Fixed

  • Google changed the generate_screen_from_text modelId enum and the get_screen argument contract, breaking every page generation. StitchClient now validates the model against the live schema at startup and falls back to a known-good model instead of failing.
  • Application-level Stitch API errors were silently swallowed and surfaced later as a confusing, unrelated failure.
  • Inline HTML returned by generate_screen_from_text was being discarded, forcing a redundant fetch that could stall indefinitely for a page that had actually already generated successfully. Stalled fetches now retry generation (up to 3 attempts, with backoff).
  • UX Agent: industry detection missed common phrasings (e.g. "Primary Care / Family Medicine"), and pages without an exact template match silently duplicated the homepage's content instead of getting relevant content.

Verified against the live Stitch API end-to-end on both example blueprints (beauty salon, medical center) — 6/6 pages generated cleanly on each.

Full details: CHANGELOG.md.