summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--packages/sdk/js/src/v2/gen/types.gen.ts18
-rw-r--r--packages/sdk/openapi.json76
2 files changed, 47 insertions, 47 deletions
diff --git a/packages/sdk/js/src/v2/gen/types.gen.ts b/packages/sdk/js/src/v2/gen/types.gen.ts
index 912001c82..060a00e60 100644
--- a/packages/sdk/js/src/v2/gen/types.gen.ts
+++ b/packages/sdk/js/src/v2/gen/types.gen.ts
@@ -633,6 +633,14 @@ export type EventTodoUpdated = {
}
}
+export type EventFileWatcherUpdated = {
+ type: "file.watcher.updated"
+ properties: {
+ file: string
+ event: "add" | "change" | "unlink"
+ }
+}
+
export type EventTuiPromptAppend = {
type: "tui.prompt.append"
properties: {
@@ -791,14 +799,6 @@ export type EventSessionError = {
}
}
-export type EventFileWatcherUpdated = {
- type: "file.watcher.updated"
- properties: {
- file: string
- event: "add" | "change" | "unlink"
- }
-}
-
export type EventVcsBranchUpdated = {
type: "vcs.branch.updated"
properties: {
@@ -880,6 +880,7 @@ export type Event =
| EventQuestionRejected
| EventSessionCompacted
| EventTodoUpdated
+ | EventFileWatcherUpdated
| EventTuiPromptAppend
| EventTuiCommandExecute
| EventTuiToastShow
@@ -892,7 +893,6 @@ export type Event =
| EventSessionDeleted
| EventSessionDiff
| EventSessionError
- | EventFileWatcherUpdated
| EventVcsBranchUpdated
| EventPtyCreated
| EventPtyUpdated
diff --git a/packages/sdk/openapi.json b/packages/sdk/openapi.json
index f0af6448c..a307a666e 100644
--- a/packages/sdk/openapi.json
+++ b/packages/sdk/openapi.json
@@ -7370,6 +7370,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.tui.prompt.append": {
"type": "object",
"properties": {
@@ -7798,41 +7833,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"]
- },
"Event.vcs.branch.updated": {
"type": "object",
"properties": {
@@ -8055,6 +8055,9 @@
"$ref": "#/components/schemas/Event.todo.updated"
},
{
+ "$ref": "#/components/schemas/Event.file.watcher.updated"
+ },
+ {
"$ref": "#/components/schemas/Event.tui.prompt.append"
},
{
@@ -8091,9 +8094,6 @@
"$ref": "#/components/schemas/Event.session.error"
},
{
- "$ref": "#/components/schemas/Event.file.watcher.updated"
- },
- {
"$ref": "#/components/schemas/Event.vcs.branch.updated"
},
{