agentenv-framework-protocol 0.1.562__tar.gz → 0.1.563__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 (196) hide show
  1. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/PKG-INFO +3 -2
  2. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/README.md +2 -1
  3. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/pyproject.toml +1 -1
  4. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/website_browser/control.py +15 -12
  5. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/website_browser/recording.py +2 -2
  6. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/website_browser/stream.py +16 -8
  7. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/tests/test_browser_recording.py +26 -0
  8. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/tests/test_website_browser.py +36 -4
  9. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/.gitignore +0 -0
  10. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/LICENSE +0 -0
  11. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/NOTICE +0 -0
  12. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/THIRD_PARTY_NOTICES.md +0 -0
  13. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/examples/__init__.py +0 -0
  14. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/examples/advanced_agent.py +0 -0
  15. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/examples/basic_agent.py +0 -0
  16. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/examples/custom_extensions_agent.py +0 -0
  17. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/examples/multimodal_agent.py +0 -0
  18. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/examples/reference_model.py +0 -0
  19. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/examples/streaming_agent.py +0 -0
  20. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/examples/website/notes/.gitignore +0 -0
  21. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/examples/website/notes/Dockerfile +0 -0
  22. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/examples/website/notes/Dockerfile.dockerignore +0 -0
  23. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/examples/website/notes/README.md +0 -0
  24. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/examples/website/notes/data/seed.json +0 -0
  25. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/examples/website/notes/env.toml +0 -0
  26. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/examples/website/notes/site.py +0 -0
  27. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/examples/website/notes/web/index.html +0 -0
  28. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/examples/website/notes/web/package-lock.json +0 -0
  29. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/examples/website/notes/web/package.json +0 -0
  30. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/examples/website/notes/web/src/main.js +0 -0
  31. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/examples/website/notes/web/src/style.css +0 -0
  32. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/examples/website/notes/web/vite.config.js +0 -0
  33. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/__init__.py +0 -0
  34. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/a2a_agent/__init__.py +0 -0
  35. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/a2a_agent/_trajectory_log.py +0 -0
  36. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/a2a_agent/_triggers.py +0 -0
  37. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/a2a_agent/extensions.py +0 -0
  38. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/a2a_agent/framework.py +0 -0
  39. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/a2a_agent/peer_agents.py +0 -0
  40. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/a2a_agent/proxy.py +0 -0
  41. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/a2a_agent/registry.py +0 -0
  42. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/a2a_agent/staging.py +0 -0
  43. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/a2a_agent/tasks/__init__.py +0 -0
  44. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/a2a_agent/tasks/v1.py +0 -0
  45. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/agent_env_environment.py +0 -0
  46. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/client.py +0 -0
  47. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/computer/__init__.py +0 -0
  48. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/computer/_declare.py +0 -0
  49. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/computer/_desktop.py +0 -0
  50. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/computer/_job.py +0 -0
  51. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/computer/_linux.py +0 -0
  52. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/computer/_load.py +0 -0
  53. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/computer/_macos.py +0 -0
  54. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/computer/_reaping.py +0 -0
  55. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/computer/_session_posix.py +0 -0
  56. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/computer/_session_windows.py +0 -0
  57. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/computer/_windows.py +0 -0
  58. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/computer/_with_fds.py +0 -0
  59. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/computer/_x11.py +0 -0
  60. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/computer/app.py +0 -0
  61. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/computer/app_data.py +0 -0
  62. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/computer/app_runtime.py +0 -0
  63. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/computer/apps.py +0 -0
  64. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/computer/card.py +0 -0
  65. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/computer/checks.py +0 -0
  66. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/computer/clock.py +0 -0
  67. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/computer/conformance/__init__.py +0 -0
  68. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/computer/conformance/__main__.py +0 -0
  69. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/computer/conformance/checks.py +0 -0
  70. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/computer/conformance/client.py +0 -0
  71. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/computer/conformance/desk.py +0 -0
  72. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/computer/conformance/fixture.py +0 -0
  73. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/computer/conformance/mp4.py +0 -0
  74. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/computer/conformance/page_fixture.py +0 -0
  75. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/computer/conformance/report.py +0 -0
  76. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/computer/conformance/wayland_fixture.py +0 -0
  77. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/computer/dataplane.py +0 -0
  78. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/computer/driver.py +0 -0
  79. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/computer/errors.py +0 -0
  80. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/computer/extensions.py +0 -0
  81. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/computer/frames.py +0 -0
  82. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/computer/keys.py +0 -0
  83. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/computer/launch.py +0 -0
  84. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/computer/manifest.py +0 -0
  85. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/computer/operations.py +0 -0
  86. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/computer/platform.py +0 -0
  87. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/computer/prefix.py +0 -0
  88. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/computer/queue.py +0 -0
  89. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/computer/recording.py +0 -0
  90. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/computer/results.py +0 -0
  91. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/computer/run_install_step.py +0 -0
  92. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/computer/runtime.py +0 -0
  93. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/computer/seed.py +0 -0
  94. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/computer/serve.py +0 -0
  95. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/computer/serve_app.py +0 -0
  96. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/computer/served.py +0 -0
  97. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/computer/session.py +0 -0
  98. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/computer/settings.py +0 -0
  99. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/computer/skill.py +0 -0
  100. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/computer/spaces.py +0 -0
  101. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/computer/svc.py +0 -0
  102. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/computer/tools.py +0 -0
  103. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/errors.py +0 -0
  104. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/manifest.py +0 -0
  105. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/passthrough.py +0 -0
  106. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/preflight.py +0 -0
  107. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/tool_access.py +0 -0
  108. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/tool_client.py +0 -0
  109. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/tool_context.py +0 -0
  110. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/transfers.py +0 -0
  111. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/types.py +0 -0
  112. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/website/__init__.py +0 -0
  113. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/website/clock.py +0 -0
  114. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/website/conformance.py +0 -0
  115. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/website/environment.py +0 -0
  116. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/website/errors.py +0 -0
  117. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/website/forwarding.py +0 -0
  118. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/website/readiness.py +0 -0
  119. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/website/routes.py +0 -0
  120. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/website/session.py +0 -0
  121. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/website_browser/__init__.py +0 -0
  122. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/website_browser/cdp.py +0 -0
  123. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/website_browser/contexts.py +0 -0
  124. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/website_browser/data.py +0 -0
  125. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/website_browser/devtools.py +0 -0
  126. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/website_browser/environment.py +0 -0
  127. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/website_browser/log.py +0 -0
  128. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/website_browser/network.py +0 -0
  129. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/website_browser/scope.py +0 -0
  130. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/src/agentenv_protocol/website_browser/shapes.py +0 -0
  131. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/tests/computer_fake.py +0 -0
  132. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/tests/probe_fake.py +0 -0
  133. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/tests/test_a2a_agent.py +0 -0
  134. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/tests/test_a2a_agent_examples.py +0 -0
  135. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/tests/test_a2a_cdp_config.py +0 -0
  136. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/tests/test_a2a_object_transfers.py +0 -0
  137. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/tests/test_a2a_peer_agents.py +0 -0
  138. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/tests/test_a2a_proxy.py +0 -0
  139. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/tests/test_a2a_staging.py +0 -0
  140. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/tests/test_a2a_trajectory_log.py +0 -0
  141. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/tests/test_agent_env_environment.py +0 -0
  142. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/tests/test_browser_cdp.py +0 -0
  143. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/tests/test_browser_contexts.py +0 -0
  144. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/tests/test_browser_data.py +0 -0
  145. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/tests/test_browser_log.py +0 -0
  146. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/tests/test_browser_network.py +0 -0
  147. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/tests/test_browser_state.py +0 -0
  148. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/tests/test_client.py +0 -0
  149. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/tests/test_computer_app_data.py +0 -0
  150. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/tests/test_computer_app_server.py +0 -0
  151. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/tests/test_computer_clock.py +0 -0
  152. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/tests/test_computer_conformance.py +0 -0
  153. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/tests/test_computer_conformance_attempts.py +0 -0
  154. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/tests/test_computer_conformance_checks.py +0 -0
  155. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/tests/test_computer_conformance_page.py +0 -0
  156. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/tests/test_computer_conformance_recording.py +0 -0
  157. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/tests/test_computer_dataplane.py +0 -0
  158. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/tests/test_computer_declare.py +0 -0
  159. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/tests/test_computer_driver.py +0 -0
  160. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/tests/test_computer_driver_keys.py +0 -0
  161. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/tests/test_computer_extensions.py +0 -0
  162. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/tests/test_computer_frames.py +0 -0
  163. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/tests/test_computer_macos.py +0 -0
  164. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/tests/test_computer_page.py +0 -0
  165. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/tests/test_computer_queue.py +0 -0
  166. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/tests/test_computer_recording.py +0 -0
  167. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/tests/test_computer_seed.py +0 -0
  168. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/tests/test_computer_serve.py +0 -0
  169. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/tests/test_computer_served.py +0 -0
  170. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/tests/test_computer_session_windows.py +0 -0
  171. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/tests/test_computer_spaces.py +0 -0
  172. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/tests/test_computer_svc_forward.py +0 -0
  173. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/tests/test_computer_tool_prefix.py +0 -0
  174. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/tests/test_computer_windows_driver.py +0 -0
  175. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/tests/test_control_token.py +0 -0
  176. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/tests/test_data_objects.py +0 -0
  177. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/tests/test_devtools_pipe.py +0 -0
  178. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/tests/test_errors.py +0 -0
  179. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/tests/test_extension_methods.py +0 -0
  180. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/tests/test_intake.py +0 -0
  181. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/tests/test_manifest.py +0 -0
  182. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/tests/test_preflight.py +0 -0
  183. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/tests/test_tool_access.py +0 -0
  184. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/tests/test_tool_annotations.py +0 -0
  185. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/tests/test_tool_client.py +0 -0
  186. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/tests/test_tool_context.py +0 -0
  187. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/tests/test_tool_context_fastmcp.py +0 -0
  188. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/tests/test_tool_context_injection.py +0 -0
  189. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/tests/test_website_api.py +0 -0
  190. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/tests/test_website_conformance.py +0 -0
  191. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/tests/test_website_environment.py +0 -0
  192. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/tests/test_website_forwarding.py +0 -0
  193. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/tests/test_website_live.py +0 -0
  194. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/tests/test_website_mcp.py +0 -0
  195. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/tests/test_website_notes_example.py +0 -0
  196. {agentenv_framework_protocol-0.1.562 → agentenv_framework_protocol-0.1.563}/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.562
3
+ Version: 0.1.563
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
@@ -1275,7 +1275,8 @@ are the profile's template. The base class adds:
1275
1275
  - **a video** of the tab its context's agent is on, at `fps` (10 by default, 15 at most), encoded as
1276
1276
  `computer-recording/v1`'s is and uploaded a segment at a time under `<recording_id>/video/`. It follows the tab an
1277
1277
  agent last acted on in that context (CDP commands and MCP calls, not agentenv's own), a tab that one opens as
1278
- soon as it opens, and once it closes the tab followed before it, else the context's newest; it's blank while the
1278
+ soon as it opens, which an action begun on the opener before then, as the click that opened it, doesn't take it
1279
+ back from, and once it closes the tab followed before it, else the context's newest; it's blank while the
1279
1280
  context has no tab. The browser's own connection screencasts that tab, and captures it instead while it sends no
1280
1281
  frame, as a tab behind another in its window does; `video.followed` says which tab showed when, and how.
1281
1282
  - **its log**: at the end, the lines of its context since its start, actions and tab events on its tabs and a
@@ -1204,7 +1204,8 @@ are the profile's template. The base class adds:
1204
1204
  - **a video** of the tab its context's agent is on, at `fps` (10 by default, 15 at most), encoded as
1205
1205
  `computer-recording/v1`'s is and uploaded a segment at a time under `<recording_id>/video/`. It follows the tab an
1206
1206
  agent last acted on in that context (CDP commands and MCP calls, not agentenv's own), a tab that one opens as
1207
- soon as it opens, and once it closes the tab followed before it, else the context's newest; it's blank while the
1207
+ soon as it opens, which an action begun on the opener before then, as the click that opened it, doesn't take it
1208
+ back from, and once it closes the tab followed before it, else the context's newest; it's blank while the
1208
1209
  context has no tab. The browser's own connection screencasts that tab, and captures it instead while it sends no
1209
1210
  frame, as a tab behind another in its window does; `video.followed` says which tab showed when, and how.
1210
1211
  - **its log**: at the end, the lines of its context since its start, actions and tab events on its tabs and a
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "agentenv-framework-protocol"
3
- version = "0.1.562"
3
+ version = "0.1.563"
4
4
  description = "Open data-plane protocol and server SDK for agent environments."
5
5
  readme = "README.md"
6
6
  license = "Apache-2.0"
@@ -1172,21 +1172,24 @@ class BrowserControl:
1172
1172
 
1173
1173
  async def _let_run(self, session: str) -> None:
1174
1174
  """A page it attached to, enabled and, alone, held to its window's size, then told to run: a page attached as
1175
- it opens, a popup say, or any new page alone, waits for that before it runs."""
1175
+ it opens, a popup say, or any new page alone, waits for that before it runs. The calls go together, in order,
1176
+ which the browser handles them in: a popup a click opened answers Page.enable only once it runs."""
1176
1177
  target = self._sessions.get(session)
1178
+ calls: list[tuple[str, Optional[dict]]] = [("Page.enable", None)]
1179
+ if self.viewport is not None:
1180
+ width, height = self.viewport
1181
+ calls += [("Emulation.setDeviceMetricsOverride",
1182
+ {"width": width, "height": height, "deviceScaleFactor": 1, "mobile": False}),
1183
+ ("Page.setInterceptFileChooserDialog", {"enabled": True})]
1184
+ calls.append(("Runtime.runIfWaitingForDebugger", None))
1177
1185
  try:
1178
- await self.devtools.call("Page.enable", session_id=session)
1179
- if self.viewport is not None:
1180
- width, height = self.viewport
1181
- await self.devtools.call("Emulation.setDeviceMetricsOverride", {
1182
- "width": width, "height": height, "deviceScaleFactor": 1, "mobile": False}, session_id=session)
1183
- await self.devtools.call("Page.setInterceptFileChooserDialog", {"enabled": True}, session_id=session)
1186
+ answers = await asyncio.gather(*(self.devtools.call(method, params, session_id=session)
1187
+ for method, params in calls), return_exceptions=True)
1184
1188
  finally:
1185
- try:
1186
- await self.devtools.call("Runtime.runIfWaitingForDebugger", session_id=session)
1187
- finally:
1188
- if target is not None:
1189
- self._pinned.setdefault(target, asyncio.Event()).set()
1189
+ if target is not None:
1190
+ self._pinned.setdefault(target, asyncio.Event()).set()
1191
+ if failed := next((answer for answer in answers if isinstance(answer, BaseException)), None):
1192
+ raise failed
1190
1193
 
1191
1194
  def _on_Target_detachedFromTarget(self, params: dict, session: Optional[str]) -> None:
1192
1195
  self._screencasts.pop(params["sessionId"], None)
@@ -312,7 +312,7 @@ class BrowserRecordings:
312
312
  if isinstance(target := tab.get("id"), str):
313
313
  self.tab_contexts[target] = tab.get("context_id")
314
314
  for recording in self.every():
315
- recording.stream.tab_event(event, tab)
315
+ recording.stream.tab_event(event, tab, self.log.next_seq)
316
316
 
317
317
  def context_of_tab(self, target: object) -> Optional[str]:
318
318
  """The context of the tab ``target``, as it opened in, or as the browser's control has it."""
@@ -419,7 +419,7 @@ class _Recording:
419
419
  if self.ending or not self.stream.sees(tab):
420
420
  return
421
421
  if moves:
422
- self.stream.follow(tab)
422
+ self.stream.follow(tab, seq)
423
423
  if not self.frames_on:
424
424
  return
425
425
  self.pending.append(seq)
@@ -1,6 +1,7 @@
1
1
  """The frames of one browser context as its recording's video takes them (browser-recording/v1): of the tab it
2
- follows, the one an agent last acted on there, a tab that one opens as soon as it opens, and once it closes the tab
3
- followed before it that's still open, else the context's newest; a blank frame while the context has no tab. The
2
+ follows, the one an agent last acted on there, a tab that one opens as soon as it opens, which an action begun on
3
+ the opener before it opened doesn't take the video back from, and once it closes the tab followed before it that's
4
+ still open, else the context's newest; a blank frame while the context has no tab. The
4
5
  browser's own connection screencasts that tab; a tab that sends no frame for ``SILENT_S`` and isn't visible, as one
5
6
  behind another in its window, is captured instead, at most ``FALLBACK_FPS`` times a second, until it sends one again,
6
7
  while a visible one is a still page its last frame shows. Every ``1/fps`` seconds the latest frame is handed on, so a
@@ -56,23 +57,30 @@ class TabStream:
56
57
  self._seeding: Optional[asyncio.Future] = None
57
58
  self._max_edge: Optional[int] = None
58
59
  self._via: Optional[str] = None
60
+ #: Each tab that opened one followed, and the log's next sequence number then: an action on it numbered below
61
+ #: began before that tab opened.
62
+ self._opened_from: dict[str, int] = {}
59
63
 
60
64
  def sees(self, target: Optional[str]) -> bool:
61
65
  """Whether the tab ``target`` is in its context."""
62
66
  return bool(target) and self.control.in_context(self.control.context_of_tab(target), self.context_id)
63
67
 
64
- def follow(self, target: Optional[str]) -> None:
65
- """An agent acted on the tab ``target``: one in its context is followed from now."""
66
- if self.sees(target) and target != self.tab:
68
+ def follow(self, target: Optional[str], seq: int) -> None:
69
+ """An agent's action ``seq`` in the log acted on the tab ``target``: one in its context is followed from now,
70
+ unless the action began before a tab that ``target`` opened, which the video has followed since."""
71
+ if self.sees(target) and target != self.tab and seq >= self._opened_from.get(target, 0):
67
72
  self._move(target)
68
73
 
69
- def tab_event(self, event: str, tab: dict) -> None:
70
- """A tab opened or closed in the browser: one the followed tab opens, or the first its context has, is
71
- followed; once the followed tab closes, the one followed before it that's still open, else the newest."""
74
+ def tab_event(self, event: str, tab: dict, next_seq: int) -> None:
75
+ """A tab opened or closed in the browser while ``next_seq`` was the log's next sequence number: one the
76
+ followed tab opens, or the first its context has, is followed; once the followed tab closes, the one followed
77
+ before it that's still open, else the newest."""
72
78
  target = tab.get("id")
73
79
  if not self.control.in_context(tab.get("context_id"), self.context_id):
74
80
  return
75
81
  if event == "opened" and (self.tab is None or tab.get("opener") == self.tab):
82
+ if self.tab is not None:
83
+ self._opened_from[self.tab] = next_seq
76
84
  self._move(target)
77
85
  elif event == "closed" and target == self.tab:
78
86
  self._move(next((t for t in reversed(self._history) if t in self.control.tabs and self.sees(t)), None) or
@@ -228,6 +228,32 @@ async def test_the_video_follows_an_agents_tab_a_popup_it_opens_and_goes_back_wh
228
228
  assert "green" not in colors[colors.index("yellow"):], colors
229
229
 
230
230
 
231
+ @pytest.mark.asyncio
232
+ async def test_a_click_that_opens_a_popup_leaves_the_video_on_it_though_the_click_is_answered_after(browser):
233
+ """The browser opens the popup a click makes before it answers the click, which the log hears of then; an action
234
+ on the opener begun after it opened takes the video back."""
235
+ pipe, control, contexts, network, recordings, uploads = browser
236
+ pipe.open("T3", YELLOW)
237
+ pipe.focused = "T3"
238
+ started = await recordings.start("run:a", _grant(), network=False)
239
+ await asyncio.sleep(0.3)
240
+ click = recordings.log.begin({"via": "cdp", "who": "ada", "method": "Input.dispatchMouseEvent", "acts": True,
241
+ "tab": "T3"})
242
+ pipe.open("T4", RED, opener="T3")
243
+ await asyncio.sleep(0.1)
244
+ recordings.log.finish(click, ok=True)
245
+ await asyncio.sleep(0.3)
246
+ followed_in_the_popup = [seen["tab"] for seen in recordings.every()[0].stream.followed]
247
+ _acted(recordings.log, "T3")
248
+ await asyncio.sleep(0.3)
249
+ manifest = BrowserRecordingManifest.model_validate(await recordings.end(started["recording_id"]))
250
+
251
+ assert followed_in_the_popup == ["T3", "T4"]
252
+ assert [seen.tab for seen in manifest.video.followed] == ["T3", "T4", "T3"]
253
+ colors = uploads.colors(f"{ROOT}/{manifest.recording_id}")
254
+ assert colors[0] == "yellow" and "red" in colors and colors[-1] == "yellow", colors
255
+
256
+
231
257
  @pytest.mark.asyncio
232
258
  async def test_a_clients_setup_on_every_page_it_attaches_to_doesnt_move_the_video_and_its_input_does(browser):
233
259
  pipe, control, contexts, network, recordings, uploads = browser
@@ -566,7 +566,7 @@ async def test_each_page_it_attaches_to_is_told_to_run_so_a_popup_it_attached_to
566
566
  control = BrowserControl(devtools, "agent")
567
567
  await control.attach()
568
568
  devtools.send("Target.attachedToTarget", {"sessionId": "s-popup", "waitingForDebugger": True, **_page("popup")})
569
- await asyncio.sleep(0)
569
+ await asyncio.sleep(0.01)
570
570
 
571
571
  assert ("Page.enable", {}, "s-popup") in devtools.calls
572
572
  assert ("Runtime.runIfWaitingForDebugger", {}, "s-popup") in devtools.calls
@@ -581,7 +581,7 @@ async def test_alone_each_page_it_attaches_to_is_held_to_its_window_before_it_ru
581
581
  control = BrowserControl(devtools, "agent", (1024, 768))
582
582
  await control.attach()
583
583
  devtools.send("Target.attachedToTarget", {"sessionId": "s-popup", "waitingForDebugger": True, **_page("popup")})
584
- await asyncio.sleep(0)
584
+ await asyncio.sleep(0.01)
585
585
 
586
586
  sent = [method for method, _, session in devtools.calls if session == "s-popup"]
587
587
  assert next(params for method, params, _ in devtools.calls if method == "Target.setAutoAttach")[
@@ -601,10 +601,42 @@ async def test_a_page_it_couldnt_prepare_is_still_told_to_run_so_it_never_stays_
601
601
  control = BrowserControl(devtools, "agent", (1024, 768))
602
602
  await control.attach()
603
603
  devtools.send("Target.attachedToTarget", {"sessionId": "s-popup", "waitingForDebugger": True, **_page("popup")})
604
+ await asyncio.sleep(0.01)
605
+
606
+ assert [method for method, _, session in devtools.calls if session == "s-popup"] == [
607
+ "Page.enable", "Emulation.setDeviceMetricsOverride", "Page.setInterceptFileChooserDialog",
608
+ "Runtime.runIfWaitingForDebugger"]
609
+
610
+
611
+ class PausedUntilRun(StubDevTools):
612
+ """A browser whose popup, paused as it opened, answers Page.enable only once it's told to run, as Chromium does a
613
+ popup a click opened before its first navigation."""
614
+
615
+ def __init__(self):
616
+ super().__init__()
617
+ self.ran = asyncio.Event()
618
+
619
+ async def call(self, method, params=None, *, session_id=None, timeout_s=None):
620
+ self.calls.append((method, params or {}, session_id))
621
+ if method == "Runtime.runIfWaitingForDebugger":
622
+ self.ran.set()
623
+ elif method == "Page.enable" and session_id == "s-popup":
624
+ await asyncio.wait_for(self.ran.wait(), timeout_s or 30)
625
+ return {}
626
+
627
+
628
+ @pytest.mark.asyncio
629
+ async def test_a_popup_that_answers_page_enable_only_once_it_runs_is_told_to_run_at_once_held_to_its_window_first():
630
+ devtools = PausedUntilRun()
631
+ control = BrowserControl(devtools, "agent", (1024, 768))
632
+ await control.attach()
633
+ devtools.send("Target.attachedToTarget", {"sessionId": "s-popup", "waitingForDebugger": True, **_page("popup")})
634
+ await asyncio.wait_for(devtools.ran.wait(), 1)
604
635
  await asyncio.sleep(0)
605
636
 
606
637
  assert [method for method, _, session in devtools.calls if session == "s-popup"] == [
607
- "Page.enable", "Runtime.runIfWaitingForDebugger"]
638
+ "Page.enable", "Emulation.setDeviceMetricsOverride", "Page.setInterceptFileChooserDialog",
639
+ "Runtime.runIfWaitingForDebugger"]
608
640
 
609
641
 
610
642
  class Navigating(StubDevTools):
@@ -1248,7 +1280,7 @@ async def test_its_control_answers_a_dialog_on_its_pages_session_as_its_setting_
1248
1280
 
1249
1281
  devtools.send("Page.javascriptDialogOpening", {"type": kind, "message": "Sure?", "url": "https://a.test/",
1250
1282
  "defaultPrompt": "yes"}, "s-a")
1251
- await asyncio.sleep(0)
1283
+ await asyncio.sleep(0.01)
1252
1284
  devtools.send("Page.javascriptDialogClosed", {"result": answer == "accepted"}, "s-a")
1253
1285
 
1254
1286
  assert ("Page.enable", {}, "s-a") in devtools.calls