codexapi 0.5.2__tar.gz → 0.5.3__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: codexapi
3
- Version: 0.5.2
3
+ Version: 0.5.3
4
4
  Summary: Minimal Python API for running the Codex CLI.
5
5
  License: MIT
6
6
  Keywords: codex,agent,cli,openai
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "codexapi"
7
- version = "0.5.2"
7
+ version = "0.5.3"
8
8
  description = "Minimal Python API for running the Codex CLI."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.8"
@@ -15,4 +15,4 @@ __all__ = [
15
15
  "task",
16
16
  "task_result",
17
17
  ]
18
- __version__ = "0.5.2"
18
+ __version__ = "0.5.3"
@@ -47,6 +47,8 @@ def run_ralph_loop(
47
47
  raise TypeError("completion_promise must be a string or None")
48
48
  if max_iterations < 0:
49
49
  raise ValueError("max_iterations must be >= 0")
50
+ if hasattr(sys.stdout, "reconfigure"):
51
+ sys.stdout.reconfigure(line_buffering=True)
50
52
 
51
53
  state_path = _state_path(cwd)
52
54
  _ensure_state_dir(state_path)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: codexapi
3
- Version: 0.5.2
3
+ Version: 0.5.3
4
4
  Summary: Minimal Python API for running the Codex CLI.
5
5
  License: MIT
6
6
  Keywords: codex,agent,cli,openai
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes