agentenv-framework-protocol 0.1.547__tar.gz → 0.1.548__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 (195) hide show
  1. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/PKG-INFO +1 -1
  2. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/pyproject.toml +1 -1
  3. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/computer/conformance/checks.py +25 -13
  4. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/tests/test_computer_app_server.py +7 -4
  5. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/tests/test_computer_conformance.py +33 -0
  6. agentenv_framework_protocol-0.1.548/tests/test_computer_conformance_attempts.py +55 -0
  7. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/tests/test_computer_conformance_checks.py +10 -1
  8. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/.gitignore +0 -0
  9. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/LICENSE +0 -0
  10. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/NOTICE +0 -0
  11. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/README.md +0 -0
  12. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/THIRD_PARTY_NOTICES.md +0 -0
  13. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/examples/__init__.py +0 -0
  14. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/examples/advanced_agent.py +0 -0
  15. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/examples/basic_agent.py +0 -0
  16. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/examples/custom_extensions_agent.py +0 -0
  17. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/examples/multimodal_agent.py +0 -0
  18. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/examples/reference_model.py +0 -0
  19. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/examples/streaming_agent.py +0 -0
  20. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/examples/website/notes/.gitignore +0 -0
  21. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/examples/website/notes/Dockerfile +0 -0
  22. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/examples/website/notes/Dockerfile.dockerignore +0 -0
  23. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/examples/website/notes/README.md +0 -0
  24. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/examples/website/notes/data/seed.json +0 -0
  25. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/examples/website/notes/env.toml +0 -0
  26. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/examples/website/notes/site.py +0 -0
  27. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/examples/website/notes/web/index.html +0 -0
  28. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/examples/website/notes/web/package-lock.json +0 -0
  29. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/examples/website/notes/web/package.json +0 -0
  30. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/examples/website/notes/web/src/main.js +0 -0
  31. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/examples/website/notes/web/src/style.css +0 -0
  32. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/examples/website/notes/web/vite.config.js +0 -0
  33. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/__init__.py +0 -0
  34. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/a2a_agent/__init__.py +0 -0
  35. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/a2a_agent/_trajectory_log.py +0 -0
  36. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/a2a_agent/_triggers.py +0 -0
  37. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/a2a_agent/extensions.py +0 -0
  38. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/a2a_agent/framework.py +0 -0
  39. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/a2a_agent/peer_agents.py +0 -0
  40. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/a2a_agent/proxy.py +0 -0
  41. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/a2a_agent/registry.py +0 -0
  42. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/a2a_agent/staging.py +0 -0
  43. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/a2a_agent/tasks/__init__.py +0 -0
  44. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/a2a_agent/tasks/v1.py +0 -0
  45. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/agent_env_environment.py +0 -0
  46. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/client.py +0 -0
  47. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/computer/__init__.py +0 -0
  48. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/computer/_declare.py +0 -0
  49. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/computer/_desktop.py +0 -0
  50. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/computer/_job.py +0 -0
  51. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/computer/_linux.py +0 -0
  52. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/computer/_load.py +0 -0
  53. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/computer/_macos.py +0 -0
  54. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/computer/_reaping.py +0 -0
  55. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/computer/_session_posix.py +0 -0
  56. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/computer/_session_windows.py +0 -0
  57. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/computer/_windows.py +0 -0
  58. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/computer/_with_fds.py +0 -0
  59. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/computer/_x11.py +0 -0
  60. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/computer/app.py +0 -0
  61. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/computer/app_data.py +0 -0
  62. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/computer/app_runtime.py +0 -0
  63. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/computer/apps.py +0 -0
  64. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/computer/card.py +0 -0
  65. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/computer/checks.py +0 -0
  66. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/computer/clock.py +0 -0
  67. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/computer/conformance/__init__.py +0 -0
  68. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/computer/conformance/__main__.py +0 -0
  69. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/computer/conformance/client.py +0 -0
  70. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/computer/conformance/desk.py +0 -0
  71. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/computer/conformance/fixture.py +0 -0
  72. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/computer/conformance/mp4.py +0 -0
  73. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/computer/conformance/page_fixture.py +0 -0
  74. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/computer/conformance/report.py +0 -0
  75. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/computer/conformance/wayland_fixture.py +0 -0
  76. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/computer/dataplane.py +0 -0
  77. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/computer/driver.py +0 -0
  78. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/computer/errors.py +0 -0
  79. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/computer/extensions.py +0 -0
  80. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/computer/frames.py +0 -0
  81. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/computer/keys.py +0 -0
  82. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/computer/launch.py +0 -0
  83. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/computer/manifest.py +0 -0
  84. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/computer/operations.py +0 -0
  85. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/computer/platform.py +0 -0
  86. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/computer/prefix.py +0 -0
  87. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/computer/queue.py +0 -0
  88. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/computer/recording.py +0 -0
  89. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/computer/results.py +0 -0
  90. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/computer/run_install_step.py +0 -0
  91. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/computer/runtime.py +0 -0
  92. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/computer/seed.py +0 -0
  93. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/computer/serve.py +0 -0
  94. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/computer/serve_app.py +0 -0
  95. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/computer/served.py +0 -0
  96. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/computer/session.py +0 -0
  97. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/computer/settings.py +0 -0
  98. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/computer/skill.py +0 -0
  99. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/computer/spaces.py +0 -0
  100. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/computer/svc.py +0 -0
  101. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/computer/tools.py +0 -0
  102. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/errors.py +0 -0
  103. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/manifest.py +0 -0
  104. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/passthrough.py +0 -0
  105. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/preflight.py +0 -0
  106. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/tool_access.py +0 -0
  107. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/tool_client.py +0 -0
  108. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/tool_context.py +0 -0
  109. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/transfers.py +0 -0
  110. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/types.py +0 -0
  111. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/website/__init__.py +0 -0
  112. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/website/clock.py +0 -0
  113. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/website/conformance.py +0 -0
  114. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/website/environment.py +0 -0
  115. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/website/errors.py +0 -0
  116. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/website/forwarding.py +0 -0
  117. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/website/readiness.py +0 -0
  118. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/website/routes.py +0 -0
  119. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/website/session.py +0 -0
  120. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/website_browser/__init__.py +0 -0
  121. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/website_browser/cdp.py +0 -0
  122. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/website_browser/contexts.py +0 -0
  123. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/website_browser/control.py +0 -0
  124. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/website_browser/data.py +0 -0
  125. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/website_browser/devtools.py +0 -0
  126. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/website_browser/environment.py +0 -0
  127. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/website_browser/log.py +0 -0
  128. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/website_browser/network.py +0 -0
  129. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/website_browser/recording.py +0 -0
  130. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/website_browser/scope.py +0 -0
  131. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/src/agentenv_protocol/website_browser/shapes.py +0 -0
  132. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/tests/computer_fake.py +0 -0
  133. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/tests/probe_fake.py +0 -0
  134. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/tests/test_a2a_agent.py +0 -0
  135. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/tests/test_a2a_agent_examples.py +0 -0
  136. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/tests/test_a2a_cdp_config.py +0 -0
  137. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/tests/test_a2a_object_transfers.py +0 -0
  138. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/tests/test_a2a_peer_agents.py +0 -0
  139. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/tests/test_a2a_proxy.py +0 -0
  140. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/tests/test_a2a_staging.py +0 -0
  141. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/tests/test_a2a_trajectory_log.py +0 -0
  142. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/tests/test_agent_env_environment.py +0 -0
  143. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/tests/test_browser_cdp.py +0 -0
  144. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/tests/test_browser_contexts.py +0 -0
  145. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/tests/test_browser_data.py +0 -0
  146. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/tests/test_browser_log.py +0 -0
  147. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/tests/test_browser_network.py +0 -0
  148. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/tests/test_browser_recording.py +0 -0
  149. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/tests/test_browser_state.py +0 -0
  150. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/tests/test_client.py +0 -0
  151. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/tests/test_computer_app_data.py +0 -0
  152. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/tests/test_computer_clock.py +0 -0
  153. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/tests/test_computer_conformance_page.py +0 -0
  154. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/tests/test_computer_conformance_recording.py +0 -0
  155. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/tests/test_computer_dataplane.py +0 -0
  156. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/tests/test_computer_declare.py +0 -0
  157. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/tests/test_computer_driver.py +0 -0
  158. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/tests/test_computer_driver_keys.py +0 -0
  159. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/tests/test_computer_extensions.py +0 -0
  160. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/tests/test_computer_frames.py +0 -0
  161. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/tests/test_computer_macos.py +0 -0
  162. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/tests/test_computer_page.py +0 -0
  163. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/tests/test_computer_queue.py +0 -0
  164. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/tests/test_computer_recording.py +0 -0
  165. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/tests/test_computer_seed.py +0 -0
  166. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/tests/test_computer_serve.py +0 -0
  167. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/tests/test_computer_served.py +0 -0
  168. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/tests/test_computer_session_windows.py +0 -0
  169. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/tests/test_computer_spaces.py +0 -0
  170. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/tests/test_computer_svc_forward.py +0 -0
  171. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/tests/test_computer_tool_prefix.py +0 -0
  172. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/tests/test_computer_windows_driver.py +0 -0
  173. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/tests/test_control_token.py +0 -0
  174. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/tests/test_data_objects.py +0 -0
  175. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/tests/test_devtools_pipe.py +0 -0
  176. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/tests/test_errors.py +0 -0
  177. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/tests/test_extension_methods.py +0 -0
  178. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/tests/test_intake.py +0 -0
  179. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/tests/test_manifest.py +0 -0
  180. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/tests/test_preflight.py +0 -0
  181. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/tests/test_tool_access.py +0 -0
  182. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/tests/test_tool_annotations.py +0 -0
  183. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/tests/test_tool_client.py +0 -0
  184. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/tests/test_tool_context.py +0 -0
  185. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/tests/test_tool_context_fastmcp.py +0 -0
  186. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/tests/test_tool_context_injection.py +0 -0
  187. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/tests/test_website_api.py +0 -0
  188. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/tests/test_website_browser.py +0 -0
  189. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/tests/test_website_conformance.py +0 -0
  190. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/tests/test_website_environment.py +0 -0
  191. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/tests/test_website_forwarding.py +0 -0
  192. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/tests/test_website_live.py +0 -0
  193. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/tests/test_website_mcp.py +0 -0
  194. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/tests/test_website_notes_example.py +0 -0
  195. {agentenv_framework_protocol-0.1.547 → agentenv_framework_protocol-0.1.548}/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.547
3
+ Version: 0.1.548
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.547"
3
+ version = "0.1.548"
4
4
  description = "Open data-plane protocol and server SDK for agent environments."
5
5
  readme = "README.md"
6
6
  license = "Apache-2.0"
@@ -64,6 +64,9 @@ FIXTURE_START_S = 30.0
64
64
  NORM = 1000
65
65
  #: How long the probe records, and the frame rate it asks for.
66
66
  RECORD_S = 2.0
67
+ #: How many times a check whose effect a busy desk can miss is tried before it fails: a desk starved through a drag
68
+ #: sees its motion as one event, and keys sent while the click that focuses a box waits go wherever focus was.
69
+ BUSY_DESK_ATTEMPTS = 2
67
70
  RECORD_FPS = 5
68
71
  #: Prints a file's size and SHA-256 as JSON, run with ``python3 -c`` on the computer.
69
72
  READ_DIGEST = ("import hashlib,json,sys;d=open(sys.argv[1],'rb').read();"
@@ -165,15 +168,22 @@ class Probe:
165
168
 
166
169
  # Recording
167
170
 
168
- async def check(self, check: str, name: str, test: Test, *extensions: str) -> bool:
169
- try:
170
- problem = await test()
171
- except NotApplicable as e:
172
- self._record(check, name, "not_applicable", str(e), extensions)
173
- return True
174
- except Exception as e:
175
- problem = f"{type(e).__name__}: {e}"
176
- self._record(check, name, "failed" if problem else "passed", problem or "", extensions)
171
+ async def check(self, check: str, name: str, test: Test, *extensions: str, attempts: int = 1) -> bool:
172
+ """Run ``test`` up to ``attempts`` times until it passes; a pass after a failed try says what that try found."""
173
+ tried: list[str] = []
174
+ while True:
175
+ try:
176
+ problem = await test()
177
+ except NotApplicable as e:
178
+ self._record(check, name, "not_applicable", str(e), extensions)
179
+ return True
180
+ except Exception as e:
181
+ problem = f"{type(e).__name__}: {e}"
182
+ if problem is None or len(tried) + 1 == attempts:
183
+ break
184
+ tried.append(problem)
185
+ detail = problem or (f"passed on try {len(tried) + 1} of {attempts}; before: {'; '.join(tried)}" if tried else "")
186
+ self._record(check, name, "failed" if problem else "passed", detail, extensions)
177
187
  return problem is None
178
188
 
179
189
  async def _guarded(self, check: str, section: Callable[[], Awaitable[None]]) -> None:
@@ -837,7 +847,7 @@ class Probe:
837
847
 
838
848
  await self.check("P6", "Unicode and mixed-case text arrives whole", unicode)
839
849
  await self.check("P6", "typed text arrives as key events", events)
840
- await self.check("P6", "a chord selects all, and Backspace clears it", chord)
850
+ await self.check("P6", "a chord selects all, and Backspace clears it", chord, attempts=BUSY_DESK_ATTEMPTS)
841
851
  await self.check("P6", "a repeated key presses that many times", repeat)
842
852
  await self.check("P6", "tabs and newlines arrive as typed", whitespace)
843
853
  await self.check("P6", "typing leaves the clipboard as it was", clipboard)
@@ -865,8 +875,9 @@ class Probe:
865
875
  start, end, waypoint = (50, 50), (300, 250), (200, 100)
866
876
  points = [start, waypoint, end] if int(self.features.get("max_drag_points", 2)) >= 3 else [start, end]
867
877
  path = [list(self._at("pad", scale, x, y)) for x, y in points]
878
+ before = (await self.state())["drags"]
868
879
  await self.act("computer_drag", {"path": path, "duration_ms": 400, "frame_id": frame})
869
- ok, state = await self.until(lambda s: bool(s["drags"]))
880
+ ok, state = await self.until(lambda s: s["drags"] != before)
870
881
  if not ok:
871
882
  return "no drag reached the pad"
872
883
  stroke = state["drags"][-1]
@@ -878,7 +889,8 @@ class Probe:
878
889
 
879
890
  await self.check("P7", "a scroll moves a list", scroll_list)
880
891
  await self.check("P7", "scrolls up, down, left and right each arrive that many times", directions)
881
- await self.check("P7", "a drag starts and ends where it says, through its waypoints", drag)
892
+ await self.check("P7", "a drag starts and ends where it says, through its waypoints", drag,
893
+ attempts=BUSY_DESK_ATTEMPTS)
882
894
 
883
895
  async def _pointer_input(self) -> None:
884
896
  if not self.driver.declares(COMPUTER_POINTER):
@@ -1063,7 +1075,7 @@ class Probe:
1063
1075
  return f"segments {unmeasured} lack their times, size, frame count or digest"
1064
1076
  span = (_when(segments[-1].ended_at) - _when(segments[0].started_at)).total_seconds()
1065
1077
  frames = sum(s.frames for s in segments)
1066
- if span < RECORD_S - 2 / fps or frames < fps * RECORD_S / 2:
1078
+ if span < RECORD_S / 2 or frames < fps * RECORD_S / 2:
1067
1079
  return f"{frames} frames over {span:.2f} s of a {RECORD_S:g} s recording at {fps} fps"
1068
1080
  for before, after in zip(segments, segments[1:]):
1069
1081
  gap = (_when(after.started_at) - _when(before.ended_at)).total_seconds()
@@ -38,6 +38,9 @@ from agentenv_protocol.computer.app import COMPUTER_APP, FAILURE, SOCKET # noqa
38
38
  from agentenv_protocol.computer.platform import Platform # noqa: E402
39
39
  from agentenv_protocol.types import CONTROL_TOKEN_ENV, DATA_OBJECTS_EXTENSION_URI, WELL_KNOWN_PATH # noqa: E402
40
40
 
41
+ #: How long each app's ready check takes in the readiness test: asked at once, the driver's status takes about
42
+ #: this long, and one after another three times as long.
43
+ APP_SETTLES_S = 2.0
41
44
 
42
45
 
43
46
  @linux(launch=Launch(command=["mail"], window={"class": "Mail"}, ready=Ready(window=True, timeout_s=30)))
@@ -300,7 +303,7 @@ async def test_the_drivers_readiness_asks_every_apps_server_at_once(desktop, mon
300
303
  class Settling(ComputerAppEnvironment):
301
304
  @ready_check
302
305
  async def settled(self):
303
- await asyncio.sleep(1)
306
+ await asyncio.sleep(APP_SETTLES_S)
304
307
  return True
305
308
 
306
309
  with tempfile.TemporaryDirectory(dir="/tmp", prefix="apps-") as root:
@@ -308,14 +311,14 @@ async def test_the_drivers_readiness_asks_every_apps_server_at_once(desktop, mon
308
311
  async with contextlib.AsyncExitStack() as stack:
309
312
  for name in ("mail", "music", "sync"):
310
313
  await stack.enter_async_context(_serving(Settling(), Path(root) / name, monkeypatch))
311
- started = time.monotonic()
312
314
  async with http_client(FakeDriver()) as http:
315
+ started = time.monotonic()
313
316
  status = (await http.get("/agentenv/ext/computer-ready/status")).json()
314
- took = time.monotonic() - started
317
+ took = time.monotonic() - started
315
318
 
316
319
  assert [check for check in status["checks"] if check["name"].startswith("app ")] == [
317
320
  {"name": f"app {name}", "ok": True, "detail": "ready"} for name in ("mail", "music", "sync")]
318
- assert status["ready"] is True and took < 2.5
321
+ assert status["ready"] is True and took < 2 * APP_SETTLES_S, took
319
322
 
320
323
 
321
324
  @linux(paths=["Mail"])
@@ -4,6 +4,7 @@ full needs gets those checks unverified; a driver broken one way fails the check
4
4
  fronts that exports is asked for its export once; the report's verdicts and the CLI."""
5
5
  from __future__ import annotations
6
6
 
7
+ import asyncio
7
8
  import importlib
8
9
  import json
9
10
  import subprocess
@@ -89,6 +90,38 @@ async def test_a_driver_given_a_control_token_passes_with_it_and_refuses_calls_w
89
90
  assert not unauthorized.passed and "401 unauthorized" in _failed(unauthorized)[0]
90
91
 
91
92
 
93
+ #: How long after its drag the desk of ``StarvedOnce`` saves the stroke: after the probe first looks, before it gives up.
94
+ STROKE_SAVED_AFTER_S = 1.0
95
+ DRAG_CHECK = "a drag starts and ends where it says, through its waypoints"
96
+
97
+
98
+ class StarvedOnce(FixtureDriver):
99
+ """A desk starved through its first drag, which it sees as the press, one motion and the release, and slow to save
100
+ the next, which it records ``STROKE_SAVED_AFTER_S`` after the drag."""
101
+
102
+ drags = 0
103
+
104
+ @drag
105
+ async def drag_along(self, path, button, duration_ms, modifiers):
106
+ await super(FixtureDriver, self).drag_along(path, button, duration_ms, modifiers)
107
+ self.drags += 1
108
+ if self.drags > 1:
109
+ asyncio.get_running_loop().call_later(STROKE_SAVED_AFTER_S, self.desk.drag, path)
110
+ return
111
+ start, end = self.desk._in("pad", *path[0]), self.desk._in("pad", *path[-1])
112
+ self.desk.state["drags"].append({"start": list(start), "end": list(end), "points": 3,
113
+ "path": [list(start), list(end), list(end)]})
114
+
115
+
116
+ @pytest.mark.asyncio
117
+ async def test_a_drag_tried_again_is_judged_by_its_own_stroke_not_the_one_before(home):
118
+ report = await _probe(StarvedOnce())
119
+
120
+ [check] = [c for c in report.checks if c.name == DRAG_CHECK]
121
+ assert check.status == "passed" and check.detail.startswith("passed on try 2 of 2; before: "), check
122
+ assert "in 3 points" in check.detail
123
+
124
+
92
125
  class StaleFrame(FixtureDriver):
93
126
  """Its first ``stale`` captures after a click are from before the click, as when an app records a click before it
94
127
  repaints."""
@@ -0,0 +1,55 @@
1
+ """A check whose effect a busy desk can miss is tried again before it fails, and a pass on a later try says what the
2
+ earlier one found; any other check is tried once."""
3
+ from __future__ import annotations
4
+
5
+ from types import SimpleNamespace
6
+
7
+ import pytest
8
+
9
+ from agentenv_protocol.computer.conformance import checks
10
+
11
+ STARVED = "the stroke was [50, 50] to [300, 250] in 3 points"
12
+
13
+
14
+ def _probe() -> checks.Probe:
15
+ return checks.Probe(SimpleNamespace(params=lambda uri: {}), session=None, ready_timeout_s=1)
16
+
17
+
18
+ def _answering(*answers: str | None):
19
+ calls: list[int] = []
20
+ pending = iter(answers)
21
+
22
+ async def test() -> str | None:
23
+ calls.append(len(calls) + 1)
24
+ return next(pending)
25
+
26
+ return test, calls
27
+
28
+
29
+ @pytest.mark.asyncio
30
+ async def test_a_check_tried_again_passes_saying_what_its_first_try_found():
31
+ probe, (drag, calls) = _probe(), _answering(STARVED, None)
32
+
33
+ assert await probe.check("P7", "a drag", drag, attempts=checks.BUSY_DESK_ATTEMPTS)
34
+
35
+ [result] = probe.results
36
+ assert (result.status, result.detail, calls) == ("passed", f"passed on try 2 of 2; before: {STARVED}", [1, 2])
37
+
38
+
39
+ @pytest.mark.asyncio
40
+ async def test_a_check_that_fails_every_try_fails_with_what_its_last_try_found():
41
+ probe, (drag, calls) = _probe(), _answering(STARVED, "the stroke missed its waypoint (200, 100)")
42
+
43
+ assert not await probe.check("P7", "a drag", drag, attempts=checks.BUSY_DESK_ATTEMPTS)
44
+
45
+ [result] = probe.results
46
+ assert (result.status, result.detail, calls) == ("failed", "the stroke missed its waypoint (200, 100)", [1, 2])
47
+
48
+
49
+ @pytest.mark.asyncio
50
+ async def test_any_other_check_is_tried_once():
51
+ probe, (test, calls) = _probe(), _answering("the fixture shows 'abc'", None)
52
+
53
+ assert not await probe.check("P6", "typed text arrives", test)
54
+
55
+ assert (probe.results[0].status, calls) == ("failed", [1])
@@ -252,7 +252,16 @@ async def test_crops_the_driver_refuses_fail_p3_and_p4(monkeypatch):
252
252
  ])
253
253
  async def test_a_drag_that_doesnt_arrive_whole_fails_p7(drags, problem, monkeypatch):
254
254
  monkeypatch.setattr(checks, "SETTLE_S", 0.01)
255
- p = fixture({"drags": drags, "scroll_top": 0, "wheel": {}})
255
+ state = {"drags": [], "scroll_top": 0, "wheel": {}}
256
+ p = fixture(state)
257
+ answer = p.session.call
258
+
259
+ def call(name, args):
260
+ if name == "computer_drag":
261
+ state["drags"] = state["drags"] + drags
262
+ return answer(name, args)
263
+
264
+ p.session.call = call
256
265
  await p._scroll_and_drag()
257
266
  assert details(p)["a drag starts and ends where it says, through its waypoints"] == ("failed", problem)
258
267