Repository navigation
Bug-fix release for the Google Stitch MCP generator (build:site:stitch). No breaking changes.
Fixed
- Google changed the
generate_screen_from_textmodelIdenum and theget_screenargument contract, breaking every page generation.StitchClientnow 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_textwas 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.