runloop-api-client 0.20.0__tar.gz → 0.22.0__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.
- runloop_api_client-0.22.0/.release-please-manifest.json +3 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/CHANGELOG.md +16 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/PKG-INFO +1 -1
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/api.md +6 -6
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/pyproject.toml +1 -1
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/_version.py +1 -1
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/resources/devboxes/browsers.py +37 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/resources/devboxes/computers.py +16 -2
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/resources/devboxes/lsp.py +29 -20
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devbox_view.py +1 -1
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devboxes/__init__.py +6 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devboxes/base_code_action.py +2 -0
- runloop_api_client-0.22.0/src/runloop_api_client/types/devboxes/browser_create_params.py +13 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devboxes/code_action_context_param.py +6 -3
- runloop_api_client-0.22.0/src/runloop_api_client/types/devboxes/code_actions_response.py +13 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devboxes/code_description_param.py +6 -2
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devboxes/computer_create_params.py +3 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devboxes/diagnostic_param.py +6 -3
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devboxes/diagnostic_related_information_param.py +6 -2
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devboxes/document_symbol.py +7 -1
- runloop_api_client-0.22.0/src/runloop_api_client/types/devboxes/document_symbol_response.py +26 -0
- runloop_api_client-0.22.0/src/runloop_api_client/types/devboxes/file_definition_response.py +10 -0
- runloop_api_client-0.22.0/src/runloop_api_client/types/devboxes/formatting_response.py +10 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devboxes/location_param.py +6 -2
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devboxes/lsp_apply_code_action_params.py +2 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devboxes/position.py +7 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devboxes/position_param.py +6 -2
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devboxes/range.py +7 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devboxes/range_param.py +6 -2
- runloop_api_client-0.22.0/src/runloop_api_client/types/devboxes/references_response.py +10 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devboxes/text_edit.py +7 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devboxes/text_edit_param.py +6 -2
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/tests/api_resources/devboxes/test_browsers.py +14 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/tests/api_resources/devboxes/test_computers.py +2 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/tests/api_resources/devboxes/test_lsp.py +39 -32
- runloop_api_client-0.20.0/.release-please-manifest.json +0 -3
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/.gitignore +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/CONTRIBUTING.md +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/LICENSE +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/README.md +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/SECURITY.md +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/bin/check-release-environment +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/bin/publish-pypi +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/examples/.keep +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/mypy.ini +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/noxfile.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/release-please-config.json +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/requirements-dev.lock +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/requirements.lock +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop/lib/.keep +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/__init__.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/_base_client.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/_client.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/_compat.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/_constants.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/_exceptions.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/_files.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/_models.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/_qs.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/_resource.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/_response.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/_streaming.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/_types.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/_utils/__init__.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/_utils/_logs.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/_utils/_proxy.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/_utils/_reflection.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/_utils/_streams.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/_utils/_sync.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/_utils/_transform.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/_utils/_typing.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/_utils/_utils.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/lib/.keep +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/lib/polling.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/lib/polling_async.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/pagination.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/py.typed +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/resources/__init__.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/resources/benchmarks/__init__.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/resources/benchmarks/benchmarks.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/resources/benchmarks/runs.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/resources/blueprints.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/resources/devboxes/__init__.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/resources/devboxes/devboxes.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/resources/devboxes/executions.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/resources/devboxes/logs.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/resources/repositories.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/resources/scenarios/__init__.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/resources/scenarios/runs.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/resources/scenarios/scenarios.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/resources/scenarios/scorers.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/__init__.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/benchmark_create_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/benchmark_list_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/benchmark_list_public_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/benchmark_list_view.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/benchmark_run_list_view.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/benchmark_run_view.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/benchmark_start_run_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/benchmark_view.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/benchmarks/__init__.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/benchmarks/run_list_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/blueprint_build_log.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/blueprint_build_logs_list_view.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/blueprint_build_parameters.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/blueprint_create_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/blueprint_list_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/blueprint_list_view.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/blueprint_preview_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/blueprint_preview_view.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/blueprint_view.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devbox_async_execution_detail_view.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devbox_create_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devbox_create_ssh_key_response.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devbox_create_tunnel_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devbox_download_file_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devbox_execute_async_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devbox_execute_sync_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devbox_execution_detail_view.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devbox_list_disk_snapshots_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devbox_list_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devbox_list_view.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devbox_read_file_contents_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devbox_read_file_contents_response.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devbox_remove_tunnel_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devbox_snapshot_disk_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devbox_snapshot_list_view.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devbox_snapshot_view.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devbox_tunnel_view.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devbox_upload_file_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devbox_write_file_contents_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devboxes/base_command.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devboxes/base_command_param.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devboxes/base_diagnostic.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devboxes/base_diagnostic_param.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devboxes/base_location.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devboxes/base_markup_content.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devboxes/base_parameter_information.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devboxes/base_range.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devboxes/base_range_param.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devboxes/base_signature.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devboxes/base_workspace_edit.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devboxes/base_workspace_edit_param.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devboxes/browser_view.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devboxes/code_action_application_result.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devboxes/code_action_kind.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devboxes/code_action_trigger_kind.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devboxes/code_segment_info_response.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devboxes/computer_keyboard_interaction_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devboxes/computer_keyboard_interaction_response.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devboxes/computer_mouse_interaction_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devboxes/computer_mouse_interaction_response.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devboxes/computer_screen_interaction_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devboxes/computer_screen_interaction_response.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devboxes/computer_view.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devboxes/devbox_logs_list_view.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devboxes/diagnostic_severity.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devboxes/diagnostic_tag.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devboxes/diagnostics_response.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devboxes/document_uri.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devboxes/execution_execute_async_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devboxes/execution_execute_sync_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devboxes/execution_retrieve_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devboxes/file_contents_response.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devboxes/file_path.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devboxes/file_uri.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devboxes/health_status_response.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devboxes/integer.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devboxes/l_sp_any_param.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devboxes/log_list_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devboxes/lsp_code_actions_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devboxes/lsp_diagnostics_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devboxes/lsp_document_symbols_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devboxes/lsp_file_definition_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devboxes/lsp_file_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devboxes/lsp_files_response.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devboxes/lsp_formatting_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devboxes/lsp_get_code_actions_for_diagnostic_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devboxes/lsp_get_code_actions_for_diagnostic_response.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devboxes/lsp_get_code_segment_info_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devboxes/lsp_get_signature_help_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devboxes/lsp_references_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devboxes/lsp_set_watch_directory_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devboxes/lsp_set_watch_directory_response.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devboxes/record_string_text_edit_array.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devboxes/record_string_text_edit_array_param.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devboxes/signature_help_response.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devboxes/symbol_kind.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devboxes/symbol_tag.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devboxes/symbol_type.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devboxes/u_ri.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devboxes/uinteger.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devboxes/watched_file_response.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/input_context.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/input_context_param.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/repository_connection_list_view.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/repository_connection_view.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/repository_create_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/repository_list_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/repository_version_details.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/repository_version_list_view.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/scenario_create_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/scenario_environment.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/scenario_environment_param.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/scenario_list_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/scenario_list_public_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/scenario_list_view.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/scenario_run_list_view.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/scenario_run_view.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/scenario_start_run_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/scenario_view.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/scenarios/__init__.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/scenarios/run_list_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/scenarios/scorer_create_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/scenarios/scorer_create_response.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/scenarios/scorer_list_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/scenarios/scorer_list_response.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/scenarios/scorer_retrieve_response.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/scenarios/scorer_update_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/scenarios/scorer_update_response.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/scenarios/scorer_validate_params.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/scenarios/scorer_validate_response.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/scoring_contract.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/scoring_contract_param.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/scoring_contract_result_view.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/scoring_function.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/scoring_function_param.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/scoring_function_result_view.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/shared/__init__.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/shared/after_idle.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/shared/code_mount_parameters.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/shared/launch_parameters.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/shared_params/__init__.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/shared_params/after_idle.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/shared_params/code_mount_parameters.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/shared_params/launch_parameters.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/tests/__init__.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/tests/api_resources/__init__.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/tests/api_resources/benchmarks/__init__.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/tests/api_resources/benchmarks/test_runs.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/tests/api_resources/devboxes/__init__.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/tests/api_resources/devboxes/test_executions.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/tests/api_resources/devboxes/test_logs.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/tests/api_resources/scenarios/__init__.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/tests/api_resources/scenarios/test_runs.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/tests/api_resources/scenarios/test_scorers.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/tests/api_resources/test_benchmarks.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/tests/api_resources/test_blueprints.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/tests/api_resources/test_devboxes.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/tests/api_resources/test_repositories.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/tests/api_resources/test_scenarios.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/tests/conftest.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/tests/sample_file.txt +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/tests/test_client.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/tests/test_deepcopy.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/tests/test_extract_files.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/tests/test_files.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/tests/test_models.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/tests/test_qs.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/tests/test_required_args.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/tests/test_response.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/tests/test_streaming.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/tests/test_transform.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/tests/test_utils/test_proxy.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/tests/test_utils/test_typing.py +0 -0
- {runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/tests/utils.py +0 -0
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.22.0 (2025-02-04)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.21.0...v0.22.0](https://github.com/runloopai/api-client-python/compare/v0.21.0...v0.22.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([#531](https://github.com/runloopai/api-client-python/issues/531)) ([2952d8d](https://github.com/runloopai/api-client-python/commit/2952d8d3b2653fd02f1bf99ac3cb6e76739a282a))
|
|
10
|
+
|
|
11
|
+
## 0.21.0 (2025-02-04)
|
|
12
|
+
|
|
13
|
+
Full Changelog: [v0.20.0...v0.21.0](https://github.com/runloopai/api-client-python/compare/v0.20.0...v0.21.0)
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* **api:** api update ([#528](https://github.com/runloopai/api-client-python/issues/528)) ([d731dad](https://github.com/runloopai/api-client-python/commit/d731dadc4b7095967be1184bf2f490f4405e8237))
|
|
18
|
+
|
|
3
19
|
## 0.20.0 (2025-02-04)
|
|
4
20
|
|
|
5
21
|
Full Changelog: [v0.19.0...v0.20.0](https://github.com/runloopai/api-client-python/compare/v0.19.0...v0.20.0)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: runloop_api_client
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.22.0
|
|
4
4
|
Summary: The official Python library for the runloop API
|
|
5
5
|
Project-URL: Homepage, https://github.com/runloopai/api-client-python
|
|
6
6
|
Project-URL: Repository, https://github.com/runloopai/api-client-python
|
|
@@ -111,7 +111,7 @@ from runloop_api_client.types.devboxes import BrowserView
|
|
|
111
111
|
|
|
112
112
|
Methods:
|
|
113
113
|
|
|
114
|
-
- <code title="post /v1/devboxes/browsers">client.devboxes.browsers.<a href="./src/runloop_api_client/resources/devboxes/browsers.py">create</a>() -> <a href="./src/runloop_api_client/types/devboxes/browser_view.py">BrowserView</a></code>
|
|
114
|
+
- <code title="post /v1/devboxes/browsers">client.devboxes.browsers.<a href="./src/runloop_api_client/resources/devboxes/browsers.py">create</a>(\*\*<a href="src/runloop_api_client/types/devboxes/browser_create_params.py">params</a>) -> <a href="./src/runloop_api_client/types/devboxes/browser_view.py">BrowserView</a></code>
|
|
115
115
|
|
|
116
116
|
## Computers
|
|
117
117
|
|
|
@@ -201,18 +201,18 @@ from runloop_api_client.types.devboxes import (
|
|
|
201
201
|
Methods:
|
|
202
202
|
|
|
203
203
|
- <code title="post /v1/devboxes/{id}/lsp/apply-code-action">client.devboxes.lsp.<a href="./src/runloop_api_client/resources/devboxes/lsp.py">apply_code_action</a>(id, \*\*<a href="src/runloop_api_client/types/devboxes/lsp_apply_code_action_params.py">params</a>) -> <a href="./src/runloop_api_client/types/devboxes/code_action_application_result.py">CodeActionApplicationResult</a></code>
|
|
204
|
-
- <code title="post /v1/devboxes/{id}/lsp/code-actions">client.devboxes.lsp.<a href="./src/runloop_api_client/resources/devboxes/lsp.py">code_actions</a>(id, \*\*<a href="src/runloop_api_client/types/devboxes/lsp_code_actions_params.py">params</a>) -> <a href="./src/runloop_api_client/types/devboxes/code_actions_response.py">
|
|
204
|
+
- <code title="post /v1/devboxes/{id}/lsp/code-actions">client.devboxes.lsp.<a href="./src/runloop_api_client/resources/devboxes/lsp.py">code_actions</a>(id, \*\*<a href="src/runloop_api_client/types/devboxes/lsp_code_actions_params.py">params</a>) -> <a href="./src/runloop_api_client/types/devboxes/code_actions_response.py">CodeActionsResponse</a></code>
|
|
205
205
|
- <code title="post /v1/devboxes/{id}/lsp/diagnostics">client.devboxes.lsp.<a href="./src/runloop_api_client/resources/devboxes/lsp.py">diagnostics</a>(id, \*\*<a href="src/runloop_api_client/types/devboxes/lsp_diagnostics_params.py">params</a>) -> <a href="./src/runloop_api_client/types/devboxes/diagnostics_response.py">DiagnosticsResponse</a></code>
|
|
206
|
-
- <code title="post /v1/devboxes/{id}/lsp/document-symbols">client.devboxes.lsp.<a href="./src/runloop_api_client/resources/devboxes/lsp.py">document_symbols</a>(id, \*\*<a href="src/runloop_api_client/types/devboxes/lsp_document_symbols_params.py">params</a>) -> <a href="./src/runloop_api_client/types/devboxes/document_symbol_response.py">
|
|
206
|
+
- <code title="post /v1/devboxes/{id}/lsp/document-symbols">client.devboxes.lsp.<a href="./src/runloop_api_client/resources/devboxes/lsp.py">document_symbols</a>(id, \*\*<a href="src/runloop_api_client/types/devboxes/lsp_document_symbols_params.py">params</a>) -> <a href="./src/runloop_api_client/types/devboxes/document_symbol_response.py">DocumentSymbolResponse</a></code>
|
|
207
207
|
- <code title="post /v1/devboxes/{id}/lsp/file">client.devboxes.lsp.<a href="./src/runloop_api_client/resources/devboxes/lsp.py">file</a>(id, \*\*<a href="src/runloop_api_client/types/devboxes/lsp_file_params.py">params</a>) -> <a href="./src/runloop_api_client/types/devboxes/file_contents_response.py">FileContentsResponse</a></code>
|
|
208
|
-
- <code title="post /v1/devboxes/{id}/lsp/file-definition">client.devboxes.lsp.<a href="./src/runloop_api_client/resources/devboxes/lsp.py">file_definition</a>(id, \*\*<a href="src/runloop_api_client/types/devboxes/lsp_file_definition_params.py">params</a>) -> <a href="./src/runloop_api_client/types/devboxes/file_definition_response.py">
|
|
208
|
+
- <code title="post /v1/devboxes/{id}/lsp/file-definition">client.devboxes.lsp.<a href="./src/runloop_api_client/resources/devboxes/lsp.py">file_definition</a>(id, \*\*<a href="src/runloop_api_client/types/devboxes/lsp_file_definition_params.py">params</a>) -> <a href="./src/runloop_api_client/types/devboxes/file_definition_response.py">FileDefinitionResponse</a></code>
|
|
209
209
|
- <code title="get /v1/devboxes/{id}/lsp/files">client.devboxes.lsp.<a href="./src/runloop_api_client/resources/devboxes/lsp.py">files</a>(id) -> <a href="./src/runloop_api_client/types/devboxes/lsp_files_response.py">LspFilesResponse</a></code>
|
|
210
|
-
- <code title="post /v1/devboxes/{id}/lsp/formatting">client.devboxes.lsp.<a href="./src/runloop_api_client/resources/devboxes/lsp.py">formatting</a>(id, \*\*<a href="src/runloop_api_client/types/devboxes/lsp_formatting_params.py">params</a>) -> <a href="./src/runloop_api_client/types/devboxes/formatting_response.py">
|
|
210
|
+
- <code title="post /v1/devboxes/{id}/lsp/formatting">client.devboxes.lsp.<a href="./src/runloop_api_client/resources/devboxes/lsp.py">formatting</a>(id, \*\*<a href="src/runloop_api_client/types/devboxes/lsp_formatting_params.py">params</a>) -> <a href="./src/runloop_api_client/types/devboxes/formatting_response.py">FormattingResponse</a></code>
|
|
211
211
|
- <code title="post /v1/devboxes/{id}/lsp/get-code-actions-for-diagnostic">client.devboxes.lsp.<a href="./src/runloop_api_client/resources/devboxes/lsp.py">get_code_actions_for_diagnostic</a>(id, \*\*<a href="src/runloop_api_client/types/devboxes/lsp_get_code_actions_for_diagnostic_params.py">params</a>) -> <a href="./src/runloop_api_client/types/devboxes/lsp_get_code_actions_for_diagnostic_response.py">LspGetCodeActionsForDiagnosticResponse</a></code>
|
|
212
212
|
- <code title="post /v1/devboxes/{id}/lsp/get-code-segment-info">client.devboxes.lsp.<a href="./src/runloop_api_client/resources/devboxes/lsp.py">get_code_segment_info</a>(id, \*\*<a href="src/runloop_api_client/types/devboxes/lsp_get_code_segment_info_params.py">params</a>) -> <a href="./src/runloop_api_client/types/devboxes/code_segment_info_response.py">CodeSegmentInfoResponse</a></code>
|
|
213
213
|
- <code title="post /v1/devboxes/{id}/lsp/get-signature-help">client.devboxes.lsp.<a href="./src/runloop_api_client/resources/devboxes/lsp.py">get_signature_help</a>(id, \*\*<a href="src/runloop_api_client/types/devboxes/lsp_get_signature_help_params.py">params</a>) -> <a href="./src/runloop_api_client/types/devboxes/signature_help_response.py">SignatureHelpResponse</a></code>
|
|
214
214
|
- <code title="get /v1/devboxes/{id}/lsp/health">client.devboxes.lsp.<a href="./src/runloop_api_client/resources/devboxes/lsp.py">health</a>(id) -> <a href="./src/runloop_api_client/types/devboxes/health_status_response.py">HealthStatusResponse</a></code>
|
|
215
|
-
- <code title="post /v1/devboxes/{id}/lsp/references">client.devboxes.lsp.<a href="./src/runloop_api_client/resources/devboxes/lsp.py">references</a>(id, \*\*<a href="src/runloop_api_client/types/devboxes/lsp_references_params.py">params</a>) -> <a href="./src/runloop_api_client/types/devboxes/references_response.py">
|
|
215
|
+
- <code title="post /v1/devboxes/{id}/lsp/references">client.devboxes.lsp.<a href="./src/runloop_api_client/resources/devboxes/lsp.py">references</a>(id, \*\*<a href="src/runloop_api_client/types/devboxes/lsp_references_params.py">params</a>) -> <a href="./src/runloop_api_client/types/devboxes/references_response.py">ReferencesResponse</a></code>
|
|
216
216
|
- <code title="post /v1/devboxes/{id}/lsp/set-watch-directory">client.devboxes.lsp.<a href="./src/runloop_api_client/resources/devboxes/lsp.py">set_watch_directory</a>(id, \*\*<a href="src/runloop_api_client/types/devboxes/lsp_set_watch_directory_params.py">params</a>) -> str</code>
|
|
217
217
|
|
|
218
218
|
## Logs
|
|
@@ -2,9 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
|
|
5
|
+
from typing import Optional
|
|
6
|
+
|
|
5
7
|
import httpx
|
|
6
8
|
|
|
7
9
|
from ..._types import NOT_GIVEN, Body, Query, Headers, NotGiven
|
|
10
|
+
from ..._utils import (
|
|
11
|
+
maybe_transform,
|
|
12
|
+
async_maybe_transform,
|
|
13
|
+
)
|
|
8
14
|
from ..._compat import cached_property
|
|
9
15
|
from ..._resource import SyncAPIResource, AsyncAPIResource
|
|
10
16
|
from ..._response import (
|
|
@@ -14,6 +20,7 @@ from ..._response import (
|
|
|
14
20
|
async_to_streamed_response_wrapper,
|
|
15
21
|
)
|
|
16
22
|
from ..._base_client import make_request_options
|
|
23
|
+
from ...types.devboxes import browser_create_params
|
|
17
24
|
from ...types.devboxes.browser_view import BrowserView
|
|
18
25
|
|
|
19
26
|
__all__ = ["BrowsersResource", "AsyncBrowsersResource"]
|
|
@@ -42,6 +49,7 @@ class BrowsersResource(SyncAPIResource):
|
|
|
42
49
|
def create(
|
|
43
50
|
self,
|
|
44
51
|
*,
|
|
52
|
+
name: Optional[str] | NotGiven = NOT_GIVEN,
|
|
45
53
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
46
54
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
47
55
|
extra_headers: Headers | None = None,
|
|
@@ -55,9 +63,23 @@ class BrowsersResource(SyncAPIResource):
|
|
|
55
63
|
As part
|
|
56
64
|
of booting the Devbox, the browser will automatically be started with connection
|
|
57
65
|
utilities activated.
|
|
66
|
+
|
|
67
|
+
Args:
|
|
68
|
+
name: The name to use for the created Devbox with a Browser.
|
|
69
|
+
|
|
70
|
+
extra_headers: Send extra headers
|
|
71
|
+
|
|
72
|
+
extra_query: Add additional query parameters to the request
|
|
73
|
+
|
|
74
|
+
extra_body: Add additional JSON properties to the request
|
|
75
|
+
|
|
76
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
77
|
+
|
|
78
|
+
idempotency_key: Specify a custom idempotency key for this request
|
|
58
79
|
"""
|
|
59
80
|
return self._post(
|
|
60
81
|
"/v1/devboxes/browsers",
|
|
82
|
+
body=maybe_transform({"name": name}, browser_create_params.BrowserCreateParams),
|
|
61
83
|
options=make_request_options(
|
|
62
84
|
extra_headers=extra_headers,
|
|
63
85
|
extra_query=extra_query,
|
|
@@ -92,6 +114,7 @@ class AsyncBrowsersResource(AsyncAPIResource):
|
|
|
92
114
|
async def create(
|
|
93
115
|
self,
|
|
94
116
|
*,
|
|
117
|
+
name: Optional[str] | NotGiven = NOT_GIVEN,
|
|
95
118
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
96
119
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
97
120
|
extra_headers: Headers | None = None,
|
|
@@ -105,9 +128,23 @@ class AsyncBrowsersResource(AsyncAPIResource):
|
|
|
105
128
|
As part
|
|
106
129
|
of booting the Devbox, the browser will automatically be started with connection
|
|
107
130
|
utilities activated.
|
|
131
|
+
|
|
132
|
+
Args:
|
|
133
|
+
name: The name to use for the created Devbox with a Browser.
|
|
134
|
+
|
|
135
|
+
extra_headers: Send extra headers
|
|
136
|
+
|
|
137
|
+
extra_query: Add additional query parameters to the request
|
|
138
|
+
|
|
139
|
+
extra_body: Add additional JSON properties to the request
|
|
140
|
+
|
|
141
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
142
|
+
|
|
143
|
+
idempotency_key: Specify a custom idempotency key for this request
|
|
108
144
|
"""
|
|
109
145
|
return await self._post(
|
|
110
146
|
"/v1/devboxes/browsers",
|
|
147
|
+
body=await async_maybe_transform({"name": name}, browser_create_params.BrowserCreateParams),
|
|
111
148
|
options=make_request_options(
|
|
112
149
|
extra_headers=extra_headers,
|
|
113
150
|
extra_query=extra_query,
|
|
@@ -59,6 +59,7 @@ class ComputersResource(SyncAPIResource):
|
|
|
59
59
|
self,
|
|
60
60
|
*,
|
|
61
61
|
display_dimensions: Optional[computer_create_params.DisplayDimensions] | NotGiven = NOT_GIVEN,
|
|
62
|
+
name: Optional[str] | NotGiven = NOT_GIVEN,
|
|
62
63
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
63
64
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
64
65
|
extra_headers: Headers | None = None,
|
|
@@ -78,6 +79,8 @@ class ComputersResource(SyncAPIResource):
|
|
|
78
79
|
Args:
|
|
79
80
|
display_dimensions: Customize the dimensions of the computer display.
|
|
80
81
|
|
|
82
|
+
name: The name to use for the created computer.
|
|
83
|
+
|
|
81
84
|
extra_headers: Send extra headers
|
|
82
85
|
|
|
83
86
|
extra_query: Add additional query parameters to the request
|
|
@@ -91,7 +94,11 @@ class ComputersResource(SyncAPIResource):
|
|
|
91
94
|
return self._post(
|
|
92
95
|
"/v1/devboxes/computers",
|
|
93
96
|
body=maybe_transform(
|
|
94
|
-
{
|
|
97
|
+
{
|
|
98
|
+
"display_dimensions": display_dimensions,
|
|
99
|
+
"name": name,
|
|
100
|
+
},
|
|
101
|
+
computer_create_params.ComputerCreateParams,
|
|
95
102
|
),
|
|
96
103
|
options=make_request_options(
|
|
97
104
|
extra_headers=extra_headers,
|
|
@@ -285,6 +292,7 @@ class AsyncComputersResource(AsyncAPIResource):
|
|
|
285
292
|
self,
|
|
286
293
|
*,
|
|
287
294
|
display_dimensions: Optional[computer_create_params.DisplayDimensions] | NotGiven = NOT_GIVEN,
|
|
295
|
+
name: Optional[str] | NotGiven = NOT_GIVEN,
|
|
288
296
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
289
297
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
290
298
|
extra_headers: Headers | None = None,
|
|
@@ -304,6 +312,8 @@ class AsyncComputersResource(AsyncAPIResource):
|
|
|
304
312
|
Args:
|
|
305
313
|
display_dimensions: Customize the dimensions of the computer display.
|
|
306
314
|
|
|
315
|
+
name: The name to use for the created computer.
|
|
316
|
+
|
|
307
317
|
extra_headers: Send extra headers
|
|
308
318
|
|
|
309
319
|
extra_query: Add additional query parameters to the request
|
|
@@ -317,7 +327,11 @@ class AsyncComputersResource(AsyncAPIResource):
|
|
|
317
327
|
return await self._post(
|
|
318
328
|
"/v1/devboxes/computers",
|
|
319
329
|
body=await async_maybe_transform(
|
|
320
|
-
{
|
|
330
|
+
{
|
|
331
|
+
"display_dimensions": display_dimensions,
|
|
332
|
+
"name": name,
|
|
333
|
+
},
|
|
334
|
+
computer_create_params.ComputerCreateParams,
|
|
321
335
|
),
|
|
322
336
|
options=make_request_options(
|
|
323
337
|
extra_headers=extra_headers,
|
|
@@ -41,11 +41,16 @@ from ...types.devboxes.range_param import RangeParam
|
|
|
41
41
|
from ...types.devboxes.symbol_type import SymbolType
|
|
42
42
|
from ...types.devboxes.base_command_param import BaseCommandParam
|
|
43
43
|
from ...types.devboxes.lsp_files_response import LspFilesResponse
|
|
44
|
+
from ...types.devboxes.formatting_response import FormattingResponse
|
|
45
|
+
from ...types.devboxes.references_response import ReferencesResponse
|
|
44
46
|
from ...types.devboxes.diagnostics_response import DiagnosticsResponse
|
|
45
47
|
from ...types.devboxes.base_diagnostic_param import BaseDiagnosticParam
|
|
48
|
+
from ...types.devboxes.code_actions_response import CodeActionsResponse
|
|
46
49
|
from ...types.devboxes.file_contents_response import FileContentsResponse
|
|
47
50
|
from ...types.devboxes.health_status_response import HealthStatusResponse
|
|
48
51
|
from ...types.devboxes.signature_help_response import SignatureHelpResponse
|
|
52
|
+
from ...types.devboxes.document_symbol_response import DocumentSymbolResponse
|
|
53
|
+
from ...types.devboxes.file_definition_response import FileDefinitionResponse
|
|
49
54
|
from ...types.devboxes.base_workspace_edit_param import BaseWorkspaceEditParam
|
|
50
55
|
from ...types.devboxes.code_action_context_param import CodeActionContextParam
|
|
51
56
|
from ...types.devboxes.code_segment_info_response import CodeSegmentInfoResponse
|
|
@@ -83,6 +88,7 @@ class LspResource(SyncAPIResource):
|
|
|
83
88
|
command: BaseCommandParam | NotGiven = NOT_GIVEN,
|
|
84
89
|
edit: BaseWorkspaceEditParam | NotGiven = NOT_GIVEN,
|
|
85
90
|
is_preferred: bool | NotGiven = NOT_GIVEN,
|
|
91
|
+
kind: str | NotGiven = NOT_GIVEN,
|
|
86
92
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
87
93
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
88
94
|
extra_headers: Headers | None = None,
|
|
@@ -116,6 +122,7 @@ class LspResource(SyncAPIResource):
|
|
|
116
122
|
"command": command,
|
|
117
123
|
"edit": edit,
|
|
118
124
|
"is_preferred": is_preferred,
|
|
125
|
+
"kind": kind,
|
|
119
126
|
},
|
|
120
127
|
lsp_apply_code_action_params.LspApplyCodeActionParams,
|
|
121
128
|
),
|
|
@@ -143,7 +150,7 @@ class LspResource(SyncAPIResource):
|
|
|
143
150
|
extra_body: Body | None = None,
|
|
144
151
|
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
145
152
|
idempotency_key: str | None = None,
|
|
146
|
-
) ->
|
|
153
|
+
) -> CodeActionsResponse:
|
|
147
154
|
"""Get code actions for a part of a document.
|
|
148
155
|
|
|
149
156
|
This method calls the
|
|
@@ -203,7 +210,7 @@ class LspResource(SyncAPIResource):
|
|
|
203
210
|
timeout=timeout,
|
|
204
211
|
idempotency_key=idempotency_key,
|
|
205
212
|
),
|
|
206
|
-
cast_to=
|
|
213
|
+
cast_to=CodeActionsResponse,
|
|
207
214
|
)
|
|
208
215
|
|
|
209
216
|
def diagnostics(
|
|
@@ -260,7 +267,7 @@ class LspResource(SyncAPIResource):
|
|
|
260
267
|
extra_body: Body | None = None,
|
|
261
268
|
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
262
269
|
idempotency_key: str | None = None,
|
|
263
|
-
) ->
|
|
270
|
+
) -> DocumentSymbolResponse:
|
|
264
271
|
"""
|
|
265
272
|
Get document symbols for a given document.
|
|
266
273
|
|
|
@@ -287,7 +294,7 @@ class LspResource(SyncAPIResource):
|
|
|
287
294
|
timeout=timeout,
|
|
288
295
|
idempotency_key=idempotency_key,
|
|
289
296
|
),
|
|
290
|
-
cast_to=
|
|
297
|
+
cast_to=DocumentSymbolResponse,
|
|
291
298
|
)
|
|
292
299
|
|
|
293
300
|
def file(
|
|
@@ -346,7 +353,7 @@ class LspResource(SyncAPIResource):
|
|
|
346
353
|
extra_body: Body | None = None,
|
|
347
354
|
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
348
355
|
idempotency_key: str | None = None,
|
|
349
|
-
) ->
|
|
356
|
+
) -> FileDefinitionResponse:
|
|
350
357
|
"""
|
|
351
358
|
Get the definition of a symbol at a given position in a file
|
|
352
359
|
https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_definition
|
|
@@ -381,7 +388,7 @@ class LspResource(SyncAPIResource):
|
|
|
381
388
|
timeout=timeout,
|
|
382
389
|
idempotency_key=idempotency_key,
|
|
383
390
|
),
|
|
384
|
-
cast_to=
|
|
391
|
+
cast_to=FileDefinitionResponse,
|
|
385
392
|
)
|
|
386
393
|
|
|
387
394
|
def files(
|
|
@@ -429,7 +436,7 @@ class LspResource(SyncAPIResource):
|
|
|
429
436
|
extra_body: Body | None = None,
|
|
430
437
|
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
431
438
|
idempotency_key: str | None = None,
|
|
432
|
-
) ->
|
|
439
|
+
) -> FormattingResponse:
|
|
433
440
|
"""
|
|
434
441
|
Get formatting changes for a given document.
|
|
435
442
|
https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_formatting
|
|
@@ -457,7 +464,7 @@ class LspResource(SyncAPIResource):
|
|
|
457
464
|
timeout=timeout,
|
|
458
465
|
idempotency_key=idempotency_key,
|
|
459
466
|
),
|
|
460
|
-
cast_to=
|
|
467
|
+
cast_to=FormattingResponse,
|
|
461
468
|
)
|
|
462
469
|
|
|
463
470
|
def get_code_actions_for_diagnostic(
|
|
@@ -661,7 +668,7 @@ class LspResource(SyncAPIResource):
|
|
|
661
668
|
extra_body: Body | None = None,
|
|
662
669
|
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
663
670
|
idempotency_key: str | None = None,
|
|
664
|
-
) ->
|
|
671
|
+
) -> ReferencesResponse:
|
|
665
672
|
"""Get references for a given symbol.
|
|
666
673
|
|
|
667
674
|
This method calls the `getReferences` method
|
|
@@ -699,7 +706,7 @@ class LspResource(SyncAPIResource):
|
|
|
699
706
|
timeout=timeout,
|
|
700
707
|
idempotency_key=idempotency_key,
|
|
701
708
|
),
|
|
702
|
-
cast_to=
|
|
709
|
+
cast_to=ReferencesResponse,
|
|
703
710
|
)
|
|
704
711
|
|
|
705
712
|
def set_watch_directory(
|
|
@@ -774,6 +781,7 @@ class AsyncLspResource(AsyncAPIResource):
|
|
|
774
781
|
command: BaseCommandParam | NotGiven = NOT_GIVEN,
|
|
775
782
|
edit: BaseWorkspaceEditParam | NotGiven = NOT_GIVEN,
|
|
776
783
|
is_preferred: bool | NotGiven = NOT_GIVEN,
|
|
784
|
+
kind: str | NotGiven = NOT_GIVEN,
|
|
777
785
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
778
786
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
779
787
|
extra_headers: Headers | None = None,
|
|
@@ -807,6 +815,7 @@ class AsyncLspResource(AsyncAPIResource):
|
|
|
807
815
|
"command": command,
|
|
808
816
|
"edit": edit,
|
|
809
817
|
"is_preferred": is_preferred,
|
|
818
|
+
"kind": kind,
|
|
810
819
|
},
|
|
811
820
|
lsp_apply_code_action_params.LspApplyCodeActionParams,
|
|
812
821
|
),
|
|
@@ -834,7 +843,7 @@ class AsyncLspResource(AsyncAPIResource):
|
|
|
834
843
|
extra_body: Body | None = None,
|
|
835
844
|
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
836
845
|
idempotency_key: str | None = None,
|
|
837
|
-
) ->
|
|
846
|
+
) -> CodeActionsResponse:
|
|
838
847
|
"""Get code actions for a part of a document.
|
|
839
848
|
|
|
840
849
|
This method calls the
|
|
@@ -894,7 +903,7 @@ class AsyncLspResource(AsyncAPIResource):
|
|
|
894
903
|
timeout=timeout,
|
|
895
904
|
idempotency_key=idempotency_key,
|
|
896
905
|
),
|
|
897
|
-
cast_to=
|
|
906
|
+
cast_to=CodeActionsResponse,
|
|
898
907
|
)
|
|
899
908
|
|
|
900
909
|
async def diagnostics(
|
|
@@ -951,7 +960,7 @@ class AsyncLspResource(AsyncAPIResource):
|
|
|
951
960
|
extra_body: Body | None = None,
|
|
952
961
|
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
953
962
|
idempotency_key: str | None = None,
|
|
954
|
-
) ->
|
|
963
|
+
) -> DocumentSymbolResponse:
|
|
955
964
|
"""
|
|
956
965
|
Get document symbols for a given document.
|
|
957
966
|
|
|
@@ -978,7 +987,7 @@ class AsyncLspResource(AsyncAPIResource):
|
|
|
978
987
|
timeout=timeout,
|
|
979
988
|
idempotency_key=idempotency_key,
|
|
980
989
|
),
|
|
981
|
-
cast_to=
|
|
990
|
+
cast_to=DocumentSymbolResponse,
|
|
982
991
|
)
|
|
983
992
|
|
|
984
993
|
async def file(
|
|
@@ -1037,7 +1046,7 @@ class AsyncLspResource(AsyncAPIResource):
|
|
|
1037
1046
|
extra_body: Body | None = None,
|
|
1038
1047
|
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
1039
1048
|
idempotency_key: str | None = None,
|
|
1040
|
-
) ->
|
|
1049
|
+
) -> FileDefinitionResponse:
|
|
1041
1050
|
"""
|
|
1042
1051
|
Get the definition of a symbol at a given position in a file
|
|
1043
1052
|
https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_definition
|
|
@@ -1072,7 +1081,7 @@ class AsyncLspResource(AsyncAPIResource):
|
|
|
1072
1081
|
timeout=timeout,
|
|
1073
1082
|
idempotency_key=idempotency_key,
|
|
1074
1083
|
),
|
|
1075
|
-
cast_to=
|
|
1084
|
+
cast_to=FileDefinitionResponse,
|
|
1076
1085
|
)
|
|
1077
1086
|
|
|
1078
1087
|
async def files(
|
|
@@ -1120,7 +1129,7 @@ class AsyncLspResource(AsyncAPIResource):
|
|
|
1120
1129
|
extra_body: Body | None = None,
|
|
1121
1130
|
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
1122
1131
|
idempotency_key: str | None = None,
|
|
1123
|
-
) ->
|
|
1132
|
+
) -> FormattingResponse:
|
|
1124
1133
|
"""
|
|
1125
1134
|
Get formatting changes for a given document.
|
|
1126
1135
|
https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_formatting
|
|
@@ -1148,7 +1157,7 @@ class AsyncLspResource(AsyncAPIResource):
|
|
|
1148
1157
|
timeout=timeout,
|
|
1149
1158
|
idempotency_key=idempotency_key,
|
|
1150
1159
|
),
|
|
1151
|
-
cast_to=
|
|
1160
|
+
cast_to=FormattingResponse,
|
|
1152
1161
|
)
|
|
1153
1162
|
|
|
1154
1163
|
async def get_code_actions_for_diagnostic(
|
|
@@ -1352,7 +1361,7 @@ class AsyncLspResource(AsyncAPIResource):
|
|
|
1352
1361
|
extra_body: Body | None = None,
|
|
1353
1362
|
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
|
1354
1363
|
idempotency_key: str | None = None,
|
|
1355
|
-
) ->
|
|
1364
|
+
) -> ReferencesResponse:
|
|
1356
1365
|
"""Get references for a given symbol.
|
|
1357
1366
|
|
|
1358
1367
|
This method calls the `getReferences` method
|
|
@@ -1390,7 +1399,7 @@ class AsyncLspResource(AsyncAPIResource):
|
|
|
1390
1399
|
timeout=timeout,
|
|
1391
1400
|
idempotency_key=idempotency_key,
|
|
1392
1401
|
),
|
|
1393
|
-
cast_to=
|
|
1402
|
+
cast_to=ReferencesResponse,
|
|
1394
1403
|
)
|
|
1395
1404
|
|
|
1396
1405
|
async def set_watch_directory(
|
{runloop_api_client-0.20.0 → runloop_api_client-0.22.0}/src/runloop_api_client/types/devbox_view.py
RENAMED
|
@@ -13,7 +13,7 @@ class DevboxView(BaseModel):
|
|
|
13
13
|
id: str
|
|
14
14
|
"""The ID of the Devbox."""
|
|
15
15
|
|
|
16
|
-
capabilities: List[Literal["unknown", "computer_usage", "browser_usage"]]
|
|
16
|
+
capabilities: List[Literal["unknown", "computer_usage", "browser_usage", "language_server"]]
|
|
17
17
|
"""A list of capability groups this devbox has access to.
|
|
18
18
|
|
|
19
19
|
This allows devboxes to be compatible with certain tools sets like computer
|
|
@@ -39,8 +39,12 @@ from .lsp_files_response import LspFilesResponse as LspFilesResponse
|
|
|
39
39
|
from .base_markup_content import BaseMarkupContent as BaseMarkupContent
|
|
40
40
|
from .base_workspace_edit import BaseWorkspaceEdit as BaseWorkspaceEdit
|
|
41
41
|
from .diagnostic_severity import DiagnosticSeverity as DiagnosticSeverity
|
|
42
|
+
from .formatting_response import FormattingResponse as FormattingResponse
|
|
43
|
+
from .references_response import ReferencesResponse as ReferencesResponse
|
|
42
44
|
from .diagnostics_response import DiagnosticsResponse as DiagnosticsResponse
|
|
43
45
|
from .base_diagnostic_param import BaseDiagnosticParam as BaseDiagnosticParam
|
|
46
|
+
from .browser_create_params import BrowserCreateParams as BrowserCreateParams
|
|
47
|
+
from .code_actions_response import CodeActionsResponse as CodeActionsResponse
|
|
44
48
|
from .devbox_logs_list_view import DevboxLogsListView as DevboxLogsListView
|
|
45
49
|
from .lsp_formatting_params import LspFormattingParams as LspFormattingParams
|
|
46
50
|
from .lsp_references_params import LspReferencesParams as LspReferencesParams
|
|
@@ -53,6 +57,8 @@ from .lsp_diagnostics_params import LspDiagnosticsParams as LspDiagnosticsParams
|
|
|
53
57
|
from .lsp_code_actions_params import LspCodeActionsParams as LspCodeActionsParams
|
|
54
58
|
from .signature_help_response import SignatureHelpResponse as SignatureHelpResponse
|
|
55
59
|
from .code_action_trigger_kind import CodeActionTriggerKind as CodeActionTriggerKind
|
|
60
|
+
from .document_symbol_response import DocumentSymbolResponse as DocumentSymbolResponse
|
|
61
|
+
from .file_definition_response import FileDefinitionResponse as FileDefinitionResponse
|
|
56
62
|
from .base_workspace_edit_param import BaseWorkspaceEditParam as BaseWorkspaceEditParam
|
|
57
63
|
from .code_action_context_param import CodeActionContextParam as CodeActionContextParam
|
|
58
64
|
from .execution_retrieve_params import ExecutionRetrieveParams as ExecutionRetrieveParams
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing import Optional
|
|
6
|
+
from typing_extensions import TypedDict
|
|
7
|
+
|
|
8
|
+
__all__ = ["BrowserCreateParams"]
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class BrowserCreateParams(TypedDict, total=False):
|
|
12
|
+
name: Optional[str]
|
|
13
|
+
"""The name to use for the created Devbox with a Browser."""
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
|
|
5
|
-
from typing import List, Iterable
|
|
6
|
-
from typing_extensions import Required, Annotated, TypedDict
|
|
5
|
+
from typing import Dict, List, Union, Iterable
|
|
6
|
+
from typing_extensions import Required, Annotated, TypeAlias, TypedDict
|
|
7
7
|
|
|
8
8
|
from ..._utils import PropertyInfo
|
|
9
9
|
from .code_action_kind import CodeActionKind
|
|
@@ -13,7 +13,7 @@ from .code_action_trigger_kind import CodeActionTriggerKind
|
|
|
13
13
|
__all__ = ["CodeActionContextParam"]
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class CodeActionContextParamTyped(TypedDict, total=False):
|
|
17
17
|
diagnostics: Required[Iterable[DiagnosticParam]]
|
|
18
18
|
"""
|
|
19
19
|
An array of diagnostics known on the client side overlapping the range provided
|
|
@@ -32,3 +32,6 @@ class CodeActionContextParam(TypedDict, total=False):
|
|
|
32
32
|
|
|
33
33
|
trigger_kind: Annotated[CodeActionTriggerKind, PropertyInfo(alias="triggerKind")]
|
|
34
34
|
"""The reason why code actions were requested."""
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
CodeActionContextParam: TypeAlias = Union[CodeActionContextParamTyped, Dict[str, object]]
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from typing import List, Union
|
|
4
|
+
from typing_extensions import TypeAlias
|
|
5
|
+
|
|
6
|
+
from .base_command import BaseCommand
|
|
7
|
+
from .base_code_action import BaseCodeAction
|
|
8
|
+
|
|
9
|
+
__all__ = ["CodeActionsResponse", "CodeActionsResponseItem"]
|
|
10
|
+
|
|
11
|
+
CodeActionsResponseItem: TypeAlias = Union[BaseCodeAction, BaseCommand]
|
|
12
|
+
|
|
13
|
+
CodeActionsResponse: TypeAlias = List[CodeActionsResponseItem]
|
|
@@ -2,13 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
|
|
5
|
-
from
|
|
5
|
+
from typing import Dict, Union
|
|
6
|
+
from typing_extensions import Required, TypeAlias, TypedDict
|
|
6
7
|
|
|
7
8
|
from .u_ri import URi
|
|
8
9
|
|
|
9
10
|
__all__ = ["CodeDescriptionParam"]
|
|
10
11
|
|
|
11
12
|
|
|
12
|
-
class
|
|
13
|
+
class CodeDescriptionParamTyped(TypedDict, total=False):
|
|
13
14
|
href: Required[URi]
|
|
14
15
|
"""An URI to open with more information about the diagnostic error."""
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
CodeDescriptionParam: TypeAlias = Union[CodeDescriptionParamTyped, Dict[str, object]]
|
|
@@ -12,6 +12,9 @@ class ComputerCreateParams(TypedDict, total=False):
|
|
|
12
12
|
display_dimensions: Optional[DisplayDimensions]
|
|
13
13
|
"""Customize the dimensions of the computer display."""
|
|
14
14
|
|
|
15
|
+
name: Optional[str]
|
|
16
|
+
"""The name to use for the created computer."""
|
|
17
|
+
|
|
15
18
|
|
|
16
19
|
class DisplayDimensions(TypedDict, total=False):
|
|
17
20
|
display_height_px: Required[int]
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
|
|
5
|
-
from typing import Union, Iterable
|
|
6
|
-
from typing_extensions import Required, Annotated, TypedDict
|
|
5
|
+
from typing import Dict, Union, Iterable
|
|
6
|
+
from typing_extensions import Required, Annotated, TypeAlias, TypedDict
|
|
7
7
|
|
|
8
8
|
from .integer import Integer
|
|
9
9
|
from ..._utils import PropertyInfo
|
|
@@ -17,7 +17,7 @@ from .diagnostic_related_information_param import DiagnosticRelatedInformationPa
|
|
|
17
17
|
__all__ = ["DiagnosticParam"]
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
class
|
|
20
|
+
class DiagnosticParamTyped(TypedDict, total=False):
|
|
21
21
|
message: Required[str]
|
|
22
22
|
"""The diagnostic's message. It usually appears in the user interface"""
|
|
23
23
|
|
|
@@ -63,3 +63,6 @@ class DiagnosticParam(TypedDict, total=False):
|
|
|
63
63
|
|
|
64
64
|
tags: Iterable[DiagnosticTag]
|
|
65
65
|
"""Additional metadata about the diagnostic."""
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
DiagnosticParam: TypeAlias = Union[DiagnosticParamTyped, Dict[str, object]]
|
|
@@ -2,16 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
|
|
5
|
-
from
|
|
5
|
+
from typing import Dict, Union
|
|
6
|
+
from typing_extensions import Required, TypeAlias, TypedDict
|
|
6
7
|
|
|
7
8
|
from .location_param import LocationParam
|
|
8
9
|
|
|
9
10
|
__all__ = ["DiagnosticRelatedInformationParam"]
|
|
10
11
|
|
|
11
12
|
|
|
12
|
-
class
|
|
13
|
+
class DiagnosticRelatedInformationParamTyped(TypedDict, total=False):
|
|
13
14
|
location: Required[LocationParam]
|
|
14
15
|
"""The location of this related diagnostic information."""
|
|
15
16
|
|
|
16
17
|
message: Required[str]
|
|
17
18
|
"""The message of this related diagnostic information."""
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
DiagnosticRelatedInformationParam: TypeAlias = Union[DiagnosticRelatedInformationParamTyped, Dict[str, object]]
|