Changes from 0.1.x to 0.2.2 #181
ochafik
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all! We've just pushed @modelcontextprotocol/ext-apps versions 0.2.0, 0.2.1 and 0.2.2 in quick succession, so here's what's changed since 0.1.x
Warning
The
registerAppToolhelper makes sure defining_meta.ui.resourceUriis backward-compatible w/ clients expecting"ui/resourceUri"Highlights
registerAppTool()andregisterAppResource()simplify server setup with proper type safety.connect()now defaults toPostMessageTransport(window.parent), enabling simpler initialization with justawait app.connect()#165Github warning:
visibilityarray field controls whether tools are visible to the agent, apps, or both. Restructured_metaformat from flat"ui/resourceUri"to nested_meta.ui.resourceUri#131styles.variables, enabling visual consistency with the host #127requestDisplayMode, with hosts able to accept or reject #152styles.css.fontsand apply them usingapplyHostFonts()oruseHostFonts()helpers #159API Changes
sendprefix:openLink()andteardownResource(). Deprecated aliases maintained #161z.object().passthrough()instead of v4-onlyz.looseObject()#178Platform & DX
cross-envfor examples. Just runnpm install#145@oven/bun-*version range — Lowered the minimum from^1.3.4to^1.2.21, helping contributors whose registries may not have the latest packages #176hostContextdirectly from theAppclass #139Bug Fixes
sandbox-readynotification name to match implementation #160server.registerToolfor tools without UI and fix missing imports across examples #173Full Changelog: v0.1.1...v0.2.2
Beta Was this translation helpful? Give feedback.
All reactions