codex-sdk-python 0.104.0__tar.gz → 0.104.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {codex_sdk_python-0.104.0 → codex_sdk_python-0.104.1}/PKG-INFO +2 -2
- {codex_sdk_python-0.104.0 → codex_sdk_python-0.104.1}/README.md +1 -1
- {codex_sdk_python-0.104.0 → codex_sdk_python-0.104.1}/pyproject.toml +1 -1
- {codex_sdk_python-0.104.0 → codex_sdk_python-0.104.1}/src/codex_sdk/__init__.py +1 -1
- {codex_sdk_python-0.104.0 → codex_sdk_python-0.104.1}/src/codex_sdk/integrations/pydantic_ai_model.py +8 -0
- {codex_sdk_python-0.104.0 → codex_sdk_python-0.104.1}/src/codex_sdk/abort.py +0 -0
- {codex_sdk_python-0.104.0 → codex_sdk_python-0.104.1}/src/codex_sdk/app_server.py +0 -0
- {codex_sdk_python-0.104.0 → codex_sdk_python-0.104.1}/src/codex_sdk/codex.py +0 -0
- {codex_sdk_python-0.104.0 → codex_sdk_python-0.104.1}/src/codex_sdk/config_overrides.py +0 -0
- {codex_sdk_python-0.104.0 → codex_sdk_python-0.104.1}/src/codex_sdk/events.py +0 -0
- {codex_sdk_python-0.104.0 → codex_sdk_python-0.104.1}/src/codex_sdk/exceptions.py +0 -0
- {codex_sdk_python-0.104.0 → codex_sdk_python-0.104.1}/src/codex_sdk/exec.py +0 -0
- {codex_sdk_python-0.104.0 → codex_sdk_python-0.104.1}/src/codex_sdk/hooks.py +0 -0
- {codex_sdk_python-0.104.0 → codex_sdk_python-0.104.1}/src/codex_sdk/integrations/__init__.py +0 -0
- {codex_sdk_python-0.104.0 → codex_sdk_python-0.104.1}/src/codex_sdk/integrations/pydantic_ai.py +0 -0
- {codex_sdk_python-0.104.0 → codex_sdk_python-0.104.1}/src/codex_sdk/items.py +0 -0
- {codex_sdk_python-0.104.0 → codex_sdk_python-0.104.1}/src/codex_sdk/options.py +0 -0
- {codex_sdk_python-0.104.0 → codex_sdk_python-0.104.1}/src/codex_sdk/telemetry.py +0 -0
- {codex_sdk_python-0.104.0 → codex_sdk_python-0.104.1}/src/codex_sdk/thread.py +0 -0
- {codex_sdk_python-0.104.0 → codex_sdk_python-0.104.1}/src/codex_sdk/tool_envelope.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: codex-sdk-python
|
|
3
|
-
Version: 0.104.
|
|
3
|
+
Version: 0.104.1
|
|
4
4
|
Summary: Python SDK for the Codex CLI agent with async threads, streaming events, and structured outputs
|
|
5
5
|
Keywords: codex,sdk,python,api,cli,agent,async,streaming
|
|
6
6
|
Author: Vectorfy Co
|
|
@@ -44,7 +44,7 @@ Embed the Codex agent in Python workflows. This SDK wraps the bundled `codex` CL
|
|
|
44
44
|
<td><strong>Lifecycle</strong></td>
|
|
45
45
|
<td>
|
|
46
46
|
<a href="#ci-cd"><img src="https://img.shields.io/badge/CI%2FCD-Active-16a34a?style=flat&logo=githubactions&logoColor=white" alt="CI/CD badge" /></a>
|
|
47
|
-
<img src="https://img.shields.io/badge/Release-0.104.
|
|
47
|
+
<img src="https://img.shields.io/badge/Release-0.104.1-6b7280?style=flat&logo=pypi&logoColor=white" alt="Release 0.104.1 badge" />
|
|
48
48
|
<a href="#license"><img src="https://img.shields.io/badge/License-Apache--2.0-0f766e?style=flat&logo=apache&logoColor=white" alt="License badge" /></a>
|
|
49
49
|
</td>
|
|
50
50
|
</tr>
|
|
@@ -8,7 +8,7 @@ Embed the Codex agent in Python workflows. This SDK wraps the bundled `codex` CL
|
|
|
8
8
|
<td><strong>Lifecycle</strong></td>
|
|
9
9
|
<td>
|
|
10
10
|
<a href="#ci-cd"><img src="https://img.shields.io/badge/CI%2FCD-Active-16a34a?style=flat&logo=githubactions&logoColor=white" alt="CI/CD badge" /></a>
|
|
11
|
-
<img src="https://img.shields.io/badge/Release-0.104.
|
|
11
|
+
<img src="https://img.shields.io/badge/Release-0.104.1-6b7280?style=flat&logo=pypi&logoColor=white" alt="Release 0.104.1 badge" />
|
|
12
12
|
<a href="#license"><img src="https://img.shields.io/badge/License-Apache--2.0-0f766e?style=flat&logo=apache&logoColor=white" alt="License badge" /></a>
|
|
13
13
|
</td>
|
|
14
14
|
</tr>
|
|
@@ -4,7 +4,7 @@ build-backend = "uv_build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "codex-sdk-python"
|
|
7
|
-
version = "0.104.
|
|
7
|
+
version = "0.104.1"
|
|
8
8
|
description = "Python SDK for the Codex CLI agent with async threads, streaming events, and structured outputs"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = {text = "Apache-2.0"}
|
|
@@ -391,6 +391,11 @@ class CodexStreamedResponse(StreamedResponse):
|
|
|
391
391
|
"""
|
|
392
392
|
return self._provider_name
|
|
393
393
|
|
|
394
|
+
@property
|
|
395
|
+
def provider_url(self) -> Optional[str]:
|
|
396
|
+
"""Return the provider URL when available (Codex currently does not expose one)."""
|
|
397
|
+
return None
|
|
398
|
+
|
|
394
399
|
@property
|
|
395
400
|
def timestamp(self) -> datetime:
|
|
396
401
|
"""
|
|
@@ -627,6 +632,7 @@ class CodexModel(Model):
|
|
|
627
632
|
messages: list[ModelMessage],
|
|
628
633
|
model_settings: Optional[ModelSettings],
|
|
629
634
|
model_request_parameters: ModelRequestParameters,
|
|
635
|
+
run_context: Optional[Any] = None,
|
|
630
636
|
) -> AsyncIterator[StreamedResponse]:
|
|
631
637
|
"""
|
|
632
638
|
Produce an asynchronous stream that yields a Codex-backed streamed model response for the given message sequence.
|
|
@@ -635,6 +641,8 @@ class CodexModel(Model):
|
|
|
635
641
|
messages: Conversation messages to send to the model.
|
|
636
642
|
model_settings: Model-specific settings (may be None).
|
|
637
643
|
model_request_parameters: Additional request parameters controlling the model call.
|
|
644
|
+
run_context: Optional PydanticAI run context. Accepted for compatibility
|
|
645
|
+
with PydanticAI stream-call contracts and currently unused by Codex.
|
|
638
646
|
|
|
639
647
|
Returns:
|
|
640
648
|
An async iterator that yields a single StreamedResponse (CodexStreamedResponse) containing the model name, response parts, usage information, and the Codex thread identifier.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{codex_sdk_python-0.104.0 → codex_sdk_python-0.104.1}/src/codex_sdk/integrations/__init__.py
RENAMED
|
File without changes
|
{codex_sdk_python-0.104.0 → codex_sdk_python-0.104.1}/src/codex_sdk/integrations/pydantic_ai.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|