@openai/agents-realtime
0.22.0 · 13 Nov 2026MIT2.5M / weekRepositoryHomepagenpmAtom feed
Upgrading @openai/agents-realtime From 0.13.0 to 0.22.0
20 releases in betweennotes for 7
Reading releases, release notes and advisories…
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.1 – 0.17.013 releases, no release note
23 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.