0.4.0
Release 0.4.0
Features
- ui/update-model-context: New protocol method for guests to update their model context dynamically (#125)
- Enhanced sandbox capability negotiation: Improved CSP configuration with
frameDomains,baseUriDomains, and Permission Policy support (#158) - structuredContent with outputSchema: Example servers now use structured tool output (#220)
- Collapsible panels in basic-host: Improved host UI with collapsible sections and SDK types (#244)
- Dev mode with auto-restart:
npm startnow runs in dev mode with--watchfor auto-restart (#246)
New Examples
- transcript-server: Live speech transcription example (#240)
- map-server: CesiumJS Map App with 3D globe visualization (#235)
- shadertoy-server: WebGL shader rendering example (#226)
Fixes
- Proper CSP handling in basic-host sandboxing via HTTP headers (#234)
- Align CSP sample with resourceDomains spec (#233)
- Error handling for server startup failures (#236)
- Update qr-server SDK to 0.3.1 (#247)
Other
- Add
AGENTS.mdandCLAUDE.mdfor AI assistant guidance (#218) - Replace deprecated
RESOURCE_URI_META_KEYwith_meta.ui.resourceUri(#217) - Restore educational comments in basic-server examples (#228)
- Add missing
refresh-statstool to system-monitor-server (#227)
Full Changelog: v0.3.1...v0.4.0