Skip to content

Commit eeaf69e

Browse files
authored
Merge branch 'next' into main--merge-conflict
2 parents fc872d6 + d93d0b8 commit eeaf69e

17 files changed

Lines changed: 240 additions & 171 deletions

File tree

.stats.yml

Lines changed: 3 additions & 3 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-40b78fbce4172c1fdab1559718cc9a7ba6b47402ee0bcb8dbefa582448958384.yml
3-
openapi_spec_hash: 78673375a4e58f7b4cea847ce2686b0e
4-
config_hash: 07d725fff578f22e8cb52e3c588f24c6
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runloop-ai/runloop-3ed5d8482ad69c2c52b9387f0c16e9a5053115b6e4c64ff59a32a0ab3498d7e2.yml
3+
openapi_spec_hash: b48f3fb201ee657d669d937ca92c55bf
4+
config_hash: 444e00951b440bf92e7548b2807584a4

api.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,11 @@ Types:
88
- <code><a href="./src/resources/shared.ts">BrokerMount</a></code>
99
- <code><a href="./src/resources/shared.ts">CodeMountParameters</a></code>
1010
- <code><a href="./src/resources/shared.ts">LaunchParameters</a></code>
11+
- <code><a href="./src/resources/shared.ts">LifecycleConfiguration</a></code>
12+
- <code><a href="./src/resources/shared.ts">LifecycleHooks</a></code>
1113
- <code><a href="./src/resources/shared.ts">Mount</a></code>
1214
- <code><a href="./src/resources/shared.ts">ObjectMount</a></code>
15+
- <code><a href="./src/resources/shared.ts">ResumeTriggers</a></code>
1316
- <code><a href="./src/resources/shared.ts">RunProfile</a></code>
1417

1518
# Benchmarks
@@ -250,7 +253,7 @@ Methods:
250253
Types:
251254

252255
- <code><a href="./src/resources/pty.ts">PtyConnectView</a></code>
253-
- <code><a href="./src/resources/pty.ts">PtyControlParameters</a></code>
256+
- <code><a href="./src/resources/pty.ts">PtyControlParams</a></code>
254257
- <code><a href="./src/resources/pty.ts">PtyControlResultView</a></code>
255258

256259
Methods:

src/index.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,6 @@ import {
154154
Pty,
155155
PtyConnectParams,
156156
PtyConnectView,
157-
PtyControlParameters,
158157
PtyControlParams,
159158
PtyControlResultView,
160159
} from './resources/pty';
@@ -689,10 +688,9 @@ export declare namespace Runloop {
689688
export {
690689
Pty as Pty,
691690
type PtyConnectView as PtyConnectView,
692-
type PtyControlParameters as PtyControlParameters,
691+
type PtyControlParams as PtyControlParams,
693692
type PtyControlResultView as PtyControlResultView,
694693
type PtyConnectParams as PtyConnectParams,
695-
type PtyControlParams as PtyControlParams,
696694
};
697695

698696
export {
@@ -806,8 +804,11 @@ export declare namespace Runloop {
806804
export type BrokerMount = API.BrokerMount;
807805
export type CodeMountParameters = API.CodeMountParameters;
808806
export type LaunchParameters = API.LaunchParameters;
807+
export type LifecycleConfiguration = API.LifecycleConfiguration;
808+
export type LifecycleHooks = API.LifecycleHooks;
809809
export type Mount = API.Mount;
810810
export type ObjectMount = API.ObjectMount;
811+
export type ResumeTriggers = API.ResumeTriggers;
811812
export type RunProfile = API.RunProfile;
812813
}
813814

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
/**

0 commit comments

Comments
 (0)