Skip to content

Releases: google-labs-code/stitch-sdk

v0.1.1

27 Apr 19:04
d7a82fb

Choose a tag to compare

Release Notes: v0.1.1

We are thrilled to announce the release of @google/stitch-sdk v0.1.1! This milestone update brings robust Application Development Kit (ADK) TypeScript support, advanced Design System tools, enhanced authentication flexibility, and major stability improvements to our screen generation pipeline.

🚀 Features

  • ADK TypeScript Support: Native TypeScript support has been added for the Application Development Kit (@google/stitch-sdk/adk).
  • Design System Tools: Introduced specialized tools to generate and consume consistent visual token systems across UI screens.
  • Dual Authentication: You can now authenticate using an accessToken alongside the traditional apiKey in the StitchProxy client.
  • Typed Introspection API: Introduced toolMap, allowing for deep, type-safe introspection of registered Stitch MCP tools.
  • High-Resolution Screenshots: Added the buildFifeSuffix utility to seamlessly generate high-res screenshot URLs from visual screen components.
  • Containerized Proxy: Added an example deployment package for containerizing the Stitch MCP Proxy.

🛠 Bug Fixes & Pipeline Resilience

  • Scan-Based Projections: Hardened the Project.generate() pipeline by switching to a dynamic scan of outputComponents, replacing the fragile hardcoded array index strategy.
  • Defensive Guardrails: Added defensive null checks to generated projection paths and classified AUTH_FAILED errors in parseToolResponse.
  • Connection Concurrency: Prevented race conditions by implementing a promise-based lock on concurrent .connect() operations.
  • Dynamic API Keys: Fixed a critical caching bug where the client was not invalidated when switching apiKey in getOrCreateClient.
  • Package Hygiene: Stripped test artifacts (tsconfig.tsbuildinfo) from the final NPM tarball, reducing the unpacked bundle size down to 283 KB.

📦 Dependencies & Maintenance

  • Resolved critical vulnerability by overriding basic-ftp to v5.2.0.
  • Exported StitchProxyConfigSchema for enhanced downstream configuration validation.
  • Streamlined the internal .fleet goals structure.

💡 Installing / Updating

npm install @google/stitch-sdk@0.1.1

v0.0.3

12 Mar 22:42

Choose a tag to compare

What's Changed

  • Fix generate-variants example — Corrected numVariantsvariantCount to match the API's VariantOptions schema
  • Add example contract tests — New examples.test.ts statically verifies example files use correct API field names

Install

npm install @google/stitch-sdk

Full Changelog

v0.0.2...v0.0.3

v0.0.2

12 Mar 21:39
a7aa2ef

Choose a tag to compare

What's New

  • stitch.createProject(title?) — Create projects directly from the domain layer
  • Build-time version injection — SDK version sourced from package.json at build time
  • Publish readiness fixes — Removed stale dist/package.json hazard, excluded integration tests from default vitest run

Install

npm install @google/stitch-sdk

Quick Start

import { stitch } from '@google/stitch-sdk';

const project = await stitch.createProject('My Dashboard');
const screen = await project.generate('A settings page');
const html = await screen.getHtml();

v0.0.1 — Initial Release

10 Mar 19:29
61154c9

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: https://github.com/google-labs-code/stitch-sdk/commits/v0.0.1