runloop-api-client 0.14.0__tar.gz → 0.16.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.
Files changed (247) hide show
  1. runloop_api_client-0.16.0/.release-please-manifest.json +3 -0
  2. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/CHANGELOG.md +22 -0
  3. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/PKG-INFO +1 -1
  4. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/api.md +36 -4
  5. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/pyproject.toml +2 -1
  6. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/_version.py +1 -1
  7. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/resources/benchmarks/benchmarks.py +10 -0
  8. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/resources/benchmarks/runs.py +8 -0
  9. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/resources/devboxes/__init__.py +28 -0
  10. runloop_api_client-0.16.0/src/runloop_api_client/resources/devboxes/browsers.py +155 -0
  11. runloop_api_client-0.16.0/src/runloop_api_client/resources/devboxes/computers.py +559 -0
  12. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/resources/devboxes/devboxes.py +64 -0
  13. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/resources/scenarios/runs.py +8 -0
  14. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/resources/scenarios/scenarios.py +9 -9
  15. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/__init__.py +8 -10
  16. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/benchmark_list_params.py +6 -0
  17. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/benchmark_run_view.py +6 -0
  18. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/benchmarks/run_list_params.py +3 -0
  19. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devbox_view.py +8 -1
  20. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devboxes/__init__.py +11 -0
  21. runloop_api_client-0.16.0/src/runloop_api_client/types/devboxes/browser_view.py +24 -0
  22. runloop_api_client-0.16.0/src/runloop_api_client/types/devboxes/computer_create_params.py +21 -0
  23. runloop_api_client-0.16.0/src/runloop_api_client/types/devboxes/computer_keyboard_interaction_params.py +16 -0
  24. runloop_api_client-0.16.0/src/runloop_api_client/types/devboxes/computer_keyboard_interaction_response.py +15 -0
  25. runloop_api_client-0.16.0/src/runloop_api_client/types/devboxes/computer_mouse_interaction_params.py +30 -0
  26. runloop_api_client-0.16.0/src/runloop_api_client/types/devboxes/computer_mouse_interaction_response.py +15 -0
  27. runloop_api_client-0.16.0/src/runloop_api_client/types/devboxes/computer_screen_interaction_params.py +12 -0
  28. runloop_api_client-0.16.0/src/runloop_api_client/types/devboxes/computer_screen_interaction_response.py +15 -0
  29. runloop_api_client-0.16.0/src/runloop_api_client/types/devboxes/computer_view.py +15 -0
  30. runloop_api_client-0.14.0/src/runloop_api_client/types/input_context_parameters.py → runloop_api_client-0.16.0/src/runloop_api_client/types/input_context.py +2 -2
  31. runloop_api_client-0.14.0/src/runloop_api_client/types/input_context_parameters_param.py → runloop_api_client-0.16.0/src/runloop_api_client/types/input_context_param.py +2 -2
  32. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/scenario_create_params.py +6 -6
  33. runloop_api_client-0.14.0/src/runloop_api_client/types/scenario_environment_parameters.py → runloop_api_client-0.16.0/src/runloop_api_client/types/scenario_environment.py +2 -2
  34. runloop_api_client-0.14.0/src/runloop_api_client/types/scenario_environment_parameters_param.py → runloop_api_client-0.16.0/src/runloop_api_client/types/scenario_environment_param.py +2 -2
  35. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/scenario_run_view.py +4 -1
  36. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/scenario_view.py +6 -6
  37. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/scenarios/run_list_params.py +3 -0
  38. runloop_api_client-0.14.0/src/runloop_api_client/types/scoring_contract_parameters.py → runloop_api_client-0.16.0/src/runloop_api_client/types/scoring_contract.py +4 -4
  39. runloop_api_client-0.14.0/src/runloop_api_client/types/scoring_contract_parameters_param.py → runloop_api_client-0.16.0/src/runloop_api_client/types/scoring_contract_param.py +4 -4
  40. runloop_api_client-0.14.0/src/runloop_api_client/types/scoring_function_parameters.py → runloop_api_client-0.16.0/src/runloop_api_client/types/scoring_function.py +2 -2
  41. runloop_api_client-0.14.0/src/runloop_api_client/types/scoring_function_parameters_param.py → runloop_api_client-0.16.0/src/runloop_api_client/types/scoring_function_param.py +2 -2
  42. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/tests/api_resources/benchmarks/test_runs.py +2 -0
  43. runloop_api_client-0.16.0/tests/api_resources/devboxes/test_browsers.py +72 -0
  44. runloop_api_client-0.16.0/tests/api_resources/devboxes/test_computers.py +391 -0
  45. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/tests/api_resources/scenarios/test_runs.py +2 -0
  46. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/tests/api_resources/test_benchmarks.py +2 -0
  47. runloop_api_client-0.14.0/.release-please-manifest.json +0 -3
  48. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/.gitignore +0 -0
  49. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/CONTRIBUTING.md +0 -0
  50. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/LICENSE +0 -0
  51. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/README.md +0 -0
  52. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/SECURITY.md +0 -0
  53. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/bin/check-release-environment +0 -0
  54. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/bin/publish-pypi +0 -0
  55. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/examples/.keep +0 -0
  56. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/mypy.ini +0 -0
  57. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/noxfile.py +0 -0
  58. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/release-please-config.json +0 -0
  59. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/requirements-dev.lock +0 -0
  60. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/requirements.lock +0 -0
  61. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop/lib/.keep +0 -0
  62. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/__init__.py +0 -0
  63. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/_base_client.py +0 -0
  64. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/_client.py +0 -0
  65. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/_compat.py +0 -0
  66. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/_constants.py +0 -0
  67. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/_exceptions.py +0 -0
  68. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/_files.py +0 -0
  69. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/_models.py +0 -0
  70. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/_qs.py +0 -0
  71. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/_resource.py +0 -0
  72. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/_response.py +2 -2
  73. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/_streaming.py +0 -0
  74. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/_types.py +0 -0
  75. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/_utils/__init__.py +0 -0
  76. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/_utils/_logs.py +0 -0
  77. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/_utils/_proxy.py +0 -0
  78. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/_utils/_reflection.py +0 -0
  79. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/_utils/_streams.py +0 -0
  80. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/_utils/_sync.py +0 -0
  81. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/_utils/_transform.py +0 -0
  82. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/_utils/_typing.py +0 -0
  83. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/_utils/_utils.py +0 -0
  84. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/lib/.keep +0 -0
  85. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/lib/polling.py +0 -0
  86. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/lib/polling_async.py +0 -0
  87. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/pagination.py +0 -0
  88. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/py.typed +0 -0
  89. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/resources/__init__.py +0 -0
  90. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/resources/benchmarks/__init__.py +0 -0
  91. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/resources/blueprints.py +0 -0
  92. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/resources/devboxes/executions.py +0 -0
  93. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/resources/devboxes/logs.py +0 -0
  94. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/resources/devboxes/lsp.py +0 -0
  95. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/resources/repositories.py +0 -0
  96. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/resources/scenarios/__init__.py +0 -0
  97. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/benchmark_create_params.py +0 -0
  98. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/benchmark_list_view.py +0 -0
  99. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/benchmark_run_list_view.py +0 -0
  100. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/benchmark_start_run_params.py +0 -0
  101. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/benchmark_view.py +0 -0
  102. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/benchmarks/__init__.py +0 -0
  103. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/blueprint_build_log.py +0 -0
  104. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/blueprint_build_logs_list_view.py +0 -0
  105. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/blueprint_build_parameters.py +0 -0
  106. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/blueprint_create_params.py +0 -0
  107. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/blueprint_list_params.py +0 -0
  108. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/blueprint_list_view.py +0 -0
  109. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/blueprint_preview_params.py +0 -0
  110. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/blueprint_preview_view.py +0 -0
  111. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/blueprint_view.py +0 -0
  112. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devbox_async_execution_detail_view.py +0 -0
  113. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devbox_create_params.py +0 -0
  114. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devbox_create_ssh_key_response.py +0 -0
  115. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devbox_create_tunnel_params.py +0 -0
  116. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devbox_download_file_params.py +0 -0
  117. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devbox_execute_async_params.py +0 -0
  118. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devbox_execute_sync_params.py +0 -0
  119. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devbox_execution_detail_view.py +0 -0
  120. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devbox_list_disk_snapshots_params.py +0 -0
  121. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devbox_list_params.py +0 -0
  122. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devbox_list_view.py +0 -0
  123. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devbox_read_file_contents_params.py +0 -0
  124. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devbox_read_file_contents_response.py +0 -0
  125. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devbox_remove_tunnel_params.py +0 -0
  126. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devbox_snapshot_disk_params.py +0 -0
  127. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devbox_snapshot_list_view.py +0 -0
  128. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devbox_snapshot_view.py +0 -0
  129. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devbox_tunnel_view.py +0 -0
  130. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devbox_upload_file_params.py +0 -0
  131. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devbox_write_file_contents_params.py +0 -0
  132. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devboxes/base_code_action.py +0 -0
  133. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devboxes/base_command.py +0 -0
  134. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devboxes/base_command_param.py +0 -0
  135. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devboxes/base_diagnostic.py +0 -0
  136. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devboxes/base_diagnostic_param.py +0 -0
  137. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devboxes/base_location.py +0 -0
  138. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devboxes/base_markup_content.py +0 -0
  139. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devboxes/base_parameter_information.py +0 -0
  140. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devboxes/base_range.py +0 -0
  141. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devboxes/base_range_param.py +0 -0
  142. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devboxes/base_signature.py +0 -0
  143. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devboxes/base_workspace_edit.py +0 -0
  144. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devboxes/base_workspace_edit_param.py +0 -0
  145. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devboxes/code_action_application_result.py +0 -0
  146. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devboxes/code_action_context_param.py +0 -0
  147. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devboxes/code_action_kind.py +0 -0
  148. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devboxes/code_action_trigger_kind.py +0 -0
  149. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devboxes/code_description_param.py +0 -0
  150. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devboxes/code_segment_info_response.py +0 -0
  151. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devboxes/devbox_logs_list_view.py +0 -0
  152. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devboxes/diagnostic_param.py +0 -0
  153. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devboxes/diagnostic_related_information_param.py +0 -0
  154. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devboxes/diagnostic_severity.py +0 -0
  155. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devboxes/diagnostic_tag.py +0 -0
  156. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devboxes/diagnostics_response.py +0 -0
  157. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devboxes/document_symbol.py +0 -0
  158. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devboxes/document_uri.py +0 -0
  159. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devboxes/execution_execute_async_params.py +0 -0
  160. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devboxes/execution_execute_sync_params.py +0 -0
  161. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devboxes/execution_retrieve_params.py +0 -0
  162. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devboxes/file_contents_response.py +0 -0
  163. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devboxes/file_path.py +0 -0
  164. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devboxes/file_uri.py +0 -0
  165. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devboxes/health_status_response.py +0 -0
  166. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devboxes/integer.py +0 -0
  167. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devboxes/l_sp_any_param.py +0 -0
  168. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devboxes/location_param.py +0 -0
  169. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devboxes/log_list_params.py +0 -0
  170. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devboxes/lsp_apply_code_action_params.py +0 -0
  171. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devboxes/lsp_code_actions_params.py +0 -0
  172. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devboxes/lsp_diagnostics_params.py +0 -0
  173. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devboxes/lsp_document_symbols_params.py +0 -0
  174. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devboxes/lsp_file_definition_params.py +0 -0
  175. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devboxes/lsp_file_params.py +0 -0
  176. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devboxes/lsp_files_response.py +0 -0
  177. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devboxes/lsp_formatting_params.py +0 -0
  178. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devboxes/lsp_get_code_actions_for_diagnostic_params.py +0 -0
  179. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devboxes/lsp_get_code_actions_for_diagnostic_response.py +0 -0
  180. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devboxes/lsp_get_code_segment_info_params.py +0 -0
  181. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devboxes/lsp_get_signature_help_params.py +0 -0
  182. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devboxes/lsp_references_params.py +0 -0
  183. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devboxes/lsp_set_watch_directory_params.py +0 -0
  184. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devboxes/lsp_set_watch_directory_response.py +0 -0
  185. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devboxes/position.py +0 -0
  186. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devboxes/position_param.py +0 -0
  187. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devboxes/range.py +0 -0
  188. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devboxes/range_param.py +0 -0
  189. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devboxes/record_string_text_edit_array.py +0 -0
  190. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devboxes/record_string_text_edit_array_param.py +0 -0
  191. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devboxes/signature_help_response.py +0 -0
  192. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devboxes/symbol_kind.py +0 -0
  193. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devboxes/symbol_tag.py +0 -0
  194. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devboxes/symbol_type.py +0 -0
  195. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devboxes/text_edit.py +0 -0
  196. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devboxes/text_edit_param.py +0 -0
  197. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devboxes/u_ri.py +0 -0
  198. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devboxes/uinteger.py +0 -0
  199. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/devboxes/watched_file_response.py +0 -0
  200. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/repository_connection_list_view.py +0 -0
  201. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/repository_connection_view.py +0 -0
  202. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/repository_create_params.py +0 -0
  203. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/repository_list_params.py +0 -0
  204. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/repository_version_details.py +0 -0
  205. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/repository_version_list_view.py +0 -0
  206. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/scenario_list_params.py +0 -0
  207. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/scenario_list_view.py +0 -0
  208. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/scenario_run_list_view.py +0 -0
  209. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/scenario_start_run_params.py +0 -0
  210. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/scenarios/__init__.py +0 -0
  211. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/scoring_contract_result_view.py +0 -0
  212. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/scoring_function_result_view.py +0 -0
  213. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/shared/__init__.py +0 -0
  214. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/shared/after_idle.py +0 -0
  215. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/shared/code_mount_parameters.py +0 -0
  216. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/shared/launch_parameters.py +0 -0
  217. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/shared_params/__init__.py +0 -0
  218. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/shared_params/after_idle.py +0 -0
  219. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/shared_params/code_mount_parameters.py +0 -0
  220. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/src/runloop_api_client/types/shared_params/launch_parameters.py +0 -0
  221. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/tests/__init__.py +0 -0
  222. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/tests/api_resources/__init__.py +0 -0
  223. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/tests/api_resources/benchmarks/__init__.py +0 -0
  224. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/tests/api_resources/devboxes/__init__.py +0 -0
  225. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/tests/api_resources/devboxes/test_executions.py +0 -0
  226. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/tests/api_resources/devboxes/test_logs.py +0 -0
  227. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/tests/api_resources/devboxes/test_lsp.py +0 -0
  228. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/tests/api_resources/scenarios/__init__.py +0 -0
  229. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/tests/api_resources/test_blueprints.py +0 -0
  230. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/tests/api_resources/test_devboxes.py +0 -0
  231. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/tests/api_resources/test_repositories.py +0 -0
  232. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/tests/api_resources/test_scenarios.py +0 -0
  233. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/tests/conftest.py +0 -0
  234. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/tests/sample_file.txt +0 -0
  235. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/tests/test_client.py +0 -0
  236. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/tests/test_deepcopy.py +0 -0
  237. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/tests/test_extract_files.py +0 -0
  238. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/tests/test_files.py +0 -0
  239. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/tests/test_models.py +0 -0
  240. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/tests/test_qs.py +0 -0
  241. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/tests/test_required_args.py +0 -0
  242. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/tests/test_response.py +0 -0
  243. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/tests/test_streaming.py +0 -0
  244. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/tests/test_transform.py +0 -0
  245. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/tests/test_utils/test_proxy.py +0 -0
  246. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/tests/test_utils/test_typing.py +0 -0
  247. {runloop_api_client-0.14.0 → runloop_api_client-0.16.0}/tests/utils.py +0 -0
@@ -0,0 +1,3 @@
1
+ {
2
+ ".": "0.16.0"
3
+ }
@@ -1,5 +1,27 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.16.0 (2025-01-31)
4
+
5
+ Full Changelog: [v0.15.0...v0.16.0](https://github.com/runloopai/api-client-python/compare/v0.15.0...v0.16.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([#510](https://github.com/runloopai/api-client-python/issues/510)) ([914ee46](https://github.com/runloopai/api-client-python/commit/914ee460ccdc6bbd58a7a263d5566716b4bbf9df))
10
+
11
+
12
+ ### Chores
13
+
14
+ * **internal:** codegen related update ([#508](https://github.com/runloopai/api-client-python/issues/508)) ([278e736](https://github.com/runloopai/api-client-python/commit/278e736787b66e0d0a5fbc64743a386cfefd1994))
15
+
16
+ ## 0.15.0 (2025-01-29)
17
+
18
+ Full Changelog: [v0.14.0...v0.15.0](https://github.com/runloopai/api-client-python/compare/v0.14.0...v0.15.0)
19
+
20
+ ### Features
21
+
22
+ * **api:** api update ([#504](https://github.com/runloopai/api-client-python/issues/504)) ([d73a1ef](https://github.com/runloopai/api-client-python/commit/d73a1efcec6e24fc92a0504746d0da186fd3d20a))
23
+ * **api:** api update ([#506](https://github.com/runloopai/api-client-python/issues/506)) ([a122cdc](https://github.com/runloopai/api-client-python/commit/a122cdc3b592860ce08cbd02b434ecf343bb3081))
24
+
3
25
  ## 0.14.0 (2025-01-29)
4
26
 
5
27
  Full Changelog: [v0.13.0...v0.14.0](https://github.com/runloopai/api-client-python/compare/v0.13.0...v0.14.0)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: runloop_api_client
3
- Version: 0.14.0
3
+ Version: 0.16.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
@@ -100,6 +100,38 @@ Methods:
100
100
  - <code title="post /v1/devboxes/{id}/upload_file">client.devboxes.<a href="./src/runloop_api_client/resources/devboxes/devboxes.py">upload_file</a>(id, \*\*<a href="src/runloop_api_client/types/devbox_upload_file_params.py">params</a>) -> <a href="./src/runloop_api_client/types/devbox_upload_file_response.py">object</a></code>
101
101
  - <code title="post /v1/devboxes/{id}/write_file_contents">client.devboxes.<a href="./src/runloop_api_client/resources/devboxes/devboxes.py">write_file_contents</a>(id, \*\*<a href="src/runloop_api_client/types/devbox_write_file_contents_params.py">params</a>) -> <a href="./src/runloop_api_client/types/devbox_execution_detail_view.py">DevboxExecutionDetailView</a></code>
102
102
 
103
+ ## Browsers
104
+
105
+ Types:
106
+
107
+ ```python
108
+ from runloop_api_client.types.devboxes import BrowserView
109
+ ```
110
+
111
+ Methods:
112
+
113
+ - <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
+
115
+ ## Computers
116
+
117
+ Types:
118
+
119
+ ```python
120
+ from runloop_api_client.types.devboxes import (
121
+ ComputerView,
122
+ ComputerKeyboardInteractionResponse,
123
+ ComputerMouseInteractionResponse,
124
+ ComputerScreenInteractionResponse,
125
+ )
126
+ ```
127
+
128
+ Methods:
129
+
130
+ - <code title="post /v1/devboxes/computers">client.devboxes.computers.<a href="./src/runloop_api_client/resources/devboxes/computers.py">create</a>(\*\*<a href="src/runloop_api_client/types/devboxes/computer_create_params.py">params</a>) -> <a href="./src/runloop_api_client/types/devboxes/computer_view.py">ComputerView</a></code>
131
+ - <code title="post /v1/devboxes/computers/{id}/keyboard_interaction">client.devboxes.computers.<a href="./src/runloop_api_client/resources/devboxes/computers.py">keyboard_interaction</a>(id, \*\*<a href="src/runloop_api_client/types/devboxes/computer_keyboard_interaction_params.py">params</a>) -> <a href="./src/runloop_api_client/types/devboxes/computer_keyboard_interaction_response.py">ComputerKeyboardInteractionResponse</a></code>
132
+ - <code title="post /v1/devboxes/computers/{id}/mouse_interaction">client.devboxes.computers.<a href="./src/runloop_api_client/resources/devboxes/computers.py">mouse_interaction</a>(id, \*\*<a href="src/runloop_api_client/types/devboxes/computer_mouse_interaction_params.py">params</a>) -> <a href="./src/runloop_api_client/types/devboxes/computer_mouse_interaction_response.py">ComputerMouseInteractionResponse</a></code>
133
+ - <code title="post /v1/devboxes/computers/{id}/screen_interaction">client.devboxes.computers.<a href="./src/runloop_api_client/resources/devboxes/computers.py">screen_interaction</a>(id, \*\*<a href="src/runloop_api_client/types/devboxes/computer_screen_interaction_params.py">params</a>) -> <a href="./src/runloop_api_client/types/devboxes/computer_screen_interaction_response.py">ComputerScreenInteractionResponse</a></code>
134
+
103
135
  ## Lsp
104
136
 
105
137
  Types:
@@ -209,16 +241,16 @@ Types:
209
241
 
210
242
  ```python
211
243
  from runloop_api_client.types import (
212
- InputContextParameters,
244
+ InputContext,
213
245
  ScenarioCreateParameters,
214
- ScenarioEnvironmentParameters,
246
+ ScenarioEnvironment,
215
247
  ScenarioListView,
216
248
  ScenarioRunListView,
217
249
  ScenarioRunView,
218
250
  ScenarioView,
219
- ScoringContractParameters,
251
+ ScoringContract,
220
252
  ScoringContractResultView,
221
- ScoringFunctionParameters,
253
+ ScoringFunction,
222
254
  ScoringFunctionResultView,
223
255
  StartScenarioRunParameters,
224
256
  )
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "runloop_api_client"
3
- version = "0.14.0"
3
+ version = "0.16.0"
4
4
  description = "The official Python library for the runloop API"
5
5
  dynamic = ["readme"]
6
6
  license = "MIT"
@@ -129,6 +129,7 @@ testpaths = ["tests"]
129
129
  addopts = "--tb=short"
130
130
  xfail_strict = true
131
131
  asyncio_mode = "auto"
132
+ asyncio_default_fixture_loop_scope = "session"
132
133
  filterwarnings = [
133
134
  "error"
134
135
  ]
@@ -1,4 +1,4 @@
1
1
  # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
3
  __title__ = "runloop_api_client"
4
- __version__ = "0.14.0" # x-release-please-version
4
+ __version__ = "0.16.0" # x-release-please-version
@@ -147,6 +147,7 @@ class BenchmarksResource(SyncAPIResource):
147
147
  self,
148
148
  *,
149
149
  limit: int | NotGiven = NOT_GIVEN,
150
+ public: bool | NotGiven = NOT_GIVEN,
150
151
  starting_after: str | NotGiven = NOT_GIVEN,
151
152
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
152
153
  # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -161,6 +162,9 @@ class BenchmarksResource(SyncAPIResource):
161
162
  Args:
162
163
  limit: The limit of items to return. Default is 20.
163
164
 
165
+ public: List public benchmarks, e.g. SWE-bench. Defaults to false, i.e. only
166
+ user-defined benchmarks are listed.
167
+
164
168
  starting_after: Load the next page of data starting after the item with the given ID.
165
169
 
166
170
  extra_headers: Send extra headers
@@ -181,6 +185,7 @@ class BenchmarksResource(SyncAPIResource):
181
185
  query=maybe_transform(
182
186
  {
183
187
  "limit": limit,
188
+ "public": public,
184
189
  "starting_after": starting_after,
185
190
  },
186
191
  benchmark_list_params.BenchmarkListParams,
@@ -351,6 +356,7 @@ class AsyncBenchmarksResource(AsyncAPIResource):
351
356
  self,
352
357
  *,
353
358
  limit: int | NotGiven = NOT_GIVEN,
359
+ public: bool | NotGiven = NOT_GIVEN,
354
360
  starting_after: str | NotGiven = NOT_GIVEN,
355
361
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
356
362
  # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -365,6 +371,9 @@ class AsyncBenchmarksResource(AsyncAPIResource):
365
371
  Args:
366
372
  limit: The limit of items to return. Default is 20.
367
373
 
374
+ public: List public benchmarks, e.g. SWE-bench. Defaults to false, i.e. only
375
+ user-defined benchmarks are listed.
376
+
368
377
  starting_after: Load the next page of data starting after the item with the given ID.
369
378
 
370
379
  extra_headers: Send extra headers
@@ -385,6 +394,7 @@ class AsyncBenchmarksResource(AsyncAPIResource):
385
394
  query=await async_maybe_transform(
386
395
  {
387
396
  "limit": limit,
397
+ "public": public,
388
398
  "starting_after": starting_after,
389
399
  },
390
400
  benchmark_list_params.BenchmarkListParams,
@@ -81,6 +81,7 @@ class RunsResource(SyncAPIResource):
81
81
  def list(
82
82
  self,
83
83
  *,
84
+ benchmark_id: str | NotGiven = NOT_GIVEN,
84
85
  limit: int | NotGiven = NOT_GIVEN,
85
86
  starting_after: str | NotGiven = NOT_GIVEN,
86
87
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -94,6 +95,8 @@ class RunsResource(SyncAPIResource):
94
95
  List all BenchmarkRuns matching filter.
95
96
 
96
97
  Args:
98
+ benchmark_id: The Benchmark ID to filter by.
99
+
97
100
  limit: The limit of items to return. Default is 20.
98
101
 
99
102
  starting_after: Load the next page of data starting after the item with the given ID.
@@ -115,6 +118,7 @@ class RunsResource(SyncAPIResource):
115
118
  timeout=timeout,
116
119
  query=maybe_transform(
117
120
  {
121
+ "benchmark_id": benchmark_id,
118
122
  "limit": limit,
119
123
  "starting_after": starting_after,
120
124
  },
@@ -221,6 +225,7 @@ class AsyncRunsResource(AsyncAPIResource):
221
225
  async def list(
222
226
  self,
223
227
  *,
228
+ benchmark_id: str | NotGiven = NOT_GIVEN,
224
229
  limit: int | NotGiven = NOT_GIVEN,
225
230
  starting_after: str | NotGiven = NOT_GIVEN,
226
231
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -234,6 +239,8 @@ class AsyncRunsResource(AsyncAPIResource):
234
239
  List all BenchmarkRuns matching filter.
235
240
 
236
241
  Args:
242
+ benchmark_id: The Benchmark ID to filter by.
243
+
237
244
  limit: The limit of items to return. Default is 20.
238
245
 
239
246
  starting_after: Load the next page of data starting after the item with the given ID.
@@ -255,6 +262,7 @@ class AsyncRunsResource(AsyncAPIResource):
255
262
  timeout=timeout,
256
263
  query=await async_maybe_transform(
257
264
  {
265
+ "benchmark_id": benchmark_id,
258
266
  "limit": limit,
259
267
  "starting_after": starting_after,
260
268
  },
@@ -16,6 +16,14 @@ from .logs import (
16
16
  LogsResourceWithStreamingResponse,
17
17
  AsyncLogsResourceWithStreamingResponse,
18
18
  )
19
+ from .browsers import (
20
+ BrowsersResource,
21
+ AsyncBrowsersResource,
22
+ BrowsersResourceWithRawResponse,
23
+ AsyncBrowsersResourceWithRawResponse,
24
+ BrowsersResourceWithStreamingResponse,
25
+ AsyncBrowsersResourceWithStreamingResponse,
26
+ )
19
27
  from .devboxes import (
20
28
  DevboxesResource,
21
29
  AsyncDevboxesResource,
@@ -24,6 +32,14 @@ from .devboxes import (
24
32
  DevboxesResourceWithStreamingResponse,
25
33
  AsyncDevboxesResourceWithStreamingResponse,
26
34
  )
35
+ from .computers import (
36
+ ComputersResource,
37
+ AsyncComputersResource,
38
+ ComputersResourceWithRawResponse,
39
+ AsyncComputersResourceWithRawResponse,
40
+ ComputersResourceWithStreamingResponse,
41
+ AsyncComputersResourceWithStreamingResponse,
42
+ )
27
43
  from .executions import (
28
44
  ExecutionsResource,
29
45
  AsyncExecutionsResource,
@@ -34,6 +50,18 @@ from .executions import (
34
50
  )
35
51
 
36
52
  __all__ = [
53
+ "BrowsersResource",
54
+ "AsyncBrowsersResource",
55
+ "BrowsersResourceWithRawResponse",
56
+ "AsyncBrowsersResourceWithRawResponse",
57
+ "BrowsersResourceWithStreamingResponse",
58
+ "AsyncBrowsersResourceWithStreamingResponse",
59
+ "ComputersResource",
60
+ "AsyncComputersResource",
61
+ "ComputersResourceWithRawResponse",
62
+ "AsyncComputersResourceWithRawResponse",
63
+ "ComputersResourceWithStreamingResponse",
64
+ "AsyncComputersResourceWithStreamingResponse",
37
65
  "LspResource",
38
66
  "AsyncLspResource",
39
67
  "LspResourceWithRawResponse",
@@ -0,0 +1,155 @@
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 NOT_GIVEN, Body, Query, Headers, NotGiven
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.devboxes.browser_view import BrowserView
18
+
19
+ __all__ = ["BrowsersResource", "AsyncBrowsersResource"]
20
+
21
+
22
+ class BrowsersResource(SyncAPIResource):
23
+ @cached_property
24
+ def with_raw_response(self) -> BrowsersResourceWithRawResponse:
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/runloopai/api-client-python#accessing-raw-response-data-eg-headers
30
+ """
31
+ return BrowsersResourceWithRawResponse(self)
32
+
33
+ @cached_property
34
+ def with_streaming_response(self) -> BrowsersResourceWithStreamingResponse:
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/runloopai/api-client-python#with_streaming_response
39
+ """
40
+ return BrowsersResourceWithStreamingResponse(self)
41
+
42
+ def create(
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
+ idempotency_key: str | None = None,
52
+ ) -> BrowserView:
53
+ """Create a Devbox that has a managed Browser and begin the boot process.
54
+
55
+ As part
56
+ of booting the Devbox, the browser will automatically be started with connection
57
+ utilities activated.
58
+ """
59
+ return self._post(
60
+ "/v1/devboxes/browsers",
61
+ options=make_request_options(
62
+ extra_headers=extra_headers,
63
+ extra_query=extra_query,
64
+ extra_body=extra_body,
65
+ timeout=timeout,
66
+ idempotency_key=idempotency_key,
67
+ ),
68
+ cast_to=BrowserView,
69
+ )
70
+
71
+
72
+ class AsyncBrowsersResource(AsyncAPIResource):
73
+ @cached_property
74
+ def with_raw_response(self) -> AsyncBrowsersResourceWithRawResponse:
75
+ """
76
+ This property can be used as a prefix for any HTTP method call to return
77
+ the raw response object instead of the parsed content.
78
+
79
+ For more information, see https://www.github.com/runloopai/api-client-python#accessing-raw-response-data-eg-headers
80
+ """
81
+ return AsyncBrowsersResourceWithRawResponse(self)
82
+
83
+ @cached_property
84
+ def with_streaming_response(self) -> AsyncBrowsersResourceWithStreamingResponse:
85
+ """
86
+ An alternative to `.with_raw_response` that doesn't eagerly read the response body.
87
+
88
+ For more information, see https://www.github.com/runloopai/api-client-python#with_streaming_response
89
+ """
90
+ return AsyncBrowsersResourceWithStreamingResponse(self)
91
+
92
+ async def create(
93
+ self,
94
+ *,
95
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
96
+ # The extra values given here take precedence over values defined on the client or passed to this method.
97
+ extra_headers: Headers | None = None,
98
+ extra_query: Query | None = None,
99
+ extra_body: Body | None = None,
100
+ timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
101
+ idempotency_key: str | None = None,
102
+ ) -> BrowserView:
103
+ """Create a Devbox that has a managed Browser and begin the boot process.
104
+
105
+ As part
106
+ of booting the Devbox, the browser will automatically be started with connection
107
+ utilities activated.
108
+ """
109
+ return await self._post(
110
+ "/v1/devboxes/browsers",
111
+ options=make_request_options(
112
+ extra_headers=extra_headers,
113
+ extra_query=extra_query,
114
+ extra_body=extra_body,
115
+ timeout=timeout,
116
+ idempotency_key=idempotency_key,
117
+ ),
118
+ cast_to=BrowserView,
119
+ )
120
+
121
+
122
+ class BrowsersResourceWithRawResponse:
123
+ def __init__(self, browsers: BrowsersResource) -> None:
124
+ self._browsers = browsers
125
+
126
+ self.create = to_raw_response_wrapper(
127
+ browsers.create,
128
+ )
129
+
130
+
131
+ class AsyncBrowsersResourceWithRawResponse:
132
+ def __init__(self, browsers: AsyncBrowsersResource) -> None:
133
+ self._browsers = browsers
134
+
135
+ self.create = async_to_raw_response_wrapper(
136
+ browsers.create,
137
+ )
138
+
139
+
140
+ class BrowsersResourceWithStreamingResponse:
141
+ def __init__(self, browsers: BrowsersResource) -> None:
142
+ self._browsers = browsers
143
+
144
+ self.create = to_streamed_response_wrapper(
145
+ browsers.create,
146
+ )
147
+
148
+
149
+ class AsyncBrowsersResourceWithStreamingResponse:
150
+ def __init__(self, browsers: AsyncBrowsersResource) -> None:
151
+ self._browsers = browsers
152
+
153
+ self.create = async_to_streamed_response_wrapper(
154
+ browsers.create,
155
+ )