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:43:10 +00:00
committed by copyberry
parent 3d47dc40be
commit f6ba9110fa
10 changed files with 1744 additions and 347 deletions
+2
View File
@@ -96,6 +96,7 @@ def test_run_params_and_usage_cross_app_server_boundary(tmp_path) -> None:
"request_model": "mock-model-override",
"usage": {
"last": {
"cacheWriteInputTokens": 0,
"cachedInputTokens": 3,
"inputTokens": 11,
"outputTokens": 7,
@@ -103,6 +104,7 @@ def test_run_params_and_usage_cross_app_server_boundary(tmp_path) -> None:
"totalTokens": 18,
},
"total": {
"cacheWriteInputTokens": 0,
"cachedInputTokens": 3,
"inputTokens": 11,
"outputTokens": 7,