Skip to content

Commit f4ba135

Browse files
release: 1.8.0 (#715)
Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
1 parent 86d8126 commit f4ba135

9 files changed

Lines changed: 59 additions & 8 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.7.0"
2+
".": "1.8.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: 117
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runloop-ai%2Frunloop-15b7fd06098d8cb3639efb3b401a03d7d97a8ab4960b08077aa871f0cacb33d3.yml
3-
openapi_spec_hash: 93ab2fe88f9e57d8f262ad6d1179190e
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runloop-ai%2Frunloop-c8d61a0c8b88fa30666ba021d1239eb0d549902354513c4741e9216bcbfa8e6d.yml
3+
openapi_spec_hash: 433e6fb4ce076012b696f69ae7596c67
44
config_hash: eb28692edd68a6ae95cf92af931c9976

CHANGELOG.md

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

3+
## 1.8.0 (2026-02-12)
4+
5+
Full Changelog: [v1.7.0...v1.8.0](https://github.com/runloopai/api-client-ts/compare/v1.7.0...v1.8.0)
6+
7+
### Features
8+
9+
* **benchmarks:** scenario scoring timeout ([#7300](https://github.com/runloopai/api-client-ts/issues/7300)) ([893cd00](https://github.com/runloopai/api-client-ts/commit/893cd0057d67f98f5e9ed2f453aae31e20728db0))
10+
* **devbox:** expose snapshot size (in bytes) ([#7444](https://github.com/runloopai/api-client-ts/issues/7444)) ([54aa338](https://github.com/runloopai/api-client-ts/commit/54aa338efb7935509bc6b7a47d892f8cddcb7164))
11+
12+
13+
### Bug Fixes
14+
15+
* remove duplicate operationId createDevboxTunnel in openapi ([#7397](https://github.com/runloopai/api-client-ts/issues/7397)) ([99b8c23](https://github.com/runloopai/api-client-ts/commit/99b8c23fd3fc44bee446d97f701d3acd0a73a27f))
16+
17+
18+
### Chores
19+
20+
* **internal:** avoid type checking errors with ts-reset ([1e3ed19](https://github.com/runloopai/api-client-ts/commit/1e3ed1959f5afbe8235b8f37742e3fb04c9fb877))
21+
322
## 1.7.0 (2026-02-05)
423

524
Full Changelog: [v1.6.0...v1.7.0](https://github.com/runloopai/api-client-ts/compare/v1.6.0...v1.7.0)

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.7.0",
3+
"version": "1.8.0",
44
"description": "The official TypeScript library for the Runloop API",
55
"author": "Runloop <support@runloop.ai>",
66
"types": "dist/sdk.d.ts",

src/resources/devboxes/devboxes.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,9 +231,9 @@ export class Devboxes extends APIResource {
231231
}
232232

233233
/**
234-
* Create a V2 tunnel for an existing running Devbox. Tunnels provide encrypted
234+
* Enable a V2 tunnel for an existing running Devbox. Tunnels provide encrypted
235235
* URL-based access to the Devbox without exposing internal IDs. The tunnel URL
236-
* format is: https://{port}-{tunnel_key}.tunnel.runloop.ai
236+
* format is: https://&#123;port&#125;-&#123;tunnel_key&#125;.tunnel.runloop.ai
237237
*
238238
* Each Devbox can have one tunnel.
239239
*/
@@ -808,6 +808,11 @@ export interface DevboxSnapshotView {
808808
*/
809809
name?: string | null;
810810

811+
/**
812+
* (Optional) The size of the snapshot in bytes, relative to the base blueprint.
813+
*/
814+
size_bytes?: number | null;
815+
811816
/**
812817
* (Optional) The source Blueprint ID this snapshot was created from.
813818
*/

src/resources/scenarios/scenarios.ts

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,11 @@ export interface ScenarioCreateParameters {
210210
*/
211211
required_secret_names?: Array<string> | null;
212212

213+
/**
214+
* Timeout for scoring in seconds. Default 30 minutes (1800s).
215+
*/
216+
scorer_timeout_sec?: number | null;
217+
213218
/**
214219
* Validation strategy.
215220
*/
@@ -370,6 +375,11 @@ export interface ScenarioUpdateParameters {
370375
*/
371376
required_secret_names?: Array<string> | null;
372377

378+
/**
379+
* Timeout for scoring in seconds. Default 30 minutes (1800s).
380+
*/
381+
scorer_timeout_sec?: number | null;
382+
373383
/**
374384
* The scoring contract for the Scenario.
375385
*/
@@ -440,6 +450,11 @@ export interface ScenarioView {
440450
*/
441451
required_secret_names?: Array<string>;
442452

453+
/**
454+
* Timeout for scoring in seconds. Default 30 minutes (1800s).
455+
*/
456+
scorer_timeout_sec?: number | null;
457+
443458
/**
444459
* Validation strategy.
445460
*/
@@ -737,6 +752,11 @@ export interface ScenarioCreateParams {
737752
*/
738753
required_secret_names?: Array<string> | null;
739754

755+
/**
756+
* Timeout for scoring in seconds. Default 30 minutes (1800s).
757+
*/
758+
scorer_timeout_sec?: number | null;
759+
740760
/**
741761
* Validation strategy.
742762
*/
@@ -781,6 +801,11 @@ export interface ScenarioUpdateParams {
781801
*/
782802
required_secret_names?: Array<string> | null;
783803

804+
/**
805+
* Timeout for scoring in seconds. Default 30 minutes (1800s).
806+
*/
807+
scorer_timeout_sec?: number | null;
808+
784809
/**
785810
* The scoring contract for the Scenario.
786811
*/

src/streaming.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export class Stream<Item> implements AsyncIterable<Item> {
4545
}
4646

4747
try {
48-
yield JSON.parse(sse.data);
48+
yield JSON.parse(sse.data) as Item;
4949
} catch (e) {
5050
console.error(`Could not parse message into JSON:`, sse.data);
5151
console.error(`From chunk:`, sse.raw);

src/version.ts

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

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ describe('resource scenarios', () => {
8080
reference_output: 'reference_output',
8181
required_environment_variables: ['string'],
8282
required_secret_names: ['string'],
83+
scorer_timeout_sec: 0,
8384
validation_type: 'UNSPECIFIED',
8485
});
8586
});
@@ -154,6 +155,7 @@ describe('resource scenarios', () => {
154155
reference_output: 'reference_output',
155156
required_environment_variables: ['string'],
156157
required_secret_names: ['string'],
158+
scorer_timeout_sec: 0,
157159
scoring_contract: {
158160
scoring_function_parameters: [
159161
{

0 commit comments

Comments
 (0)