anchorbrowser 0.6.2__tar.gz → 0.7.1__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.
- anchorbrowser-0.7.1/.release-please-manifest.json +3 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/CHANGELOG.md +12 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/PKG-INFO +1 -1
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/api.md +9 -48
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/pyproject.toml +1 -1
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/_client.py +1 -2
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/_version.py +1 -1
- anchorbrowser-0.7.1/src/anchorbrowser/resources/extensions.py +135 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/resources/sessions/agent/files.py +0 -83
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/resources/sessions/clipboard.py +0 -79
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/resources/sessions/mouse.py +1 -114
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/resources/sessions/recordings/recordings.py +0 -158
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/resources/sessions/sessions.py +0 -246
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/resources/task.py +8 -8
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/resources/tools.py +8 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/types/__init__.py +2 -8
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/types/sessions/__init__.py +0 -5
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/types/sessions/agent/__init__.py +0 -1
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/types/task_run_params.py +2 -2
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/types/task_run_response.py +2 -2
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/tests/api_resources/sessions/agent/test_files.py +1 -85
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/tests/api_resources/sessions/test_clipboard.py +1 -85
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/tests/api_resources/sessions/test_mouse.py +1 -127
- anchorbrowser-0.7.1/tests/api_resources/sessions/test_recordings.py +108 -0
- anchorbrowser-0.7.1/tests/api_resources/test_extensions.py +80 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/tests/api_resources/test_sessions.py +0 -263
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/tests/api_resources/test_task.py +30 -22
- anchorbrowser-0.6.2/.release-please-manifest.json +0 -3
- anchorbrowser-0.6.2/src/anchorbrowser/resources/extensions.py +0 -412
- anchorbrowser-0.6.2/src/anchorbrowser/types/extension_delete_response.py +0 -12
- anchorbrowser-0.6.2/src/anchorbrowser/types/extension_retrieve_response.py +0 -27
- anchorbrowser-0.6.2/src/anchorbrowser/types/extension_upload_params.py +0 -17
- anchorbrowser-0.6.2/src/anchorbrowser/types/extension_upload_response.py +0 -31
- anchorbrowser-0.6.2/src/anchorbrowser/types/session_copy_response.py +0 -12
- anchorbrowser-0.6.2/src/anchorbrowser/types/session_list_pages_response.py +0 -25
- anchorbrowser-0.6.2/src/anchorbrowser/types/session_paste_params.py +0 -12
- anchorbrowser-0.6.2/src/anchorbrowser/types/session_paste_response.py +0 -11
- anchorbrowser-0.6.2/src/anchorbrowser/types/sessions/agent/file_list_response.py +0 -32
- anchorbrowser-0.6.2/src/anchorbrowser/types/sessions/clipboard_get_response.py +0 -16
- anchorbrowser-0.6.2/src/anchorbrowser/types/sessions/mouse_double_click_params.py +0 -18
- anchorbrowser-0.6.2/src/anchorbrowser/types/sessions/mouse_double_click_response.py +0 -11
- anchorbrowser-0.6.2/src/anchorbrowser/types/sessions/recording_pause_response.py +0 -12
- anchorbrowser-0.6.2/src/anchorbrowser/types/sessions/recording_resume_response.py +0 -12
- anchorbrowser-0.6.2/tests/api_resources/sessions/test_recordings.py +0 -276
- anchorbrowser-0.6.2/tests/api_resources/test_extensions.py +0 -327
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/.gitignore +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/CONTRIBUTING.md +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/LICENSE +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/README.md +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/SECURITY.md +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/bin/check-release-environment +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/bin/publish-pypi +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/examples/.keep +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/noxfile.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/release-please-config.json +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/requirements-dev.lock +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/requirements.lock +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/__init__.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/_base_client.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/_compat.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/_constants.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/_exceptions.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/_files.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/_models.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/_qs.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/_resource.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/_response.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/_streaming.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/_types.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/_utils/__init__.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/_utils/_compat.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/_utils/_datetime_parse.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/_utils/_logs.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/_utils/_proxy.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/_utils/_reflection.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/_utils/_resources_proxy.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/_utils/_streams.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/_utils/_sync.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/_utils/_transform.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/_utils/_typing.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/_utils/_utils.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/lib/.keep +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/lib/agent.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/lib/browser.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/py.typed +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/resources/__init__.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/resources/agent.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/resources/applications/__init__.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/resources/applications/applications.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/resources/applications/auth_flows.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/resources/browser.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/resources/events.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/resources/identities.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/resources/profiles.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/resources/sessions/__init__.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/resources/sessions/agent/__init__.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/resources/sessions/agent/agent.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/resources/sessions/all.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/resources/sessions/keyboard.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/resources/sessions/recordings/__init__.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/resources/sessions/recordings/primary.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/types/application_create_identity_token_params.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/types/application_create_identity_token_response.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/types/application_create_params.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/types/application_create_response.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/types/application_delete_response.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/types/application_list_identities_params.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/types/application_list_identities_response.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/types/application_list_params.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/types/application_list_response.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/types/application_retrieve_response.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/types/applications/__init__.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/types/applications/auth_flow_create_params.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/types/applications/auth_flow_create_response.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/types/applications/auth_flow_delete_response.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/types/applications/auth_flow_list_response.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/types/applications/auth_flow_update_params.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/types/applications/auth_flow_update_response.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/types/event_signal_params.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/types/event_wait_for_params.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/types/event_wait_for_response.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/types/extension_list_response.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/types/extension_manifest.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/types/identity_create_params.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/types/identity_create_response.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/types/identity_delete_response.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/types/identity_retrieve_credentials_response.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/types/identity_retrieve_response.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/types/identity_update_params.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/types/identity_update_response.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/types/profile_create_params.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/types/profile_list_response.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/types/profile_retrieve_response.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/types/session_create_params.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/types/session_create_response.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/types/session_drag_and_drop_params.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/types/session_drag_and_drop_response.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/types/session_goto_params.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/types/session_goto_response.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/types/session_retrieve_downloads_response.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/types/session_retrieve_response.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/types/session_scroll_params.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/types/session_scroll_response.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/types/session_upload_file_params.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/types/session_upload_file_response.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/types/sessions/agent/file_upload_params.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/types/sessions/agent/file_upload_response.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/types/sessions/all_status_response.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/types/sessions/clipboard_set_params.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/types/sessions/clipboard_set_response.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/types/sessions/keyboard_shortcut_params.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/types/sessions/keyboard_shortcut_response.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/types/sessions/keyboard_type_params.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/types/sessions/keyboard_type_response.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/types/sessions/mouse_click_params.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/types/sessions/mouse_click_response.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/types/sessions/mouse_move_params.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/types/sessions/mouse_move_response.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/types/sessions/recording_list_response.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/types/sessions/recordings/__init__.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/types/shared/__init__.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/types/shared/success_response.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/types/task_create_params.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/types/task_create_response.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/types/task_list_params.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/types/task_list_response.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/types/tool_fetch_webpage_params.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/types/tool_fetch_webpage_response.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/types/tool_perform_web_task_params.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/types/tool_perform_web_task_response.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/types/tool_screenshot_webpage_params.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/tests/__init__.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/tests/api_resources/__init__.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/tests/api_resources/sessions/__init__.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/tests/api_resources/sessions/recordings/__init__.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/tests/api_resources/sessions/recordings/test_primary.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/tests/api_resources/sessions/test_agent.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/tests/api_resources/sessions/test_all.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/tests/api_resources/sessions/test_keyboard.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/tests/api_resources/test_events.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/tests/api_resources/test_identities.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/tests/api_resources/test_profiles.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/tests/api_resources/test_tools.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/tests/conftest.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/tests/sample_file.txt +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/tests/test_client.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/tests/test_deepcopy.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/tests/test_extract_files.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/tests/test_files.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/tests/test_models.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/tests/test_qs.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/tests/test_required_args.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/tests/test_response.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/tests/test_streaming.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/tests/test_transform.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/tests/test_utils/test_datetime_parse.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/tests/test_utils/test_proxy.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/tests/test_utils/test_typing.py +0 -0
- {anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/tests/utils.py +0 -0
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.7.1 (2026-01-15)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.7.0...v0.7.1](https://github.com/anchorbrowser/AnchorBrowser-SDK-Python/compare/v0.7.0...v0.7.1)
|
|
6
|
+
|
|
7
|
+
## 0.7.0 (2026-01-14)
|
|
8
|
+
|
|
9
|
+
Full Changelog: [v0.6.2...v0.7.0](https://github.com/anchorbrowser/AnchorBrowser-SDK-Python/compare/v0.6.2...v0.7.0)
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* **api:** manual updates ([cc4db06](https://github.com/anchorbrowser/AnchorBrowser-SDK-Python/commit/cc4db0601ddb4ca2bd37bc56415678d69b1e65df))
|
|
14
|
+
|
|
3
15
|
## 0.6.2 (2026-01-14)
|
|
4
16
|
|
|
5
17
|
Full Changelog: [v0.6.1...v0.6.2](https://github.com/anchorbrowser/AnchorBrowser-SDK-Python/compare/v0.6.1...v0.6.2)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: anchorbrowser
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.7.1
|
|
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
|
|
@@ -27,11 +27,8 @@ Types:
|
|
|
27
27
|
from anchorbrowser.types import (
|
|
28
28
|
SessionCreateResponse,
|
|
29
29
|
SessionRetrieveResponse,
|
|
30
|
-
SessionCopyResponse,
|
|
31
30
|
SessionDragAndDropResponse,
|
|
32
31
|
SessionGotoResponse,
|
|
33
|
-
SessionListPagesResponse,
|
|
34
|
-
SessionPasteResponse,
|
|
35
32
|
SessionRetrieveDownloadsResponse,
|
|
36
33
|
SessionScrollResponse,
|
|
37
34
|
SessionUploadFileResponse,
|
|
@@ -43,11 +40,8 @@ Methods:
|
|
|
43
40
|
- <code title="post /v1/sessions">client.sessions.<a href="./src/anchorbrowser/resources/sessions/sessions.py">create</a>(\*\*<a href="src/anchorbrowser/types/session_create_params.py">params</a>) -> <a href="./src/anchorbrowser/types/session_create_response.py">SessionCreateResponse</a></code>
|
|
44
41
|
- <code title="get /v1/sessions/{session_id}">client.sessions.<a href="./src/anchorbrowser/resources/sessions/sessions.py">retrieve</a>(session_id) -> <a href="./src/anchorbrowser/types/session_retrieve_response.py">SessionRetrieveResponse</a></code>
|
|
45
42
|
- <code title="delete /v1/sessions/{session_id}">client.sessions.<a href="./src/anchorbrowser/resources/sessions/sessions.py">delete</a>(session_id) -> <a href="./src/anchorbrowser/types/shared/success_response.py">SuccessResponse</a></code>
|
|
46
|
-
- <code title="post /v1/sessions/{sessionId}/copy">client.sessions.<a href="./src/anchorbrowser/resources/sessions/sessions.py">copy</a>(session_id) -> <a href="./src/anchorbrowser/types/session_copy_response.py">SessionCopyResponse</a></code>
|
|
47
43
|
- <code title="post /v1/sessions/{sessionId}/drag-and-drop">client.sessions.<a href="./src/anchorbrowser/resources/sessions/sessions.py">drag_and_drop</a>(session_id, \*\*<a href="src/anchorbrowser/types/session_drag_and_drop_params.py">params</a>) -> <a href="./src/anchorbrowser/types/session_drag_and_drop_response.py">SessionDragAndDropResponse</a></code>
|
|
48
44
|
- <code title="post /v1/sessions/{sessionId}/goto">client.sessions.<a href="./src/anchorbrowser/resources/sessions/sessions.py">goto</a>(session_id, \*\*<a href="src/anchorbrowser/types/session_goto_params.py">params</a>) -> <a href="./src/anchorbrowser/types/session_goto_response.py">SessionGotoResponse</a></code>
|
|
49
|
-
- <code title="get /v1/sessions/{session_id}/pages">client.sessions.<a href="./src/anchorbrowser/resources/sessions/sessions.py">list_pages</a>(session_id) -> <a href="./src/anchorbrowser/types/session_list_pages_response.py">SessionListPagesResponse</a></code>
|
|
50
|
-
- <code title="post /v1/sessions/{sessionId}/paste">client.sessions.<a href="./src/anchorbrowser/resources/sessions/sessions.py">paste</a>(session_id, \*\*<a href="src/anchorbrowser/types/session_paste_params.py">params</a>) -> <a href="./src/anchorbrowser/types/session_paste_response.py">SessionPasteResponse</a></code>
|
|
51
45
|
- <code title="get /v1/sessions/{session_id}/downloads">client.sessions.<a href="./src/anchorbrowser/resources/sessions/sessions.py">retrieve_downloads</a>(session_id) -> <a href="./src/anchorbrowser/types/session_retrieve_downloads_response.py">SessionRetrieveDownloadsResponse</a></code>
|
|
52
46
|
- <code title="get /v1/sessions/{sessionId}/screenshot">client.sessions.<a href="./src/anchorbrowser/resources/sessions/sessions.py">retrieve_screenshot</a>(session_id) -> BinaryAPIResponse</code>
|
|
53
47
|
- <code title="post /v1/sessions/{sessionId}/scroll">client.sessions.<a href="./src/anchorbrowser/resources/sessions/sessions.py">scroll</a>(session_id, \*\*<a href="src/anchorbrowser/types/session_scroll_params.py">params</a>) -> <a href="./src/anchorbrowser/types/session_scroll_response.py">SessionScrollResponse</a></code>
|
|
@@ -71,18 +65,12 @@ Methods:
|
|
|
71
65
|
Types:
|
|
72
66
|
|
|
73
67
|
```python
|
|
74
|
-
from anchorbrowser.types.sessions import
|
|
75
|
-
RecordingListResponse,
|
|
76
|
-
RecordingPauseResponse,
|
|
77
|
-
RecordingResumeResponse,
|
|
78
|
-
)
|
|
68
|
+
from anchorbrowser.types.sessions import RecordingListResponse
|
|
79
69
|
```
|
|
80
70
|
|
|
81
71
|
Methods:
|
|
82
72
|
|
|
83
73
|
- <code title="get /v1/sessions/{session_id}/recordings">client.sessions.recordings.<a href="./src/anchorbrowser/resources/sessions/recordings/recordings.py">list</a>(session_id) -> <a href="./src/anchorbrowser/types/sessions/recording_list_response.py">RecordingListResponse</a></code>
|
|
84
|
-
- <code title="post /v1/sessions/{session_id}/recordings/pause">client.sessions.recordings.<a href="./src/anchorbrowser/resources/sessions/recordings/recordings.py">pause</a>(session_id) -> <a href="./src/anchorbrowser/types/sessions/recording_pause_response.py">RecordingPauseResponse</a></code>
|
|
85
|
-
- <code title="post /v1/sessions/{session_id}/recordings/resume">client.sessions.recordings.<a href="./src/anchorbrowser/resources/sessions/recordings/recordings.py">resume</a>(session_id) -> <a href="./src/anchorbrowser/types/sessions/recording_resume_response.py">RecordingResumeResponse</a></code>
|
|
86
74
|
|
|
87
75
|
### Primary
|
|
88
76
|
|
|
@@ -95,17 +83,12 @@ Methods:
|
|
|
95
83
|
Types:
|
|
96
84
|
|
|
97
85
|
```python
|
|
98
|
-
from anchorbrowser.types.sessions import
|
|
99
|
-
MouseClickResponse,
|
|
100
|
-
MouseDoubleClickResponse,
|
|
101
|
-
MouseMoveResponse,
|
|
102
|
-
)
|
|
86
|
+
from anchorbrowser.types.sessions import MouseClickResponse, MouseMoveResponse
|
|
103
87
|
```
|
|
104
88
|
|
|
105
89
|
Methods:
|
|
106
90
|
|
|
107
91
|
- <code title="post /v1/sessions/{sessionId}/mouse/click">client.sessions.mouse.<a href="./src/anchorbrowser/resources/sessions/mouse.py">click</a>(session_id, \*\*<a href="src/anchorbrowser/types/sessions/mouse_click_params.py">params</a>) -> <a href="./src/anchorbrowser/types/sessions/mouse_click_response.py">MouseClickResponse</a></code>
|
|
108
|
-
- <code title="post /v1/sessions/{sessionId}/mouse/doubleClick">client.sessions.mouse.<a href="./src/anchorbrowser/resources/sessions/mouse.py">double_click</a>(session_id, \*\*<a href="src/anchorbrowser/types/sessions/mouse_double_click_params.py">params</a>) -> <a href="./src/anchorbrowser/types/sessions/mouse_double_click_response.py">MouseDoubleClickResponse</a></code>
|
|
109
92
|
- <code title="post /v1/sessions/{sessionId}/mouse/move">client.sessions.mouse.<a href="./src/anchorbrowser/resources/sessions/mouse.py">move</a>(session_id, \*\*<a href="src/anchorbrowser/types/sessions/mouse_move_params.py">params</a>) -> <a href="./src/anchorbrowser/types/sessions/mouse_move_response.py">MouseMoveResponse</a></code>
|
|
110
93
|
|
|
111
94
|
## Keyboard
|
|
@@ -126,12 +109,11 @@ Methods:
|
|
|
126
109
|
Types:
|
|
127
110
|
|
|
128
111
|
```python
|
|
129
|
-
from anchorbrowser.types.sessions import
|
|
112
|
+
from anchorbrowser.types.sessions import ClipboardSetResponse
|
|
130
113
|
```
|
|
131
114
|
|
|
132
115
|
Methods:
|
|
133
116
|
|
|
134
|
-
- <code title="get /v1/sessions/{sessionId}/clipboard">client.sessions.clipboard.<a href="./src/anchorbrowser/resources/sessions/clipboard.py">get</a>(session_id) -> <a href="./src/anchorbrowser/types/sessions/clipboard_get_response.py">ClipboardGetResponse</a></code>
|
|
135
117
|
- <code title="post /v1/sessions/{sessionId}/clipboard">client.sessions.clipboard.<a href="./src/anchorbrowser/resources/sessions/clipboard.py">set</a>(session_id, \*\*<a href="src/anchorbrowser/types/sessions/clipboard_set_params.py">params</a>) -> <a href="./src/anchorbrowser/types/sessions/clipboard_set_response.py">ClipboardSetResponse</a></code>
|
|
136
118
|
|
|
137
119
|
## Agent
|
|
@@ -146,12 +128,11 @@ Methods:
|
|
|
146
128
|
Types:
|
|
147
129
|
|
|
148
130
|
```python
|
|
149
|
-
from anchorbrowser.types.sessions.agent import
|
|
131
|
+
from anchorbrowser.types.sessions.agent import FileUploadResponse
|
|
150
132
|
```
|
|
151
133
|
|
|
152
134
|
Methods:
|
|
153
135
|
|
|
154
|
-
- <code title="get /v1/sessions/{sessionId}/agent/files">client.sessions.agent.files.<a href="./src/anchorbrowser/resources/sessions/agent/files.py">list</a>(session_id) -> <a href="./src/anchorbrowser/types/sessions/agent/file_list_response.py">FileListResponse</a></code>
|
|
155
136
|
- <code title="post /v1/sessions/{sessionId}/agent/files">client.sessions.agent.files.<a href="./src/anchorbrowser/resources/sessions/agent/files.py">upload</a>(session_id, \*\*<a href="src/anchorbrowser/types/sessions/agent/file_upload_params.py">params</a>) -> <a href="./src/anchorbrowser/types/sessions/agent/file_upload_response.py">FileUploadResponse</a></code>
|
|
156
137
|
|
|
157
138
|
# Tools
|
|
@@ -173,21 +154,12 @@ Methods:
|
|
|
173
154
|
Types:
|
|
174
155
|
|
|
175
156
|
```python
|
|
176
|
-
from anchorbrowser.types import
|
|
177
|
-
ExtensionManifest,
|
|
178
|
-
ExtensionRetrieveResponse,
|
|
179
|
-
ExtensionListResponse,
|
|
180
|
-
ExtensionDeleteResponse,
|
|
181
|
-
ExtensionUploadResponse,
|
|
182
|
-
)
|
|
157
|
+
from anchorbrowser.types import ExtensionManifest, ExtensionListResponse
|
|
183
158
|
```
|
|
184
159
|
|
|
185
160
|
Methods:
|
|
186
161
|
|
|
187
|
-
- <code title="get /v1/extensions/{id}">client.extensions.<a href="./src/anchorbrowser/resources/extensions.py">retrieve</a>(id) -> <a href="./src/anchorbrowser/types/extension_retrieve_response.py">ExtensionRetrieveResponse</a></code>
|
|
188
162
|
- <code title="get /v1/extensions">client.extensions.<a href="./src/anchorbrowser/resources/extensions.py">list</a>() -> <a href="./src/anchorbrowser/types/extension_list_response.py">ExtensionListResponse</a></code>
|
|
189
|
-
- <code title="delete /v1/extensions/{id}">client.extensions.<a href="./src/anchorbrowser/resources/extensions.py">delete</a>(id) -> <a href="./src/anchorbrowser/types/extension_delete_response.py">ExtensionDeleteResponse</a></code>
|
|
190
|
-
- <code title="post /v1/extensions">client.extensions.<a href="./src/anchorbrowser/resources/extensions.py">upload</a>(\*\*<a href="src/anchorbrowser/types/extension_upload_params.py">params</a>) -> <a href="./src/anchorbrowser/types/extension_upload_response.py">ExtensionUploadResponse</a></code>
|
|
191
163
|
|
|
192
164
|
# Events
|
|
193
165
|
|
|
@@ -207,25 +179,14 @@ Methods:
|
|
|
207
179
|
Types:
|
|
208
180
|
|
|
209
181
|
```python
|
|
210
|
-
from anchorbrowser.types import TaskCreateResponse, TaskListResponse
|
|
211
|
-
```
|
|
212
|
-
|
|
213
|
-
Methods:
|
|
214
|
-
|
|
215
|
-
- <code title="post /v1/task">client.task.<a href="./src/anchorbrowser/resources/task/task.py">create</a>(\*\*<a href="src/anchorbrowser/types/task_create_params.py">params</a>) -> <a href="./src/anchorbrowser/types/task_create_response.py">TaskCreateResponse</a></code>
|
|
216
|
-
- <code title="get /v1/task">client.task.<a href="./src/anchorbrowser/resources/task/task.py">list</a>(\*\*<a href="src/anchorbrowser/types/task_list_params.py">params</a>) -> <a href="./src/anchorbrowser/types/task_list_response.py">TaskListResponse</a></code>
|
|
217
|
-
|
|
218
|
-
## Run
|
|
219
|
-
|
|
220
|
-
Types:
|
|
221
|
-
|
|
222
|
-
```python
|
|
223
|
-
from anchorbrowser.types.task import RunExecuteResponse
|
|
182
|
+
from anchorbrowser.types import TaskCreateResponse, TaskListResponse, TaskRunResponse
|
|
224
183
|
```
|
|
225
184
|
|
|
226
185
|
Methods:
|
|
227
186
|
|
|
228
|
-
- <code title="post /v1/task
|
|
187
|
+
- <code title="post /v1/task">client.task.<a href="./src/anchorbrowser/resources/task.py">create</a>(\*\*<a href="src/anchorbrowser/types/task_create_params.py">params</a>) -> <a href="./src/anchorbrowser/types/task_create_response.py">TaskCreateResponse</a></code>
|
|
188
|
+
- <code title="get /v1/task">client.task.<a href="./src/anchorbrowser/resources/task.py">list</a>(\*\*<a href="src/anchorbrowser/types/task_list_params.py">params</a>) -> <a href="./src/anchorbrowser/types/task_list_response.py">TaskListResponse</a></code>
|
|
189
|
+
- <code title="post /v1/task/run">client.task.<a href="./src/anchorbrowser/resources/task.py">run</a>(\*\*<a href="src/anchorbrowser/types/task_run_params.py">params</a>) -> <a href="./src/anchorbrowser/types/task_run_response.py">TaskRunResponse</a></code>
|
|
229
190
|
|
|
230
191
|
# Identities
|
|
231
192
|
|
|
@@ -21,7 +21,7 @@ from ._types import (
|
|
|
21
21
|
)
|
|
22
22
|
from ._utils import is_given, get_async_library
|
|
23
23
|
from ._version import __version__
|
|
24
|
-
from .resources import task, agent, tools, events, browser, profiles, extensions, identities, applications
|
|
24
|
+
from .resources import task, agent, tools, events, browser, profiles, sessions, extensions, identities, applications
|
|
25
25
|
from ._streaming import Stream as Stream, AsyncStream as AsyncStream
|
|
26
26
|
from ._exceptions import APIStatusError, AnchorbrowserError
|
|
27
27
|
from ._base_client import (
|
|
@@ -29,7 +29,6 @@ from ._base_client import (
|
|
|
29
29
|
SyncAPIClient,
|
|
30
30
|
AsyncAPIClient,
|
|
31
31
|
)
|
|
32
|
-
from .resources.sessions import sessions
|
|
33
32
|
|
|
34
33
|
__all__ = [
|
|
35
34
|
"Timeout",
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
import httpx
|
|
6
|
+
|
|
7
|
+
from .._types import Body, Query, Headers, NotGiven, not_given
|
|
8
|
+
from .._compat import cached_property
|
|
9
|
+
from .._resource import SyncAPIResource, AsyncAPIResource
|
|
10
|
+
from .._response import (
|
|
11
|
+
to_raw_response_wrapper,
|
|
12
|
+
to_streamed_response_wrapper,
|
|
13
|
+
async_to_raw_response_wrapper,
|
|
14
|
+
async_to_streamed_response_wrapper,
|
|
15
|
+
)
|
|
16
|
+
from .._base_client import make_request_options
|
|
17
|
+
from ..types.extension_list_response import ExtensionListResponse
|
|
18
|
+
|
|
19
|
+
__all__ = ["ExtensionsResource", "AsyncExtensionsResource"]
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class ExtensionsResource(SyncAPIResource):
|
|
23
|
+
@cached_property
|
|
24
|
+
def with_raw_response(self) -> ExtensionsResourceWithRawResponse:
|
|
25
|
+
"""
|
|
26
|
+
This property can be used as a prefix for any HTTP method call to return
|
|
27
|
+
the raw response object instead of the parsed content.
|
|
28
|
+
|
|
29
|
+
For more information, see https://www.github.com/anchorbrowser/AnchorBrowser-SDK-Python#accessing-raw-response-data-eg-headers
|
|
30
|
+
"""
|
|
31
|
+
return ExtensionsResourceWithRawResponse(self)
|
|
32
|
+
|
|
33
|
+
@cached_property
|
|
34
|
+
def with_streaming_response(self) -> ExtensionsResourceWithStreamingResponse:
|
|
35
|
+
"""
|
|
36
|
+
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
|
|
37
|
+
|
|
38
|
+
For more information, see https://www.github.com/anchorbrowser/AnchorBrowser-SDK-Python#with_streaming_response
|
|
39
|
+
"""
|
|
40
|
+
return ExtensionsResourceWithStreamingResponse(self)
|
|
41
|
+
|
|
42
|
+
def list(
|
|
43
|
+
self,
|
|
44
|
+
*,
|
|
45
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
46
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
47
|
+
extra_headers: Headers | None = None,
|
|
48
|
+
extra_query: Query | None = None,
|
|
49
|
+
extra_body: Body | None = None,
|
|
50
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
51
|
+
) -> ExtensionListResponse:
|
|
52
|
+
"""Get all extensions for the authenticated user"""
|
|
53
|
+
return self._get(
|
|
54
|
+
"/v1/extensions",
|
|
55
|
+
options=make_request_options(
|
|
56
|
+
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
57
|
+
),
|
|
58
|
+
cast_to=ExtensionListResponse,
|
|
59
|
+
)
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
class AsyncExtensionsResource(AsyncAPIResource):
|
|
63
|
+
@cached_property
|
|
64
|
+
def with_raw_response(self) -> AsyncExtensionsResourceWithRawResponse:
|
|
65
|
+
"""
|
|
66
|
+
This property can be used as a prefix for any HTTP method call to return
|
|
67
|
+
the raw response object instead of the parsed content.
|
|
68
|
+
|
|
69
|
+
For more information, see https://www.github.com/anchorbrowser/AnchorBrowser-SDK-Python#accessing-raw-response-data-eg-headers
|
|
70
|
+
"""
|
|
71
|
+
return AsyncExtensionsResourceWithRawResponse(self)
|
|
72
|
+
|
|
73
|
+
@cached_property
|
|
74
|
+
def with_streaming_response(self) -> AsyncExtensionsResourceWithStreamingResponse:
|
|
75
|
+
"""
|
|
76
|
+
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
|
|
77
|
+
|
|
78
|
+
For more information, see https://www.github.com/anchorbrowser/AnchorBrowser-SDK-Python#with_streaming_response
|
|
79
|
+
"""
|
|
80
|
+
return AsyncExtensionsResourceWithStreamingResponse(self)
|
|
81
|
+
|
|
82
|
+
async def list(
|
|
83
|
+
self,
|
|
84
|
+
*,
|
|
85
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
86
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
87
|
+
extra_headers: Headers | None = None,
|
|
88
|
+
extra_query: Query | None = None,
|
|
89
|
+
extra_body: Body | None = None,
|
|
90
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
91
|
+
) -> ExtensionListResponse:
|
|
92
|
+
"""Get all extensions for the authenticated user"""
|
|
93
|
+
return await self._get(
|
|
94
|
+
"/v1/extensions",
|
|
95
|
+
options=make_request_options(
|
|
96
|
+
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
97
|
+
),
|
|
98
|
+
cast_to=ExtensionListResponse,
|
|
99
|
+
)
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
class ExtensionsResourceWithRawResponse:
|
|
103
|
+
def __init__(self, extensions: ExtensionsResource) -> None:
|
|
104
|
+
self._extensions = extensions
|
|
105
|
+
|
|
106
|
+
self.list = to_raw_response_wrapper(
|
|
107
|
+
extensions.list,
|
|
108
|
+
)
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
class AsyncExtensionsResourceWithRawResponse:
|
|
112
|
+
def __init__(self, extensions: AsyncExtensionsResource) -> None:
|
|
113
|
+
self._extensions = extensions
|
|
114
|
+
|
|
115
|
+
self.list = async_to_raw_response_wrapper(
|
|
116
|
+
extensions.list,
|
|
117
|
+
)
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
class ExtensionsResourceWithStreamingResponse:
|
|
121
|
+
def __init__(self, extensions: ExtensionsResource) -> None:
|
|
122
|
+
self._extensions = extensions
|
|
123
|
+
|
|
124
|
+
self.list = to_streamed_response_wrapper(
|
|
125
|
+
extensions.list,
|
|
126
|
+
)
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
class AsyncExtensionsResourceWithStreamingResponse:
|
|
130
|
+
def __init__(self, extensions: AsyncExtensionsResource) -> None:
|
|
131
|
+
self._extensions = extensions
|
|
132
|
+
|
|
133
|
+
self.list = async_to_streamed_response_wrapper(
|
|
134
|
+
extensions.list,
|
|
135
|
+
)
|
{anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/resources/sessions/agent/files.py
RENAMED
|
@@ -18,7 +18,6 @@ from ...._response import (
|
|
|
18
18
|
)
|
|
19
19
|
from ...._base_client import make_request_options
|
|
20
20
|
from ....types.sessions.agent import file_upload_params
|
|
21
|
-
from ....types.sessions.agent.file_list_response import FileListResponse
|
|
22
21
|
from ....types.sessions.agent.file_upload_response import FileUploadResponse
|
|
23
22
|
|
|
24
23
|
__all__ = ["FilesResource", "AsyncFilesResource"]
|
|
@@ -44,41 +43,6 @@ class FilesResource(SyncAPIResource):
|
|
|
44
43
|
"""
|
|
45
44
|
return FilesResourceWithStreamingResponse(self)
|
|
46
45
|
|
|
47
|
-
def list(
|
|
48
|
-
self,
|
|
49
|
-
session_id: str,
|
|
50
|
-
*,
|
|
51
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
52
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
53
|
-
extra_headers: Headers | None = None,
|
|
54
|
-
extra_query: Query | None = None,
|
|
55
|
-
extra_body: Body | None = None,
|
|
56
|
-
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
57
|
-
) -> FileListResponse:
|
|
58
|
-
"""
|
|
59
|
-
List all resources that have been uploaded to the browser session for agent use.
|
|
60
|
-
Returns resource metadata including name, size, type, and last modified
|
|
61
|
-
timestamp.
|
|
62
|
-
|
|
63
|
-
Args:
|
|
64
|
-
extra_headers: Send extra headers
|
|
65
|
-
|
|
66
|
-
extra_query: Add additional query parameters to the request
|
|
67
|
-
|
|
68
|
-
extra_body: Add additional JSON properties to the request
|
|
69
|
-
|
|
70
|
-
timeout: Override the client-level default timeout for this request, in seconds
|
|
71
|
-
"""
|
|
72
|
-
if not session_id:
|
|
73
|
-
raise ValueError(f"Expected a non-empty value for `session_id` but received {session_id!r}")
|
|
74
|
-
return self._get(
|
|
75
|
-
f"/v1/sessions/{session_id}/agent/files",
|
|
76
|
-
options=make_request_options(
|
|
77
|
-
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
78
|
-
),
|
|
79
|
-
cast_to=FileListResponse,
|
|
80
|
-
)
|
|
81
|
-
|
|
82
46
|
def upload(
|
|
83
47
|
self,
|
|
84
48
|
session_id: str,
|
|
@@ -148,41 +112,6 @@ class AsyncFilesResource(AsyncAPIResource):
|
|
|
148
112
|
"""
|
|
149
113
|
return AsyncFilesResourceWithStreamingResponse(self)
|
|
150
114
|
|
|
151
|
-
async def list(
|
|
152
|
-
self,
|
|
153
|
-
session_id: str,
|
|
154
|
-
*,
|
|
155
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
156
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
157
|
-
extra_headers: Headers | None = None,
|
|
158
|
-
extra_query: Query | None = None,
|
|
159
|
-
extra_body: Body | None = None,
|
|
160
|
-
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
161
|
-
) -> FileListResponse:
|
|
162
|
-
"""
|
|
163
|
-
List all resources that have been uploaded to the browser session for agent use.
|
|
164
|
-
Returns resource metadata including name, size, type, and last modified
|
|
165
|
-
timestamp.
|
|
166
|
-
|
|
167
|
-
Args:
|
|
168
|
-
extra_headers: Send extra headers
|
|
169
|
-
|
|
170
|
-
extra_query: Add additional query parameters to the request
|
|
171
|
-
|
|
172
|
-
extra_body: Add additional JSON properties to the request
|
|
173
|
-
|
|
174
|
-
timeout: Override the client-level default timeout for this request, in seconds
|
|
175
|
-
"""
|
|
176
|
-
if not session_id:
|
|
177
|
-
raise ValueError(f"Expected a non-empty value for `session_id` but received {session_id!r}")
|
|
178
|
-
return await self._get(
|
|
179
|
-
f"/v1/sessions/{session_id}/agent/files",
|
|
180
|
-
options=make_request_options(
|
|
181
|
-
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
182
|
-
),
|
|
183
|
-
cast_to=FileListResponse,
|
|
184
|
-
)
|
|
185
|
-
|
|
186
115
|
async def upload(
|
|
187
116
|
self,
|
|
188
117
|
session_id: str,
|
|
@@ -236,9 +165,6 @@ class FilesResourceWithRawResponse:
|
|
|
236
165
|
def __init__(self, files: FilesResource) -> None:
|
|
237
166
|
self._files = files
|
|
238
167
|
|
|
239
|
-
self.list = to_raw_response_wrapper(
|
|
240
|
-
files.list,
|
|
241
|
-
)
|
|
242
168
|
self.upload = to_raw_response_wrapper(
|
|
243
169
|
files.upload,
|
|
244
170
|
)
|
|
@@ -248,9 +174,6 @@ class AsyncFilesResourceWithRawResponse:
|
|
|
248
174
|
def __init__(self, files: AsyncFilesResource) -> None:
|
|
249
175
|
self._files = files
|
|
250
176
|
|
|
251
|
-
self.list = async_to_raw_response_wrapper(
|
|
252
|
-
files.list,
|
|
253
|
-
)
|
|
254
177
|
self.upload = async_to_raw_response_wrapper(
|
|
255
178
|
files.upload,
|
|
256
179
|
)
|
|
@@ -260,9 +183,6 @@ class FilesResourceWithStreamingResponse:
|
|
|
260
183
|
def __init__(self, files: FilesResource) -> None:
|
|
261
184
|
self._files = files
|
|
262
185
|
|
|
263
|
-
self.list = to_streamed_response_wrapper(
|
|
264
|
-
files.list,
|
|
265
|
-
)
|
|
266
186
|
self.upload = to_streamed_response_wrapper(
|
|
267
187
|
files.upload,
|
|
268
188
|
)
|
|
@@ -272,9 +192,6 @@ class AsyncFilesResourceWithStreamingResponse:
|
|
|
272
192
|
def __init__(self, files: AsyncFilesResource) -> None:
|
|
273
193
|
self._files = files
|
|
274
194
|
|
|
275
|
-
self.list = async_to_streamed_response_wrapper(
|
|
276
|
-
files.list,
|
|
277
|
-
)
|
|
278
195
|
self.upload = async_to_streamed_response_wrapper(
|
|
279
196
|
files.upload,
|
|
280
197
|
)
|
{anchorbrowser-0.6.2 → anchorbrowser-0.7.1}/src/anchorbrowser/resources/sessions/clipboard.py
RENAMED
|
@@ -16,7 +16,6 @@ from ..._response import (
|
|
|
16
16
|
)
|
|
17
17
|
from ..._base_client import make_request_options
|
|
18
18
|
from ...types.sessions import clipboard_set_params
|
|
19
|
-
from ...types.sessions.clipboard_get_response import ClipboardGetResponse
|
|
20
19
|
from ...types.sessions.clipboard_set_response import ClipboardSetResponse
|
|
21
20
|
|
|
22
21
|
__all__ = ["ClipboardResource", "AsyncClipboardResource"]
|
|
@@ -42,39 +41,6 @@ class ClipboardResource(SyncAPIResource):
|
|
|
42
41
|
"""
|
|
43
42
|
return ClipboardResourceWithStreamingResponse(self)
|
|
44
43
|
|
|
45
|
-
def get(
|
|
46
|
-
self,
|
|
47
|
-
session_id: str,
|
|
48
|
-
*,
|
|
49
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
50
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
51
|
-
extra_headers: Headers | None = None,
|
|
52
|
-
extra_query: Query | None = None,
|
|
53
|
-
extra_body: Body | None = None,
|
|
54
|
-
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
55
|
-
) -> ClipboardGetResponse:
|
|
56
|
-
"""
|
|
57
|
-
Retrieves the current content of the clipboard
|
|
58
|
-
|
|
59
|
-
Args:
|
|
60
|
-
extra_headers: Send extra headers
|
|
61
|
-
|
|
62
|
-
extra_query: Add additional query parameters to the request
|
|
63
|
-
|
|
64
|
-
extra_body: Add additional JSON properties to the request
|
|
65
|
-
|
|
66
|
-
timeout: Override the client-level default timeout for this request, in seconds
|
|
67
|
-
"""
|
|
68
|
-
if not session_id:
|
|
69
|
-
raise ValueError(f"Expected a non-empty value for `session_id` but received {session_id!r}")
|
|
70
|
-
return self._get(
|
|
71
|
-
f"/v1/sessions/{session_id}/clipboard",
|
|
72
|
-
options=make_request_options(
|
|
73
|
-
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
74
|
-
),
|
|
75
|
-
cast_to=ClipboardGetResponse,
|
|
76
|
-
)
|
|
77
|
-
|
|
78
44
|
def set(
|
|
79
45
|
self,
|
|
80
46
|
session_id: str,
|
|
@@ -133,39 +99,6 @@ class AsyncClipboardResource(AsyncAPIResource):
|
|
|
133
99
|
"""
|
|
134
100
|
return AsyncClipboardResourceWithStreamingResponse(self)
|
|
135
101
|
|
|
136
|
-
async def get(
|
|
137
|
-
self,
|
|
138
|
-
session_id: str,
|
|
139
|
-
*,
|
|
140
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
141
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
142
|
-
extra_headers: Headers | None = None,
|
|
143
|
-
extra_query: Query | None = None,
|
|
144
|
-
extra_body: Body | None = None,
|
|
145
|
-
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
146
|
-
) -> ClipboardGetResponse:
|
|
147
|
-
"""
|
|
148
|
-
Retrieves the current content of the clipboard
|
|
149
|
-
|
|
150
|
-
Args:
|
|
151
|
-
extra_headers: Send extra headers
|
|
152
|
-
|
|
153
|
-
extra_query: Add additional query parameters to the request
|
|
154
|
-
|
|
155
|
-
extra_body: Add additional JSON properties to the request
|
|
156
|
-
|
|
157
|
-
timeout: Override the client-level default timeout for this request, in seconds
|
|
158
|
-
"""
|
|
159
|
-
if not session_id:
|
|
160
|
-
raise ValueError(f"Expected a non-empty value for `session_id` but received {session_id!r}")
|
|
161
|
-
return await self._get(
|
|
162
|
-
f"/v1/sessions/{session_id}/clipboard",
|
|
163
|
-
options=make_request_options(
|
|
164
|
-
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
165
|
-
),
|
|
166
|
-
cast_to=ClipboardGetResponse,
|
|
167
|
-
)
|
|
168
|
-
|
|
169
102
|
async def set(
|
|
170
103
|
self,
|
|
171
104
|
session_id: str,
|
|
@@ -208,9 +141,6 @@ class ClipboardResourceWithRawResponse:
|
|
|
208
141
|
def __init__(self, clipboard: ClipboardResource) -> None:
|
|
209
142
|
self._clipboard = clipboard
|
|
210
143
|
|
|
211
|
-
self.get = to_raw_response_wrapper(
|
|
212
|
-
clipboard.get,
|
|
213
|
-
)
|
|
214
144
|
self.set = to_raw_response_wrapper(
|
|
215
145
|
clipboard.set,
|
|
216
146
|
)
|
|
@@ -220,9 +150,6 @@ class AsyncClipboardResourceWithRawResponse:
|
|
|
220
150
|
def __init__(self, clipboard: AsyncClipboardResource) -> None:
|
|
221
151
|
self._clipboard = clipboard
|
|
222
152
|
|
|
223
|
-
self.get = async_to_raw_response_wrapper(
|
|
224
|
-
clipboard.get,
|
|
225
|
-
)
|
|
226
153
|
self.set = async_to_raw_response_wrapper(
|
|
227
154
|
clipboard.set,
|
|
228
155
|
)
|
|
@@ -232,9 +159,6 @@ class ClipboardResourceWithStreamingResponse:
|
|
|
232
159
|
def __init__(self, clipboard: ClipboardResource) -> None:
|
|
233
160
|
self._clipboard = clipboard
|
|
234
161
|
|
|
235
|
-
self.get = to_streamed_response_wrapper(
|
|
236
|
-
clipboard.get,
|
|
237
|
-
)
|
|
238
162
|
self.set = to_streamed_response_wrapper(
|
|
239
163
|
clipboard.set,
|
|
240
164
|
)
|
|
@@ -244,9 +168,6 @@ class AsyncClipboardResourceWithStreamingResponse:
|
|
|
244
168
|
def __init__(self, clipboard: AsyncClipboardResource) -> None:
|
|
245
169
|
self._clipboard = clipboard
|
|
246
170
|
|
|
247
|
-
self.get = async_to_streamed_response_wrapper(
|
|
248
|
-
clipboard.get,
|
|
249
|
-
)
|
|
250
171
|
self.set = async_to_streamed_response_wrapper(
|
|
251
172
|
clipboard.set,
|
|
252
173
|
)
|