Skip to content
Open
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.24.1"
".": "1.24.2"
}
8 changes: 4 additions & 4 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 120
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runloop-ai/runloop-8f05915b107d49f4a50f2d83abfa1d7233a685f1d85e02465a218fa5acb55ddd.yml
openapi_spec_hash: 905fa27970b4b7201184df9c63eba3b9
config_hash: ed1fdd7c9f0a25647e16b602bad4ff2e
configured_endpoints: 119
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runloop-ai/runloop-ecbce4f78f1dae890ffe0f5f40f6c98bc8724ce1c7619b07bfa5212d5e33f35d.yml
openapi_spec_hash: eab4f49aa5e325b1ef9facfd24c4c9a5
config_hash: 9f32651e6269089b5d6c33594b992232
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Changelog

## 1.24.2 (2026-06-25)

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

### Bug Fixes

* **blueprints:** remove create_from_inspection endpoint ([d02410b](https://github.com/runloopai/api-client-ts/commit/d02410bc1f2e3e6ff870901f48a1b42f753897ea))


### Documentation

* add agent PR guidance ([#813](https://github.com/runloopai/api-client-ts/issues/813)) ([be107b9](https://github.com/runloopai/api-client-ts/commit/be107b90195bdb1552afcfb1819812b07124a4d0))

## 1.24.1 (2026-06-19)

Full Changelog: [v1.24.0...v1.24.1](https://github.com/runloopai/api-client-ts/compare/v1.24.0...v1.24.1)
Expand Down
3 changes: 0 additions & 3 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,14 +146,12 @@ Methods:

Types:

- <code><a href="./src/resources/blueprints.ts">BlueprintBuildFromInspectionParameters</a></code>
- <code><a href="./src/resources/blueprints.ts">BlueprintBuildLog</a></code>
- <code><a href="./src/resources/blueprints.ts">BlueprintBuildLogsListView</a></code>
- <code><a href="./src/resources/blueprints.ts">BlueprintBuildParameters</a></code>
- <code><a href="./src/resources/blueprints.ts">BlueprintListView</a></code>
- <code><a href="./src/resources/blueprints.ts">BlueprintPreviewView</a></code>
- <code><a href="./src/resources/blueprints.ts">BlueprintView</a></code>
- <code><a href="./src/resources/blueprints.ts">InspectionSource</a></code>
- <code><a href="./src/resources/blueprints.ts">BlueprintDeleteResponse</a></code>

Methods:
Expand All @@ -162,7 +160,6 @@ Methods:
- <code title="get /v1/blueprints/{id}">client.blueprints.<a href="./src/resources/blueprints.ts">retrieve</a>(id) -> BlueprintView</code>
- <code title="get /v1/blueprints">client.blueprints.<a href="./src/resources/blueprints.ts">list</a>({ ...params }) -> BlueprintViewsBlueprintsCursorIDPage</code>
- <code title="post /v1/blueprints/{id}/delete">client.blueprints.<a href="./src/resources/blueprints.ts">delete</a>(id) -> unknown</code>
- <code title="post /v1/blueprints/create_from_inspection">client.blueprints.<a href="./src/resources/blueprints.ts">createFromInspection</a>({ ...params }) -> BlueprintView</code>
- <code title="get /v1/blueprints/list_public">client.blueprints.<a href="./src/resources/blueprints.ts">listPublic</a>({ ...params }) -> BlueprintViewsBlueprintsCursorIDPage</code>
- <code title="get /v1/blueprints/{id}/logs">client.blueprints.<a href="./src/resources/blueprints.ts">logs</a>(id) -> BlueprintBuildLogsListView</code>
- <code title="post /v1/blueprints/preview">client.blueprints.<a href="./src/resources/blueprints.ts">preview</a>({ ...params }) -> BlueprintPreviewView</code>
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": "1.24.1",
"version": "1.24.2",
"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 packages/mcp-server/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"dxt_version": "0.2",
"name": "@runloop/api-client-mcp",
"version": "1.24.1",
"version": "1.24.2",
"description": "The official MCP Server for the Runloop API",
"author": {
"name": "Runloop",
Expand Down
2 changes: 1 addition & 1 deletion packages/mcp-server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@runloop/api-client-mcp",
"version": "1.24.1",
"version": "1.24.2",
"description": "The official MCP Server for the Runloop API",
"author": "Runloop <support@runloop.ai>",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/mcp-server/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export const newMcpServer = async (stainlessApiKey: string | undefined) =>
new McpServer(
{
name: 'runloop_api_client_api',
version: '1.24.1',
version: '1.24.2',
},
{
instructions: await getInstructions(stainlessApiKey),
Expand Down
6 changes: 0 additions & 6 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,9 @@ import {
StartBenchmarkRunParameters,
} from './resources/benchmarks';
import {
BlueprintBuildFromInspectionParameters,
BlueprintBuildLog,
BlueprintBuildLogsListView,
BlueprintBuildParameters,
BlueprintCreateFromInspectionParams,
BlueprintCreateParams,
BlueprintDeleteResponse,
BlueprintListParams,
Expand All @@ -99,7 +97,6 @@ import {
BlueprintView,
BlueprintViewsBlueprintsCursorIDPage,
Blueprints,
InspectionSource,
} from './resources/blueprints';
import {
GatewayConfigCreateParameters,
Expand Down Expand Up @@ -668,19 +665,16 @@ export declare namespace Runloop {

export {
Blueprints as Blueprints,
type BlueprintBuildFromInspectionParameters as BlueprintBuildFromInspectionParameters,
type BlueprintBuildLog as BlueprintBuildLog,
type BlueprintBuildLogsListView as BlueprintBuildLogsListView,
type BlueprintBuildParameters as BlueprintBuildParameters,
type BlueprintListView as BlueprintListView,
type BlueprintPreviewView as BlueprintPreviewView,
type BlueprintView as BlueprintView,
type InspectionSource as InspectionSource,
type BlueprintDeleteResponse as BlueprintDeleteResponse,
BlueprintViewsBlueprintsCursorIDPage as BlueprintViewsBlueprintsCursorIDPage,
type BlueprintCreateParams as BlueprintCreateParams,
type BlueprintListParams as BlueprintListParams,
type BlueprintCreateFromInspectionParams as BlueprintCreateFromInspectionParams,
type BlueprintListPublicParams as BlueprintListPublicParams,
type BlueprintPreviewParams as BlueprintPreviewParams,
};
Expand Down
131 changes: 0 additions & 131 deletions src/resources/blueprints.ts
Original file line number Diff line number Diff line change
Expand Up @@ -169,21 +169,6 @@ export class Blueprints extends APIResource {
return this._client.post(`/v1/blueprints/${id}/delete`, options);
}

/**
* Starts build of custom defined container Blueprint using a RepositoryConnection
* Inspection as a source container specification.
*/
createFromInspection(
body: BlueprintCreateFromInspectionParams,
options?: Core.RequestOptions,
): Core.APIPromise<BlueprintView> {
const errors = validateFileMounts(body?.file_mounts);
if (errors.length > 0) {
throw new Error(errors.join('; '));
}
return this._client.post('/v1/blueprints/create_from_inspection', { body, ...options });
}

/**
* List all public Blueprints that are available to all users.
*/
Expand Down Expand Up @@ -230,55 +215,6 @@ export class Blueprints extends APIResource {

export class BlueprintViewsBlueprintsCursorIDPage extends BlueprintsCursorIDPage<BlueprintView> {}

export interface BlueprintBuildFromInspectionParameters {
/**
* (Optional) Use a RepositoryInspection a source of a Blueprint build. The
* Dockerfile will be automatically created based on the RepositoryInspection
* contents.
*/
inspection_source: InspectionSource;

/**
* Name of the Blueprint.
*/
name: string;

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

/**
* LaunchParameters enable you to customize the resources available to your Devbox
* as well as the environment set up that should be completed before the Devbox is
* marked as 'running'.
*/
launch_parameters?: Shared.LaunchParameters | null;

/**
* (Optional) User defined metadata for the Blueprint.
*/
metadata?: { [key: string]: string } | null;

/**
* (Optional) ID of the network policy to apply during blueprint build. This
* restricts network access during the build process.
*/
network_policy_id?: string | null;

/**
* (Optional) Map of mount IDs/environment variable names to secret names. Secrets
* can be used as environment variables in system_setup_commands. Example:
* {"GITHUB_TOKEN": "gh_secret"} makes 'gh_secret' available as GITHUB_TOKEN.
*/
secrets?: { [key: string]: string } | null;

/**
* A list of commands to run to set up your system.
*/
system_setup_commands?: Array<string> | null;
}

export interface BlueprintBuildLog {
/**
* Log line severity level.
Expand Down Expand Up @@ -609,21 +545,6 @@ export namespace BlueprintView {
}
}

/**
* Use a RepositoryInspection a source of a Blueprint build.
*/
export interface InspectionSource {
/**
* The ID of a repository inspection.
*/
inspection_id: string;

/**
* GitHub authentication token for accessing private repositories.
*/
github_auth_token?: string | null;
}

export type BlueprintDeleteResponse = unknown;

/**
Expand Down Expand Up @@ -800,55 +721,6 @@ export interface BlueprintListParams extends BlueprintsCursorIDPageParams {
status?: string;
}

export interface BlueprintCreateFromInspectionParams {
/**
* (Optional) Use a RepositoryInspection a source of a Blueprint build. The
* Dockerfile will be automatically created based on the RepositoryInspection
* contents.
*/
inspection_source: InspectionSource;

/**
* Name of the Blueprint.
*/
name: string;

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

/**
* LaunchParameters enable you to customize the resources available to your Devbox
* as well as the environment set up that should be completed before the Devbox is
* marked as 'running'.
*/
launch_parameters?: Shared.LaunchParameters | null;

/**
* (Optional) User defined metadata for the Blueprint.
*/
metadata?: { [key: string]: string } | null;

/**
* (Optional) ID of the network policy to apply during blueprint build. This
* restricts network access during the build process.
*/
network_policy_id?: string | null;

/**
* (Optional) Map of mount IDs/environment variable names to secret names. Secrets
* can be used as environment variables in system_setup_commands. Example:
* {"GITHUB_TOKEN": "gh_secret"} makes 'gh_secret' available as GITHUB_TOKEN.
*/
secrets?: { [key: string]: string } | null;

/**
* A list of commands to run to set up your system.
*/
system_setup_commands?: Array<string> | null;
}

export interface BlueprintListPublicParams extends BlueprintsCursorIDPageParams {
/**
* If true (default), includes total_count in the response. Set to false to skip
Expand Down Expand Up @@ -1022,19 +894,16 @@ Blueprints.BlueprintViewsBlueprintsCursorIDPage = BlueprintViewsBlueprintsCursor

export declare namespace Blueprints {
export {
type BlueprintBuildFromInspectionParameters as BlueprintBuildFromInspectionParameters,
type BlueprintBuildLog as BlueprintBuildLog,
type BlueprintBuildLogsListView as BlueprintBuildLogsListView,
type BlueprintBuildParameters as BlueprintBuildParameters,
type BlueprintListView as BlueprintListView,
type BlueprintPreviewView as BlueprintPreviewView,
type BlueprintView as BlueprintView,
type InspectionSource as InspectionSource,
type BlueprintDeleteResponse as BlueprintDeleteResponse,
BlueprintViewsBlueprintsCursorIDPage as BlueprintViewsBlueprintsCursorIDPage,
type BlueprintCreateParams as BlueprintCreateParams,
type BlueprintListParams as BlueprintListParams,
type BlueprintCreateFromInspectionParams as BlueprintCreateFromInspectionParams,
type BlueprintListPublicParams as BlueprintListPublicParams,
type BlueprintPreviewParams as BlueprintPreviewParams,
};
Expand Down
5 changes: 0 additions & 5 deletions src/resources/devboxes/devboxes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1173,11 +1173,6 @@ export interface DevboxCreateParams {
*/
name?: string | null;

/**
* Repository connection id the devbox should source its base image from.
*/
repo_connection_id?: string | null;

/**
* (Optional) Map of environment variable names to secret names. The secret values
* will be securely injected as environment variables in the Devbox. Example:
Expand Down
3 changes: 0 additions & 3 deletions src/resources/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,18 +69,15 @@ export {
export {
BlueprintViewsBlueprintsCursorIDPage,
Blueprints,
type BlueprintBuildFromInspectionParameters,
type BlueprintBuildLog,
type BlueprintBuildLogsListView,
type BlueprintBuildParameters,
type BlueprintListView,
type BlueprintPreviewView,
type BlueprintView,
type InspectionSource,
type BlueprintDeleteResponse,
type BlueprintCreateParams,
type BlueprintListParams,
type BlueprintCreateFromInspectionParams,
type BlueprintListPublicParams,
type BlueprintPreviewParams,
} from './blueprints';
Expand Down
1 change: 0 additions & 1 deletion src/resources/restricted-keys.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ export interface ScopeEntryView {
| 'RESOURCE_TYPE_SNAPSHOTS'
| 'RESOURCE_TYPE_BENCHMARKS'
| 'RESOURCE_TYPE_SCENARIOS'
| 'RESOURCE_TYPE_REPO_CONNECTIONS'
| 'RESOURCE_TYPE_AGENTS'
| 'RESOURCE_TYPE_OBJECTS'
| 'RESOURCE_TYPE_ACCOUNT';
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 = '1.24.1'; // x-release-please-version
export const VERSION = '1.24.2'; // x-release-please-version
Loading