python-sdk: generate types from pinned runtime schema

This commit is contained in:
Shaqayeq
2026-04-13 00:15:40 -07:00
parent 8748ac15ca
commit e1a9b32590
8 changed files with 648 additions and 1288 deletions

View File

@@ -60,8 +60,10 @@ Common causes:
- incompatible/old app-server
Maintainers stage releases by building the SDK once and the runtime once per
platform with the same pinned runtime version. Publish `openai-codex-cli-bin`
as platform wheels only; do not publish an sdist:
platform with the same pinned runtime version. `generate-types` first asks that
pinned runtime to emit the app-server JSON schema, then converts the emitted
schema to Python. Publish `openai-codex-cli-bin` as platform wheels only; do not
publish an sdist:
```bash
cd sdk/python