codex-agent-sdk 0.0.1__tar.gz → 0.0.2__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.
Files changed (30) hide show
  1. {codex_agent_sdk-0.0.1 → codex_agent_sdk-0.0.2}/.gitignore +1 -1
  2. {codex_agent_sdk-0.0.1 → codex_agent_sdk-0.0.2}/LICENSE +1 -1
  3. {codex_agent_sdk-0.0.1 → codex_agent_sdk-0.0.2}/PKG-INFO +15 -6
  4. {codex_agent_sdk-0.0.1 → codex_agent_sdk-0.0.2}/README.md +9 -0
  5. codex_agent_sdk-0.0.2/docs/RELEASE.md +45 -0
  6. {codex_agent_sdk-0.0.1 → codex_agent_sdk-0.0.2}/pyproject.toml +7 -7
  7. codex_agent_sdk-0.0.1/docs/RELEASE.md +0 -16
  8. {codex_agent_sdk-0.0.1 → codex_agent_sdk-0.0.2}/docs/CONTRIBUTING.md +0 -0
  9. {codex_agent_sdk-0.0.1 → codex_agent_sdk-0.0.2}/docs/README.md +0 -0
  10. {codex_agent_sdk-0.0.1 → codex_agent_sdk-0.0.2}/examples/decorators_example.py +0 -0
  11. {codex_agent_sdk-0.0.1 → codex_agent_sdk-0.0.2}/examples/quick_start.py +0 -0
  12. {codex_agent_sdk-0.0.1 → codex_agent_sdk-0.0.2}/examples/quick_start_sugar.py +0 -0
  13. {codex_agent_sdk-0.0.1 → codex_agent_sdk-0.0.2}/examples/real_world_project_analysis.py +0 -0
  14. {codex_agent_sdk-0.0.1 → codex_agent_sdk-0.0.2}/examples/typed_events_example.py +0 -0
  15. {codex_agent_sdk-0.0.1 → codex_agent_sdk-0.0.2}/src/codex_agent_sdk/__init__.py +0 -0
  16. {codex_agent_sdk-0.0.1 → codex_agent_sdk-0.0.2}/src/codex_agent_sdk/agent.py +0 -0
  17. {codex_agent_sdk-0.0.1 → codex_agent_sdk-0.0.2}/src/codex_agent_sdk/cli.py +0 -0
  18. {codex_agent_sdk-0.0.1 → codex_agent_sdk-0.0.2}/src/codex_agent_sdk/client.py +0 -0
  19. {codex_agent_sdk-0.0.1 → codex_agent_sdk-0.0.2}/src/codex_agent_sdk/errors.py +0 -0
  20. {codex_agent_sdk-0.0.1 → codex_agent_sdk-0.0.2}/src/codex_agent_sdk/models.py +0 -0
  21. {codex_agent_sdk-0.0.1 → codex_agent_sdk-0.0.2}/src/codex_agent_sdk/py.typed +0 -0
  22. {codex_agent_sdk-0.0.1 → codex_agent_sdk-0.0.2}/src/codex_agent_sdk/query.py +0 -0
  23. {codex_agent_sdk-0.0.1 → codex_agent_sdk-0.0.2}/src/codex_agent_sdk/schema.py +0 -0
  24. {codex_agent_sdk-0.0.1 → codex_agent_sdk-0.0.2}/src/codex_agent_sdk/schema_tools.py +0 -0
  25. {codex_agent_sdk-0.0.1 → codex_agent_sdk-0.0.2}/src/codex_agent_sdk/transport/__init__.py +0 -0
  26. {codex_agent_sdk-0.0.1 → codex_agent_sdk-0.0.2}/src/codex_agent_sdk/transport/subprocess.py +0 -0
  27. {codex_agent_sdk-0.0.1 → codex_agent_sdk-0.0.2}/src/codex_agent_sdk/types.py +0 -0
  28. {codex_agent_sdk-0.0.1 → codex_agent_sdk-0.0.2}/tests/test_agent_sugar.py +0 -0
  29. {codex_agent_sdk-0.0.1 → codex_agent_sdk-0.0.2}/tests/test_integration_app_server.py +0 -0
  30. {codex_agent_sdk-0.0.1 → codex_agent_sdk-0.0.2}/tests/test_rpc.py +0 -0
@@ -25,7 +25,7 @@ build/
25
25
  dist/
26
26
 
27
27
  # Local clones / fixtures
28
- .orig_openaicodex/
28
+ .orig_codex/
29
29
 
30
30
  # Generated schemas
31
31
  codex-schema/
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2026 OpenAI
3
+ Copyright (c) 2026 omerholz
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -1,14 +1,14 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: codex-agent-sdk
3
- Version: 0.0.1
3
+ Version: 0.0.2
4
4
  Summary: Python SDK for Codex app-server
5
- Project-URL: Homepage, https://github.com/openai/codex
6
- Project-URL: Documentation, https://developers.openai.com/codex
7
- Project-URL: Issues, https://github.com/openai/codex/issues
8
- Author-email: OpenAI <support@openai.com>
5
+ Project-URL: Homepage, https://github.com/omerholz/codex-agent-sdk-python
6
+ Project-URL: Documentation, https://github.com/omerholz/codex-agent-sdk-python#readme
7
+ Project-URL: Issues, https://github.com/omerholz/codex-agent-sdk-python/issues
8
+ Author-email: omerholz <2319152+omerholz@users.noreply.github.com>
9
9
  License: MIT
10
10
  License-File: LICENSE
11
- Keywords: agent,codex,openai,sdk
11
+ Keywords: agent,app-server,codex,sdk
12
12
  Classifier: Development Status :: 3 - Alpha
13
13
  Classifier: Intended Audience :: Developers
14
14
  Classifier: License :: OSI Approved :: MIT License
@@ -39,12 +39,21 @@ subprocess and speaks JSON-RPC over stdio (newline-delimited JSON).
39
39
 
40
40
  ## Installation
41
41
 
42
+ This SDK launches `codex app-server` via the Codex CLI, so make sure `codex` is installed and
43
+ available on your `PATH`.
44
+
42
45
  ```bash
43
46
  pip install codex-agent-sdk
44
47
  ```
45
48
 
46
49
  Using `uv`:
47
50
 
51
+ ```bash
52
+ uv add codex-agent-sdk
53
+ ```
54
+
55
+ Or, install into the current environment:
56
+
48
57
  ```bash
49
58
  uv pip install codex-agent-sdk
50
59
  ```
@@ -5,12 +5,21 @@ subprocess and speaks JSON-RPC over stdio (newline-delimited JSON).
5
5
 
6
6
  ## Installation
7
7
 
8
+ This SDK launches `codex app-server` via the Codex CLI, so make sure `codex` is installed and
9
+ available on your `PATH`.
10
+
8
11
  ```bash
9
12
  pip install codex-agent-sdk
10
13
  ```
11
14
 
12
15
  Using `uv`:
13
16
 
17
+ ```bash
18
+ uv add codex-agent-sdk
19
+ ```
20
+
21
+ Or, install into the current environment:
22
+
14
23
  ```bash
15
24
  uv pip install codex-agent-sdk
16
25
  ```
@@ -0,0 +1,45 @@
1
+ # Release Guide
2
+
3
+ This project uses `uv` for build and publish.
4
+
5
+ ## Checklist
6
+
7
+ 1. Update version in `pyproject.toml`.
8
+ 2. Update `README.md` if public behavior changed.
9
+ 3. Run tests: `uv run pytest -q`.
10
+ 4. Build: `uv build`.
11
+ 5. Publish (TestPyPI first, then PyPI).
12
+
13
+ ## Publishing Notes
14
+
15
+ - To avoid interactive prompts, set `UV_PUBLISH_TOKEN` (recommended) or `UV_PUBLISH_USERNAME` /
16
+ `UV_PUBLISH_PASSWORD`.
17
+ - TestPyPI and PyPI are separate sites with separate accounts and tokens.
18
+
19
+ ## Commands
20
+
21
+ Build artifacts:
22
+
23
+ ```bash
24
+ uv build
25
+ ```
26
+
27
+ Optional validation:
28
+
29
+ ```bash
30
+ uv tool run twine check dist/*
31
+ ```
32
+
33
+ Publish to TestPyPI:
34
+
35
+ ```bash
36
+ export UV_PUBLISH_TOKEN="pypi-...<testpypi token>..."
37
+ uv publish --publish-url https://test.pypi.org/legacy/ --check-url https://test.pypi.org/simple
38
+ ```
39
+
40
+ Publish to PyPI:
41
+
42
+ ```bash
43
+ export UV_PUBLISH_TOKEN="pypi-...<pypi token>..."
44
+ uv publish --check-url https://pypi.org/simple
45
+ ```
@@ -4,13 +4,13 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "codex-agent-sdk"
7
- version = "0.0.1"
7
+ version = "0.0.2"
8
8
  description = "Python SDK for Codex app-server"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.10"
11
11
  license = {text = "MIT"}
12
12
  authors = [
13
- {name = "OpenAI", email = "support@openai.com"},
13
+ {name = "omerholz", email = "2319152+omerholz@users.noreply.github.com"},
14
14
  ]
15
15
  classifiers = [
16
16
  "Development Status :: 3 - Alpha",
@@ -23,7 +23,7 @@ classifiers = [
23
23
  "Programming Language :: Python :: 3.13",
24
24
  "Typing :: Typed",
25
25
  ]
26
- keywords = ["codex", "sdk", "openai", "agent"]
26
+ keywords = ["codex", "sdk", "agent", "app-server"]
27
27
  dependencies = [
28
28
  "anyio>=4.0.0",
29
29
  "typing_extensions>=4.0.0; python_version<'3.11'",
@@ -43,9 +43,9 @@ schema = [
43
43
  ]
44
44
 
45
45
  [project.urls]
46
- Homepage = "https://github.com/openai/codex"
47
- Documentation = "https://developers.openai.com/codex"
48
- Issues = "https://github.com/openai/codex/issues"
46
+ Homepage = "https://github.com/omerholz/codex-agent-sdk-python"
47
+ Documentation = "https://github.com/omerholz/codex-agent-sdk-python#readme"
48
+ Issues = "https://github.com/omerholz/codex-agent-sdk-python/issues"
49
49
 
50
50
  [project.scripts]
51
51
  codex-agent-sdk = "codex_agent_sdk.cli:main"
@@ -98,7 +98,7 @@ strict_equality = true
98
98
  target-version = "py310"
99
99
  line-length = 88
100
100
  extend-exclude = [
101
- ".orig_openaicodex",
101
+ ".orig_codex",
102
102
  ".venv",
103
103
  ".pytest_cache",
104
104
  ]
@@ -1,16 +0,0 @@
1
- # Release Guide
2
-
3
- This project uses `uv` for build and publish.
4
-
5
- ## Checklist
6
-
7
- 1. Update version in `pyproject.toml`.
8
- 2. Update `README.md` if public behavior changed.
9
- 3. Run tests: `uv run pytest -q`.
10
- 4. Build: `uv build`.
11
- 5. Publish: `uv publish`.
12
-
13
- ## Publishing Notes
14
-
15
- - Set PyPI credentials via environment variables supported by `uv`.
16
- - If you use TestPyPI, configure the repository URL in the publish command.