Skip to content

The open source coding agent.

TypeScript

chore: generate

opencode-agent[bot]ca3af5dc6a73
diff --git a/packages/sdk/js/src/v2/gen/types.gen.ts b/packages/sdk/js/src/v2/gen/types.gen.ts
index ff06a2c6cf6..fe2ae1ca044 100644
--- a/packages/sdk/js/src/v2/gen/types.gen.ts
+++ b/packages/sdk/js/src/v2/gen/types.gen.ts
@@ -154,6 +154,14 @@ export type EventPermissionReplied = {
}
}
+export type EventFileWatcherUpdated = {
+ type: "file.watcher.updated"
+ properties: {
+ file: string
+ event: "add" | "change" | "unlink"
+ }
+}
+
export type EventServerConnected = {
type: "server.connected"
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 = {
/**
* Brief description of the task
@@ -967,6 +967,7 @@ export type Event =
| EventQuestionRejected
| EventPermissionAsked
| EventPermissionReplied
+ | EventFileWatcherUpdated
| EventServerConnected
| EventGlobalDisposed
| EventLspClientDiagnostics
@@ -980,7 +981,6 @@ export type Event =
| EventSessionStatus
| EventSessionIdle
| EventSessionCompacted
- | EventFileWatcherUpdated
| EventTodoUpdated
| EventTuiPromptAppend
| EventTuiCommandExecute
diff --git a/packages/sdk/openapi.json b/packages/sdk/openapi.json
index 303969d7162..374eec01d2e 100644
--- a/packages/sdk/openapi.json
+++ b/packages/sdk/openapi.json
@@ -7302,6 +7302,41 @@
},
"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": {
"type": "object",
"properties": {
@@ -8866,41 +8901,6 @@
},
"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": {
"type": "object",
"properties": {
@@ -9626,6 +9626,9 @@
{
"$ref": "#/components/schemas/Event.permission.replied"
},
+ {
+ "$ref": "#/components/schemas/Event.file.watcher.updated"
+ },
{
"$ref": "#/components/schemas/Event.server.connected"
},
@@ -9665,9 +9668,6 @@
{
"$ref": "#/components/schemas/Event.session.compacted"
},
- {
- "$ref": "#/components/schemas/Event.file.watcher.updated"
- },
{
"$ref": "#/components/schemas/Event.todo.updated"
},