e2b 2.59.0__tar.gz → 2.60.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 (262) hide show
  1. {e2b-2.59.0 → e2b-2.60.0}/PKG-INFO +1 -1
  2. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/sandbox_network_config.py +20 -5
  3. {e2b-2.59.0 → e2b-2.60.0}/e2b/connection_config.py +6 -12
  4. {e2b-2.59.0 → e2b-2.60.0}/e2b/retry.py +23 -86
  5. {e2b-2.59.0 → e2b-2.60.0}/e2b/sandbox/sandbox_api.py +4 -2
  6. e2b-2.60.0/pyproject.toml +80 -0
  7. e2b-2.59.0/pyproject.toml → e2b-2.60.0/pyproject.toml.orig +2 -2
  8. {e2b-2.59.0 → e2b-2.60.0}/README.md +0 -0
  9. {e2b-2.59.0 → e2b-2.60.0}/e2b/__init__.py +0 -0
  10. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/__init__.py +0 -0
  11. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/__init__.py +0 -0
  12. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/api/__init__.py +0 -0
  13. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/api/sandboxes/__init__.py +0 -0
  14. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/api/sandboxes/delete_sandboxes_sandbox_id.py +0 -0
  15. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/api/sandboxes/get_sandboxes.py +0 -0
  16. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/api/sandboxes/get_sandboxes_metrics.py +0 -0
  17. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/api/sandboxes/get_sandboxes_sandbox_id.py +0 -0
  18. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/api/sandboxes/get_sandboxes_sandbox_id_logs.py +0 -0
  19. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/api/sandboxes/get_sandboxes_sandbox_id_metrics.py +0 -0
  20. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/api/sandboxes/get_v2_sandboxes.py +0 -0
  21. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/api/sandboxes/get_v_2_sandboxes_sandbox_id_logs.py +0 -0
  22. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/api/sandboxes/post_sandboxes.py +0 -0
  23. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/api/sandboxes/post_sandboxes_sandbox_id_connect.py +0 -0
  24. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/api/sandboxes/post_sandboxes_sandbox_id_fork.py +0 -0
  25. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/api/sandboxes/post_sandboxes_sandbox_id_pause.py +0 -0
  26. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/api/sandboxes/post_sandboxes_sandbox_id_refreshes.py +0 -0
  27. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/api/sandboxes/post_sandboxes_sandbox_id_resume.py +0 -0
  28. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/api/sandboxes/post_sandboxes_sandbox_id_snapshots.py +0 -0
  29. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/api/sandboxes/post_sandboxes_sandbox_id_timeout.py +0 -0
  30. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/api/sandboxes/post_v2_sandboxes.py +0 -0
  31. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/api/sandboxes/post_v_2_sandboxes_sandbox_id_connect.py +0 -0
  32. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/api/sandboxes/put_sandboxes_sandbox_id_network.py +0 -0
  33. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/api/secrets/__init__.py +0 -0
  34. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/api/secrets/delete_secrets_secret_id.py +0 -0
  35. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/api/secrets/get_secrets.py +0 -0
  36. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/api/secrets/get_secrets_secret_id.py +0 -0
  37. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/api/secrets/post_secrets.py +0 -0
  38. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/api/secrets/post_secrets_secret_id.py +0 -0
  39. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/api/snapshots/__init__.py +0 -0
  40. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/api/snapshots/get_snapshots.py +0 -0
  41. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/api/tags/__init__.py +0 -0
  42. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/api/tags/delete_templates_tags.py +0 -0
  43. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/api/tags/get_templates_template_id_tags.py +0 -0
  44. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/api/tags/get_templates_template_id_tags_count.py +0 -0
  45. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/api/tags/get_templates_template_id_tags_exists.py +0 -0
  46. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/api/tags/get_templates_template_id_tags_groups.py +0 -0
  47. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/api/tags/get_templates_template_id_tags_tag_assignments.py +0 -0
  48. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/api/tags/post_templates_tags.py +0 -0
  49. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/api/templates/__init__.py +0 -0
  50. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/api/templates/delete_templates_template_id.py +0 -0
  51. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/api/templates/get_default_templates.py +0 -0
  52. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/api/templates/get_templates.py +0 -0
  53. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/api/templates/get_templates_aliases_alias.py +0 -0
  54. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/api/templates/get_templates_template_id.py +0 -0
  55. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/api/templates/get_templates_template_id_builds_build_id_logs.py +0 -0
  56. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/api/templates/get_templates_template_id_builds_build_id_status.py +0 -0
  57. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/api/templates/get_templates_template_id_files_hash.py +0 -0
  58. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/api/templates/get_v2_templates.py +0 -0
  59. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/api/templates/patch_templates_template_id.py +0 -0
  60. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/api/templates/patch_v_2_templates_template_id.py +0 -0
  61. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/api/templates/post_v3_templates.py +0 -0
  62. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/api/templates/post_v_2_templates_template_id_builds_build_id.py +0 -0
  63. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/api/volumes/__init__.py +0 -0
  64. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/api/volumes/delete_volumes_volume_id.py +0 -0
  65. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/api/volumes/get_volumes.py +0 -0
  66. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/api/volumes/get_volumes_volume_id.py +0 -0
  67. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/api/volumes/post_volumes.py +0 -0
  68. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/client.py +0 -0
  69. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/errors.py +0 -0
  70. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/__init__.py +0 -0
  71. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/assign_template_tags_request.py +0 -0
  72. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/assigned_template_tags.py +0 -0
  73. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/aws_registry.py +0 -0
  74. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/aws_registry_type.py +0 -0
  75. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/build_log_entry.py +0 -0
  76. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/build_status_reason.py +0 -0
  77. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/connect_sandbox.py +0 -0
  78. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/connect_sandbox_v2.py +0 -0
  79. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/delete_template_tags_request.py +0 -0
  80. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/error.py +0 -0
  81. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/gcp_registry.py +0 -0
  82. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/gcp_registry_type.py +0 -0
  83. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/general_registry.py +0 -0
  84. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/general_registry_type.py +0 -0
  85. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/get_templates_template_id_tags_groups_sort.py +0 -0
  86. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/listed_sandbox.py +0 -0
  87. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/log_level.py +0 -0
  88. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/logs_direction.py +0 -0
  89. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/logs_source.py +0 -0
  90. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/mcp_type_0.py +0 -0
  91. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/new_sandbox.py +0 -0
  92. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/new_sandbox_v2.py +0 -0
  93. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/new_secret.py +0 -0
  94. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/new_volume.py +0 -0
  95. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/order_direction.py +0 -0
  96. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/resumed_sandbox.py +0 -0
  97. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/sandbox.py +0 -0
  98. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/sandbox_auto_resume_config.py +0 -0
  99. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/sandbox_detail.py +0 -0
  100. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/sandbox_egress_proxy_config_type_0.py +0 -0
  101. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/sandbox_egress_proxy_tls_config_type_0.py +0 -0
  102. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/sandbox_fork_request.py +0 -0
  103. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/sandbox_fork_result.py +0 -0
  104. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/sandbox_iam.py +0 -0
  105. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/sandbox_iam_token.py +0 -0
  106. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/sandbox_iam_tokens.py +0 -0
  107. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/sandbox_lifecycle.py +0 -0
  108. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/sandbox_log.py +0 -0
  109. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/sandbox_log_entry.py +0 -0
  110. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/sandbox_log_entry_fields.py +0 -0
  111. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/sandbox_logs.py +0 -0
  112. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/sandbox_logs_v2_response.py +0 -0
  113. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/sandbox_metric.py +0 -0
  114. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/sandbox_network_config_rules.py +0 -0
  115. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/sandbox_network_rule.py +0 -0
  116. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/sandbox_network_transform.py +0 -0
  117. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/sandbox_network_transform_headers.py +0 -0
  118. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/sandbox_network_update_config.py +0 -0
  119. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/sandbox_network_update_config_rules.py +0 -0
  120. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/sandbox_on_timeout.py +0 -0
  121. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/sandbox_pause_mode.py +0 -0
  122. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/sandbox_pause_request.py +0 -0
  123. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/sandbox_refresh_request.py +0 -0
  124. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/sandbox_snapshot_request.py +0 -0
  125. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/sandbox_state.py +0 -0
  126. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/sandbox_timeout_request.py +0 -0
  127. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/sandbox_volume_mount.py +0 -0
  128. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/sandboxes_with_metrics.py +0 -0
  129. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/secret.py +0 -0
  130. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/secret_metadata.py +0 -0
  131. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/secret_update.py +0 -0
  132. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/snapshot_info.py +0 -0
  133. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/team_user.py +0 -0
  134. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/template.py +0 -0
  135. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/template_alias_response.py +0 -0
  136. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/template_build.py +0 -0
  137. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/template_build_file_upload.py +0 -0
  138. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/template_build_file_upload_headers.py +0 -0
  139. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/template_build_info.py +0 -0
  140. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/template_build_logs_response.py +0 -0
  141. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/template_build_request_v3.py +0 -0
  142. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/template_build_start_v2.py +0 -0
  143. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/template_build_status.py +0 -0
  144. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/template_request_response_v3.py +0 -0
  145. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/template_step.py +0 -0
  146. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/template_tag.py +0 -0
  147. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/template_tag_assignment.py +0 -0
  148. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/template_tag_assignments_response.py +0 -0
  149. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/template_tag_exists_response.py +0 -0
  150. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/template_tag_group.py +0 -0
  151. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/template_tag_groups_response.py +0 -0
  152. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/template_tags_count_response.py +0 -0
  153. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/template_update_request.py +0 -0
  154. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/template_update_response.py +0 -0
  155. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/template_with_builds.py +0 -0
  156. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/volume.py +0 -0
  157. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/models/volume_and_token.py +0 -0
  158. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/py.typed +0 -0
  159. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client/types.py +0 -0
  160. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client_async/__init__.py +0 -0
  161. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/client_sync/__init__.py +0 -0
  162. {e2b-2.59.0 → e2b-2.60.0}/e2b/api/metadata.py +0 -0
  163. {e2b-2.59.0 → e2b-2.60.0}/e2b/client.py +0 -0
  164. {e2b-2.59.0 → e2b-2.60.0}/e2b/envd/__init__.py +0 -0
  165. {e2b-2.59.0 → e2b-2.60.0}/e2b/envd/api.py +0 -0
  166. {e2b-2.59.0 → e2b-2.60.0}/e2b/envd/client_async/__init__.py +0 -0
  167. {e2b-2.59.0 → e2b-2.60.0}/e2b/envd/client_shared.py +0 -0
  168. {e2b-2.59.0 → e2b-2.60.0}/e2b/envd/client_sync/__init__.py +0 -0
  169. {e2b-2.59.0 → e2b-2.60.0}/e2b/envd/filesystem/__init__.py +0 -0
  170. {e2b-2.59.0 → e2b-2.60.0}/e2b/envd/filesystem/filesystem_connect.py +0 -0
  171. {e2b-2.59.0 → e2b-2.60.0}/e2b/envd/filesystem/filesystem_pb.py +0 -0
  172. {e2b-2.59.0 → e2b-2.60.0}/e2b/envd/interceptors.py +0 -0
  173. {e2b-2.59.0 → e2b-2.60.0}/e2b/envd/process/__init__.py +0 -0
  174. {e2b-2.59.0 → e2b-2.60.0}/e2b/envd/process/process_connect.py +0 -0
  175. {e2b-2.59.0 → e2b-2.60.0}/e2b/envd/process/process_pb.py +0 -0
  176. {e2b-2.59.0 → e2b-2.60.0}/e2b/envd/rpc.py +0 -0
  177. {e2b-2.59.0 → e2b-2.60.0}/e2b/envd/utils.py +0 -0
  178. {e2b-2.59.0 → e2b-2.60.0}/e2b/envd/versions.py +0 -0
  179. {e2b-2.59.0 → e2b-2.60.0}/e2b/exceptions.py +0 -0
  180. {e2b-2.59.0 → e2b-2.60.0}/e2b/io_utils.py +0 -0
  181. {e2b-2.59.0 → e2b-2.60.0}/e2b/paginator.py +0 -0
  182. {e2b-2.59.0 → e2b-2.60.0}/e2b/py.typed +0 -0
  183. {e2b-2.59.0 → e2b-2.60.0}/e2b/sandbox/_git/__init__.py +0 -0
  184. {e2b-2.59.0 → e2b-2.60.0}/e2b/sandbox/_git/args.py +0 -0
  185. {e2b-2.59.0 → e2b-2.60.0}/e2b/sandbox/_git/auth.py +0 -0
  186. {e2b-2.59.0 → e2b-2.60.0}/e2b/sandbox/_git/config.py +0 -0
  187. {e2b-2.59.0 → e2b-2.60.0}/e2b/sandbox/_git/parse.py +0 -0
  188. {e2b-2.59.0 → e2b-2.60.0}/e2b/sandbox/_git/types.py +0 -0
  189. {e2b-2.59.0 → e2b-2.60.0}/e2b/sandbox/commands/command_handle.py +0 -0
  190. {e2b-2.59.0 → e2b-2.60.0}/e2b/sandbox/commands/main.py +0 -0
  191. {e2b-2.59.0 → e2b-2.60.0}/e2b/sandbox/commands/stream_input.py +0 -0
  192. {e2b-2.59.0 → e2b-2.60.0}/e2b/sandbox/filesystem/filesystem.py +0 -0
  193. {e2b-2.59.0 → e2b-2.60.0}/e2b/sandbox/filesystem/watch_handle.py +0 -0
  194. {e2b-2.59.0 → e2b-2.60.0}/e2b/sandbox/iam.py +0 -0
  195. {e2b-2.59.0 → e2b-2.60.0}/e2b/sandbox/main.py +0 -0
  196. {e2b-2.59.0 → e2b-2.60.0}/e2b/sandbox/mcp.py +0 -0
  197. {e2b-2.59.0 → e2b-2.60.0}/e2b/sandbox/network.py +0 -0
  198. {e2b-2.59.0 → e2b-2.60.0}/e2b/sandbox/signature.py +0 -0
  199. {e2b-2.59.0 → e2b-2.60.0}/e2b/sandbox/utils.py +0 -0
  200. {e2b-2.59.0 → e2b-2.60.0}/e2b/sandbox_async/commands/command.py +0 -0
  201. {e2b-2.59.0 → e2b-2.60.0}/e2b/sandbox_async/commands/command_handle.py +0 -0
  202. {e2b-2.59.0 → e2b-2.60.0}/e2b/sandbox_async/commands/command_input_handle.py +0 -0
  203. {e2b-2.59.0 → e2b-2.60.0}/e2b/sandbox_async/commands/pty.py +0 -0
  204. {e2b-2.59.0 → e2b-2.60.0}/e2b/sandbox_async/filesystem/filesystem.py +0 -0
  205. {e2b-2.59.0 → e2b-2.60.0}/e2b/sandbox_async/filesystem/watch_handle.py +0 -0
  206. {e2b-2.59.0 → e2b-2.60.0}/e2b/sandbox_async/git.py +0 -0
  207. {e2b-2.59.0 → e2b-2.60.0}/e2b/sandbox_async/main.py +0 -0
  208. {e2b-2.59.0 → e2b-2.60.0}/e2b/sandbox_async/paginator.py +0 -0
  209. {e2b-2.59.0 → e2b-2.60.0}/e2b/sandbox_async/sandbox_api.py +0 -0
  210. {e2b-2.59.0 → e2b-2.60.0}/e2b/sandbox_async/utils.py +0 -0
  211. {e2b-2.59.0 → e2b-2.60.0}/e2b/sandbox_domains.py +0 -0
  212. {e2b-2.59.0 → e2b-2.60.0}/e2b/sandbox_sync/commands/command.py +0 -0
  213. {e2b-2.59.0 → e2b-2.60.0}/e2b/sandbox_sync/commands/command_handle.py +0 -0
  214. {e2b-2.59.0 → e2b-2.60.0}/e2b/sandbox_sync/commands/pty.py +0 -0
  215. {e2b-2.59.0 → e2b-2.60.0}/e2b/sandbox_sync/filesystem/filesystem.py +0 -0
  216. {e2b-2.59.0 → e2b-2.60.0}/e2b/sandbox_sync/filesystem/watch_handle.py +0 -0
  217. {e2b-2.59.0 → e2b-2.60.0}/e2b/sandbox_sync/git.py +0 -0
  218. {e2b-2.59.0 → e2b-2.60.0}/e2b/sandbox_sync/main.py +0 -0
  219. {e2b-2.59.0 → e2b-2.60.0}/e2b/sandbox_sync/paginator.py +0 -0
  220. {e2b-2.59.0 → e2b-2.60.0}/e2b/sandbox_sync/sandbox_api.py +0 -0
  221. {e2b-2.59.0 → e2b-2.60.0}/e2b/secret/__init__.py +0 -0
  222. {e2b-2.59.0 → e2b-2.60.0}/e2b/secret/base.py +0 -0
  223. {e2b-2.59.0 → e2b-2.60.0}/e2b/secret/secret_async.py +0 -0
  224. {e2b-2.59.0 → e2b-2.60.0}/e2b/secret/secret_sync.py +0 -0
  225. {e2b-2.59.0 → e2b-2.60.0}/e2b/secret/types.py +0 -0
  226. {e2b-2.59.0 → e2b-2.60.0}/e2b/template/consts.py +0 -0
  227. {e2b-2.59.0 → e2b-2.60.0}/e2b/template/dockerfile_parser.py +0 -0
  228. {e2b-2.59.0 → e2b-2.60.0}/e2b/template/logger.py +0 -0
  229. {e2b-2.59.0 → e2b-2.60.0}/e2b/template/main.py +0 -0
  230. {e2b-2.59.0 → e2b-2.60.0}/e2b/template/readycmd.py +0 -0
  231. {e2b-2.59.0 → e2b-2.60.0}/e2b/template/types.py +0 -0
  232. {e2b-2.59.0 → e2b-2.60.0}/e2b/template/utils.py +0 -0
  233. {e2b-2.59.0 → e2b-2.60.0}/e2b/template_async/build_api.py +0 -0
  234. {e2b-2.59.0 → e2b-2.60.0}/e2b/template_async/main.py +0 -0
  235. {e2b-2.59.0 → e2b-2.60.0}/e2b/template_sync/build_api.py +0 -0
  236. {e2b-2.59.0 → e2b-2.60.0}/e2b/template_sync/main.py +0 -0
  237. {e2b-2.59.0 → e2b-2.60.0}/e2b/volume/client/__init__.py +0 -0
  238. {e2b-2.59.0 → e2b-2.60.0}/e2b/volume/client/api/__init__.py +0 -0
  239. {e2b-2.59.0 → e2b-2.60.0}/e2b/volume/client/api/volumes/__init__.py +0 -0
  240. {e2b-2.59.0 → e2b-2.60.0}/e2b/volume/client/api/volumes/delete_volumecontent_volume_id_path.py +0 -0
  241. {e2b-2.59.0 → e2b-2.60.0}/e2b/volume/client/api/volumes/get_volumecontent_volume_id_dir.py +0 -0
  242. {e2b-2.59.0 → e2b-2.60.0}/e2b/volume/client/api/volumes/get_volumecontent_volume_id_file.py +0 -0
  243. {e2b-2.59.0 → e2b-2.60.0}/e2b/volume/client/api/volumes/get_volumecontent_volume_id_path.py +0 -0
  244. {e2b-2.59.0 → e2b-2.60.0}/e2b/volume/client/api/volumes/patch_volumecontent_volume_id_path.py +0 -0
  245. {e2b-2.59.0 → e2b-2.60.0}/e2b/volume/client/api/volumes/post_volumecontent_volume_id_dir.py +0 -0
  246. {e2b-2.59.0 → e2b-2.60.0}/e2b/volume/client/api/volumes/put_volumecontent_volume_id_file.py +0 -0
  247. {e2b-2.59.0 → e2b-2.60.0}/e2b/volume/client/client.py +0 -0
  248. {e2b-2.59.0 → e2b-2.60.0}/e2b/volume/client/errors.py +0 -0
  249. {e2b-2.59.0 → e2b-2.60.0}/e2b/volume/client/models/__init__.py +0 -0
  250. {e2b-2.59.0 → e2b-2.60.0}/e2b/volume/client/models/error.py +0 -0
  251. {e2b-2.59.0 → e2b-2.60.0}/e2b/volume/client/models/patch_volumecontent_volume_id_path_body.py +0 -0
  252. {e2b-2.59.0 → e2b-2.60.0}/e2b/volume/client/models/volume_entry_stat.py +0 -0
  253. {e2b-2.59.0 → e2b-2.60.0}/e2b/volume/client/models/volume_entry_stat_type.py +0 -0
  254. {e2b-2.59.0 → e2b-2.60.0}/e2b/volume/client/py.typed +0 -0
  255. {e2b-2.59.0 → e2b-2.60.0}/e2b/volume/client/types.py +0 -0
  256. {e2b-2.59.0 → e2b-2.60.0}/e2b/volume/client_async/__init__.py +0 -0
  257. {e2b-2.59.0 → e2b-2.60.0}/e2b/volume/client_sync/__init__.py +0 -0
  258. {e2b-2.59.0 → e2b-2.60.0}/e2b/volume/connection_config.py +0 -0
  259. {e2b-2.59.0 → e2b-2.60.0}/e2b/volume/types.py +0 -0
  260. {e2b-2.59.0 → e2b-2.60.0}/e2b/volume/utils.py +0 -0
  261. {e2b-2.59.0 → e2b-2.60.0}/e2b/volume/volume_async.py +0 -0
  262. {e2b-2.59.0 → e2b-2.60.0}/e2b/volume/volume_sync.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: e2b
3
- Version: 2.59.0
3
+ Version: 2.60.0
4
4
  Summary: E2B SDK that give agents cloud environments
5
5
  Author: e2b
6
6
  Author-email: e2b <hello@e2b.dev>
@@ -20,8 +20,9 @@ T = TypeVar("T", bound="SandboxNetworkConfig")
20
20
  class SandboxNetworkConfig:
21
21
  """
22
22
  Attributes:
23
- allow_public_traffic (Union[Unset, bool]): Specify if the sandbox URLs should be accessible only with
24
- authentication. Default: True.
23
+ allow_public_traffic (Union[None, Unset, bool]): Whether sandbox URLs accept traffic without the sandbox's
24
+ traffic access token. When omitted or null on create, the project's default applies, which is true unless the
25
+ project changed it.
25
26
  allow_out (Union[Unset, list[str]]): List of allowed destinations for egress traffic. Each entry can be a CIDR
26
27
  block (e.g. "8.8.8.8/32"), a bare IP address (e.g. "8.8.8.8"), or a domain name (e.g. "example.com",
27
28
  "*.example.com"). Allowed entries always take precedence over denied entries. When allowOut contains a domain,
@@ -47,7 +48,7 @@ class SandboxNetworkConfig:
47
48
  configure allowOut separately to permit the destination.
48
49
  """
49
50
 
50
- allow_public_traffic: Union[Unset, bool] = True
51
+ allow_public_traffic: Union[None, Unset, bool] = UNSET
51
52
  allow_out: Union[Unset, list[str]] = UNSET
52
53
  deny_out: Union[Unset, list[str]] = UNSET
53
54
  dns_servers: Union[Unset, list[str]] = UNSET
@@ -62,7 +63,11 @@ class SandboxNetworkConfig:
62
63
  SandboxEgressProxyConfigType0,
63
64
  )
64
65
 
65
- allow_public_traffic = self.allow_public_traffic
66
+ allow_public_traffic: Union[None, Unset, bool]
67
+ if isinstance(self.allow_public_traffic, Unset):
68
+ allow_public_traffic = UNSET
69
+ else:
70
+ allow_public_traffic = self.allow_public_traffic
66
71
 
67
72
  allow_out: Union[Unset, list[str]] = UNSET
68
73
  if not isinstance(self.allow_out, Unset):
@@ -124,7 +129,17 @@ class SandboxNetworkConfig:
124
129
  from ..models.sandbox_network_config_rules import SandboxNetworkConfigRules
125
130
 
126
131
  d = dict(src_dict)
127
- allow_public_traffic = d.pop("allowPublicTraffic", UNSET)
132
+
133
+ def _parse_allow_public_traffic(data: object) -> Union[None, Unset, bool]:
134
+ if data is None:
135
+ return data
136
+ if isinstance(data, Unset):
137
+ return data
138
+ return cast(Union[None, Unset, bool], data)
139
+
140
+ allow_public_traffic = _parse_allow_public_traffic(
141
+ d.pop("allowPublicTraffic", UNSET)
142
+ )
128
143
 
129
144
  allow_out = cast(list[str], d.pop("allowOut", UNSET))
130
145
 
@@ -78,18 +78,12 @@ class ApiParams(TypedDict, total=False):
78
78
  """Timeout for the request in **seconds**, defaults to 60 seconds."""
79
79
 
80
80
  retries: Optional[int]
81
- """Number of control-plane HTTP retries after a 429, 502 or 503 response or
82
- a network error once the request was written (dropped connection). A 502
83
- and such network errors are not retried for operations that create a
84
- resource (e.g. sandbox creation) or append to one (secret update), as the
85
- server may already have processed them; failures to
86
- establish the connection are retried separately for every operation, see
87
- ``E2B_CONNECTION_RETRIES``.
88
- A 429 is retried only with a valid, non-negative integer delta-seconds
89
- ``Retry-After`` header (HTTP-date and malformed values are not retried).
90
- 502 and 503 honor such a ``Retry-After`` when present; otherwise they and
91
- network errors use exponential backoff with jitter starting at 0.1 seconds
92
- (capped at 10 seconds).
81
+ """Number of control-plane retries for responses marked ``Should-Retry: true``,
82
+ or 429/502/503/504 responses without that header. ``Should-Retry: false`` is
83
+ never retried. Waits for valid ``Retry-After`` delta-seconds, otherwise
84
+ exponential backoff with jitter from 0.1 to 10 seconds. Connection failures
85
+ are retried separately; see ``E2B_CONNECTION_RETRIES``. Network errors after
86
+ the request is sent (e.g. a dropped connection) are not retried.
93
87
  A retry is skipped when its wait would exhaust the request timeout.
94
88
  Retry waits use a 60-second total limit when request timeouts are disabled.
95
89
  Set to ``0`` to disable retries. Defaults to 3 retries.
@@ -1,8 +1,9 @@
1
+ """Retry API responses marked by the server or selected missing-header statuses."""
2
+
1
3
  import asyncio
2
4
  import random
3
- import re
4
5
  import time
5
- from typing import Awaitable, Callable, List, Optional, Tuple
6
+ from typing import Awaitable, Callable, Optional
6
7
 
7
8
  import httpx
8
9
 
@@ -13,34 +14,7 @@ MAX_RETRY_WAIT_WITHOUT_TIMEOUT_SECONDS = 60.0
13
14
  BACKOFF_BASE_SECONDS = 0.1
14
15
  BACKOFF_MAX_SECONDS = 10.0
15
16
  BACKOFF_JITTER_MIN = 0.5
16
- RETRYABLE_STATUSES = frozenset({429, 502, 503})
17
-
18
- # GET/PUT/PATCH/DELETE are idempotent by HTTP semantics. A POST is retried
19
- # after a 502 or a network error that may have occurred once the request was
20
- # written only if it is listed here: a replay is a no-op or fails with a
21
- # 404/409 the SDK already tolerates. POSTs that mint a resource without a
22
- # client-supplied idempotency key (sandbox/fork/snapshot/API-key/volume/secret/
23
- # webhook creation) or append to one (secret update) must stay off the list —
24
- # a replay could create a duplicate — and so does any new POST until it is
25
- # reviewed. (Connection-establishment
26
- # failures are retried for every operation by ``ConnectionRetryTransport``
27
- # underneath: the request never left.)
28
- REPLAYABLE_METHODS = frozenset({"GET", "PUT", "PATCH", "DELETE"})
29
- REPLAYABLE_OPERATIONS: List[Tuple[str, re.Pattern[str]]] = [
30
- ("POST", re.compile(r"^/sandboxes/[^/]+/(pause|resume|timeout|refreshes)$")),
31
- ("POST", re.compile(r"^/(v2/)?sandboxes/[^/]+/connect$")),
32
- ("POST", re.compile(r"^/v3/templates$")),
33
- ("POST", re.compile(r"^/v2/templates/[^/]+/builds/[^/]+$")),
34
- ("POST", re.compile(r"^/templates/tags$")),
35
- ("POST", re.compile(r"^/nodes/[^/]+$")),
36
- ("POST", re.compile(r"^/admin/teams/[^/]+/(sandboxes/kill|builds/cancel)$")),
37
- ]
38
-
39
- # Raised by the pyqwest httpx adapter once the request was (at least partially)
40
- # written: the connection dropped while sending it or awaiting the response.
41
- # ``httpx.ConnectError``/``ConnectTimeout`` are excluded — the connection layer
42
- # already retries those — as are timeouts, which exhaust the request's budget.
43
- NETWORK_ERRORS = (httpx.ReadError, httpx.WriteError, httpx.RemoteProtocolError)
17
+ RETRYABLE_STATUSES = frozenset({429, 502, 503, 504})
44
18
 
45
19
 
46
20
  def resolve_max_retries(retries: int) -> int:
@@ -62,18 +36,6 @@ def parse_retry_after(value: Optional[str]) -> Optional[int]:
62
36
  return delay if delay <= MAX_RETRY_AFTER_SECONDS else None
63
37
 
64
38
 
65
- def is_replayable(request: httpx.Request) -> bool:
66
- """Whether ``request`` may be sent again after a 502 or a network error
67
- that may have occurred once it was written (see ``REPLAYABLE_OPERATIONS``)."""
68
- if request.method in REPLAYABLE_METHODS:
69
- return True
70
- path = request.url.path
71
- return any(
72
- request.method == method and pattern.match(path)
73
- for method, pattern in REPLAYABLE_OPERATIONS
74
- )
75
-
76
-
77
39
  def _backoff_delay(attempt: int, random_: Callable[[], float]) -> float:
78
40
  backoff = min(BACKOFF_BASE_SECONDS * 2**attempt, BACKOFF_MAX_SECONDS)
79
41
  return backoff * (BACKOFF_JITTER_MIN + random_() * (1 - BACKOFF_JITTER_MIN))
@@ -82,24 +44,22 @@ def _backoff_delay(attempt: int, random_: Callable[[], float]) -> float:
82
44
  def _retry_delay(
83
45
  response: httpx.Response,
84
46
  attempt: int,
85
- replayable: bool,
86
47
  random_: Callable[[], float],
87
48
  ) -> Optional[float]:
88
- """Delay before the next attempt, or ``None`` when the response is not
89
- retried: ``Retry-After`` when the server sends a usable one, otherwise
90
- exponential backoff with jitter for 502/503. A 429 without ``Retry-After``
91
- is not retried, nor is a 502 for a non-replayable request: a gateway may
92
- answer 502 after the backend already processed it."""
93
- if response.status_code not in RETRYABLE_STATUSES:
94
- return None
95
- if response.status_code == 502 and not replayable:
49
+ """Return a delay for marked responses or retryable statuses without a header.
50
+
51
+ A present header is authoritative, including explicit ``false``.
52
+ """
53
+ should_retry = response.headers.get("Should-Retry")
54
+ if should_retry is None:
55
+ if response.status_code not in RETRYABLE_STATUSES:
56
+ return None
57
+ elif should_retry.strip().lower() != "true":
96
58
  return None
97
59
 
98
60
  retry_after = parse_retry_after(response.headers.get("Retry-After"))
99
61
  if retry_after is not None:
100
62
  return float(retry_after)
101
- if response.status_code == 429:
102
- return None
103
63
 
104
64
  return _backoff_delay(attempt, random_)
105
65
 
@@ -139,10 +99,7 @@ def _request_deadline(request: httpx.Request, monotonic: Callable[[], float]) ->
139
99
 
140
100
 
141
101
  class RetryableTransport(httpx.BaseTransport):
142
- """Retry requests after a 429 carrying ``Retry-After`` or a 503, and — for
143
- replayable operations (``is_replayable``) — after a 502 (using
144
- ``Retry-After`` when present, exponential backoff otherwise) or a network
145
- error once the request was written."""
102
+ """Retry marked API responses or 429/502/503/504 responses without a header."""
146
103
 
147
104
  def __init__(
148
105
  self,
@@ -167,7 +124,6 @@ class RetryableTransport(httpx.BaseTransport):
167
124
 
168
125
  request.read()
169
126
  deadline = _request_deadline(request, self._monotonic)
170
- replayable = is_replayable(request)
171
127
  for attempt in range(self.retries + 1):
172
128
  remaining_timeout = None
173
129
  if attempt > 0:
@@ -178,22 +134,13 @@ class RetryableTransport(httpx.BaseTransport):
178
134
  "Increase `request_timeout` or lower `retries`.",
179
135
  request=request,
180
136
  )
181
- try:
182
- response = self.transport.handle_request(
183
- _copy_request(request, remaining_timeout)
184
- )
185
- except NETWORK_ERRORS:
186
- if attempt == self.retries or not replayable:
187
- raise
188
- delay = _backoff_delay(attempt, self._random)
189
- if self._monotonic() + delay >= deadline:
190
- raise
191
- self._sleep(delay)
192
- continue
137
+ response = self.transport.handle_request(
138
+ _copy_request(request, remaining_timeout)
139
+ )
193
140
  if attempt == self.retries:
194
141
  return response
195
142
 
196
- delay = _retry_delay(response, attempt, replayable, self._random)
143
+ delay = _retry_delay(response, attempt, self._random)
197
144
  if delay is None or self._monotonic() + delay >= deadline:
198
145
  return response
199
146
 
@@ -208,7 +155,7 @@ class RetryableTransport(httpx.BaseTransport):
208
155
 
209
156
 
210
157
  class AsyncRetryableTransport(httpx.AsyncBaseTransport):
211
- """Async counterpart of :class:`RetryableTransport`."""
158
+ """Async transport with the same response retry policy as RetryableTransport."""
212
159
 
213
160
  def __init__(
214
161
  self,
@@ -233,7 +180,6 @@ class AsyncRetryableTransport(httpx.AsyncBaseTransport):
233
180
 
234
181
  await request.aread()
235
182
  deadline = _request_deadline(request, self._monotonic)
236
- replayable = is_replayable(request)
237
183
  for attempt in range(self.retries + 1):
238
184
  remaining_timeout = None
239
185
  if attempt > 0:
@@ -244,22 +190,13 @@ class AsyncRetryableTransport(httpx.AsyncBaseTransport):
244
190
  "Increase `request_timeout` or lower `retries`.",
245
191
  request=request,
246
192
  )
247
- try:
248
- response = await self.transport.handle_async_request(
249
- _copy_request(request, remaining_timeout)
250
- )
251
- except NETWORK_ERRORS:
252
- if attempt == self.retries or not replayable:
253
- raise
254
- delay = _backoff_delay(attempt, self._random)
255
- if self._monotonic() + delay >= deadline:
256
- raise
257
- await self._sleep(delay)
258
- continue
193
+ response = await self.transport.handle_async_request(
194
+ _copy_request(request, remaining_timeout)
195
+ )
259
196
  if attempt == self.retries:
260
197
  return response
261
198
 
262
- delay = _retry_delay(response, attempt, replayable, self._random)
199
+ delay = _retry_delay(response, attempt, self._random)
263
200
  if delay is None or self._monotonic() + delay >= deadline:
264
201
  return response
265
202
 
@@ -487,7 +487,7 @@ class SandboxNetworkOpts(TypedDict):
487
487
  allow_public_traffic: NotRequired[bool]
488
488
  """
489
489
  Controls whether sandbox URLs should be publicly accessible or require authentication.
490
- Defaults to True.
490
+ When omitted, the server applies its default.
491
491
  """
492
492
 
493
493
  mask_request_host: NotRequired[str]
@@ -1199,7 +1199,9 @@ def from_client_network_config(
1199
1199
  result["egress_proxy"] = egress_proxy
1200
1200
  if not isinstance(network.dns_servers, Unset):
1201
1201
  result["dns_servers"] = list(network.dns_servers)
1202
- if not isinstance(network.allow_public_traffic, Unset):
1202
+ if network.allow_public_traffic is not None and not isinstance(
1203
+ network.allow_public_traffic, Unset
1204
+ ):
1203
1205
  result["allow_public_traffic"] = network.allow_public_traffic
1204
1206
  if not isinstance(network.mask_request_host, Unset):
1205
1207
  result["mask_request_host"] = network.mask_request_host
@@ -0,0 +1,80 @@
1
+ [project]
2
+ name = "e2b"
3
+ version = "2.60.0"
4
+ description = "E2B SDK that give agents cloud environments"
5
+ license = "MIT"
6
+ readme = "README.md"
7
+ requires-python = ">=3.11"
8
+ dependencies = [
9
+ "python-dateutil>=2.8.2",
10
+ "wcmatch>=10.1,<12",
11
+ "protobuf-py>=0.6.0,<0.7",
12
+ "httpx>=0.27.0,<1.0.0",
13
+ "h2>=4.4.1,<5",
14
+ "attrs>=23.2.0",
15
+ "packaging>=24.1",
16
+ "typing-extensions>=4.10.0",
17
+ "rich>=14.0.0",
18
+ "connectrpc>=0.12.1,<0.13",
19
+ "pyqwest>=0.12.0,<0.13",
20
+ "e2b-dockerfile-utils>=0.1.0,<0.2",
21
+ ]
22
+
23
+ [[project.authors]]
24
+ name = "e2b"
25
+ email = "hello@e2b.dev"
26
+
27
+ [project.urls]
28
+ Homepage = "https://e2b.dev/?utm_source=pypi&utm_medium=referral&utm_campaign=package_homepage&utm_content=e2b"
29
+ Repository = "https://github.com/e2b-dev/e2b/tree/main/packages/python-sdk"
30
+ "Bug Tracker" = "https://github.com/e2b-dev/e2b/issues"
31
+
32
+ [dependency-groups]
33
+ dev = [
34
+ "pytest>=9.0.3,<10",
35
+ "pytest-xdist>=3.3.1,<4",
36
+ "python-dotenv>=1.0.0,<2",
37
+ "pytest-dotenv>=0.5.2,<0.6",
38
+ "pytest-asyncio>=1.3.0,<2",
39
+ "ruff>=0.11.12,<0.12",
40
+ "pytest-timeout>=2.4.0,<3",
41
+ "ty>=0.0.15,<0.0.16",
42
+ ]
43
+ codegen = [
44
+ "black==26.3.1",
45
+ "e2b-openapi-python-client==0.26.2",
46
+ "datamodel-code-generator==0.64.0",
47
+ "protoc-gen-connectrpc==0.12.1",
48
+ "protoc-gen-py==0.6.0",
49
+ ]
50
+
51
+ [build-system]
52
+ requires = ["uv_build>=0.13.4,<0.14.0"]
53
+ build-backend = "uv_build"
54
+
55
+ [tool.uv.build-backend]
56
+ module-name = ["e2b"]
57
+ module-root = ""
58
+
59
+ [tool.uv.sources.e2b-dockerfile-utils]
60
+ path = "../dockerfile-utils-python"
61
+ editable = true
62
+
63
+ [tool.basedpyright]
64
+ reportInconsistentOverload = false
65
+
66
+ [tool.ty.rules]
67
+ invalid-overload = "ignore"
68
+ no-matching-overload = "ignore"
69
+
70
+ [[tool.ty.overrides]]
71
+ include = ["e2b/api/client/models/**"]
72
+
73
+ [tool.ty.overrides.rules]
74
+ invalid-argument-type = "ignore"
75
+
76
+ [[tool.ty.overrides]]
77
+ include = ["e2b/volume/**"]
78
+
79
+ [tool.ty.overrides.rules]
80
+ unresolved-attribute = "ignore"
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "e2b"
3
- version = "2.59.0"
3
+ version = "2.60.0"
4
4
  description = "E2B SDK that give agents cloud environments"
5
5
  authors = [{ name = "e2b", email = "hello@e2b.dev" }]
6
6
  license = "MIT"
@@ -54,7 +54,7 @@ codegen = [
54
54
  ]
55
55
 
56
56
  [build-system]
57
- requires = ["uv_build>=0.10.0,<0.11.0"]
57
+ requires = ["uv_build>=0.13.4,<0.14.0"]
58
58
  build-backend = "uv_build"
59
59
 
60
60
  [tool.uv.build-backend]
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes