anchorbrowser 0.3.2__tar.gz → 0.3.3__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 (173) hide show
  1. anchorbrowser-0.3.3/.release-please-manifest.json +3 -0
  2. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/CHANGELOG.md +18 -0
  3. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/PKG-INFO +1 -1
  4. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/pyproject.toml +1 -1
  5. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/_streaming.py +4 -6
  6. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/_version.py +1 -1
  7. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/resources/tools.py +39 -0
  8. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/types/tool_perform_web_task_params.py +25 -0
  9. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/tests/api_resources/test_tools.py +8 -0
  10. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/tests/test_client.py +204 -164
  11. anchorbrowser-0.3.2/.release-please-manifest.json +0 -3
  12. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/.gitignore +0 -0
  13. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/CONTRIBUTING.md +0 -0
  14. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/LICENSE +0 -0
  15. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/README.md +0 -0
  16. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/SECURITY.md +0 -0
  17. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/api.md +0 -0
  18. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/bin/check-release-environment +0 -0
  19. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/bin/publish-pypi +0 -0
  20. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/examples/.keep +0 -0
  21. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/noxfile.py +0 -0
  22. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/release-please-config.json +0 -0
  23. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/requirements-dev.lock +0 -0
  24. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/requirements.lock +0 -0
  25. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/__init__.py +0 -0
  26. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/_base_client.py +0 -0
  27. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/_client.py +0 -0
  28. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/_compat.py +0 -0
  29. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/_constants.py +0 -0
  30. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/_exceptions.py +0 -0
  31. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/_files.py +0 -0
  32. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/_models.py +0 -0
  33. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/_qs.py +0 -0
  34. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/_resource.py +0 -0
  35. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/_response.py +0 -0
  36. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/_types.py +0 -0
  37. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/_utils/__init__.py +0 -0
  38. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/_utils/_compat.py +0 -0
  39. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/_utils/_datetime_parse.py +0 -0
  40. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/_utils/_logs.py +0 -0
  41. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/_utils/_proxy.py +0 -0
  42. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/_utils/_reflection.py +0 -0
  43. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/_utils/_resources_proxy.py +0 -0
  44. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/_utils/_streams.py +0 -0
  45. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/_utils/_sync.py +0 -0
  46. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/_utils/_transform.py +0 -0
  47. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/_utils/_typing.py +0 -0
  48. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/_utils/_utils.py +0 -0
  49. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/lib/.keep +0 -0
  50. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/lib/agent.py +0 -0
  51. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/lib/browser.py +0 -0
  52. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/py.typed +0 -0
  53. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/resources/__init__.py +0 -0
  54. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/resources/agent.py +0 -0
  55. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/resources/batch_sessions.py +0 -0
  56. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/resources/browser.py +0 -0
  57. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/resources/events.py +0 -0
  58. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/resources/extensions.py +0 -0
  59. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/resources/profiles.py +0 -0
  60. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/resources/sessions/__init__.py +0 -0
  61. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/resources/sessions/agent/__init__.py +0 -0
  62. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/resources/sessions/agent/agent.py +0 -0
  63. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/resources/sessions/agent/files.py +0 -0
  64. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/resources/sessions/all.py +0 -0
  65. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/resources/sessions/clipboard.py +0 -0
  66. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/resources/sessions/keyboard.py +0 -0
  67. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/resources/sessions/mouse.py +0 -0
  68. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/resources/sessions/recordings/__init__.py +0 -0
  69. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/resources/sessions/recordings/primary.py +0 -0
  70. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/resources/sessions/recordings/recordings.py +0 -0
  71. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/resources/sessions/sessions.py +0 -0
  72. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/resources/task.py +0 -0
  73. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/types/__init__.py +0 -0
  74. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/types/batch_session_create_params.py +0 -0
  75. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/types/batch_session_create_response.py +0 -0
  76. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/types/batch_session_retrieve_response.py +0 -0
  77. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/types/event_signal_params.py +0 -0
  78. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/types/event_wait_for_params.py +0 -0
  79. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/types/event_wait_for_response.py +0 -0
  80. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/types/extension_delete_response.py +0 -0
  81. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/types/extension_list_response.py +0 -0
  82. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/types/extension_manifest.py +0 -0
  83. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/types/extension_retrieve_response.py +0 -0
  84. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/types/extension_upload_params.py +0 -0
  85. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/types/extension_upload_response.py +0 -0
  86. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/types/profile_create_params.py +0 -0
  87. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/types/profile_list_response.py +0 -0
  88. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/types/profile_retrieve_response.py +0 -0
  89. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/types/session_copy_response.py +0 -0
  90. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/types/session_create_params.py +0 -0
  91. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/types/session_create_response.py +0 -0
  92. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/types/session_drag_and_drop_params.py +0 -0
  93. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/types/session_drag_and_drop_response.py +0 -0
  94. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/types/session_goto_params.py +0 -0
  95. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/types/session_goto_response.py +0 -0
  96. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/types/session_list_pages_response.py +0 -0
  97. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/types/session_paste_params.py +0 -0
  98. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/types/session_paste_response.py +0 -0
  99. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/types/session_retrieve_downloads_response.py +0 -0
  100. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/types/session_retrieve_response.py +0 -0
  101. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/types/session_scroll_params.py +0 -0
  102. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/types/session_scroll_response.py +0 -0
  103. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/types/session_upload_file_params.py +0 -0
  104. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/types/session_upload_file_response.py +0 -0
  105. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/types/sessions/__init__.py +0 -0
  106. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/types/sessions/agent/__init__.py +0 -0
  107. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/types/sessions/agent/file_list_response.py +0 -0
  108. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/types/sessions/agent/file_upload_params.py +0 -0
  109. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/types/sessions/agent/file_upload_response.py +0 -0
  110. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/types/sessions/all_status_response.py +0 -0
  111. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/types/sessions/clipboard_get_response.py +0 -0
  112. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/types/sessions/clipboard_set_params.py +0 -0
  113. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/types/sessions/clipboard_set_response.py +0 -0
  114. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/types/sessions/keyboard_shortcut_params.py +0 -0
  115. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/types/sessions/keyboard_shortcut_response.py +0 -0
  116. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/types/sessions/keyboard_type_params.py +0 -0
  117. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/types/sessions/keyboard_type_response.py +0 -0
  118. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/types/sessions/mouse_click_params.py +0 -0
  119. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/types/sessions/mouse_click_response.py +0 -0
  120. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/types/sessions/mouse_double_click_params.py +0 -0
  121. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/types/sessions/mouse_double_click_response.py +0 -0
  122. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/types/sessions/mouse_move_params.py +0 -0
  123. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/types/sessions/mouse_move_response.py +0 -0
  124. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/types/sessions/recording_list_response.py +0 -0
  125. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/types/sessions/recording_pause_response.py +0 -0
  126. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/types/sessions/recording_resume_response.py +0 -0
  127. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/types/sessions/recordings/__init__.py +0 -0
  128. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/types/shared/__init__.py +0 -0
  129. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/types/shared/success_response.py +0 -0
  130. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/types/task/__init__.py +0 -0
  131. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/types/task/run_execute_params.py +0 -0
  132. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/types/task/run_execute_response.py +0 -0
  133. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/types/task_create_params.py +0 -0
  134. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/types/task_create_response.py +0 -0
  135. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/types/task_list_params.py +0 -0
  136. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/types/task_list_response.py +0 -0
  137. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/types/tool_fetch_webpage_params.py +0 -0
  138. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/types/tool_fetch_webpage_response.py +0 -0
  139. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/types/tool_perform_web_task_response.py +0 -0
  140. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/src/anchorbrowser/types/tool_screenshot_webpage_params.py +0 -0
  141. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/tests/__init__.py +0 -0
  142. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/tests/api_resources/__init__.py +0 -0
  143. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/tests/api_resources/sessions/__init__.py +0 -0
  144. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/tests/api_resources/sessions/agent/test_files.py +0 -0
  145. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/tests/api_resources/sessions/recordings/__init__.py +0 -0
  146. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/tests/api_resources/sessions/recordings/test_primary.py +0 -0
  147. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/tests/api_resources/sessions/test_agent.py +0 -0
  148. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/tests/api_resources/sessions/test_all.py +0 -0
  149. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/tests/api_resources/sessions/test_clipboard.py +0 -0
  150. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/tests/api_resources/sessions/test_keyboard.py +0 -0
  151. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/tests/api_resources/sessions/test_mouse.py +0 -0
  152. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/tests/api_resources/sessions/test_recordings.py +0 -0
  153. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/tests/api_resources/test_batch_sessions.py +0 -0
  154. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/tests/api_resources/test_events.py +0 -0
  155. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/tests/api_resources/test_extensions.py +0 -0
  156. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/tests/api_resources/test_profiles.py +0 -0
  157. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/tests/api_resources/test_sessions.py +0 -0
  158. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/tests/api_resources/test_task.py +0 -0
  159. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/tests/conftest.py +0 -0
  160. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/tests/sample_file.txt +0 -0
  161. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/tests/test_deepcopy.py +0 -0
  162. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/tests/test_extract_files.py +0 -0
  163. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/tests/test_files.py +0 -0
  164. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/tests/test_models.py +0 -0
  165. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/tests/test_qs.py +0 -0
  166. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/tests/test_required_args.py +0 -0
  167. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/tests/test_response.py +0 -0
  168. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/tests/test_streaming.py +0 -0
  169. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/tests/test_transform.py +0 -0
  170. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/tests/test_utils/test_datetime_parse.py +0 -0
  171. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/tests/test_utils/test_proxy.py +0 -0
  172. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/tests/test_utils/test_typing.py +0 -0
  173. {anchorbrowser-0.3.2 → anchorbrowser-0.3.3}/tests/utils.py +0 -0
@@ -0,0 +1,3 @@
1
+ {
2
+ ".": "0.3.3"
3
+ }
@@ -1,5 +1,23 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.3.3 (2025-10-31)
4
+
5
+ Full Changelog: [v0.3.2...v0.3.3](https://github.com/anchorbrowser/AnchorBrowser-SDK-Python/compare/v0.3.2...v0.3.3)
6
+
7
+ ### Features
8
+
9
+ * Enhanced agent features documentation ([6ebf420](https://github.com/anchorbrowser/AnchorBrowser-SDK-Python/commit/6ebf4206b4e60185adc696d63c8847dcebd45c83))
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * **client:** close streams without requiring full consumption ([3ff9aa7](https://github.com/anchorbrowser/AnchorBrowser-SDK-Python/commit/3ff9aa743c874d2ecdbf3884fc630d1c81abc32c))
15
+
16
+
17
+ ### Chores
18
+
19
+ * **internal/tests:** avoid race condition with implicit client cleanup ([5883b7c](https://github.com/anchorbrowser/AnchorBrowser-SDK-Python/commit/5883b7ce49e1d130b094b44bee109b9ae20c27a9))
20
+
3
21
  ## 0.3.2 (2025-10-27)
4
22
 
5
23
  Full Changelog: [v0.3.1...v0.3.2](https://github.com/anchorbrowser/AnchorBrowser-SDK-Python/compare/v0.3.1...v0.3.2)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: anchorbrowser
3
- Version: 0.3.2
3
+ Version: 0.3.3
4
4
  Summary: The official Python library for the anchorbrowser API
5
5
  Project-URL: Homepage, https://github.com/anchorbrowser/AnchorBrowser-SDK-Python
6
6
  Project-URL: Repository, https://github.com/anchorbrowser/AnchorBrowser-SDK-Python
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "anchorbrowser"
3
- version = "0.3.2"
3
+ version = "0.3.3"
4
4
  description = "The official Python library for the anchorbrowser API"
5
5
  dynamic = ["readme"]
6
6
  license = "Apache-2.0"
@@ -57,9 +57,8 @@ class Stream(Generic[_T]):
57
57
  for sse in iterator:
58
58
  yield process_data(data=sse.json(), cast_to=cast_to, response=response)
59
59
 
60
- # Ensure the entire stream is consumed
61
- for _sse in iterator:
62
- ...
60
+ # As we might not fully consume the response stream, we need to close it explicitly
61
+ response.close()
63
62
 
64
63
  def __enter__(self) -> Self:
65
64
  return self
@@ -121,9 +120,8 @@ class AsyncStream(Generic[_T]):
121
120
  async for sse in iterator:
122
121
  yield process_data(data=sse.json(), cast_to=cast_to, response=response)
123
122
 
124
- # Ensure the entire stream is consumed
125
- async for _sse in iterator:
126
- ...
123
+ # As we might not fully consume the response stream, we need to close it explicitly
124
+ await response.aclose()
127
125
 
128
126
  async def __aenter__(self) -> Self:
129
127
  return self
@@ -1,4 +1,4 @@
1
1
  # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
3
  __title__ = "anchorbrowser"
4
- __version__ = "0.3.2" # x-release-please-version
4
+ __version__ = "0.3.3" # x-release-please-version
@@ -2,6 +2,7 @@
2
2
 
3
3
  from __future__ import annotations
4
4
 
5
+ from typing import Dict
5
6
  from typing_extensions import Literal
6
7
 
7
8
  import httpx
@@ -128,10 +129,14 @@ class ToolsResource(SyncAPIResource):
128
129
  prompt: str,
129
130
  session_id: str | Omit = omit,
130
131
  agent: Literal["browser-use", "openai-cua"] | Omit = omit,
132
+ detect_elements: bool | Omit = omit,
131
133
  highlight_elements: bool | Omit = omit,
134
+ human_intervention: bool | Omit = omit,
135
+ max_steps: int | Omit = omit,
132
136
  model: str | Omit = omit,
133
137
  output_schema: object | Omit = omit,
134
138
  provider: Literal["openai", "gemini", "groq", "azure", "xai"] | Omit = omit,
139
+ secret_values: Dict[str, str] | Omit = omit,
135
140
  url: str | Omit = omit,
136
141
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
137
142
  # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -152,8 +157,16 @@ class ToolsResource(SyncAPIResource):
152
157
 
153
158
  agent: The AI agent to use for task completion. Defaults to browser-use.
154
159
 
160
+ detect_elements: Enable element detection for better interaction accuracy. Improves the agent's
161
+ ability to identify and interact with UI elements.
162
+
155
163
  highlight_elements: Whether to highlight elements during task execution for better visibility.
156
164
 
165
+ human_intervention: Allow human intervention during task execution. When enabled, the agent can
166
+ request human input for ambiguous situations.
167
+
168
+ max_steps: Maximum number of steps the agent can take to complete the task. Defaults to 25.
169
+
157
170
  model: The specific model to use for task completion. see our
158
171
  [models](/agentic-browser-control/ai-task-completion#available-models) page for
159
172
  more information.
@@ -162,6 +175,9 @@ class ToolsResource(SyncAPIResource):
162
175
 
163
176
  provider: The AI provider to use for task completion.
164
177
 
178
+ secret_values: Secret values to pass to the agent for secure credential handling. Keys and
179
+ values are passed as environment variables to the agent.
180
+
165
181
  url: The URL of the webpage. If not provided, the tool will use the current page in
166
182
  the session.
167
183
 
@@ -179,10 +195,14 @@ class ToolsResource(SyncAPIResource):
179
195
  {
180
196
  "prompt": prompt,
181
197
  "agent": agent,
198
+ "detect_elements": detect_elements,
182
199
  "highlight_elements": highlight_elements,
200
+ "human_intervention": human_intervention,
201
+ "max_steps": max_steps,
183
202
  "model": model,
184
203
  "output_schema": output_schema,
185
204
  "provider": provider,
205
+ "secret_values": secret_values,
186
206
  "url": url,
187
207
  },
188
208
  tool_perform_web_task_params.ToolPerformWebTaskParams,
@@ -381,10 +401,14 @@ class AsyncToolsResource(AsyncAPIResource):
381
401
  prompt: str,
382
402
  session_id: str | Omit = omit,
383
403
  agent: Literal["browser-use", "openai-cua"] | Omit = omit,
404
+ detect_elements: bool | Omit = omit,
384
405
  highlight_elements: bool | Omit = omit,
406
+ human_intervention: bool | Omit = omit,
407
+ max_steps: int | Omit = omit,
385
408
  model: str | Omit = omit,
386
409
  output_schema: object | Omit = omit,
387
410
  provider: Literal["openai", "gemini", "groq", "azure", "xai"] | Omit = omit,
411
+ secret_values: Dict[str, str] | Omit = omit,
388
412
  url: str | Omit = omit,
389
413
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
390
414
  # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -405,8 +429,16 @@ class AsyncToolsResource(AsyncAPIResource):
405
429
 
406
430
  agent: The AI agent to use for task completion. Defaults to browser-use.
407
431
 
432
+ detect_elements: Enable element detection for better interaction accuracy. Improves the agent's
433
+ ability to identify and interact with UI elements.
434
+
408
435
  highlight_elements: Whether to highlight elements during task execution for better visibility.
409
436
 
437
+ human_intervention: Allow human intervention during task execution. When enabled, the agent can
438
+ request human input for ambiguous situations.
439
+
440
+ max_steps: Maximum number of steps the agent can take to complete the task. Defaults to 25.
441
+
410
442
  model: The specific model to use for task completion. see our
411
443
  [models](/agentic-browser-control/ai-task-completion#available-models) page for
412
444
  more information.
@@ -415,6 +447,9 @@ class AsyncToolsResource(AsyncAPIResource):
415
447
 
416
448
  provider: The AI provider to use for task completion.
417
449
 
450
+ secret_values: Secret values to pass to the agent for secure credential handling. Keys and
451
+ values are passed as environment variables to the agent.
452
+
418
453
  url: The URL of the webpage. If not provided, the tool will use the current page in
419
454
  the session.
420
455
 
@@ -432,10 +467,14 @@ class AsyncToolsResource(AsyncAPIResource):
432
467
  {
433
468
  "prompt": prompt,
434
469
  "agent": agent,
470
+ "detect_elements": detect_elements,
435
471
  "highlight_elements": highlight_elements,
472
+ "human_intervention": human_intervention,
473
+ "max_steps": max_steps,
436
474
  "model": model,
437
475
  "output_schema": output_schema,
438
476
  "provider": provider,
477
+ "secret_values": secret_values,
439
478
  "url": url,
440
479
  },
441
480
  tool_perform_web_task_params.ToolPerformWebTaskParams,
@@ -2,6 +2,7 @@
2
2
 
3
3
  from __future__ import annotations
4
4
 
5
+ from typing import Dict
5
6
  from typing_extensions import Literal, Required, Annotated, TypedDict
6
7
 
7
8
  from .._utils import PropertyInfo
@@ -23,9 +24,27 @@ class ToolPerformWebTaskParams(TypedDict, total=False):
23
24
  agent: Literal["browser-use", "openai-cua"]
24
25
  """The AI agent to use for task completion. Defaults to browser-use."""
25
26
 
27
+ detect_elements: bool
28
+ """Enable element detection for better interaction accuracy.
29
+
30
+ Improves the agent's ability to identify and interact with UI elements.
31
+ """
32
+
26
33
  highlight_elements: bool
27
34
  """Whether to highlight elements during task execution for better visibility."""
28
35
 
36
+ human_intervention: bool
37
+ """Allow human intervention during task execution.
38
+
39
+ When enabled, the agent can request human input for ambiguous situations.
40
+ """
41
+
42
+ max_steps: int
43
+ """Maximum number of steps the agent can take to complete the task.
44
+
45
+ Defaults to 25.
46
+ """
47
+
29
48
  model: str
30
49
  """The specific model to use for task completion.
31
50
 
@@ -39,6 +58,12 @@ class ToolPerformWebTaskParams(TypedDict, total=False):
39
58
  provider: Literal["openai", "gemini", "groq", "azure", "xai"]
40
59
  """The AI provider to use for task completion."""
41
60
 
61
+ secret_values: Dict[str, str]
62
+ """Secret values to pass to the agent for secure credential handling.
63
+
64
+ Keys and values are passed as environment variables to the agent.
65
+ """
66
+
42
67
  url: str
43
68
  """The URL of the webpage.
44
69
 
@@ -84,10 +84,14 @@ class TestTools:
84
84
  prompt="prompt",
85
85
  session_id="sessionId",
86
86
  agent="browser-use",
87
+ detect_elements=True,
87
88
  highlight_elements=True,
89
+ human_intervention=True,
90
+ max_steps=0,
88
91
  model="model",
89
92
  output_schema={},
90
93
  provider="openai",
94
+ secret_values={"foo": "string"},
91
95
  url="url",
92
96
  )
93
97
  assert_matches_type(ToolPerformWebTaskResponse, tool, path=["response"])
@@ -237,10 +241,14 @@ class TestAsyncTools:
237
241
  prompt="prompt",
238
242
  session_id="sessionId",
239
243
  agent="browser-use",
244
+ detect_elements=True,
240
245
  highlight_elements=True,
246
+ human_intervention=True,
247
+ max_steps=0,
241
248
  model="model",
242
249
  output_schema={},
243
250
  provider="openai",
251
+ secret_values={"foo": "string"},
244
252
  url="url",
245
253
  )
246
254
  assert_matches_type(ToolPerformWebTaskResponse, tool, path=["response"])