v1.153.3
Updates the SDK and bundled app-server to Codex 0.153.3, matching the installed release. Protocol models were regenerated from that exact binary, including experimental schemas.
Changes
- Add sync and async thread-section APIs and turn-ID-based thread revert.
- Preserve structured turn errors, async agent-message questions, auth-recovery events, and account usage metadata.
- Expose current turn options and updated protocol response types.
- Accept nullable config values returned by app-server; keep TOML override validation at serialization.
- Isolate the bundled-binary test so it cannot overwrite release assets.
Compatibility
- Upstream thread sections replace the removed pin API: use
client.thread_sections,thread.move_to_section(), andAppServerThreadListOptions(section_id=...)in place ofset_pinned()andis_pinned. - New durable threads default to paginated history when supported. Use
thread.revert(before_turn_id); count-basedrollback()remains available for legacy-history threads. - Experimental RPCs require
AppServerInitializeOptions(experimental_api=True).
Validation
RUSTUP_TOOLCHAIN=1.95.0 make lint: Ruff and mypy passed.RUSTUP_TOOLCHAIN=1.95.0 make test: 230 passed, 2 skipped.RUSTUP_TOOLCHAIN=1.95.0 make build: sdist and Linux wheel built.- Repeat protocol generation matched apart from its timestamp.
- Bundled 0.153.3 app-server initialized and completed
config/readsuccessfully.
Upstream: https://github.com/openai/codex/releases/tag/rust-v0.153.3