chore: generate

This commit is contained in:
opencode-agent[bot] 2026-06-02 20:11:21 +00:00
commit cb587b677b
3 changed files with 457 additions and 457 deletions

View file

@ -46,15 +46,16 @@ export type Event =
| EventSessionError
| EventInstallationUpdated
| EventInstallationUpdateAvailable
| EventFileEdited
| EventLspUpdated
| EventPermissionAsked
| EventPermissionReplied
| EventPermissionV2Asked
| EventPermissionV2Replied
| EventFileEdited
| EventAccountAdded
| EventAccountRemoved
| EventAccountSwitched
| EventFileWatcherUpdated
| EventLspUpdated
| EventPermissionAsked
| EventPermissionReplied
| EventTuiPromptAppend2
| EventTuiCommandExecute2
| EventTuiToastShow2
@ -62,7 +63,6 @@ export type Event =
| EventMcpToolsChanged
| EventMcpBrowserOpenFailed
| EventCommandExecuted
| EventFileWatcherUpdated
| EventProjectUpdated
| EventPtyCreated
| EventPtyUpdated
@ -1128,6 +1128,30 @@ export type GlobalEvent = {
version: string
}
}
| {
id: string
type: "permission.v2.asked"
properties: {
id: string
sessionID: string
action: string
resources: Array<string>
save?: Array<string>
metadata?: {
[key: string]: unknown
}
source?: PermissionV2Source
}
}
| {
id: string
type: "permission.v2.replied"
properties: {
sessionID: string
requestID: string
reply: PermissionV2Reply
}
}
| {
id: string
type: "file.edited"
@ -1135,6 +1159,37 @@ export type GlobalEvent = {
file: string
}
}
| {
id: string
type: "account.added"
properties: {
account: AuthInfo
}
}
| {
id: string
type: "account.removed"
properties: {
account: AuthInfo
}
}
| {
id: string
type: "account.switched"
properties: {
serviceID: string
from?: string
to?: string
}
}
| {
id: string
type: "file.watcher.updated"
properties: {
file: string
event: "add" | "change" | "unlink"
}
}
| {
id: string
type: "lsp.updated"
@ -1169,53 +1224,6 @@ export type GlobalEvent = {
reply: "once" | "always" | "reject"
}
}
| {
id: string
type: "permission.v2.asked"
properties: {
id: string
sessionID: string
action: string
resources: Array<string>
save?: Array<string>
metadata?: {
[key: string]: unknown
}
source?: PermissionV2Source
}
}
| {
id: string
type: "permission.v2.replied"
properties: {
sessionID: string
requestID: string
reply: PermissionV2Reply
}
}
| {
id: string
type: "account.added"
properties: {
account: AuthInfo
}
}
| {
id: string
type: "account.removed"
properties: {
account: AuthInfo
}
}
| {
id: string
type: "account.switched"
properties: {
serviceID: string
from?: string
to?: string
}
}
| {
id: string
type: "tui.prompt.append"
@ -1292,14 +1300,6 @@ export type GlobalEvent = {
messageID: string
}
}
| {
id: string
type: "file.watcher.updated"
properties: {
file: string
event: "add" | "change" | "unlink"
}
}
| {
id: string
type: "project.updated"
@ -4272,6 +4272,32 @@ export type EventInstallationUpdateAvailable = {
}
}
export type EventPermissionV2Asked = {
id: string
type: "permission.v2.asked"
properties: {
id: string
sessionID: string
action: string
resources: Array<string>
save?: Array<string>
metadata?: {
[key: string]: unknown
}
source?: PermissionV2Source
}
}
export type EventPermissionV2Replied = {
id: string
type: "permission.v2.replied"
properties: {
sessionID: string
requestID: string
reply: PermissionV2Reply
}
}
export type EventFileEdited = {
id: string
type: "file.edited"
@ -4280,6 +4306,41 @@ export type EventFileEdited = {
}
}
export type EventAccountAdded = {
id: string
type: "account.added"
properties: {
account: AuthInfo
}
}
export type EventAccountRemoved = {
id: string
type: "account.removed"
properties: {
account: AuthInfo
}
}
export type EventAccountSwitched = {
id: string
type: "account.switched"
properties: {
serviceID: string
from?: string
to?: string
}
}
export type EventFileWatcherUpdated = {
id: string
type: "file.watcher.updated"
properties: {
file: string
event: "add" | "change" | "unlink"
}
}
export type EventLspUpdated = {
id: string
type: "lsp.updated"
@ -4317,58 +4378,6 @@ export type EventPermissionReplied = {
}
}
export type EventPermissionV2Asked = {
id: string
type: "permission.v2.asked"
properties: {
id: string
sessionID: string
action: string
resources: Array<string>
save?: Array<string>
metadata?: {
[key: string]: unknown
}
source?: PermissionV2Source
}
}
export type EventPermissionV2Replied = {
id: string
type: "permission.v2.replied"
properties: {
sessionID: string
requestID: string
reply: PermissionV2Reply
}
}
export type EventAccountAdded = {
id: string
type: "account.added"
properties: {
account: AuthInfo
}
}
export type EventAccountRemoved = {
id: string
type: "account.removed"
properties: {
account: AuthInfo
}
}
export type EventAccountSwitched = {
id: string
type: "account.switched"
properties: {
serviceID: string
from?: string
to?: string
}
}
export type EventMcpToolsChanged = {
id: string
type: "mcp.tools.changed"
@ -4397,15 +4406,6 @@ export type EventCommandExecuted = {
}
}
export type EventFileWatcherUpdated = {
id: string
type: "file.watcher.updated"
properties: {
file: string
event: "add" | "change" | "unlink"
}
}
export type EventProjectUpdated = {
id: string
type: "project.updated"