Skip to content

Commit 06ebf15

Browse files
feat(api): api update
1 parent 17f9c65 commit 06ebf15

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
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: 26
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/opencode%2Fopencode-e43db0e3b4300d892558381c46238315784de13f980822a3224a956d94dbadb3.yml
3-
openapi_spec_hash: eb2421d12fc2ffb165659b1af40a67e1
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/opencode%2Fopencode-62d8fccba4eb8dc3a80434e0849eab3352e49fb96a718bb7b6d17ed8e582b716.yml
3+
openapi_spec_hash: 4ff9376cf9634e91731e63fe482ea532
44
config_hash: 1ae82c93499b9f0b9ba828b8919f9cb3

src/opencode_ai/types/event_list_response.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
"EventSessionErrorProperties",
4646
"EventSessionErrorPropertiesError",
4747
"EventSessionErrorPropertiesErrorMessageOutputLengthError",
48+
"EventServerConnected",
4849
"EventFileWatcherUpdated",
4950
"EventFileWatcherUpdatedProperties",
5051
"EventIdeInstalled",
@@ -220,6 +221,12 @@ class EventSessionError(BaseModel):
220221
type: Literal["session.error"]
221222

222223

224+
class EventServerConnected(BaseModel):
225+
properties: object
226+
227+
type: Literal["server.connected"]
228+
229+
223230
class EventFileWatcherUpdatedProperties(BaseModel):
224231
event: Literal["rename", "change"]
225232

@@ -257,6 +264,7 @@ class EventIdeInstalled(BaseModel):
257264
EventSessionDeleted,
258265
EventSessionIdle,
259266
EventSessionError,
267+
EventServerConnected,
260268
EventFileWatcherUpdated,
261269
EventIdeInstalled,
262270
],

0 commit comments

Comments
 (0)