feat(sdk): 0.4.0 non-breaking compatibility bridge, Generation proxy, and content accessors [4/5] - #372
Merged
Conversation
davideast
added this pull request to stack #374
September 24, 2026 13:58
davideast
force-pushed
the
release/0.4.0-pr4-bridge-api
branch
2 times, most recently
from
September 24, 2026 14:18
da6b01b to
bac228f
Compare
davideast
force-pushed
the
release/0.4.0-pr4-bridge-api
branch
2 times, most recently
from
September 24, 2026 14:24
1cc638b to
2c9db1c
Compare
davideast
force-pushed
the
release/0.4.0-pr4-bridge-api
branch
from
September 24, 2026 14:26
2c9db1c to
cbf29f8
Compare
davideast
force-pushed
the
release/0.4.0-pr4-bridge-api
branch
2 times, most recently
from
September 24, 2026 14:28
1431208 to
4dc95cd
Compare
… and content accessors
davideast
force-pushed
the
release/0.4.0-pr4-bridge-api
branch
from
September 24, 2026 14:36
4dc95cd to
5f840fc
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part 4 of 5 — Stitch SDK 0.4.0 Release Stack
(Stacked on #371)
Summary
Introduces the 0.4.0 feature surface with 100% backward compatibility for existing 0.3.x callers:
Generation<Screen>Bridge: Captures all generated screens across all output components while proxyingScreenproperties,[Symbol.hasInstance](instanceof Screen), and spread traps togeneration.first.readHtml()/readImage()(fetching string /Uint8Array) andgetHtmlUrl()/getImageUrl()while keeping@deprecatedgetHtml()/getImage()returning signed URLs.new Project()/new Screen()constructors, re-exportstoolDefinitions/toolMapfrom root with@deprecated, and regeneratespackages/sdk/generated/*against the live 15-tool MCP manifest.packages/sdk/test/fixtures/responses/*) andbridge-0.4.0-premortem.test.ts.