Skip to content

Commit cb1e5d9

Browse files
chore: generate
1 parent ca5f086 commit cb1e5d9

File tree

2 files changed

+100
-100
lines changed

2 files changed

+100
-100
lines changed

packages/sdk/js/src/v2/gen/types.gen.ts

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -316,29 +316,6 @@ export type EventCommandExecuted = {
316316
}
317317
}
318318

319-
export type EventWorkspaceReady = {
320-
type: "workspace.ready"
321-
properties: {
322-
name: string
323-
}
324-
}
325-
326-
export type EventWorkspaceFailed = {
327-
type: "workspace.failed"
328-
properties: {
329-
message: string
330-
}
331-
}
332-
333-
export type EventWorkspaceStatus = {
334-
type: "workspace.status"
335-
properties: {
336-
workspaceID: string
337-
status: "connected" | "connecting" | "disconnected" | "error"
338-
error?: string
339-
}
340-
}
341-
342319
export type QuestionOption = {
343320
/**
344321
* Display text (1-5 words, concise)
@@ -523,6 +500,29 @@ export type EventPtyDeleted = {
523500
}
524501
}
525502

503+
export type EventWorkspaceReady = {
504+
type: "workspace.ready"
505+
properties: {
506+
name: string
507+
}
508+
}
509+
510+
export type EventWorkspaceFailed = {
511+
type: "workspace.failed"
512+
properties: {
513+
message: string
514+
}
515+
}
516+
517+
export type EventWorkspaceStatus = {
518+
type: "workspace.status"
519+
properties: {
520+
workspaceID: string
521+
status: "connected" | "connecting" | "disconnected" | "error"
522+
error?: string
523+
}
524+
}
525+
526526
export type OutputFormatText = {
527527
type: "text"
528528
}
@@ -995,9 +995,6 @@ export type Event =
995995
| EventMcpToolsChanged
996996
| EventMcpBrowserOpenFailed
997997
| EventCommandExecuted
998-
| EventWorkspaceReady
999-
| EventWorkspaceFailed
1000-
| EventWorkspaceStatus
1001998
| EventQuestionAsked
1002999
| EventQuestionReplied
10031000
| EventQuestionRejected
@@ -1011,6 +1008,9 @@ export type Event =
10111008
| EventPtyUpdated
10121009
| EventPtyExited
10131010
| EventPtyDeleted
1011+
| EventWorkspaceReady
1012+
| EventWorkspaceFailed
1013+
| EventWorkspaceStatus
10141014
| EventMessageUpdated
10151015
| EventMessageRemoved
10161016
| EventMessagePartUpdated

packages/sdk/openapi.json

Lines changed: 74 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -7986,71 +7986,6 @@
79867986
},
79877987
"required": ["type", "properties"]
79887988
},
7989-
"Event.workspace.ready": {
7990-
"type": "object",
7991-
"properties": {
7992-
"type": {
7993-
"type": "string",
7994-
"const": "workspace.ready"
7995-
},
7996-
"properties": {
7997-
"type": "object",
7998-
"properties": {
7999-
"name": {
8000-
"type": "string"
8001-
}
8002-
},
8003-
"required": ["name"]
8004-
}
8005-
},
8006-
"required": ["type", "properties"]
8007-
},
8008-
"Event.workspace.failed": {
8009-
"type": "object",
8010-
"properties": {
8011-
"type": {
8012-
"type": "string",
8013-
"const": "workspace.failed"
8014-
},
8015-
"properties": {
8016-
"type": "object",
8017-
"properties": {
8018-
"message": {
8019-
"type": "string"
8020-
}
8021-
},
8022-
"required": ["message"]
8023-
}
8024-
},
8025-
"required": ["type", "properties"]
8026-
},
8027-
"Event.workspace.status": {
8028-
"type": "object",
8029-
"properties": {
8030-
"type": {
8031-
"type": "string",
8032-
"const": "workspace.status"
8033-
},
8034-
"properties": {
8035-
"type": "object",
8036-
"properties": {
8037-
"workspaceID": {
8038-
"type": "string",
8039-
"pattern": "^wrk.*"
8040-
},
8041-
"status": {
8042-
"type": "string",
8043-
"enum": ["connected", "connecting", "disconnected", "error"]
8044-
},
8045-
"error": {
8046-
"type": "string"
8047-
}
8048-
},
8049-
"required": ["workspaceID", "status"]
8050-
}
8051-
},
8052-
"required": ["type", "properties"]
8053-
},
80547989
"QuestionOption": {
80557990
"type": "object",
80567991
"properties": {
@@ -8505,6 +8440,71 @@
85058440
},
85068441
"required": ["type", "properties"]
85078442
},
8443+
"Event.workspace.ready": {
8444+
"type": "object",
8445+
"properties": {
8446+
"type": {
8447+
"type": "string",
8448+
"const": "workspace.ready"
8449+
},
8450+
"properties": {
8451+
"type": "object",
8452+
"properties": {
8453+
"name": {
8454+
"type": "string"
8455+
}
8456+
},
8457+
"required": ["name"]
8458+
}
8459+
},
8460+
"required": ["type", "properties"]
8461+
},
8462+
"Event.workspace.failed": {
8463+
"type": "object",
8464+
"properties": {
8465+
"type": {
8466+
"type": "string",
8467+
"const": "workspace.failed"
8468+
},
8469+
"properties": {
8470+
"type": "object",
8471+
"properties": {
8472+
"message": {
8473+
"type": "string"
8474+
}
8475+
},
8476+
"required": ["message"]
8477+
}
8478+
},
8479+
"required": ["type", "properties"]
8480+
},
8481+
"Event.workspace.status": {
8482+
"type": "object",
8483+
"properties": {
8484+
"type": {
8485+
"type": "string",
8486+
"const": "workspace.status"
8487+
},
8488+
"properties": {
8489+
"type": "object",
8490+
"properties": {
8491+
"workspaceID": {
8492+
"type": "string",
8493+
"pattern": "^wrk.*"
8494+
},
8495+
"status": {
8496+
"type": "string",
8497+
"enum": ["connected", "connecting", "disconnected", "error"]
8498+
},
8499+
"error": {
8500+
"type": "string"
8501+
}
8502+
},
8503+
"required": ["workspaceID", "status"]
8504+
}
8505+
},
8506+
"required": ["type", "properties"]
8507+
},
85088508
"OutputFormatText": {
85098509
"type": "object",
85108510
"properties": {
@@ -9937,15 +9937,6 @@
99379937
{
99389938
"$ref": "#/components/schemas/Event.command.executed"
99399939
},
9940-
{
9941-
"$ref": "#/components/schemas/Event.workspace.ready"
9942-
},
9943-
{
9944-
"$ref": "#/components/schemas/Event.workspace.failed"
9945-
},
9946-
{
9947-
"$ref": "#/components/schemas/Event.workspace.status"
9948-
},
99499940
{
99509941
"$ref": "#/components/schemas/Event.question.asked"
99519942
},
@@ -9985,6 +9976,15 @@
99859976
{
99869977
"$ref": "#/components/schemas/Event.pty.deleted"
99879978
},
9979+
{
9980+
"$ref": "#/components/schemas/Event.workspace.ready"
9981+
},
9982+
{
9983+
"$ref": "#/components/schemas/Event.workspace.failed"
9984+
},
9985+
{
9986+
"$ref": "#/components/schemas/Event.workspace.status"
9987+
},
99889988
{
99899989
"$ref": "#/components/schemas/Event.message.updated"
99909990
},

0 commit comments

Comments
 (0)