Skip to content

0.4.0

Choose a tag to compare

@ochafik ochafik released this 12 Jan 22:41
· 311 commits to main since this release
231f23f

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 start now runs in dev mode with --watch for 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.md and CLAUDE.md for AI assistant guidance (#218)
  • Replace deprecated RESOURCE_URI_META_KEY with _meta.ui.resourceUri (#217)
  • Restore educational comments in basic-server examples (#228)
  • Add missing refresh-stats tool to system-monitor-server (#227)

Full Changelog: v0.3.1...v0.4.0