Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.68.0"
".": "0.69.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 97
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runloop-ai%2Frunloop-5f33221208c1febba343daf570f73a5086f150a9b128df045ebddc3fe2c86607.yml
openapi_spec_hash: 0aea07130ddbe43a665a13a68231e2ca
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runloop-ai%2Frunloop-0dd27c6877ed117c50fe0af95cee4d54c646d2484368e131b8e3315eba3fffcc.yml
openapi_spec_hash: 68f663172747aef8e66f2b23289efc7b
config_hash: 2363f563f42501d2b1587a4f64bdccaf
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# Changelog

## 0.69.0 (2025-11-25)

Full Changelog: [v0.68.0...v0.69.0](https://github.com/runloopai/api-client-ts/compare/v0.68.0...v0.69.0)

### Features

* **devbox:** unify api for devbox mounts ([ea54ef5](https://github.com/runloopai/api-client-ts/commit/ea54ef53e610cfc0c635a12cc3cc09352e91354b))
* **storage-objects:** Adds a helper method to create an Object from a local directory ([#656](https://github.com/runloopai/api-client-ts/issues/656)) ([b87ac39](https://github.com/runloopai/api-client-ts/commit/b87ac396696b02ef99bdf700b2abff2c7de68c9d))


### Bug Fixes

* **sdk:** Fix exports of the SDK not getting clobbered ([#662](https://github.com/runloopai/api-client-ts/issues/662)) ([b9ca9a1](https://github.com/runloopai/api-client-ts/commit/b9ca9a162dd4c305aeb58f4a4bf7ec339e6eabc9))

## 0.68.0 (2025-11-19)

Full Changelog: [v0.67.1...v0.68.0](https://github.com/runloopai/api-client-ts/compare/v0.67.1...v0.68.0)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@runloop/api-client",
"version": "0.68.0",
"version": "0.69.0",
"description": "The official TypeScript library for the Runloop API",
"author": "Runloop <support@runloop.ai>",
"types": "dist/sdk.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/resources/devboxes/devboxes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -929,7 +929,7 @@ export interface DevboxCreateParams {
metadata?: { [key: string]: string } | null;

/**
* A list of file system mounts to be included in the Devbox.
* A list of mounts to be included in the Devbox.
*/
mounts?: Array<Shared.Mount> | null;

Expand Down
20 changes: 19 additions & 1 deletion src/resources/shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,8 @@ export interface CodeMountParameters {
*/
repo_owner: string;

type: 'code_mount';

/**
* The authentication token necessary to pull repo.
*/
Expand Down Expand Up @@ -274,7 +276,23 @@ export namespace LaunchParameters {
}
}

export type Mount = ObjectMountParameters | AgentMountParameters;
export type Mount =
| ObjectMountParameters
| AgentMountParameters
| CodeMountParameters
| Mount.FileMountParameters;

export namespace Mount {
export interface FileMountParameters {
/**
* Map of file paths to file contents to be written before setup. Keys are absolute
* paths where files should be created, values are the file contents.
*/
files: { [key: string]: string };

type: 'file_mount';
}
}

export interface ObjectMountParameters {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const VERSION = '0.68.0'; // x-release-please-version
export const VERSION = '0.69.0'; // x-release-please-version
2 changes: 2 additions & 0 deletions tests/api-resources/blueprints.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ describe('resource blueprints', () => {
{
repo_name: 'repo_name',
repo_owner: 'repo_owner',
type: 'code_mount',
token: 'token',
install_command: 'install_command',
},
Expand Down Expand Up @@ -261,6 +262,7 @@ describe('resource blueprints', () => {
{
repo_name: 'repo_name',
repo_owner: 'repo_owner',
type: 'code_mount',
token: 'token',
install_command: 'install_command',
},
Expand Down
1 change: 1 addition & 0 deletions tests/api-resources/devboxes/devboxes.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ describe('resource devboxes', () => {
{
repo_name: 'repo_name',
repo_owner: 'repo_owner',
type: 'code_mount',
token: 'token',
install_command: 'install_command',
},
Expand Down