@openai/agents-realtime
0.22.0 · 13 Nov 2026MIT2.5M / weekRepositoryHomepagenpmAtom feed
Upgrading @openai/agents-realtime From 0.0.9 to 0.22.0
98 releases in betweennotes for 29
Reading releases, release notes and advisories…
- 1+
- change to make
- 0
- advisories fixed
- 29+
- new
- 126+
- fixes
Counted from 29 of 98 release notes. Advisories are counted from the advisory database, in full.
Before you upgrade
Tick each one off as you go- Breaking0.4.0
Release by release
- Fixed
Preserve bounded JSON usage metadata and reuse OpenAI wire types; breaking types require narrowing usage details, Realtime image content, nullable MCP descriptions, unknown schemas/tracing metadata, and optional transcription breakdowns; saved states retain schema 1.23 when compatible and use 1.24 for richer metadata or newer nested runs.
- Fixed
Refresh compatible SDK, toolchain, and example dependencies
- Fixed
realtime: Cancel active WebSocket responses on manual interrupt before audio starts.
- Fixed
Update Zod to 4.6.6 while preserving saved guardrail checkpoints with omitted metadata.
- Fixed
- Fixed
Refresh WebSocket dependencies and development tooling.
- Fixed
Reject WebRTC connections when the server reports an error before the initial session configuration is acknowledged (#466).
- Fixed
Preserve Twilio audio format defaults when session audio configuration is omitted (#2072).
- Fixed
Update the Realtime browser bundler to Vite 8.
- Fixed
- Fixed
Preserve audio interruption after generation with transport-appropriate buffer clearing and response-specific playback duration.
- Fixed
- Fixed
Bind conditional tool approvals to isolated normalized execution input in core and Realtime, re-evaluate current policies on durable approval resumes, reject uncopyable normalized values before conditional approval, and preserve invalid-input handling (#1914, #1915).
- Fixed
Redact default function-tool and Realtime approval parse failures; require explicit invocation policy for sensitive error traces and clarify when custom errorFunction feedback applies.
- Fixed
Prevent stack overflow when encoding large Realtime audio buffers.
- Fixed
Release waiting tasks after automatic realtime response requests are satisfied by coalescing.
- Fixed
- New
Support the image generation tool action option
- Fixed
core: Avoid redundant final computer screenshots
- Fixed
core: Recover deferred tools during response continuation
- Fixed
sandbox: Harden UnixLocal file I/O and route Docker file APIs through containers
- Fixed
sandbox: Preserve sandbox workdirs for shell command lists
- Fixed
realtime: Preserve agent_end response ownership
- New
- Fixed
Preserve model settings for GPT-5 and newer models
- Fixed
- New
Add server-wide MCP tool guardrails
- New
Allow custom output guardrail blocked messages
- New
sandbox: Allow labels on Docker sandbox containers
- New
Support image results in web search tools
- New
0.13.3 – 0.17.011 releases, no release note
8 other lines we could not sort, mostly version bumps
- 0.4.0
Update all translated document pages
- 0.3.0
Memory feature using sessions store - see the document page and examples for details
- 0.3.0
SIP protocol support in realtime agent runner - see the document page and the Twilio SIP example app for details
- 0.3.0
Upgrade Astro version for serving document site
- 0.2.0
Tool outputs can include image/file in OpenAI's standard format (see the examples in the PR description)
- 0.2.0
#609 This SDK now supports both zod 4 and zod 3 - 0.2.0
Upgrade pnpm to the latest version
- 0.2.0
Upgrade dependencies for dev, docs, and examples
106 internal lines (docs, tests, tooling) left out.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.