runta-sdk 0.2.4__tar.gz → 0.2.6__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.
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/PKG-INFO +30 -1
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/README.md +29 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/pyproject.toml +1 -1
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/runta_sdk.egg-info/PKG-INFO +30 -1
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/runta_sdk.egg-info/SOURCES.txt +5 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/__init__.py +155 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/async_http.py +14 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/__init__.py +6 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/begin_device_authorization_request_client_id.py +2 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/checkpoint_runtime_restore_request.py +46 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/cloud_agent_computer_session.py +3 -1
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/device_authorization_start.py +3 -1
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/fresh_runtime_create_request.py +47 -0
- runta_sdk-0.2.6/src/runta/_internal/openapi/models/organization_role.py +11 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/patch_runtime_request.py +46 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/public_error_code.py +1 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/public_ingress_spec.py +6 -4
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/runtime.py +83 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/runtime_image.py +3 -1
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/runtime_image_build.py +9 -3
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/runtime_image_build_attempt.py +6 -2
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/ssh_key.py +3 -1
- runta_sdk-0.2.6/src/runta/_internal/openapi/models/timeout_policy.py +55 -0
- runta_sdk-0.2.6/src/runta/_internal/openapi/models/timeout_policy_mode.py +9 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/user_profile.py +26 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/vnc_credential.py +9 -3
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/retry.py +10 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/streaming_transfer.py +115 -6
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/sync_http.py +14 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/transport.py +52 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/tests/test_download_dir_contents.py +443 -4
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/tests/test_download_dir_contents_live.py +68 -0
- runta_sdk-0.2.6/tests/test_runtime_policies.py +334 -0
- runta_sdk-0.2.6/tests/test_runtime_policies_live.py +304 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/integrations/harbor/runta_harbor/__init__.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/integrations/harbor/runta_harbor/environment.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/integrations/harbor/runta_harbor/py.typed +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/integrations/openai-agents-runta/src/agents_runta/__init__.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/integrations/openai-agents-runta/src/agents_runta/durable/__init__.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/integrations/openai-agents-runta/src/agents_runta/durable/runner.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/integrations/openai-agents-runta/src/agents_runta/durable/store.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/integrations/openai-agents-runta/src/agents_runta/py.typed +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/integrations/openai-agents-runta/src/agents_runta/sandbox.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/runta_sdk.egg-info/dependency_links.txt +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/runta_sdk.egg-info/requires.txt +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/runta_sdk.egg-info/top_level.txt +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/setup.cfg +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/__init__.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/async_file_io.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/byte_budget.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/config.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/execution.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/execution.sh +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/helpers.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/http_limits.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/__init__.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/__init__.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/auth/__init__.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/auth/begin_device_authorization.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/auth/exchange_device_token.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/auth/revoke_current_token.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/checkpoints/__init__.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/checkpoints/create_checkpoint.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/checkpoints/delete_checkpoint.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/checkpoints/get_checkpoint.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/checkpoints/list_checkpoints.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/cloud_agents/__init__.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/cloud_agents/cancel_cloud_agent_run.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/cloud_agents/create_cloud_agent.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/cloud_agents/create_cloud_agent_artifact.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/cloud_agents/create_cloud_agent_computer_session.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/cloud_agents/create_cloud_agent_run.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/cloud_agents/delete_cloud_agent.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/cloud_agents/delete_cloud_agent_artifact.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/cloud_agents/delete_cloud_agent_workspace_file.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/cloud_agents/execute_cloud_agent_workspace_operation.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/cloud_agents/follow_up_cloud_agent_run.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/cloud_agents/get_cloud_agent.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/cloud_agents/get_cloud_agent_artifact.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/cloud_agents/get_cloud_agent_run.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/cloud_agents/list_cloud_agent_artifacts.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/cloud_agents/list_cloud_agent_runs.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/cloud_agents/list_cloud_agent_session_events.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/cloud_agents/list_cloud_agents.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/cloud_agents/resume_cloud_agent_run.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/cloud_agents/stream_cloud_agent_run_events.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/cloud_agents/update_cloud_agent.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/cloud_agents/write_cloud_agent_workspace_file.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/events/__init__.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/events/get_organization_event.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/events/get_organization_token_analysis.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/events/list_organization_events.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/events/list_organization_token_analysis.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/events/list_organization_token_savings.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/files/__init__.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/files/read_runtime_file.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/files/write_runtime_file.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/git_hub/__init__.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/git_hub/create_git_hub_authorization_request.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/git_hub/create_git_hub_runtime_binding.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/git_hub/delete_git_hub_runtime_binding.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/git_hub/get_git_hub_authorization_request.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/git_hub/get_git_hub_runtime_binding.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/git_hub/list_git_hub_authorization_requests.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/git_hub/list_git_hub_branches.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/git_hub/list_git_hub_repositories.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/git_hub/replace_git_hub_runtime_bindings.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/health/__init__.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/health/head_healthz.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/health/healthz.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/identity/__init__.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/identity/get_me.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/managed_model_providers/__init__.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/managed_model_providers/list_managed_model_providers.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/managed_model_providers/update_managed_model_provider.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/runtimes/__init__.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/runtimes/cancel_runtime_image_build.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/runtimes/create_runtime.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/runtimes/create_runtime_image_build.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/runtimes/create_runtime_vnc_credential.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/runtimes/delete_runtime.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/runtimes/delete_runtime_image.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/runtimes/disable_runtime_vnc.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/runtimes/dismiss_runtime_image_build.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/runtimes/enable_runtime_vnc.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/runtimes/get_runtime.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/runtimes/get_runtime_image_build.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/runtimes/list_runtime_image_builds.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/runtimes/list_runtime_images.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/runtimes/list_runtime_vnc_credentials.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/runtimes/list_runtimes.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/runtimes/patch_runtime.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/runtimes/pause_runtime.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/runtimes/resume_runtime.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/runtimes/revoke_runtime_vnc_credential.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/runtimes/start_runtime.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/runtimes/stop_runtime.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/secrets/__init__.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/secrets/create_secret.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/secrets/delete_secret.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/secrets/get_secret.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/secrets/list_secrets.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/secrets/set_secret.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/ssh_keys/__init__.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/ssh_keys/attach_runtime_ssh_key.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/ssh_keys/create_ssh_key.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/ssh_keys/delete_ssh_key.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/ssh_keys/detach_runtime_ssh_key.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/ssh_keys/get_ssh_host_key.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/ssh_keys/list_runtime_ssh_keys.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/api/ssh_keys/list_ssh_keys.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/client.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/errors.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/allowlist_egress_policy.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/allowlist_egress_policy_mode.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/approved_git_hub_authorization.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/approved_git_hub_authorization_status.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/begin_device_authorization_request.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/checkpoint.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/checkpoint_pagination.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/checkpoint_response.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/checkpoint_source_runtime.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/cloud_agent.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/cloud_agent_artifact.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/cloud_agent_computer_session_channels.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/cloud_agent_event.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/cloud_agent_harness_request.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/cloud_agent_latest_reply.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/cloud_agent_list.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/cloud_agent_prompt_image.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/cloud_agent_prompt_image_mime_type.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/cloud_agent_prompt_image_type.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/cloud_agent_run.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/cloud_agent_runtime_reference.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/cloud_agent_runtime_reference_type.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/cloud_agent_session_events.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/cloud_agent_vnc_session_channel.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/cloud_agent_workspace_delete_request.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/cloud_agent_workspace_write_request.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/cloud_agent_workspace_write_result.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/cold_restore_resource_requests.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/cold_restore_resources.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/create_checkpoint_request.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/create_checkpoint_request_kind.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/create_cloud_agent_artifact_request.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/create_cloud_agent_request.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/create_cloud_agent_run_request.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/create_git_hub_authorization_request_request.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/create_git_hub_runtime_binding_request.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/create_llm_token_saving_policy.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/create_runtime_image_build_request.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/create_runtime_image_build_request_architecture.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/create_runtime_image_selection.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/create_runtime_resource_requests.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/create_runtime_resources.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/create_secret_request.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/create_ssh_key_request.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/create_vnc_credential_request.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/create_vnc_credential_response.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/denied_git_hub_authorization.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/denied_git_hub_authorization_status.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/denylist_egress_policy.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/denylist_egress_policy_mode.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/device_authorization_start_response.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/device_token_error.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/device_token_response.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/disabled_idle_policy.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/disabled_idle_policy_mode.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/empty_object.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/empty_response.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/error_body.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/error_envelope.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/event.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/event_list.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/event_list_response.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/event_response.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/exchange_device_token_request.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/expired_git_hub_authorization.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/expired_git_hub_authorization_status.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/fresh_runtime_create_request_environment_variables.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/git_hub_authorization_decision_metadata.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/git_hub_authorization_request.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/git_hub_authorization_request_list.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/git_hub_authorization_request_list_response.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/git_hub_authorization_request_response.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/git_hub_branch.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/git_hub_branch_list.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/git_hub_branch_list_response.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/git_hub_installation.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/git_hub_repository.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/git_hub_repository_list.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/git_hub_repository_list_response.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/git_hub_runtime_binding.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/git_hub_runtime_binding_list.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/git_hub_runtime_binding_list_response.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/git_hub_runtime_binding_response.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/installed_git_hub_authorization.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/installed_git_hub_authorization_status.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/list_checkpoints_response.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/list_runtime_image_builds_response.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/list_runtime_images_response.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/list_runtimes_response.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/list_secrets_response.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/list_ssh_keys_response.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/list_vnc_credentials_response.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/llm_token_saving_policy.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/managed_model_provider.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/managed_model_provider_list.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/managed_model_provider_reference.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/managed_model_provider_reference_type.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/patch_llm_token_saving_policy.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/patch_runtime_request_environment_variables.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/patch_runtime_resource_requests.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/patch_runtime_resources.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/pending_git_hub_authorization.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/pending_git_hub_authorization_status.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/public_checkpoint_state.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/public_ingress_protocol.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/public_runtime_status.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/replace_git_hub_runtime_bindings_request.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/replace_git_hub_runtime_bindings_request_repositories_item.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/runtime_desired_status.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/runtime_environment_variables.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/runtime_image_architectures_item.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/runtime_image_build_architecture.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/runtime_image_build_attempt_outcome.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/runtime_image_build_response.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/runtime_image_build_status.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/runtime_image_disk_capability.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/runtime_image_model_provider.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/runtime_image_protocol_binding.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/runtime_image_recommended_resources.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/runtime_image_subscription_option.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/runtime_image_web_ui.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/runtime_pagination.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/runtime_repository_selection.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/runtime_resource_current.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/runtime_resource_limits.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/runtime_resource_requests.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/runtime_resources.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/runtime_response.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/runtime_secret_configuration.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/runtime_workspace_file_entry.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/runtime_workspace_file_kind.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/runtime_workspace_operation_kind.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/runtime_workspace_operation_request.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/runtime_workspace_operation_result.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/runtime_workspace_port.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/runtime_workspace_search_match.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/secret.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/secret_egress_injection.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/secret_environment_injection.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/secret_file_injection.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/secret_injection_action.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/secret_response.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/set_secret_request.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/ssh_host_key.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/ssh_host_key_response.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/ssh_key_response.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/suspend_and_wakeup_idle_policy.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/suspend_and_wakeup_idle_policy_mode.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/suspend_only_idle_policy.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/suspend_only_idle_policy_mode.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/token_analysis_detail.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/token_analysis_detail_response.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/token_analysis_finding.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/token_analysis_finding_confidence.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/token_analysis_finding_kind.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/token_analysis_finding_severity.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/token_analysis_issue.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/token_analysis_issue_confidence.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/token_analysis_issue_kind.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/token_analysis_issue_severity.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/token_analysis_list.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/token_analysis_list_response.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/token_analysis_summary.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/token_analysis_tool_call.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/token_saving_event.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/token_saving_method.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/token_saving_method_method.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/token_savings_list.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/token_savings_list_response.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/token_savings_summary.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/update_cloud_agent_request.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/update_managed_model_provider_request.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/user_profile_response.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/vnc_credential_connection.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/vnc_credential_connection_security_type.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/vnc_credential_response.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/vnc_gateway_connection.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/vnc_gateway_connection_security_type.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/models/vnc_gateway_connection_username.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/openapi/types.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/pagination.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/rest_tls.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/tls_resumption.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/_internal/user_agent.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/src/runta/py.typed +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/tests/test_api_reference_generation.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/tests/test_async_file_io.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/tests/test_async_http_transport.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/tests/test_checkpoint_metadata.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/tests/test_config_and_helpers.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/tests/test_connection_pool.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/tests/test_delete_runtime_retry.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/tests/test_directory_upload.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/tests/test_directory_upload_concurrency.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/tests/test_execution.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/tests/test_execution_result_stream.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/tests/test_fetch_openapi.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/tests/test_get_runtime_retry.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/tests/test_harbor_directory_download.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/tests/test_harbor_e2e.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/tests/test_harbor_integration.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/tests/test_harbor_runta_environment.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/tests/test_live.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/tests/test_openai_extra_packaging.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/tests/test_openapi_contract.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/tests/test_openapi_transport.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/tests/test_read_retries.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/tests/test_rest_deployment.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/tests/test_rest_tls.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/tests/test_retry_policy.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/tests/test_runtime_readiness.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/tests/test_streaming_transfer.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/tests/test_user_agent.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/tests/test_websocket_tls.py +0 -0
- {runta_sdk-0.2.4 → runta_sdk-0.2.6}/tests/test_websocket_tls_resumption.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: runta-sdk
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.6
|
|
4
4
|
Summary: Python SDK for Runta runtime management
|
|
5
5
|
Author: Runta
|
|
6
6
|
License-Expression: MIT
|
|
@@ -97,6 +97,10 @@ Authentication uses `Runta(token="rt_...")` or `RUNTA_TOKEN`. The endpoint
|
|
|
97
97
|
defaults to `https://api.runta.com`; override it with `Runta(endpoint="...")`,
|
|
98
98
|
`RUNTA_ENDPOINT`, or `endpoint` from the optional Runta config file.
|
|
99
99
|
|
|
100
|
+
Runtime creation and updates support automatic shutdown/deletion policies and
|
|
101
|
+
raw TCP allowlists in both clients. See [the policy examples](doc.md#automatic-shutdown-and-deletion)
|
|
102
|
+
for configuration, checkpoint inheritance, and deadline metadata.
|
|
103
|
+
|
|
100
104
|
## Public REST endpoint lifecycle test
|
|
101
105
|
|
|
102
106
|
You can test the SDK against the hosted REST API by pointing the client at
|
|
@@ -150,6 +154,31 @@ existing destination and its root metadata. The merge is **not transactional**:
|
|
|
150
154
|
failure or cancellation may leave partially merged files. Existing `download()`
|
|
151
155
|
path and replacement behavior is unchanged.
|
|
152
156
|
|
|
157
|
+
To transfer only explicit relative paths, pass `paths` to either method:
|
|
158
|
+
|
|
159
|
+
```python
|
|
160
|
+
await runtime.files.download_dir_contents(
|
|
161
|
+
"/workspace/dist", "./artifacts", paths=["agent.log", "nested/result.json"]
|
|
162
|
+
)
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
`paths=None` downloads the complete directory; `paths=[]` does nothing, including
|
|
166
|
+
leaving a missing destination uncreated. Selected directories are not recursive:
|
|
167
|
+
list each desired file explicitly. Selected symlinks (including dangling links)
|
|
168
|
+
are skipped; paths traversing a directory symlink are rejected. Hardlinks never
|
|
169
|
+
add unselected paths. Missing selected paths fail before local merging begins.
|
|
170
|
+
Paths must be relative to the source without `..`, NUL, backslashes or Windows
|
|
171
|
+
path forms. Spaces, newlines, Unicode and leading `-` are supported; names are
|
|
172
|
+
passed through stdin rather than shell interpolation.
|
|
173
|
+
|
|
174
|
+
Selective downloads require remote `sh`, `mktemp` and a tar supporting
|
|
175
|
+
`--null`, `--verbatim-files-from`, `--no-recursion` and `--files-from`; missing
|
|
176
|
+
capabilities cause an error without an unsafe fallback. Only a temporary path
|
|
177
|
+
manifest is created remotely. Do not modify the source concurrently while it is
|
|
178
|
+
being checked and archived. Selection is checked again against the downloaded
|
|
179
|
+
archive before any custom filter runs. The SDK does not interpret include,
|
|
180
|
+
exclude or protect rules.
|
|
181
|
+
|
|
153
182
|
The new method reads the downloaded seekable archive directly, without a second
|
|
154
183
|
archive or a complete staging copy. It always applies safe tar data filtering,
|
|
155
184
|
including to members returned by an optional synchronous
|
|
@@ -69,6 +69,10 @@ Authentication uses `Runta(token="rt_...")` or `RUNTA_TOKEN`. The endpoint
|
|
|
69
69
|
defaults to `https://api.runta.com`; override it with `Runta(endpoint="...")`,
|
|
70
70
|
`RUNTA_ENDPOINT`, or `endpoint` from the optional Runta config file.
|
|
71
71
|
|
|
72
|
+
Runtime creation and updates support automatic shutdown/deletion policies and
|
|
73
|
+
raw TCP allowlists in both clients. See [the policy examples](doc.md#automatic-shutdown-and-deletion)
|
|
74
|
+
for configuration, checkpoint inheritance, and deadline metadata.
|
|
75
|
+
|
|
72
76
|
## Public REST endpoint lifecycle test
|
|
73
77
|
|
|
74
78
|
You can test the SDK against the hosted REST API by pointing the client at
|
|
@@ -122,6 +126,31 @@ existing destination and its root metadata. The merge is **not transactional**:
|
|
|
122
126
|
failure or cancellation may leave partially merged files. Existing `download()`
|
|
123
127
|
path and replacement behavior is unchanged.
|
|
124
128
|
|
|
129
|
+
To transfer only explicit relative paths, pass `paths` to either method:
|
|
130
|
+
|
|
131
|
+
```python
|
|
132
|
+
await runtime.files.download_dir_contents(
|
|
133
|
+
"/workspace/dist", "./artifacts", paths=["agent.log", "nested/result.json"]
|
|
134
|
+
)
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
`paths=None` downloads the complete directory; `paths=[]` does nothing, including
|
|
138
|
+
leaving a missing destination uncreated. Selected directories are not recursive:
|
|
139
|
+
list each desired file explicitly. Selected symlinks (including dangling links)
|
|
140
|
+
are skipped; paths traversing a directory symlink are rejected. Hardlinks never
|
|
141
|
+
add unselected paths. Missing selected paths fail before local merging begins.
|
|
142
|
+
Paths must be relative to the source without `..`, NUL, backslashes or Windows
|
|
143
|
+
path forms. Spaces, newlines, Unicode and leading `-` are supported; names are
|
|
144
|
+
passed through stdin rather than shell interpolation.
|
|
145
|
+
|
|
146
|
+
Selective downloads require remote `sh`, `mktemp` and a tar supporting
|
|
147
|
+
`--null`, `--verbatim-files-from`, `--no-recursion` and `--files-from`; missing
|
|
148
|
+
capabilities cause an error without an unsafe fallback. Only a temporary path
|
|
149
|
+
manifest is created remotely. Do not modify the source concurrently while it is
|
|
150
|
+
being checked and archived. Selection is checked again against the downloaded
|
|
151
|
+
archive before any custom filter runs. The SDK does not interpret include,
|
|
152
|
+
exclude or protect rules.
|
|
153
|
+
|
|
125
154
|
The new method reads the downloaded seekable archive directly, without a second
|
|
126
155
|
archive or a complete staging copy. It always applies safe tar data filtering,
|
|
127
156
|
including to members returned by an optional synchronous
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: runta-sdk
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.6
|
|
4
4
|
Summary: Python SDK for Runta runtime management
|
|
5
5
|
Author: Runta
|
|
6
6
|
License-Expression: MIT
|
|
@@ -97,6 +97,10 @@ Authentication uses `Runta(token="rt_...")` or `RUNTA_TOKEN`. The endpoint
|
|
|
97
97
|
defaults to `https://api.runta.com`; override it with `Runta(endpoint="...")`,
|
|
98
98
|
`RUNTA_ENDPOINT`, or `endpoint` from the optional Runta config file.
|
|
99
99
|
|
|
100
|
+
Runtime creation and updates support automatic shutdown/deletion policies and
|
|
101
|
+
raw TCP allowlists in both clients. See [the policy examples](doc.md#automatic-shutdown-and-deletion)
|
|
102
|
+
for configuration, checkpoint inheritance, and deadline metadata.
|
|
103
|
+
|
|
100
104
|
## Public REST endpoint lifecycle test
|
|
101
105
|
|
|
102
106
|
You can test the SDK against the hosted REST API by pointing the client at
|
|
@@ -150,6 +154,31 @@ existing destination and its root metadata. The merge is **not transactional**:
|
|
|
150
154
|
failure or cancellation may leave partially merged files. Existing `download()`
|
|
151
155
|
path and replacement behavior is unchanged.
|
|
152
156
|
|
|
157
|
+
To transfer only explicit relative paths, pass `paths` to either method:
|
|
158
|
+
|
|
159
|
+
```python
|
|
160
|
+
await runtime.files.download_dir_contents(
|
|
161
|
+
"/workspace/dist", "./artifacts", paths=["agent.log", "nested/result.json"]
|
|
162
|
+
)
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
`paths=None` downloads the complete directory; `paths=[]` does nothing, including
|
|
166
|
+
leaving a missing destination uncreated. Selected directories are not recursive:
|
|
167
|
+
list each desired file explicitly. Selected symlinks (including dangling links)
|
|
168
|
+
are skipped; paths traversing a directory symlink are rejected. Hardlinks never
|
|
169
|
+
add unselected paths. Missing selected paths fail before local merging begins.
|
|
170
|
+
Paths must be relative to the source without `..`, NUL, backslashes or Windows
|
|
171
|
+
path forms. Spaces, newlines, Unicode and leading `-` are supported; names are
|
|
172
|
+
passed through stdin rather than shell interpolation.
|
|
173
|
+
|
|
174
|
+
Selective downloads require remote `sh`, `mktemp` and a tar supporting
|
|
175
|
+
`--null`, `--verbatim-files-from`, `--no-recursion` and `--files-from`; missing
|
|
176
|
+
capabilities cause an error without an unsafe fallback. Only a temporary path
|
|
177
|
+
manifest is created remotely. Do not modify the source concurrently while it is
|
|
178
|
+
being checked and archived. Selection is checked again against the downloaded
|
|
179
|
+
archive before any custom filter runs. The SDK does not interpret include,
|
|
180
|
+
exclude or protect rules.
|
|
181
|
+
|
|
153
182
|
The new method reads the downloaded seekable archive directly, without a second
|
|
154
183
|
archive or a complete staging copy. It always applies safe tar data filtering,
|
|
155
184
|
including to members returned by an optional synchronous
|
|
@@ -235,6 +235,7 @@ src/runta/_internal/openapi/models/managed_model_provider.py
|
|
|
235
235
|
src/runta/_internal/openapi/models/managed_model_provider_list.py
|
|
236
236
|
src/runta/_internal/openapi/models/managed_model_provider_reference.py
|
|
237
237
|
src/runta/_internal/openapi/models/managed_model_provider_reference_type.py
|
|
238
|
+
src/runta/_internal/openapi/models/organization_role.py
|
|
238
239
|
src/runta/_internal/openapi/models/patch_llm_token_saving_policy.py
|
|
239
240
|
src/runta/_internal/openapi/models/patch_runtime_request.py
|
|
240
241
|
src/runta/_internal/openapi/models/patch_runtime_request_environment_variables.py
|
|
@@ -296,6 +297,8 @@ src/runta/_internal/openapi/models/suspend_and_wakeup_idle_policy.py
|
|
|
296
297
|
src/runta/_internal/openapi/models/suspend_and_wakeup_idle_policy_mode.py
|
|
297
298
|
src/runta/_internal/openapi/models/suspend_only_idle_policy.py
|
|
298
299
|
src/runta/_internal/openapi/models/suspend_only_idle_policy_mode.py
|
|
300
|
+
src/runta/_internal/openapi/models/timeout_policy.py
|
|
301
|
+
src/runta/_internal/openapi/models/timeout_policy_mode.py
|
|
299
302
|
src/runta/_internal/openapi/models/token_analysis_detail.py
|
|
300
303
|
src/runta/_internal/openapi/models/token_analysis_detail_response.py
|
|
301
304
|
src/runta/_internal/openapi/models/token_analysis_finding.py
|
|
@@ -354,6 +357,8 @@ tests/test_read_retries.py
|
|
|
354
357
|
tests/test_rest_deployment.py
|
|
355
358
|
tests/test_rest_tls.py
|
|
356
359
|
tests/test_retry_policy.py
|
|
360
|
+
tests/test_runtime_policies.py
|
|
361
|
+
tests/test_runtime_policies_live.py
|
|
357
362
|
tests/test_runtime_readiness.py
|
|
358
363
|
tests/test_streaming_transfer.py
|
|
359
364
|
tests/test_user_agent.py
|
|
@@ -9,6 +9,7 @@ import uuid
|
|
|
9
9
|
from collections.abc import Callable, Mapping, Sequence
|
|
10
10
|
from concurrent.futures import Future, ThreadPoolExecutor
|
|
11
11
|
from dataclasses import dataclass, field
|
|
12
|
+
from datetime import datetime, timezone
|
|
12
13
|
from enum import Enum
|
|
13
14
|
from pathlib import Path
|
|
14
15
|
from typing import Any
|
|
@@ -347,6 +348,22 @@ class PatchRuntimeResources:
|
|
|
347
348
|
)
|
|
348
349
|
|
|
349
350
|
|
|
351
|
+
def _timeout_seconds(policy: Mapping[str, Any] | None) -> int:
|
|
352
|
+
if not policy or policy["mode"] == "disabled":
|
|
353
|
+
return 0
|
|
354
|
+
return int(policy["after_seconds"])
|
|
355
|
+
|
|
356
|
+
|
|
357
|
+
def _deadline_from_json(value: str | None) -> datetime | None:
|
|
358
|
+
if value is None:
|
|
359
|
+
return None
|
|
360
|
+
# Python 3.10 does not accept the RFC 3339 Z suffix in fromisoformat.
|
|
361
|
+
deadline = datetime.fromisoformat(value.replace("Z", "+00:00"))
|
|
362
|
+
if deadline.tzinfo is None:
|
|
363
|
+
deadline = deadline.replace(tzinfo=timezone.utc)
|
|
364
|
+
return deadline
|
|
365
|
+
|
|
366
|
+
|
|
350
367
|
@dataclass(slots=True)
|
|
351
368
|
class RuntimeInfo:
|
|
352
369
|
"""Runtime metadata returned by the Runta API."""
|
|
@@ -364,6 +381,17 @@ class RuntimeInfo:
|
|
|
364
381
|
egress_policy: EgressPolicy = field(default_factory=EgressPolicy)
|
|
365
382
|
"""Current outbound network policy."""
|
|
366
383
|
|
|
384
|
+
auto_shutdown_after_secs: int = 0
|
|
385
|
+
"""Running-session limit in seconds; zero means disabled."""
|
|
386
|
+
auto_delete_after_secs: int = 0
|
|
387
|
+
"""Retention after confirmed shutdown in seconds; zero means disabled."""
|
|
388
|
+
auto_shutdown_at: datetime | None = None
|
|
389
|
+
"""Current session deadline, with a timezone, when supplied by the server."""
|
|
390
|
+
auto_delete_at: datetime | None = None
|
|
391
|
+
"""Deletion deadline, with a timezone, when supplied by the server."""
|
|
392
|
+
tcp_allowlist: list[str] = field(default_factory=list)
|
|
393
|
+
"""Exact FQDN:port destinations allowed to receive raw TCP."""
|
|
394
|
+
|
|
367
395
|
@classmethod
|
|
368
396
|
def from_json(cls, data: dict[str, Any]) -> "RuntimeInfo":
|
|
369
397
|
"""Create runtime metadata from an API response payload."""
|
|
@@ -376,6 +404,11 @@ class RuntimeInfo:
|
|
|
376
404
|
],
|
|
377
405
|
status=RuntimeStatus(str(data["status"])),
|
|
378
406
|
egress_policy=EgressPolicy.from_json(data.get("egress_policy")),
|
|
407
|
+
auto_shutdown_after_secs=_timeout_seconds(data.get("auto_shutdown_policy")),
|
|
408
|
+
auto_delete_after_secs=_timeout_seconds(data.get("auto_delete_policy")),
|
|
409
|
+
auto_shutdown_at=_deadline_from_json(data.get("auto_shutdown_at")),
|
|
410
|
+
auto_delete_at=_deadline_from_json(data.get("auto_delete_at")),
|
|
411
|
+
tcp_allowlist=list(data.get("tcp_allowlist", [])),
|
|
379
412
|
)
|
|
380
413
|
|
|
381
414
|
|
|
@@ -540,6 +573,9 @@ class RuntimeManager(_SdkOwnedHandle):
|
|
|
540
573
|
ingress_specs: Sequence[IngressSpec | Mapping[str, object]] | None = None,
|
|
541
574
|
egress_policy: EgressPolicy | None = None,
|
|
542
575
|
idle_suspend_after_secs: int | None = None,
|
|
576
|
+
auto_shutdown_after_secs: int | None = None,
|
|
577
|
+
auto_delete_after_secs: int | None = None,
|
|
578
|
+
tcp_allowlist: Sequence[str] | None = None,
|
|
543
579
|
wait: bool = True,
|
|
544
580
|
timeout: float = 240.0,
|
|
545
581
|
poll_interval: float = 0.5,
|
|
@@ -560,6 +596,13 @@ class RuntimeManager(_SdkOwnedHandle):
|
|
|
560
596
|
ingress_specs: Ports and protocols to expose from the runtime.
|
|
561
597
|
egress_policy: Initial outbound network policy.
|
|
562
598
|
idle_suspend_after_secs: Idle time before automatic suspension.
|
|
599
|
+
auto_shutdown_after_secs: Running-session limit. None omits the policy;
|
|
600
|
+
zero disables it; a positive integer enables it.
|
|
601
|
+
auto_delete_after_secs: Retention after confirmed shutdown. None omits
|
|
602
|
+
the policy; zero disables it; starting cancels pending deletion.
|
|
603
|
+
tcp_allowlist: Exact FQDN:port destinations for raw TCP, at most 16.
|
|
604
|
+
Empty denies raw TCP on fresh creation. When restoring a checkpoint,
|
|
605
|
+
omission or an empty list inherits its snapshot configuration.
|
|
563
606
|
wait: Wait until the runtime is ready before returning.
|
|
564
607
|
timeout: Maximum number of seconds to wait for readiness.
|
|
565
608
|
poll_interval: Initial full-jitter delay bound; doubles up to 10 seconds.
|
|
@@ -586,6 +629,9 @@ class RuntimeManager(_SdkOwnedHandle):
|
|
|
586
629
|
ingress_specs=[ingress_json(item) for item in ingress_specs or []],
|
|
587
630
|
egress_policy=egress_policy,
|
|
588
631
|
idle_suspend_after_secs=idle_suspend_after_secs,
|
|
632
|
+
auto_shutdown_after_secs=auto_shutdown_after_secs,
|
|
633
|
+
auto_delete_after_secs=auto_delete_after_secs,
|
|
634
|
+
tcp_allowlist=tcp_allowlist,
|
|
589
635
|
)
|
|
590
636
|
runtime = Runtime._from_info(self._client, info)
|
|
591
637
|
if wait:
|
|
@@ -632,6 +678,9 @@ class AsyncRuntimeManager(_SdkOwnedHandle):
|
|
|
632
678
|
ingress_specs: Sequence[IngressSpec | Mapping[str, object]] | None = None,
|
|
633
679
|
egress_policy: EgressPolicy | None = None,
|
|
634
680
|
idle_suspend_after_secs: int | None = None,
|
|
681
|
+
auto_shutdown_after_secs: int | None = None,
|
|
682
|
+
auto_delete_after_secs: int | None = None,
|
|
683
|
+
tcp_allowlist: Sequence[str] | None = None,
|
|
635
684
|
wait: bool = True,
|
|
636
685
|
timeout: float = 240.0,
|
|
637
686
|
poll_interval: float = 0.5,
|
|
@@ -652,6 +701,13 @@ class AsyncRuntimeManager(_SdkOwnedHandle):
|
|
|
652
701
|
ingress_specs: Ports and protocols to expose from the runtime.
|
|
653
702
|
egress_policy: Initial outbound network policy.
|
|
654
703
|
idle_suspend_after_secs: Idle time before automatic suspension.
|
|
704
|
+
auto_shutdown_after_secs: Running-session limit. None omits the policy;
|
|
705
|
+
zero disables it; a positive integer enables it.
|
|
706
|
+
auto_delete_after_secs: Retention after confirmed shutdown. None omits
|
|
707
|
+
the policy; zero disables it; starting cancels pending deletion.
|
|
708
|
+
tcp_allowlist: Exact FQDN:port destinations for raw TCP, at most 16.
|
|
709
|
+
Empty denies raw TCP on fresh creation. When restoring a checkpoint,
|
|
710
|
+
omission or an empty list inherits its snapshot configuration.
|
|
655
711
|
wait: Wait until the runtime is ready before returning.
|
|
656
712
|
timeout: Maximum number of seconds to wait for readiness.
|
|
657
713
|
poll_interval: Initial full-jitter delay bound; doubles up to 10 seconds.
|
|
@@ -678,6 +734,9 @@ class AsyncRuntimeManager(_SdkOwnedHandle):
|
|
|
678
734
|
ingress_specs=[ingress_json(item) for item in ingress_specs or []],
|
|
679
735
|
egress_policy=egress_policy,
|
|
680
736
|
idle_suspend_after_secs=idle_suspend_after_secs,
|
|
737
|
+
auto_shutdown_after_secs=auto_shutdown_after_secs,
|
|
738
|
+
auto_delete_after_secs=auto_delete_after_secs,
|
|
739
|
+
tcp_allowlist=tcp_allowlist,
|
|
681
740
|
)
|
|
682
741
|
runtime = AsyncRuntime._from_info(self._client, info)
|
|
683
742
|
if wait:
|
|
@@ -1082,6 +1141,30 @@ class Runtime:
|
|
|
1082
1141
|
)
|
|
1083
1142
|
return self.cached_info
|
|
1084
1143
|
|
|
1144
|
+
def update_timeout_policies(
|
|
1145
|
+
self,
|
|
1146
|
+
*,
|
|
1147
|
+
auto_shutdown_after_secs: int | None = None,
|
|
1148
|
+
auto_delete_after_secs: int | None = None,
|
|
1149
|
+
) -> RuntimeInfo:
|
|
1150
|
+
"""Update automatic shutdown and deletion policies and refresh cached metadata.
|
|
1151
|
+
|
|
1152
|
+
Args:
|
|
1153
|
+
auto_shutdown_after_secs: Running-session limit in seconds. None leaves
|
|
1154
|
+
unchanged; zero disables; 1 through 2147483647 enables.
|
|
1155
|
+
auto_delete_after_secs: Retention after confirmed shutdown in seconds.
|
|
1156
|
+
None leaves unchanged; zero disables; 1 through 2147483647 enables.
|
|
1157
|
+
|
|
1158
|
+
Explicitly saving a policy resets only that policy's clock, even when its
|
|
1159
|
+
value is unchanged. Starting the runtime cancels pending deletion.
|
|
1160
|
+
"""
|
|
1161
|
+
self._cached_info = self._client._http.patch_runtime(
|
|
1162
|
+
self.id,
|
|
1163
|
+
auto_shutdown_after_secs=auto_shutdown_after_secs,
|
|
1164
|
+
auto_delete_after_secs=auto_delete_after_secs,
|
|
1165
|
+
)
|
|
1166
|
+
return self.cached_info
|
|
1167
|
+
|
|
1085
1168
|
def resize_memory(self, new_memory_mib: int) -> RuntimeInfo:
|
|
1086
1169
|
"""Change the runtime memory limit in MiB."""
|
|
1087
1170
|
return self.update_resources(
|
|
@@ -1302,6 +1385,30 @@ class AsyncRuntime:
|
|
|
1302
1385
|
)
|
|
1303
1386
|
return self.cached_info
|
|
1304
1387
|
|
|
1388
|
+
async def update_timeout_policies(
|
|
1389
|
+
self,
|
|
1390
|
+
*,
|
|
1391
|
+
auto_shutdown_after_secs: int | None = None,
|
|
1392
|
+
auto_delete_after_secs: int | None = None,
|
|
1393
|
+
) -> RuntimeInfo:
|
|
1394
|
+
"""Update automatic shutdown and deletion policies and refresh cached metadata.
|
|
1395
|
+
|
|
1396
|
+
Args:
|
|
1397
|
+
auto_shutdown_after_secs: Running-session limit in seconds. None leaves
|
|
1398
|
+
unchanged; zero disables; 1 through 2147483647 enables.
|
|
1399
|
+
auto_delete_after_secs: Retention after confirmed shutdown in seconds.
|
|
1400
|
+
None leaves unchanged; zero disables; 1 through 2147483647 enables.
|
|
1401
|
+
|
|
1402
|
+
Explicitly saving a policy resets only that policy's clock, even when its
|
|
1403
|
+
value is unchanged. Starting the runtime cancels pending deletion.
|
|
1404
|
+
"""
|
|
1405
|
+
self._cached_info = await self._client._http.patch_runtime(
|
|
1406
|
+
self.id,
|
|
1407
|
+
auto_shutdown_after_secs=auto_shutdown_after_secs,
|
|
1408
|
+
auto_delete_after_secs=auto_delete_after_secs,
|
|
1409
|
+
)
|
|
1410
|
+
return self.cached_info
|
|
1411
|
+
|
|
1305
1412
|
async def resize_memory(self, new_memory_mib: int) -> RuntimeInfo:
|
|
1306
1413
|
"""Change the runtime memory limit in MiB."""
|
|
1307
1414
|
return await self.update_resources(
|
|
@@ -1471,6 +1578,24 @@ class EgressManager(_SdkOwnedHandle):
|
|
|
1471
1578
|
)
|
|
1472
1579
|
return self._runtime.cached_info
|
|
1473
1580
|
|
|
1581
|
+
def set_tcp_allowlist(self, hosts: Sequence[str]) -> RuntimeInfo:
|
|
1582
|
+
"""Replace the complete raw TCP allowlist and refresh cached metadata.
|
|
1583
|
+
|
|
1584
|
+
Args:
|
|
1585
|
+
hosts: At most 16 nonempty exact FQDN:port destinations. An empty list
|
|
1586
|
+
denies raw TCP. The server validates destinations and resolves
|
|
1587
|
+
each hostname to the permitted public IPv4 address and port.
|
|
1588
|
+
"""
|
|
1589
|
+
self._runtime._cached_info = self._runtime._client._http.patch_runtime(
|
|
1590
|
+
self._runtime.id, tcp_allowlist=hosts
|
|
1591
|
+
)
|
|
1592
|
+
return self._runtime.cached_info
|
|
1593
|
+
|
|
1594
|
+
def get_tcp_allowlist(self) -> list[str]:
|
|
1595
|
+
"""Fetch the runtime's raw TCP allowlist and return an independent list."""
|
|
1596
|
+
self._runtime.refresh_info()
|
|
1597
|
+
return list(self._runtime.cached_info.tcp_allowlist)
|
|
1598
|
+
|
|
1474
1599
|
def get(self) -> EgressPolicy:
|
|
1475
1600
|
"""Return the cached egress policy."""
|
|
1476
1601
|
self._runtime.refresh_info()
|
|
@@ -1505,6 +1630,24 @@ class AsyncEgressManager(_SdkOwnedHandle):
|
|
|
1505
1630
|
)
|
|
1506
1631
|
return self._runtime.cached_info
|
|
1507
1632
|
|
|
1633
|
+
async def set_tcp_allowlist(self, hosts: Sequence[str]) -> RuntimeInfo:
|
|
1634
|
+
"""Replace the complete raw TCP allowlist and refresh cached metadata.
|
|
1635
|
+
|
|
1636
|
+
Args:
|
|
1637
|
+
hosts: At most 16 nonempty exact FQDN:port destinations. An empty list
|
|
1638
|
+
denies raw TCP. The server validates destinations and resolves
|
|
1639
|
+
each hostname to the permitted public IPv4 address and port.
|
|
1640
|
+
"""
|
|
1641
|
+
self._runtime._cached_info = await self._runtime._client._http.patch_runtime(
|
|
1642
|
+
self._runtime.id, tcp_allowlist=hosts
|
|
1643
|
+
)
|
|
1644
|
+
return self._runtime.cached_info
|
|
1645
|
+
|
|
1646
|
+
async def get_tcp_allowlist(self) -> list[str]:
|
|
1647
|
+
"""Fetch the runtime's raw TCP allowlist and return an independent list."""
|
|
1648
|
+
await self._runtime.refresh_info()
|
|
1649
|
+
return list(self._runtime.cached_info.tcp_allowlist)
|
|
1650
|
+
|
|
1508
1651
|
async def get(self) -> EgressPolicy:
|
|
1509
1652
|
"""Return the cached egress policy."""
|
|
1510
1653
|
await self._runtime.refresh_info()
|
|
@@ -1594,6 +1737,7 @@ class FileManager(_SdkOwnedHandle):
|
|
|
1594
1737
|
src: str,
|
|
1595
1738
|
dst: str,
|
|
1596
1739
|
*,
|
|
1740
|
+
paths: Sequence[str] | None = None,
|
|
1597
1741
|
filter: Callable[[tarfile.TarInfo, str], tarfile.TarInfo | None] | None = None,
|
|
1598
1742
|
) -> None:
|
|
1599
1743
|
"""Merge a runtime directory's contents into a local directory.
|
|
@@ -1611,6 +1755,10 @@ class FileManager(_SdkOwnedHandle):
|
|
|
1611
1755
|
Args:
|
|
1612
1756
|
src: Source directory inside the runtime.
|
|
1613
1757
|
dst: Local directory, created if absent; no source name is appended.
|
|
1758
|
+
paths: Relative paths to transfer without directory recursion. None
|
|
1759
|
+
downloads everything; an empty sequence performs no operation.
|
|
1760
|
+
Selected symlinks are skipped; intermediate symlinks are rejected.
|
|
1761
|
+
Missing paths fail before merging.
|
|
1614
1762
|
filter: Optional synchronous (TarInfo, destination) callback. Return
|
|
1615
1763
|
None to skip a member. Async callbacks are not supported.
|
|
1616
1764
|
|
|
@@ -1621,6 +1769,7 @@ class FileManager(_SdkOwnedHandle):
|
|
|
1621
1769
|
self._runtime.id,
|
|
1622
1770
|
src,
|
|
1623
1771
|
Path(dst),
|
|
1772
|
+
paths=paths,
|
|
1624
1773
|
filter=filter,
|
|
1625
1774
|
)
|
|
1626
1775
|
|
|
@@ -1703,6 +1852,7 @@ class AsyncFileManager(_SdkOwnedHandle):
|
|
|
1703
1852
|
src: str,
|
|
1704
1853
|
dst: str,
|
|
1705
1854
|
*,
|
|
1855
|
+
paths: Sequence[str] | None = None,
|
|
1706
1856
|
filter: Callable[[tarfile.TarInfo, str], tarfile.TarInfo | None] | None = None,
|
|
1707
1857
|
) -> None:
|
|
1708
1858
|
"""Merge a runtime directory's contents into a local directory.
|
|
@@ -1720,6 +1870,10 @@ class AsyncFileManager(_SdkOwnedHandle):
|
|
|
1720
1870
|
Args:
|
|
1721
1871
|
src: Source directory inside the runtime.
|
|
1722
1872
|
dst: Local directory, created if absent; no source name is appended.
|
|
1873
|
+
paths: Relative paths to transfer without directory recursion. None
|
|
1874
|
+
downloads everything; an empty sequence performs no operation.
|
|
1875
|
+
Selected symlinks are skipped; intermediate symlinks are rejected.
|
|
1876
|
+
Missing paths fail before merging.
|
|
1723
1877
|
filter: Optional synchronous (TarInfo, destination) callback. Return
|
|
1724
1878
|
None to skip a member. Async callbacks are not supported.
|
|
1725
1879
|
|
|
@@ -1730,6 +1884,7 @@ class AsyncFileManager(_SdkOwnedHandle):
|
|
|
1730
1884
|
self._runtime.id,
|
|
1731
1885
|
src,
|
|
1732
1886
|
Path(dst),
|
|
1887
|
+
paths=paths,
|
|
1733
1888
|
filter=filter,
|
|
1734
1889
|
)
|
|
1735
1890
|
|
|
@@ -311,6 +311,9 @@ class _AsyncHttpClient:
|
|
|
311
311
|
resources: _public.CreateRuntimeResources | Mapping[str, Any] | None = None,
|
|
312
312
|
ingress_specs: Sequence[dict[str, Any]] | None = None,
|
|
313
313
|
egress_policy: _public.EgressPolicy | None = None,
|
|
314
|
+
auto_shutdown_after_secs: int | None = None,
|
|
315
|
+
auto_delete_after_secs: int | None = None,
|
|
316
|
+
tcp_allowlist: Sequence[str] | None = None,
|
|
314
317
|
idle_suspend_after_secs: int | None = None,
|
|
315
318
|
) -> _public.RuntimeInfo:
|
|
316
319
|
body = create_runtime_request(
|
|
@@ -322,6 +325,9 @@ class _AsyncHttpClient:
|
|
|
322
325
|
resources=resources,
|
|
323
326
|
ingress_specs=ingress_specs,
|
|
324
327
|
egress_policy=egress_policy,
|
|
328
|
+
auto_shutdown_after_secs=auto_shutdown_after_secs,
|
|
329
|
+
auto_delete_after_secs=auto_delete_after_secs,
|
|
330
|
+
tcp_allowlist=tcp_allowlist,
|
|
325
331
|
idle_suspend_after_secs=idle_suspend_after_secs,
|
|
326
332
|
)
|
|
327
333
|
key = str(uuid4())
|
|
@@ -413,11 +419,17 @@ class _AsyncHttpClient:
|
|
|
413
419
|
*,
|
|
414
420
|
resources: _public.PatchRuntimeResources | Mapping[str, Any] | None = None,
|
|
415
421
|
egress_policy: _public.EgressPolicy | None = None,
|
|
422
|
+
auto_shutdown_after_secs: int | None = None,
|
|
423
|
+
auto_delete_after_secs: int | None = None,
|
|
424
|
+
tcp_allowlist: Sequence[str] | None = None,
|
|
416
425
|
) -> _public.RuntimeInfo:
|
|
417
426
|
deadline = time.monotonic() + 480
|
|
418
427
|
body = patch_runtime_request(
|
|
419
428
|
resources=resources,
|
|
420
429
|
egress_policy=egress_policy,
|
|
430
|
+
auto_shutdown_after_secs=auto_shutdown_after_secs,
|
|
431
|
+
auto_delete_after_secs=auto_delete_after_secs,
|
|
432
|
+
tcp_allowlist=tcp_allowlist,
|
|
421
433
|
)
|
|
422
434
|
revision: int | None = None
|
|
423
435
|
|
|
@@ -524,6 +536,7 @@ class _AsyncHttpClient:
|
|
|
524
536
|
src: str,
|
|
525
537
|
dst: Path,
|
|
526
538
|
*,
|
|
539
|
+
paths: Sequence[str] | None = None,
|
|
527
540
|
filter: Callable[[tarfile.TarInfo, str], tarfile.TarInfo | None] | None = None,
|
|
528
541
|
) -> None:
|
|
529
542
|
from .streaming_transfer import async_download_dir_contents
|
|
@@ -534,6 +547,7 @@ class _AsyncHttpClient:
|
|
|
534
547
|
runtime_id,
|
|
535
548
|
src,
|
|
536
549
|
dst,
|
|
550
|
+
paths=paths,
|
|
537
551
|
filter=filter,
|
|
538
552
|
timeout=self.timeout,
|
|
539
553
|
attempts=self.retry_max_attempts,
|
|
@@ -112,6 +112,7 @@ from .managed_model_provider import ManagedModelProvider
|
|
|
112
112
|
from .managed_model_provider_list import ManagedModelProviderList
|
|
113
113
|
from .managed_model_provider_reference import ManagedModelProviderReference
|
|
114
114
|
from .managed_model_provider_reference_type import ManagedModelProviderReferenceType
|
|
115
|
+
from .organization_role import OrganizationRole
|
|
115
116
|
from .patch_llm_token_saving_policy import PatchLlmTokenSavingPolicy
|
|
116
117
|
from .patch_runtime_request import PatchRuntimeRequest
|
|
117
118
|
from .patch_runtime_request_environment_variables import (
|
|
@@ -179,6 +180,8 @@ from .suspend_and_wakeup_idle_policy import SuspendAndWakeupIdlePolicy
|
|
|
179
180
|
from .suspend_and_wakeup_idle_policy_mode import SuspendAndWakeupIdlePolicyMode
|
|
180
181
|
from .suspend_only_idle_policy import SuspendOnlyIdlePolicy
|
|
181
182
|
from .suspend_only_idle_policy_mode import SuspendOnlyIdlePolicyMode
|
|
183
|
+
from .timeout_policy import TimeoutPolicy
|
|
184
|
+
from .timeout_policy_mode import TimeoutPolicyMode
|
|
182
185
|
from .token_analysis_detail import TokenAnalysisDetail
|
|
183
186
|
from .token_analysis_detail_response import TokenAnalysisDetailResponse
|
|
184
187
|
from .token_analysis_finding import TokenAnalysisFinding
|
|
@@ -314,6 +317,7 @@ __all__ = (
|
|
|
314
317
|
"ManagedModelProviderList",
|
|
315
318
|
"ManagedModelProviderReference",
|
|
316
319
|
"ManagedModelProviderReferenceType",
|
|
320
|
+
"OrganizationRole",
|
|
317
321
|
"PatchLlmTokenSavingPolicy",
|
|
318
322
|
"PatchRuntimeRequest",
|
|
319
323
|
"PatchRuntimeRequestEnvironmentVariables",
|
|
@@ -375,6 +379,8 @@ __all__ = (
|
|
|
375
379
|
"SuspendAndWakeupIdlePolicyMode",
|
|
376
380
|
"SuspendOnlyIdlePolicy",
|
|
377
381
|
"SuspendOnlyIdlePolicyMode",
|
|
382
|
+
"TimeoutPolicy",
|
|
383
|
+
"TimeoutPolicyMode",
|
|
378
384
|
"TokenAnalysisDetail",
|
|
379
385
|
"TokenAnalysisDetailResponse",
|
|
380
386
|
"TokenAnalysisFinding",
|