optio-codex 0.4.6__tar.gz → 0.4.8__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.
- {optio_codex-0.4.6 → optio_codex-0.4.8}/PKG-INFO +3 -3
- {optio_codex-0.4.6 → optio_codex-0.4.8}/pyproject.toml +3 -3
- {optio_codex-0.4.6 → optio_codex-0.4.8}/src/optio_codex/session.py +9 -2
- {optio_codex-0.4.6 → optio_codex-0.4.8}/src/optio_codex.egg-info/PKG-INFO +3 -3
- {optio_codex-0.4.6 → optio_codex-0.4.8}/src/optio_codex.egg-info/requires.txt +2 -2
- {optio_codex-0.4.6 → optio_codex-0.4.8}/tests/test_config_hooks.py +2 -2
- {optio_codex-0.4.6 → optio_codex-0.4.8}/README.md +0 -0
- {optio_codex-0.4.6 → optio_codex-0.4.8}/setup.cfg +0 -0
- {optio_codex-0.4.6 → optio_codex-0.4.8}/src/optio_codex/__init__.py +0 -0
- {optio_codex-0.4.6 → optio_codex-0.4.8}/src/optio_codex/account.py +0 -0
- {optio_codex-0.4.6 → optio_codex-0.4.8}/src/optio_codex/conversation.py +0 -0
- {optio_codex-0.4.6 → optio_codex-0.4.8}/src/optio_codex/conversation_listener.py +0 -0
- {optio_codex-0.4.6 → optio_codex-0.4.8}/src/optio_codex/cred_watcher.py +0 -0
- {optio_codex-0.4.6 → optio_codex-0.4.8}/src/optio_codex/fs_allowlist.py +0 -0
- {optio_codex-0.4.6 → optio_codex-0.4.8}/src/optio_codex/host_actions.py +0 -0
- {optio_codex-0.4.6 → optio_codex-0.4.8}/src/optio_codex/info.py +0 -0
- {optio_codex-0.4.6 → optio_codex-0.4.8}/src/optio_codex/models.py +0 -0
- {optio_codex-0.4.6 → optio_codex-0.4.8}/src/optio_codex/prompt.py +0 -0
- {optio_codex-0.4.6 → optio_codex-0.4.8}/src/optio_codex/rollout.py +0 -0
- {optio_codex-0.4.6 → optio_codex-0.4.8}/src/optio_codex/seed_manifest.py +0 -0
- {optio_codex-0.4.6 → optio_codex-0.4.8}/src/optio_codex/snapshots.py +0 -0
- {optio_codex-0.4.6 → optio_codex-0.4.8}/src/optio_codex/todos.py +0 -0
- {optio_codex-0.4.6 → optio_codex-0.4.8}/src/optio_codex/types.py +0 -0
- {optio_codex-0.4.6 → optio_codex-0.4.8}/src/optio_codex/verify.py +0 -0
- {optio_codex-0.4.6 → optio_codex-0.4.8}/src/optio_codex.egg-info/SOURCES.txt +0 -0
- {optio_codex-0.4.6 → optio_codex-0.4.8}/src/optio_codex.egg-info/dependency_links.txt +0 -0
- {optio_codex-0.4.6 → optio_codex-0.4.8}/src/optio_codex.egg-info/top_level.txt +0 -0
- {optio_codex-0.4.6 → optio_codex-0.4.8}/tests/test_account.py +0 -0
- {optio_codex-0.4.6 → optio_codex-0.4.8}/tests/test_agent_info.py +0 -0
- {optio_codex-0.4.6 → optio_codex-0.4.8}/tests/test_auto_start_prompt.py +0 -0
- {optio_codex-0.4.6 → optio_codex-0.4.8}/tests/test_await_codex_gone.py +0 -0
- {optio_codex-0.4.6 → optio_codex-0.4.8}/tests/test_claustrum.py +0 -0
- {optio_codex-0.4.6 → optio_codex-0.4.8}/tests/test_codex_cache.py +0 -0
- {optio_codex-0.4.6 → optio_codex-0.4.8}/tests/test_config.py +0 -0
- {optio_codex-0.4.6 → optio_codex-0.4.8}/tests/test_conversation.py +0 -0
- {optio_codex-0.4.6 → optio_codex-0.4.8}/tests/test_conversation_controls.py +0 -0
- {optio_codex-0.4.6 → optio_codex-0.4.8}/tests/test_conversation_listener.py +0 -0
- {optio_codex-0.4.6 → optio_codex-0.4.8}/tests/test_cred_watcher.py +0 -0
- {optio_codex-0.4.6 → optio_codex-0.4.8}/tests/test_file_download.py +0 -0
- {optio_codex-0.4.6 → optio_codex-0.4.8}/tests/test_file_upload.py +0 -0
- {optio_codex-0.4.6 → optio_codex-0.4.8}/tests/test_fs_allowlist.py +0 -0
- {optio_codex-0.4.6 → optio_codex-0.4.8}/tests/test_host_actions.py +0 -0
- {optio_codex-0.4.6 → optio_codex-0.4.8}/tests/test_import.py +0 -0
- {optio_codex-0.4.6 → optio_codex-0.4.8}/tests/test_input_wiring.py +0 -0
- {optio_codex-0.4.6 → optio_codex-0.4.8}/tests/test_kill_ttyd_by_socket.py +0 -0
- {optio_codex-0.4.6 → optio_codex-0.4.8}/tests/test_models.py +0 -0
- {optio_codex-0.4.6 → optio_codex-0.4.8}/tests/test_prompt.py +0 -0
- {optio_codex-0.4.6 → optio_codex-0.4.8}/tests/test_real_codex_conversation.py +0 -0
- {optio_codex-0.4.6 → optio_codex-0.4.8}/tests/test_real_codex_seed_resume.py +0 -0
- {optio_codex-0.4.6 → optio_codex-0.4.8}/tests/test_real_codex_session.py +0 -0
- {optio_codex-0.4.6 → optio_codex-0.4.8}/tests/test_rollout.py +0 -0
- {optio_codex-0.4.6 → optio_codex-0.4.8}/tests/test_sandbox_enforce.py +0 -0
- {optio_codex-0.4.6 → optio_codex-0.4.8}/tests/test_seed_manifest.py +0 -0
- {optio_codex-0.4.6 → optio_codex-0.4.8}/tests/test_session_conversation.py +0 -0
- {optio_codex-0.4.6 → optio_codex-0.4.8}/tests/test_session_lease.py +0 -0
- {optio_codex-0.4.6 → optio_codex-0.4.8}/tests/test_session_local.py +0 -0
- {optio_codex-0.4.6 → optio_codex-0.4.8}/tests/test_session_remote.py +0 -0
- {optio_codex-0.4.6 → optio_codex-0.4.8}/tests/test_session_resume.py +0 -0
- {optio_codex-0.4.6 → optio_codex-0.4.8}/tests/test_session_sandbox.py +0 -0
- {optio_codex-0.4.6 → optio_codex-0.4.8}/tests/test_session_seed.py +0 -0
- {optio_codex-0.4.6 → optio_codex-0.4.8}/tests/test_snapshots.py +0 -0
- {optio_codex-0.4.6 → optio_codex-0.4.8}/tests/test_teardown_session_tree.py +0 -0
- {optio_codex-0.4.6 → optio_codex-0.4.8}/tests/test_todos.py +0 -0
- {optio_codex-0.4.6 → optio_codex-0.4.8}/tests/test_verify.py +0 -0
- {optio_codex-0.4.6 → optio_codex-0.4.8}/tests/test_workdir_trust.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: optio-codex
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.8
|
|
4
4
|
Summary: Run OpenAI Codex as an optio task; local subprocess; ttyd-served TUI iframe.
|
|
5
5
|
Author-email: Kristof Csillag <kristof.csillag@deai-labs.com>
|
|
6
6
|
License-Expression: Apache-2.0
|
|
@@ -20,8 +20,8 @@ Classifier: Topic :: Software Development :: Code Generators
|
|
|
20
20
|
Classifier: Framework :: AsyncIO
|
|
21
21
|
Requires-Python: >=3.11
|
|
22
22
|
Description-Content-Type: text/markdown
|
|
23
|
-
Requires-Dist: optio-core<0.
|
|
24
|
-
Requires-Dist: optio-host<0.
|
|
23
|
+
Requires-Dist: optio-core<0.8,>=0.7
|
|
24
|
+
Requires-Dist: optio-host<0.5,>=0.4
|
|
25
25
|
Requires-Dist: optio-agents<0.8,>=0.7
|
|
26
26
|
Requires-Dist: asyncssh>=2.14
|
|
27
27
|
Requires-Dist: aiohttp>=3.9
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "optio-codex"
|
|
7
|
-
version = "0.4.
|
|
7
|
+
version = "0.4.8"
|
|
8
8
|
description = "Run OpenAI Codex as an optio task; local subprocess; ttyd-served TUI iframe."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = "Apache-2.0"
|
|
@@ -26,8 +26,8 @@ classifiers = [
|
|
|
26
26
|
"Framework :: AsyncIO",
|
|
27
27
|
]
|
|
28
28
|
dependencies = [
|
|
29
|
-
"optio-core>=0.
|
|
30
|
-
"optio-host>=0.
|
|
29
|
+
"optio-core>=0.7,<0.8",
|
|
30
|
+
"optio-host>=0.4,<0.5",
|
|
31
31
|
"optio-agents>=0.7,<0.8",
|
|
32
32
|
"asyncssh>=2.14",
|
|
33
33
|
"aiohttp>=3.9",
|
|
@@ -1012,13 +1012,20 @@ async def _capture_snapshot(
|
|
|
1012
1012
|
``session_blob_decrypt`` unwraps it on the restore read.
|
|
1013
1013
|
"""
|
|
1014
1014
|
exclude = effective_workdir_exclude(workdir_exclude)
|
|
1015
|
+
|
|
1016
|
+
# The capture-cap decision's one-line note (at most one per capture) has
|
|
1017
|
+
# no process-log handle at the host layer, so it is forwarded here
|
|
1018
|
+
# through ctx.report_progress, same as every other milestone line.
|
|
1019
|
+
def _on_note(note: str, level: str) -> None:
|
|
1020
|
+
ctx.report_progress(None, note, level=level)
|
|
1021
|
+
|
|
1015
1022
|
async with ctx.store_blob("workdir") as wwriter:
|
|
1016
1023
|
if session_blob_encrypt is None:
|
|
1017
|
-
async for chunk in host.archive_workdir(exclude):
|
|
1024
|
+
async for chunk in host.archive_workdir(exclude, on_note=_on_note):
|
|
1018
1025
|
await wwriter.write(chunk)
|
|
1019
1026
|
else:
|
|
1020
1027
|
buf = bytearray()
|
|
1021
|
-
async for chunk in host.archive_workdir(exclude):
|
|
1028
|
+
async for chunk in host.archive_workdir(exclude, on_note=_on_note):
|
|
1022
1029
|
buf.extend(chunk)
|
|
1023
1030
|
await wwriter.write(session_blob_encrypt(bytes(buf)))
|
|
1024
1031
|
workdir_blob_id = wwriter.file_id
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: optio-codex
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.8
|
|
4
4
|
Summary: Run OpenAI Codex as an optio task; local subprocess; ttyd-served TUI iframe.
|
|
5
5
|
Author-email: Kristof Csillag <kristof.csillag@deai-labs.com>
|
|
6
6
|
License-Expression: Apache-2.0
|
|
@@ -20,8 +20,8 @@ Classifier: Topic :: Software Development :: Code Generators
|
|
|
20
20
|
Classifier: Framework :: AsyncIO
|
|
21
21
|
Requires-Python: >=3.11
|
|
22
22
|
Description-Content-Type: text/markdown
|
|
23
|
-
Requires-Dist: optio-core<0.
|
|
24
|
-
Requires-Dist: optio-host<0.
|
|
23
|
+
Requires-Dist: optio-core<0.8,>=0.7
|
|
24
|
+
Requires-Dist: optio-host<0.5,>=0.4
|
|
25
25
|
Requires-Dist: optio-agents<0.8,>=0.7
|
|
26
26
|
Requires-Dist: asyncssh>=2.14
|
|
27
27
|
Requires-Dist: aiohttp>=3.9
|
|
@@ -142,7 +142,7 @@ async def test_capture_snapshot_writes_through_session_blob_encrypt(monkeypatch)
|
|
|
142
142
|
|
|
143
143
|
workdir_tar = b"codex-workdir-tar-with-home-dot-codex"
|
|
144
144
|
|
|
145
|
-
async def _fake_archive(_excl):
|
|
145
|
+
async def _fake_archive(_excl, *, on_note=None):
|
|
146
146
|
# Emit in two chunks to prove the encrypt path buffers whole.
|
|
147
147
|
yield workdir_tar[:10]
|
|
148
148
|
yield workdir_tar[10:]
|
|
@@ -179,7 +179,7 @@ async def test_capture_snapshot_plaintext_streams_unwrapped(monkeypatch):
|
|
|
179
179
|
fake_ctx.mark_has_saved_state = AsyncMock()
|
|
180
180
|
fake_ctx.process_id = "pid-x"
|
|
181
181
|
|
|
182
|
-
async def _fake_archive(_excl):
|
|
182
|
+
async def _fake_archive(_excl, *, on_note=None):
|
|
183
183
|
yield b"plain-workdir"
|
|
184
184
|
|
|
185
185
|
fake_host = MagicMock()
|
|
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
|
|
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
|
|
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
|