فهرست منبع

chore: generate

GitHub Action 1 ماه پیش
والد
کامیت
69b3b35ea5
2فایلهای تغییر یافته به همراه14 افزوده شده و 6 حذف شده
  1. 8 6
      packages/app/src/pages/session.tsx
  2. 6 0
      packages/sdk/openapi.json

+ 8 - 6
packages/app/src/pages/session.tsx

@@ -1102,12 +1102,14 @@ export default function Page() {
     visibleUserMessages().length
     store.turnStart
 
-    const targetId = pendingMessage() ?? (() => {
-      const hash = window.location.hash.slice(1)
-      const match = hash.match(/^message-(.+)$/)
-      if (!match) return undefined
-      return match[1]
-    })()
+    const targetId =
+      pendingMessage() ??
+      (() => {
+        const hash = window.location.hash.slice(1)
+        const match = hash.match(/^message-(.+)$/)
+        if (!match) return undefined
+        return match[1]
+      })()
     if (!targetId) return
     if (store.messageId === targetId) return
 

+ 6 - 0
packages/sdk/openapi.json

@@ -231,6 +231,9 @@
                       "url": {
                         "type": "string"
                       },
+                      "override": {
+                        "type": "string"
+                      },
                       "color": {
                         "type": "string"
                       }
@@ -5796,6 +5799,9 @@
               "url": {
                 "type": "string"
               },
+              "override": {
+                "type": "string"
+              },
               "color": {
                 "type": "string"
               }