@openai/agents-openai@0.22.0
Release 0.22.0 of @openai/agents-openai fixes compilation issues, handles namespaced model IDs, updates dependency compatibility (including Zod 4.6.6), and exposes tool definitions on generation spans when sensitive data capture is enabled.
Why this signal matters
@openai/agents-openai@0.22.0 brings multiple patch fixes and feature additions alongside an update to @openai/agents-core@0.22.0. Notable features include exposing Chat Completions tool definitions on generation spans for custom tracing processors when sensitive data capture is enabled. Fixes include deferring automatic Responses compaction during pending tool approvals, accepting namespaced OpenAI model IDs, resolving compilation errors caused by duplicate endpoint helper imports, enforcing stream completion checks, and batching conversation appends under 20-item limits. Type-level breaking changes require narrowing bounded JSON usage details, Realtime image content, nullable MCP descriptions, and schemas.
Actionable summary
@openai/agents-openai updated to 0.22.0, aligning behavior with the Python SDK. Key updates include exposing tool definitions on generation spans under sensitive data capture, deferring compaction during pending tool approvals, defaulting reasoning effort to 'none' for specific models, and breaking type updates around bounded JSON usage and wire types.
- Agent usefulness
- 77/100
- Confidence
- 96%
- Canonical data
- JSON + Markdown
What builders should check
- Review TypeScript code for breaking type changes involving JSON usage details, Realtime image content, nullable MCP descriptions, and tracing metadata.
- Verify compatibility if relying on Zod, updated to version 4.6.6.
- Update dependency @openai/agents-openai and @openai/agents-core to 0.22.0.