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.
Files changed (191) hide show
  1. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/PKG-INFO +1 -1
  2. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/pyproject.toml +1 -1
  3. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/dataplane.py +3 -2
  4. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/serve.py +4 -1
  5. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/serve_app.py +5 -1
  6. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/transfers.py +25 -3
  7. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_a2a_object_transfers.py +57 -0
  8. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/.gitignore +0 -0
  9. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/LICENSE +0 -0
  10. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/NOTICE +0 -0
  11. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/README.md +0 -0
  12. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/THIRD_PARTY_NOTICES.md +0 -0
  13. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/examples/__init__.py +0 -0
  14. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/examples/advanced_agent.py +0 -0
  15. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/examples/basic_agent.py +0 -0
  16. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/examples/custom_extensions_agent.py +0 -0
  17. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/examples/multimodal_agent.py +0 -0
  18. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/examples/reference_model.py +0 -0
  19. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/examples/streaming_agent.py +0 -0
  20. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/examples/website/notes/.gitignore +0 -0
  21. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/examples/website/notes/Dockerfile +0 -0
  22. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/examples/website/notes/Dockerfile.dockerignore +0 -0
  23. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/examples/website/notes/README.md +0 -0
  24. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/examples/website/notes/data/seed.json +0 -0
  25. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/examples/website/notes/env.toml +0 -0
  26. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/examples/website/notes/site.py +0 -0
  27. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/examples/website/notes/web/index.html +0 -0
  28. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/examples/website/notes/web/package-lock.json +0 -0
  29. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/examples/website/notes/web/package.json +0 -0
  30. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/examples/website/notes/web/src/main.js +0 -0
  31. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/examples/website/notes/web/src/style.css +0 -0
  32. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/examples/website/notes/web/vite.config.js +0 -0
  33. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/__init__.py +0 -0
  34. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/a2a_agent/__init__.py +0 -0
  35. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/a2a_agent/_trajectory_log.py +0 -0
  36. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/a2a_agent/_triggers.py +0 -0
  37. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/a2a_agent/extensions.py +0 -0
  38. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/a2a_agent/framework.py +0 -0
  39. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/a2a_agent/peer_agents.py +0 -0
  40. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/a2a_agent/proxy.py +0 -0
  41. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/a2a_agent/registry.py +0 -0
  42. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/a2a_agent/staging.py +0 -0
  43. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/a2a_agent/tasks/__init__.py +0 -0
  44. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/a2a_agent/tasks/v1.py +0 -0
  45. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/agent_env_environment.py +0 -0
  46. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/client.py +0 -0
  47. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/__init__.py +0 -0
  48. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/_declare.py +0 -0
  49. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/_desktop.py +0 -0
  50. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/_job.py +0 -0
  51. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/_linux.py +0 -0
  52. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/_load.py +0 -0
  53. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/_macos.py +0 -0
  54. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/_reaping.py +0 -0
  55. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/_session_posix.py +0 -0
  56. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/_session_windows.py +0 -0
  57. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/_windows.py +0 -0
  58. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/_with_fds.py +0 -0
  59. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/_x11.py +0 -0
  60. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/app.py +0 -0
  61. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/app_data.py +0 -0
  62. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/app_runtime.py +0 -0
  63. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/apps.py +0 -0
  64. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/card.py +0 -0
  65. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/checks.py +0 -0
  66. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/clock.py +0 -0
  67. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/conformance/__init__.py +0 -0
  68. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/conformance/__main__.py +0 -0
  69. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/conformance/checks.py +0 -0
  70. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/conformance/client.py +0 -0
  71. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/conformance/desk.py +0 -0
  72. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/conformance/fixture.py +0 -0
  73. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/conformance/mp4.py +0 -0
  74. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/conformance/page_fixture.py +0 -0
  75. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/conformance/report.py +0 -0
  76. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/conformance/wayland_fixture.py +0 -0
  77. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/driver.py +0 -0
  78. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/errors.py +0 -0
  79. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/extensions.py +0 -0
  80. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/frames.py +0 -0
  81. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/keys.py +0 -0
  82. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/launch.py +0 -0
  83. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/manifest.py +0 -0
  84. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/operations.py +0 -0
  85. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/platform.py +0 -0
  86. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/prefix.py +0 -0
  87. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/queue.py +0 -0
  88. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/recording.py +0 -0
  89. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/results.py +0 -0
  90. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/run_install_step.py +0 -0
  91. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/runtime.py +0 -0
  92. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/seed.py +0 -0
  93. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/served.py +0 -0
  94. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/session.py +0 -0
  95. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/settings.py +0 -0
  96. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/skill.py +0 -0
  97. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/spaces.py +0 -0
  98. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/svc.py +0 -0
  99. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/computer/tools.py +0 -0
  100. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/errors.py +0 -0
  101. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/manifest.py +0 -0
  102. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/preflight.py +0 -0
  103. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/tool_access.py +0 -0
  104. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/tool_client.py +0 -0
  105. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/tool_context.py +0 -0
  106. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/types.py +0 -0
  107. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/website/__init__.py +0 -0
  108. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/website/clock.py +0 -0
  109. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/website/conformance.py +0 -0
  110. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/website/environment.py +0 -0
  111. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/website/errors.py +0 -0
  112. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/website/readiness.py +0 -0
  113. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/website/routes.py +0 -0
  114. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/website/session.py +0 -0
  115. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/website_browser/__init__.py +0 -0
  116. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/website_browser/cdp.py +0 -0
  117. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/website_browser/contexts.py +0 -0
  118. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/website_browser/control.py +0 -0
  119. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/website_browser/data.py +0 -0
  120. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/website_browser/devtools.py +0 -0
  121. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/website_browser/environment.py +0 -0
  122. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/website_browser/log.py +0 -0
  123. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/website_browser/network.py +0 -0
  124. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/website_browser/recording.py +0 -0
  125. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/website_browser/scope.py +0 -0
  126. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/src/agentenv_protocol/website_browser/shapes.py +0 -0
  127. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/computer_fake.py +0 -0
  128. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/probe_fake.py +0 -0
  129. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_a2a_agent.py +0 -0
  130. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_a2a_agent_examples.py +0 -0
  131. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_a2a_cdp_config.py +0 -0
  132. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_a2a_peer_agents.py +0 -0
  133. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_a2a_proxy.py +0 -0
  134. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_a2a_staging.py +0 -0
  135. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_a2a_trajectory_log.py +0 -0
  136. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_agent_env_environment.py +0 -0
  137. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_browser_cdp.py +0 -0
  138. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_browser_contexts.py +0 -0
  139. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_browser_data.py +0 -0
  140. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_browser_log.py +0 -0
  141. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_browser_network.py +0 -0
  142. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_browser_recording.py +0 -0
  143. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_browser_state.py +0 -0
  144. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_client.py +0 -0
  145. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_computer_app_data.py +0 -0
  146. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_computer_app_server.py +0 -0
  147. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_computer_clock.py +0 -0
  148. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_computer_conformance.py +0 -0
  149. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_computer_conformance_checks.py +0 -0
  150. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_computer_conformance_page.py +0 -0
  151. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_computer_conformance_recording.py +0 -0
  152. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_computer_dataplane.py +0 -0
  153. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_computer_declare.py +0 -0
  154. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_computer_driver.py +0 -0
  155. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_computer_driver_keys.py +0 -0
  156. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_computer_extensions.py +0 -0
  157. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_computer_frames.py +0 -0
  158. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_computer_macos.py +0 -0
  159. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_computer_page.py +0 -0
  160. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_computer_queue.py +0 -0
  161. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_computer_recording.py +0 -0
  162. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_computer_seed.py +0 -0
  163. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_computer_serve.py +0 -0
  164. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_computer_served.py +0 -0
  165. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_computer_session_windows.py +0 -0
  166. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_computer_spaces.py +0 -0
  167. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_computer_svc_forward.py +0 -0
  168. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_computer_tool_prefix.py +0 -0
  169. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_computer_windows_driver.py +0 -0
  170. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_control_token.py +0 -0
  171. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_data_objects.py +0 -0
  172. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_devtools_pipe.py +0 -0
  173. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_errors.py +0 -0
  174. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_extension_methods.py +0 -0
  175. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_intake.py +0 -0
  176. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_manifest.py +0 -0
  177. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_preflight.py +0 -0
  178. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_tool_access.py +0 -0
  179. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_tool_annotations.py +0 -0
  180. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_tool_client.py +0 -0
  181. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_tool_context.py +0 -0
  182. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_tool_context_fastmcp.py +0 -0
  183. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_tool_context_injection.py +0 -0
  184. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_website_api.py +0 -0
  185. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_website_browser.py +0 -0
  186. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_website_conformance.py +0 -0
  187. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_website_environment.py +0 -0
  188. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_website_live.py +0 -0
  189. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_website_mcp.py +0 -0
  190. {agentenv_framework_protocol-0.1.542 → agentenv_framework_protocol-0.1.544}/tests/test_website_notes_example.py +0 -0
  191. {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.542
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
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "agentenv-framework-protocol"
3
- version = "0.1.542"
3
+ version = "0.1.544"
4
4
  description = "Open data-plane protocol and server SDK for agent environments."
5
5
  readme = "README.md"
6
6
  license = "Apache-2.0"
@@ -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, download
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. Needs the ``app`` extra."""
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]