chore: generate
This commit is contained in:
@@ -77,18 +77,18 @@ export type Event =
|
||||
| EventCommandExecuted
|
||||
| EventProjectDirectoriesUpdated
|
||||
| EventProjectUpdated
|
||||
| EventVcsBranchUpdated
|
||||
| EventSessionStatus
|
||||
| EventSessionIdle
|
||||
| EventQuestionAsked
|
||||
| EventQuestionReplied
|
||||
| EventQuestionRejected
|
||||
| EventSessionStatus
|
||||
| EventSessionIdle
|
||||
| EventSessionCompacted
|
||||
| EventWorktreeReady
|
||||
| EventWorktreeFailed
|
||||
| EventVcsBranchUpdated
|
||||
| EventWorkspaceReady
|
||||
| EventWorkspaceFailed
|
||||
| EventWorkspaceStatus
|
||||
| EventWorktreeReady
|
||||
| EventWorktreeFailed
|
||||
| EventServerConnected
|
||||
| EventGlobalDisposed
|
||||
| EventServerInstanceDisposed
|
||||
@@ -667,6 +667,28 @@ export type Todo = {
|
||||
priority: string
|
||||
}
|
||||
|
||||
export type SessionStatus =
|
||||
| {
|
||||
type: "idle"
|
||||
}
|
||||
| {
|
||||
type: "retry"
|
||||
attempt: number
|
||||
message: string
|
||||
action?: {
|
||||
reason: string
|
||||
provider: string
|
||||
title: string
|
||||
message: string
|
||||
label: string
|
||||
link?: string
|
||||
}
|
||||
next: number
|
||||
}
|
||||
| {
|
||||
type: "busy"
|
||||
}
|
||||
|
||||
export type QuestionOption = {
|
||||
/**
|
||||
* Display text (1-5 words, concise)
|
||||
@@ -702,28 +724,6 @@ export type QuestionTool = {
|
||||
|
||||
export type QuestionAnswer = Array<string>
|
||||
|
||||
export type SessionStatus =
|
||||
| {
|
||||
type: "idle"
|
||||
}
|
||||
| {
|
||||
type: "retry"
|
||||
attempt: number
|
||||
message: string
|
||||
action?: {
|
||||
reason: string
|
||||
provider: string
|
||||
title: string
|
||||
message: string
|
||||
label: string
|
||||
link?: string
|
||||
}
|
||||
next: number
|
||||
}
|
||||
| {
|
||||
type: "busy"
|
||||
}
|
||||
|
||||
export type GlobalEvent = {
|
||||
directory: string
|
||||
project?: string
|
||||
@@ -1515,9 +1515,17 @@ export type GlobalEvent = {
|
||||
}
|
||||
| {
|
||||
id: string
|
||||
type: "vcs.branch.updated"
|
||||
type: "session.status"
|
||||
properties: {
|
||||
branch?: string
|
||||
sessionID: string
|
||||
status: SessionStatus
|
||||
}
|
||||
}
|
||||
| {
|
||||
id: string
|
||||
type: "session.idle"
|
||||
properties: {
|
||||
sessionID: string
|
||||
}
|
||||
}
|
||||
| {
|
||||
@@ -1550,21 +1558,6 @@ export type GlobalEvent = {
|
||||
requestID: string
|
||||
}
|
||||
}
|
||||
| {
|
||||
id: string
|
||||
type: "session.status"
|
||||
properties: {
|
||||
sessionID: string
|
||||
status: SessionStatus
|
||||
}
|
||||
}
|
||||
| {
|
||||
id: string
|
||||
type: "session.idle"
|
||||
properties: {
|
||||
sessionID: string
|
||||
}
|
||||
}
|
||||
| {
|
||||
id: string
|
||||
type: "session.compacted"
|
||||
@@ -1574,19 +1567,11 @@ export type GlobalEvent = {
|
||||
}
|
||||
| {
|
||||
id: string
|
||||
type: "worktree.ready"
|
||||
type: "vcs.branch.updated"
|
||||
properties: {
|
||||
name: string
|
||||
branch?: string
|
||||
}
|
||||
}
|
||||
| {
|
||||
id: string
|
||||
type: "worktree.failed"
|
||||
properties: {
|
||||
message: string
|
||||
}
|
||||
}
|
||||
| {
|
||||
id: string
|
||||
type: "workspace.ready"
|
||||
@@ -1609,6 +1594,21 @@ export type GlobalEvent = {
|
||||
status: "connected" | "connecting" | "disconnected" | "error"
|
||||
}
|
||||
}
|
||||
| {
|
||||
id: string
|
||||
type: "worktree.ready"
|
||||
properties: {
|
||||
name: string
|
||||
branch?: string
|
||||
}
|
||||
}
|
||||
| {
|
||||
id: string
|
||||
type: "worktree.failed"
|
||||
properties: {
|
||||
message: string
|
||||
}
|
||||
}
|
||||
| {
|
||||
id: string
|
||||
type: "server.connected"
|
||||
@@ -5123,11 +5123,20 @@ export type EventProjectUpdated = {
|
||||
}
|
||||
}
|
||||
|
||||
export type EventVcsBranchUpdated = {
|
||||
export type EventSessionStatus = {
|
||||
id: string
|
||||
type: "vcs.branch.updated"
|
||||
type: "session.status"
|
||||
properties: {
|
||||
branch?: string
|
||||
sessionID: string
|
||||
status: SessionStatus
|
||||
}
|
||||
}
|
||||
|
||||
export type EventSessionIdle = {
|
||||
id: string
|
||||
type: "session.idle"
|
||||
properties: {
|
||||
sessionID: string
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5164,23 +5173,6 @@ export type EventQuestionRejected = {
|
||||
}
|
||||
}
|
||||
|
||||
export type EventSessionStatus = {
|
||||
id: string
|
||||
type: "session.status"
|
||||
properties: {
|
||||
sessionID: string
|
||||
status: SessionStatus
|
||||
}
|
||||
}
|
||||
|
||||
export type EventSessionIdle = {
|
||||
id: string
|
||||
type: "session.idle"
|
||||
properties: {
|
||||
sessionID: string
|
||||
}
|
||||
}
|
||||
|
||||
export type EventSessionCompacted = {
|
||||
id: string
|
||||
type: "session.compacted"
|
||||
@@ -5189,23 +5181,14 @@ export type EventSessionCompacted = {
|
||||
}
|
||||
}
|
||||
|
||||
export type EventWorktreeReady = {
|
||||
export type EventVcsBranchUpdated = {
|
||||
id: string
|
||||
type: "worktree.ready"
|
||||
type: "vcs.branch.updated"
|
||||
properties: {
|
||||
name: string
|
||||
branch?: string
|
||||
}
|
||||
}
|
||||
|
||||
export type EventWorktreeFailed = {
|
||||
id: string
|
||||
type: "worktree.failed"
|
||||
properties: {
|
||||
message: string
|
||||
}
|
||||
}
|
||||
|
||||
export type EventWorkspaceReady = {
|
||||
id: string
|
||||
type: "workspace.ready"
|
||||
@@ -5231,6 +5214,23 @@ export type EventWorkspaceStatus = {
|
||||
}
|
||||
}
|
||||
|
||||
export type EventWorktreeReady = {
|
||||
id: string
|
||||
type: "worktree.ready"
|
||||
properties: {
|
||||
name: string
|
||||
branch?: string
|
||||
}
|
||||
}
|
||||
|
||||
export type EventWorktreeFailed = {
|
||||
id: string
|
||||
type: "worktree.failed"
|
||||
properties: {
|
||||
message: string
|
||||
}
|
||||
}
|
||||
|
||||
export type EventServerConnected = {
|
||||
id: string
|
||||
type: "server.connected"
|
||||
|
||||
Reference in New Issue
Block a user