Skip to content

python-sdk: generated type foundation (all v2 schemas)#13953

Merged
shaqayeq-oai merged 10 commits into
mainfrom
shaqayeq/python-sdk-types-foundation
Mar 10, 2026
Merged

python-sdk: generated type foundation (all v2 schemas)#13953
shaqayeq-oai merged 10 commits into
mainfrom
shaqayeq/python-sdk-types-foundation

Conversation

@shaqayeq-oai

Copy link
Copy Markdown
Contributor

Summary

Foundation PR only (base for PR #3).

This PR contains the SDK runtime foundation and generated artifacts:

  • pinned runtime binary in sdk/python/bin/ (codex or codex.exe by platform)
  • single maintenance script: sdk/python/scripts/update_sdk_artifacts.py
  • generated protocol/types artifacts under:
    • sdk/python/src/codex_app_server/generated/protocol_types.py
    • sdk/python/src/codex_app_server/generated/schema_types.py
    • sdk/python/src/codex_app_server/generated/v2_all/*
  • generation-contract test wiring (tests/test_contract_generation.py)

Release asset behavior

update_sdk_artifacts.py now:

  • selects latest release by channel (--channel stable|alpha)
  • resolves the correct asset for current OS/arch
  • extracts platform binary (codex on macOS/Linux, codex.exe on Windows)
  • keeps runtime on single pinned binary source in sdk/python/bin/

Scope boundary

Validation

  • Ran: python scripts/update_sdk_artifacts.py --channel stable
  • Regenerated and committed resulting generated artifacts
  • Local tests pass on branch

Loading
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

oai PRs contributed by OpenAI employees

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants