Prepare Python SDK 0.147.0 stable release (#39155)

## What changed

- Pin `openai-codex` to the `0.147.0` CLI runtime and regenerate its protocol models and lockfile.
- Allow stable Python SDK release tags and require their versions to match the pinned runtime.
- Expose the regenerated API additions, including thread sections, environment connection notifications, audio inputs, and the `section_id` thread-list filter.

## Testing

- Update release staging, generated-contract, notification, and public-signature coverage for the new runtime.

GitOrigin-RevId: 8b99ef6781e01c34d9d697c8c44247fb4e4fe3ab
This commit is contained in:
Ahmed Ibrahim
2026-08-18 06:37:46 +00:00
committed by copyberry
parent 3d47dc40be
commit f6ba9110fa
10 changed files with 1744 additions and 347 deletions

View File

@@ -178,6 +178,7 @@ class Codex:
limit: int | None = None,
model_providers: list[str] | None = None,
search_term: str | None = None,
section_id: str | None = None,
sort_direction: SortDirection | None = None,
sort_key: ThreadSortKey | None = None,
source_kinds: list[ThreadSourceKind] | None = None,
@@ -191,6 +192,7 @@ class Codex:
limit=limit,
model_providers=model_providers,
search_term=search_term,
section_id=section_id,
sort_direction=sort_direction,
sort_key=sort_key,
source_kinds=source_kinds,
@@ -419,6 +421,7 @@ class AsyncCodex:
limit: int | None = None,
model_providers: list[str] | None = None,
search_term: str | None = None,
section_id: str | None = None,
sort_direction: SortDirection | None = None,
sort_key: ThreadSortKey | None = None,
source_kinds: list[ThreadSourceKind] | None = None,
@@ -433,6 +436,7 @@ class AsyncCodex:
limit=limit,
model_providers=model_providers,
search_term=search_term,
section_id=section_id,
sort_direction=sort_direction,
sort_key=sort_key,
source_kinds=source_kinds,