codex-agent-framework 0.1.1__tar.gz → 0.1.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.
- {codex_agent_framework-0.1.1 → codex_agent_framework-0.1.2}/CHANGELOG.md +8 -0
- {codex_agent_framework-0.1.1/codex_agent_framework.egg-info → codex_agent_framework-0.1.2}/PKG-INFO +2 -1
- {codex_agent_framework-0.1.1 → codex_agent_framework-0.1.2}/README.md +1 -0
- {codex_agent_framework-0.1.1 → codex_agent_framework-0.1.2}/codex_agent/chat.py +8 -1
- {codex_agent_framework-0.1.1 → codex_agent_framework-0.1.2/codex_agent_framework.egg-info}/PKG-INFO +2 -1
- {codex_agent_framework-0.1.1 → codex_agent_framework-0.1.2}/pyproject.toml +1 -1
- {codex_agent_framework-0.1.1 → codex_agent_framework-0.1.2}/tests/test_chat.py +16 -0
- {codex_agent_framework-0.1.1 → codex_agent_framework-0.1.2}/LICENSE +0 -0
- {codex_agent_framework-0.1.1 → codex_agent_framework-0.1.2}/MANIFEST.in +0 -0
- {codex_agent_framework-0.1.1 → codex_agent_framework-0.1.2}/codex_agent/__init__.py +0 -0
- {codex_agent_framework-0.1.1 → codex_agent_framework-0.1.2}/codex_agent/__main__.py +0 -0
- {codex_agent_framework-0.1.1 → codex_agent_framework-0.1.2}/codex_agent/agent.py +0 -0
- {codex_agent_framework-0.1.1 → codex_agent_framework-0.1.2}/codex_agent/ai.py +0 -0
- {codex_agent_framework-0.1.1 → codex_agent_framework-0.1.2}/codex_agent/builtin_commands.py +0 -0
- {codex_agent_framework-0.1.1 → codex_agent_framework-0.1.2}/codex_agent/builtin_providers.py +0 -0
- {codex_agent_framework-0.1.1 → codex_agent_framework-0.1.2}/codex_agent/builtin_tools.py +0 -0
- {codex_agent_framework-0.1.1 → codex_agent_framework-0.1.2}/codex_agent/command.py +0 -0
- {codex_agent_framework-0.1.1 → codex_agent_framework-0.1.2}/codex_agent/event.py +0 -0
- {codex_agent_framework-0.1.1 → codex_agent_framework-0.1.2}/codex_agent/get_text/__init__.py +0 -0
- {codex_agent_framework-0.1.1 → codex_agent_framework-0.1.2}/codex_agent/get_text/default_gitignore +0 -0
- {codex_agent_framework-0.1.1 → codex_agent_framework-0.1.2}/codex_agent/get_text/get_text.py +0 -0
- {codex_agent_framework-0.1.1 → codex_agent_framework-0.1.2}/codex_agent/get_text/simpler_get_text.py +0 -0
- {codex_agent_framework-0.1.1 → codex_agent_framework-0.1.2}/codex_agent/get_webdriver.py +0 -0
- {codex_agent_framework-0.1.1 → codex_agent_framework-0.1.2}/codex_agent/image.py +0 -0
- {codex_agent_framework-0.1.1 → codex_agent_framework-0.1.2}/codex_agent/latex.py +0 -0
- {codex_agent_framework-0.1.1 → codex_agent_framework-0.1.2}/codex_agent/memory.py +0 -0
- {codex_agent_framework-0.1.1 → codex_agent_framework-0.1.2}/codex_agent/message.py +0 -0
- {codex_agent_framework-0.1.1 → codex_agent_framework-0.1.2}/codex_agent/prompts/image_generation_system_prompt.txt +0 -0
- {codex_agent_framework-0.1.1 → codex_agent_framework-0.1.2}/codex_agent/prompts/system_prompt.txt +0 -0
- {codex_agent_framework-0.1.1 → codex_agent_framework-0.1.2}/codex_agent/provider.py +0 -0
- {codex_agent_framework-0.1.1 → codex_agent_framework-0.1.2}/codex_agent/stream_utils.py +0 -0
- {codex_agent_framework-0.1.1 → codex_agent_framework-0.1.2}/codex_agent/tool.py +0 -0
- {codex_agent_framework-0.1.1 → codex_agent_framework-0.1.2}/codex_agent/utils.py +0 -0
- {codex_agent_framework-0.1.1 → codex_agent_framework-0.1.2}/codex_agent/voice.py +0 -0
- {codex_agent_framework-0.1.1 → codex_agent_framework-0.1.2}/codex_agent/worker.py +0 -0
- {codex_agent_framework-0.1.1 → codex_agent_framework-0.1.2}/codex_agent_framework.egg-info/SOURCES.txt +0 -0
- {codex_agent_framework-0.1.1 → codex_agent_framework-0.1.2}/codex_agent_framework.egg-info/dependency_links.txt +0 -0
- {codex_agent_framework-0.1.1 → codex_agent_framework-0.1.2}/codex_agent_framework.egg-info/entry_points.txt +0 -0
- {codex_agent_framework-0.1.1 → codex_agent_framework-0.1.2}/codex_agent_framework.egg-info/requires.txt +0 -0
- {codex_agent_framework-0.1.1 → codex_agent_framework-0.1.2}/codex_agent_framework.egg-info/top_level.txt +0 -0
- {codex_agent_framework-0.1.1 → codex_agent_framework-0.1.2}/setup.cfg +0 -0
- {codex_agent_framework-0.1.1 → codex_agent_framework-0.1.2}/tests/test_agent.py +0 -0
- {codex_agent_framework-0.1.1 → codex_agent_framework-0.1.2}/tests/test_ai.py +0 -0
- {codex_agent_framework-0.1.1 → codex_agent_framework-0.1.2}/tests/test_events.py +0 -0
- {codex_agent_framework-0.1.1 → codex_agent_framework-0.1.2}/tests/test_image_message.py +0 -0
- {codex_agent_framework-0.1.1 → codex_agent_framework-0.1.2}/tests/test_memory.py +0 -0
- {codex_agent_framework-0.1.1 → codex_agent_framework-0.1.2}/tests/test_messages.py +0 -0
- {codex_agent_framework-0.1.1 → codex_agent_framework-0.1.2}/tests/test_utils.py +0 -0
- {codex_agent_framework-0.1.1 → codex_agent_framework-0.1.2}/tests/test_worker.py +0 -0
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
|
|
5
5
|
This project loosely follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and uses semantic versioning where practical.
|
|
6
|
+
## [0.1.2] - 2026-05-03
|
|
7
|
+
### Added
|
|
8
|
+
- Add a `/clear` terminal chat command that clears the screen without touching session history.
|
|
9
|
+
|
|
10
|
+
### Tests
|
|
11
|
+
- Add regression coverage ensuring terminal screen clearing does not append session messages.
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [0.1.1] - 2026-05-03
|
|
7
15
|
### Fixed
|
|
8
16
|
- Validate `ImageMessage` content before adding it to session state.
|
{codex_agent_framework-0.1.1/codex_agent_framework.egg-info → codex_agent_framework-0.1.2}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: codex-agent-framework
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.2
|
|
4
4
|
Summary: A lightweight event-driven Codex agent runtime.
|
|
5
5
|
Author: Baptiste
|
|
6
6
|
License-Expression: MIT
|
|
@@ -342,6 +342,7 @@ python -m build
|
|
|
342
342
|
The distribution includes prompt text files and `codex_agent/get_text/default_gitignore` through package data and `MANIFEST.in`.
|
|
343
343
|
|
|
344
344
|
## Recent changes
|
|
345
|
+
- `0.1.2`: add `/clear` in the terminal chat to clear the screen without changing session history.
|
|
345
346
|
- `0.1.1`: image observations are now validated before session persistence, preventing broken `ImageMessage` entries from poisoning later turns.
|
|
346
347
|
|
|
347
348
|
## Safety notes
|
|
@@ -295,6 +295,7 @@ python -m build
|
|
|
295
295
|
The distribution includes prompt text files and `codex_agent/get_text/default_gitignore` through package data and `MANIFEST.in`.
|
|
296
296
|
|
|
297
297
|
## Recent changes
|
|
298
|
+
- `0.1.2`: add `/clear` in the terminal chat to clear the screen without changing session history.
|
|
298
299
|
- `0.1.1`: image observations are now validated before session persistence, preventing broken `ImageMessage` entries from poisoning later turns.
|
|
299
300
|
|
|
300
301
|
## Safety notes
|
|
@@ -38,9 +38,13 @@ class TerminalChat:
|
|
|
38
38
|
[("class:prompt", "You > ")],
|
|
39
39
|
prompt_continuation="... ",
|
|
40
40
|
)
|
|
41
|
-
|
|
41
|
+
command = prompt.strip().lower()
|
|
42
|
+
if command in ["exit", "quit", "/exit", "/quit"]:
|
|
42
43
|
self.console.print("[dim]Bye.[/dim]")
|
|
43
44
|
break
|
|
45
|
+
if command == "/clear":
|
|
46
|
+
self.clear_screen()
|
|
47
|
+
continue
|
|
44
48
|
if not prompt.strip():
|
|
45
49
|
continue
|
|
46
50
|
try:
|
|
@@ -93,6 +97,9 @@ class TerminalChat:
|
|
|
93
97
|
)
|
|
94
98
|
)
|
|
95
99
|
|
|
100
|
+
def clear_screen(self):
|
|
101
|
+
self.console.clear()
|
|
102
|
+
|
|
96
103
|
@staticmethod
|
|
97
104
|
def _format_int(value):
|
|
98
105
|
try:
|
{codex_agent_framework-0.1.1 → codex_agent_framework-0.1.2/codex_agent_framework.egg-info}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: codex-agent-framework
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.2
|
|
4
4
|
Summary: A lightweight event-driven Codex agent runtime.
|
|
5
5
|
Author: Baptiste
|
|
6
6
|
License-Expression: MIT
|
|
@@ -342,6 +342,7 @@ python -m build
|
|
|
342
342
|
The distribution includes prompt text files and `codex_agent/get_text/default_gitignore` through package data and `MANIFEST.in`.
|
|
343
343
|
|
|
344
344
|
## Recent changes
|
|
345
|
+
- `0.1.2`: add `/clear` in the terminal chat to clear the screen without changing session history.
|
|
345
346
|
- `0.1.1`: image observations are now validated before session persistence, preventing broken `ImageMessage` entries from poisoning later turns.
|
|
346
347
|
|
|
347
348
|
## Safety notes
|
|
@@ -8,6 +8,11 @@ from codex_agent.message import DeveloperMessage
|
|
|
8
8
|
class RecordingConsole(Console):
|
|
9
9
|
def __init__(self):
|
|
10
10
|
super().__init__(record=True, width=160)
|
|
11
|
+
self.clear_count = 0
|
|
12
|
+
|
|
13
|
+
def clear(self, *args, **kwargs):
|
|
14
|
+
self.clear_count += 1
|
|
15
|
+
return super().clear(*args, **kwargs)
|
|
11
16
|
|
|
12
17
|
|
|
13
18
|
def test_agent_context_status_is_lightweight_and_does_not_call_providers():
|
|
@@ -45,3 +50,14 @@ def test_terminal_chat_status_bar_renders_context_summary():
|
|
|
45
50
|
assert "hist" in output
|
|
46
51
|
assert "msgs" in output
|
|
47
52
|
assert "mem" in output
|
|
53
|
+
|
|
54
|
+
def test_terminal_chat_clear_screen_does_not_touch_agent_session():
|
|
55
|
+
agent = Agent(session="new", voice_enabled=False)
|
|
56
|
+
initial_count = len(agent.session.messages)
|
|
57
|
+
console = RecordingConsole()
|
|
58
|
+
chat = TerminalChat(agent, console=console)
|
|
59
|
+
|
|
60
|
+
chat.clear_screen()
|
|
61
|
+
|
|
62
|
+
assert console.clear_count == 1
|
|
63
|
+
assert len(agent.session.messages) == initial_count
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{codex_agent_framework-0.1.1 → codex_agent_framework-0.1.2}/codex_agent/builtin_providers.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{codex_agent_framework-0.1.1 → codex_agent_framework-0.1.2}/codex_agent/get_text/__init__.py
RENAMED
|
File without changes
|
{codex_agent_framework-0.1.1 → codex_agent_framework-0.1.2}/codex_agent/get_text/default_gitignore
RENAMED
|
File without changes
|
{codex_agent_framework-0.1.1 → codex_agent_framework-0.1.2}/codex_agent/get_text/get_text.py
RENAMED
|
File without changes
|
{codex_agent_framework-0.1.1 → codex_agent_framework-0.1.2}/codex_agent/get_text/simpler_get_text.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{codex_agent_framework-0.1.1 → codex_agent_framework-0.1.2}/codex_agent/prompts/system_prompt.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|