Skip to content

Commit 8671843

Browse files
release: 1.23.0 (#795)
Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
1 parent 4cafa17 commit 8671843

10 files changed

Lines changed: 42 additions & 25 deletions

File tree

.release-please-manifest.json

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

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 120
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runloop-ai/runloop-96b0ac0a148db6fde2e8363ea2dcfaa63f2dc23cf35c30c5fcfffbefc222e5d1.yml
3-
openapi_spec_hash: 01b9dbab4b732e4b83952debd108e404
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runloop-ai/runloop-22ab4a80734e5e3792b7287a1281280d52eff936be4d805011521a1b64e1998d.yml
3+
openapi_spec_hash: d109d3b797016fe7657935d55549cc31
44
config_hash: ed1fdd7c9f0a25647e16b602bad4ff2e

CHANGELOG.md

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

3+
## 1.23.0 (2026-06-05)
4+
5+
Full Changelog: [v1.22.1...v1.23.0](https://github.com/runloopai/api-client-ts/compare/v1.22.1...v1.23.0)
6+
7+
### Features
8+
9+
* **devbox:** add SCHEDULED status to the data model ([#9654](https://github.com/runloopai/api-client-ts/issues/9654)) ([398e350](https://github.com/runloopai/api-client-ts/commit/398e350d12074fb6f3244b505df8a774922b114e))
10+
* opt-in HTTP/2 multiplexing transport via undici 7 (Node &gt;= 20.18.1) ([#791](https://github.com/runloopai/api-client-ts/issues/791)) ([4cafa17](https://github.com/runloopai/api-client-ts/commit/4cafa17b21d71eeaf8091784a8bf8e9fc40f786b))
11+
* **portal:** support tunnel authorization header ([#9597](https://github.com/runloopai/api-client-ts/issues/9597)) ([ed324c5](https://github.com/runloopai/api-client-ts/commit/ed324c59c596640896bda199fa2740ce53da06ac))
12+
313
## 1.22.1 (2026-06-01)
414

515
Full Changelog: [v1.22.0...v1.22.1](https://github.com/runloopai/api-client-ts/compare/v1.22.0...v1.22.1)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@runloop/api-client",
3-
"version": "1.22.1",
3+
"version": "1.23.0",
44
"description": "The official TypeScript library for the Runloop API",
55
"author": "Runloop <support@runloop.ai>",
66
"types": "dist/sdk.d.ts",

packages/mcp-server/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"dxt_version": "0.2",
33
"name": "@runloop/api-client-mcp",
4-
"version": "1.22.1",
4+
"version": "1.23.0",
55
"description": "The official MCP Server for the Runloop API",
66
"author": {
77
"name": "Runloop",

packages/mcp-server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@runloop/api-client-mcp",
3-
"version": "1.22.1",
3+
"version": "1.23.0",
44
"description": "The official MCP Server for the Runloop API",
55
"author": "Runloop <support@runloop.ai>",
66
"types": "dist/index.d.ts",

packages/mcp-server/src/server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export const newMcpServer = async (stainlessApiKey: string | undefined) =>
1616
new McpServer(
1717
{
1818
name: 'runloop_api_client_api',
19-
version: '1.22.1',
19+
version: '1.23.0',
2020
},
2121
{
2222
instructions: await getInstructions(stainlessApiKey),

src/resources/devboxes/devboxes.ts

Lines changed: 23 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,8 @@ export class Devboxes extends APIResource {
169169
/**
170170
* Create an ephemeral authenticated tunnel for terminal access to a running
171171
* Devbox. This tunnel is not persisted on the Devbox and is generated fresh on
172-
* each request. The returned auth_token must be passed as a Bearer token in the
173-
* Authorization header.
172+
* each request. The returned auth_token should be passed as a Bearer token in the
173+
* X-Runloop-Tunnel-Authorization header.
174174
*/
175175
createPtyTunnel(id: string, options?: Core.RequestOptions): Core.APIPromise<PtyTunnelView> {
176176
return this._client.post(`/v1/devboxes/${id}/create_pty_tunnel`, options);
@@ -851,6 +851,7 @@ export interface DevboxView {
851851
* The current status of the Devbox.
852852
*/
853853
status:
854+
| 'scheduled'
854855
| 'provisioning'
855856
| 'initializing'
856857
| 'running'
@@ -929,7 +930,8 @@ export interface DevboxView {
929930
* running inside a Devbox without requiring direct network access. Each tunnel is
930931
* uniquely identified by an encrypted tunnel_key and can be configured for either
931932
* open (public) or authenticated access. Usage:
932-
* https://{port}-{tunnel_key}.tunnel.runloop.ai
933+
* https://{port}-{tunnel_key}.tunnel.runloop.ai. Authenticated tunnels should pass
934+
* auth_token as X-Runloop-Tunnel-Authorization: Bearer {auth_token}.
933935
*/
934936
tunnel?: TunnelView | null;
935937
}
@@ -939,17 +941,19 @@ export namespace DevboxView {
939941
/**
940942
* The status of the Devbox.
941943
*
942-
* provisioning: Runloop is allocating and booting the necessary infrastructure
943-
* resources. initializing: Runloop defined boot scripts are running to enable the
944-
* environment for interaction. running: The Devbox is ready for interaction.
945-
* suspending: The Devbox disk is being snapshotted as part of suspension.
946-
* suspended: The Devbox disk is saved and no more active compute is being used for
947-
* the Devbox. resuming: The Devbox disk is being loaded as part of booting a
948-
* suspended Devbox. failure: The Devbox failed as part of booting or running user
949-
* requested actions. shutdown: The Devbox was successfully shutdown and no more
950-
* active compute is being used.
944+
* scheduled: The Devbox is scheduled to run but infrastructure allocation has not
945+
* started yet. provisioning: Runloop is allocating and booting the necessary
946+
* infrastructure resources. initializing: Runloop defined boot scripts are running
947+
* to enable the environment for interaction. running: The Devbox is ready for
948+
* interaction. suspending: The Devbox disk is being snapshotted as part of
949+
* suspension. suspended: The Devbox disk is saved and no more active compute is
950+
* being used for the Devbox. resuming: The Devbox disk is being loaded as part of
951+
* booting a suspended Devbox. failure: The Devbox failed as part of booting or
952+
* running user requested actions. shutdown: The Devbox was successfully shutdown
953+
* and no more active compute is being used.
951954
*/
952955
status?:
956+
| 'scheduled'
953957
| 'provisioning'
954958
| 'initializing'
955959
| 'running'
@@ -994,11 +998,12 @@ export namespace DevboxView {
994998
* An ephemeral PTY tunnel providing authenticated terminal access to a Devbox.
995999
* These tunnels are not stored on the Devbox and are generated fresh on each
9961000
* request. Usage: https://{port}-{tunnel_key}.tunnel.runloop.ai with
997-
* Authorization: Bearer {auth_token}
1001+
* X-Runloop-Tunnel-Authorization: Bearer {auth_token}.
9981002
*/
9991003
export interface PtyTunnelView {
10001004
/**
1001-
* Bearer token for tunnel authentication. Always required for PTY tunnels.
1005+
* Bearer token for tunnel authentication. Always required for PTY tunnels. Pass as
1006+
* X-Runloop-Tunnel-Authorization: Bearer {auth_token}.
10021007
*/
10031008
auth_token: string;
10041009

@@ -1015,7 +1020,8 @@ export interface PtyTunnelView {
10151020
* running inside a Devbox without requiring direct network access. Each tunnel is
10161021
* uniquely identified by an encrypted tunnel_key and can be configured for either
10171022
* open (public) or authenticated access. Usage:
1018-
* https://{port}-{tunnel_key}.tunnel.runloop.ai
1023+
* https://{port}-{tunnel_key}.tunnel.runloop.ai. Authenticated tunnels should pass
1024+
* auth_token as X-Runloop-Tunnel-Authorization: Bearer {auth_token}.
10191025
*/
10201026
export interface TunnelView {
10211027
/**
@@ -1048,7 +1054,7 @@ export interface TunnelView {
10481054

10491055
/**
10501056
* Bearer token for tunnel authentication. Only present when auth_mode is
1051-
* 'authenticated'.
1057+
* 'authenticated'. Pass as X-Runloop-Tunnel-Authorization: Bearer {auth_token}.
10521058
*/
10531059
auth_token?: string | null;
10541060
}
@@ -1278,6 +1284,7 @@ export interface DevboxListParams extends DevboxesCursorIDPageParams {
12781284
* Filter by status
12791285
*/
12801286
status?:
1287+
| 'scheduled'
12811288
| 'provisioning'
12821289
| 'initializing'
12831290
| 'running'

src/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const VERSION = '1.22.1'; // x-release-please-version
1+
export const VERSION = '1.23.0'; // x-release-please-version

tests/api-resources/devboxes/devboxes.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ describe('resource devboxes', () => {
167167
include_total_count: true,
168168
limit: 0,
169169
starting_after: 'starting_after',
170-
status: 'provisioning',
170+
status: 'scheduled',
171171
},
172172
{ path: '/_stainless_unknown_path' },
173173
),

0 commit comments

Comments
 (0)