feat(api): api update

This commit is contained in:
stainless-app[bot] 2025-07-29 02:50:07 +00:00
parent 17f9c65321
commit 1c6a3700f1
2 changed files with 10 additions and 2 deletions

View file

@ -1,4 +1,4 @@
configured_endpoints: 26
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/opencode%2Fopencode-e43db0e3b4300d892558381c46238315784de13f980822a3224a956d94dbadb3.yml
openapi_spec_hash: eb2421d12fc2ffb165659b1af40a67e1
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/opencode%2Fopencode-62d8fccba4eb8dc3a80434e0849eab3352e49fb96a718bb7b6d17ed8e582b716.yml
openapi_spec_hash: 4ff9376cf9634e91731e63fe482ea532
config_hash: 1ae82c93499b9f0b9ba828b8919f9cb3

View file

@ -45,6 +45,7 @@ __all__ = [
"EventSessionErrorProperties",
"EventSessionErrorPropertiesError",
"EventSessionErrorPropertiesErrorMessageOutputLengthError",
"EventServerConnected",
"EventFileWatcherUpdated",
"EventFileWatcherUpdatedProperties",
"EventIdeInstalled",
@ -220,6 +221,12 @@ class EventSessionError(BaseModel):
type: Literal["session.error"]
class EventServerConnected(BaseModel):
properties: object
type: Literal["server.connected"]
class EventFileWatcherUpdatedProperties(BaseModel):
event: Literal["rename", "change"]
@ -257,6 +264,7 @@ EventListResponse: TypeAlias = Annotated[
EventSessionDeleted,
EventSessionIdle,
EventSessionError,
EventServerConnected,
EventFileWatcherUpdated,
EventIdeInstalled,
],