Skip to content

[codex] Use Codex names across the Python SDK surface#24804

Merged
aibrahim-oai merged 1 commit into
dev/python-sdk-codex-configfrom
dev/python-sdk-codex-public-names
May 27, 2026
Merged

[codex] Use Codex names across the Python SDK surface#24804
aibrahim-oai merged 1 commit into
dev/python-sdk-codex-configfrom
dev/python-sdk-codex-public-names

Conversation

@aibrahim-oai

Copy link
Copy Markdown
Collaborator

Why

This is stacked on #24800. After exposing CodexConfig, the remaining SDK naming still referred to the underlying transport through error and client class names. The SDK-facing vocabulary should center on Codex itself.

What changed

  • Renamed exported exceptions to CodexError and CodexRpcError.
  • Renamed internal transport wrappers to CodexClient and AsyncCodexClient, and removed the private AppServerTurn alias in favor of Turn.
  • Updated high-level docs and docstrings to say Codex or Codex protocol where users interact with the SDK, while retaining precise executable and transport references where those details matter.

API impact

from openai_codex import CodexError, CodexRpcError

AppServerError and AppServerRpcError are no longer exported.

Validation

  • uv run --frozen --extra dev ruff check src/openai_codex scripts examples tests
  • Tests are deferred to online CI for this PR.

@aibrahim-oai aibrahim-oai marked this pull request as ready for review May 27, 2026 18:59
@aibrahim-oai aibrahim-oai merged commit bc210f0 into dev/python-sdk-codex-config May 27, 2026
30 checks passed
@aibrahim-oai aibrahim-oai deleted the dev/python-sdk-codex-public-names branch May 27, 2026 18:59
@github-actions github-actions Bot locked and limited conversation to collaborators May 27, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant