Skip to content

Commit 0328b0e

Browse files
committed
Merge remote-tracking branch 'origin/main' into dines/mcp-hub-sdk
2 parents 29eab6c + 2c5e7a4 commit 0328b0e

30 files changed

Lines changed: 181 additions & 64 deletions

.github/workflows/publish-docs.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,13 @@ jobs:
4242
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53
4343
with:
4444
name: documentation
45-
- run: tar -xf documentation.tar ./docs -C ./docs
45+
- run: tar -xf documentation.tar
46+
- name: Remove any legacy nested docs trees
47+
run: |
48+
if [ -d ./docs/docs ]; then
49+
echo "Removing legacy nested docs content from prior malformed extraction"
50+
rm -rf ./docs/docs
51+
fi
4652
4753
- name: Build
4854
uses: runloopai/setup-node@main
@@ -78,7 +84,7 @@ jobs:
7884
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53
7985
with:
8086
name: newdocumentation
81-
- run: tar -xf newdocumentation.tar ./docs -C ./docs
87+
- run: tar -xf newdocumentation.tar
8288

8389
- name: commit
8490
run: |

.github/workflows/publish-npm.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ jobs:
3434
3535
- name: Add stable tag to NPM release
3636
run: |
37+
npm config set '//registry.npmjs.org/:_authToken' "$NPM_TOKEN"
3738
cd dist
3839
PACKAGE_NAME="$(jq -r -e '.name' ./package.json)"
3940
VERSION="$(jq -r -e '.version' ./package.json)"
@@ -45,3 +46,5 @@ jobs:
4546
else
4647
echo "Skipping stable tag for prerelease version $VERSION"
4748
fi
49+
env:
50+
NPM_TOKEN: ${{ secrets.RUNLOOP_NPM_TOKEN || secrets.NPM_TOKEN }}

.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.1"
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-8704a652545c3831c8b7e246ec17f1a626b59911eb5701ddc922ca6cae1c8d57.yml
3+
openapi_spec_hash: e609bc5ed3fdce498bc7d16921bbba5e
44
config_hash: eb28692edd68a6ae95cf92af931c9976

CHANGELOG.md

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

3+
## 1.8.1 (2026-02-19)
4+
5+
Full Changelog: [v1.8.0...v1.8.1](https://github.com/runloopai/api-client-ts/compare/v1.8.0...v1.8.1)
6+
7+
### Chores
8+
9+
* **benchmarks:** removed unused validate scorer endpoint ([#716](https://github.com/runloopai/api-client-ts/issues/716)) ([54bb583](https://github.com/runloopai/api-client-ts/commit/54bb5834f011ad10f9cdb086cddca9810c05f13e))
10+
11+
12+
### Refactors
13+
14+
* deprecate and make Nullable total_count and remaining_count of ListViews ([#7533](https://github.com/runloopai/api-client-ts/issues/7533)) ([1af5508](https://github.com/runloopai/api-client-ts/commit/1af55086d738d85db55ac5a1116bd01950665902))
15+
16+
## 1.8.0 (2026-02-12)
17+
18+
Full Changelog: [v1.7.0...v1.8.0](https://github.com/runloopai/api-client-ts/compare/v1.7.0...v1.8.0)
19+
20+
### Features
21+
22+
* **benchmarks:** scenario scoring timeout ([#7300](https://github.com/runloopai/api-client-ts/issues/7300)) ([893cd00](https://github.com/runloopai/api-client-ts/commit/893cd0057d67f98f5e9ed2f453aae31e20728db0))
23+
* **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))
24+
25+
26+
### Bug Fixes
27+
28+
* 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))
29+
30+
31+
### Chores
32+
33+
* **internal:** avoid type checking errors with ts-reset ([1e3ed19](https://github.com/runloopai/api-client-ts/commit/1e3ed1959f5afbe8235b8f37742e3fb04c9fb877))
34+
335
## 1.7.0 (2026-02-05)
436

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

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ The SDK provides object-oriented interfaces for all major Runloop resources:
6161
- **[`runloop.storageObject`](https://runloopai.github.io/api-client-ts/stable/classes/StorageObjectOps.html)** - Storage object management (upload, download, list objects)
6262
- **[`runloop.agent`](https://runloopai.github.io/api-client-ts/stable/classes/AgentOps.html)** - Agent management (create, list agents from npm/pip/git)
6363
- **[`runloop.scenario`](https://runloopai.github.io/api-client-ts/stable/classes/ScenarioOps.html)** - Scenario management (list scenarios, start runs)
64-
- **[`runloop.scorer`](https://runloopai.github.io/api-client-ts/stable/classes/ScorerOps.html)** - Scorer management (create, list, validate, update)
64+
- **[`runloop.scorer`](https://runloopai.github.io/api-client-ts/stable/classes/ScorerOps.html)** - Scorer management (create, list, update)
6565
- **[`runloop.api`](https://runloopai.github.io/api-client-ts/stable/classes/Runloop.html)** - Direct access to the REST API client
6666

6767
## TypeScript Support
@@ -88,7 +88,7 @@ const devbox = await blueprint.createDevbox({ name: 'my-devbox' });
8888

8989
### Scorers
9090

91-
Scorers are custom scoring functions used to evaluate scenario outputs. Create scorers via `runloop.scorer.create()`, then update or validate them with the returned `Scorer` instance:
91+
Scorers are custom scoring functions used to evaluate scenario outputs. Create scorers via `runloop.scorer.create()`, then update them with the returned `Scorer` instance:
9292

9393
```typescript
9494
import { RunloopSDK } from '@runloop/api-client';
@@ -101,8 +101,6 @@ const scorer = await runloop.scorer.create({
101101
});
102102

103103
await scorer.update({ bash_script: 'echo "0.5"' });
104-
const result = await scorer.validate({ scoring_context: { output: 'hello' } });
105-
console.log(result.scoring_result.score);
106104
```
107105

108106
### Scenarios

api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ Methods:
144144
- <code title="post /v1/devboxes/{id}/remove_tunnel">client.devboxes.<a href="./src/resources/devboxes/devboxes.ts">removeTunnel</a>(id, { ...params }) -> unknown</code>
145145
- <code title="post /v1/devboxes/{id}/resume">client.devboxes.<a href="./src/resources/devboxes/devboxes.ts">resume</a>(id) -> DevboxView</code>
146146
- <code title="get /v1/devboxes/{id}/usage">client.devboxes.<a href="./src/resources/devboxes/devboxes.ts">retrieveResourceUsage</a>(id) -> DevboxResourceUsageView</code>
147-
- <code title="post /v1/devboxes/{id}/shutdown">client.devboxes.<a href="./src/resources/devboxes/devboxes.ts">shutdown</a>(id) -> DevboxView</code>
147+
- <code title="post /v1/devboxes/{id}/shutdown">client.devboxes.<a href="./src/resources/devboxes/devboxes.ts">shutdown</a>(id, { ...params }) -> DevboxView</code>
148148
- <code title="post /v1/devboxes/{id}/snapshot_disk">client.devboxes.<a href="./src/resources/devboxes/devboxes.ts">snapshotDisk</a>(id, { ...params }) -> DevboxSnapshotView</code>
149149
- <code title="post /v1/devboxes/{id}/snapshot_disk_async">client.devboxes.<a href="./src/resources/devboxes/devboxes.ts">snapshotDiskAsync</a>(id, { ...params }) -> DevboxSnapshotView</code>
150150
- <code title="post /v1/devboxes/{id}/suspend">client.devboxes.<a href="./src/resources/devboxes/devboxes.ts">suspend</a>(id) -> DevboxView</code>

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

src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@ import {
197197
DevboxResourceUsageView,
198198
DevboxSendStdInRequest,
199199
DevboxSendStdInResult,
200+
DevboxShutdownParams,
200201
DevboxSnapshotDiskAsyncParams,
201202
DevboxSnapshotDiskParams,
202203
DevboxSnapshotListView,
@@ -630,6 +631,7 @@ export declare namespace Runloop {
630631
type DevboxListDiskSnapshotsParams as DevboxListDiskSnapshotsParams,
631632
type DevboxReadFileContentsParams as DevboxReadFileContentsParams,
632633
type DevboxRemoveTunnelParams as DevboxRemoveTunnelParams,
634+
type DevboxShutdownParams as DevboxShutdownParams,
633635
type DevboxSnapshotDiskParams as DevboxSnapshotDiskParams,
634636
type DevboxSnapshotDiskAsyncParams as DevboxSnapshotDiskAsyncParams,
635637
type DevboxUploadFileParams as DevboxUploadFileParams,

src/resources/agents.ts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,14 +78,16 @@ export interface AgentListView {
7878
has_more: boolean;
7979

8080
/**
81-
* The count of remaining Agents.
81+
* The count of remaining Agents. Deprecated: will be removed in a future breaking
82+
* change.
8283
*/
83-
remaining_count: number;
84+
remaining_count?: number | null;
8485

8586
/**
86-
* The total count of Agents.
87+
* The total count of Agents. Deprecated: will be removed in a future breaking
88+
* change.
8789
*/
88-
total_count: number;
90+
total_count?: number | null;
8991
}
9092

9193
/**

0 commit comments

Comments
 (0)