Skip to content

Commit a9a0d2b

Browse files
release: 0.63.0 (#650)
* open dependancy requirements * feat(api): api update * feat(api): api update * release: 0.63.0 --------- Co-authored-by: Tony Deng <tony@runloop.ai> Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
1 parent 1d2220e commit a9a0d2b

23 files changed

Lines changed: 176 additions & 33 deletions

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.62.0"
2+
".": "0.63.0"
33
}

.stats.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 92
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runloop-ai%2Frunloop-f1d928f705d6771a22fe701dfb8c0c66aabbd0dd6d17e3fa09b8eb3a48259a84.yml
3-
openapi_spec_hash: 12dc18a4da3f084fee3d2c5f428e1df3
4-
config_hash: f9f7bc60c36f103c77333d9149cd3e46
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runloop-ai%2Frunloop-6b65a42b74406a77acb03ddb582288396d7af64df16eebf887c77246d3a54470.yml
3+
openapi_spec_hash: aeb9f595d53412926ef507174f33a1a1
4+
config_hash: f008c82c6ae5099c9a4b8e1fce1e15f1

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# Changelog
22

3+
## 0.63.0 (2025-10-02)
4+
5+
Full Changelog: [v0.62.0...v0.63.0](https://github.com/runloopai/api-client-python/compare/v0.62.0...v0.63.0)
6+
7+
### Features
8+
9+
* **api:** api update ([dbf7a2e](https://github.com/runloopai/api-client-python/commit/dbf7a2ea929d3832faec4241f8b8831c97c1755a))
10+
* **api:** api update ([fff1e21](https://github.com/runloopai/api-client-python/commit/fff1e210bf02f2a8be0cb7fc6d2fe0b04e28bf03))
11+
312
## 0.62.0 (2025-10-01)
413

514
Full Changelog: [v0.61.0...v0.62.0](https://github.com/runloopai/api-client-python/compare/v0.61.0...v0.62.0)

api.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,15 @@
11
# Shared Types
22

33
```python
4-
from runloop_api_client.types import AfterIdle, CodeMountParameters, LaunchParameters, RunProfile
4+
from runloop_api_client.types import (
5+
AfterIdle,
6+
AgentMountParameters,
7+
CodeMountParameters,
8+
LaunchParameters,
9+
Mount,
10+
ObjectMountParameters,
11+
RunProfile,
12+
)
513
```
614

715
# Benchmarks

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "runloop_api_client"
3-
version = "0.62.0"
3+
version = "0.63.0"
44
description = "The official Python library for the runloop API"
55
dynamic = ["readme"]
66
license = "MIT"
@@ -9,7 +9,7 @@ authors = [
99
]
1010
dependencies = [
1111
"httpx>=0.23.0, <1",
12-
"pydantic>=1.9.0, <2.11",
12+
"pydantic>=1.9.0, <3",
1313
"typing-extensions>=4.10, <5",
1414
"anyio>=3.5.0, <5",
1515
"distro>=1.7.0, <2",

src/runloop_api_client/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

33
__title__ = "runloop_api_client"
4-
__version__ = "0.62.0" # x-release-please-version
4+
__version__ = "0.63.0" # x-release-please-version

src/runloop_api_client/resources/devboxes/devboxes.py

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@
100100
from ...lib.polling_async import async_poll_until
101101
from ...types.devbox_view import DevboxView
102102
from ...types.devbox_tunnel_view import DevboxTunnelView
103+
from ...types.shared_params.mount import Mount
103104
from ...types.devbox_snapshot_view import DevboxSnapshotView
104105
from ...types.shared.launch_parameters import LaunchParameters as SharedLaunchParameters
105106
from ...types.devbox_execution_detail_view import DevboxExecutionDetailView
@@ -185,6 +186,7 @@ def create(
185186
file_mounts: Optional[Dict[str, str]] | Omit = omit,
186187
launch_parameters: Optional[LaunchParameters] | Omit = omit,
187188
metadata: Optional[Dict[str, str]] | Omit = omit,
189+
mounts: Optional[Iterable[Mount]] | Omit = omit,
188190
name: Optional[str] | Omit = omit,
189191
repo_connection_id: Optional[str] | Omit = omit,
190192
secrets: Optional[Dict[str, str]] | Omit = omit,
@@ -228,6 +230,8 @@ def create(
228230
229231
metadata: User defined metadata to attach to the devbox for organization.
230232
233+
mounts: A list of file system mounts to be included in the Devbox.
234+
231235
name: (Optional) A user specified name to give the Devbox.
232236
233237
repo_connection_id: Repository connection id the devbox should source its base image from.
@@ -262,6 +266,7 @@ def create(
262266
"file_mounts": file_mounts,
263267
"launch_parameters": launch_parameters,
264268
"metadata": metadata,
269+
"mounts": mounts,
265270
"name": name,
266271
"repo_connection_id": repo_connection_id,
267272
"secrets": secrets,
@@ -740,7 +745,7 @@ def execute(
740745
specified the command is run from the directory based on the recent state of the
741746
persistent shell.
742747
743-
command_id: The command ID for idempotency and tracking
748+
command_id: The command ID in UUIDv7 string format for idempotency and tracking
744749
745750
optimistic_timeout: Timeout in seconds to wait for command completion. Operation is not killed. Max
746751
is 600 seconds.
@@ -1633,6 +1638,7 @@ async def create(
16331638
file_mounts: Optional[Dict[str, str]] | Omit = omit,
16341639
launch_parameters: Optional[LaunchParameters] | Omit = omit,
16351640
metadata: Optional[Dict[str, str]] | Omit = omit,
1641+
mounts: Optional[Iterable[Mount]] | Omit = omit,
16361642
name: Optional[str] | Omit = omit,
16371643
repo_connection_id: Optional[str] | Omit = omit,
16381644
secrets: Optional[Dict[str, str]] | Omit = omit,
@@ -1676,6 +1682,8 @@ async def create(
16761682
16771683
metadata: User defined metadata to attach to the devbox for organization.
16781684
1685+
mounts: A list of file system mounts to be included in the Devbox.
1686+
16791687
name: (Optional) A user specified name to give the Devbox.
16801688
16811689
repo_connection_id: Repository connection id the devbox should source its base image from.
@@ -1710,6 +1718,7 @@ async def create(
17101718
"file_mounts": file_mounts,
17111719
"launch_parameters": launch_parameters,
17121720
"metadata": metadata,
1721+
"mounts": mounts,
17131722
"name": name,
17141723
"repo_connection_id": repo_connection_id,
17151724
"secrets": secrets,
@@ -2187,7 +2196,7 @@ async def execute(
21872196
specified the command is run from the directory based on the recent state of the
21882197
persistent shell.
21892198
2190-
command_id: The command ID for idempotency and tracking
2199+
command_id: The command ID in UUIDv7 string format for idempotency and tracking
21912200
21922201
optimistic_timeout: Timeout in seconds to wait for command completion. Operation is not killed. Max
21932202
is 600 seconds.

src/runloop_api_client/resources/repositories.py

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,6 @@ def inspect(
244244
self,
245245
id: str,
246246
*,
247-
blueprint_id: Optional[str] | Omit = omit,
248247
github_auth_token: Optional[str] | Omit = omit,
249248
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
250249
# The extra values given here take precedence over values defined on the client or passed to this method.
@@ -259,8 +258,6 @@ def inspect(
259258
repo's technical stack and developer environment requirements.
260259
261260
Args:
262-
blueprint_id: ID of blueprint to use as base for resulting RepositoryVersion blueprint.
263-
264261
github_auth_token: GitHub authentication token for accessing private repositories.
265262
266263
extra_headers: Send extra headers
@@ -278,11 +275,7 @@ def inspect(
278275
return self._post(
279276
f"/v1/repositories/{id}/inspect",
280277
body=maybe_transform(
281-
{
282-
"blueprint_id": blueprint_id,
283-
"github_auth_token": github_auth_token,
284-
},
285-
repository_inspect_params.RepositoryInspectParams,
278+
{"github_auth_token": github_auth_token}, repository_inspect_params.RepositoryInspectParams
286279
),
287280
options=make_request_options(
288281
extra_headers=extra_headers,
@@ -596,7 +589,6 @@ async def inspect(
596589
self,
597590
id: str,
598591
*,
599-
blueprint_id: Optional[str] | Omit = omit,
600592
github_auth_token: Optional[str] | Omit = omit,
601593
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
602594
# The extra values given here take precedence over values defined on the client or passed to this method.
@@ -611,8 +603,6 @@ async def inspect(
611603
repo's technical stack and developer environment requirements.
612604
613605
Args:
614-
blueprint_id: ID of blueprint to use as base for resulting RepositoryVersion blueprint.
615-
616606
github_auth_token: GitHub authentication token for accessing private repositories.
617607
618608
extra_headers: Send extra headers
@@ -630,11 +620,7 @@ async def inspect(
630620
return await self._post(
631621
f"/v1/repositories/{id}/inspect",
632622
body=await async_maybe_transform(
633-
{
634-
"blueprint_id": blueprint_id,
635-
"github_auth_token": github_auth_token,
636-
},
637-
repository_inspect_params.RepositoryInspectParams,
623+
{"github_auth_token": github_auth_token}, repository_inspect_params.RepositoryInspectParams
638624
),
639625
options=make_request_options(
640626
extra_headers=extra_headers,

src/runloop_api_client/types/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,13 @@
33
from __future__ import annotations
44

55
from .shared import (
6+
Mount as Mount,
67
AfterIdle as AfterIdle,
78
RunProfile as RunProfile,
89
LaunchParameters as LaunchParameters,
910
CodeMountParameters as CodeMountParameters,
11+
AgentMountParameters as AgentMountParameters,
12+
ObjectMountParameters as ObjectMountParameters,
1013
)
1114
from .devbox_view import DevboxView as DevboxView
1215
from .object_view import ObjectView as ObjectView

src/runloop_api_client/types/devbox_create_params.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
from typing import Dict, Iterable, Optional
66
from typing_extensions import TypedDict
77

8+
from .shared_params.mount import Mount
89
from .shared_params.launch_parameters import LaunchParameters
910
from .shared_params.code_mount_parameters import CodeMountParameters
1011

@@ -49,6 +50,9 @@ class DevboxCreateParams(TypedDict, total=False):
4950
metadata: Optional[Dict[str, str]]
5051
"""User defined metadata to attach to the devbox for organization."""
5152

53+
mounts: Optional[Iterable[Mount]]
54+
"""A list of file system mounts to be included in the Devbox."""
55+
5256
name: Optional[str]
5357
"""(Optional) A user specified name to give the Devbox."""
5458

0 commit comments

Comments
 (0)