@openai/agents-core@0.20.0
OpenAI Agents SDK Core 0.20.0 introduces security updates for UnixLocal file operations, fixes turn counting on approval resumes, caps MCP tool discovery pagination, and refines computer and session handling.
Why this signal matters
The @openai/agents-core 0.20.0 release includes minor and patch updates targeting tool discovery, execution safety, and session state. Key updates include: - UnixLocal file tools now enforce trusted Python 3, reject disabled protection, honor runAs, require writable parent directories, preserve permissions/ownership/sticky bits, and avoid altering other hardlinks. - Model calls executed after approval resumes are now counted toward maxTurns, requiring callers needing further responses at the limit to increase the threshold. - Automatic MCP tool discovery now defaults to a 64-page limit, configurable via maxListPages. - Checkpoints for cancelled sessions redact unchecked terminal tool outputs while preserving completion history. - Hosted MCP discovery provenance is maintained across tool identity collisions and session reuse, though older namespace-only history requires rediscovery. - Computer tool execution serializes resolved computers across overlapping runs and warns when safety checks are pending without an onSafetyCheck handler. - Streamable HTTP session termination is bounded by the client session timeout, automatically canceling stalled cleanup tasks.
Actionable summary
@openai/agents-core@0.20.0 applies security constraints to UnixLocal file operations, enforces maxTurns counting on post-approval resumes, bounds MCP discovery pagination to 64 pages by default, redacts unchecked terminal output in cancelled checkpoints, and serializes overlapping computer tool runs.
- Agent usefulness
- 77/100
- Confidence
- 96%
- Canonical data
- JSON + Markdown
What builders should check
- Increase maxTurns if workflows require additional model calls following an approval resume at the limit.
- Explicitly set maxListPages in MCP configuration if tool listings exceed 64 pages.
- Verify that environments running UnixLocal file tools have trusted Python 3 available and that target files have writable parent directories.
- Implement an onSafetyCheck handler when using computer calls with pending safety checks to handle warnings.