Skip to content

Commit d93d0b8

Browse files
feat(mux): initial changes to enable http/2 (#8936)
1 parent fe5ee96 commit d93d0b8

8 files changed

Lines changed: 138 additions & 97 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 119
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runloop-ai/runloop-50d17fb0253accc4643a285686d99f3d7eb5eb715c6814a9c9625c15575a91de.yml
3-
openapi_spec_hash: 84a07dce1d08bb779058b3f282a78e8b
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runloop-ai/runloop-3ed5d8482ad69c2c52b9387f0c16e9a5053115b6e4c64ff59a32a0ab3498d7e2.yml
3+
openapi_spec_hash: b48f3fb201ee657d669d937ca92c55bf
44
config_hash: 444e00951b440bf92e7548b2807584a4

src/resources/agents.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export interface AgentCreateParameters {
9090
name: string;
9191

9292
/**
93-
* The source configuration for the Agent.
93+
* Agent source configuration.
9494
*/
9595
source?: Shared.AgentSource | null;
9696

@@ -166,7 +166,7 @@ export interface AgentView {
166166
name: string;
167167

168168
/**
169-
* The source configuration for the Agent.
169+
* Agent source configuration.
170170
*/
171171
source?: Shared.AgentSource | null;
172172

@@ -192,7 +192,7 @@ export interface AgentCreateParams {
192192
name: string;
193193

194194
/**
195-
* The source configuration for the Agent.
195+
* Agent source configuration.
196196
*/
197197
source?: Shared.AgentSource | null;
198198

src/resources/benchmark-jobs.ts

Lines changed: 26 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,7 @@ export namespace BenchmarkJobCreateParameters {
9797
type: 'benchmark';
9898

9999
/**
100-
* Orchestrator configuration (optional overrides). If not provided, default values
101-
* will be used.
100+
* Orchestrator configuration for benchmark job execution
102101
*/
103102
orchestrator_config?: BenchmarkDefinitionJobSpec.OrchestratorConfig | null;
104103
}
@@ -116,7 +115,7 @@ export namespace BenchmarkJobCreateParameters {
116115
type: 'job_agent';
117116

118117
/**
119-
* Environment configuration to use for this agent
118+
* Environment configuration for an agent in a benchmark job
120119
*/
121120
agent_environment?: AgentConfig.AgentEnvironment | null;
122121

@@ -143,7 +142,7 @@ export namespace BenchmarkJobCreateParameters {
143142

144143
export namespace AgentConfig {
145144
/**
146-
* Environment configuration to use for this agent
145+
* Environment configuration for an agent in a benchmark job
147146
*/
148147
export interface AgentEnvironment {
149148
/**
@@ -160,8 +159,7 @@ export namespace BenchmarkJobCreateParameters {
160159
}
161160

162161
/**
163-
* Orchestrator configuration (optional overrides). If not provided, default values
164-
* will be used.
162+
* Orchestrator configuration for benchmark job execution
165163
*/
166164
export interface OrchestratorConfig {
167165
/**
@@ -207,8 +205,7 @@ export namespace BenchmarkJobCreateParameters {
207205
type: 'scenarios';
208206

209207
/**
210-
* Orchestrator configuration (optional overrides). If not provided, default values
211-
* will be used.
208+
* Orchestrator configuration for benchmark job execution
212209
*/
213210
orchestrator_config?: ScenarioDefinitionJobSpec.OrchestratorConfig | null;
214211
}
@@ -226,7 +223,7 @@ export namespace BenchmarkJobCreateParameters {
226223
type: 'job_agent';
227224

228225
/**
229-
* Environment configuration to use for this agent
226+
* Environment configuration for an agent in a benchmark job
230227
*/
231228
agent_environment?: AgentConfig.AgentEnvironment | null;
232229

@@ -253,7 +250,7 @@ export namespace BenchmarkJobCreateParameters {
253250

254251
export namespace AgentConfig {
255252
/**
256-
* Environment configuration to use for this agent
253+
* Environment configuration for an agent in a benchmark job
257254
*/
258255
export interface AgentEnvironment {
259256
/**
@@ -270,8 +267,7 @@ export namespace BenchmarkJobCreateParameters {
270267
}
271268

272269
/**
273-
* Orchestrator configuration (optional overrides). If not provided, default values
274-
* will be used.
270+
* Orchestrator configuration for benchmark job execution
275271
*/
276272
export interface OrchestratorConfig {
277273
/**
@@ -364,8 +360,7 @@ export interface BenchmarkJobView {
364360
| null;
365361

366362
/**
367-
* The resolved job specification. Contains scenarios, agents, and orchestrator
368-
* config.
363+
* Job specification describing scenarios and execution configuration
369364
*/
370365
job_spec?: BenchmarkJobView.JobSpec | null;
371366
}
@@ -449,8 +444,7 @@ export namespace BenchmarkJobView {
449444
duration_ms?: number | null;
450445

451446
/**
452-
* Failure information if the scenario failed or timed out. Contains exception type
453-
* and message.
447+
* Information about why a scenario execution failed
454448
*/
455449
failure_reason?: ScenarioOutcome.FailureReason | null;
456450

@@ -469,8 +463,7 @@ export namespace BenchmarkJobView {
469463

470464
export namespace ScenarioOutcome {
471465
/**
472-
* Failure information if the scenario failed or timed out. Contains exception type
473-
* and message.
466+
* Information about why a scenario execution failed
474467
*/
475468
export interface FailureReason {
476469
/**
@@ -543,7 +536,7 @@ export namespace BenchmarkJobView {
543536
type: 'job_agent';
544537

545538
/**
546-
* Environment configuration to use for this agent
539+
* Environment configuration for an agent in a benchmark job
547540
*/
548541
agent_environment?: JobAgentConfig.AgentEnvironment | null;
549542

@@ -570,7 +563,7 @@ export namespace BenchmarkJobView {
570563

571564
export namespace JobAgentConfig {
572565
/**
573-
* Environment configuration to use for this agent
566+
* Environment configuration for an agent in a benchmark job
574567
*/
575568
export interface AgentEnvironment {
576569
/**
@@ -629,8 +622,7 @@ export namespace BenchmarkJobView {
629622
}
630623

631624
/**
632-
* The resolved job specification. Contains scenarios, agents, and orchestrator
633-
* config.
625+
* Job specification describing scenarios and execution configuration
634626
*/
635627
export interface JobSpec {
636628
/**
@@ -644,7 +636,7 @@ export namespace BenchmarkJobView {
644636
scenario_ids: Array<string>;
645637

646638
/**
647-
* Orchestrator configuration
639+
* Orchestrator configuration for benchmark job execution
648640
*/
649641
orchestrator_config?: JobSpec.OrchestratorConfig | null;
650642
}
@@ -662,7 +654,7 @@ export namespace BenchmarkJobView {
662654
type: 'job_agent';
663655

664656
/**
665-
* Environment configuration to use for this agent
657+
* Environment configuration for an agent in a benchmark job
666658
*/
667659
agent_environment?: AgentConfig.AgentEnvironment | null;
668660

@@ -689,7 +681,7 @@ export namespace BenchmarkJobView {
689681

690682
export namespace AgentConfig {
691683
/**
692-
* Environment configuration to use for this agent
684+
* Environment configuration for an agent in a benchmark job
693685
*/
694686
export interface AgentEnvironment {
695687
/**
@@ -706,7 +698,7 @@ export namespace BenchmarkJobView {
706698
}
707699

708700
/**
709-
* Orchestrator configuration
701+
* Orchestrator configuration for benchmark job execution
710702
*/
711703
export interface OrchestratorConfig {
712704
/**
@@ -785,8 +777,7 @@ export namespace BenchmarkJobCreateParams {
785777
type: 'benchmark';
786778

787779
/**
788-
* Orchestrator configuration (optional overrides). If not provided, default values
789-
* will be used.
780+
* Orchestrator configuration for benchmark job execution
790781
*/
791782
orchestrator_config?: BenchmarkDefinitionJobSpec.OrchestratorConfig | null;
792783
}
@@ -804,7 +795,7 @@ export namespace BenchmarkJobCreateParams {
804795
type: 'job_agent';
805796

806797
/**
807-
* Environment configuration to use for this agent
798+
* Environment configuration for an agent in a benchmark job
808799
*/
809800
agent_environment?: AgentConfig.AgentEnvironment | null;
810801

@@ -831,7 +822,7 @@ export namespace BenchmarkJobCreateParams {
831822

832823
export namespace AgentConfig {
833824
/**
834-
* Environment configuration to use for this agent
825+
* Environment configuration for an agent in a benchmark job
835826
*/
836827
export interface AgentEnvironment {
837828
/**
@@ -848,8 +839,7 @@ export namespace BenchmarkJobCreateParams {
848839
}
849840

850841
/**
851-
* Orchestrator configuration (optional overrides). If not provided, default values
852-
* will be used.
842+
* Orchestrator configuration for benchmark job execution
853843
*/
854844
export interface OrchestratorConfig {
855845
/**
@@ -895,8 +885,7 @@ export namespace BenchmarkJobCreateParams {
895885
type: 'scenarios';
896886

897887
/**
898-
* Orchestrator configuration (optional overrides). If not provided, default values
899-
* will be used.
888+
* Orchestrator configuration for benchmark job execution
900889
*/
901890
orchestrator_config?: ScenarioDefinitionJobSpec.OrchestratorConfig | null;
902891
}
@@ -914,7 +903,7 @@ export namespace BenchmarkJobCreateParams {
914903
type: 'job_agent';
915904

916905
/**
917-
* Environment configuration to use for this agent
906+
* Environment configuration for an agent in a benchmark job
918907
*/
919908
agent_environment?: AgentConfig.AgentEnvironment | null;
920909

@@ -941,7 +930,7 @@ export namespace BenchmarkJobCreateParams {
941930

942931
export namespace AgentConfig {
943932
/**
944-
* Environment configuration to use for this agent
933+
* Environment configuration for an agent in a benchmark job
945934
*/
946935
export interface AgentEnvironment {
947936
/**
@@ -958,8 +947,7 @@ export namespace BenchmarkJobCreateParams {
958947
}
959948

960949
/**
961-
* Orchestrator configuration (optional overrides). If not provided, default values
962-
* will be used.
950+
* Orchestrator configuration for benchmark job execution
963951
*/
964952
export interface OrchestratorConfig {
965953
/**

src/resources/blueprints.ts

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,9 @@ export interface BlueprintBuildFromInspectionParameters {
249249
file_mounts?: { [key: string]: string } | null;
250250

251251
/**
252-
* Parameters to configure your Devbox at launch time.
252+
* LaunchParameters enable you to customize the resources available to your Devbox
253+
* as well as the environment set up that should be completed before the Devbox is
254+
* marked as 'running'.
253255
*/
254256
launch_parameters?: Shared.LaunchParameters | null;
255257

@@ -352,7 +354,9 @@ export interface BlueprintBuildParameters {
352354
file_mounts?: { [key: string]: string } | null;
353355

354356
/**
355-
* Parameters to configure your Devbox at launch time.
357+
* LaunchParameters enable you to customize the resources available to your Devbox
358+
* as well as the environment set up that should be completed before the Devbox is
359+
* marked as 'running'.
356360
*/
357361
launch_parameters?: Shared.LaunchParameters | null;
358362

@@ -533,7 +537,12 @@ export interface BlueprintView {
533537
devbox_capabilities?: Array<'unknown' | 'docker_in_docker'> | null;
534538

535539
/**
536-
* The failure reason if the Blueprint build failed, if any.
540+
* The cause of the failure of the Blueprint build.
541+
*
542+
* out_of_memory: The build has run out of memory. Contact support if this is
543+
* unexpected. out_of_disk: The build has run out of disk. Contact support if this
544+
* is unexpected. build_failed: The build has failed. Use the dashboard to look at
545+
* Blueprint build logs for more info.
537546
*/
538547
failure_reason?: 'out_of_memory' | 'out_of_disk' | 'build_failed' | null;
539548

@@ -668,7 +677,9 @@ export interface BlueprintCreateParams {
668677
file_mounts?: { [key: string]: string } | null;
669678

670679
/**
671-
* Parameters to configure your Devbox at launch time.
680+
* LaunchParameters enable you to customize the resources available to your Devbox
681+
* as well as the environment set up that should be completed before the Devbox is
682+
* marked as 'running'.
672683
*/
673684
launch_parameters?: Shared.LaunchParameters | null;
674685

@@ -808,7 +819,9 @@ export interface BlueprintCreateFromInspectionParams {
808819
file_mounts?: { [key: string]: string } | null;
809820

810821
/**
811-
* Parameters to configure your Devbox at launch time.
822+
* LaunchParameters enable you to customize the resources available to your Devbox
823+
* as well as the environment set up that should be completed before the Devbox is
824+
* marked as 'running'.
812825
*/
813826
launch_parameters?: Shared.LaunchParameters | null;
814827

@@ -900,7 +913,9 @@ export interface BlueprintPreviewParams {
900913
file_mounts?: { [key: string]: string } | null;
901914

902915
/**
903-
* Parameters to configure your Devbox at launch time.
916+
* LaunchParameters enable you to customize the resources available to your Devbox
917+
* as well as the environment set up that should be completed before the Devbox is
918+
* marked as 'running'.
904919
*/
905920
launch_parameters?: Shared.LaunchParameters | null;
906921

0 commit comments

Comments
 (0)