Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/agent_env/agents/agents/claude-code/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# The image installs the newest agentenv-framework-protocol at or above this floor; a release doesn't pin it, so the
# image is built again only when this folder changes. The floor is the first whose Usage gives a turn's counts by
# model (Usage.models); raise it when the agent needs a newer protocol.
agentenv-framework-protocol[agent]>=0.1.640
# image is built again only when this folder changes. The floor is the first whose live atif/1 reads take the header's
# digest and a cursor per sub-agent; raise it when the agent needs a newer protocol.
agentenv-framework-protocol[agent]>=0.1.649
3 changes: 2 additions & 1 deletion tst/unit/agents/claude_code/test_image_contract.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ def test_the_image_installs_the_protocol_alone_from_its_requirements():
requirements = [line for line in (AGENT_DIR / "requirements.txt").read_text().splitlines()
if line and not line.startswith("#")]

assert requirements == ["agentenv-framework-protocol[agent]>=0.1.640"]
assert len(requirements) == 1, requirements
assert re.fullmatch(r"agentenv-framework-protocol\[agent\]>=\d+\.\d+\.\d+", requirements[0]), requirements


def test_the_image_gives_the_model_node_alone_from_a_pinned_image():
Expand Down
4 changes: 3 additions & 1 deletion tst/unit/agents/codex/test_image_contract.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ def test_the_requirements_are_the_protocol_floor_the_config_writer_and_the_ca_bu
requirements = [line for line in (AGENT_DIR / "requirements.txt").read_text().splitlines()
if line and not line.startswith("#")]

assert requirements == ["agentenv-framework-protocol[agent]>=0.1.640", "tomli-w==1.2.0", "certifi"]
protocol, *others = requirements
assert re.fullmatch(r"agentenv-framework-protocol\[agent\]>=\d+\.\d+\.\d+", protocol), requirements
assert others == ["tomli-w==1.2.0", "certifi"], requirements


def test_the_image_gives_the_models_python_the_document_libraries():
Expand Down
Loading