# What changed in @openai/agents

> 10 changes in @openai/agents 0.18 to 0.19 from its official release notes, upgrade guides and advisories: 1 breaking, 1 security, 2 new APIs and options. Each one cited. Sources checked 2026-10-18. HTML: https://unstale.sh/npm/@openai/agents/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## @openai/agents 0.19

### Fixes and other changes

- Preserves agent storage settings configured after construction when making model requests and cloning agents. (0.19.0) — [release notes](https://github.com/openai/openai-agents-js/releases/tag/%40openai/agents%400.19.0)

## @openai/agents 0.18

### Breaking changes

- Docker file APIs now run inside a running container, requiring compatible images with /bin/sh and GNU filesystem utilities, and access uses the container's default user or explicit runAs. Newly added path grants require resume or recreation before file APIs can… (0.18.0) — [release notes](https://github.com/openai/openai-agents-js/releases/tag/v0.18.0)

### Security

- Adds fileIOProtection with auto, required, and off modes. The default auto selects Python-based file protection when available and otherwise retains Node filesystem behavior. (0.18.0) — [release notes](https://github.com/openai/openai-agents-js/releases/tag/v0.18.0)

### New APIs and options

- Accepts generate, edit, or auto and forwards the selection through streaming and non-streaming Responses requests; leaving it unspecified preserves provider defaults. (0.18.0) — [release notes](https://github.com/openai/openai-agents-js/releases/tag/v0.18.0)
- Inspect session.fileIOBackend to see which file I/O backend was selected. (0.18.0) — [release notes](https://github.com/openai/openai-agents-js/releases/tag/v0.18.0)

### Tooling

- Editor updates accept source files up to 10 MiB; use execCommand for larger edits. (0.18.0) — [release notes](https://github.com/openai/openai-agents-js/releases/tag/v0.18.0)

### Fixes and other changes

- Preserves response ownership for agent_end. (0.18.0) — [release notes](https://github.com/openai/openai-agents-js/releases/tag/v0.18.0)
- Avoids redundant final computer screenshots. (0.18.0) — [release notes](https://github.com/openai/openai-agents-js/releases/tag/v0.18.0)
- Recovers deferred tools during response continuation. (0.18.0) — [release notes](https://github.com/openai/openai-agents-js/releases/tag/v0.18.0)
- Preserves sandbox working directories for shell command lists. (0.18.0) — [release notes](https://github.com/openai/openai-agents-js/releases/tag/v0.18.0)
