Changes from 0.3.1 to 0.4.0 #255
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all! We've just released @modelcontextprotocol/ext-apps v0.4.0 with new protocol capabilities, improved security controls, and exciting new examples. Here's what's changed:
Key Highlights
ui/update-model-context(App.updateModelContext) — New protocol method enabling guests to dynamically update their model context. Apps can now provide real-time context updates to the host without a full refresh (feat: add ui/update-model-context #125)Enhanced sandbox capability negotiation — Hosts can now configure more granular security policies with
frameDomains,baseUriDomains, and Permission Policy options (e.g.,camera,microphone,geolocation) for tighter sandboxing control (feat: enhance sandbox capability negotiation #158)Structured tool output — Example servers now demonstrate
structuredContentwithoutputSchemafor improved data handling and type-safe responses. Results can also include_metafor host-only data not shared with the model (feat: use structuredContent with outputSchema in example servers #220)New Examples
shadertoy-serverexample for WebGL shader rendering #226)API & Protocol Changes
ui/update-model-contextmethod added to protocol for dynamic context updatessandboxcapabilities in host context with new domain configuration optionsPlatform & DX
npm startnow runs examples in dev mode with--watch, automatically restarting on changes (feat(examples): add --watch to bun serve commands for auto-restart, and havenpm starthit dev mode of all examples #246)AGENTS.mdandCLAUDE.mdfor AI assistant guidance (Add{AGENTS,CLAUDE}.mdfor AI assistant guidance #218)basic-server-*examples (Restore educational comments inbasic-server-*examples #228)safeAreaInsetsand type-checking invideo-resource-server(SupportsafeAreaInsets+ type-checking in video-resource-server #212)Bug Fixes
system-monitor-server(Add missingrefresh-statstool tosystem-monitor-server#227)resourceDomainsspec (fix: align CSP sample with resourceDomains spec #233)Full Changelog: v0.3.1...v0.4.0
Beta Was this translation helpful? Give feedback.
All reactions