Skip to content

Commit 69ac0d5

Browse files
feat(api): new run source types
1 parent d871614 commit 69ac0d5

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

.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/warp_agent_sdk/types/agent/run_item.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,8 @@ class RunItem(BaseModel):
116116
- SCHEDULED_AGENT: Created by a scheduled agent
117117
- WEB_APP: Created from the Warp web app
118118
- GITHUB_ACTION: Created from a GitHub action
119+
- CLOUD_MODE: Created from a Cloud Mode
120+
- CLI: Created from the CLI
119121
"""
120122

121123
started_at: Optional[datetime] = None

src/warp_agent_sdk/types/agent/run_source_type.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,6 @@
44

55
__all__ = ["RunSourceType"]
66

7-
RunSourceType: TypeAlias = Literal["LINEAR", "API", "SLACK", "LOCAL", "SCHEDULED_AGENT", "WEB_APP", "GITHUB_ACTION"]
7+
RunSourceType: TypeAlias = Literal[
8+
"LINEAR", "API", "SLACK", "LOCAL", "SCHEDULED_AGENT", "WEB_APP", "GITHUB_ACTION", "CLOUD_MODE", "CLI"
9+
]

0 commit comments

Comments
 (0)