Skip to content

Commit 57f9397

Browse files
chore: generate
1 parent a4c6860 commit 57f9397

2 files changed

Lines changed: 64 additions & 64 deletions

File tree

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

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -469,6 +469,21 @@ export type EventTodoUpdated = {
469469
}
470470
}
471471

472+
export type EventWorktreeReady = {
473+
type: "worktree.ready"
474+
properties: {
475+
name: string
476+
branch: string
477+
}
478+
}
479+
480+
export type EventWorktreeFailed = {
481+
type: "worktree.failed"
482+
properties: {
483+
message: string
484+
}
485+
}
486+
472487
export type Pty = {
473488
id: string
474489
title: string
@@ -508,21 +523,6 @@ export type EventPtyDeleted = {
508523
}
509524
}
510525

511-
export type EventWorktreeReady = {
512-
type: "worktree.ready"
513-
properties: {
514-
name: string
515-
branch: string
516-
}
517-
}
518-
519-
export type EventWorktreeFailed = {
520-
type: "worktree.failed"
521-
properties: {
522-
message: string
523-
}
524-
}
525-
526526
export type OutputFormatText = {
527527
type: "text"
528528
}
@@ -1005,12 +1005,12 @@ export type Event =
10051005
| EventSessionIdle
10061006
| EventSessionCompacted
10071007
| EventTodoUpdated
1008+
| EventWorktreeReady
1009+
| EventWorktreeFailed
10081010
| EventPtyCreated
10091011
| EventPtyUpdated
10101012
| EventPtyExited
10111013
| EventPtyDeleted
1012-
| EventWorktreeReady
1013-
| EventWorktreeFailed
10141014
| EventMessageUpdated
10151015
| EventMessageRemoved
10161016
| EventMessagePartUpdated

packages/sdk/openapi.json

Lines changed: 47 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -8351,6 +8351,47 @@
83518351
},
83528352
"required": ["type", "properties"]
83538353
},
8354+
"Event.worktree.ready": {
8355+
"type": "object",
8356+
"properties": {
8357+
"type": {
8358+
"type": "string",
8359+
"const": "worktree.ready"
8360+
},
8361+
"properties": {
8362+
"type": "object",
8363+
"properties": {
8364+
"name": {
8365+
"type": "string"
8366+
},
8367+
"branch": {
8368+
"type": "string"
8369+
}
8370+
},
8371+
"required": ["name", "branch"]
8372+
}
8373+
},
8374+
"required": ["type", "properties"]
8375+
},
8376+
"Event.worktree.failed": {
8377+
"type": "object",
8378+
"properties": {
8379+
"type": {
8380+
"type": "string",
8381+
"const": "worktree.failed"
8382+
},
8383+
"properties": {
8384+
"type": "object",
8385+
"properties": {
8386+
"message": {
8387+
"type": "string"
8388+
}
8389+
},
8390+
"required": ["message"]
8391+
}
8392+
},
8393+
"required": ["type", "properties"]
8394+
},
83548395
"Pty": {
83558396
"type": "object",
83568397
"properties": {
@@ -8464,47 +8505,6 @@
84648505
},
84658506
"required": ["type", "properties"]
84668507
},
8467-
"Event.worktree.ready": {
8468-
"type": "object",
8469-
"properties": {
8470-
"type": {
8471-
"type": "string",
8472-
"const": "worktree.ready"
8473-
},
8474-
"properties": {
8475-
"type": "object",
8476-
"properties": {
8477-
"name": {
8478-
"type": "string"
8479-
},
8480-
"branch": {
8481-
"type": "string"
8482-
}
8483-
},
8484-
"required": ["name", "branch"]
8485-
}
8486-
},
8487-
"required": ["type", "properties"]
8488-
},
8489-
"Event.worktree.failed": {
8490-
"type": "object",
8491-
"properties": {
8492-
"type": {
8493-
"type": "string",
8494-
"const": "worktree.failed"
8495-
},
8496-
"properties": {
8497-
"type": "object",
8498-
"properties": {
8499-
"message": {
8500-
"type": "string"
8501-
}
8502-
},
8503-
"required": ["message"]
8504-
}
8505-
},
8506-
"required": ["type", "properties"]
8507-
},
85088508
"OutputFormatText": {
85098509
"type": "object",
85108510
"properties": {
@@ -9968,22 +9968,22 @@
99689968
"$ref": "#/components/schemas/Event.todo.updated"
99699969
},
99709970
{
9971-
"$ref": "#/components/schemas/Event.pty.created"
9971+
"$ref": "#/components/schemas/Event.worktree.ready"
99729972
},
99739973
{
9974-
"$ref": "#/components/schemas/Event.pty.updated"
9974+
"$ref": "#/components/schemas/Event.worktree.failed"
99759975
},
99769976
{
9977-
"$ref": "#/components/schemas/Event.pty.exited"
9977+
"$ref": "#/components/schemas/Event.pty.created"
99789978
},
99799979
{
9980-
"$ref": "#/components/schemas/Event.pty.deleted"
9980+
"$ref": "#/components/schemas/Event.pty.updated"
99819981
},
99829982
{
9983-
"$ref": "#/components/schemas/Event.worktree.ready"
9983+
"$ref": "#/components/schemas/Event.pty.exited"
99849984
},
99859985
{
9986-
"$ref": "#/components/schemas/Event.worktree.failed"
9986+
"$ref": "#/components/schemas/Event.pty.deleted"
99879987
},
99889988
{
99899989
"$ref": "#/components/schemas/Event.message.updated"

0 commit comments

Comments
 (0)