openai-codex 0.162.1__tar.gz → 0.167.0__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.
- {openai_codex-0.162.1 → openai_codex-0.167.0}/PKG-INFO +2 -2
- openai_codex-0.167.0/pyproject.toml +101 -0
- openai_codex-0.162.1/pyproject.toml → openai_codex-0.167.0/pyproject.toml.orig +3 -3
- {openai_codex-0.162.1 → openai_codex-0.167.0}/src/openai_codex/generated/notification_registry.py +6 -0
- {openai_codex-0.162.1 → openai_codex-0.167.0}/src/openai_codex/generated/v2_all.py +911 -295
- {openai_codex-0.162.1 → openai_codex-0.167.0}/README.md +0 -0
- {openai_codex-0.162.1 → openai_codex-0.167.0}/src/openai_codex/__init__.py +0 -0
- {openai_codex-0.162.1 → openai_codex-0.167.0}/src/openai_codex/_approval_mode.py +0 -0
- {openai_codex-0.162.1 → openai_codex-0.167.0}/src/openai_codex/_goal.py +0 -0
- {openai_codex-0.162.1 → openai_codex-0.167.0}/src/openai_codex/_initialize_metadata.py +0 -0
- {openai_codex-0.162.1 → openai_codex-0.167.0}/src/openai_codex/_inputs.py +0 -0
- {openai_codex-0.162.1 → openai_codex-0.167.0}/src/openai_codex/_login.py +0 -0
- {openai_codex-0.162.1 → openai_codex-0.167.0}/src/openai_codex/_message_router.py +0 -0
- {openai_codex-0.162.1 → openai_codex-0.167.0}/src/openai_codex/_run.py +0 -0
- {openai_codex-0.162.1 → openai_codex-0.167.0}/src/openai_codex/_runtime_requirements.py +0 -0
- {openai_codex-0.162.1 → openai_codex-0.167.0}/src/openai_codex/_sandbox.py +0 -0
- {openai_codex-0.162.1 → openai_codex-0.167.0}/src/openai_codex/_version.py +0 -0
- {openai_codex-0.162.1 → openai_codex-0.167.0}/src/openai_codex/api.py +0 -0
- {openai_codex-0.162.1 → openai_codex-0.167.0}/src/openai_codex/async_client.py +0 -0
- {openai_codex-0.162.1 → openai_codex-0.167.0}/src/openai_codex/client.py +0 -0
- {openai_codex-0.162.1 → openai_codex-0.167.0}/src/openai_codex/errors.py +0 -0
- {openai_codex-0.162.1 → openai_codex-0.167.0}/src/openai_codex/generated/__init__.py +0 -0
- {openai_codex-0.162.1 → openai_codex-0.167.0}/src/openai_codex/models.py +0 -0
- {openai_codex-0.162.1 → openai_codex-0.167.0}/src/openai_codex/py.typed +0 -0
- {openai_codex-0.162.1 → openai_codex-0.167.0}/src/openai_codex/retry.py +0 -0
- {openai_codex-0.162.1 → openai_codex-0.167.0}/src/openai_codex/types.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: openai-codex
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.167.0
|
|
4
4
|
Summary: Python SDK for Codex
|
|
5
5
|
Keywords: codex,sdk,llm,ai,agents
|
|
6
6
|
Author: OpenAI
|
|
@@ -10,7 +10,7 @@ Classifier: Intended Audience :: Developers
|
|
|
10
10
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
11
11
|
Requires-Dist: pydantic>=2.12
|
|
12
12
|
Requires-Dist: packaging>=26.2
|
|
13
|
-
Requires-Dist: openai-codex-cli-bin==0.
|
|
13
|
+
Requires-Dist: openai-codex-cli-bin==0.167.0
|
|
14
14
|
Requires-Python: >=3.10
|
|
15
15
|
Project-URL: Homepage, https://github.com/openai/codex
|
|
16
16
|
Project-URL: Repository, https://github.com/openai/codex
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["uv_build>=0.11.19,<0.12"]
|
|
3
|
+
build-backend = "uv_build"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "openai-codex"
|
|
7
|
+
version = "0.167.0"
|
|
8
|
+
description = "Python SDK for Codex"
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
requires-python = ">=3.10"
|
|
11
|
+
license = "Apache-2.0"
|
|
12
|
+
keywords = [
|
|
13
|
+
"codex",
|
|
14
|
+
"sdk",
|
|
15
|
+
"llm",
|
|
16
|
+
"ai",
|
|
17
|
+
"agents",
|
|
18
|
+
]
|
|
19
|
+
classifiers = [
|
|
20
|
+
"Development Status :: 5 - Production/Stable",
|
|
21
|
+
"Intended Audience :: Developers",
|
|
22
|
+
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
23
|
+
]
|
|
24
|
+
dependencies = [
|
|
25
|
+
"pydantic>=2.12",
|
|
26
|
+
"packaging>=26.2",
|
|
27
|
+
"openai-codex-cli-bin==0.167.0",
|
|
28
|
+
]
|
|
29
|
+
|
|
30
|
+
[[project.authors]]
|
|
31
|
+
name = "OpenAI"
|
|
32
|
+
|
|
33
|
+
[project.urls]
|
|
34
|
+
Homepage = "https://github.com/openai/codex"
|
|
35
|
+
Repository = "https://github.com/openai/codex"
|
|
36
|
+
Issues = "https://github.com/openai/codex/issues"
|
|
37
|
+
Documentation = "https://github.com/openai/codex/tree/main/sdk/python/docs"
|
|
38
|
+
|
|
39
|
+
[dependency-groups]
|
|
40
|
+
format = ["ruff>=0.15.8"]
|
|
41
|
+
test = [
|
|
42
|
+
"pytest>=8.0",
|
|
43
|
+
"datamodel-code-generator==0.64.0",
|
|
44
|
+
{ include-group = "format" },
|
|
45
|
+
]
|
|
46
|
+
|
|
47
|
+
[[dependency-groups.dev]]
|
|
48
|
+
include-group = "test"
|
|
49
|
+
|
|
50
|
+
[[dependency-groups.dev]]
|
|
51
|
+
include-group = "format"
|
|
52
|
+
|
|
53
|
+
[tool.codex.codegen]
|
|
54
|
+
schema-dir = "../../codex-rs/app-server-protocol/schema/json"
|
|
55
|
+
|
|
56
|
+
[tool.pytest.ini_options]
|
|
57
|
+
addopts = "-q"
|
|
58
|
+
testpaths = ["tests"]
|
|
59
|
+
|
|
60
|
+
[tool.ruff]
|
|
61
|
+
target-version = "py310"
|
|
62
|
+
required-version = ">=0.15.8"
|
|
63
|
+
line-length = 100
|
|
64
|
+
extend-exclude = [
|
|
65
|
+
"notebooks/**",
|
|
66
|
+
"src/openai_codex/generated/**",
|
|
67
|
+
]
|
|
68
|
+
|
|
69
|
+
[tool.ruff.lint]
|
|
70
|
+
select = [
|
|
71
|
+
"E",
|
|
72
|
+
"F",
|
|
73
|
+
"I",
|
|
74
|
+
"B",
|
|
75
|
+
"C4",
|
|
76
|
+
]
|
|
77
|
+
ignore = ["E501"]
|
|
78
|
+
preview = true
|
|
79
|
+
extend-safe-fixes = ["ALL"]
|
|
80
|
+
unfixable = ["F841"]
|
|
81
|
+
|
|
82
|
+
[tool.ruff.lint.per-file-ignores]
|
|
83
|
+
"examples/**/*.py" = ["E402"]
|
|
84
|
+
"tests/test_real_app_server_integration.py" = ["E402"]
|
|
85
|
+
|
|
86
|
+
[tool.ruff.lint.isort]
|
|
87
|
+
combine-as-imports = true
|
|
88
|
+
|
|
89
|
+
[tool.uv]
|
|
90
|
+
exclude-newer = "7 days"
|
|
91
|
+
index-strategy = "first-index"
|
|
92
|
+
|
|
93
|
+
[tool.uv.exclude-newer-package]
|
|
94
|
+
openai-codex-cli-bin = "2026-09-09T06:06:45Z"
|
|
95
|
+
|
|
96
|
+
[tool.uv.pip]
|
|
97
|
+
exclude-newer = "7 days"
|
|
98
|
+
index-strategy = "first-index"
|
|
99
|
+
|
|
100
|
+
[tool.uv.pip.exclude-newer-package]
|
|
101
|
+
openai-codex-cli-bin = "2026-09-09T06:06:45Z"
|
|
@@ -4,7 +4,7 @@ build-backend = "uv_build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "openai-codex"
|
|
7
|
-
version = "0.
|
|
7
|
+
version = "0.167.0"
|
|
8
8
|
description = "Python SDK for Codex"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.10"
|
|
@@ -16,7 +16,7 @@ classifiers = [
|
|
|
16
16
|
"Intended Audience :: Developers",
|
|
17
17
|
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
18
18
|
]
|
|
19
|
-
dependencies = ["pydantic>=2.12", "packaging>=26.2", "openai-codex-cli-bin==0.
|
|
19
|
+
dependencies = ["pydantic>=2.12", "packaging>=26.2", "openai-codex-cli-bin==0.167.0"]
|
|
20
20
|
|
|
21
21
|
[project.urls]
|
|
22
22
|
Homepage = "https://github.com/openai/codex"
|
|
@@ -28,7 +28,7 @@ Documentation = "https://github.com/openai/codex/tree/main/sdk/python/docs"
|
|
|
28
28
|
format = ["ruff>=0.15.8"]
|
|
29
29
|
test = [
|
|
30
30
|
"pytest>=8.0",
|
|
31
|
-
"datamodel-code-generator==0.
|
|
31
|
+
"datamodel-code-generator==0.64.0",
|
|
32
32
|
{ include-group = "format" },
|
|
33
33
|
]
|
|
34
34
|
dev = [
|
{openai_codex-0.162.1 → openai_codex-0.167.0}/src/openai_codex/generated/notification_registry.py
RENAMED
|
@@ -64,6 +64,7 @@ from .v2_all import ThreadNameUpdatedNotification
|
|
|
64
64
|
from .v2_all import ThreadPredictionUpdatedNotification
|
|
65
65
|
from .v2_all import ThreadProjectUpdatedNotification
|
|
66
66
|
from .v2_all import ThreadQueueChangedNotification
|
|
67
|
+
from .v2_all import ThreadReadStateChangedNotification
|
|
67
68
|
from .v2_all import ThreadRealtimeClosedNotification
|
|
68
69
|
from .v2_all import ThreadRealtimeErrorNotification
|
|
69
70
|
from .v2_all import ThreadRealtimeItemAddedNotification
|
|
@@ -76,6 +77,7 @@ from .v2_all import ThreadRealtimeStartedNotification
|
|
|
76
77
|
from .v2_all import ThreadRealtimeTranscriptDeltaNotification
|
|
77
78
|
from .v2_all import ThreadRealtimeTranscriptDoneNotification
|
|
78
79
|
from .v2_all import ThreadRevertedNotification
|
|
80
|
+
from .v2_all import ThreadSectionChangedNotification
|
|
79
81
|
from .v2_all import ThreadSettingsUpdatedNotification
|
|
80
82
|
from .v2_all import ThreadStartedNotification
|
|
81
83
|
from .v2_all import ThreadStatusChangedNotification
|
|
@@ -148,6 +150,7 @@ KnownNotificationPayload: TypeAlias = (
|
|
|
148
150
|
| ThreadPredictionUpdatedNotification
|
|
149
151
|
| ThreadProjectUpdatedNotification
|
|
150
152
|
| ThreadQueueChangedNotification
|
|
153
|
+
| ThreadReadStateChangedNotification
|
|
151
154
|
| ThreadRealtimeClosedNotification
|
|
152
155
|
| ThreadRealtimeErrorNotification
|
|
153
156
|
| ThreadRealtimeItemAddedNotification
|
|
@@ -160,6 +163,7 @@ KnownNotificationPayload: TypeAlias = (
|
|
|
160
163
|
| ThreadRealtimeTranscriptDeltaNotification
|
|
161
164
|
| ThreadRealtimeTranscriptDoneNotification
|
|
162
165
|
| ThreadRevertedNotification
|
|
166
|
+
| ThreadSectionChangedNotification
|
|
163
167
|
| ThreadSettingsUpdatedNotification
|
|
164
168
|
| ThreadStartedNotification
|
|
165
169
|
| ThreadStatusChangedNotification
|
|
@@ -235,6 +239,7 @@ NOTIFICATION_MODELS: dict[str, type[KnownNotificationPayload]] = {
|
|
|
235
239
|
"thread/prediction/updated": ThreadPredictionUpdatedNotification,
|
|
236
240
|
"thread/project/updated": ThreadProjectUpdatedNotification,
|
|
237
241
|
"thread/queue/changed": ThreadQueueChangedNotification,
|
|
242
|
+
"thread/readState/changed": ThreadReadStateChangedNotification,
|
|
238
243
|
"thread/realtime/closed": ThreadRealtimeClosedNotification,
|
|
239
244
|
"thread/realtime/error": ThreadRealtimeErrorNotification,
|
|
240
245
|
"thread/realtime/item/completed": ThreadRealtimeItemCompletedNotification,
|
|
@@ -247,6 +252,7 @@ NOTIFICATION_MODELS: dict[str, type[KnownNotificationPayload]] = {
|
|
|
247
252
|
"thread/realtime/transcript/delta": ThreadRealtimeTranscriptDeltaNotification,
|
|
248
253
|
"thread/realtime/transcript/done": ThreadRealtimeTranscriptDoneNotification,
|
|
249
254
|
"thread/reverted": ThreadRevertedNotification,
|
|
255
|
+
"thread/section/changed": ThreadSectionChangedNotification,
|
|
250
256
|
"thread/settings/updated": ThreadSettingsUpdatedNotification,
|
|
251
257
|
"thread/started": ThreadStartedNotification,
|
|
252
258
|
"thread/status/changed": ThreadStatusChangedNotification,
|