2
0
GitHub Action 1 сар өмнө
parent
commit
68e6c540bb

+ 9 - 0
packages/sdk/js/src/v2/gen/types.gen.ts

@@ -692,6 +692,14 @@ export type EventMcpToolsChanged = {
   }
   }
 }
 }
 
 
+export type EventMcpBrowserOpenFailed = {
+  type: "mcp.browser.open.failed"
+  properties: {
+    mcpName: string
+    url: string
+  }
+}
+
 export type EventCommandExecuted = {
 export type EventCommandExecuted = {
   type: "command.executed"
   type: "command.executed"
   properties: {
   properties: {
@@ -875,6 +883,7 @@ export type Event =
   | EventTuiToastShow
   | EventTuiToastShow
   | EventTuiSessionSelect
   | EventTuiSessionSelect
   | EventMcpToolsChanged
   | EventMcpToolsChanged
+  | EventMcpBrowserOpenFailed
   | EventCommandExecuted
   | EventCommandExecuted
   | EventSessionCreated
   | EventSessionCreated
   | EventSessionUpdated
   | EventSessionUpdated

+ 25 - 0
packages/sdk/openapi.json

@@ -7473,6 +7473,28 @@
         },
         },
         "required": ["type", "properties"]
         "required": ["type", "properties"]
       },
       },
+      "Event.mcp.browser.open.failed": {
+        "type": "object",
+        "properties": {
+          "type": {
+            "type": "string",
+            "const": "mcp.browser.open.failed"
+          },
+          "properties": {
+            "type": "object",
+            "properties": {
+              "mcpName": {
+                "type": "string"
+              },
+              "url": {
+                "type": "string"
+              }
+            },
+            "required": ["mcpName", "url"]
+          }
+        },
+        "required": ["type", "properties"]
+      },
       "Event.command.executed": {
       "Event.command.executed": {
         "type": "object",
         "type": "object",
         "properties": {
         "properties": {
@@ -8016,6 +8038,9 @@
           {
           {
             "$ref": "#/components/schemas/Event.mcp.tools.changed"
             "$ref": "#/components/schemas/Event.mcp.tools.changed"
           },
           },
+          {
+            "$ref": "#/components/schemas/Event.mcp.browser.open.failed"
+          },
           {
           {
             "$ref": "#/components/schemas/Event.command.executed"
             "$ref": "#/components/schemas/Event.command.executed"
           },
           },