diff --git a/.release-please-manifest.json b/.release-please-manifest.json
index d0f8c0ee4..49a05de9d 100644
--- a/.release-please-manifest.json
+++ b/.release-please-manifest.json
@@ -1,3 +1,3 @@
{
- ".": "1.24.1"
+ ".": "1.24.2"
}
diff --git a/.stats.yml b/.stats.yml
index ed9090410..b43b2a8d0 100644
--- a/.stats.yml
+++ b/.stats.yml
@@ -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
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 623c3c9ff..11fbe691e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -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)
diff --git a/api.md b/api.md
index 942d121a9..ef13ed454 100644
--- a/api.md
+++ b/api.md
@@ -146,14 +146,12 @@ Methods:
Types:
-- BlueprintBuildFromInspectionParameters
- BlueprintBuildLog
- BlueprintBuildLogsListView
- BlueprintBuildParameters
- BlueprintListView
- BlueprintPreviewView
- BlueprintView
-- InspectionSource
- BlueprintDeleteResponse
Methods:
@@ -162,7 +160,6 @@ Methods:
- client.blueprints.retrieve(id) -> BlueprintView
- client.blueprints.list({ ...params }) -> BlueprintViewsBlueprintsCursorIDPage
- client.blueprints.delete(id) -> unknown
-- client.blueprints.createFromInspection({ ...params }) -> BlueprintView
- client.blueprints.listPublic({ ...params }) -> BlueprintViewsBlueprintsCursorIDPage
- client.blueprints.logs(id) -> BlueprintBuildLogsListView
- client.blueprints.preview({ ...params }) -> BlueprintPreviewView
diff --git a/package.json b/package.json
index 8b57914d4..93b9df42d 100644
--- a/package.json
+++ b/package.json
@@ -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 ",
"types": "dist/sdk.d.ts",
diff --git a/packages/mcp-server/manifest.json b/packages/mcp-server/manifest.json
index ac1857220..84d16b1ef 100644
--- a/packages/mcp-server/manifest.json
+++ b/packages/mcp-server/manifest.json
@@ -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",
diff --git a/packages/mcp-server/package.json b/packages/mcp-server/package.json
index b69d6be87..898b0728e 100644
--- a/packages/mcp-server/package.json
+++ b/packages/mcp-server/package.json
@@ -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 ",
"types": "dist/index.d.ts",
diff --git a/packages/mcp-server/src/server.ts b/packages/mcp-server/src/server.ts
index 4698342d0..cfc78b014 100644
--- a/packages/mcp-server/src/server.ts
+++ b/packages/mcp-server/src/server.ts
@@ -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),
diff --git a/src/index.ts b/src/index.ts
index 8e90ae904..2e8dc3fee 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -84,11 +84,9 @@ import {
StartBenchmarkRunParameters,
} from './resources/benchmarks';
import {
- BlueprintBuildFromInspectionParameters,
BlueprintBuildLog,
BlueprintBuildLogsListView,
BlueprintBuildParameters,
- BlueprintCreateFromInspectionParams,
BlueprintCreateParams,
BlueprintDeleteResponse,
BlueprintListParams,
@@ -99,7 +97,6 @@ import {
BlueprintView,
BlueprintViewsBlueprintsCursorIDPage,
Blueprints,
- InspectionSource,
} from './resources/blueprints';
import {
GatewayConfigCreateParameters,
@@ -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,
};
diff --git a/src/resources/blueprints.ts b/src/resources/blueprints.ts
index d492d4eae..f6ed91e77 100644
--- a/src/resources/blueprints.ts
+++ b/src/resources/blueprints.ts
@@ -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 {
- 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.
*/
@@ -230,55 +215,6 @@ export class Blueprints extends APIResource {
export class BlueprintViewsBlueprintsCursorIDPage extends BlueprintsCursorIDPage {}
-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 | null;
-}
-
export interface BlueprintBuildLog {
/**
* Log line severity level.
@@ -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;
/**
@@ -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 | null;
-}
-
export interface BlueprintListPublicParams extends BlueprintsCursorIDPageParams {
/**
* If true (default), includes total_count in the response. Set to false to skip
@@ -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,
};
diff --git a/src/resources/devboxes/devboxes.ts b/src/resources/devboxes/devboxes.ts
index 2a1ba0d36..ca9a2a0c9 100644
--- a/src/resources/devboxes/devboxes.ts
+++ b/src/resources/devboxes/devboxes.ts
@@ -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:
diff --git a/src/resources/index.ts b/src/resources/index.ts
index a1209511b..d1aab80b1 100644
--- a/src/resources/index.ts
+++ b/src/resources/index.ts
@@ -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';
diff --git a/src/resources/restricted-keys.ts b/src/resources/restricted-keys.ts
index f4c77ea83..01fab1e22 100644
--- a/src/resources/restricted-keys.ts
+++ b/src/resources/restricted-keys.ts
@@ -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';
diff --git a/src/version.ts b/src/version.ts
index 3ccbc2e22..b89eef6a5 100644
--- a/src/version.ts
+++ b/src/version.ts
@@ -1 +1 @@
-export const VERSION = '1.24.1'; // x-release-please-version
+export const VERSION = '1.24.2'; // x-release-please-version
diff --git a/tests/api-resources/blueprints.test.ts b/tests/api-resources/blueprints.test.ts
index 4fbe741ba..3de333517 100644
--- a/tests/api-resources/blueprints.test.ts
+++ b/tests/api-resources/blueprints.test.ts
@@ -170,52 +170,6 @@ describe('resource blueprints', () => {
);
});
- test('createFromInspection: only required params', async () => {
- const responsePromise = client.blueprints.createFromInspection({
- inspection_source: { inspection_id: 'inspection_id' },
- name: 'name',
- });
- const rawResponse = await responsePromise.asResponse();
- expect(rawResponse).toBeInstanceOf(Response);
- const response = await responsePromise;
- expect(response).not.toBeInstanceOf(Response);
- const dataAndResponse = await responsePromise.withResponse();
- expect(dataAndResponse.data).toBe(response);
- expect(dataAndResponse.response).toBe(rawResponse);
- });
-
- test('createFromInspection: required and optional params', async () => {
- const response = await client.blueprints.createFromInspection({
- inspection_source: { inspection_id: 'inspection_id', github_auth_token: 'github_auth_token' },
- name: 'name',
- file_mounts: { foo: 'string' },
- launch_parameters: {
- after_idle: { idle_time_seconds: 0, on_idle: 'shutdown' },
- architecture: 'x86_64',
- available_ports: [0],
- custom_cpu_cores: 0,
- custom_disk_size: 0,
- custom_gb_memory: 0,
- keep_alive_time_seconds: 0,
- launch_commands: ['string'],
- lifecycle: {
- after_idle: { idle_time_seconds: 0, on_idle: 'shutdown' },
- lifecycle_hooks: { suspend_commands: ['string'], suspend_deadline_ms: 0 },
- resume_triggers: { axon_event: true, http: true },
- },
- network_policy_id: 'network_policy_id',
- provisioning_tier: 'standard',
- required_services: ['string'],
- resource_size_request: 'X_SMALL',
- user_parameters: { uid: 0, username: 'username' },
- },
- metadata: { foo: 'string' },
- network_policy_id: 'network_policy_id',
- secrets: { foo: 'string' },
- system_setup_commands: ['string'],
- });
- });
-
test('listPublic', async () => {
const responsePromise = client.blueprints.listPublic();
const rawResponse = await responsePromise.asResponse();
diff --git a/tests/api-resources/devboxes/devboxes.test.ts b/tests/api-resources/devboxes/devboxes.test.ts
index b7142c793..fdd846d80 100644
--- a/tests/api-resources/devboxes/devboxes.test.ts
+++ b/tests/api-resources/devboxes/devboxes.test.ts
@@ -78,7 +78,6 @@ describe('resource devboxes', () => {
},
],
name: 'name',
- repo_connection_id: 'repo_connection_id',
secrets: { foo: 'string' },
snapshot_id: 'snapshot_id',
tunnel: {