diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4e0dd560b..afb9f631f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,7 @@ jobs: lint: timeout-minutes: 10 name: lint - runs-on: ${{ github.repository == 'stainless-sdks/runloop-node' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }} + runs-on: ${{ startsWith(github.repository, 'stainless-sdks/') && 'depot-ubuntu-24.04' || 'ubuntu-latest' }} if: (github.event_name == 'push' || github.event.pull_request.head.repo.fork) && (github.event_name != 'push' || github.event.head_commit.message != 'codegen metadata') steps: - uses: runloopai/checkout@main @@ -42,7 +42,7 @@ jobs: build: timeout-minutes: 5 name: build - runs-on: ${{ github.repository == 'stainless-sdks/runloop-node' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }} + runs-on: ${{ startsWith(github.repository, 'stainless-sdks/') && 'depot-ubuntu-24.04' || 'ubuntu-latest' }} if: (github.event_name == 'push' || github.event.pull_request.head.repo.fork) && (github.event_name != 'push' || github.event.head_commit.message != 'codegen metadata') permissions: contents: read @@ -93,7 +93,7 @@ jobs: test: timeout-minutes: 10 name: test - runs-on: ${{ github.repository == 'stainless-sdks/runloop-node' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }} + runs-on: ${{ startsWith(github.repository, 'stainless-sdks/') && 'depot-ubuntu-24.04' || 'ubuntu-latest' }} if: github.event_name == 'push' || github.event.pull_request.head.repo.fork steps: - uses: runloopai/checkout@main diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 0c6b0698c..f97891a67 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.25.0" + ".": "1.26.0" } diff --git a/.stats.yml b/.stats.yml index 3b0452793..4e9c9d433 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 119 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runloop-ai/runloop-99b4be5cc4cd6f2e1cfd71d5a9ec5409dd9293fe6084833da76f178010bfdcab.yml -openapi_spec_hash: 4760825b37e131da53c88bf893b60937 -config_hash: 9f32651e6269089b5d6c33594b992232 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runloop-ai/runloop-0b7cd0c2fc193b18189cd7f44cf45ece7726b5d485fb72577f7d235266432ea0.yml +openapi_spec_hash: 78c340dbfb9d3d58b24ef318fc2a657b +config_hash: 218b8d25038e627faab98532392ee9a0 diff --git a/CHANGELOG.md b/CHANGELOG.md index 3985fb9b0..4daafd6b0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,22 @@ # Changelog +## 1.26.0 (2026-07-22) + +Full Changelog: [v1.25.0...v1.26.0](https://github.com/runloopai/api-client-ts/compare/v1.25.0...v1.26.0) + +### Features + +* **api:** add codex broker mount protocol and axon attach enum value ([#10186](https://github.com/runloopai/api-client-ts/issues/10186)) ([113c92b](https://github.com/runloopai/api-client-ts/commit/113c92b26df3a3f1846583afa1558da3bb3a1f22)) +* **devbox:** rename scheduled -> queued ([#10217](https://github.com/runloopai/api-client-ts/issues/10217)) ([6b3e488](https://github.com/runloopai/api-client-ts/commit/6b3e4881fb713efe154a12c3a79b1e905b7e1925)) +* **mux:** expose CIDR egress rules on the network policy API ([#10269](https://github.com/runloopai/api-client-ts/issues/10269)) ([ec9fef0](https://github.com/runloopai/api-client-ts/commit/ec9fef0d1424671cc377fc0456e62461036c37ac)) +* **network:** add allow_runloop_mirrors egress flag to network policies ([#10350](https://github.com/runloopai/api-client-ts/issues/10350)) ([45d2036](https://github.com/runloopai/api-client-ts/commit/45d20369b986e19e696dccbd551aec78a40039aa)) +* **stlc:** configurable CI runner and private-production-repo support in workflow templates ([9e8ca6e](https://github.com/runloopai/api-client-ts/commit/9e8ca6e3d68602fdbfe738f926bb962ae536ebd7)) + + +### Bug Fixes + +* **mux:** uniform id/name search across list endpoints, close cross-tenant IDOR ([#10267](https://github.com/runloopai/api-client-ts/issues/10267)) ([70e6a27](https://github.com/runloopai/api-client-ts/commit/70e6a27a76ddd29494cf69b881702e3a9ad112d7)) + ## 1.25.0 (2026-07-10) Full Changelog: [v1.24.1...v1.25.0](https://github.com/runloopai/api-client-ts/compare/v1.24.1...v1.25.0) diff --git a/api.md b/api.md index ef13ed454..38fb50a45 100644 --- a/api.md +++ b/api.md @@ -364,10 +364,12 @@ Methods: Types: +- AllowedCidr - NetworkPolicyCreateParameters - NetworkPolicyListView - NetworkPolicyUpdateParameters - NetworkPolicyView +- PortRule Methods: diff --git a/package.json b/package.json index 4253280a3..f69fc5911 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@runloop/api-client", - "version": "1.25.0", + "version": "1.26.0", "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 3017f14ff..f5194782b 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.25.0", + "version": "1.26.0", "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 a0dd9cbb4..532a609fe 100644 --- a/packages/mcp-server/package.json +++ b/packages/mcp-server/package.json @@ -1,6 +1,6 @@ { "name": "@runloop/api-client-mcp", - "version": "1.25.0", + "version": "1.26.0", "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 e92463335..c494e9f2d 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.25.0', + version: '1.26.0', }, { instructions: await getInstructions(stainlessApiKey), diff --git a/src/index.ts b/src/index.ts index 4fb59c092..0aeaca948 100644 --- a/src/index.ts +++ b/src/index.ts @@ -124,6 +124,7 @@ import { McpConfigs, } from './resources/mcp-configs'; import { + AllowedCidr, NetworkPolicies, NetworkPolicyCreateParameters, NetworkPolicyCreateParams, @@ -134,6 +135,7 @@ import { NetworkPolicyUpdateParams, NetworkPolicyView, NetworkPolicyViewsNetworkPoliciesCursorIDPage, + PortRule, } from './resources/network-policies'; import { ObjectCompleteParams, @@ -769,10 +771,12 @@ export declare namespace Runloop { export { NetworkPolicies as NetworkPolicies, + type AllowedCidr as AllowedCidr, type NetworkPolicyCreateParameters as NetworkPolicyCreateParameters, type NetworkPolicyListView as NetworkPolicyListView, type NetworkPolicyUpdateParameters as NetworkPolicyUpdateParameters, type NetworkPolicyView as NetworkPolicyView, + type PortRule as PortRule, NetworkPolicyViewsNetworkPoliciesCursorIDPage as NetworkPolicyViewsNetworkPoliciesCursorIDPage, type NetworkPolicyCreateParams as NetworkPolicyCreateParams, type NetworkPolicyUpdateParams as NetworkPolicyUpdateParams, diff --git a/src/resources/axons/axons.ts b/src/resources/axons/axons.ts index 9669b8de6..b674680e7 100644 --- a/src/resources/axons/axons.ts +++ b/src/resources/axons/axons.ts @@ -243,6 +243,11 @@ export interface AxonListParams extends AxonsCursorIDPageParams { * Filter by axon name (prefix match supported). */ name?: string; + + /** + * Search by axon ID or name. + */ + search?: string; } export interface AxonPublishParams { diff --git a/src/resources/benchmark-jobs.ts b/src/resources/benchmark-jobs.ts index e6682f027..702c3c4b3 100644 --- a/src/resources/benchmark-jobs.ts +++ b/src/resources/benchmark-jobs.ts @@ -993,6 +993,11 @@ export interface BenchmarkJobListParams { */ name?: string; + /** + * Search by benchmark job ID or name. + */ + search?: string; + /** * Load the next page of data starting after the item with the given ID. */ diff --git a/src/resources/benchmark-runs.ts b/src/resources/benchmark-runs.ts index 123c40ae3..973012d71 100644 --- a/src/resources/benchmark-runs.ts +++ b/src/resources/benchmark-runs.ts @@ -177,6 +177,11 @@ export interface BenchmarkRunListParams extends BenchmarkRunsCursorIDPageParams */ name?: string; + /** + * Search by benchmark run ID or name. + */ + search?: string; + /** * Filter by state */ @@ -190,6 +195,11 @@ export interface BenchmarkRunListScenarioRunsParams extends BenchmarkRunsCursorI */ include_total_count?: boolean; + /** + * Search by scenario run ID or name. + */ + search?: string; + /** * Filter by Scenario Run state */ diff --git a/src/resources/benchmarks.ts b/src/resources/benchmarks.ts index 19b8f5caf..e3ef90185 100644 --- a/src/resources/benchmarks.ts +++ b/src/resources/benchmarks.ts @@ -427,6 +427,11 @@ export interface BenchmarkListParams extends BenchmarksCursorIDPageParams { * Filter by name */ name?: string; + + /** + * Search by benchmark ID or name. + */ + search?: string; } export interface BenchmarkDefinitionsParams { @@ -447,6 +452,16 @@ export interface BenchmarkListPublicParams extends BenchmarksCursorIDPageParams * the count query for better performance on large datasets. */ include_total_count?: boolean; + + /** + * Filter by name + */ + name?: string; + + /** + * Search by benchmark ID or name. + */ + search?: string; } export interface BenchmarkStartRunParams { diff --git a/src/resources/devboxes/devboxes.ts b/src/resources/devboxes/devboxes.ts index ca9a2a0c9..d413e7ff2 100644 --- a/src/resources/devboxes/devboxes.ts +++ b/src/resources/devboxes/devboxes.ts @@ -852,6 +852,7 @@ export interface DevboxView { */ status: | 'scheduled' + | 'queued' | 'provisioning' | 'initializing' | 'running' @@ -941,8 +942,9 @@ export namespace DevboxView { /** * The status of the Devbox. * - * scheduled: The Devbox is scheduled to run but infrastructure allocation has not - * started yet. provisioning: Runloop is allocating and booting the necessary + * scheduled: Deprecated. The Devbox is waiting for infrastructure allocation to + * start. Use queued. queued: The Devbox is waiting for infrastructure allocation + * to start. provisioning: Runloop is allocating and booting the necessary * infrastructure resources. initializing: Runloop defined boot scripts are running * to enable the environment for interaction. running: The Devbox is ready for * interaction. suspending: The Devbox disk is being snapshotted as part of @@ -954,6 +956,7 @@ export namespace DevboxView { */ status?: | 'scheduled' + | 'queued' | 'provisioning' | 'initializing' | 'running' @@ -1280,6 +1283,7 @@ export interface DevboxListParams extends DevboxesCursorIDPageParams { */ status?: | 'scheduled' + | 'queued' | 'provisioning' | 'initializing' | 'running' diff --git a/src/resources/gateway-configs.ts b/src/resources/gateway-configs.ts index 19376c459..69d77e1cc 100644 --- a/src/resources/gateway-configs.ts +++ b/src/resources/gateway-configs.ts @@ -348,6 +348,11 @@ export interface GatewayConfigListParams extends GatewayConfigsCursorIDPageParam * Filter by name (partial match supported). */ name?: string; + + /** + * Search by gateway config ID or name. + */ + search?: string; } export interface GatewayConfigDeleteParams {} diff --git a/src/resources/index.ts b/src/resources/index.ts index d1aab80b1..5e4e2439d 100644 --- a/src/resources/index.ts +++ b/src/resources/index.ts @@ -147,10 +147,12 @@ export { export { NetworkPolicyViewsNetworkPoliciesCursorIDPage, NetworkPolicies, + type AllowedCidr, type NetworkPolicyCreateParameters, type NetworkPolicyListView, type NetworkPolicyUpdateParameters, type NetworkPolicyView, + type PortRule, type NetworkPolicyCreateParams, type NetworkPolicyUpdateParams, type NetworkPolicyListParams, diff --git a/src/resources/mcp-configs.ts b/src/resources/mcp-configs.ts index 4b1aead02..705a7a6a0 100644 --- a/src/resources/mcp-configs.ts +++ b/src/resources/mcp-configs.ts @@ -254,6 +254,11 @@ export interface McpConfigListParams extends McpConfigsCursorIDPageParams { * Filter by name (prefix match supported). */ name?: string; + + /** + * Search by MCP config ID or name. + */ + search?: string; } export interface McpConfigDeleteParams {} diff --git a/src/resources/network-policies.ts b/src/resources/network-policies.ts index c603116b0..fdf8ad8ae 100644 --- a/src/resources/network-policies.ts +++ b/src/resources/network-policies.ts @@ -3,6 +3,7 @@ import { APIResource } from '../resource'; import { isRequestOptions } from '../core'; import * as Core from '../core'; +import * as NetworkPoliciesAPI from './network-policies'; import { NetworkPoliciesCursorIDPage, type NetworkPoliciesCursorIDPageParams } from '../pagination'; export class NetworkPolicies extends APIResource { @@ -78,6 +79,22 @@ export class NetworkPolicies extends APIResource { export class NetworkPolicyViewsNetworkPoliciesCursorIDPage extends NetworkPoliciesCursorIDPage {} +/** + * A CIDR-based egress allow rule with optional port restrictions. + */ +export interface AllowedCidr { + /** + * IPv4 CIDR block in canonical form (host bits zero), e.g. '10.12.0.0/16'. + */ + cidr: string; + + /** + * (Optional) Ports allowed for this CIDR. Empty or omitted means all ports and + * protocols. + */ + ports?: Array | null; +} + /** * Parameters required to create a new NetworkPolicy. */ @@ -113,6 +130,19 @@ export interface NetworkPolicyCreateParameters { */ allow_mcp_gateway?: boolean | null; + /** + * (Optional) If true, allows devbox egress to Runloop's package/image registry + * mirrors. Defaults to false. Implicitly allowed when allow_all is true. + */ + allow_runloop_mirrors?: boolean | null; + + /** + * (Optional) IPv4 CIDR-based allow list with optional port restrictions, additive + * with allowed_hostnames. Example: [{'cidr': '10.12.0.0/16', 'ports': [{'port': + * 443}]}]. + */ + allowed_cidrs?: Array | null; + /** * (Optional) DNS-based allow list with wildcard support. Examples: ['github.com', * '*.npmjs.org']. @@ -169,6 +199,18 @@ export interface NetworkPolicyUpdateParameters { */ allow_mcp_gateway?: boolean | null; + /** + * If true, allows devbox egress to Runloop's package/image registry mirrors. + * Implicitly allowed when allow_all is true. + */ + allow_runloop_mirrors?: boolean | null; + + /** + * Updated IPv4 CIDR-based allow list with optional port restrictions, additive + * with allowed_hostnames. + */ + allowed_cidrs?: Array | null; + /** * Updated DNS-based allow list with wildcard support. Examples: ['github.com', * '*.npmjs.org']. @@ -248,6 +290,18 @@ export namespace NetworkPolicyView { */ allow_mcp_gateway: boolean; + /** + * If true, allows devbox egress to Runloop's package/image registry mirrors. + * Implicitly allowed when allow_all is true. + */ + allow_runloop_mirrors: boolean; + + /** + * CIDR-based allow list with optional port restrictions, additive with + * allowed_hostnames. + */ + allowed_cidrs: Array; + /** * DNS-based allow list with wildcard support. Examples: ['github.com', * '*.npmjs.org', 'api.openai.com']. Empty list with allow_all=false means no @@ -257,6 +311,26 @@ export namespace NetworkPolicyView { } } +/** + * A port or port range allowed for a CIDR egress rule. + */ +export interface PortRule { + /** + * The allowed port (1-65535), or the start of a port range. + */ + port: number; + + /** + * (Optional) Inclusive end of the port range (port-65535). Omit for a single port. + */ + end_port?: number | null; + + /** + * L4 protocol for a port rule. + */ + protocol?: 'TCP' | 'UDP' | null; +} + export interface NetworkPolicyCreateParams { /** * The human-readable name for the NetworkPolicy. Must be unique within the @@ -289,6 +363,19 @@ export interface NetworkPolicyCreateParams { */ allow_mcp_gateway?: boolean | null; + /** + * (Optional) If true, allows devbox egress to Runloop's package/image registry + * mirrors. Defaults to false. Implicitly allowed when allow_all is true. + */ + allow_runloop_mirrors?: boolean | null; + + /** + * (Optional) IPv4 CIDR-based allow list with optional port restrictions, additive + * with allowed_hostnames. Example: [{'cidr': '10.12.0.0/16', 'ports': [{'port': + * 443}]}]. + */ + allowed_cidrs?: Array | null; + /** * (Optional) DNS-based allow list with wildcard support. Examples: ['github.com', * '*.npmjs.org']. @@ -322,6 +409,18 @@ export interface NetworkPolicyUpdateParams { */ allow_mcp_gateway?: boolean | null; + /** + * If true, allows devbox egress to Runloop's package/image registry mirrors. + * Implicitly allowed when allow_all is true. + */ + allow_runloop_mirrors?: boolean | null; + + /** + * Updated IPv4 CIDR-based allow list with optional port restrictions, additive + * with allowed_hostnames. + */ + allowed_cidrs?: Array | null; + /** * Updated DNS-based allow list with wildcard support. Examples: ['github.com', * '*.npmjs.org']. @@ -355,6 +454,11 @@ export interface NetworkPolicyListParams extends NetworkPoliciesCursorIDPagePara * Filter by name (partial match supported). */ name?: string; + + /** + * Search by network policy ID or name. + */ + search?: string; } export interface NetworkPolicyDeleteParams {} @@ -363,10 +467,12 @@ NetworkPolicies.NetworkPolicyViewsNetworkPoliciesCursorIDPage = NetworkPolicyVie export declare namespace NetworkPolicies { export { + type AllowedCidr as AllowedCidr, type NetworkPolicyCreateParameters as NetworkPolicyCreateParameters, type NetworkPolicyListView as NetworkPolicyListView, type NetworkPolicyUpdateParameters as NetworkPolicyUpdateParameters, type NetworkPolicyView as NetworkPolicyView, + type PortRule as PortRule, NetworkPolicyViewsNetworkPoliciesCursorIDPage as NetworkPolicyViewsNetworkPoliciesCursorIDPage, type NetworkPolicyCreateParams as NetworkPolicyCreateParams, type NetworkPolicyUpdateParams as NetworkPolicyUpdateParams, diff --git a/src/resources/scenarios/runs.ts b/src/resources/scenarios/runs.ts index 90a1e921a..1ec57dd73 100644 --- a/src/resources/scenarios/runs.ts +++ b/src/resources/scenarios/runs.ts @@ -158,6 +158,11 @@ export interface RunListParams extends BenchmarkRunsCursorIDPageParams { */ scenario_id?: string; + /** + * Search by scenario run ID or name. + */ + search?: string; + /** * Filter by state */ diff --git a/src/resources/scenarios/scenarios.ts b/src/resources/scenarios/scenarios.ts index 9b4e2b6a1..889b3f229 100644 --- a/src/resources/scenarios/scenarios.ts +++ b/src/resources/scenarios/scenarios.ts @@ -854,6 +854,11 @@ export interface ScenarioListParams extends ScenariosCursorIDPageParams { */ name?: string; + /** + * Search by scenario ID or name. + */ + search?: string; + /** * Filter by validation type */ @@ -871,6 +876,11 @@ export interface ScenarioListPublicParams extends ScenariosCursorIDPageParams { * Query for Scenarios with a given name. */ name?: string; + + /** + * Search by scenario ID or name. + */ + search?: string; } export interface ScenarioStartRunParams { diff --git a/src/resources/scenarios/scorers.ts b/src/resources/scenarios/scorers.ts index 3bcc01c87..0dc5905a4 100644 --- a/src/resources/scenarios/scorers.ts +++ b/src/resources/scenarios/scorers.ts @@ -169,6 +169,11 @@ export interface ScorerListParams extends ScenarioScorersCursorIDPageParams { * the count query for better performance on large datasets. */ include_total_count?: boolean; + + /** + * Search by scenario scorer ID or type. + */ + search?: string; } Scorers.ScorerListResponsesScenarioScorersCursorIDPage = ScorerListResponsesScenarioScorersCursorIDPage; diff --git a/src/resources/shared.ts b/src/resources/shared.ts index d013011be..9e83d3071 100644 --- a/src/resources/shared.ts +++ b/src/resources/shared.ts @@ -162,20 +162,20 @@ export interface BrokerMount { /** * Binary to launch the agent (e.g., 'opencode'). Used by protocols that launch a - * subprocess (acp, claude_json). + * subprocess (acp, claude_json, codex_json). */ agent_binary?: string | null; /** * Arguments to pass to the agent command (e.g., ['acp']). Used by protocols that - * launch a subprocess (acp, claude_json). + * launch a subprocess (acp, claude_json, codex_json). */ launch_args?: Array | null; /** * The protocol used by the broker to deliver events to the agent. */ - protocol?: 'acp' | 'claude_json' | null; + protocol?: 'acp' | 'claude_json' | 'codex_json' | null; /** * Working directory in which to launch the agent binary. Defaults to the home diff --git a/src/version.ts b/src/version.ts index 096544b61..a58c5e122 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const VERSION = '1.25.0'; // x-release-please-version +export const VERSION = '1.26.0'; // x-release-please-version diff --git a/tests/api-resources/axons/axons.test.ts b/tests/api-resources/axons/axons.test.ts index 91e7ee27b..c0e97978b 100644 --- a/tests/api-resources/axons/axons.test.ts +++ b/tests/api-resources/axons/axons.test.ts @@ -79,6 +79,7 @@ describe('resource axons', () => { include_total_count: true, limit: 0, name: 'name', + search: 'search', starting_after: 'starting_after', }, { path: '/_stainless_unknown_path' }, diff --git a/tests/api-resources/benchmark-jobs.test.ts b/tests/api-resources/benchmark-jobs.test.ts index 3253a9748..931ec81e4 100644 --- a/tests/api-resources/benchmark-jobs.test.ts +++ b/tests/api-resources/benchmark-jobs.test.ts @@ -84,6 +84,7 @@ describe('resource benchmarkJobs', () => { include_total_count: true, limit: 0, name: 'name', + search: 'search', starting_after: 'starting_after', }, { path: '/_stainless_unknown_path' }, diff --git a/tests/api-resources/benchmark-runs.test.ts b/tests/api-resources/benchmark-runs.test.ts index 1d4f7157d..a214534c4 100644 --- a/tests/api-resources/benchmark-runs.test.ts +++ b/tests/api-resources/benchmark-runs.test.ts @@ -54,6 +54,7 @@ describe('resource benchmarkRuns', () => { include_total_count: true, limit: 0, name: 'name', + search: 'search', starting_after: 'starting_after', state: 'state', }, @@ -124,6 +125,7 @@ describe('resource benchmarkRuns', () => { { include_total_count: true, limit: 0, + search: 'search', starting_after: 'starting_after', state: 'running', }, diff --git a/tests/api-resources/benchmarks.test.ts b/tests/api-resources/benchmarks.test.ts index dff733b95..f0c9ddbb9 100644 --- a/tests/api-resources/benchmarks.test.ts +++ b/tests/api-resources/benchmarks.test.ts @@ -113,6 +113,7 @@ describe('resource benchmarks', () => { include_total_count: true, limit: 0, name: 'name', + search: 'search', starting_after: 'starting_after', }, { path: '/_stainless_unknown_path' }, @@ -174,6 +175,8 @@ describe('resource benchmarks', () => { { include_total_count: true, limit: 0, + name: 'name', + search: 'search', starting_after: 'starting_after', }, { path: '/_stainless_unknown_path' }, diff --git a/tests/api-resources/gateway-configs.test.ts b/tests/api-resources/gateway-configs.test.ts index de7938812..18f0eac1a 100644 --- a/tests/api-resources/gateway-configs.test.ts +++ b/tests/api-resources/gateway-configs.test.ts @@ -112,6 +112,7 @@ describe('resource gatewayConfigs', () => { include_total_count: true, limit: 0, name: 'name', + search: 'search', starting_after: 'starting_after', }, { path: '/_stainless_unknown_path' }, diff --git a/tests/api-resources/mcp-configs.test.ts b/tests/api-resources/mcp-configs.test.ts index 76455f090..8f37db19f 100644 --- a/tests/api-resources/mcp-configs.test.ts +++ b/tests/api-resources/mcp-configs.test.ts @@ -112,6 +112,7 @@ describe('resource mcpConfigs', () => { include_total_count: true, limit: 0, name: 'name', + search: 'search', starting_after: 'starting_after', }, { path: '/_stainless_unknown_path' }, diff --git a/tests/api-resources/network-policies.test.ts b/tests/api-resources/network-policies.test.ts index e36f224dc..3e08558dd 100644 --- a/tests/api-resources/network-policies.test.ts +++ b/tests/api-resources/network-policies.test.ts @@ -27,6 +27,19 @@ describe('resource networkPolicies', () => { allow_all: true, allow_devbox_to_devbox: true, allow_mcp_gateway: true, + allow_runloop_mirrors: true, + allowed_cidrs: [ + { + cidr: 'cidr', + ports: [ + { + port: 0, + end_port: 0, + protocol: 'TCP', + }, + ], + }, + ], allowed_hostnames: ['string'], description: 'description', }); @@ -78,6 +91,19 @@ describe('resource networkPolicies', () => { allow_all: true, allow_devbox_to_devbox: true, allow_mcp_gateway: true, + allow_runloop_mirrors: true, + allowed_cidrs: [ + { + cidr: 'cidr', + ports: [ + { + port: 0, + end_port: 0, + protocol: 'TCP', + }, + ], + }, + ], allowed_hostnames: ['string'], description: 'description', name: 'name', @@ -114,6 +140,7 @@ describe('resource networkPolicies', () => { include_total_count: true, limit: 0, name: 'name', + search: 'search', starting_after: 'starting_after', }, { path: '/_stainless_unknown_path' }, diff --git a/tests/api-resources/scenarios/runs.test.ts b/tests/api-resources/scenarios/runs.test.ts index 30637f331..69068092b 100644 --- a/tests/api-resources/scenarios/runs.test.ts +++ b/tests/api-resources/scenarios/runs.test.ts @@ -55,6 +55,7 @@ describe('resource runs', () => { limit: 0, name: 'name', scenario_id: 'scenario_id', + search: 'search', starting_after: 'starting_after', state: 'state', }, diff --git a/tests/api-resources/scenarios/scenarios.test.ts b/tests/api-resources/scenarios/scenarios.test.ts index d95821b48..5e7af9e3c 100644 --- a/tests/api-resources/scenarios/scenarios.test.ts +++ b/tests/api-resources/scenarios/scenarios.test.ts @@ -216,6 +216,7 @@ describe('resource scenarios', () => { include_total_count: true, limit: 0, name: 'name', + search: 'search', starting_after: 'starting_after', validation_type: 'validation_type', }, @@ -268,6 +269,7 @@ describe('resource scenarios', () => { include_total_count: true, limit: 0, name: 'name', + search: 'search', starting_after: 'starting_after', }, { path: '/_stainless_unknown_path' }, diff --git a/tests/api-resources/scenarios/scorers.test.ts b/tests/api-resources/scenarios/scorers.test.ts index efd7c0f21..2567008fc 100644 --- a/tests/api-resources/scenarios/scorers.test.ts +++ b/tests/api-resources/scenarios/scorers.test.ts @@ -88,6 +88,7 @@ describe('resource scorers', () => { { include_total_count: true, limit: 0, + search: 'search', starting_after: 'starting_after', }, { path: '/_stainless_unknown_path' },