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
accessTokenalongside the traditionalapiKeyin theStitchProxyclient. - Typed Introspection API: Introduced
toolMap, allowing for deep, type-safe introspection of registered Stitch MCP tools. - High-Resolution Screenshots: Added the
buildFifeSuffixutility 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 ofoutputComponents, replacing the fragile hardcoded array index strategy. - Defensive Guardrails: Added defensive null checks to generated projection paths and classified
AUTH_FAILEDerrors inparseToolResponse. - 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
apiKeyingetOrCreateClient. - 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-ftpto v5.2.0. - Exported
StitchProxyConfigSchemafor enhanced downstream configuration validation. - Streamlined the internal
.fleetgoals structure.
💡 Installing / Updating
npm install @google/stitch-sdk@0.1.1