withruntime 0.16.0__tar.gz → 0.16.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {withruntime-0.16.0 → withruntime-0.16.1}/PKG-INFO +1 -1
- {withruntime-0.16.0 → withruntime-0.16.1}/pyproject.toml +1 -1
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_compat_prime_contract.py +1 -1
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_compat_prime_validation.py +2 -2
- withruntime-0.16.1/tests/test_daytona_0_225_0.py +71 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_package_typing.py +1 -1
- withruntime-0.16.1/tests/test_prime_0_4_6.py +47 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_wallet.py +6 -1
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/_async_products/browser.py +4 -2
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/_async_products/limits.py +5 -2
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/_sync_products/browser.py +4 -2
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/_sync_products/limits.py +5 -2
- withruntime-0.16.1/withruntime/_version.py +1 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/daytona/__init__.py +5 -3
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/daytona/_core.py +42 -2
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/prime/__init__.py +2 -2
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/prime/_async.py +4 -1
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/prime/_sync.py +4 -1
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/prime/models.py +8 -2
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/wallet.py +10 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime.egg-info/PKG-INFO +1 -1
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime.egg-info/SOURCES.txt +2 -0
- withruntime-0.16.0/withruntime/_version.py +0 -1
- {withruntime-0.16.0 → withruntime-0.16.1}/LICENSE +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/README.md +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/setup.cfg +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_account_errors.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_answer_start.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_async_stream_cleanup.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_audit.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_billing.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_blaxel.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_blaxel_0_4_17.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_blaxel_0_4_18.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_blaxel_create_timeout.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_blaxel_wait_deadline.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_browser.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_capacity_wait.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_compat_live.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_compat_modal_deadline_errors.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_compat_new_providers.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_compat_prime_process_lifecycle.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_compat_python_disk_snapshots.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_compat_python_e2b_deadline.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_compat_python_e2b_pty.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_compat_python_e2b_stream.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_compat_python_e2b_watch.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_compat_python_interpreter_deadline.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_compat_python_modal.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_compat_python_morph.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_compat_python_official.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_compat_python_pins.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_compat_python_processes.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_compat_python_request_scope.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_compat_python_runloop.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_compat_python_shell.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_compat_python_snapshot_capture.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_compat_python_sprites.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_compat_router.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_customer_usage.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_daytona.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_daytona_0_223_1.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_daytona_0_224_1.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_daytona_create_cleanup.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_daytona_create_options.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_daytona_download_labels.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_daytona_refusals_lifted.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_deepagents.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_e2b_2_55.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_e2b_code_interpreter.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_e2b_connection_cap.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_e2b_exports.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_e2b_fork_validation.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_e2b_sandbox.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_e2b_upstream.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_e2b_watch.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_embed_and_webhook_watch.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_eval_sandbox.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_exec_stream.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_exec_stream_names.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_exec_user.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_file_archives.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_files_download.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_files_mode.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_files_upload_parallel.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_files_write_lost_body.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_harbor.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_http_tls_close.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_identity_token.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_image_delete_by_name.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_images_v2.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_images_volumes_interpreter.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_inspect_ai.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_interface_contract.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_jobs.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_late_answer.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_lifecycle_settings.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_limits.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_machine_engine.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_modal_1_6_2.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_modal_dropin.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_mounts.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_network_funding.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_network_products.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_observability.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_openai_agents.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_out_of_memory.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_previews_network_desktop.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_prime_0_4_5.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_private_network.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_process_deadline.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_process_input.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_process_object.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_process_output.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_process_write_backpressure.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_product_aliases.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_proxy.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_referrals.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_replayed_create_message.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_runloop_stream_cleanup.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_runloop_v2.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_sandbox_origin.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_sandbox_sessions.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_sandboxes_delete_all.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_sandboxes_stop_all.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_saved_connection.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_secrets.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_signed_requests.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_snapshot_after_fork.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_snapshot_recovery.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_sso.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_start_report_kept.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_stream_cut_short.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_stream_exit_close.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_switch_image.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_switching.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_tailscale.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_tools.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_transport_body_recovery.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_transport_connection_limits.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_transport_never_sent.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_unpack.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_upload_deadline.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_vercel.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_vercel_create_validation.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_vercel_disk_snapshot.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_vercel_refusals_lifted.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_volume_backups.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_volume_operations.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_wake_awake.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/tests/test_watch.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/__init__.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/_api_defaults.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/_async_client.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/_async_products/__init__.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/_async_products/audit.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/_async_products/billing.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/_async_products/desktop.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/_async_products/images.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/_async_products/interpreter.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/_async_products/jobs.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/_async_products/mcp.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/_async_products/mounts.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/_async_products/network.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/_async_products/network_products.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/_async_products/observability.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/_async_products/previews.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/_async_products/private_network.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/_async_products/referrals.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/_async_products/secrets.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/_async_products/signed_requests.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/_async_products/sso.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/_async_products/switching.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/_async_products/tailscale.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/_async_products/volumes.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/_async_products/watch.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/_clock.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/_compat.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/_compat_lease.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/_compat_lifecycle.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/_compat_shell.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/_connection.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/_errors.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/_eval_sandbox.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/_http.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/_proxy.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/_renamed.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/_request_scope.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/_sync_client.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/_sync_products/__init__.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/_sync_products/audit.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/_sync_products/billing.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/_sync_products/desktop.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/_sync_products/images.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/_sync_products/interpreter.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/_sync_products/jobs.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/_sync_products/mcp.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/_sync_products/mounts.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/_sync_products/network.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/_sync_products/network_products.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/_sync_products/observability.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/_sync_products/previews.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/_sync_products/private_network.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/_sync_products/referrals.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/_sync_products/secrets.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/_sync_products/signed_requests.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/_sync_products/sso.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/_sync_products/switching.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/_sync_products/tailscale.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/_sync_products/volumes.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/_sync_products/watch.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/_tunnel.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/_unpack.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/_ws.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/blaxel/__init__.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/blaxel/_async_io.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/blaxel/_async_sandbox.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/blaxel/_core.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/blaxel/_sync_io.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/blaxel/_sync_sandbox.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/blaxel/core/__init__.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/blaxel/core/agents.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/blaxel/core/client/__init__.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/blaxel/core/client/api/__init__.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/blaxel/core/client/api/applications/__init__.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/blaxel/core/client/api/applications/list_application_revisions.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/blaxel/core/client/api/compute/__init__.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/blaxel/core/client/api/compute/get_sandbox.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/blaxel/core/client/api/compute/update_sandbox.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/blaxel/core/client/api/functions/__init__.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/blaxel/core/client/api/functions/create_function.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/blaxel/core/client/api/images.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/blaxel/core/client/api/workspaces.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/blaxel/core/client/client.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/blaxel/core/client/models/__init__.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/blaxel/core/client/models/create_job_execution_request.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/blaxel/core/client/models/create_job_execution_request_env.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/blaxel/core/client/models/env.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/blaxel/core/client/models/function.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/blaxel/core/client/models/function_runtime.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/blaxel/core/client/models/function_spec.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/blaxel/core/client/models/metadata.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/blaxel/core/client/models/pagination_meta.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/blaxel/core/client/models/workspace.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/blaxel/core/client/pagination.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/blaxel/core/client/types.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/blaxel/core/common.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/blaxel/core/drive.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/blaxel/core/errors.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/blaxel/core/jobs.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/blaxel/core/sandbox/__init__.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/blaxel/core/sandbox/types.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/blaxel/core/secret.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/blaxel/crewai.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/blaxel/googleadk.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/blaxel/langgraph.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/blaxel/livekit.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/blaxel/llamaindex.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/blaxel/openai.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/blaxel/pydantic.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/blaxel/telemetry.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/daytona/_async_daytona.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/daytona/_async_io.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/daytona/_sync_daytona.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/daytona/_sync_io.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/deepagents.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/e2b/__init__.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/e2b/_async_io.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/e2b/_async_sandbox.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/e2b/_core.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/e2b/_sync_io.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/e2b/_sync_sandbox.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/e2b/code_interpreter/__init__.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/e2b/code_interpreter/_async_ci.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/e2b/code_interpreter/_models.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/e2b/code_interpreter/_sync_ci.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/e2b/code_interpreter/charts.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/e2b/code_interpreter/code_interpreter_async.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/e2b/code_interpreter/code_interpreter_sync.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/e2b/code_interpreter/models.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/e2b/connection_config.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/e2b/exceptions.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/e2b/sandbox/__init__.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/e2b/sandbox/commands/__init__.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/e2b/sandbox/commands/command_handle.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/e2b/sandbox/commands/main.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/e2b/sandbox/filesystem/__init__.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/e2b/sandbox/filesystem/filesystem.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/e2b/sandbox/filesystem/watch_handle.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/e2b/sandbox/network.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/e2b/sandbox/sandbox_api.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/e2b/sandbox/signature.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/e2b/sandbox_async/__init__.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/e2b/sandbox_async/commands/__init__.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/e2b/sandbox_async/commands/command.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/e2b/sandbox_async/commands/command_handle.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/e2b/sandbox_async/commands/pty.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/e2b/sandbox_async/filesystem/__init__.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/e2b/sandbox_async/filesystem/filesystem.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/e2b/sandbox_async/filesystem/watch_handle.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/e2b/sandbox_async/main.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/e2b/sandbox_async/paginator.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/e2b/sandbox_async/utils.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/e2b/sandbox_sync/__init__.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/e2b/sandbox_sync/commands/__init__.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/e2b/sandbox_sync/commands/command.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/e2b/sandbox_sync/commands/command_handle.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/e2b/sandbox_sync/commands/pty.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/e2b/sandbox_sync/filesystem/__init__.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/e2b/sandbox_sync/filesystem/filesystem.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/e2b/sandbox_sync/filesystem/watch_handle.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/e2b/sandbox_sync/git.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/e2b/sandbox_sync/main.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/e2b/sandbox_sync/paginator.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/e2b/secret/__init__.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/e2b/template/__init__.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/e2b/template/dockerfile_parser.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/e2b/template/logger.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/e2b/template/main.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/e2b/template/readycmd.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/e2b/template/types.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/e2b/template_async/__init__.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/e2b/template_async/main.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/e2b/template_sync/__init__.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/e2b/template_sync/main.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/e2b/volume/__init__.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/e2b/volume/connection_config.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/e2b/volume/types.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/e2b/volume/volume_async.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/e2b/volume/volume_sync.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/harbor.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/inspect_ai.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/modal/__init__.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/modal/_async.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/modal/_dual.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/modal/_fs_async.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/modal/_fs_common.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/modal/_fs_sync.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/modal/_lookup.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/modal/_object.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/modal/_probe.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/modal/_snapshot.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/modal/_tunnel.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/modal/app.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/modal/cloud_bucket_mount.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/modal/exception.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/modal/file_pattern_matcher.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/modal/image.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/modal/proxy.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/modal/sandbox/__init__.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/modal/sandbox/sandbox.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/modal/sandbox_fs.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/modal/secret.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/modal/snapshot.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/modal/types.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/modal/volume.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/morph/__init__.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/morph/api.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/openai_agents.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/prime/core/__init__.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/prime/core/client.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/prime/exceptions.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/prime/process.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/prime/sandbox.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/py.typed +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/runloop/__init__.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/runloop/_async.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/runloop/_exceptions.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/runloop/_snapshots.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/runloop/_sync.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/runloop/_v2.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/runloop/lib/__init__.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/runloop/lib/polling.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/runloop/sdk/__init__.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/sprites/__init__.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/sprites/_capture.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/sprites/_capture_async.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/sprites/_features.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/sprites/_metadata.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/sprites/_stream.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/sprites/_stream_async.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/sprites/_translate.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/sprites/async_client.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/sprites/async_exec.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/sprites/client.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/sprites/control.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/sprites/exceptions.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/sprites/exec.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/sprites/filesystem.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/sprites/sprite.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/sprites/types.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/tools.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/vercel/__init__.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/vercel/_async_io.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/vercel/_async_sandbox.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/vercel/_core.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/vercel/_sync_io.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/vercel/_sync_sandbox.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/vercel/api.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/vercel/sandbox/__init__.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/vercel/sandbox/sync.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime/webhooks.py +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime.egg-info/dependency_links.txt +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime.egg-info/entry_points.txt +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime.egg-info/requires.txt +0 -0
- {withruntime-0.16.0 → withruntime-0.16.1}/withruntime.egg-info/top_level.txt +0 -0
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "withruntime"
|
|
7
|
-
version = "0.16.
|
|
7
|
+
version = "0.16.1"
|
|
8
8
|
description = "Runtime Cloud: one client (sync and async) for every Runtime product. Sandboxes first."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = { text = "Apache-2.0" }
|
|
@@ -160,7 +160,7 @@ class Validation(unittest.TestCase):
|
|
|
160
160
|
|
|
161
161
|
@unittest.skipUnless(os.environ.get('RUNTIME_COMPAT_OFFICIAL') == '1', 'Pinned official SDK opt-in')
|
|
162
162
|
def test_pinned_official_user_signatures_and_rpc_validation_match_review(self):
|
|
163
|
-
self.assertEqual(importlib.metadata.version('prime-sandboxes'), '0.4.
|
|
163
|
+
self.assertEqual(importlib.metadata.version('prime-sandboxes'), '0.4.6')
|
|
164
164
|
from prime_sandboxes import SandboxClient as OfficialSync, AsyncSandboxClient as OfficialAsync
|
|
165
165
|
from prime_sandboxes.rpc_command_session import build_command_session_start_request
|
|
166
166
|
for runtime, official in ((SandboxClient, OfficialSync), (AsyncSandboxClient, OfficialAsync)):
|
|
@@ -259,7 +259,7 @@ class Validation(unittest.TestCase):
|
|
|
259
259
|
|
|
260
260
|
@unittest.skipUnless(os.environ.get('RUNTIME_COMPAT_OFFICIAL') == '1', 'Pinned official SDK opt-in')
|
|
261
261
|
def test_pinned_official_nested_request_response_and_validation_match(self):
|
|
262
|
-
self.assertEqual(importlib.metadata.version('prime-sandboxes'), '0.4.
|
|
262
|
+
self.assertEqual(importlib.metadata.version('prime-sandboxes'), '0.4.6')
|
|
263
263
|
from prime_sandboxes import models as official
|
|
264
264
|
for provider in (models, official):
|
|
265
265
|
request = provider.CreateSandboxRequest(name='box', docker_image='python:3.13',
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
"""What daytona 0.225.0 changed in the calls withruntime.daytona implements,
|
|
2
|
+
read from its published wheel and sdist, and the npm API clients, on
|
|
3
|
+
18 October 2026 (DAYTONA.md): no Python source changed; the API client's
|
|
4
|
+
GpuType gains B200. daytona exports GpuType, SandboxClass and the list sort
|
|
5
|
+
enums, which the drop-in did not, so code importing them failed to load. A
|
|
6
|
+
create asking for a GPU type, without a GPU count, now refuses as one with a
|
|
7
|
+
count already did, instead of making a CPU sandbox. Sync and async."""
|
|
8
|
+
import asyncio
|
|
9
|
+
import sys
|
|
10
|
+
import unittest
|
|
11
|
+
from pathlib import Path
|
|
12
|
+
|
|
13
|
+
sys.path.insert(0, str(Path(__file__).resolve().parent))
|
|
14
|
+
|
|
15
|
+
from dropin_fake import DropInWorld # noqa: E402
|
|
16
|
+
|
|
17
|
+
from withruntime.daytona import (AsyncDaytona, CreateSandboxFromImageParams, # noqa: E402
|
|
18
|
+
CreateSandboxFromSnapshotParams, Daytona, GpuType, ListSandboxesQuery,
|
|
19
|
+
NotSupportedError, Resources, SandboxClass, SandboxListSortDirection,
|
|
20
|
+
SandboxListSortField)
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
class Enums(unittest.TestCase):
|
|
24
|
+
def test_upstreams_values(self):
|
|
25
|
+
self.assertEqual(GpuType.B200.value, "B200")
|
|
26
|
+
self.assertEqual(GpuType.RTX_PRO_6000.value, "RTX-PRO-6000")
|
|
27
|
+
self.assertEqual(SandboxClass.LINUX_VM.value, "linux-vm")
|
|
28
|
+
self.assertEqual(SandboxListSortField.MEMORYGIB.value, "memoryGib")
|
|
29
|
+
self.assertEqual(SandboxListSortDirection.DESC.value, "desc")
|
|
30
|
+
|
|
31
|
+
def test_sort_enums_drive_list(self):
|
|
32
|
+
world = DropInWorld()
|
|
33
|
+
daytona = Daytona(client=world.client())
|
|
34
|
+
for name in ("b", "a"):
|
|
35
|
+
daytona.create(CreateSandboxFromSnapshotParams(name=name))
|
|
36
|
+
listed = daytona.list(ListSandboxesQuery(sort=SandboxListSortField.NAME,
|
|
37
|
+
order=SandboxListSortDirection.ASC))
|
|
38
|
+
self.assertEqual([one.name for one in listed], ["a", "b"])
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
class GpuTypeOnCreate(unittest.TestCase):
|
|
42
|
+
def test_a_gpu_type_alone_is_refused_before_anything_is_made(self):
|
|
43
|
+
world = DropInWorld()
|
|
44
|
+
daytona = Daytona(client=world.client())
|
|
45
|
+
for gpu_type in (GpuType.B200, [GpuType.H100, GpuType.B200], "B200"):
|
|
46
|
+
with self.subTest(gpu_type=gpu_type), self.assertRaises(NotSupportedError) as raised:
|
|
47
|
+
daytona.create(CreateSandboxFromImageParams(image="python:3.12",
|
|
48
|
+
resources=Resources(gpu_type=gpu_type)))
|
|
49
|
+
self.assertIn("gpu_type", str(raised.exception))
|
|
50
|
+
self.assertEqual(world.called("images.build"), [])
|
|
51
|
+
self.assertEqual(world.called("sandboxes.create"), [])
|
|
52
|
+
|
|
53
|
+
def test_no_gpu_type_still_creates(self):
|
|
54
|
+
world = DropInWorld()
|
|
55
|
+
Daytona(client=world.client()).create(CreateSandboxFromImageParams(
|
|
56
|
+
image="python:3.12", resources=Resources(cpu=2, gpu_type=[])))
|
|
57
|
+
self.assertEqual(len(world.called("sandboxes.create")), 1)
|
|
58
|
+
|
|
59
|
+
def test_async(self):
|
|
60
|
+
world = DropInWorld()
|
|
61
|
+
|
|
62
|
+
async def scenario() -> None:
|
|
63
|
+
daytona = AsyncDaytona(client=world.async_client())
|
|
64
|
+
with self.assertRaises(NotSupportedError):
|
|
65
|
+
await daytona.create(CreateSandboxFromSnapshotParams(resources=Resources(gpu_type=GpuType.B200)))
|
|
66
|
+
asyncio.run(scenario())
|
|
67
|
+
self.assertEqual(world.called("sandboxes.create"), [])
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
if __name__ == "__main__":
|
|
71
|
+
unittest.main()
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"""What prime-sandboxes 0.4.6 changed in the calls withruntime.prime
|
|
2
|
+
implements, read from its published wheel and sdist on 18 October 2026,
|
|
3
|
+
nothing installed or run (compatibility-lock.json): CreateSandboxRequest takes
|
|
4
|
+
lan_network_id and lan_tags, and create then joins the sandbox to that LAN
|
|
5
|
+
network once it runs. LAN networks are refused with Runtime's private network
|
|
6
|
+
as the way, so create refuses them before any sandbox is made, rather than
|
|
7
|
+
making one and failing at the join (or dropping it). lan_tags without
|
|
8
|
+
lan_network_id is upstream's ValueError. The rest of the release is an HTTP/2
|
|
9
|
+
pool for upstream's own command transport. Sync and async."""
|
|
10
|
+
import asyncio
|
|
11
|
+
import sys
|
|
12
|
+
import unittest
|
|
13
|
+
from pathlib import Path
|
|
14
|
+
|
|
15
|
+
sys.path.insert(0, str(Path(__file__).resolve().parent))
|
|
16
|
+
|
|
17
|
+
from test_prime_0_4_5 import Async, Runtime # noqa: E402
|
|
18
|
+
from withruntime._compat import CompatibilityError # noqa: E402
|
|
19
|
+
from withruntime.prime import AsyncSandboxClient, CreateSandboxRequest, SandboxClient # noqa: E402
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class CreateJoinsLan(unittest.TestCase):
|
|
23
|
+
def test_lan_tags_need_a_network(self):
|
|
24
|
+
with self.assertRaisesRegex(ValueError, "lan_tags requires lan_network_id"):
|
|
25
|
+
CreateSandboxRequest(name="box", docker_image="python:3.12-slim", lan_tags=["web"])
|
|
26
|
+
|
|
27
|
+
def test_create_with_a_lan_refuses_before_anything_is_made(self):
|
|
28
|
+
runtime = Runtime()
|
|
29
|
+
request = CreateSandboxRequest(name="box", docker_image="python:3.12-slim", lan_network_id="net",
|
|
30
|
+
lan_tags=["web"])
|
|
31
|
+
with self.assertRaisesRegex(CompatibilityError, "networks.private"):
|
|
32
|
+
SandboxClient(runtime).create(request)
|
|
33
|
+
|
|
34
|
+
async def run():
|
|
35
|
+
with self.assertRaisesRegex(CompatibilityError, "networks.private"):
|
|
36
|
+
await AsyncSandboxClient(runtime=Async(runtime)).create(request)
|
|
37
|
+
asyncio.run(run())
|
|
38
|
+
self.assertEqual(runtime.calls, [])
|
|
39
|
+
|
|
40
|
+
def test_the_lan_fields_dump_like_upstreams(self):
|
|
41
|
+
request = CreateSandboxRequest(name="box", docker_image="python:3.12-slim")
|
|
42
|
+
self.assertIsNone(request.lan_network_id)
|
|
43
|
+
self.assertNotIn("lan_network_id", request.model_dump(exclude_none=True))
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
if __name__ == "__main__":
|
|
47
|
+
unittest.main()
|
|
@@ -5,7 +5,7 @@ import unittest
|
|
|
5
5
|
from http.server import BaseHTTPRequestHandler, ThreadingHTTPServer
|
|
6
6
|
|
|
7
7
|
from withruntime import RuntimeError
|
|
8
|
-
from withruntime.wallet import claim_wallet_account, open_wallet_account
|
|
8
|
+
from withruntime.wallet import claim_wallet_account, open_wallet_account, rekey_wallet_account
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
class Stub(BaseHTTPRequestHandler):
|
|
@@ -50,6 +50,11 @@ class WalletTest(unittest.TestCase):
|
|
|
50
50
|
("/api/wallet/claim", {"claimCode": "rtclaim_nope"}, None),
|
|
51
51
|
])
|
|
52
52
|
|
|
53
|
+
def test_rekey_posts_the_claim_code(self):
|
|
54
|
+
Stub.seen = []
|
|
55
|
+
rekey_wallet_account("rtclaim_x", auth_url=self.url)
|
|
56
|
+
self.assertEqual(Stub.seen, [("/api/wallet/rekey", {"claimCode": "rtclaim_x"}, None)])
|
|
57
|
+
|
|
53
58
|
|
|
54
59
|
if __name__ == "__main__":
|
|
55
60
|
unittest.main()
|
|
@@ -30,8 +30,10 @@ class AsyncBrowser:
|
|
|
30
30
|
"""Starts Chromium and returns its CDP address as ``cdpUrl``, private,
|
|
31
31
|
for Playwright's connect_over_cdp, browser-use or Stagehand as it is.
|
|
32
32
|
``headless=False`` shows it on the sandbox's desktop with a live view
|
|
33
|
-
(``streamUrl``).
|
|
34
|
-
|
|
33
|
+
(``streamUrl``). A start in a new sandbox takes
|
|
34
|
+
about 1 to 2 seconds: Chromium comes from the host. A sandbox from a
|
|
35
|
+
custom image that is not Ubuntu 24.04 x86_64 installs it on the first
|
|
36
|
+
start, about a minute; this waits for that, up to 10 minutes."""
|
|
35
37
|
body = {k: v for k, v in {"headless": headless, "width": width,
|
|
36
38
|
"height": height}.items() if v is not None}
|
|
37
39
|
deadline = time.monotonic() + 600
|
|
@@ -19,11 +19,14 @@ class AsyncLimits:
|
|
|
19
19
|
hours, and ``remainingMicros`` (None for no limit); and ``trial``, the
|
|
20
20
|
machine time the account can still run without credit, in milliseconds
|
|
21
21
|
(``availableMs``, with ``offer`` and ``renewsAt``), or None when it has
|
|
22
|
-
none;
|
|
22
|
+
none; ``account``, every limit the account is held to with what it
|
|
23
23
|
uses of each now, or None when they can't be read: a list of
|
|
24
24
|
``{"limit", "label", "unit", "max", "used"}``. ``limit`` is
|
|
25
25
|
``<kind>.<dimension>`` (``sandbox.count``, ``sandbox.memory_mib``,
|
|
26
26
|
``volume.count``...), ``unit`` is ``"count"`` or ``"mib"``. A create
|
|
27
27
|
past one fails ``quota_exceeded``, and ``details.limit`` names the
|
|
28
|
-
row
|
|
28
|
+
row; and ``credit``: ``availableMicros``, ``dailyPaceMicros`` and
|
|
29
|
+
``runwayDays`` (None while nothing is spent), ``lowBelowDays``, ``state``
|
|
30
|
+
(``ok``, ``low`` or ``empty``) and ``addedBy`` (``owner``, or ``agent``
|
|
31
|
+
when no person pays and the agent adds credit itself with a top-up)."""
|
|
29
32
|
return await self._t.json("GET", "/v1/limits")
|
|
@@ -31,8 +31,10 @@ class Browser:
|
|
|
31
31
|
"""Starts Chromium and returns its CDP address as ``cdpUrl``, private,
|
|
32
32
|
for Playwright's connect_over_cdp, browser-use or Stagehand as it is.
|
|
33
33
|
``headless=False`` shows it on the sandbox's desktop with a live view
|
|
34
|
-
(``streamUrl``).
|
|
35
|
-
|
|
34
|
+
(``streamUrl``). A start in a new sandbox takes
|
|
35
|
+
about 1 to 2 seconds: Chromium comes from the host. A sandbox from a
|
|
36
|
+
custom image that is not Ubuntu 24.04 x86_64 installs it on the first
|
|
37
|
+
start, about a minute; this waits for that, up to 10 minutes."""
|
|
36
38
|
body = {k: v for k, v in {"headless": headless, "width": width,
|
|
37
39
|
"height": height}.items() if v is not None}
|
|
38
40
|
deadline = time.monotonic() + 600
|
|
@@ -20,11 +20,14 @@ class Limits:
|
|
|
20
20
|
hours, and ``remainingMicros`` (None for no limit); and ``trial``, the
|
|
21
21
|
machine time the account can still run without credit, in milliseconds
|
|
22
22
|
(``availableMs``, with ``offer`` and ``renewsAt``), or None when it has
|
|
23
|
-
none;
|
|
23
|
+
none; ``account``, every limit the account is held to with what it
|
|
24
24
|
uses of each now, or None when they can't be read: a list of
|
|
25
25
|
``{"limit", "label", "unit", "max", "used"}``. ``limit`` is
|
|
26
26
|
``<kind>.<dimension>`` (``sandbox.count``, ``sandbox.memory_mib``,
|
|
27
27
|
``volume.count``...), ``unit`` is ``"count"`` or ``"mib"``. A create
|
|
28
28
|
past one fails ``quota_exceeded``, and ``details.limit`` names the
|
|
29
|
-
row
|
|
29
|
+
row; and ``credit``: ``availableMicros``, ``dailyPaceMicros`` and
|
|
30
|
+
``runwayDays`` (None while nothing is spent), ``lowBelowDays``, ``state``
|
|
31
|
+
(``ok``, ``low`` or ``empty``) and ``addedBy`` (``owner``, or ``agent``
|
|
32
|
+
when no person pays and the agent adds credit itself with a top-up)."""
|
|
30
33
|
return self._t.json("GET", "/v1/limits")
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
VERSION = "0.16.1"
|
|
@@ -24,9 +24,10 @@ from ._core import (CodeLanguage, CodeRunParams, Command, CreateSandboxBaseParam
|
|
|
24
24
|
DaytonaTimeoutError, DaytonaUnprocessableEntityError,
|
|
25
25
|
DaytonaValidationError, ExecuteResponse, ExecutionArtifacts, ExecutionError, ExecutionResult,
|
|
26
26
|
FileDownloadRequest, FileDownloadResponse, FileInfo, FileUpload, GitCommitResponse, GitStatus,
|
|
27
|
-
Image, InterpreterContext, ListBranchResponse, ListSandboxesQuery, Match, NotSupportedError,
|
|
27
|
+
GpuType, Image, InterpreterContext, ListBranchResponse, ListSandboxesQuery, Match, NotSupportedError,
|
|
28
28
|
OutputMessage, PaginatedSnapshots, PortPreviewUrl, PtyResult, PtySessionInfo, PtySize,
|
|
29
|
-
ReplaceResult, Resources,
|
|
29
|
+
ReplaceResult, Resources, SandboxClass, SandboxListSortDirection, SandboxListSortField,
|
|
30
|
+
SandboxState, ScreenshotOptions, ScreenshotRegion,
|
|
30
31
|
SearchFilesResponse, Session, SessionCommandLogsResponse, SessionExecuteRequest,
|
|
31
32
|
SessionExecuteResponse, Snapshot, Volume, VolumeMount)
|
|
32
33
|
from ._core import unsupported as _unsupported
|
|
@@ -63,7 +64,8 @@ __all__ = [
|
|
|
63
64
|
"CreateSnapshotParams", "ExecuteResponse", "ExecutionArtifacts", "ExecutionError", "ExecutionResult",
|
|
64
65
|
"FileDownloadRequest", "FileDownloadResponse", "FileInfo", "FileUpload", "GitCommitResponse", "GitStatus", "Image",
|
|
65
66
|
"InterpreterContext", "ListBranchResponse", "ListSandboxesQuery", "Match", "OutputMessage", "PaginatedSnapshots",
|
|
66
|
-
"PortPreviewUrl", "ReplaceResult", "Resources", "
|
|
67
|
+
"PortPreviewUrl", "ReplaceResult", "Resources", "GpuType", "SandboxClass", "SandboxListSortDirection",
|
|
68
|
+
"SandboxListSortField", "SandboxState", "SearchFilesResponse", "Session",
|
|
67
69
|
"SessionCommandLogsResponse", "SessionExecuteRequest", "SessionExecuteResponse", "Snapshot", "Volume",
|
|
68
70
|
"VolumeMount", "DaytonaError", "DaytonaAuthenticationError", "DaytonaAuthorizationError", "DaytonaBadGatewayError",
|
|
69
71
|
"DaytonaBadRequestError", "DaytonaCommandAlreadyCompletedError", "DaytonaConflictError", "DaytonaConnectionError",
|
|
@@ -231,6 +231,44 @@ class SandboxState(str, Enum):
|
|
|
231
231
|
DESTROYED = "destroyed"
|
|
232
232
|
|
|
233
233
|
|
|
234
|
+
# Daytona's other API-client enums that the daytona package exports, so code
|
|
235
|
+
# importing them loads. A GPU type on create is refused (Runtime runs sandboxes
|
|
236
|
+
# on CPUs); the sort field and direction drive Daytona.list.
|
|
237
|
+
class GpuType(str, Enum):
|
|
238
|
+
H100 = "H100"
|
|
239
|
+
H200 = "H200"
|
|
240
|
+
B200 = "B200"
|
|
241
|
+
B300 = "B300"
|
|
242
|
+
RTX_PRO_6000 = "RTX-PRO-6000"
|
|
243
|
+
RTX_4090 = "RTX-4090"
|
|
244
|
+
RTX_5090 = "RTX-5090"
|
|
245
|
+
MI355X = "MI355X"
|
|
246
|
+
UNKNOWN_DEFAULT_OPEN_API = "unknown_default_open_api"
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
class SandboxClass(str, Enum):
|
|
250
|
+
LINUX_VM = "linux-vm"
|
|
251
|
+
CONTAINER = "container"
|
|
252
|
+
WINDOWS = "windows"
|
|
253
|
+
UNKNOWN_DEFAULT_OPEN_API = "unknown_default_open_api"
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
class SandboxListSortField(str, Enum):
|
|
257
|
+
NAME = "name"
|
|
258
|
+
CPU = "cpu"
|
|
259
|
+
MEMORYGIB = "memoryGib"
|
|
260
|
+
DISKGIB = "diskGib"
|
|
261
|
+
LASTACTIVITYAT = "lastActivityAt"
|
|
262
|
+
CREATEDAT = "createdAt"
|
|
263
|
+
UNKNOWN_DEFAULT_OPEN_API = "unknown_default_open_api"
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
class SandboxListSortDirection(str, Enum):
|
|
267
|
+
ASC = "asc"
|
|
268
|
+
DESC = "desc"
|
|
269
|
+
UNKNOWN_DEFAULT_OPEN_API = "unknown_default_open_api"
|
|
270
|
+
|
|
271
|
+
|
|
234
272
|
@dataclass
|
|
235
273
|
class DaytonaConfig:
|
|
236
274
|
"""Daytona's client options. ``api_key`` must be a Runtime key
|
|
@@ -1078,8 +1116,10 @@ def refuse_create(params: CreateSandboxBaseParams) -> None:
|
|
|
1078
1116
|
if params.auto_stop_interval and params.auto_pause_interval:
|
|
1079
1117
|
raise DaytonaValidationError("At most one of auto_stop_interval and auto_pause_interval may be non-zero.")
|
|
1080
1118
|
resources = getattr(params, "resources", None)
|
|
1081
|
-
|
|
1082
|
-
|
|
1119
|
+
# gpu_type alone asks for a GPU too (Daytona sends it whatever gpu says):
|
|
1120
|
+
# one value or a list, such as GpuType.B200 (0.225.0).
|
|
1121
|
+
if resources is not None and (resources.gpu or resources.gpu_type not in (None, "", [], ())):
|
|
1122
|
+
raise NotSupportedError("GPUs", "Runtime runs sandboxes on CPUs; remove gpu and gpu_type from resources.")
|
|
1083
1123
|
if params.kvm:
|
|
1084
1124
|
raise NotSupportedError("Nested virtualization (kvm)",
|
|
1085
1125
|
"Remove it: Runtime sandboxes are microVMs without /dev/kvm inside.")
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"""Prime Intellect sandbox compatibility, pinned to prime-sandboxes 0.4.
|
|
1
|
+
"""Prime Intellect sandbox compatibility, pinned to prime-sandboxes 0.4.6.
|
|
2
2
|
|
|
3
3
|
Change ``from prime_sandboxes import ...`` to ``from withruntime.prime import ...``.
|
|
4
4
|
Authentication uses RUNTIME_API_KEY or ``runtime login``.
|
|
@@ -8,7 +8,7 @@ from .models import (CreateSandboxRequest, StartCommand, Sandbox, CommandRespons
|
|
|
8
8
|
from ._async import AsyncSandboxClient as _AsyncSandboxClient, _validate_guest_user, _validate_background_output_limits
|
|
9
9
|
from ._sync import SandboxClient, CommandTimeoutError
|
|
10
10
|
|
|
11
|
-
UPSTREAM_VERSION = "0.4.
|
|
11
|
+
UPSTREAM_VERSION = "0.4.6"
|
|
12
12
|
|
|
13
13
|
from .. import Runtime as _Runtime, AsyncRuntime as _AsyncRuntime
|
|
14
14
|
from .._compat import CompatibilityError as _CompatibilityError, refused as _refused, runtime_key as _runtime_key
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"""Native asynchronous Prime sandbox adapter. Contract: prime-sandboxes 0.4.
|
|
1
|
+
"""Native asynchronous Prime sandbox adapter. Contract: prime-sandboxes 0.4.6."""
|
|
2
2
|
from __future__ import annotations
|
|
3
3
|
import json
|
|
4
4
|
from datetime import datetime, timezone
|
|
@@ -153,6 +153,9 @@ class AsyncSandboxClient:
|
|
|
153
153
|
|
|
154
154
|
async def create(self, request: CreateSandboxRequest):
|
|
155
155
|
p = values(request)
|
|
156
|
+
if p.get("lan_network_id") is not None:
|
|
157
|
+
# 0.4.6 joins the LAN once the sandbox runs; refuse before making one.
|
|
158
|
+
raise CompatibilityError(_LAN)
|
|
156
159
|
for key in ("gpu_count", "gpu_type", "team_id", "advanced_configs", "secrets", "idle_timeout_minutes"):
|
|
157
160
|
if p.get(key):
|
|
158
161
|
raise CompatibilityError(f"Prime {key} cannot yet retain its upstream behavior")
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"""Generated synchronous Prime sandbox adapter. Contract: prime-sandboxes 0.4.
|
|
1
|
+
"""Generated synchronous Prime sandbox adapter. Contract: prime-sandboxes 0.4.6."""
|
|
2
2
|
from __future__ import annotations
|
|
3
3
|
import json
|
|
4
4
|
from datetime import datetime, timezone
|
|
@@ -153,6 +153,9 @@ class SandboxClient:
|
|
|
153
153
|
|
|
154
154
|
def create(self, request: CreateSandboxRequest):
|
|
155
155
|
p = values(request)
|
|
156
|
+
if p.get("lan_network_id") is not None:
|
|
157
|
+
# 0.4.6 joins the LAN once the sandbox runs; refuse before making one.
|
|
158
|
+
raise CompatibilityError(_LAN)
|
|
156
159
|
for key in ("gpu_count", "gpu_type", "team_id", "advanced_configs", "secrets", "idle_timeout_minutes"):
|
|
157
160
|
if p.get(key):
|
|
158
161
|
raise CompatibilityError(f"Prime {key} cannot yet retain its upstream behavior")
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
"""Sandbox request/value surface pinned to prime-sandboxes 0.4.
|
|
1
|
+
"""Sandbox request/value surface pinned to prime-sandboxes 0.4.6."""
|
|
2
2
|
from dataclasses import dataclass, field
|
|
3
3
|
from typing import Optional
|
|
4
4
|
from .._compat import Model
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
def _validate_egress_lists(allowlist, denylist):
|
|
8
|
-
"""Reject the same malformed host/IPv4 rules as prime-sandboxes 0.4.
|
|
8
|
+
"""Reject the same malformed host/IPv4 rules as prime-sandboxes 0.4.6."""
|
|
9
9
|
import ipaddress
|
|
10
10
|
if allowlist is not None and denylist is not None:
|
|
11
11
|
raise ValueError("network_allowlist and network_denylist are mutually exclusive")
|
|
@@ -78,6 +78,10 @@ class CreateSandboxRequest:
|
|
|
78
78
|
region: Optional[str] = None
|
|
79
79
|
advanced_configs: Optional[dict] = None
|
|
80
80
|
idempotency_key: Optional[str] = None
|
|
81
|
+
#: Join this LAN network with these tags once running (0.4.6); refused by
|
|
82
|
+
#: create, as every LAN call is.
|
|
83
|
+
lan_network_id: Optional[str] = None
|
|
84
|
+
lan_tags: Optional[list[str]] = None
|
|
81
85
|
|
|
82
86
|
def __post_init__(self):
|
|
83
87
|
if self.checkpoint_id is not None and (not isinstance(self.checkpoint_id, str)
|
|
@@ -103,6 +107,8 @@ class CreateSandboxRequest:
|
|
|
103
107
|
if self.gpu_count == 0 and self.gpu_type is not None:
|
|
104
108
|
raise ValueError("gpu_type requires gpu_count greater than 0")
|
|
105
109
|
_validate_egress_lists(self.network_allowlist, self.network_denylist)
|
|
110
|
+
if self.lan_tags is not None and self.lan_network_id is None:
|
|
111
|
+
raise ValueError("lan_tags requires lan_network_id")
|
|
106
112
|
if self.idle_timeout_minutes is not None and (self.idle_timeout_minutes < 1 or
|
|
107
113
|
self.timeout_minutes > 0 and self.idle_timeout_minutes > self.timeout_minutes):
|
|
108
114
|
raise ValueError("idle_timeout_minutes must be positive and no greater than timeout_minutes")
|
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
opened = open_wallet_account(20, accept_terms=True)
|
|
5
5
|
# send exactly opened["amount"] to one of opened["networks"], then, once paid:
|
|
6
6
|
key = claim_wallet_account(opened["claimCode"])["apiKey"]
|
|
7
|
+
# a lost key: replace it with the claim code (3 times in 24 hours)
|
|
8
|
+
key = rekey_wallet_account(opened["claimCode"])["apiKey"]
|
|
7
9
|
|
|
8
10
|
Opening one means agreeing to https://withruntime.com/legal/terms, so ask the
|
|
9
11
|
person you work for first. The claim code is shown once and is the only way to
|
|
@@ -60,3 +62,11 @@ def claim_wallet_account(claim_code: str, *, auth_url: Optional[str] = None, tim
|
|
|
60
62
|
"""Once the top-up is paid, ``{"status": "paid", "apiKey": ...}``, once.
|
|
61
63
|
Before that, the top-up's ``status``; call again."""
|
|
62
64
|
return _post(auth_url, "/api/wallet/claim", {"claimCode": claim_code}, timeout)
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
def rekey_wallet_account(claim_code: str, *, auth_url: Optional[str] = None, timeout: float = 30.0) -> dict[str, Any]:
|
|
68
|
+
"""Replaces a lost API key using the claim code: ``{"status": "replaced",
|
|
69
|
+
"orgId": ..., "apiKey": ..., "revokedKeyId": ...}``. Every other key of
|
|
70
|
+
the account stops working. Refused (409) when the first key was never claimed or a person took
|
|
71
|
+
the account over, and (429) past 3 times in 24 hours."""
|
|
72
|
+
return _post(auth_url, "/api/wallet/rekey", {"claimCode": claim_code}, timeout)
|
|
@@ -40,6 +40,7 @@ tests/test_customer_usage.py
|
|
|
40
40
|
tests/test_daytona.py
|
|
41
41
|
tests/test_daytona_0_223_1.py
|
|
42
42
|
tests/test_daytona_0_224_1.py
|
|
43
|
+
tests/test_daytona_0_225_0.py
|
|
43
44
|
tests/test_daytona_create_cleanup.py
|
|
44
45
|
tests/test_daytona_create_options.py
|
|
45
46
|
tests/test_daytona_download_labels.py
|
|
@@ -87,6 +88,7 @@ tests/test_out_of_memory.py
|
|
|
87
88
|
tests/test_package_typing.py
|
|
88
89
|
tests/test_previews_network_desktop.py
|
|
89
90
|
tests/test_prime_0_4_5.py
|
|
91
|
+
tests/test_prime_0_4_6.py
|
|
90
92
|
tests/test_private_network.py
|
|
91
93
|
tests/test_process_deadline.py
|
|
92
94
|
tests/test_process_input.py
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
VERSION = "0.16.0"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|