agentenv-framework-protocol 0.1.542__tar.gz → 0.1.544__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.542 → agentenv_framework_protocol-0.1.544}/PKG-INFO +1 -1
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/pyproject.toml +1 -1
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/dataplane.py +3 -2
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/serve.py +4 -1
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/serve_app.py +5 -1
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/transfers.py +25 -3
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_a2a_object_transfers.py +57 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/.gitignore +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/LICENSE +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/NOTICE +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/README.md +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/THIRD_PARTY_NOTICES.md +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/examples/__init__.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/examples/advanced_agent.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/examples/basic_agent.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/examples/custom_extensions_agent.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/examples/multimodal_agent.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/examples/reference_model.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/examples/streaming_agent.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/examples/website/notes/.gitignore +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/examples/website/notes/Dockerfile +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/examples/website/notes/Dockerfile.dockerignore +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/examples/website/notes/README.md +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/examples/website/notes/data/seed.json +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/examples/website/notes/env.toml +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/examples/website/notes/site.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/examples/website/notes/web/index.html +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/examples/website/notes/web/package-lock.json +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/examples/website/notes/web/package.json +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/examples/website/notes/web/src/main.js +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/examples/website/notes/web/src/style.css +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/examples/website/notes/web/vite.config.js +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/__init__.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/a2a_agent/__init__.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/a2a_agent/_trajectory_log.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/a2a_agent/_triggers.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/a2a_agent/extensions.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/a2a_agent/framework.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/a2a_agent/peer_agents.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/a2a_agent/proxy.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/a2a_agent/registry.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/a2a_agent/staging.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/a2a_agent/tasks/__init__.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/a2a_agent/tasks/v1.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/agent_env_environment.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/client.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/__init__.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/_declare.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/_desktop.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/_job.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/_linux.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/_load.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/_macos.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/_reaping.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/_session_posix.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/_session_windows.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/_windows.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/_with_fds.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/_x11.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/app.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/app_data.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/app_runtime.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/apps.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/card.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/checks.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/clock.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/conformance/__init__.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/conformance/__main__.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/conformance/checks.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/conformance/client.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/conformance/desk.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/conformance/fixture.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/conformance/mp4.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/conformance/page_fixture.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/conformance/report.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/conformance/wayland_fixture.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/driver.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/errors.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/extensions.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/frames.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/keys.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/launch.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/manifest.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/operations.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/platform.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/prefix.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/queue.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/recording.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/results.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/run_install_step.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/runtime.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/seed.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/served.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/session.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/settings.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/skill.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/spaces.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/svc.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/tools.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/errors.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/manifest.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/preflight.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/tool_access.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/tool_client.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/tool_context.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/types.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/website/__init__.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/website/clock.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/website/conformance.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/website/environment.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/website/errors.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/website/readiness.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/website/routes.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/website/session.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/website_browser/__init__.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/website_browser/cdp.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/website_browser/contexts.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/website_browser/control.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/website_browser/data.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/website_browser/devtools.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/website_browser/environment.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/website_browser/log.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/website_browser/network.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/website_browser/recording.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/website_browser/scope.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/website_browser/shapes.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/computer_fake.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/probe_fake.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_a2a_agent.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_a2a_agent_examples.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_a2a_cdp_config.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_a2a_peer_agents.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_a2a_proxy.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_a2a_staging.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_a2a_trajectory_log.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_agent_env_environment.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_browser_cdp.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_browser_contexts.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_browser_data.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_browser_log.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_browser_network.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_browser_recording.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_browser_state.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_client.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_computer_app_data.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_computer_app_server.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_computer_clock.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_computer_conformance.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_computer_conformance_checks.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_computer_conformance_page.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_computer_conformance_recording.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_computer_dataplane.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_computer_declare.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_computer_driver.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_computer_driver_keys.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_computer_extensions.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_computer_frames.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_computer_macos.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_computer_page.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_computer_queue.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_computer_recording.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_computer_seed.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_computer_serve.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_computer_served.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_computer_session_windows.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_computer_spaces.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_computer_svc_forward.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_computer_tool_prefix.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_computer_windows_driver.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_control_token.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_data_objects.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_devtools_pipe.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_errors.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_extension_methods.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_intake.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_manifest.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_preflight.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_tool_access.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_tool_annotations.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_tool_client.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_tool_context.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_tool_context_fastmcp.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_tool_context_injection.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_website_api.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_website_browser.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_website_conformance.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_website_environment.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_website_live.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_website_mcp.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_website_notes_example.py +0 -0
- {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_website_readiness.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.544
|
|
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
|
|
@@ -15,7 +15,8 @@ import httpx
|
|
|
15
15
|
from pydantic import TypeAdapter, ValidationError
|
|
16
16
|
|
|
17
17
|
from ..agent_env_environment import add_data, get_data
|
|
18
|
-
from ..transfers import NamespaceUploader, ReadObject, RelativePath, TransferError, WriteNamespaceGrant,
|
|
18
|
+
from ..transfers import (NamespaceUploader, ReadObject, RelativePath, TransferError, WriteNamespaceGrant, client_options,
|
|
19
|
+
download)
|
|
19
20
|
from ..types import DATA_OBJECTS_EXTENSION_URI, FilePart, FileWithBytes, FileWithUri, uploaded_file_part, uploaded_object_path
|
|
20
21
|
|
|
21
22
|
if TYPE_CHECKING:
|
|
@@ -115,7 +116,7 @@ async def _get_url(file: FileWithUri) -> bytes:
|
|
|
115
116
|
if not file.uri.startswith("https://"):
|
|
116
117
|
raise ValueError("a file part's uri is an https URL")
|
|
117
118
|
data = bytearray()
|
|
118
|
-
async with httpx.AsyncClient(follow_redirects=True, timeout=60) as client:
|
|
119
|
+
async with httpx.AsyncClient(follow_redirects=True, timeout=60, **client_options()) as client:
|
|
119
120
|
async with client.stream("GET", file.uri) as response:
|
|
120
121
|
response.raise_for_status()
|
|
121
122
|
async for chunk in response.aiter_bytes():
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
"""Serve a computer driver from its file, as a composed computer's program starts it:
|
|
2
2
|
``python -m agentenv_protocol.computer.serve <file>:<Class>``, run in the driver's folder, serves the class on
|
|
3
|
-
``MCP_PORT``. The file's folder is importable, so it may import its own modules.
|
|
3
|
+
``MCP_PORT``. The file's folder is importable, so it may import its own modules. The driver runs on real time, so its
|
|
4
|
+
own transfers reach the object store directly, not through the computer's egress proxy (``transfers.direct``)."""
|
|
4
5
|
from __future__ import annotations
|
|
5
6
|
|
|
6
7
|
import sys
|
|
7
8
|
from pathlib import Path
|
|
8
9
|
|
|
10
|
+
from .. import transfers
|
|
9
11
|
from ._load import load_class
|
|
10
12
|
from .driver import ComputerDriverEnvironment
|
|
11
13
|
|
|
@@ -16,6 +18,7 @@ def main(argv: list[str]) -> None:
|
|
|
16
18
|
if len(argv) != 1 or ":" not in argv[0]:
|
|
17
19
|
raise SystemExit(USAGE)
|
|
18
20
|
file, _, name = argv[0].partition(":")
|
|
21
|
+
transfers.direct()
|
|
19
22
|
driver_class(Path(file), name)().serve()
|
|
20
23
|
|
|
21
24
|
|
|
@@ -5,7 +5,9 @@
|
|
|
5
5
|
(``CONTROL_TOKEN_ENV``): the driver checks it in front of the app. Before it serves, it keeps a copy of
|
|
6
6
|
the app's data paths as installed, which a reset puts back; once it serves, it adds the app's launcher and launches a
|
|
7
7
|
boot app (``AppRuntime.start``). A server that can't start, or whose start fails once it serves, writes why to
|
|
8
|
-
``.agentenv/server.failure``, which its computer's driver reports, and exits.
|
|
8
|
+
``.agentenv/server.failure``, which its computer's driver reports, and exits. It runs on real time, so its own
|
|
9
|
+
transfers reach the object store directly, not through the computer's egress proxy (``transfers.direct``). Needs the
|
|
10
|
+
``app`` extra."""
|
|
9
11
|
from __future__ import annotations
|
|
10
12
|
|
|
11
13
|
import asyncio
|
|
@@ -17,6 +19,7 @@ from pathlib import Path
|
|
|
17
19
|
|
|
18
20
|
import uvicorn
|
|
19
21
|
|
|
22
|
+
from .. import transfers
|
|
20
23
|
from ..types import CONTROL_TOKEN_ENV
|
|
21
24
|
from ._load import load_class
|
|
22
25
|
from .app import FAILURE, ComputerAppEnvironment
|
|
@@ -27,6 +30,7 @@ USAGE = "usage: python -m agentenv_protocol.computer.serve_app <file>:<Class>"
|
|
|
27
30
|
|
|
28
31
|
def main(argv: list[str]) -> None:
|
|
29
32
|
FAILURE.unlink(missing_ok=True)
|
|
33
|
+
transfers.direct()
|
|
30
34
|
try:
|
|
31
35
|
_serve(argv)
|
|
32
36
|
except (Exception, SystemExit) as e:
|
|
@@ -46,6 +46,28 @@ _TRANSFER_TIMEOUT = httpx.Timeout(
|
|
|
46
46
|
write=TRANSFER_IDLE_TIMEOUT_SECONDS,
|
|
47
47
|
pool=_CONNECT_TIMEOUT_SECONDS,
|
|
48
48
|
)
|
|
49
|
+
#: Whether this process's transfers take a proxy from the environment's settings. A computer's own servers turn it
|
|
50
|
+
#: off (``direct``): they run on real time and reach the object store directly, while the programs they start keep
|
|
51
|
+
#: the settings that send them through the computer's egress proxy.
|
|
52
|
+
_proxy_from_environment = True
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
def direct() -> None:
|
|
56
|
+
"""Have this process's transfers reach their objects directly, whatever proxy the environment names; the
|
|
57
|
+
environment, and so every process this one starts, keeps it."""
|
|
58
|
+
global _proxy_from_environment
|
|
59
|
+
_proxy_from_environment = False
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
def client_options() -> dict:
|
|
63
|
+
"""The options a transfer's HTTP client takes: none, or for a ``direct`` process, no proxy from the environment
|
|
64
|
+
but still its certificates (``SSL_CERT_FILE``, ``SSL_CERT_DIR``), since httpx takes both from it or neither and a
|
|
65
|
+
local store's CA is trusted through them."""
|
|
66
|
+
if _proxy_from_environment:
|
|
67
|
+
return {}
|
|
68
|
+
return {"trust_env": False, "verify": httpx.create_ssl_context(trust_env=True)}
|
|
69
|
+
|
|
70
|
+
|
|
49
71
|
# The longest the helpers take to give up on a transfer whose every connection stalls.
|
|
50
72
|
TRANSFER_STALL_BUDGET_SECONDS = TRANSFER_ATTEMPTS * (
|
|
51
73
|
_CONNECT_TIMEOUT_SECONDS + TRANSFER_IDLE_TIMEOUT_SECONDS
|
|
@@ -483,7 +505,7 @@ async def upload(target: WriteObject, source: Path | bytes) -> Uploaded:
|
|
|
483
505
|
async def put() -> Uploaded:
|
|
484
506
|
with _transfer_request(target.write.expires_at):
|
|
485
507
|
async with httpx.AsyncClient(
|
|
486
|
-
follow_redirects=False, timeout=_TRANSFER_TIMEOUT
|
|
508
|
+
follow_redirects=False, timeout=_TRANSFER_TIMEOUT, **client_options()
|
|
487
509
|
) as client:
|
|
488
510
|
|
|
489
511
|
async def to(url: str) -> Uploaded:
|
|
@@ -519,7 +541,7 @@ async def download(source: ReadObject, destination: Path) -> None:
|
|
|
519
541
|
digest = hashlib.sha256()
|
|
520
542
|
with _transfer_request(source.read.expires_at):
|
|
521
543
|
async with httpx.AsyncClient(
|
|
522
|
-
follow_redirects=False, timeout=_TRANSFER_TIMEOUT
|
|
544
|
+
follow_redirects=False, timeout=_TRANSFER_TIMEOUT, **client_options()
|
|
523
545
|
) as client:
|
|
524
546
|
response = await _send_to_first_listening(
|
|
525
547
|
urls,
|
|
@@ -571,7 +593,7 @@ def _post_to_namespace(
|
|
|
571
593
|
fields.setdefault("Content-Type", "application/octet-stream")
|
|
572
594
|
with (
|
|
573
595
|
_transfer_request(target.expires_at),
|
|
574
|
-
httpx.Client(follow_redirects=False, timeout=_TRANSFER_TIMEOUT) as client,
|
|
596
|
+
httpx.Client(follow_redirects=False, timeout=_TRANSFER_TIMEOUT, **client_options()) as client,
|
|
575
597
|
):
|
|
576
598
|
|
|
577
599
|
def to(url: str) -> Uploaded:
|
|
@@ -1143,3 +1143,60 @@ def test_the_sdk_server_reaches_its_staging_on_the_port_it_took_the_request_on(
|
|
|
1143
1143
|
|
|
1144
1144
|
assert sent == [f"http://127.0.0.1:8456{_STAGED}"]
|
|
1145
1145
|
assert transfers.loopback_url(write.write.url, write.write.headers) == f"http://127.0.0.1:9999{_STAGED}"
|
|
1146
|
+
|
|
1147
|
+
|
|
1148
|
+
@pytest.mark.asyncio
|
|
1149
|
+
async def test_a_process_made_direct_takes_no_proxy_from_the_environment_but_still_its_certificates(
|
|
1150
|
+
monkeypatch: pytest.MonkeyPatch, tmp_path: Path
|
|
1151
|
+
) -> None:
|
|
1152
|
+
from cryptography import x509
|
|
1153
|
+
from cryptography.hazmat.primitives import hashes, serialization
|
|
1154
|
+
from cryptography.hazmat.primitives.asymmetric import ec
|
|
1155
|
+
from cryptography.x509.oid import NameOID
|
|
1156
|
+
|
|
1157
|
+
key = ec.generate_private_key(ec.SECP256R1())
|
|
1158
|
+
name = x509.Name([x509.NameAttribute(NameOID.COMMON_NAME, "local grant server CA")])
|
|
1159
|
+
ca = (x509.CertificateBuilder().subject_name(name).issuer_name(name).public_key(key.public_key())
|
|
1160
|
+
.serial_number(1).not_valid_before(datetime(2020, 1, 1, tzinfo=_UTC))
|
|
1161
|
+
.not_valid_after(datetime(2040, 1, 1, tzinfo=_UTC))
|
|
1162
|
+
.add_extension(x509.BasicConstraints(ca=True, path_length=None), critical=True)
|
|
1163
|
+
.sign(key, hashes.SHA256()))
|
|
1164
|
+
(tmp_path / "ca.pem").write_bytes(ca.public_bytes(serialization.Encoding.PEM))
|
|
1165
|
+
monkeypatch.setenv("SSL_CERT_FILE", str(tmp_path / "ca.pem"))
|
|
1166
|
+
made = []
|
|
1167
|
+
|
|
1168
|
+
def recording(real):
|
|
1169
|
+
def make(**kwargs):
|
|
1170
|
+
made.append(kwargs)
|
|
1171
|
+
return real(transport=httpx.MockTransport(lambda request: httpx.Response(200)), **kwargs)
|
|
1172
|
+
|
|
1173
|
+
return make
|
|
1174
|
+
|
|
1175
|
+
monkeypatch.setattr(transfers.httpx, "AsyncClient", recording(httpx.AsyncClient))
|
|
1176
|
+
monkeypatch.setattr(transfers, "_proxy_from_environment", True)
|
|
1177
|
+
await upload(_write_object(), _write(tmp_path / "before.json", b"{}"))
|
|
1178
|
+
transfers.direct()
|
|
1179
|
+
await upload(_write_object(), _write(tmp_path / "after.json", b"{}"))
|
|
1180
|
+
|
|
1181
|
+
assert "trust_env" not in made[0] and made[1]["trust_env"] is False
|
|
1182
|
+
trusted = {dict(item[0] for item in cert["subject"])["commonName"] for cert in made[1]["verify"].get_ca_certs()}
|
|
1183
|
+
assert "local grant server CA" in trusted
|
|
1184
|
+
|
|
1185
|
+
|
|
1186
|
+
def test_a_computers_own_servers_make_their_transfers_direct(monkeypatch: pytest.MonkeyPatch) -> None:
|
|
1187
|
+
from agentenv_protocol.computer import serve, serve_app
|
|
1188
|
+
|
|
1189
|
+
seen = []
|
|
1190
|
+
|
|
1191
|
+
class Driver:
|
|
1192
|
+
def serve(self) -> None:
|
|
1193
|
+
seen.append(transfers.client_options().get("trust_env", True))
|
|
1194
|
+
|
|
1195
|
+
monkeypatch.setattr(transfers, "_proxy_from_environment", True)
|
|
1196
|
+
monkeypatch.setattr(serve, "driver_class", lambda file, name: Driver)
|
|
1197
|
+
serve.main(["driver.py:Driver"])
|
|
1198
|
+
monkeypatch.setattr(transfers, "_proxy_from_environment", True)
|
|
1199
|
+
monkeypatch.setattr(serve_app, "_serve", lambda argv: seen.append(transfers.client_options().get("trust_env", True)))
|
|
1200
|
+
serve_app.main(["app.py:App"])
|
|
1201
|
+
|
|
1202
|
+
assert seen == [False, False]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/THIRD_PARTY_NOTICES.md
RENAMED
|
File without changes
|
{agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/examples/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/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
|
|
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.542 → agentenv_framework_protocol-0.1.544}/tests/computer_fake.py
RENAMED
|
File without changes
|
{agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/probe_fake.py
RENAMED
|
File without changes
|
{agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_a2a_agent.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_a2a_proxy.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
|
{agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/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
|
|
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.542 → agentenv_framework_protocol-0.1.544}/tests/test_errors.py
RENAMED
|
File without changes
|
|
File without changes
|
{agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_intake.py
RENAMED
|
File without changes
|
{agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_manifest.py
RENAMED
|
File without changes
|
{agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|