@openai/agents-realtime
0.22.0 · 13 Nov 2026MIT2.5M / weekRepositoryHomepagenpmAtom feed
Upgrading @openai/agents-realtime From 0.0.2 to 0.22.0
105 releases in betweennotes for 78
Reading releases, release notes and advisories…
- 2+
- changes to make
- 0
- advisories fixed
- 79+
- new
- 225+
- fixes
Counted from 78 of 105 release notes. Advisories are counted from the advisory database, in full.
Before you upgrade
Tick each one off as you go- Breaking0.4.0
- Deprecated0.4.2
Security
- 0.3.5
security: Patch CVE-2025-66478 Next.js RCE vulnerability
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
21 other lines we could not sort, mostly version bumps
- 0.4.7
Hosted shell: developers.openai.com/api/docs/guides/tools-she…
- 0.4.7
Skills API: developers.openai.com/api/docs/guides/tools-ski…
- 0.4.7
Skills Cookbook: developers.openai.com/cookbook/examples/skills_…
- 0.4.1
Update all translated document pages
- 0.4.1
Update translated document pages
- 0.3.8
Improve guardrail tripwire logic in examples
- 0.3.7
Update documents for new responses.compact session
- 0.3.7
Adjust sessions docs and upgrade dev/docs dependencies
- 0.3.6
Upgrade GitHub Actions to latest versions
- 0.3.6
Upgrade GitHub Actions for Node 24 compatibility
263 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.