chore: generate

pull/17832/head
opencode-agent[bot] 2026-03-16 17:19:44 +00:00
parent 9e740d9947
commit ca3af5dc6a
2 changed files with 47 additions and 47 deletions

View File

@ -154,6 +154,14 @@ export type EventPermissionReplied = {
} }
} }
export type EventFileWatcherUpdated = {
type: "file.watcher.updated"
properties: {
file: string
event: "add" | "change" | "unlink"
}
}
export type EventServerConnected = { export type EventServerConnected = {
type: "server.connected" type: "server.connected"
properties: { properties: {
@ -685,14 +693,6 @@ export type EventSessionCompacted = {
} }
} }
export type EventFileWatcherUpdated = {
type: "file.watcher.updated"
properties: {
file: string
event: "add" | "change" | "unlink"
}
}
export type Todo = { export type Todo = {
/** /**
* Brief description of the task * Brief description of the task
@ -967,6 +967,7 @@ export type Event =
| EventQuestionRejected | EventQuestionRejected
| EventPermissionAsked | EventPermissionAsked
| EventPermissionReplied | EventPermissionReplied
| EventFileWatcherUpdated
| EventServerConnected | EventServerConnected
| EventGlobalDisposed | EventGlobalDisposed
| EventLspClientDiagnostics | EventLspClientDiagnostics
@ -980,7 +981,6 @@ export type Event =
| EventSessionStatus | EventSessionStatus
| EventSessionIdle | EventSessionIdle
| EventSessionCompacted | EventSessionCompacted
| EventFileWatcherUpdated
| EventTodoUpdated | EventTodoUpdated
| EventTuiPromptAppend | EventTuiPromptAppend
| EventTuiCommandExecute | EventTuiCommandExecute

View File

@ -7302,6 +7302,41 @@
}, },
"required": ["type", "properties"] "required": ["type", "properties"]
}, },
"Event.file.watcher.updated": {
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "file.watcher.updated"
},
"properties": {
"type": "object",
"properties": {
"file": {
"type": "string"
},
"event": {
"anyOf": [
{
"type": "string",
"const": "add"
},
{
"type": "string",
"const": "change"
},
{
"type": "string",
"const": "unlink"
}
]
}
},
"required": ["file", "event"]
}
},
"required": ["type", "properties"]
},
"Event.server.connected": { "Event.server.connected": {
"type": "object", "type": "object",
"properties": { "properties": {
@ -8866,41 +8901,6 @@
}, },
"required": ["type", "properties"] "required": ["type", "properties"]
}, },
"Event.file.watcher.updated": {
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "file.watcher.updated"
},
"properties": {
"type": "object",
"properties": {
"file": {
"type": "string"
},
"event": {
"anyOf": [
{
"type": "string",
"const": "add"
},
{
"type": "string",
"const": "change"
},
{
"type": "string",
"const": "unlink"
}
]
}
},
"required": ["file", "event"]
}
},
"required": ["type", "properties"]
},
"Todo": { "Todo": {
"type": "object", "type": "object",
"properties": { "properties": {
@ -9626,6 +9626,9 @@
{ {
"$ref": "#/components/schemas/Event.permission.replied" "$ref": "#/components/schemas/Event.permission.replied"
}, },
{
"$ref": "#/components/schemas/Event.file.watcher.updated"
},
{ {
"$ref": "#/components/schemas/Event.server.connected" "$ref": "#/components/schemas/Event.server.connected"
}, },
@ -9665,9 +9668,6 @@
{ {
"$ref": "#/components/schemas/Event.session.compacted" "$ref": "#/components/schemas/Event.session.compacted"
}, },
{
"$ref": "#/components/schemas/Event.file.watcher.updated"
},
{ {
"$ref": "#/components/schemas/Event.todo.updated" "$ref": "#/components/schemas/Event.todo.updated"
}, },