Skip to content

Commit 642de7a

Browse files
feat(api): new run source types
1 parent bdc6562 commit 642de7a

2 files changed

Lines changed: 9 additions & 3 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: 12
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/warp-bnavetta%2Fwarp-api-889ce13c0c43d5d3affffdc59a70d6f9a99b6b537f03d9f4e13685884e0ce163.yml
3-
openapi_spec_hash: 9ae86e64db36c40a13cf1afd24f6f736
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/warp-bnavetta%2Fwarp-api-5793d9138ec4b7af85e46c9b3f02baa0caeddcdfdf8b2c2192b26f62348392b9.yml
3+
openapi_spec_hash: 0452abd7cb14486ce786a47a9a62e49b
44
config_hash: 07820b17df23cbea39cb77fa05292538

src/resources/agent/runs.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,8 @@ export interface RunItem {
209209
* - SCHEDULED_AGENT: Created by a scheduled agent
210210
* - WEB_APP: Created from the Warp web app
211211
* - GITHUB_ACTION: Created from a GitHub action
212+
* - CLOUD_MODE: Created from a Cloud Mode
213+
* - CLI: Created from the CLI
212214
*/
213215
source?: RunSourceType;
214216

@@ -275,6 +277,8 @@ export namespace RunItem {
275277
* - SCHEDULED_AGENT: Created by a scheduled agent
276278
* - WEB_APP: Created from the Warp web app
277279
* - GITHUB_ACTION: Created from a GitHub action
280+
* - CLOUD_MODE: Created from a Cloud Mode
281+
* - CLI: Created from the CLI
278282
*/
279283
export type RunSourceType =
280284
| 'LINEAR'
@@ -283,7 +287,9 @@ export type RunSourceType =
283287
| 'LOCAL'
284288
| 'SCHEDULED_AGENT'
285289
| 'WEB_APP'
286-
| 'GITHUB_ACTION';
290+
| 'GITHUB_ACTION'
291+
| 'CLOUD_MODE'
292+
| 'CLI';
287293

288294
/**
289295
* Current state of the run:

0 commit comments

Comments
 (0)