agentenv-framework-protocol 0.1.415__tar.gz → 0.1.418__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.
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/PKG-INFO +1 -1
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/pyproject.toml +1 -1
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/tests/test_computer_queue.py +10 -6
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/.gitignore +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/LICENSE +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/NOTICE +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/README.md +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/THIRD_PARTY_NOTICES.md +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/examples/__init__.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/examples/advanced_agent.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/examples/basic_agent.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/examples/custom_extensions_agent.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/examples/multimodal_agent.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/examples/reference_model.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/examples/streaming_agent.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/src/agentenv_protocol/__init__.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/src/agentenv_protocol/a2a_agent/__init__.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/src/agentenv_protocol/a2a_agent/_trajectory_log.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/src/agentenv_protocol/a2a_agent/_triggers.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/src/agentenv_protocol/a2a_agent/extensions.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/src/agentenv_protocol/a2a_agent/framework.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/src/agentenv_protocol/a2a_agent/peer_agents.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/src/agentenv_protocol/a2a_agent/proxy.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/src/agentenv_protocol/a2a_agent/registry.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/src/agentenv_protocol/a2a_agent/staging.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/src/agentenv_protocol/a2a_agent/tasks/__init__.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/src/agentenv_protocol/a2a_agent/tasks/v1.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/src/agentenv_protocol/agent_env_environment.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/src/agentenv_protocol/client.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/src/agentenv_protocol/computer/__init__.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/src/agentenv_protocol/computer/_declare.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/src/agentenv_protocol/computer/_linux.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/src/agentenv_protocol/computer/_load.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/src/agentenv_protocol/computer/app.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/src/agentenv_protocol/computer/app_runtime.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/src/agentenv_protocol/computer/apps.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/src/agentenv_protocol/computer/card.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/src/agentenv_protocol/computer/checks.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/src/agentenv_protocol/computer/conformance/__init__.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/src/agentenv_protocol/computer/conformance/__main__.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/src/agentenv_protocol/computer/conformance/checks.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/src/agentenv_protocol/computer/conformance/client.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/src/agentenv_protocol/computer/conformance/fixture.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/src/agentenv_protocol/computer/conformance/mp4.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/src/agentenv_protocol/computer/conformance/report.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/src/agentenv_protocol/computer/dataplane.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/src/agentenv_protocol/computer/driver.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/src/agentenv_protocol/computer/errors.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/src/agentenv_protocol/computer/extensions.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/src/agentenv_protocol/computer/frames.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/src/agentenv_protocol/computer/keys.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/src/agentenv_protocol/computer/launch.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/src/agentenv_protocol/computer/manifest.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/src/agentenv_protocol/computer/operations.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/src/agentenv_protocol/computer/platform.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/src/agentenv_protocol/computer/queue.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/src/agentenv_protocol/computer/recording.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/src/agentenv_protocol/computer/results.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/src/agentenv_protocol/computer/run_install_step.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/src/agentenv_protocol/computer/runtime.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/src/agentenv_protocol/computer/serve.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/src/agentenv_protocol/computer/serve_app.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/src/agentenv_protocol/computer/session.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/src/agentenv_protocol/computer/settings.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/src/agentenv_protocol/computer/skill.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/src/agentenv_protocol/computer/spaces.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/src/agentenv_protocol/computer/tools.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/src/agentenv_protocol/errors.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/src/agentenv_protocol/manifest.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/src/agentenv_protocol/preflight.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/src/agentenv_protocol/tool_access.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/src/agentenv_protocol/tool_client.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/src/agentenv_protocol/tool_context.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/src/agentenv_protocol/transfers.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/src/agentenv_protocol/types.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/tests/computer_fake.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/tests/probe_fake.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/tests/test_a2a_agent.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/tests/test_a2a_agent_examples.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/tests/test_a2a_object_transfers.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/tests/test_a2a_peer_agents.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/tests/test_a2a_proxy.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/tests/test_a2a_staging.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/tests/test_a2a_trajectory_log.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/tests/test_agent_env_environment.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/tests/test_client.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/tests/test_computer_app_server.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/tests/test_computer_conformance.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/tests/test_computer_conformance_checks.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/tests/test_computer_conformance_recording.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/tests/test_computer_dataplane.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/tests/test_computer_declare.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/tests/test_computer_driver.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/tests/test_computer_extensions.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/tests/test_computer_frames.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/tests/test_computer_recording.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/tests/test_computer_serve.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/tests/test_computer_spaces.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/tests/test_data_objects.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/tests/test_errors.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/tests/test_extension_methods.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/tests/test_intake.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/tests/test_manifest.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/tests/test_preflight.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/tests/test_tool_access.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/tests/test_tool_annotations.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/tests/test_tool_client.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/tests/test_tool_context.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/tests/test_tool_context_fastmcp.py +0 -0
- {agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/tests/test_tool_context_injection.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: agentenv-framework-protocol
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.418
|
|
4
4
|
Summary: Open data-plane protocol and server SDK for agent environments.
|
|
5
5
|
Project-URL: Homepage, https://www.agentenvframework.com
|
|
6
6
|
Project-URL: Documentation, https://www.agentenvframework.com/docs
|
|
@@ -338,17 +338,21 @@ async def test_keys_held_past_max_hold_ms_are_released():
|
|
|
338
338
|
|
|
339
339
|
@pytest.mark.asyncio
|
|
340
340
|
async def test_a_second_hold_restarts_the_release_timer():
|
|
341
|
-
|
|
341
|
+
"""Timed by the clock: the keys go up no sooner than max_hold_ms after the second hold was sent, where the first
|
|
342
|
+
hold's timer would have released them 0.3 s sooner, and a slow loop has 1.2 s to land the second hold before it."""
|
|
343
|
+
driver = FakeDriver(settings=ComputerSettings(max_hold_ms=1500))
|
|
342
344
|
async with mcp_session(driver) as session:
|
|
343
345
|
await session.call_tool("computer_keyboard_down", {"keys": ["Alt"]})
|
|
344
|
-
await asyncio.sleep(0.
|
|
346
|
+
await asyncio.sleep(0.3)
|
|
347
|
+
second = time.monotonic()
|
|
345
348
|
await session.call_tool("computer_keyboard_down", {"keys": ["Shift"]})
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
with anyio.fail_after(5):
|
|
349
|
+
both = list(driver.screen.held)
|
|
350
|
+
with anyio.fail_after(10):
|
|
349
351
|
while driver.screen.held:
|
|
350
352
|
await asyncio.sleep(0.01)
|
|
351
|
-
|
|
353
|
+
released = time.monotonic()
|
|
354
|
+
assert both == ["Alt", "Shift"] and driver.screen.log[-1] == ("key_up", ("Shift", "Alt"))
|
|
355
|
+
assert released - second >= 1.5
|
|
352
356
|
|
|
353
357
|
|
|
354
358
|
@pytest.mark.asyncio
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/THIRD_PARTY_NOTICES.md
RENAMED
|
File without changes
|
{agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/examples/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/examples/basic_agent.py
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
|
|
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
|
{agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/tests/computer_fake.py
RENAMED
|
File without changes
|
{agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/tests/probe_fake.py
RENAMED
|
File without changes
|
{agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/tests/test_a2a_agent.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/tests/test_a2a_proxy.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/tests/test_client.py
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
|
{agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/tests/test_errors.py
RENAMED
|
File without changes
|
|
File without changes
|
{agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/tests/test_intake.py
RENAMED
|
File without changes
|
{agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/tests/test_manifest.py
RENAMED
|
File without changes
|
{agentenv_framework_protocol-0.1.415 → agentenv_framework_protocol-0.1.418}/tests/test_preflight.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|