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 @@
{
".": "1.0.0"
".": "1.1.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-0dd27c6877ed117c50fe0af95cee4d54c646d2484368e131b8e3315eba3fffcc.yml
openapi_spec_hash: 68f663172747aef8e66f2b23289efc7b
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runloop-ai%2Frunloop-370a5d676ff0ef41f3ca6ed669d29b6e3e6b7f0a914ac3dbed6bd45e75533c74.yml
openapi_spec_hash: 7bb5ea1117d754b7985aff0da5bca3a7
config_hash: 2363f563f42501d2b1587a4f64bdccaf
30 changes: 30 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,35 @@
# Changelog

## 1.1.0 (2025-12-13)

Full Changelog: [v1.0.0...v1.1.0](https://github.com/runloopai/api-client-ts/compare/v1.0.0...v1.1.0)

### Features

* **blueprints:** Add build context to the OpenAPI spec ([#6494](https://github.com/runloopai/api-client-ts/issues/6494)) ([e295c86](https://github.com/runloopai/api-client-ts/commit/e295c861c54be8320cf3a049023722159e1566d9))
* **devbox:** added stdin streaming endpoint ([2610c5d](https://github.com/runloopai/api-client-ts/commit/2610c5d9207fab989f335633e9b8034d6905afd0))
* **devbox:** added suspend async and promoted suspend to automatically await the devbox running ([#670](https://github.com/runloopai/api-client-ts/issues/670)) ([e814e00](https://github.com/runloopai/api-client-ts/commit/e814e000496e923023e525b038efcb39e34b4cdd))
* **devbox:** default to x86 arch ([e040bc2](https://github.com/runloopai/api-client-ts/commit/e040bc2bd4411dd566fbe6e339055403eb52bfca))
* **devbox:** return user for createSshKey ([3e8406b](https://github.com/runloopai/api-client-ts/commit/3e8406bb8b29a4e2cf87e89c22be7a8e5ecebf39))
* **ignore matcher:** support for .dockerignore for build context ([#673](https://github.com/runloopai/api-client-ts/issues/673)) ([a843d54](https://github.com/runloopai/api-client-ts/commit/a843d54b93a69ea4cf8bf22475fd0cf6b04ba98b))


### Bug Fixes

* **api:** don't ignore devbox keep_alive, suspend and resume in api ([a5143ef](https://github.com/runloopai/api-client-ts/commit/a5143eff331d3404e1649ec57f01e67ea18b6613))
* **devbox:** launch parameter typo ([2ef3ede](https://github.com/runloopai/api-client-ts/commit/2ef3ede2bbc71b79f111ab9c0326573f44dfab4c))
* **mcp:** correct code tool API endpoint ([8932b2d](https://github.com/runloopai/api-client-ts/commit/8932b2d7b4bc2a5c50487db572286448d388e6ea))
* **mcp:** return correct lines on typescript errors ([4ebe08c](https://github.com/runloopai/api-client-ts/commit/4ebe08c525a71cecb26e78a3a52602efb40fb968))
* **scorer:** fixed RL_TEST_CONTEXT to RL_SCORER_CONTEXT ([e810958](https://github.com/runloopai/api-client-ts/commit/e810958cdab4b067d91f7a2e3cec481b44a5a7d9))


### Chores

* hide build context APIs ([8ea7bba](https://github.com/runloopai/api-client-ts/commit/8ea7bba5cd9cd9d047091386025965edeb316ab4))
* **internal:** codegen related update ([09eb01d](https://github.com/runloopai/api-client-ts/commit/09eb01ddeb7496eb3badd068dba2fb9c1198fddf))
* **internal:** codegen related update ([83d2d6c](https://github.com/runloopai/api-client-ts/commit/83d2d6cb029c72383fdece53d3850af5416447a1))
* **mounts:** Update documentation for deprecated fields to direct the user to the replacement API ([1e68146](https://github.com/runloopai/api-client-ts/commit/1e6814677b20e12513da0faaa3cd4414a4d3df6e))

## 1.0.0 (2025-12-01)

Full Changelog: [v0.69.0...v1.0.0](https://github.com/runloopai/api-client-ts/compare/v0.69.0...v1.0.0)
Expand Down
2 changes: 0 additions & 2 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@
Types:

- <code><a href="./src/resources/shared.ts">AfterIdle</a></code>
- <code><a href="./src/resources/shared.ts">AgentMountParameters</a></code>
- <code><a href="./src/resources/shared.ts">AgentSource</a></code>
- <code><a href="./src/resources/shared.ts">CodeMountParameters</a></code>
- <code><a href="./src/resources/shared.ts">LaunchParameters</a></code>
- <code><a href="./src/resources/shared.ts">Mount</a></code>
- <code><a href="./src/resources/shared.ts">ObjectMountParameters</a></code>
- <code><a href="./src/resources/shared.ts">RunProfile</a></code>

# Benchmarks
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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": "1.0.0",
"version": "1.1.0",
"description": "The official TypeScript library for the Runloop API",
"author": "Runloop <support@runloop.ai>",
"types": "dist/sdk.d.ts",
Expand Down
2 changes: 0 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -590,12 +590,10 @@ export declare namespace Runloop {
};

export type AfterIdle = API.AfterIdle;
export type AgentMountParameters = API.AgentMountParameters;
export type AgentSource = API.AgentSource;
export type CodeMountParameters = API.CodeMountParameters;
export type LaunchParameters = API.LaunchParameters;
export type Mount = API.Mount;
export type ObjectMountParameters = API.ObjectMountParameters;
export type RunProfile = API.RunProfile;
}

Expand Down
20 changes: 20 additions & 0 deletions src/resources/agents.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ export interface AgentCreateParameters {
*/
name: string;

/**
* The version of the Agent. Must be a semver string (e.g., '2.0.65') or a SHA.
*/
version: string;

/**
* The source configuration for the Agent.
*/
Expand Down Expand Up @@ -107,6 +112,11 @@ export interface AgentView {
*/
name: string;

/**
* The version of the Agent. A semver string (e.g., '2.0.65') or a SHA.
*/
version: string;

/**
* The source configuration for the Agent.
*/
Expand All @@ -119,6 +129,11 @@ export interface AgentCreateParams {
*/
name: string;

/**
* The version of the Agent. Must be a semver string (e.g., '2.0.65') or a SHA.
*/
version: string;

/**
* The source configuration for the Agent.
*/
Expand All @@ -140,6 +155,11 @@ export interface AgentListParams extends AgentsCursorIDPageParams {
* Search by agent ID or name.
*/
search?: string;

/**
* Filter by version. Use 'latest' to get the most recently created agent.
*/
version?: string;
}

Agents.AgentViewsAgentsCursorIDPage = AgentViewsAgentsCursorIDPage;
Expand Down
9 changes: 7 additions & 2 deletions src/resources/benchmarks/benchmarks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -405,11 +405,16 @@ export interface BenchmarkUpdateParams {
scenario_ids?: Array<string> | null;
}

export interface BenchmarkListParams extends BenchmarksCursorIDPageParams {}
export interface BenchmarkListParams extends BenchmarksCursorIDPageParams {
/**
* Filter by name
*/
name?: string;
}

export interface BenchmarkDefinitionsParams {
/**
* The limit of items to return. Default is 20.
* The limit of items to return. Default is 20. Max is 5000.
*/
limit?: number;

Expand Down
5 changes: 5 additions & 0 deletions src/resources/benchmarks/runs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,11 @@ export interface RunListParams extends BenchmarkRunsCursorIDPageParams {
* The Benchmark ID to filter by.
*/
benchmark_id?: string;

/**
* Filter by name
*/
name?: string;
}

export interface RunListScenarioRunsParams extends BenchmarkRunsCursorIDPageParams {
Expand Down
70 changes: 10 additions & 60 deletions src/resources/blueprints.ts
Original file line number Diff line number Diff line change
Expand Up @@ -348,14 +348,6 @@ export interface BlueprintBuildParameters {
*/
metadata?: { [key: string]: string } | null;

/**
* (Optional) Map of named build contexts to attach to the Blueprint build, where
* the keys are the name used when referencing the contexts in a Dockerfile. See
* Docker buildx additional contexts for details:
* https://docs.docker.com/reference/cli/docker/buildx/build/#build-context
*/
named_build_contexts?: { [key: string]: BlueprintBuildParameters.NamedBuildContexts } | null;

/**
* (Optional) Map of mount IDs/environment variable names to secret names. Secrets
* will be available to commands during the build. Secrets are NOT stored in the
Expand Down Expand Up @@ -390,18 +382,6 @@ export namespace BlueprintBuildParameters {
type: 'object';
}

/**
* A build context backed by an Object.
*/
export interface NamedBuildContexts {
/**
* The ID of an object, whose contents are to be used as a build context.
*/
object_id: string;

type: 'object';
}

export interface Service {
/**
* The image of the container service.
Expand Down Expand Up @@ -670,14 +650,6 @@ export interface BlueprintCreateParams {
*/
metadata?: { [key: string]: string } | null;

/**
* (Optional) Map of named build contexts to attach to the Blueprint build, where
* the keys are the name used when referencing the contexts in a Dockerfile. See
* Docker buildx additional contexts for details:
* https://docs.docker.com/reference/cli/docker/buildx/build/#build-context
*/
named_build_contexts?: { [key: string]: BlueprintCreateParams.NamedBuildContexts } | null;

/**
* (Optional) Map of mount IDs/environment variable names to secret names. Secrets
* will be available to commands during the build. Secrets are NOT stored in the
Expand Down Expand Up @@ -712,18 +684,6 @@ export namespace BlueprintCreateParams {
type: 'object';
}

/**
* A build context backed by an Object.
*/
export interface NamedBuildContexts {
/**
* The ID of an object, whose contents are to be used as a build context.
*/
object_id: string;

type: 'object';
}

export interface Service {
/**
* The image of the container service.
Expand Down Expand Up @@ -780,6 +740,11 @@ export interface BlueprintListParams extends BlueprintsCursorIDPageParams {
* Filter by name
*/
name?: string;

/**
* Filter by build status (queued, provisioning, building, failed, build_complete)
*/
status?: string;
}

export interface BlueprintCreateFromInspectionParams {
Expand Down Expand Up @@ -828,6 +793,11 @@ export interface BlueprintListPublicParams extends BlueprintsCursorIDPageParams
* Filter by name
*/
name?: string;

/**
* Filter by build status (queued, provisioning, building, failed, build_complete)
*/
status?: string;
}

export interface BlueprintPreviewParams {
Expand Down Expand Up @@ -885,14 +855,6 @@ export interface BlueprintPreviewParams {
*/
metadata?: { [key: string]: string } | null;

/**
* (Optional) Map of named build contexts to attach to the Blueprint build, where
* the keys are the name used when referencing the contexts in a Dockerfile. See
* Docker buildx additional contexts for details:
* https://docs.docker.com/reference/cli/docker/buildx/build/#build-context
*/
named_build_contexts?: { [key: string]: BlueprintPreviewParams.NamedBuildContexts } | null;

/**
* (Optional) Map of mount IDs/environment variable names to secret names. Secrets
* will be available to commands during the build. Secrets are NOT stored in the
Expand Down Expand Up @@ -927,18 +889,6 @@ export namespace BlueprintPreviewParams {
type: 'object';
}

/**
* A build context backed by an Object.
*/
export interface NamedBuildContexts {
/**
* The ID of an object, whose contents are to be used as a build context.
*/
object_id: string;

type: 'object';
}

export interface Service {
/**
* The image of the container service.
Expand Down
9 changes: 7 additions & 2 deletions src/resources/devboxes/devboxes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -865,6 +865,11 @@ export interface DevboxCreateSSHKeyResponse {
*/
ssh_private_key: string;

/**
* The Linux user to use for SSH connections to this Devbox.
*/
ssh_user: string;

/**
* The host url of the Devbox that can be used for SSH.
*/
Expand Down Expand Up @@ -897,7 +902,7 @@ export interface DevboxCreateParams {
blueprint_name?: string | null;

/**
* A list of code mounts to be included in the Devbox.
* A list of code mounts to be included in the Devbox. Use mounts instead.
*/
code_mounts?: Array<Shared.CodeMountParameters> | null;

Expand All @@ -914,7 +919,7 @@ export interface DevboxCreateParams {
environment_variables?: { [key: string]: string } | null;

/**
* (Optional) Map of paths and file contents to write before setup..
* Map of paths and file contents to write before setup. Use mounts instead.
*/
file_mounts?: { [key: string]: string } | null;

Expand Down
15 changes: 15 additions & 0 deletions src/resources/scenarios/runs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,25 @@ export class Runs extends APIResource {
}

export interface RunListParams extends BenchmarkRunsCursorIDPageParams {
/**
* Filter by benchmark run ID
*/
benchmark_run_id?: string;

/**
* Filter by name
*/
name?: string;

/**
* Filter runs associated to Scenario given ID
*/
scenario_id?: string;

/**
* Filter by state
*/
state?: string;
}

export declare namespace Runs {
Expand Down
5 changes: 5 additions & 0 deletions src/resources/scenarios/scenarios.ts
Original file line number Diff line number Diff line change
Expand Up @@ -799,6 +799,11 @@ export interface ScenarioListParams extends ScenariosCursorIDPageParams {
* Query for Scenarios with a given name.
*/
name?: string;

/**
* Filter by validation type
*/
validation_type?: string;
}

export interface ScenarioListPublicParams extends ScenariosCursorIDPageParams {
Expand Down
Loading
Loading